@neutron.co.id/operasional-interfaces 1.6.8 → 1.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.mjs CHANGED
@@ -21,8 +21,8 @@ import { ComponentUtil } from "@neon.id/utils/component";
21
21
  import Scanner from "qr-scanner";
22
22
  import { models as models$2 } from "@neutron.co.id/personalia-models";
23
23
  import { CatatSketchPad } from "@neon.id/catat-interfaces";
24
- const _hoisted_1$h = { class: "xxx-button" };
25
- const _sfc_main$N = /* @__PURE__ */ defineComponent({
24
+ const _hoisted_1$k = { class: "xxx-button" };
25
+ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
26
26
  ...{ name: "XxxButton" },
27
27
  __name: "XxxButton",
28
28
  props: {
@@ -33,18 +33,18 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
33
33
  },
34
34
  setup(__props) {
35
35
  return (_ctx, _cache) => {
36
- return openBlock(), createElementBlock("div", _hoisted_1$h, [
36
+ return openBlock(), createElementBlock("div", _hoisted_1$k, [
37
37
  createVNode(unref(NeonButton), { label: "XXX" })
38
38
  ]);
39
39
  };
40
40
  }
41
41
  });
42
- const _hoisted_1$g = { class: "operasional-identitas" };
43
- const _hoisted_2$c = {
42
+ const _hoisted_1$j = { class: "operasional-identitas" };
43
+ const _hoisted_2$e = {
44
44
  key: 2,
45
45
  class: "section"
46
46
  };
47
- const _sfc_main$M = /* @__PURE__ */ defineComponent({
47
+ const _sfc_main$P = /* @__PURE__ */ defineComponent({
48
48
  ...{ name: "OperasionalIdentitas" },
49
49
  __name: "OperasionalIdentitas",
50
50
  props: {
@@ -299,7 +299,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
299
299
  candidateId.value = null;
300
300
  }
301
301
  return (_ctx, _cache) => {
302
- return openBlock(), createElementBlock("div", _hoisted_1$g, [
302
+ return openBlock(), createElementBlock("div", _hoisted_1$j, [
303
303
  state2.value === "connect" ? (openBlock(), createBlock(unref(IdentitasConnect), {
304
304
  key: 0,
305
305
  user: user.value,
@@ -351,7 +351,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
351
351
  _: 1
352
352
  /* STABLE */
353
353
  }, 8, ["initial-values", "is-loading", "errors"])) : createCommentVNode("v-if", true),
354
- user.value && onDelegate ? (openBlock(), createElementBlock("div", _hoisted_2$c, [
354
+ user.value && onDelegate ? (openBlock(), createElementBlock("div", _hoisted_2$e, [
355
355
  createVNode(unref(NeonDivider), {
356
356
  "is-dashed": "",
357
357
  label: "Delegasi",
@@ -400,7 +400,7 @@ const _export_sfc$1 = (sfc, props) => {
400
400
  }
401
401
  return target;
402
402
  };
403
- const OperasionalIdentitas = /* @__PURE__ */ _export_sfc$1(_sfc_main$M, [["__scopeId", "data-v-355c8370"]]);
403
+ const OperasionalIdentitas = /* @__PURE__ */ _export_sfc$1(_sfc_main$P, [["__scopeId", "data-v-355c8370"]]);
404
404
  var commonjsGlobal$1 = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
405
405
  function getDefaultExportFromCjs(x) {
406
406
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
@@ -8752,7 +8752,7 @@ const _sfc_main$1$1 = {
8752
8752
  }
8753
8753
  }
8754
8754
  };
8755
- const _hoisted_1$f = /* @__PURE__ */ createElementVNode("div", null, [
8755
+ const _hoisted_1$i = /* @__PURE__ */ createElementVNode("div", null, [
8756
8756
  /* @__PURE__ */ createElementVNode("svg", {
8757
8757
  fill: "none",
8758
8758
  "stroke-linecap": "round",
@@ -8765,7 +8765,7 @@ const _hoisted_1$f = /* @__PURE__ */ createElementVNode("div", null, [
8765
8765
  /* @__PURE__ */ createElementVNode("path", { d: "M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z" })
8766
8766
  ])
8767
8767
  ], -1);
8768
- const _hoisted_2$b = { class: "vc-time-content" };
8768
+ const _hoisted_2$d = { class: "vc-time-content" };
8769
8769
  const _hoisted_3$6 = {
8770
8770
  key: 0,
8771
8771
  class: "vc-time-date"
@@ -8785,8 +8785,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
8785
8785
  return openBlock(), createElementBlock("div", {
8786
8786
  class: normalizeClass(["vc-time-picker", [{ "vc-invalid": !$props.modelValue.isValid, "vc-bordered": $props.showBorder }]])
8787
8787
  }, [
8788
- _hoisted_1$f,
8789
- createElementVNode("div", _hoisted_2$b, [
8788
+ _hoisted_1$i,
8789
+ createElementVNode("div", _hoisted_2$d, [
8790
8790
  $options.date ? (openBlock(), createElementBlock("div", _hoisted_3$6, [
8791
8791
  createElementVNode("span", _hoisted_4$3, toDisplayString($props.locale.format($options.date, "WWW")), 1),
8792
8792
  createElementVNode("span", _hoisted_5$2, toDisplayString($props.locale.format($options.date, "MMM")), 1),
@@ -8841,7 +8841,7 @@ const RANGE_PRIORITY = {
8841
8841
  END: 2,
8842
8842
  BOTH: 3
8843
8843
  };
8844
- const _sfc_main$L = {
8844
+ const _sfc_main$O = {
8845
8845
  name: "DatePicker",
8846
8846
  emits: [
8847
8847
  "update:modelValue",
@@ -9497,11 +9497,11 @@ const _sfc_main$L = {
9497
9497
  }
9498
9498
  };
9499
9499
  const _withScopeId$3 = (n) => (pushScopeId("data-v-3cf0c9ae"), n = n(), popScopeId(), n);
9500
- const _hoisted_1$e = {
9500
+ const _hoisted_1$h = {
9501
9501
  key: 0,
9502
9502
  class: "input-loading"
9503
9503
  };
9504
- const _hoisted_2$a = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode(
9504
+ const _hoisted_2$c = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode(
9505
9505
  "div",
9506
9506
  { class: "loading placeholder-block placeholder-wave" },
9507
9507
  null,
@@ -9509,9 +9509,9 @@ const _hoisted_2$a = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ create
9509
9509
  /* HOISTED */
9510
9510
  ));
9511
9511
  const _hoisted_3$5 = [
9512
- _hoisted_2$a
9512
+ _hoisted_2$c
9513
9513
  ];
9514
- const _sfc_main$K = /* @__PURE__ */ defineComponent({
9514
+ const _sfc_main$N = /* @__PURE__ */ defineComponent({
9515
9515
  __name: "NeonTime",
9516
9516
  props: {
9517
9517
  modelValue: {
@@ -9548,7 +9548,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
9548
9548
  class: normalizeClass(["neon-time", { "is-disabled": __props.isDisabled }])
9549
9549
  },
9550
9550
  [
9551
- __props.isLoading ? (openBlock(), createElementBlock("div", _hoisted_1$e, _hoisted_3$5)) : (openBlock(), createBlock(unref(_sfc_main$L), mergeProps({
9551
+ __props.isLoading ? (openBlock(), createElementBlock("div", _hoisted_1$h, _hoisted_3$5)) : (openBlock(), createBlock(unref(_sfc_main$O), mergeProps({
9552
9552
  key: 1,
9553
9553
  "model-value": internalValue.value
9554
9554
  }, {
@@ -9572,7 +9572,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
9572
9572
  });
9573
9573
  const NeonTime_vue_vue_type_style_index_0_scoped_3cf0c9ae_lang = "";
9574
9574
  const NeonTime_vue_vue_type_style_index_1_lang = "";
9575
- const NeonTime = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["__scopeId", "data-v-3cf0c9ae"]]);
9575
+ const NeonTime = /* @__PURE__ */ _export_sfc$1(_sfc_main$N, [["__scopeId", "data-v-3cf0c9ae"]]);
9576
9576
  const CheckInModel = models$1.CheckInModel;
9577
9577
  const useOperasionalStore = defineStore("neu:operasional", () => {
9578
9578
  const isLoading = ref(false);
@@ -9713,9 +9713,9 @@ function mitt(n) {
9713
9713
  } };
9714
9714
  }
9715
9715
  const bus = mitt();
9716
- const _withScopeId$2 = (n) => (pushScopeId("data-v-94a55da5"), n = n(), popScopeId(), n);
9717
- const _hoisted_1$d = { id: "view-checkIns" };
9718
- const _hoisted_2$9 = { class: "summary" };
9716
+ const _withScopeId$2 = (n) => (pushScopeId("data-v-932878ae"), n = n(), popScopeId(), n);
9717
+ const _hoisted_1$g = { id: "view-checkIns" };
9718
+ const _hoisted_2$b = { class: "summary" };
9719
9719
  const _hoisted_3$4 = { class: "wrapper" };
9720
9720
  const _hoisted_4$2 = { class: "header" };
9721
9721
  const _hoisted_5$1 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode(
@@ -9729,7 +9729,7 @@ const _hoisted_5$1 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ create
9729
9729
  /* HOISTED */
9730
9730
  ));
9731
9731
  const _hoisted_6 = { class: "end" };
9732
- const _sfc_main$J = /* @__PURE__ */ defineComponent({
9732
+ const _sfc_main$M = /* @__PURE__ */ defineComponent({
9733
9733
  ...{
9734
9734
  name: "CheckInPresenceCollection"
9735
9735
  },
@@ -9805,6 +9805,10 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
9805
9805
  isAsking.value = true;
9806
9806
  type.value = "out";
9807
9807
  }
9808
+ function onPresenceCheckout(data2) {
9809
+ isAsking.value = true;
9810
+ type.value = "checkout";
9811
+ }
9808
9812
  async function onPresenceHome() {
9809
9813
  var _a;
9810
9814
  await checkInStaff(null, "home", (_a = staff.value) == null ? void 0 : _a.id);
@@ -9842,6 +9846,9 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
9842
9846
  if (type2 === "out") {
9843
9847
  isOut.value = true;
9844
9848
  }
9849
+ if (type2 === "checkout") {
9850
+ isOut.value = true;
9851
+ }
9845
9852
  toast.push({
9846
9853
  id: toastId,
9847
9854
  icon: "check",
@@ -9870,14 +9877,14 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
9870
9877
  return (_ctx, _cache) => {
9871
9878
  const _component_CheckInSingleExternalView = resolveComponent("CheckInSingleExternalView");
9872
9879
  const _component_CheckInCollection = resolveComponent("CheckInCollection");
9873
- return openBlock(), createElementBlock("div", _hoisted_1$d, [
9880
+ return openBlock(), createElementBlock("div", _hoisted_1$g, [
9874
9881
  createVNode(unref(OfficeContent), {
9875
9882
  icon: "barcode-read",
9876
9883
  title: "Presensi",
9877
9884
  "is-expanded": ""
9878
9885
  }, {
9879
9886
  "header-detail": withCtx(() => [
9880
- createElementVNode("div", _hoisted_2$9, [
9887
+ createElementVNode("div", _hoisted_2$b, [
9881
9888
  createVNode(unref(NeonSlider), {
9882
9889
  "per-view": 2,
9883
9890
  gap: 16,
@@ -9958,6 +9965,23 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
9958
9965
  ]),
9959
9966
  _: 1
9960
9967
  /* STABLE */
9968
+ }),
9969
+ createVNode(unref(NeonSlide), null, {
9970
+ default: withCtx(() => [
9971
+ createVNode(unref(NeonStat), {
9972
+ label: "Checkout",
9973
+ icon: "barcode-read",
9974
+ onClick: onPresenceCheckout
9975
+ }, {
9976
+ default: withCtx(() => [
9977
+ createTextVNode("Checkout")
9978
+ ]),
9979
+ _: 1
9980
+ /* STABLE */
9981
+ })
9982
+ ]),
9983
+ _: 1
9984
+ /* STABLE */
9961
9985
  })
9962
9986
  ]),
9963
9987
  _: 1
@@ -10033,10 +10057,10 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
10033
10057
  };
10034
10058
  }
10035
10059
  });
10036
- const CheckInPresenceCollection_vue_vue_type_style_index_0_scoped_94a55da5_lang = "";
10037
- const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc$1(_sfc_main$J, [["__scopeId", "data-v-94a55da5"]]);
10038
- const _hoisted_1$c = { class: "grid gap-4 sm:grid-cols-2" };
10039
- const _sfc_main$I = /* @__PURE__ */ defineComponent({
10060
+ const CheckInPresenceCollection_vue_vue_type_style_index_0_scoped_932878ae_lang = "";
10061
+ const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc$1(_sfc_main$M, [["__scopeId", "data-v-932878ae"]]);
10062
+ const _hoisted_1$f = { class: "grid gap-4 sm:grid-cols-2" };
10063
+ const _sfc_main$L = /* @__PURE__ */ defineComponent({
10040
10064
  __name: "CheckInSingle",
10041
10065
  setup(__props) {
10042
10066
  const {
@@ -10094,7 +10118,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
10094
10118
  field: unref(fields).building,
10095
10119
  "is-disabled": ""
10096
10120
  }, null, 8, ["modelValue", "field"]),
10097
- createElementVNode("div", _hoisted_1$c, [
10121
+ createElementVNode("div", _hoisted_1$f, [
10098
10122
  createVNode(unref(NeonField), mergeProps({
10099
10123
  modelValue: unref(values).type,
10100
10124
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(values).type = $event)
@@ -10134,9 +10158,9 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
10134
10158
  }
10135
10159
  });
10136
10160
  const CheckInSingle_vue_vue_type_style_index_0_scoped_2e2803fb_lang = "";
10137
- const CheckInSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$I, [["__scopeId", "data-v-2e2803fb"]]);
10138
- const _hoisted_1$b = { class: "grid gap-4 sm:grid-cols-2" };
10139
- const _sfc_main$H = /* @__PURE__ */ defineComponent({
10161
+ const CheckInSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$L, [["__scopeId", "data-v-2e2803fb"]]);
10162
+ const _hoisted_1$e = { class: "grid gap-4 sm:grid-cols-2" };
10163
+ const _sfc_main$K = /* @__PURE__ */ defineComponent({
10140
10164
  __name: "CheckInExternal",
10141
10165
  setup(__props) {
10142
10166
  const {
@@ -10196,13 +10220,13 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
10196
10220
  onSubmit: unref(saveOne)
10197
10221
  }, {
10198
10222
  default: withCtx(() => [
10199
- unref(values).type === "in" || unref(values).type === "out" ? (openBlock(), createBlock(unref(OfficeRelation), {
10223
+ unref(values).type === "in" || unref(values).type === "out" || unref(values).type === "checkout" ? (openBlock(), createBlock(unref(OfficeRelation), {
10200
10224
  key: 0,
10201
10225
  modelValue: unref(values),
10202
10226
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(values) ? values.value = $event : null),
10203
10227
  field: unref(fields).building
10204
10228
  }, null, 8, ["modelValue", "field"])) : createCommentVNode("v-if", true),
10205
- createElementVNode("div", _hoisted_1$b, [
10229
+ createElementVNode("div", _hoisted_1$e, [
10206
10230
  createVNode(unref(NeonField), mergeProps({
10207
10231
  modelValue: unref(values).type,
10208
10232
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(values).type = $event)
@@ -10243,17 +10267,17 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
10243
10267
  };
10244
10268
  }
10245
10269
  });
10246
- const CheckInExternal_vue_vue_type_style_index_0_scoped_9c4a435e_lang = "";
10247
- const CheckInExternal = /* @__PURE__ */ _export_sfc$1(_sfc_main$H, [["__scopeId", "data-v-9c4a435e"]]);
10270
+ const CheckInExternal_vue_vue_type_style_index_0_scoped_b8f07a39_lang = "";
10271
+ const CheckInExternal = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["__scopeId", "data-v-b8f07a39"]]);
10248
10272
  const _withScopeId$1 = (n) => (pushScopeId("data-v-d23b6de5"), n = n(), popScopeId(), n);
10249
- const _hoisted_1$a = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode(
10273
+ const _hoisted_1$d = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode(
10250
10274
  "h4",
10251
10275
  { align: "center" },
10252
10276
  "Aktifkan kamera untuk scan QR Code",
10253
10277
  -1
10254
10278
  /* HOISTED */
10255
10279
  ));
10256
- const _hoisted_2$8 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode(
10280
+ const _hoisted_2$a = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode(
10257
10281
  "p",
10258
10282
  { align: "center" },
10259
10283
  [
@@ -10264,7 +10288,7 @@ const _hoisted_2$8 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ create
10264
10288
  -1
10265
10289
  /* HOISTED */
10266
10290
  ));
10267
- const _sfc_main$G = /* @__PURE__ */ defineComponent({
10291
+ const _sfc_main$J = /* @__PURE__ */ defineComponent({
10268
10292
  __name: "CheckInAccess",
10269
10293
  emits: ["close"],
10270
10294
  setup(__props) {
@@ -10289,8 +10313,8 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
10289
10313
  onClose: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
10290
10314
  }, {
10291
10315
  default: withCtx(() => [
10292
- _hoisted_1$a,
10293
- _hoisted_2$8,
10316
+ _hoisted_1$d,
10317
+ _hoisted_2$a,
10294
10318
  createVNode(unref(NeonButton), {
10295
10319
  "is-full": "",
10296
10320
  size: "md",
@@ -10317,9 +10341,9 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
10317
10341
  }
10318
10342
  });
10319
10343
  const CheckInAccess_vue_vue_type_style_index_0_scoped_d23b6de5_lang = "";
10320
- const CheckInAccess = /* @__PURE__ */ _export_sfc$1(_sfc_main$G, [["__scopeId", "data-v-d23b6de5"]]);
10321
- const _hoisted_1$9 = { class: "buttons" };
10322
- const _sfc_main$F = /* @__PURE__ */ defineComponent({
10344
+ const CheckInAccess = /* @__PURE__ */ _export_sfc$1(_sfc_main$J, [["__scopeId", "data-v-d23b6de5"]]);
10345
+ const _hoisted_1$c = { class: "buttons" };
10346
+ const _sfc_main$I = /* @__PURE__ */ defineComponent({
10323
10347
  __name: "CheckInScanError",
10324
10348
  setup(__props) {
10325
10349
  const attendanceStore = useAttendanceStore();
@@ -10332,7 +10356,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
10332
10356
  default: withCtx(() => [
10333
10357
  createVNode(unref(NeonSheet), null, {
10334
10358
  footer: withCtx(() => [
10335
- createElementVNode("div", _hoisted_1$9, [
10359
+ createElementVNode("div", _hoisted_1$c, [
10336
10360
  createVNode(unref(NeonButton), {
10337
10361
  "is-full": "",
10338
10362
  "is-rounded": "",
@@ -10367,14 +10391,14 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
10367
10391
  }
10368
10392
  });
10369
10393
  const _withScopeId = (n) => (pushScopeId("data-v-ef426ef3"), n = n(), popScopeId(), n);
10370
- const _hoisted_1$8 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
10394
+ const _hoisted_1$b = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
10371
10395
  "div",
10372
10396
  { class: "invalid-message" },
10373
10397
  "Invalid Code!",
10374
10398
  -1
10375
10399
  /* HOISTED */
10376
10400
  ));
10377
- const _hoisted_2$7 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
10401
+ const _hoisted_2$9 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
10378
10402
  "div",
10379
10403
  null,
10380
10404
  null,
@@ -10383,7 +10407,7 @@ const _hoisted_2$7 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
10383
10407
  ));
10384
10408
  const _hoisted_3$3 = ["onClick"];
10385
10409
  const _hoisted_4$1 = { class: "mr-2 text-sm" };
10386
- const _sfc_main$E = /* @__PURE__ */ defineComponent({
10410
+ const _sfc_main$H = /* @__PURE__ */ defineComponent({
10387
10411
  __name: "CheckInScanner",
10388
10412
  emits: ["start", "stop", "scanned", "close"],
10389
10413
  setup(__props, { emit }) {
@@ -10528,8 +10552,8 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
10528
10552
  class: "inner",
10529
10553
  onClick: switchCamera
10530
10554
  }, [
10531
- _hoisted_1$8,
10532
- _hoisted_2$7,
10555
+ _hoisted_1$b,
10556
+ _hoisted_2$9,
10533
10557
  createElementVNode("div", {
10534
10558
  class: "button-switch",
10535
10559
  onClick: withModifiers(switchCamera, ["stop"])
@@ -10565,15 +10589,15 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
10565
10589
  }
10566
10590
  });
10567
10591
  const CheckInScanner_vue_vue_type_style_index_0_scoped_ef426ef3_lang = "";
10568
- const CheckInScanner = /* @__PURE__ */ _export_sfc$1(_sfc_main$E, [["__scopeId", "data-v-ef426ef3"]]);
10569
- const _hoisted_1$7 = /* @__PURE__ */ createElementVNode(
10592
+ const CheckInScanner = /* @__PURE__ */ _export_sfc$1(_sfc_main$H, [["__scopeId", "data-v-ef426ef3"]]);
10593
+ const _hoisted_1$a = /* @__PURE__ */ createElementVNode(
10570
10594
  "h3",
10571
10595
  { align: "center" },
10572
10596
  "Presensi Berhasil!",
10573
10597
  -1
10574
10598
  /* HOISTED */
10575
10599
  );
10576
- const _sfc_main$D = /* @__PURE__ */ defineComponent({
10600
+ const _sfc_main$G = /* @__PURE__ */ defineComponent({
10577
10601
  __name: "CheckInScanSuccess",
10578
10602
  emits: ["close"],
10579
10603
  setup(__props) {
@@ -10593,7 +10617,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
10593
10617
  onClose: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
10594
10618
  }, {
10595
10619
  default: withCtx(() => [
10596
- _hoisted_1$7
10620
+ _hoisted_1$a
10597
10621
  ]),
10598
10622
  _: 1
10599
10623
  /* STABLE */
@@ -10605,7 +10629,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
10605
10629
  };
10606
10630
  }
10607
10631
  });
10608
- const _sfc_main$C = /* @__PURE__ */ defineComponent({
10632
+ const _sfc_main$F = /* @__PURE__ */ defineComponent({
10609
10633
  ...{
10610
10634
  name: "CheckInCollection"
10611
10635
  },
@@ -10624,7 +10648,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
10624
10648
  }
10625
10649
  });
10626
10650
  const StaffModel = models$2.StaffModel;
10627
- const _sfc_main$B = /* @__PURE__ */ defineComponent({
10651
+ const _sfc_main$E = /* @__PURE__ */ defineComponent({
10628
10652
  ...{
10629
10653
  name: "StaffCollection"
10630
10654
  },
@@ -10642,9 +10666,9 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
10642
10666
  };
10643
10667
  }
10644
10668
  });
10645
- const _hoisted_1$6 = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
10646
- const _hoisted_2$6 = { class: "grid gap-4 sm:grid-cols-2" };
10647
- const _sfc_main$A = /* @__PURE__ */ defineComponent({
10669
+ const _hoisted_1$9 = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
10670
+ const _hoisted_2$8 = { class: "grid gap-4 sm:grid-cols-2" };
10671
+ const _sfc_main$D = /* @__PURE__ */ defineComponent({
10648
10672
  __name: "StaffSingle",
10649
10673
  setup(__props) {
10650
10674
  const {
@@ -10681,7 +10705,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
10681
10705
  onSubmit: unref(saveOne)
10682
10706
  }, {
10683
10707
  default: withCtx(() => [
10684
- createElementVNode("div", _hoisted_1$6, [
10708
+ createElementVNode("div", _hoisted_1$9, [
10685
10709
  createVNode(unref(NeonField), mergeProps({
10686
10710
  modelValue: unref(values).name,
10687
10711
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(values).name = $event)
@@ -10691,7 +10715,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
10691
10715
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(values).nik = $event)
10692
10716
  }, unref(fields).nik), null, 16, ["modelValue"])
10693
10717
  ]),
10694
- createElementVNode("div", _hoisted_2$6, [
10718
+ createElementVNode("div", _hoisted_2$8, [
10695
10719
  createVNode(unref(NeonField), mergeProps({
10696
10720
  modelValue: unref(values).birthPlace,
10697
10721
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => unref(values).birthPlace = $event)
@@ -10724,7 +10748,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
10724
10748
  title: "Identitas"
10725
10749
  }, {
10726
10750
  default: withCtx(() => [
10727
- createVNode(unref(_sfc_main$y))
10751
+ createVNode(unref(_sfc_main$B))
10728
10752
  ]),
10729
10753
  _: 1
10730
10754
  /* STABLE */
@@ -10795,10 +10819,10 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
10795
10819
  }
10796
10820
  });
10797
10821
  const StaffSingle_vue_vue_type_style_index_0_scoped_0cf4cd99_lang = "";
10798
- const StaffSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$A, [["__scopeId", "data-v-0cf4cd99"]]);
10799
- const _hoisted_1$5 = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
10800
- const _hoisted_2$5 = { class: "grid gap-4 sm:grid-cols-2" };
10801
- const _sfc_main$z = /* @__PURE__ */ defineComponent({
10822
+ const StaffSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$D, [["__scopeId", "data-v-0cf4cd99"]]);
10823
+ const _hoisted_1$8 = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
10824
+ const _hoisted_2$7 = { class: "grid gap-4 sm:grid-cols-2" };
10825
+ const _sfc_main$C = /* @__PURE__ */ defineComponent({
10802
10826
  __name: "StaffOperasional",
10803
10827
  setup(__props) {
10804
10828
  const {
@@ -10835,7 +10859,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
10835
10859
  onSubmit: unref(saveOne)
10836
10860
  }, {
10837
10861
  default: withCtx(() => [
10838
- createElementVNode("div", _hoisted_1$5, [
10862
+ createElementVNode("div", _hoisted_1$8, [
10839
10863
  createVNode(unref(NeonField), mergeProps({
10840
10864
  modelValue: unref(values).name,
10841
10865
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(values).name = $event)
@@ -10845,7 +10869,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
10845
10869
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(values).nik = $event)
10846
10870
  }, unref(fields).nik), null, 16, ["modelValue"])
10847
10871
  ]),
10848
- createElementVNode("div", _hoisted_2$5, [
10872
+ createElementVNode("div", _hoisted_2$7, [
10849
10873
  createVNode(unref(NeonField), mergeProps({
10850
10874
  modelValue: unref(values).birthPlace,
10851
10875
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => unref(values).birthPlace = $event)
@@ -10878,7 +10902,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
10878
10902
  title: "Identitas"
10879
10903
  }, {
10880
10904
  default: withCtx(() => [
10881
- createVNode(unref(_sfc_main$y))
10905
+ createVNode(unref(_sfc_main$B))
10882
10906
  ]),
10883
10907
  _: 1
10884
10908
  /* STABLE */
@@ -10956,8 +10980,8 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
10956
10980
  }
10957
10981
  });
10958
10982
  const StaffOperasional_vue_vue_type_style_index_0_scoped_c62cf70a_lang = "";
10959
- const StaffOperasional = /* @__PURE__ */ _export_sfc$1(_sfc_main$z, [["__scopeId", "data-v-c62cf70a"]]);
10960
- const _sfc_main$y = /* @__PURE__ */ defineComponent({
10983
+ const StaffOperasional = /* @__PURE__ */ _export_sfc$1(_sfc_main$C, [["__scopeId", "data-v-c62cf70a"]]);
10984
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
10961
10985
  __name: "StaffIdentity",
10962
10986
  setup(__props) {
10963
10987
  const { values, saveOne, executeOne, syncOne } = useSingle();
@@ -11113,7 +11137,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
11113
11137
  }
11114
11138
  });
11115
11139
  const SituationModel = models$2.SituationModel;
11116
- const _sfc_main$x = /* @__PURE__ */ defineComponent({
11140
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
11117
11141
  ...{ name: "SituationCollection" },
11118
11142
  __name: "SituationCollection",
11119
11143
  setup(__props) {
@@ -11129,7 +11153,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
11129
11153
  };
11130
11154
  }
11131
11155
  });
11132
- const _sfc_main$w = /* @__PURE__ */ defineComponent({
11156
+ const _sfc_main$z = /* @__PURE__ */ defineComponent({
11133
11157
  __name: "SituationSingle",
11134
11158
  setup(__props) {
11135
11159
  const {
@@ -11267,7 +11291,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
11267
11291
  };
11268
11292
  }
11269
11293
  });
11270
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
11294
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
11271
11295
  __name: "SituationWork",
11272
11296
  setup(__props) {
11273
11297
  const {
@@ -11448,7 +11472,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
11448
11472
  };
11449
11473
  }
11450
11474
  });
11451
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
11475
+ const _sfc_main$x = /* @__PURE__ */ defineComponent({
11452
11476
  ...{ name: "SituationSupportive" },
11453
11477
  __name: "SituationSupportive",
11454
11478
  setup(__props) {
@@ -11587,7 +11611,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
11587
11611
  }
11588
11612
  });
11589
11613
  const SituationTypeModel = models$2.SituationTypeModel;
11590
- const _sfc_main$t = /* @__PURE__ */ defineComponent({
11614
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
11591
11615
  ...{ name: "SituationTypeCollection" },
11592
11616
  __name: "SituationTypeCollection",
11593
11617
  setup(__props) {
@@ -11603,7 +11627,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
11603
11627
  };
11604
11628
  }
11605
11629
  });
11606
- const _sfc_main$s = /* @__PURE__ */ defineComponent({
11630
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
11607
11631
  __name: "SituationTypeSingle",
11608
11632
  setup(__props) {
11609
11633
  const {
@@ -11676,9 +11700,9 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
11676
11700
  }
11677
11701
  });
11678
11702
  const TaskModel = models$2.TaskModel;
11679
- const _hoisted_1$4 = { key: 0 };
11680
- const _hoisted_2$4 = { key: 1 };
11681
- const _sfc_main$r = /* @__PURE__ */ defineComponent({
11703
+ const _hoisted_1$7 = { key: 0 };
11704
+ const _hoisted_2$6 = { key: 1 };
11705
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
11682
11706
  ...{ name: "TaskWorkButton" },
11683
11707
  __name: "TaskWorkButton",
11684
11708
  setup(__props) {
@@ -11771,7 +11795,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
11771
11795
  Fragment,
11772
11796
  null,
11773
11797
  [
11774
- onHandleTaskWork.value.onStartTaskWorking ? (openBlock(), createElementBlock("div", _hoisted_1$4, [
11798
+ onHandleTaskWork.value.onStartTaskWorking ? (openBlock(), createElementBlock("div", _hoisted_1$7, [
11775
11799
  createVNode(unref(NeonButton), {
11776
11800
  "is-rounded": true,
11777
11801
  size: "sm",
@@ -11781,7 +11805,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
11781
11805
  onClick: onClickHandlerStartTaskWork
11782
11806
  })
11783
11807
  ])) : createCommentVNode("v-if", true),
11784
- onHandleTaskWork.value.onFinishedTaskWorking ? (openBlock(), createElementBlock("div", _hoisted_2$4, [
11808
+ onHandleTaskWork.value.onFinishedTaskWorking ? (openBlock(), createElementBlock("div", _hoisted_2$6, [
11785
11809
  createVNode(unref(NeonButton), {
11786
11810
  "is-rounded": true,
11787
11811
  size: "sm",
@@ -11799,7 +11823,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
11799
11823
  };
11800
11824
  }
11801
11825
  });
11802
- const _sfc_main$q = /* @__PURE__ */ defineComponent({
11826
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
11803
11827
  ...{ name: "TaskCollection" },
11804
11828
  __name: "TaskCollection",
11805
11829
  setup(__props) {
@@ -11815,7 +11839,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
11815
11839
  };
11816
11840
  }
11817
11841
  });
11818
- const _sfc_main$p = /* @__PURE__ */ defineComponent({
11842
+ const _sfc_main$s = /* @__PURE__ */ defineComponent({
11819
11843
  __name: "TaskSingle",
11820
11844
  setup(__props) {
11821
11845
  const {
@@ -12038,7 +12062,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
12038
12062
  };
12039
12063
  }
12040
12064
  });
12041
- const _sfc_main$o = /* @__PURE__ */ defineComponent({
12065
+ const _sfc_main$r = /* @__PURE__ */ defineComponent({
12042
12066
  __name: "TaskWork",
12043
12067
  setup(__props) {
12044
12068
  const {
@@ -12261,7 +12285,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
12261
12285
  }
12262
12286
  });
12263
12287
  const SubmissionModel = models$2.SubmissionModel;
12264
- const _sfc_main$n = /* @__PURE__ */ defineComponent({
12288
+ const _sfc_main$q = /* @__PURE__ */ defineComponent({
12265
12289
  ...{
12266
12290
  name: "SubmissionCollection"
12267
12291
  },
@@ -12279,7 +12303,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
12279
12303
  };
12280
12304
  }
12281
12305
  });
12282
- const _sfc_main$m = /* @__PURE__ */ defineComponent({
12306
+ const _sfc_main$p = /* @__PURE__ */ defineComponent({
12283
12307
  __name: "SubmissionSingle",
12284
12308
  setup(__props) {
12285
12309
  const {
@@ -12476,8 +12500,8 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
12476
12500
  }
12477
12501
  });
12478
12502
  const SubmissionSingle_vue_vue_type_style_index_0_scoped_39553dbd_lang = "";
12479
- const SubmissionSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$m, [["__scopeId", "data-v-39553dbd"]]);
12480
- const _sfc_main$l = /* @__PURE__ */ defineComponent({
12503
+ const SubmissionSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$p, [["__scopeId", "data-v-39553dbd"]]);
12504
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
12481
12505
  __name: "SubmissionStaff",
12482
12506
  setup(__props) {
12483
12507
  var _a;
@@ -12749,8 +12773,8 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
12749
12773
  }
12750
12774
  });
12751
12775
  const SubmissionStaff_vue_vue_type_style_index_0_scoped_3ed905bd_lang = "";
12752
- const SubmissionStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$l, [["__scopeId", "data-v-3ed905bd"]]);
12753
- const _sfc_main$k = /* @__PURE__ */ defineComponent({
12776
+ const SubmissionStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["__scopeId", "data-v-3ed905bd"]]);
12777
+ const _sfc_main$n = /* @__PURE__ */ defineComponent({
12754
12778
  __name: "SubmissionFollowUp",
12755
12779
  setup(__props) {
12756
12780
  const {
@@ -12941,13 +12965,13 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
12941
12965
  }
12942
12966
  });
12943
12967
  const SubmissionFollowUp_vue_vue_type_style_index_0_scoped_6fd14e52_lang = "";
12944
- const SubmissionFollowUp = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["__scopeId", "data-v-6fd14e52"]]);
12945
- const _hoisted_1$3 = { class: "flex flex-wrap" };
12946
- const _hoisted_2$3 = { class: "mt-2" };
12968
+ const SubmissionFollowUp = /* @__PURE__ */ _export_sfc$1(_sfc_main$n, [["__scopeId", "data-v-6fd14e52"]]);
12969
+ const _hoisted_1$6 = { class: "flex flex-wrap" };
12970
+ const _hoisted_2$5 = { class: "mt-2" };
12947
12971
  const _hoisted_3$2 = { class: "mt-2" };
12948
12972
  const _hoisted_4 = { class: "mt-2" };
12949
12973
  const _hoisted_5 = { class: "mt-2" };
12950
- const _sfc_main$j = /* @__PURE__ */ defineComponent({
12974
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
12951
12975
  __name: "SubmissionAudit",
12952
12976
  setup(__props) {
12953
12977
  var _a;
@@ -13051,8 +13075,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
13051
13075
  onSubmit: unref(saveOne)
13052
13076
  }, {
13053
13077
  default: withCtx(() => [
13054
- createElementVNode("div", _hoisted_1$3, [
13055
- createElementVNode("div", _hoisted_2$3, [
13078
+ createElementVNode("div", _hoisted_1$6, [
13079
+ createElementVNode("div", _hoisted_2$5, [
13056
13080
  unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
13057
13081
  input: withCtx(() => [
13058
13082
  createVNode(unref(NeonButton), {
@@ -13144,7 +13168,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
13144
13168
  modelValue: unref(values).title,
13145
13169
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(values).title = $event)
13146
13170
  }, unref(fields).title, {
13147
- "is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
13171
+ "is-disabled": unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
13148
13172
  }), null, 16, ["modelValue", "is-disabled"]),
13149
13173
  createVNode(unref(NeonFields), { md: "grid-cols-2" }, {
13150
13174
  default: withCtx(() => [
@@ -13153,14 +13177,14 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
13153
13177
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(values) ? values.value = $event : null),
13154
13178
  field: unref(fields).branches,
13155
13179
  query: unref(Query).define(branchOptions.value),
13156
- "is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
13180
+ "is-disabled": unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
13157
13181
  }, null, 8, ["modelValue", "field", "query", "is-disabled"]),
13158
13182
  createVNode(unref(OfficeRelation), {
13159
13183
  modelValue: unref(values),
13160
13184
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => isRef(values) ? values.value = $event : null),
13161
13185
  field: unref(fields).type,
13162
13186
  query: unref(Query).define(typeOptions.value),
13163
- "is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
13187
+ "is-disabled": unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
13164
13188
  }, null, 8, ["modelValue", "field", "query", "is-disabled"])
13165
13189
  ]),
13166
13190
  _: 1
@@ -13172,13 +13196,13 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
13172
13196
  modelValue: unref(values),
13173
13197
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(values) ? values.value = $event : null),
13174
13198
  field: unref(fields).submissionStaffs,
13175
- "is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
13199
+ "is-disabled": unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
13176
13200
  }, null, 8, ["modelValue", "field", "is-disabled"]),
13177
13201
  createVNode(unref(OfficeRelation), {
13178
13202
  modelValue: unref(values),
13179
13203
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => isRef(values) ? values.value = $event : null),
13180
13204
  field: unref(fields).raiseStaffs,
13181
- "is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
13205
+ "is-disabled": unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
13182
13206
  }, null, 8, ["modelValue", "field", "is-disabled"])
13183
13207
  ]),
13184
13208
  _: 1
@@ -13190,7 +13214,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
13190
13214
  modelValue: unref(values),
13191
13215
  "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => isRef(values) ? values.value = $event : null),
13192
13216
  field: unref(fields).decideStaffs,
13193
- "is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
13217
+ "is-disabled": unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
13194
13218
  }, null, 8, ["modelValue", "field", "is-disabled"]),
13195
13219
  createVNode(unref(OfficeRelation), {
13196
13220
  modelValue: unref(values),
@@ -13205,7 +13229,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
13205
13229
  modelValue: unref(values).specifications,
13206
13230
  "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).specifications = $event)
13207
13231
  }, unref(fields).specifications, {
13208
- "is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
13232
+ "is-disabled": unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
13209
13233
  }), null, 16, ["modelValue", "is-disabled"]),
13210
13234
  createVNode(unref(NeonField), mergeProps({
13211
13235
  modelValue: unref(values).preparedAt,
@@ -13227,7 +13251,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
13227
13251
  modelValue: unref(values).nominal,
13228
13252
  "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => unref(values).nominal = $event)
13229
13253
  }, unref(fields).nominal, {
13230
- "is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
13254
+ "is-disabled": unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
13231
13255
  }), null, 16, ["modelValue", "is-disabled"]),
13232
13256
  createVNode(unref(NeonDivider), {
13233
13257
  "is-dashed": "",
@@ -13295,12 +13319,12 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
13295
13319
  };
13296
13320
  }
13297
13321
  });
13298
- const SubmissionAudit_vue_vue_type_style_index_0_scoped_da41fc59_lang = "";
13299
- const SubmissionAudit = /* @__PURE__ */ _export_sfc$1(_sfc_main$j, [["__scopeId", "data-v-da41fc59"]]);
13300
- const _hoisted_1$2 = { class: "flex flex-wrap" };
13301
- const _hoisted_2$2 = { class: "mt-2" };
13322
+ const SubmissionAudit_vue_vue_type_style_index_0_scoped_7ee6c6b9_lang = "";
13323
+ const SubmissionAudit = /* @__PURE__ */ _export_sfc$1(_sfc_main$m, [["__scopeId", "data-v-7ee6c6b9"]]);
13324
+ const _hoisted_1$5 = { class: "flex flex-wrap" };
13325
+ const _hoisted_2$4 = { class: "mt-2" };
13302
13326
  const _hoisted_3$1 = { class: "mt-2" };
13303
- const _sfc_main$i = /* @__PURE__ */ defineComponent({
13327
+ const _sfc_main$l = /* @__PURE__ */ defineComponent({
13304
13328
  __name: "SubmissionDecision",
13305
13329
  setup(__props) {
13306
13330
  var _a;
@@ -13404,8 +13428,8 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
13404
13428
  onSubmit: unref(saveOne)
13405
13429
  }, {
13406
13430
  default: withCtx(() => [
13407
- createElementVNode("div", _hoisted_1$2, [
13408
- createElementVNode("div", _hoisted_2$2, [
13431
+ createElementVNode("div", _hoisted_1$5, [
13432
+ createElementVNode("div", _hoisted_2$4, [
13409
13433
  unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
13410
13434
  input: withCtx(() => {
13411
13435
  var _a2, _b;
@@ -13611,11 +13635,11 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
13611
13635
  }
13612
13636
  });
13613
13637
  const SubmissionDecision_vue_vue_type_style_index_0_scoped_ec347ac5_lang = "";
13614
- const SubmissionDecision = /* @__PURE__ */ _export_sfc$1(_sfc_main$i, [["__scopeId", "data-v-ec347ac5"]]);
13615
- const _hoisted_1$1 = { class: "flex flex-wrap" };
13616
- const _hoisted_2$1 = { class: "mt-2" };
13638
+ const SubmissionDecision = /* @__PURE__ */ _export_sfc$1(_sfc_main$l, [["__scopeId", "data-v-ec347ac5"]]);
13639
+ const _hoisted_1$4 = { class: "flex flex-wrap" };
13640
+ const _hoisted_2$3 = { class: "mt-2" };
13617
13641
  const _hoisted_3 = { class: "mt-2" };
13618
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
13642
+ const _sfc_main$k = /* @__PURE__ */ defineComponent({
13619
13643
  __name: "SubmissionWaitingDecision",
13620
13644
  setup(__props) {
13621
13645
  var _a;
@@ -13721,8 +13745,8 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
13721
13745
  onSubmit: unref(saveOne)
13722
13746
  }, {
13723
13747
  default: withCtx(() => [
13724
- createElementVNode("div", _hoisted_1$1, [
13725
- createElementVNode("div", _hoisted_2$1, [
13748
+ createElementVNode("div", _hoisted_1$4, [
13749
+ createElementVNode("div", _hoisted_2$3, [
13726
13750
  unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
13727
13751
  input: withCtx(() => {
13728
13752
  var _a2, _b;
@@ -13928,9 +13952,9 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
13928
13952
  }
13929
13953
  });
13930
13954
  const SubmissionWaitingDecision_vue_vue_type_style_index_0_scoped_051b2194_lang = "";
13931
- const SubmissionWaitingDecision = /* @__PURE__ */ _export_sfc$1(_sfc_main$h, [["__scopeId", "data-v-051b2194"]]);
13955
+ const SubmissionWaitingDecision = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["__scopeId", "data-v-051b2194"]]);
13932
13956
  const SubmissionTypeModel = models$2.SubmissionTypeModel;
13933
- const _sfc_main$g = /* @__PURE__ */ defineComponent({
13957
+ const _sfc_main$j = /* @__PURE__ */ defineComponent({
13934
13958
  ...{
13935
13959
  name: "SubmissionTypeCollection"
13936
13960
  },
@@ -13948,7 +13972,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
13948
13972
  };
13949
13973
  }
13950
13974
  });
13951
- const _sfc_main$f = /* @__PURE__ */ defineComponent({
13975
+ const _sfc_main$i = /* @__PURE__ */ defineComponent({
13952
13976
  __name: "SubmissionTypeSingle",
13953
13977
  setup(__props) {
13954
13978
  const {
@@ -14014,9 +14038,9 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
14014
14038
  }
14015
14039
  });
14016
14040
  const SubmissionTypeSingle_vue_vue_type_style_index_0_scoped_2b7e18ba_lang = "";
14017
- const SubmissionTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$f, [["__scopeId", "data-v-2b7e18ba"]]);
14041
+ const SubmissionTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$i, [["__scopeId", "data-v-2b7e18ba"]]);
14018
14042
  const ResponsibilityTypeModel = models$2.ResponsibilityTypeModel;
14019
- const _sfc_main$e = /* @__PURE__ */ defineComponent({
14043
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
14020
14044
  ...{
14021
14045
  name: "ResponsibilityTypeCollection"
14022
14046
  },
@@ -14034,7 +14058,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
14034
14058
  };
14035
14059
  }
14036
14060
  });
14037
- const _sfc_main$d = /* @__PURE__ */ defineComponent({
14061
+ const _sfc_main$g = /* @__PURE__ */ defineComponent({
14038
14062
  __name: "ResponsibilityTypeSingle",
14039
14063
  setup(__props) {
14040
14064
  const {
@@ -14100,9 +14124,9 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
14100
14124
  }
14101
14125
  });
14102
14126
  const ResponsibilityTypeSingle_vue_vue_type_style_index_0_scoped_3df9fac1_lang = "";
14103
- const ResponsibilityTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["__scopeId", "data-v-3df9fac1"]]);
14127
+ const ResponsibilityTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$g, [["__scopeId", "data-v-3df9fac1"]]);
14104
14128
  const ResponsibilityModel = models$2.ResponsibilityModel;
14105
- const _sfc_main$c = /* @__PURE__ */ defineComponent({
14129
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
14106
14130
  ...{
14107
14131
  name: "ResponsibilityCollection"
14108
14132
  },
@@ -14120,7 +14144,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
14120
14144
  };
14121
14145
  }
14122
14146
  });
14123
- const _sfc_main$b = /* @__PURE__ */ defineComponent({
14147
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
14124
14148
  __name: "ResponsibilitySingle",
14125
14149
  setup(__props) {
14126
14150
  const {
@@ -14272,8 +14296,8 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
14272
14296
  }
14273
14297
  });
14274
14298
  const ResponsibilitySingle_vue_vue_type_style_index_0_scoped_4dd154b8_lang = "";
14275
- const ResponsibilitySingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$b, [["__scopeId", "data-v-4dd154b8"]]);
14276
- const _sfc_main$a = /* @__PURE__ */ defineComponent({
14299
+ const ResponsibilitySingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$e, [["__scopeId", "data-v-4dd154b8"]]);
14300
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
14277
14301
  __name: "ResponsibilityStaff",
14278
14302
  setup(__props) {
14279
14303
  const {
@@ -14429,9 +14453,9 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
14429
14453
  }
14430
14454
  });
14431
14455
  const ResponsibilityStaff_vue_vue_type_style_index_0_scoped_62233bc2_lang = "";
14432
- const ResponsibilityStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$a, [["__scopeId", "data-v-62233bc2"]]);
14456
+ const ResponsibilityStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["__scopeId", "data-v-62233bc2"]]);
14433
14457
  const TargetModel = models$2.TargetModel;
14434
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
14458
+ const _sfc_main$c = /* @__PURE__ */ defineComponent({
14435
14459
  ...{
14436
14460
  name: "TargetCollection"
14437
14461
  },
@@ -14449,7 +14473,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
14449
14473
  };
14450
14474
  }
14451
14475
  });
14452
- const _sfc_main$8 = /* @__PURE__ */ defineComponent({
14476
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
14453
14477
  __name: "TargetSingle",
14454
14478
  setup(__props) {
14455
14479
  const {
@@ -14602,8 +14626,8 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
14602
14626
  }
14603
14627
  });
14604
14628
  const TargetSingle_vue_vue_type_style_index_0_scoped_279e9805_lang = "";
14605
- const TargetSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$8, [["__scopeId", "data-v-279e9805"]]);
14606
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
14629
+ const TargetSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$b, [["__scopeId", "data-v-279e9805"]]);
14630
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
14607
14631
  __name: "TargetBranch",
14608
14632
  setup(__props) {
14609
14633
  const {
@@ -14756,9 +14780,9 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
14756
14780
  }
14757
14781
  });
14758
14782
  const TargetBranch_vue_vue_type_style_index_0_scoped_b06ddc2d_lang = "";
14759
- const TargetBranch = /* @__PURE__ */ _export_sfc$1(_sfc_main$7, [["__scopeId", "data-v-b06ddc2d"]]);
14783
+ const TargetBranch = /* @__PURE__ */ _export_sfc$1(_sfc_main$a, [["__scopeId", "data-v-b06ddc2d"]]);
14760
14784
  const PlanTypeModel = models$2.PlanTypeModel;
14761
- const _sfc_main$6 = /* @__PURE__ */ defineComponent({
14785
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
14762
14786
  ...{
14763
14787
  name: "PlanTypeCollection"
14764
14788
  },
@@ -14776,7 +14800,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
14776
14800
  };
14777
14801
  }
14778
14802
  });
14779
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
14803
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
14780
14804
  __name: "PlanTypeSingle",
14781
14805
  setup(__props) {
14782
14806
  const {
@@ -14878,9 +14902,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
14878
14902
  sorts: ["createdAt", "updatedAt"],
14879
14903
  "initial-values": {
14880
14904
  planTypeIds: unref(id),
14881
- planTypes: unref(values),
14882
- staffIds: unref(values).staffIds,
14883
- staffs: unref(values).staffs
14905
+ planTypes: unref(values)
14884
14906
  }
14885
14907
  }, null, 8, ["query", "is-ready", "initial-values"])
14886
14908
  ]),
@@ -14898,10 +14920,10 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
14898
14920
  };
14899
14921
  }
14900
14922
  });
14901
- const PlanTypeSingle_vue_vue_type_style_index_0_scoped_840b3340_lang = "";
14902
- const PlanTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$5, [["__scopeId", "data-v-840b3340"]]);
14923
+ const PlanTypeSingle_vue_vue_type_style_index_0_scoped_4fd687ad_lang = "";
14924
+ const PlanTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$8, [["__scopeId", "data-v-4fd687ad"]]);
14903
14925
  const PlanModel = models$2.PlanModel;
14904
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
14926
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
14905
14927
  ...{
14906
14928
  name: "PlanCollection"
14907
14929
  },
@@ -14919,7 +14941,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
14919
14941
  };
14920
14942
  }
14921
14943
  });
14922
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
14944
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
14923
14945
  __name: "PlanSingle",
14924
14946
  setup(__props) {
14925
14947
  const {
@@ -14945,6 +14967,10 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
14945
14967
  if (values.value.domain === "education")
14946
14968
  values.value.stageIds = [];
14947
14969
  };
14970
+ const saveAndSyncOne = async () => {
14971
+ await saveOne();
14972
+ await syncOne();
14973
+ };
14948
14974
  return (_ctx, _cache) => {
14949
14975
  return openBlock(), createBlock(unref(NeonSingle), { class: "neu-plan-single" }, {
14950
14976
  default: withCtx(() => [
@@ -14963,7 +14989,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
14963
14989
  "is-changed": unref(isChanged),
14964
14990
  "use-unsaved": "",
14965
14991
  onCancel: unref(discardChanges),
14966
- onSubmit: unref(saveOne)
14992
+ onSubmit: saveAndSyncOne
14967
14993
  }, {
14968
14994
  default: withCtx(() => [
14969
14995
  createVNode(unref(NeonField), mergeProps({
@@ -15032,12 +15058,13 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
15032
15058
  createVNode(unref(OfficeRelation), {
15033
15059
  modelValue: unref(values),
15034
15060
  "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => isRef(values) ? values.value = $event : null),
15035
- field: unref(fields).staffs
15061
+ field: unref(fields).staffs,
15062
+ "is-disabled": ""
15036
15063
  }, null, 8, ["modelValue", "field"])
15037
15064
  ]),
15038
15065
  _: 1
15039
15066
  /* STABLE */
15040
- }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
15067
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel"])
15041
15068
  ]),
15042
15069
  _: 1
15043
15070
  /* STABLE */
@@ -15089,9 +15116,9 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
15089
15116
  };
15090
15117
  }
15091
15118
  });
15092
- const PlanSingle_vue_vue_type_style_index_0_scoped_a653393a_lang = "";
15093
- const PlanSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["__scopeId", "data-v-a653393a"]]);
15094
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
15119
+ const PlanSingle_vue_vue_type_style_index_0_scoped_9ee52a12_lang = "";
15120
+ const PlanSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$6, [["__scopeId", "data-v-9ee52a12"]]);
15121
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
15095
15122
  __name: "PlanStaff",
15096
15123
  setup(__props) {
15097
15124
  const {
@@ -15105,7 +15132,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
15105
15132
  isMain,
15106
15133
  isNew,
15107
15134
  saveOne,
15108
- discardChanges
15135
+ discardChanges,
15136
+ syncOne
15109
15137
  } = useSingle();
15110
15138
  const onDomainUpdate = () => {
15111
15139
  if (values.value.domain === "operational") {
@@ -15115,6 +15143,10 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
15115
15143
  if (values.value.domain === "education")
15116
15144
  values.value.stageIds = [];
15117
15145
  };
15146
+ const saveAndSyncOne = async () => {
15147
+ await saveOne();
15148
+ await syncOne();
15149
+ };
15118
15150
  return (_ctx, _cache) => {
15119
15151
  return openBlock(), createBlock(unref(NeonSingle), { class: "neu-plan-single" }, {
15120
15152
  default: withCtx(() => [
@@ -15133,7 +15165,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
15133
15165
  "is-changed": unref(isChanged),
15134
15166
  "use-unsaved": "",
15135
15167
  onCancel: unref(discardChanges),
15136
- onSubmit: unref(saveOne)
15168
+ onSubmit: saveAndSyncOne
15137
15169
  }, {
15138
15170
  default: withCtx(() => [
15139
15171
  createVNode(unref(NeonField), mergeProps({
@@ -15221,47 +15253,11 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
15221
15253
  ]),
15222
15254
  _: 1
15223
15255
  /* STABLE */
15224
- }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
15225
- ]),
15226
- _: 1
15227
- /* STABLE */
15228
- }),
15229
- createCommentVNode(" PROGRESS "),
15230
- !unref(isNew) ? (openBlock(), createBlock(unref(OfficeTab), {
15231
- key: 0,
15232
- handle: "progress",
15233
- icon: "info-circle",
15234
- title: "Progress"
15235
- }, {
15236
- default: withCtx(() => [
15237
- createVNode(unref(OfficeCollectionRelated), {
15238
- definition: "neu:personalia:progress",
15239
- title: "Progress",
15240
- description: "Progress dari tanggungjawab.",
15241
- query: unref(Query).define({
15242
- filter: [
15243
- {
15244
- planIds: unref(id)
15245
- }
15246
- ],
15247
- sort: {
15248
- handle: "startedEst",
15249
- direction: "ascending"
15250
- }
15251
- }),
15252
- "is-ready": unref(isReady),
15253
- columns: ["startedEst", "endedEst", "staff", "detail"],
15254
- sorts: ["startedEst", "startedEst", "createdAt", "updatedAt"],
15255
- filters: ["staff"],
15256
- "initial-values": {
15257
- planIds: unref(id),
15258
- plans: unref(values)
15259
- }
15260
- }, null, 8, ["query", "is-ready", "initial-values"])
15256
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel"])
15261
15257
  ]),
15262
15258
  _: 1
15263
15259
  /* STABLE */
15264
- })) : createCommentVNode("v-if", true)
15260
+ })
15265
15261
  ]),
15266
15262
  _: 1
15267
15263
  /* STABLE */
@@ -15273,10 +15269,57 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
15273
15269
  };
15274
15270
  }
15275
15271
  });
15276
- const PlanStaff_vue_vue_type_style_index_0_scoped_e55e97e5_lang = "";
15277
- const PlanStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$2, [["__scopeId", "data-v-e55e97e5"]]);
15272
+ const PlanStaff_vue_vue_type_style_index_0_scoped_536f59ce_lang = "";
15273
+ const PlanStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$5, [["__scopeId", "data-v-536f59ce"]]);
15278
15274
  const ProgressModel = models$2.ProgressModel;
15279
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
15275
+ const _hoisted_1$3 = { class: "flex flex-wrap" };
15276
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
15277
+ ...{ name: "ProgressButton" },
15278
+ __name: "ProgressButton",
15279
+ setup(__props) {
15280
+ const router = useRouter();
15281
+ const tomorrowClick = () => {
15282
+ router.push("/penugasan/tomorrow-progresses/new");
15283
+ };
15284
+ const todayClick = () => {
15285
+ router.push("/personalia/progresses/new");
15286
+ };
15287
+ const yesterdayClick = () => {
15288
+ router.push("/penugasan/yesterday-progresses/new");
15289
+ };
15290
+ return (_ctx, _cache) => {
15291
+ return openBlock(), createElementBlock("div", _hoisted_1$3, [
15292
+ createVNode(unref(NeonButton), {
15293
+ "is-rounded": true,
15294
+ size: "sm",
15295
+ color: "dark",
15296
+ "icon-left": "plus",
15297
+ label: "Kemarin",
15298
+ onClick: yesterdayClick
15299
+ }),
15300
+ createTextVNode("  "),
15301
+ createVNode(unref(NeonButton), {
15302
+ "is-rounded": true,
15303
+ size: "sm",
15304
+ color: "dark",
15305
+ "icon-left": "plus",
15306
+ label: "Hari Ini",
15307
+ onClick: todayClick
15308
+ }),
15309
+ createTextVNode("  "),
15310
+ createVNode(unref(NeonButton), {
15311
+ "is-rounded": true,
15312
+ size: "sm",
15313
+ color: "dark",
15314
+ "icon-left": "plus",
15315
+ label: "Besok",
15316
+ onClick: tomorrowClick
15317
+ })
15318
+ ]);
15319
+ };
15320
+ }
15321
+ });
15322
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
15280
15323
  ...{
15281
15324
  name: "ProgressCollection"
15282
15325
  },
@@ -15477,9 +15520,9 @@ class DateUtil {
15477
15520
  return dayjs;
15478
15521
  }
15479
15522
  }
15480
- const _hoisted_1 = { class: "grid gap-2 sm:grid-cols-2" };
15481
- const _hoisted_2 = { class: "text-right text-fg-subdued text-sm" };
15482
- const _sfc_main = /* @__PURE__ */ defineComponent({
15523
+ const _hoisted_1$2 = { class: "grid gap-2 sm:grid-cols-2" };
15524
+ const _hoisted_2$2 = { class: "text-right text-fg-subdued text-sm" };
15525
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
15483
15526
  __name: "ProgressSingle",
15484
15527
  setup(__props) {
15485
15528
  const {
@@ -15560,6 +15603,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
15560
15603
  immediate: true
15561
15604
  }
15562
15605
  );
15606
+ const submissionOptions = computed(() => {
15607
+ return {
15608
+ filter: [
15609
+ {
15610
+ handle: "status",
15611
+ operator: "in",
15612
+ value: ["approved", "monitored"]
15613
+ },
15614
+ {
15615
+ handle: "followUpStaffIds",
15616
+ operator: "in",
15617
+ value: values.value.staffId
15618
+ }
15619
+ ]
15620
+ };
15621
+ });
15563
15622
  return (_ctx, _cache) => {
15564
15623
  return openBlock(), createBlock(unref(NeonSingle), { class: "neu-progress-single" }, {
15565
15624
  default: withCtx(() => [
@@ -15603,7 +15662,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
15603
15662
  _: 1
15604
15663
  /* STABLE */
15605
15664
  }),
15606
- createElementVNode("div", _hoisted_1, [
15665
+ createElementVNode("div", _hoisted_1$2, [
15607
15666
  createVNode(unref(NeonField), mergeProps({
15608
15667
  modelValue: unref(values).startedEst,
15609
15668
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => unref(values).startedEst = $event)
@@ -15644,7 +15703,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
15644
15703
  }, null, 8, ["modelValue", "is-loading"]),
15645
15704
  createElementVNode(
15646
15705
  "div",
15647
- _hoisted_2,
15706
+ _hoisted_2$2,
15648
15707
  toDisplayString(duration2.value),
15649
15708
  1
15650
15709
  /* TEXT */
@@ -15669,11 +15728,489 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
15669
15728
  field: unref(fields).responsibilities,
15670
15729
  query: unref(Query).define(responsibilityOptions.value)
15671
15730
  }, null, 8, ["modelValue", "field", "query"]),
15731
+ createCommentVNode(' <OfficeRelation v-model="values" :field="fields.plans" /> '),
15672
15732
  createVNode(unref(OfficeRelation), {
15673
15733
  modelValue: unref(values),
15674
15734
  "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => isRef(values) ? values.value = $event : null),
15675
- field: unref(fields).plans
15676
- }, null, 8, ["modelValue", "field"])
15735
+ field: unref(fields).submissions,
15736
+ query: unref(Query).define(submissionOptions.value)
15737
+ }, null, 8, ["modelValue", "field", "query"])
15738
+ ]),
15739
+ _: 1
15740
+ /* STABLE */
15741
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
15742
+ ]),
15743
+ _: 1
15744
+ /* STABLE */
15745
+ })
15746
+ ]),
15747
+ _: 1
15748
+ /* STABLE */
15749
+ }, 8, ["use-url"])
15750
+ ]),
15751
+ _: 1
15752
+ /* STABLE */
15753
+ });
15754
+ };
15755
+ }
15756
+ });
15757
+ const ProgressSingle_vue_vue_type_style_index_0_scoped_4ef30da9_lang = "";
15758
+ const ProgressSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$2, [["__scopeId", "data-v-4ef30da9"]]);
15759
+ const _hoisted_1$1 = { class: "grid gap-2 sm:grid-cols-2" };
15760
+ const _hoisted_2$1 = { class: "text-right text-fg-subdued text-sm" };
15761
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
15762
+ __name: "ProgressTomorrow",
15763
+ setup(__props) {
15764
+ const {
15765
+ fields,
15766
+ id,
15767
+ initialValues,
15768
+ values,
15769
+ isLoading,
15770
+ isChanged,
15771
+ isReady,
15772
+ isMain,
15773
+ isNew,
15774
+ saveOne,
15775
+ discardChanges
15776
+ } = useSingle();
15777
+ const { staff } = useOperasional();
15778
+ const responsibilityOptions = computed(() => {
15779
+ var _a, _b;
15780
+ return {
15781
+ filter: [
15782
+ {
15783
+ handle: "condition",
15784
+ operator: "eq",
15785
+ value: "active"
15786
+ },
15787
+ {
15788
+ $or: [
15789
+ {
15790
+ handle: "staffWorkIds",
15791
+ operator: "in",
15792
+ value: (_a = staff.value) == null ? void 0 : _a.id
15793
+ },
15794
+ {
15795
+ handle: "staffSuperviseIds",
15796
+ operator: "in",
15797
+ value: (_b = staff.value) == null ? void 0 : _b.id
15798
+ }
15799
+ ]
15800
+ }
15801
+ ]
15802
+ };
15803
+ });
15804
+ const key = ref(0);
15805
+ const diff = computed(() => {
15806
+ return DateUtil.day(values.value.endedEst).diff(values.value.startedEst);
15807
+ });
15808
+ const duration2 = computed(() => {
15809
+ if (isNaN(diff.value))
15810
+ return "-";
15811
+ const duration22 = DateUtil.day.duration(diff.value);
15812
+ return duration22.format("HH [jam] mm [menit]");
15813
+ });
15814
+ function onStartedEstUpdate(date) {
15815
+ if (!date)
15816
+ return;
15817
+ const currentEndedendedEst = DateUtil.day(values.value.endedEst);
15818
+ let startedEst = DateUtil.day(date);
15819
+ let endedEst = DateUtil.day(date);
15820
+ startedEst = startedEst.second(0).millisecond(0);
15821
+ endedEst = endedEst.hour(currentEndedendedEst.hour()).minute(currentEndedendedEst.minute()).second(0).millisecond(0);
15822
+ values.value.startedEst = startedEst.toISOString();
15823
+ values.value.endedEst = endedEst.toISOString();
15824
+ }
15825
+ const sekarang = dayjs(/* @__PURE__ */ new Date());
15826
+ const besok = sekarang.add(1, "day");
15827
+ watch(
15828
+ isNew,
15829
+ (isNew2) => {
15830
+ var _a;
15831
+ if (!isNew2)
15832
+ return;
15833
+ values.value.staffId = (_a = staff.value) == null ? void 0 : _a.id;
15834
+ values.value.staff = staff.value;
15835
+ values.value.startedEst = besok.second(0).millisecond(0).toISOString();
15836
+ values.value.endedEst = besok.add(90, "m").toISOString();
15837
+ },
15838
+ {
15839
+ immediate: true
15840
+ }
15841
+ );
15842
+ const submissionOptions = computed(() => {
15843
+ return {
15844
+ filter: [
15845
+ {
15846
+ handle: "status",
15847
+ operator: "in",
15848
+ value: ["approved", "monitored"]
15849
+ },
15850
+ {
15851
+ handle: "followUpStaffIds",
15852
+ operator: "in",
15853
+ value: values.value.staffId
15854
+ }
15855
+ ]
15856
+ };
15857
+ });
15858
+ return (_ctx, _cache) => {
15859
+ return openBlock(), createBlock(unref(NeonSingle), { class: "neu-progress-single" }, {
15860
+ default: withCtx(() => [
15861
+ createVNode(unref(OfficeTabs), { "use-url": unref(isMain) }, {
15862
+ default: withCtx(() => [
15863
+ createVNode(unref(OfficeTab), {
15864
+ handle: "info",
15865
+ icon: "circle-info",
15866
+ title: "Info"
15867
+ }, {
15868
+ default: withCtx(() => [
15869
+ createVNode(unref(NeonForm), {
15870
+ handle: "info",
15871
+ "initial-values": unref(initialValues),
15872
+ "is-loading": unref(isLoading),
15873
+ "is-changed": unref(isChanged),
15874
+ "use-unsaved": "",
15875
+ onCancel: unref(discardChanges),
15876
+ onSubmit: unref(saveOne)
15877
+ }, {
15878
+ default: withCtx(() => [
15879
+ createVNode(unref(NeonFields), { md: "grid-cols-2" }, {
15880
+ default: withCtx(() => [
15881
+ (openBlock(), createBlock(unref(NeonField), mergeProps({
15882
+ key: key.value,
15883
+ "model-value": unref(values).startedEst
15884
+ }, {
15885
+ handle: "startedEst",
15886
+ name: "Tanggal",
15887
+ type: "date",
15888
+ input: "date2",
15889
+ options: {
15890
+ note: "Tanggal progress."
15891
+ }
15892
+ }, { "onUpdate:modelValue": onStartedEstUpdate }), null, 16, ["model-value"])),
15893
+ createVNode(unref(NeonField), mergeProps({
15894
+ modelValue: unref(values).detail,
15895
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(values).detail = $event)
15896
+ }, unref(fields).detail), null, 16, ["modelValue"])
15897
+ ]),
15898
+ _: 1
15899
+ /* STABLE */
15900
+ }),
15901
+ createElementVNode("div", _hoisted_1$1, [
15902
+ createVNode(unref(NeonField), mergeProps({
15903
+ modelValue: unref(values).startedEst,
15904
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => unref(values).startedEst = $event)
15905
+ }, {
15906
+ handle: "startedEst",
15907
+ name: "Mulai",
15908
+ options: {
15909
+ note: "Jam mulai."
15910
+ }
15911
+ }), {
15912
+ input: withCtx(() => [
15913
+ createVNode(unref(NeonTime), {
15914
+ modelValue: unref(values).startedEst,
15915
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(values).startedEst = $event),
15916
+ "is-loading": unref(isLoading),
15917
+ class: "mt-2"
15918
+ }, null, 8, ["modelValue", "is-loading"])
15919
+ ]),
15920
+ _: 1
15921
+ /* STABLE */
15922
+ }, 16, ["modelValue"]),
15923
+ createVNode(unref(NeonField), mergeProps({
15924
+ modelValue: unref(values).endedEst,
15925
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => unref(values).endedEst = $event)
15926
+ }, {
15927
+ handle: "endedEst",
15928
+ name: "Selesai",
15929
+ options: {
15930
+ note: "Jam selesai."
15931
+ }
15932
+ }), {
15933
+ input: withCtx(() => [
15934
+ createVNode(unref(NeonTime), {
15935
+ modelValue: unref(values).endedEst,
15936
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => unref(values).endedEst = $event),
15937
+ "is-loading": unref(isLoading),
15938
+ class: "mt-2"
15939
+ }, null, 8, ["modelValue", "is-loading"]),
15940
+ createElementVNode(
15941
+ "div",
15942
+ _hoisted_2$1,
15943
+ toDisplayString(duration2.value),
15944
+ 1
15945
+ /* TEXT */
15946
+ )
15947
+ ]),
15948
+ _: 1
15949
+ /* STABLE */
15950
+ }, 16, ["modelValue"])
15951
+ ]),
15952
+ createVNode(unref(OfficeRelation), {
15953
+ modelValue: unref(values),
15954
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => isRef(values) ? values.value = $event : null),
15955
+ field: unref(fields).staff
15956
+ }, null, 8, ["modelValue", "field"]),
15957
+ createVNode(unref(NeonDivider), {
15958
+ "is-dashed": "",
15959
+ label: "Referensi"
15960
+ }),
15961
+ createVNode(unref(OfficeRelation), {
15962
+ modelValue: unref(values),
15963
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => isRef(values) ? values.value = $event : null),
15964
+ field: unref(fields).responsibilities,
15965
+ query: unref(Query).define(responsibilityOptions.value)
15966
+ }, null, 8, ["modelValue", "field", "query"]),
15967
+ createVNode(unref(OfficeRelation), {
15968
+ modelValue: unref(values),
15969
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => isRef(values) ? values.value = $event : null),
15970
+ field: unref(fields).submissions,
15971
+ query: unref(Query).define(submissionOptions.value)
15972
+ }, null, 8, ["modelValue", "field", "query"]),
15973
+ createCommentVNode(' <OfficeRelation v-model="values" :field="fields.plans" /> ')
15974
+ ]),
15975
+ _: 1
15976
+ /* STABLE */
15977
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
15978
+ ]),
15979
+ _: 1
15980
+ /* STABLE */
15981
+ })
15982
+ ]),
15983
+ _: 1
15984
+ /* STABLE */
15985
+ }, 8, ["use-url"])
15986
+ ]),
15987
+ _: 1
15988
+ /* STABLE */
15989
+ });
15990
+ };
15991
+ }
15992
+ });
15993
+ const ProgressTomorrow_vue_vue_type_style_index_0_scoped_09ccf676_lang = "";
15994
+ const ProgressTomorrow = /* @__PURE__ */ _export_sfc$1(_sfc_main$1, [["__scopeId", "data-v-09ccf676"]]);
15995
+ const _hoisted_1 = { class: "grid gap-2 sm:grid-cols-2" };
15996
+ const _hoisted_2 = { class: "text-right text-fg-subdued text-sm" };
15997
+ const _sfc_main = /* @__PURE__ */ defineComponent({
15998
+ __name: "ProgressYesterday",
15999
+ setup(__props) {
16000
+ const {
16001
+ fields,
16002
+ id,
16003
+ initialValues,
16004
+ values,
16005
+ isLoading,
16006
+ isChanged,
16007
+ isReady,
16008
+ isMain,
16009
+ isNew,
16010
+ saveOne,
16011
+ discardChanges
16012
+ } = useSingle();
16013
+ const { staff } = useOperasional();
16014
+ const responsibilityOptions = computed(() => {
16015
+ var _a, _b;
16016
+ return {
16017
+ filter: [
16018
+ {
16019
+ handle: "condition",
16020
+ operator: "eq",
16021
+ value: "active"
16022
+ },
16023
+ {
16024
+ $or: [
16025
+ {
16026
+ handle: "staffWorkIds",
16027
+ operator: "in",
16028
+ value: (_a = staff.value) == null ? void 0 : _a.id
16029
+ },
16030
+ {
16031
+ handle: "staffSuperviseIds",
16032
+ operator: "in",
16033
+ value: (_b = staff.value) == null ? void 0 : _b.id
16034
+ }
16035
+ ]
16036
+ }
16037
+ ]
16038
+ };
16039
+ });
16040
+ const key = ref(0);
16041
+ const diff = computed(() => {
16042
+ return DateUtil.day(values.value.endedEst).diff(values.value.startedEst);
16043
+ });
16044
+ const duration2 = computed(() => {
16045
+ if (isNaN(diff.value))
16046
+ return "-";
16047
+ const duration22 = DateUtil.day.duration(diff.value);
16048
+ return duration22.format("HH [jam] mm [menit]");
16049
+ });
16050
+ function onStartedEstUpdate(date) {
16051
+ if (!date)
16052
+ return;
16053
+ const currentEndedendedEst = DateUtil.day(values.value.endedEst);
16054
+ let startedEst = DateUtil.day(date);
16055
+ let endedEst = DateUtil.day(date);
16056
+ startedEst = startedEst.second(0).millisecond(0);
16057
+ endedEst = endedEst.hour(currentEndedendedEst.hour()).minute(currentEndedendedEst.minute()).second(0).millisecond(0);
16058
+ values.value.startedEst = startedEst.toISOString();
16059
+ values.value.endedEst = endedEst.toISOString();
16060
+ }
16061
+ const sekarang = dayjs(/* @__PURE__ */ new Date());
16062
+ const besok = sekarang.add(-1, "day");
16063
+ watch(
16064
+ isNew,
16065
+ (isNew2) => {
16066
+ var _a;
16067
+ if (!isNew2)
16068
+ return;
16069
+ values.value.staffId = (_a = staff.value) == null ? void 0 : _a.id;
16070
+ values.value.staff = staff.value;
16071
+ values.value.startedEst = besok.second(0).millisecond(0).toISOString();
16072
+ values.value.endedEst = besok.add(90, "m").toISOString();
16073
+ },
16074
+ {
16075
+ immediate: true
16076
+ }
16077
+ );
16078
+ const submissionOptions = computed(() => {
16079
+ return {
16080
+ filter: [
16081
+ {
16082
+ handle: "status",
16083
+ operator: "in",
16084
+ value: ["approved", "monitored"]
16085
+ },
16086
+ {
16087
+ handle: "followUpStaffIds",
16088
+ operator: "in",
16089
+ value: values.value.staffId
16090
+ }
16091
+ ]
16092
+ };
16093
+ });
16094
+ return (_ctx, _cache) => {
16095
+ return openBlock(), createBlock(unref(NeonSingle), { class: "neu-progress-single" }, {
16096
+ default: withCtx(() => [
16097
+ createVNode(unref(OfficeTabs), { "use-url": unref(isMain) }, {
16098
+ default: withCtx(() => [
16099
+ createVNode(unref(OfficeTab), {
16100
+ handle: "info",
16101
+ icon: "circle-info",
16102
+ title: "Info"
16103
+ }, {
16104
+ default: withCtx(() => [
16105
+ createVNode(unref(NeonForm), {
16106
+ handle: "info",
16107
+ "initial-values": unref(initialValues),
16108
+ "is-loading": unref(isLoading),
16109
+ "is-changed": unref(isChanged),
16110
+ "use-unsaved": "",
16111
+ onCancel: unref(discardChanges),
16112
+ onSubmit: unref(saveOne)
16113
+ }, {
16114
+ default: withCtx(() => [
16115
+ createVNode(unref(NeonFields), { md: "grid-cols-2" }, {
16116
+ default: withCtx(() => [
16117
+ (openBlock(), createBlock(unref(NeonField), mergeProps({
16118
+ key: key.value,
16119
+ "model-value": unref(values).startedEst
16120
+ }, {
16121
+ handle: "startedEst",
16122
+ name: "Tanggal",
16123
+ type: "date",
16124
+ input: "date2",
16125
+ options: {
16126
+ note: "Tanggal progress."
16127
+ }
16128
+ }, { "onUpdate:modelValue": onStartedEstUpdate }), null, 16, ["model-value"])),
16129
+ createVNode(unref(NeonField), mergeProps({
16130
+ modelValue: unref(values).detail,
16131
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(values).detail = $event)
16132
+ }, unref(fields).detail), null, 16, ["modelValue"])
16133
+ ]),
16134
+ _: 1
16135
+ /* STABLE */
16136
+ }),
16137
+ createElementVNode("div", _hoisted_1, [
16138
+ createVNode(unref(NeonField), mergeProps({
16139
+ modelValue: unref(values).startedEst,
16140
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => unref(values).startedEst = $event)
16141
+ }, {
16142
+ handle: "startedEst",
16143
+ name: "Mulai",
16144
+ options: {
16145
+ note: "Jam mulai."
16146
+ }
16147
+ }), {
16148
+ input: withCtx(() => [
16149
+ createVNode(unref(NeonTime), {
16150
+ modelValue: unref(values).startedEst,
16151
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(values).startedEst = $event),
16152
+ "is-loading": unref(isLoading),
16153
+ class: "mt-2"
16154
+ }, null, 8, ["modelValue", "is-loading"])
16155
+ ]),
16156
+ _: 1
16157
+ /* STABLE */
16158
+ }, 16, ["modelValue"]),
16159
+ createVNode(unref(NeonField), mergeProps({
16160
+ modelValue: unref(values).endedEst,
16161
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => unref(values).endedEst = $event)
16162
+ }, {
16163
+ handle: "endedEst",
16164
+ name: "Selesai",
16165
+ options: {
16166
+ note: "Jam selesai."
16167
+ }
16168
+ }), {
16169
+ input: withCtx(() => [
16170
+ createVNode(unref(NeonTime), {
16171
+ modelValue: unref(values).endedEst,
16172
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => unref(values).endedEst = $event),
16173
+ "is-loading": unref(isLoading),
16174
+ class: "mt-2"
16175
+ }, null, 8, ["modelValue", "is-loading"]),
16176
+ createElementVNode(
16177
+ "div",
16178
+ _hoisted_2,
16179
+ toDisplayString(duration2.value),
16180
+ 1
16181
+ /* TEXT */
16182
+ )
16183
+ ]),
16184
+ _: 1
16185
+ /* STABLE */
16186
+ }, 16, ["modelValue"])
16187
+ ]),
16188
+ createVNode(unref(OfficeRelation), {
16189
+ modelValue: unref(values),
16190
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => isRef(values) ? values.value = $event : null),
16191
+ field: unref(fields).staff
16192
+ }, null, 8, ["modelValue", "field"]),
16193
+ createVNode(unref(NeonDivider), {
16194
+ "is-dashed": "",
16195
+ label: "Referensi"
16196
+ }),
16197
+ createVNode(unref(OfficeRelation), {
16198
+ modelValue: unref(values),
16199
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => isRef(values) ? values.value = $event : null),
16200
+ field: unref(fields).responsibilities,
16201
+ query: unref(Query).define(responsibilityOptions.value)
16202
+ }, null, 8, ["modelValue", "field", "query"]),
16203
+ createVNode(unref(OfficeRelation), {
16204
+ modelValue: unref(values),
16205
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => isRef(values) ? values.value = $event : null),
16206
+ field: unref(fields).plans
16207
+ }, null, 8, ["modelValue", "field"]),
16208
+ createVNode(unref(OfficeRelation), {
16209
+ modelValue: unref(values),
16210
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => isRef(values) ? values.value = $event : null),
16211
+ field: unref(fields).submissions,
16212
+ query: unref(Query).define(submissionOptions.value)
16213
+ }, null, 8, ["modelValue", "field", "query"])
15677
16214
  ]),
15678
16215
  _: 1
15679
16216
  /* STABLE */
@@ -15693,72 +16230,75 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
15693
16230
  };
15694
16231
  }
15695
16232
  });
15696
- const ProgressSingle_vue_vue_type_style_index_0_scoped_cca6fb42_lang = "";
15697
- const ProgressSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["__scopeId", "data-v-cca6fb42"]]);
16233
+ const ProgressYesterday_vue_vue_type_style_index_0_scoped_ac62b6ea_lang = "";
16234
+ const ProgressYesterday = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["__scopeId", "data-v-ac62b6ea"]]);
15698
16235
  const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15699
16236
  __proto__: null,
15700
16237
  CheckInAccess,
15701
- CheckInCollection: _sfc_main$C,
16238
+ CheckInCollection: _sfc_main$F,
15702
16239
  CheckInExternal,
15703
16240
  CheckInModel,
15704
16241
  CheckInPresenceCollection,
15705
- CheckInScanError: _sfc_main$F,
15706
- CheckInScanSuccess: _sfc_main$D,
16242
+ CheckInScanError: _sfc_main$I,
16243
+ CheckInScanSuccess: _sfc_main$G,
15707
16244
  CheckInScanner,
15708
16245
  CheckInSingle,
15709
16246
  NeonTime,
15710
16247
  OperasionalIdentitas,
15711
- PlanCollection: _sfc_main$4,
16248
+ PlanCollection: _sfc_main$7,
15712
16249
  PlanModel,
15713
16250
  PlanSingle,
15714
16251
  PlanStaff,
15715
- PlanTypeCollection: _sfc_main$6,
16252
+ PlanTypeCollection: _sfc_main$9,
15716
16253
  PlanTypeModel,
15717
16254
  PlanTypeSingle,
15718
- ProgressCollection: _sfc_main$1,
16255
+ ProgressButton: _sfc_main$4,
16256
+ ProgressCollection: _sfc_main$3,
15719
16257
  ProgressModel,
15720
16258
  ProgressSingle,
15721
- ResponsibilityCollection: _sfc_main$c,
16259
+ ProgressTomorrow,
16260
+ ProgressYesterday,
16261
+ ResponsibilityCollection: _sfc_main$f,
15722
16262
  ResponsibilityModel,
15723
16263
  ResponsibilitySingle,
15724
16264
  ResponsibilityStaff,
15725
- ResponsibilityTypeCollection: _sfc_main$e,
16265
+ ResponsibilityTypeCollection: _sfc_main$h,
15726
16266
  ResponsibilityTypeModel,
15727
16267
  ResponsibilityTypeSingle,
15728
- SituationCollection: _sfc_main$x,
16268
+ SituationCollection: _sfc_main$A,
15729
16269
  SituationModel,
15730
- SituationSingle: _sfc_main$w,
15731
- SituationSupportive: _sfc_main$u,
15732
- SituationTypeCollection: _sfc_main$t,
16270
+ SituationSingle: _sfc_main$z,
16271
+ SituationSupportive: _sfc_main$x,
16272
+ SituationTypeCollection: _sfc_main$w,
15733
16273
  SituationTypeModel,
15734
- SituationTypeSingle: _sfc_main$s,
15735
- SituationWork: _sfc_main$v,
15736
- StaffCollection: _sfc_main$B,
15737
- StaffIdentity: _sfc_main$y,
16274
+ SituationTypeSingle: _sfc_main$v,
16275
+ SituationWork: _sfc_main$y,
16276
+ StaffCollection: _sfc_main$E,
16277
+ StaffIdentity: _sfc_main$B,
15738
16278
  StaffModel,
15739
16279
  StaffOperasional,
15740
16280
  StaffSingle,
15741
16281
  SubmissionAudit,
15742
- SubmissionCollection: _sfc_main$n,
16282
+ SubmissionCollection: _sfc_main$q,
15743
16283
  SubmissionDecision,
15744
16284
  SubmissionFollowUp,
15745
16285
  SubmissionModel,
15746
16286
  SubmissionSingle,
15747
16287
  SubmissionStaff,
15748
- SubmissionTypeCollection: _sfc_main$g,
16288
+ SubmissionTypeCollection: _sfc_main$j,
15749
16289
  SubmissionTypeModel,
15750
16290
  SubmissionTypeSingle,
15751
16291
  SubmissionWaitingDecision,
15752
16292
  TargetBranch,
15753
- TargetCollection: _sfc_main$9,
16293
+ TargetCollection: _sfc_main$c,
15754
16294
  TargetModel,
15755
16295
  TargetSingle,
15756
- TaskCollection: _sfc_main$q,
16296
+ TaskCollection: _sfc_main$t,
15757
16297
  TaskModel,
15758
- TaskSingle: _sfc_main$p,
15759
- TaskWork: _sfc_main$o,
15760
- TaskWorkButton: _sfc_main$r,
15761
- XxxButton: _sfc_main$N
16298
+ TaskSingle: _sfc_main$s,
16299
+ TaskWork: _sfc_main$r,
16300
+ TaskWorkButton: _sfc_main$u,
16301
+ XxxButton: _sfc_main$Q
15762
16302
  }, Symbol.toStringTag, { value: "Module" }));
15763
16303
  function registerComponents(app) {
15764
16304
  Object.entries(components).forEach(([name, component]) => {
@@ -15775,70 +16315,73 @@ const OperasionalInterfacesPlugin = {
15775
16315
  };
15776
16316
  export {
15777
16317
  CheckInAccess,
15778
- _sfc_main$C as CheckInCollection,
16318
+ _sfc_main$F as CheckInCollection,
15779
16319
  CheckInExternal,
15780
16320
  CheckInModel,
15781
16321
  CheckInPresenceCollection,
15782
- _sfc_main$F as CheckInScanError,
15783
- _sfc_main$D as CheckInScanSuccess,
16322
+ _sfc_main$I as CheckInScanError,
16323
+ _sfc_main$G as CheckInScanSuccess,
15784
16324
  CheckInScanner,
15785
16325
  CheckInSingle,
15786
16326
  operasional_types as NOperasional,
15787
16327
  NeonTime,
15788
16328
  OperasionalIdentitas,
15789
16329
  OperasionalInterfacesPlugin,
15790
- _sfc_main$4 as PlanCollection,
16330
+ _sfc_main$7 as PlanCollection,
15791
16331
  PlanModel,
15792
16332
  PlanSingle,
15793
16333
  PlanStaff,
15794
- _sfc_main$6 as PlanTypeCollection,
16334
+ _sfc_main$9 as PlanTypeCollection,
15795
16335
  PlanTypeModel,
15796
16336
  PlanTypeSingle,
15797
- _sfc_main$1 as ProgressCollection,
16337
+ _sfc_main$4 as ProgressButton,
16338
+ _sfc_main$3 as ProgressCollection,
15798
16339
  ProgressModel,
15799
16340
  ProgressSingle,
15800
- _sfc_main$c as ResponsibilityCollection,
16341
+ ProgressTomorrow,
16342
+ ProgressYesterday,
16343
+ _sfc_main$f as ResponsibilityCollection,
15801
16344
  ResponsibilityModel,
15802
16345
  ResponsibilitySingle,
15803
16346
  ResponsibilityStaff,
15804
- _sfc_main$e as ResponsibilityTypeCollection,
16347
+ _sfc_main$h as ResponsibilityTypeCollection,
15805
16348
  ResponsibilityTypeModel,
15806
16349
  ResponsibilityTypeSingle,
15807
16350
  graphql as Schema,
15808
- _sfc_main$x as SituationCollection,
16351
+ _sfc_main$A as SituationCollection,
15809
16352
  SituationModel,
15810
- _sfc_main$w as SituationSingle,
15811
- _sfc_main$u as SituationSupportive,
15812
- _sfc_main$t as SituationTypeCollection,
16353
+ _sfc_main$z as SituationSingle,
16354
+ _sfc_main$x as SituationSupportive,
16355
+ _sfc_main$w as SituationTypeCollection,
15813
16356
  SituationTypeModel,
15814
- _sfc_main$s as SituationTypeSingle,
15815
- _sfc_main$v as SituationWork,
15816
- _sfc_main$B as StaffCollection,
15817
- _sfc_main$y as StaffIdentity,
16357
+ _sfc_main$v as SituationTypeSingle,
16358
+ _sfc_main$y as SituationWork,
16359
+ _sfc_main$E as StaffCollection,
16360
+ _sfc_main$B as StaffIdentity,
15818
16361
  StaffModel,
15819
16362
  StaffOperasional,
15820
16363
  StaffSingle,
15821
16364
  SubmissionAudit,
15822
- _sfc_main$n as SubmissionCollection,
16365
+ _sfc_main$q as SubmissionCollection,
15823
16366
  SubmissionDecision,
15824
16367
  SubmissionFollowUp,
15825
16368
  SubmissionModel,
15826
16369
  SubmissionSingle,
15827
16370
  SubmissionStaff,
15828
- _sfc_main$g as SubmissionTypeCollection,
16371
+ _sfc_main$j as SubmissionTypeCollection,
15829
16372
  SubmissionTypeModel,
15830
16373
  SubmissionTypeSingle,
15831
16374
  SubmissionWaitingDecision,
15832
16375
  TargetBranch,
15833
- _sfc_main$9 as TargetCollection,
16376
+ _sfc_main$c as TargetCollection,
15834
16377
  TargetModel,
15835
16378
  TargetSingle,
15836
- _sfc_main$q as TaskCollection,
16379
+ _sfc_main$t as TaskCollection,
15837
16380
  TaskModel,
15838
- _sfc_main$p as TaskSingle,
15839
- _sfc_main$o as TaskWork,
15840
- _sfc_main$r as TaskWorkButton,
15841
- _sfc_main$N as XxxButton,
16381
+ _sfc_main$s as TaskSingle,
16382
+ _sfc_main$r as TaskWork,
16383
+ _sfc_main$u as TaskWorkButton,
16384
+ _sfc_main$Q as XxxButton,
15842
16385
  bus,
15843
16386
  useAttendanceStore,
15844
16387
  useOperasional,