@neutron.co.id/operasional-interfaces 1.6.8 → 1.7.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
@@ -23,8 +23,8 @@ const component = require("@neon.id/utils/component");
23
23
  const Scanner = require("qr-scanner");
24
24
  const personaliaModels = require("@neutron.co.id/personalia-models");
25
25
  const catatInterfaces = require("@neon.id/catat-interfaces");
26
- const _hoisted_1$h = { class: "xxx-button" };
27
- const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
26
+ const _hoisted_1$k = { class: "xxx-button" };
27
+ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
28
28
  ...{ name: "XxxButton" },
29
29
  __name: "XxxButton",
30
30
  props: {
@@ -35,18 +35,18 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
35
35
  },
36
36
  setup(__props) {
37
37
  return (_ctx, _cache) => {
38
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$h, [
38
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$k, [
39
39
  vue.createVNode(vue.unref(interfaces.NeonButton), { label: "XXX" })
40
40
  ]);
41
41
  };
42
42
  }
43
43
  });
44
- const _hoisted_1$g = { class: "operasional-identitas" };
45
- const _hoisted_2$c = {
44
+ const _hoisted_1$j = { class: "operasional-identitas" };
45
+ const _hoisted_2$e = {
46
46
  key: 2,
47
47
  class: "section"
48
48
  };
49
- const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
49
+ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
50
50
  ...{ name: "OperasionalIdentitas" },
51
51
  __name: "OperasionalIdentitas",
52
52
  props: {
@@ -301,7 +301,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
301
301
  candidateId.value = null;
302
302
  }
303
303
  return (_ctx, _cache) => {
304
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$g, [
304
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$j, [
305
305
  state2.value === "connect" ? (vue.openBlock(), vue.createBlock(vue.unref(identitasInterfaces.IdentitasConnect), {
306
306
  key: 0,
307
307
  user: user.value,
@@ -353,7 +353,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
353
353
  _: 1
354
354
  /* STABLE */
355
355
  }, 8, ["initial-values", "is-loading", "errors"])) : vue.createCommentVNode("v-if", true),
356
- user.value && onDelegate ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$c, [
356
+ user.value && onDelegate ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$e, [
357
357
  vue.createVNode(vue.unref(interfaces.NeonDivider), {
358
358
  "is-dashed": "",
359
359
  label: "Delegasi",
@@ -402,7 +402,7 @@ const _export_sfc$1 = (sfc, props) => {
402
402
  }
403
403
  return target;
404
404
  };
405
- const OperasionalIdentitas = /* @__PURE__ */ _export_sfc$1(_sfc_main$M, [["__scopeId", "data-v-355c8370"]]);
405
+ const OperasionalIdentitas = /* @__PURE__ */ _export_sfc$1(_sfc_main$P, [["__scopeId", "data-v-355c8370"]]);
406
406
  var commonjsGlobal$1 = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
407
407
  function getDefaultExportFromCjs(x) {
408
408
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
@@ -8754,7 +8754,7 @@ const _sfc_main$1$1 = {
8754
8754
  }
8755
8755
  }
8756
8756
  };
8757
- const _hoisted_1$f = /* @__PURE__ */ vue.createElementVNode("div", null, [
8757
+ const _hoisted_1$i = /* @__PURE__ */ vue.createElementVNode("div", null, [
8758
8758
  /* @__PURE__ */ vue.createElementVNode("svg", {
8759
8759
  fill: "none",
8760
8760
  "stroke-linecap": "round",
@@ -8767,7 +8767,7 @@ const _hoisted_1$f = /* @__PURE__ */ vue.createElementVNode("div", null, [
8767
8767
  /* @__PURE__ */ vue.createElementVNode("path", { d: "M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z" })
8768
8768
  ])
8769
8769
  ], -1);
8770
- const _hoisted_2$b = { class: "vc-time-content" };
8770
+ const _hoisted_2$d = { class: "vc-time-content" };
8771
8771
  const _hoisted_3$6 = {
8772
8772
  key: 0,
8773
8773
  class: "vc-time-date"
@@ -8787,8 +8787,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
8787
8787
  return vue.openBlock(), vue.createElementBlock("div", {
8788
8788
  class: vue.normalizeClass(["vc-time-picker", [{ "vc-invalid": !$props.modelValue.isValid, "vc-bordered": $props.showBorder }]])
8789
8789
  }, [
8790
- _hoisted_1$f,
8791
- vue.createElementVNode("div", _hoisted_2$b, [
8790
+ _hoisted_1$i,
8791
+ vue.createElementVNode("div", _hoisted_2$d, [
8792
8792
  $options.date ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$6, [
8793
8793
  vue.createElementVNode("span", _hoisted_4$3, vue.toDisplayString($props.locale.format($options.date, "WWW")), 1),
8794
8794
  vue.createElementVNode("span", _hoisted_5$2, vue.toDisplayString($props.locale.format($options.date, "MMM")), 1),
@@ -8843,7 +8843,7 @@ const RANGE_PRIORITY = {
8843
8843
  END: 2,
8844
8844
  BOTH: 3
8845
8845
  };
8846
- const _sfc_main$L = {
8846
+ const _sfc_main$O = {
8847
8847
  name: "DatePicker",
8848
8848
  emits: [
8849
8849
  "update:modelValue",
@@ -9499,11 +9499,11 @@ const _sfc_main$L = {
9499
9499
  }
9500
9500
  };
9501
9501
  const _withScopeId$3 = (n) => (vue.pushScopeId("data-v-3cf0c9ae"), n = n(), vue.popScopeId(), n);
9502
- const _hoisted_1$e = {
9502
+ const _hoisted_1$h = {
9503
9503
  key: 0,
9504
9504
  class: "input-loading"
9505
9505
  };
9506
- const _hoisted_2$a = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ vue.createElementVNode(
9506
+ const _hoisted_2$c = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ vue.createElementVNode(
9507
9507
  "div",
9508
9508
  { class: "loading placeholder-block placeholder-wave" },
9509
9509
  null,
@@ -9511,9 +9511,9 @@ const _hoisted_2$a = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ vue.cr
9511
9511
  /* HOISTED */
9512
9512
  ));
9513
9513
  const _hoisted_3$5 = [
9514
- _hoisted_2$a
9514
+ _hoisted_2$c
9515
9515
  ];
9516
- const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
9516
+ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
9517
9517
  __name: "NeonTime",
9518
9518
  props: {
9519
9519
  modelValue: {
@@ -9550,7 +9550,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
9550
9550
  class: vue.normalizeClass(["neon-time", { "is-disabled": __props.isDisabled }])
9551
9551
  },
9552
9552
  [
9553
- __props.isLoading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$e, _hoisted_3$5)) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$L), vue.mergeProps({
9553
+ __props.isLoading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$h, _hoisted_3$5)) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$O), vue.mergeProps({
9554
9554
  key: 1,
9555
9555
  "model-value": internalValue.value
9556
9556
  }, {
@@ -9574,7 +9574,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
9574
9574
  });
9575
9575
  const NeonTime_vue_vue_type_style_index_0_scoped_3cf0c9ae_lang = "";
9576
9576
  const NeonTime_vue_vue_type_style_index_1_lang = "";
9577
- const NeonTime = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["__scopeId", "data-v-3cf0c9ae"]]);
9577
+ const NeonTime = /* @__PURE__ */ _export_sfc$1(_sfc_main$N, [["__scopeId", "data-v-3cf0c9ae"]]);
9578
9578
  const CheckInModel = tempatModels.models.CheckInModel;
9579
9579
  const useOperasionalStore = pinia.defineStore("neu:operasional", () => {
9580
9580
  const isLoading = vue.ref(false);
@@ -9716,8 +9716,8 @@ function mitt(n) {
9716
9716
  }
9717
9717
  const bus = mitt();
9718
9718
  const _withScopeId$2 = (n) => (vue.pushScopeId("data-v-94a55da5"), n = n(), vue.popScopeId(), n);
9719
- const _hoisted_1$d = { id: "view-checkIns" };
9720
- const _hoisted_2$9 = { class: "summary" };
9719
+ const _hoisted_1$g = { id: "view-checkIns" };
9720
+ const _hoisted_2$b = { class: "summary" };
9721
9721
  const _hoisted_3$4 = { class: "wrapper" };
9722
9722
  const _hoisted_4$2 = { class: "header" };
9723
9723
  const _hoisted_5$1 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.createElementVNode(
@@ -9731,7 +9731,7 @@ const _hoisted_5$1 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.cr
9731
9731
  /* HOISTED */
9732
9732
  ));
9733
9733
  const _hoisted_6 = { class: "end" };
9734
- const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
9734
+ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
9735
9735
  ...{
9736
9736
  name: "CheckInPresenceCollection"
9737
9737
  },
@@ -9872,14 +9872,14 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
9872
9872
  return (_ctx, _cache) => {
9873
9873
  const _component_CheckInSingleExternalView = vue.resolveComponent("CheckInSingleExternalView");
9874
9874
  const _component_CheckInCollection = vue.resolveComponent("CheckInCollection");
9875
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$d, [
9875
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$g, [
9876
9876
  vue.createVNode(vue.unref(office.OfficeContent), {
9877
9877
  icon: "barcode-read",
9878
9878
  title: "Presensi",
9879
9879
  "is-expanded": ""
9880
9880
  }, {
9881
9881
  "header-detail": vue.withCtx(() => [
9882
- vue.createElementVNode("div", _hoisted_2$9, [
9882
+ vue.createElementVNode("div", _hoisted_2$b, [
9883
9883
  vue.createVNode(vue.unref(interfaces.NeonSlider), {
9884
9884
  "per-view": 2,
9885
9885
  gap: 16,
@@ -10036,9 +10036,9 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
10036
10036
  }
10037
10037
  });
10038
10038
  const CheckInPresenceCollection_vue_vue_type_style_index_0_scoped_94a55da5_lang = "";
10039
- const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc$1(_sfc_main$J, [["__scopeId", "data-v-94a55da5"]]);
10040
- const _hoisted_1$c = { class: "grid gap-4 sm:grid-cols-2" };
10041
- const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
10039
+ const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc$1(_sfc_main$M, [["__scopeId", "data-v-94a55da5"]]);
10040
+ const _hoisted_1$f = { class: "grid gap-4 sm:grid-cols-2" };
10041
+ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
10042
10042
  __name: "CheckInSingle",
10043
10043
  setup(__props) {
10044
10044
  const {
@@ -10096,7 +10096,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
10096
10096
  field: vue.unref(fields).building,
10097
10097
  "is-disabled": ""
10098
10098
  }, null, 8, ["modelValue", "field"]),
10099
- vue.createElementVNode("div", _hoisted_1$c, [
10099
+ vue.createElementVNode("div", _hoisted_1$f, [
10100
10100
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
10101
10101
  modelValue: vue.unref(values).type,
10102
10102
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).type = $event)
@@ -10136,9 +10136,9 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
10136
10136
  }
10137
10137
  });
10138
10138
  const CheckInSingle_vue_vue_type_style_index_0_scoped_2e2803fb_lang = "";
10139
- const CheckInSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$I, [["__scopeId", "data-v-2e2803fb"]]);
10140
- const _hoisted_1$b = { class: "grid gap-4 sm:grid-cols-2" };
10141
- const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
10139
+ const CheckInSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$L, [["__scopeId", "data-v-2e2803fb"]]);
10140
+ const _hoisted_1$e = { class: "grid gap-4 sm:grid-cols-2" };
10141
+ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
10142
10142
  __name: "CheckInExternal",
10143
10143
  setup(__props) {
10144
10144
  const {
@@ -10204,7 +10204,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
10204
10204
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(values) ? values.value = $event : null),
10205
10205
  field: vue.unref(fields).building
10206
10206
  }, null, 8, ["modelValue", "field"])) : vue.createCommentVNode("v-if", true),
10207
- vue.createElementVNode("div", _hoisted_1$b, [
10207
+ vue.createElementVNode("div", _hoisted_1$e, [
10208
10208
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
10209
10209
  modelValue: vue.unref(values).type,
10210
10210
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).type = $event)
@@ -10246,16 +10246,16 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
10246
10246
  }
10247
10247
  });
10248
10248
  const CheckInExternal_vue_vue_type_style_index_0_scoped_9c4a435e_lang = "";
10249
- const CheckInExternal = /* @__PURE__ */ _export_sfc$1(_sfc_main$H, [["__scopeId", "data-v-9c4a435e"]]);
10249
+ const CheckInExternal = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["__scopeId", "data-v-9c4a435e"]]);
10250
10250
  const _withScopeId$1 = (n) => (vue.pushScopeId("data-v-d23b6de5"), n = n(), vue.popScopeId(), n);
10251
- const _hoisted_1$a = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode(
10251
+ const _hoisted_1$d = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode(
10252
10252
  "h4",
10253
10253
  { align: "center" },
10254
10254
  "Aktifkan kamera untuk scan QR Code",
10255
10255
  -1
10256
10256
  /* HOISTED */
10257
10257
  ));
10258
- const _hoisted_2$8 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode(
10258
+ const _hoisted_2$a = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode(
10259
10259
  "p",
10260
10260
  { align: "center" },
10261
10261
  [
@@ -10266,7 +10266,7 @@ const _hoisted_2$8 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.cr
10266
10266
  -1
10267
10267
  /* HOISTED */
10268
10268
  ));
10269
- const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
10269
+ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
10270
10270
  __name: "CheckInAccess",
10271
10271
  emits: ["close"],
10272
10272
  setup(__props) {
@@ -10291,8 +10291,8 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
10291
10291
  onClose: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
10292
10292
  }, {
10293
10293
  default: vue.withCtx(() => [
10294
- _hoisted_1$a,
10295
- _hoisted_2$8,
10294
+ _hoisted_1$d,
10295
+ _hoisted_2$a,
10296
10296
  vue.createVNode(vue.unref(interfaces.NeonButton), {
10297
10297
  "is-full": "",
10298
10298
  size: "md",
@@ -10319,9 +10319,9 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
10319
10319
  }
10320
10320
  });
10321
10321
  const CheckInAccess_vue_vue_type_style_index_0_scoped_d23b6de5_lang = "";
10322
- const CheckInAccess = /* @__PURE__ */ _export_sfc$1(_sfc_main$G, [["__scopeId", "data-v-d23b6de5"]]);
10323
- const _hoisted_1$9 = { class: "buttons" };
10324
- const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
10322
+ const CheckInAccess = /* @__PURE__ */ _export_sfc$1(_sfc_main$J, [["__scopeId", "data-v-d23b6de5"]]);
10323
+ const _hoisted_1$c = { class: "buttons" };
10324
+ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
10325
10325
  __name: "CheckInScanError",
10326
10326
  setup(__props) {
10327
10327
  const attendanceStore = useAttendanceStore();
@@ -10334,7 +10334,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
10334
10334
  default: vue.withCtx(() => [
10335
10335
  vue.createVNode(vue.unref(interfaces.NeonSheet), null, {
10336
10336
  footer: vue.withCtx(() => [
10337
- vue.createElementVNode("div", _hoisted_1$9, [
10337
+ vue.createElementVNode("div", _hoisted_1$c, [
10338
10338
  vue.createVNode(vue.unref(interfaces.NeonButton), {
10339
10339
  "is-full": "",
10340
10340
  "is-rounded": "",
@@ -10369,14 +10369,14 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
10369
10369
  }
10370
10370
  });
10371
10371
  const _withScopeId = (n) => (vue.pushScopeId("data-v-ef426ef3"), n = n(), vue.popScopeId(), n);
10372
- const _hoisted_1$8 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode(
10372
+ const _hoisted_1$b = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode(
10373
10373
  "div",
10374
10374
  { class: "invalid-message" },
10375
10375
  "Invalid Code!",
10376
10376
  -1
10377
10377
  /* HOISTED */
10378
10378
  ));
10379
- const _hoisted_2$7 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode(
10379
+ const _hoisted_2$9 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode(
10380
10380
  "div",
10381
10381
  null,
10382
10382
  null,
@@ -10385,7 +10385,7 @@ const _hoisted_2$7 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.crea
10385
10385
  ));
10386
10386
  const _hoisted_3$3 = ["onClick"];
10387
10387
  const _hoisted_4$1 = { class: "mr-2 text-sm" };
10388
- const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
10388
+ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
10389
10389
  __name: "CheckInScanner",
10390
10390
  emits: ["start", "stop", "scanned", "close"],
10391
10391
  setup(__props, { emit }) {
@@ -10530,8 +10530,8 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
10530
10530
  class: "inner",
10531
10531
  onClick: switchCamera
10532
10532
  }, [
10533
- _hoisted_1$8,
10534
- _hoisted_2$7,
10533
+ _hoisted_1$b,
10534
+ _hoisted_2$9,
10535
10535
  vue.createElementVNode("div", {
10536
10536
  class: "button-switch",
10537
10537
  onClick: vue.withModifiers(switchCamera, ["stop"])
@@ -10567,15 +10567,15 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
10567
10567
  }
10568
10568
  });
10569
10569
  const CheckInScanner_vue_vue_type_style_index_0_scoped_ef426ef3_lang = "";
10570
- const CheckInScanner = /* @__PURE__ */ _export_sfc$1(_sfc_main$E, [["__scopeId", "data-v-ef426ef3"]]);
10571
- const _hoisted_1$7 = /* @__PURE__ */ vue.createElementVNode(
10570
+ const CheckInScanner = /* @__PURE__ */ _export_sfc$1(_sfc_main$H, [["__scopeId", "data-v-ef426ef3"]]);
10571
+ const _hoisted_1$a = /* @__PURE__ */ vue.createElementVNode(
10572
10572
  "h3",
10573
10573
  { align: "center" },
10574
10574
  "Presensi Berhasil!",
10575
10575
  -1
10576
10576
  /* HOISTED */
10577
10577
  );
10578
- const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
10578
+ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
10579
10579
  __name: "CheckInScanSuccess",
10580
10580
  emits: ["close"],
10581
10581
  setup(__props) {
@@ -10595,7 +10595,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
10595
10595
  onClose: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
10596
10596
  }, {
10597
10597
  default: vue.withCtx(() => [
10598
- _hoisted_1$7
10598
+ _hoisted_1$a
10599
10599
  ]),
10600
10600
  _: 1
10601
10601
  /* STABLE */
@@ -10607,7 +10607,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
10607
10607
  };
10608
10608
  }
10609
10609
  });
10610
- const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
10610
+ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
10611
10611
  ...{
10612
10612
  name: "CheckInCollection"
10613
10613
  },
@@ -10626,7 +10626,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
10626
10626
  }
10627
10627
  });
10628
10628
  const StaffModel = personaliaModels.models.StaffModel;
10629
- const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
10629
+ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
10630
10630
  ...{
10631
10631
  name: "StaffCollection"
10632
10632
  },
@@ -10644,9 +10644,9 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
10644
10644
  };
10645
10645
  }
10646
10646
  });
10647
- const _hoisted_1$6 = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
10648
- const _hoisted_2$6 = { class: "grid gap-4 sm:grid-cols-2" };
10649
- const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
10647
+ const _hoisted_1$9 = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
10648
+ const _hoisted_2$8 = { class: "grid gap-4 sm:grid-cols-2" };
10649
+ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
10650
10650
  __name: "StaffSingle",
10651
10651
  setup(__props) {
10652
10652
  const {
@@ -10683,7 +10683,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
10683
10683
  onSubmit: vue.unref(saveOne)
10684
10684
  }, {
10685
10685
  default: vue.withCtx(() => [
10686
- vue.createElementVNode("div", _hoisted_1$6, [
10686
+ vue.createElementVNode("div", _hoisted_1$9, [
10687
10687
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
10688
10688
  modelValue: vue.unref(values).name,
10689
10689
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).name = $event)
@@ -10693,7 +10693,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
10693
10693
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).nik = $event)
10694
10694
  }, vue.unref(fields).nik), null, 16, ["modelValue"])
10695
10695
  ]),
10696
- vue.createElementVNode("div", _hoisted_2$6, [
10696
+ vue.createElementVNode("div", _hoisted_2$8, [
10697
10697
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
10698
10698
  modelValue: vue.unref(values).birthPlace,
10699
10699
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).birthPlace = $event)
@@ -10726,7 +10726,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
10726
10726
  title: "Identitas"
10727
10727
  }, {
10728
10728
  default: vue.withCtx(() => [
10729
- vue.createVNode(vue.unref(_sfc_main$y))
10729
+ vue.createVNode(vue.unref(_sfc_main$B))
10730
10730
  ]),
10731
10731
  _: 1
10732
10732
  /* STABLE */
@@ -10797,10 +10797,10 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
10797
10797
  }
10798
10798
  });
10799
10799
  const StaffSingle_vue_vue_type_style_index_0_scoped_0cf4cd99_lang = "";
10800
- const StaffSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$A, [["__scopeId", "data-v-0cf4cd99"]]);
10801
- const _hoisted_1$5 = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
10802
- const _hoisted_2$5 = { class: "grid gap-4 sm:grid-cols-2" };
10803
- const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
10800
+ const StaffSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$D, [["__scopeId", "data-v-0cf4cd99"]]);
10801
+ const _hoisted_1$8 = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
10802
+ const _hoisted_2$7 = { class: "grid gap-4 sm:grid-cols-2" };
10803
+ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
10804
10804
  __name: "StaffOperasional",
10805
10805
  setup(__props) {
10806
10806
  const {
@@ -10837,7 +10837,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
10837
10837
  onSubmit: vue.unref(saveOne)
10838
10838
  }, {
10839
10839
  default: vue.withCtx(() => [
10840
- vue.createElementVNode("div", _hoisted_1$5, [
10840
+ vue.createElementVNode("div", _hoisted_1$8, [
10841
10841
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
10842
10842
  modelValue: vue.unref(values).name,
10843
10843
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).name = $event)
@@ -10847,7 +10847,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
10847
10847
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).nik = $event)
10848
10848
  }, vue.unref(fields).nik), null, 16, ["modelValue"])
10849
10849
  ]),
10850
- vue.createElementVNode("div", _hoisted_2$5, [
10850
+ vue.createElementVNode("div", _hoisted_2$7, [
10851
10851
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
10852
10852
  modelValue: vue.unref(values).birthPlace,
10853
10853
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).birthPlace = $event)
@@ -10880,7 +10880,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
10880
10880
  title: "Identitas"
10881
10881
  }, {
10882
10882
  default: vue.withCtx(() => [
10883
- vue.createVNode(vue.unref(_sfc_main$y))
10883
+ vue.createVNode(vue.unref(_sfc_main$B))
10884
10884
  ]),
10885
10885
  _: 1
10886
10886
  /* STABLE */
@@ -10958,8 +10958,8 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
10958
10958
  }
10959
10959
  });
10960
10960
  const StaffOperasional_vue_vue_type_style_index_0_scoped_c62cf70a_lang = "";
10961
- const StaffOperasional = /* @__PURE__ */ _export_sfc$1(_sfc_main$z, [["__scopeId", "data-v-c62cf70a"]]);
10962
- const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
10961
+ const StaffOperasional = /* @__PURE__ */ _export_sfc$1(_sfc_main$C, [["__scopeId", "data-v-c62cf70a"]]);
10962
+ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
10963
10963
  __name: "StaffIdentity",
10964
10964
  setup(__props) {
10965
10965
  const { values, saveOne, executeOne, syncOne } = context.useSingle();
@@ -11115,7 +11115,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
11115
11115
  }
11116
11116
  });
11117
11117
  const SituationModel = personaliaModels.models.SituationModel;
11118
- const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
11118
+ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
11119
11119
  ...{ name: "SituationCollection" },
11120
11120
  __name: "SituationCollection",
11121
11121
  setup(__props) {
@@ -11131,7 +11131,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
11131
11131
  };
11132
11132
  }
11133
11133
  });
11134
- const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
11134
+ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
11135
11135
  __name: "SituationSingle",
11136
11136
  setup(__props) {
11137
11137
  const {
@@ -11269,7 +11269,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
11269
11269
  };
11270
11270
  }
11271
11271
  });
11272
- const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
11272
+ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
11273
11273
  __name: "SituationWork",
11274
11274
  setup(__props) {
11275
11275
  const {
@@ -11450,7 +11450,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
11450
11450
  };
11451
11451
  }
11452
11452
  });
11453
- const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
11453
+ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
11454
11454
  ...{ name: "SituationSupportive" },
11455
11455
  __name: "SituationSupportive",
11456
11456
  setup(__props) {
@@ -11589,7 +11589,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
11589
11589
  }
11590
11590
  });
11591
11591
  const SituationTypeModel = personaliaModels.models.SituationTypeModel;
11592
- const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
11592
+ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
11593
11593
  ...{ name: "SituationTypeCollection" },
11594
11594
  __name: "SituationTypeCollection",
11595
11595
  setup(__props) {
@@ -11605,7 +11605,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
11605
11605
  };
11606
11606
  }
11607
11607
  });
11608
- const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
11608
+ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
11609
11609
  __name: "SituationTypeSingle",
11610
11610
  setup(__props) {
11611
11611
  const {
@@ -11678,9 +11678,9 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
11678
11678
  }
11679
11679
  });
11680
11680
  const TaskModel = personaliaModels.models.TaskModel;
11681
- const _hoisted_1$4 = { key: 0 };
11682
- const _hoisted_2$4 = { key: 1 };
11683
- const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
11681
+ const _hoisted_1$7 = { key: 0 };
11682
+ const _hoisted_2$6 = { key: 1 };
11683
+ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
11684
11684
  ...{ name: "TaskWorkButton" },
11685
11685
  __name: "TaskWorkButton",
11686
11686
  setup(__props) {
@@ -11773,7 +11773,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
11773
11773
  vue.Fragment,
11774
11774
  null,
11775
11775
  [
11776
- onHandleTaskWork.value.onStartTaskWorking ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$4, [
11776
+ onHandleTaskWork.value.onStartTaskWorking ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$7, [
11777
11777
  vue.createVNode(vue.unref(interfaces.NeonButton), {
11778
11778
  "is-rounded": true,
11779
11779
  size: "sm",
@@ -11783,7 +11783,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
11783
11783
  onClick: onClickHandlerStartTaskWork
11784
11784
  })
11785
11785
  ])) : vue.createCommentVNode("v-if", true),
11786
- onHandleTaskWork.value.onFinishedTaskWorking ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$4, [
11786
+ onHandleTaskWork.value.onFinishedTaskWorking ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$6, [
11787
11787
  vue.createVNode(vue.unref(interfaces.NeonButton), {
11788
11788
  "is-rounded": true,
11789
11789
  size: "sm",
@@ -11801,7 +11801,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
11801
11801
  };
11802
11802
  }
11803
11803
  });
11804
- const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
11804
+ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
11805
11805
  ...{ name: "TaskCollection" },
11806
11806
  __name: "TaskCollection",
11807
11807
  setup(__props) {
@@ -11817,7 +11817,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
11817
11817
  };
11818
11818
  }
11819
11819
  });
11820
- const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
11820
+ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
11821
11821
  __name: "TaskSingle",
11822
11822
  setup(__props) {
11823
11823
  const {
@@ -12040,7 +12040,7 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
12040
12040
  };
12041
12041
  }
12042
12042
  });
12043
- const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
12043
+ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
12044
12044
  __name: "TaskWork",
12045
12045
  setup(__props) {
12046
12046
  const {
@@ -12263,7 +12263,7 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
12263
12263
  }
12264
12264
  });
12265
12265
  const SubmissionModel = personaliaModels.models.SubmissionModel;
12266
- const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
12266
+ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
12267
12267
  ...{
12268
12268
  name: "SubmissionCollection"
12269
12269
  },
@@ -12281,7 +12281,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
12281
12281
  };
12282
12282
  }
12283
12283
  });
12284
- const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
12284
+ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
12285
12285
  __name: "SubmissionSingle",
12286
12286
  setup(__props) {
12287
12287
  const {
@@ -12478,8 +12478,8 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
12478
12478
  }
12479
12479
  });
12480
12480
  const SubmissionSingle_vue_vue_type_style_index_0_scoped_39553dbd_lang = "";
12481
- const SubmissionSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$m, [["__scopeId", "data-v-39553dbd"]]);
12482
- const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
12481
+ const SubmissionSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$p, [["__scopeId", "data-v-39553dbd"]]);
12482
+ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
12483
12483
  __name: "SubmissionStaff",
12484
12484
  setup(__props) {
12485
12485
  var _a;
@@ -12751,8 +12751,8 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
12751
12751
  }
12752
12752
  });
12753
12753
  const SubmissionStaff_vue_vue_type_style_index_0_scoped_3ed905bd_lang = "";
12754
- const SubmissionStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$l, [["__scopeId", "data-v-3ed905bd"]]);
12755
- const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
12754
+ const SubmissionStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["__scopeId", "data-v-3ed905bd"]]);
12755
+ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
12756
12756
  __name: "SubmissionFollowUp",
12757
12757
  setup(__props) {
12758
12758
  const {
@@ -12943,13 +12943,13 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
12943
12943
  }
12944
12944
  });
12945
12945
  const SubmissionFollowUp_vue_vue_type_style_index_0_scoped_6fd14e52_lang = "";
12946
- const SubmissionFollowUp = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["__scopeId", "data-v-6fd14e52"]]);
12947
- const _hoisted_1$3 = { class: "flex flex-wrap" };
12948
- const _hoisted_2$3 = { class: "mt-2" };
12946
+ const SubmissionFollowUp = /* @__PURE__ */ _export_sfc$1(_sfc_main$n, [["__scopeId", "data-v-6fd14e52"]]);
12947
+ const _hoisted_1$6 = { class: "flex flex-wrap" };
12948
+ const _hoisted_2$5 = { class: "mt-2" };
12949
12949
  const _hoisted_3$2 = { class: "mt-2" };
12950
12950
  const _hoisted_4 = { class: "mt-2" };
12951
12951
  const _hoisted_5 = { class: "mt-2" };
12952
- const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
12952
+ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
12953
12953
  __name: "SubmissionAudit",
12954
12954
  setup(__props) {
12955
12955
  var _a;
@@ -13053,8 +13053,8 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
13053
13053
  onSubmit: vue.unref(saveOne)
13054
13054
  }, {
13055
13055
  default: vue.withCtx(() => [
13056
- vue.createElementVNode("div", _hoisted_1$3, [
13057
- vue.createElementVNode("div", _hoisted_2$3, [
13056
+ vue.createElementVNode("div", _hoisted_1$6, [
13057
+ vue.createElementVNode("div", _hoisted_2$5, [
13058
13058
  vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), { key: 0 }, {
13059
13059
  input: vue.withCtx(() => [
13060
13060
  vue.createVNode(vue.unref(interfaces.NeonButton), {
@@ -13146,7 +13146,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
13146
13146
  modelValue: vue.unref(values).title,
13147
13147
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).title = $event)
13148
13148
  }, vue.unref(fields).title, {
13149
- "is-disabled": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
13149
+ "is-disabled": vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
13150
13150
  }), null, 16, ["modelValue", "is-disabled"]),
13151
13151
  vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-2" }, {
13152
13152
  default: vue.withCtx(() => [
@@ -13155,14 +13155,14 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
13155
13155
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(values) ? values.value = $event : null),
13156
13156
  field: vue.unref(fields).branches,
13157
13157
  query: vue.unref(query.Query).define(branchOptions.value),
13158
- "is-disabled": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
13158
+ "is-disabled": vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
13159
13159
  }, null, 8, ["modelValue", "field", "query", "is-disabled"]),
13160
13160
  vue.createVNode(vue.unref(office.OfficeRelation), {
13161
13161
  modelValue: vue.unref(values),
13162
13162
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.isRef(values) ? values.value = $event : null),
13163
13163
  field: vue.unref(fields).type,
13164
13164
  query: vue.unref(query.Query).define(typeOptions.value),
13165
- "is-disabled": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
13165
+ "is-disabled": vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
13166
13166
  }, null, 8, ["modelValue", "field", "query", "is-disabled"])
13167
13167
  ]),
13168
13168
  _: 1
@@ -13174,13 +13174,13 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
13174
13174
  modelValue: vue.unref(values),
13175
13175
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
13176
13176
  field: vue.unref(fields).submissionStaffs,
13177
- "is-disabled": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
13177
+ "is-disabled": vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
13178
13178
  }, null, 8, ["modelValue", "field", "is-disabled"]),
13179
13179
  vue.createVNode(vue.unref(office.OfficeRelation), {
13180
13180
  modelValue: vue.unref(values),
13181
13181
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.isRef(values) ? values.value = $event : null),
13182
13182
  field: vue.unref(fields).raiseStaffs,
13183
- "is-disabled": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
13183
+ "is-disabled": vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
13184
13184
  }, null, 8, ["modelValue", "field", "is-disabled"])
13185
13185
  ]),
13186
13186
  _: 1
@@ -13192,7 +13192,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
13192
13192
  modelValue: vue.unref(values),
13193
13193
  "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.isRef(values) ? values.value = $event : null),
13194
13194
  field: vue.unref(fields).decideStaffs,
13195
- "is-disabled": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
13195
+ "is-disabled": vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
13196
13196
  }, null, 8, ["modelValue", "field", "is-disabled"]),
13197
13197
  vue.createVNode(vue.unref(office.OfficeRelation), {
13198
13198
  modelValue: vue.unref(values),
@@ -13207,7 +13207,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
13207
13207
  modelValue: vue.unref(values).specifications,
13208
13208
  "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).specifications = $event)
13209
13209
  }, vue.unref(fields).specifications, {
13210
- "is-disabled": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
13210
+ "is-disabled": vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
13211
13211
  }), null, 16, ["modelValue", "is-disabled"]),
13212
13212
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
13213
13213
  modelValue: vue.unref(values).preparedAt,
@@ -13229,7 +13229,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
13229
13229
  modelValue: vue.unref(values).nominal,
13230
13230
  "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => vue.unref(values).nominal = $event)
13231
13231
  }, vue.unref(fields).nominal, {
13232
- "is-disabled": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
13232
+ "is-disabled": vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
13233
13233
  }), null, 16, ["modelValue", "is-disabled"]),
13234
13234
  vue.createVNode(vue.unref(interfaces.NeonDivider), {
13235
13235
  "is-dashed": "",
@@ -13297,12 +13297,12 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
13297
13297
  };
13298
13298
  }
13299
13299
  });
13300
- const SubmissionAudit_vue_vue_type_style_index_0_scoped_da41fc59_lang = "";
13301
- const SubmissionAudit = /* @__PURE__ */ _export_sfc$1(_sfc_main$j, [["__scopeId", "data-v-da41fc59"]]);
13302
- const _hoisted_1$2 = { class: "flex flex-wrap" };
13303
- const _hoisted_2$2 = { class: "mt-2" };
13300
+ const SubmissionAudit_vue_vue_type_style_index_0_scoped_7ee6c6b9_lang = "";
13301
+ const SubmissionAudit = /* @__PURE__ */ _export_sfc$1(_sfc_main$m, [["__scopeId", "data-v-7ee6c6b9"]]);
13302
+ const _hoisted_1$5 = { class: "flex flex-wrap" };
13303
+ const _hoisted_2$4 = { class: "mt-2" };
13304
13304
  const _hoisted_3$1 = { class: "mt-2" };
13305
- const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
13305
+ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
13306
13306
  __name: "SubmissionDecision",
13307
13307
  setup(__props) {
13308
13308
  var _a;
@@ -13406,8 +13406,8 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
13406
13406
  onSubmit: vue.unref(saveOne)
13407
13407
  }, {
13408
13408
  default: vue.withCtx(() => [
13409
- vue.createElementVNode("div", _hoisted_1$2, [
13410
- vue.createElementVNode("div", _hoisted_2$2, [
13409
+ vue.createElementVNode("div", _hoisted_1$5, [
13410
+ vue.createElementVNode("div", _hoisted_2$4, [
13411
13411
  vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), { key: 0 }, {
13412
13412
  input: vue.withCtx(() => {
13413
13413
  var _a2, _b;
@@ -13613,11 +13613,11 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
13613
13613
  }
13614
13614
  });
13615
13615
  const SubmissionDecision_vue_vue_type_style_index_0_scoped_ec347ac5_lang = "";
13616
- const SubmissionDecision = /* @__PURE__ */ _export_sfc$1(_sfc_main$i, [["__scopeId", "data-v-ec347ac5"]]);
13617
- const _hoisted_1$1 = { class: "flex flex-wrap" };
13618
- const _hoisted_2$1 = { class: "mt-2" };
13616
+ const SubmissionDecision = /* @__PURE__ */ _export_sfc$1(_sfc_main$l, [["__scopeId", "data-v-ec347ac5"]]);
13617
+ const _hoisted_1$4 = { class: "flex flex-wrap" };
13618
+ const _hoisted_2$3 = { class: "mt-2" };
13619
13619
  const _hoisted_3 = { class: "mt-2" };
13620
- const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
13620
+ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
13621
13621
  __name: "SubmissionWaitingDecision",
13622
13622
  setup(__props) {
13623
13623
  var _a;
@@ -13723,8 +13723,8 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
13723
13723
  onSubmit: vue.unref(saveOne)
13724
13724
  }, {
13725
13725
  default: vue.withCtx(() => [
13726
- vue.createElementVNode("div", _hoisted_1$1, [
13727
- vue.createElementVNode("div", _hoisted_2$1, [
13726
+ vue.createElementVNode("div", _hoisted_1$4, [
13727
+ vue.createElementVNode("div", _hoisted_2$3, [
13728
13728
  vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), { key: 0 }, {
13729
13729
  input: vue.withCtx(() => {
13730
13730
  var _a2, _b;
@@ -13930,9 +13930,9 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
13930
13930
  }
13931
13931
  });
13932
13932
  const SubmissionWaitingDecision_vue_vue_type_style_index_0_scoped_051b2194_lang = "";
13933
- const SubmissionWaitingDecision = /* @__PURE__ */ _export_sfc$1(_sfc_main$h, [["__scopeId", "data-v-051b2194"]]);
13933
+ const SubmissionWaitingDecision = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["__scopeId", "data-v-051b2194"]]);
13934
13934
  const SubmissionTypeModel = personaliaModels.models.SubmissionTypeModel;
13935
- const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
13935
+ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
13936
13936
  ...{
13937
13937
  name: "SubmissionTypeCollection"
13938
13938
  },
@@ -13950,7 +13950,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
13950
13950
  };
13951
13951
  }
13952
13952
  });
13953
- const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
13953
+ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
13954
13954
  __name: "SubmissionTypeSingle",
13955
13955
  setup(__props) {
13956
13956
  const {
@@ -14016,9 +14016,9 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
14016
14016
  }
14017
14017
  });
14018
14018
  const SubmissionTypeSingle_vue_vue_type_style_index_0_scoped_2b7e18ba_lang = "";
14019
- const SubmissionTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$f, [["__scopeId", "data-v-2b7e18ba"]]);
14019
+ const SubmissionTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$i, [["__scopeId", "data-v-2b7e18ba"]]);
14020
14020
  const ResponsibilityTypeModel = personaliaModels.models.ResponsibilityTypeModel;
14021
- const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
14021
+ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
14022
14022
  ...{
14023
14023
  name: "ResponsibilityTypeCollection"
14024
14024
  },
@@ -14036,7 +14036,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
14036
14036
  };
14037
14037
  }
14038
14038
  });
14039
- const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
14039
+ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
14040
14040
  __name: "ResponsibilityTypeSingle",
14041
14041
  setup(__props) {
14042
14042
  const {
@@ -14102,9 +14102,9 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
14102
14102
  }
14103
14103
  });
14104
14104
  const ResponsibilityTypeSingle_vue_vue_type_style_index_0_scoped_3df9fac1_lang = "";
14105
- const ResponsibilityTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["__scopeId", "data-v-3df9fac1"]]);
14105
+ const ResponsibilityTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$g, [["__scopeId", "data-v-3df9fac1"]]);
14106
14106
  const ResponsibilityModel = personaliaModels.models.ResponsibilityModel;
14107
- const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
14107
+ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
14108
14108
  ...{
14109
14109
  name: "ResponsibilityCollection"
14110
14110
  },
@@ -14122,7 +14122,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
14122
14122
  };
14123
14123
  }
14124
14124
  });
14125
- const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
14125
+ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
14126
14126
  __name: "ResponsibilitySingle",
14127
14127
  setup(__props) {
14128
14128
  const {
@@ -14274,8 +14274,8 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
14274
14274
  }
14275
14275
  });
14276
14276
  const ResponsibilitySingle_vue_vue_type_style_index_0_scoped_4dd154b8_lang = "";
14277
- const ResponsibilitySingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$b, [["__scopeId", "data-v-4dd154b8"]]);
14278
- const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
14277
+ const ResponsibilitySingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$e, [["__scopeId", "data-v-4dd154b8"]]);
14278
+ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
14279
14279
  __name: "ResponsibilityStaff",
14280
14280
  setup(__props) {
14281
14281
  const {
@@ -14431,9 +14431,9 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
14431
14431
  }
14432
14432
  });
14433
14433
  const ResponsibilityStaff_vue_vue_type_style_index_0_scoped_62233bc2_lang = "";
14434
- const ResponsibilityStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$a, [["__scopeId", "data-v-62233bc2"]]);
14434
+ const ResponsibilityStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["__scopeId", "data-v-62233bc2"]]);
14435
14435
  const TargetModel = personaliaModels.models.TargetModel;
14436
- const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
14436
+ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
14437
14437
  ...{
14438
14438
  name: "TargetCollection"
14439
14439
  },
@@ -14451,7 +14451,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
14451
14451
  };
14452
14452
  }
14453
14453
  });
14454
- const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
14454
+ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
14455
14455
  __name: "TargetSingle",
14456
14456
  setup(__props) {
14457
14457
  const {
@@ -14604,8 +14604,8 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
14604
14604
  }
14605
14605
  });
14606
14606
  const TargetSingle_vue_vue_type_style_index_0_scoped_279e9805_lang = "";
14607
- const TargetSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$8, [["__scopeId", "data-v-279e9805"]]);
14608
- const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
14607
+ const TargetSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$b, [["__scopeId", "data-v-279e9805"]]);
14608
+ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
14609
14609
  __name: "TargetBranch",
14610
14610
  setup(__props) {
14611
14611
  const {
@@ -14758,9 +14758,9 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
14758
14758
  }
14759
14759
  });
14760
14760
  const TargetBranch_vue_vue_type_style_index_0_scoped_b06ddc2d_lang = "";
14761
- const TargetBranch = /* @__PURE__ */ _export_sfc$1(_sfc_main$7, [["__scopeId", "data-v-b06ddc2d"]]);
14761
+ const TargetBranch = /* @__PURE__ */ _export_sfc$1(_sfc_main$a, [["__scopeId", "data-v-b06ddc2d"]]);
14762
14762
  const PlanTypeModel = personaliaModels.models.PlanTypeModel;
14763
- const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
14763
+ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
14764
14764
  ...{
14765
14765
  name: "PlanTypeCollection"
14766
14766
  },
@@ -14778,7 +14778,7 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
14778
14778
  };
14779
14779
  }
14780
14780
  });
14781
- const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
14781
+ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
14782
14782
  __name: "PlanTypeSingle",
14783
14783
  setup(__props) {
14784
14784
  const {
@@ -14880,9 +14880,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
14880
14880
  sorts: ["createdAt", "updatedAt"],
14881
14881
  "initial-values": {
14882
14882
  planTypeIds: vue.unref(id),
14883
- planTypes: vue.unref(values),
14884
- staffIds: vue.unref(values).staffIds,
14885
- staffs: vue.unref(values).staffs
14883
+ planTypes: vue.unref(values)
14886
14884
  }
14887
14885
  }, null, 8, ["query", "is-ready", "initial-values"])
14888
14886
  ]),
@@ -14900,10 +14898,10 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
14900
14898
  };
14901
14899
  }
14902
14900
  });
14903
- const PlanTypeSingle_vue_vue_type_style_index_0_scoped_840b3340_lang = "";
14904
- const PlanTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$5, [["__scopeId", "data-v-840b3340"]]);
14901
+ const PlanTypeSingle_vue_vue_type_style_index_0_scoped_4fd687ad_lang = "";
14902
+ const PlanTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$8, [["__scopeId", "data-v-4fd687ad"]]);
14905
14903
  const PlanModel = personaliaModels.models.PlanModel;
14906
- const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
14904
+ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
14907
14905
  ...{
14908
14906
  name: "PlanCollection"
14909
14907
  },
@@ -14921,7 +14919,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
14921
14919
  };
14922
14920
  }
14923
14921
  });
14924
- const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
14922
+ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
14925
14923
  __name: "PlanSingle",
14926
14924
  setup(__props) {
14927
14925
  const {
@@ -14947,6 +14945,10 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
14947
14945
  if (values.value.domain === "education")
14948
14946
  values.value.stageIds = [];
14949
14947
  };
14948
+ const saveAndSyncOne = async () => {
14949
+ await saveOne();
14950
+ await syncOne();
14951
+ };
14950
14952
  return (_ctx, _cache) => {
14951
14953
  return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-plan-single" }, {
14952
14954
  default: vue.withCtx(() => [
@@ -14965,7 +14967,7 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
14965
14967
  "is-changed": vue.unref(isChanged),
14966
14968
  "use-unsaved": "",
14967
14969
  onCancel: vue.unref(discardChanges),
14968
- onSubmit: vue.unref(saveOne)
14970
+ onSubmit: saveAndSyncOne
14969
14971
  }, {
14970
14972
  default: vue.withCtx(() => [
14971
14973
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
@@ -15034,12 +15036,13 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
15034
15036
  vue.createVNode(vue.unref(office.OfficeRelation), {
15035
15037
  modelValue: vue.unref(values),
15036
15038
  "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.isRef(values) ? values.value = $event : null),
15037
- field: vue.unref(fields).staffs
15039
+ field: vue.unref(fields).staffs,
15040
+ "is-disabled": ""
15038
15041
  }, null, 8, ["modelValue", "field"])
15039
15042
  ]),
15040
15043
  _: 1
15041
15044
  /* STABLE */
15042
- }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
15045
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel"])
15043
15046
  ]),
15044
15047
  _: 1
15045
15048
  /* STABLE */
@@ -15091,9 +15094,9 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
15091
15094
  };
15092
15095
  }
15093
15096
  });
15094
- const PlanSingle_vue_vue_type_style_index_0_scoped_a653393a_lang = "";
15095
- const PlanSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["__scopeId", "data-v-a653393a"]]);
15096
- const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
15097
+ const PlanSingle_vue_vue_type_style_index_0_scoped_9ee52a12_lang = "";
15098
+ const PlanSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$6, [["__scopeId", "data-v-9ee52a12"]]);
15099
+ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
15097
15100
  __name: "PlanStaff",
15098
15101
  setup(__props) {
15099
15102
  const {
@@ -15107,7 +15110,8 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
15107
15110
  isMain,
15108
15111
  isNew,
15109
15112
  saveOne,
15110
- discardChanges
15113
+ discardChanges,
15114
+ syncOne
15111
15115
  } = context.useSingle();
15112
15116
  const onDomainUpdate = () => {
15113
15117
  if (values.value.domain === "operational") {
@@ -15117,6 +15121,10 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
15117
15121
  if (values.value.domain === "education")
15118
15122
  values.value.stageIds = [];
15119
15123
  };
15124
+ const saveAndSyncOne = async () => {
15125
+ await saveOne();
15126
+ await syncOne();
15127
+ };
15120
15128
  return (_ctx, _cache) => {
15121
15129
  return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-plan-single" }, {
15122
15130
  default: vue.withCtx(() => [
@@ -15135,7 +15143,7 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
15135
15143
  "is-changed": vue.unref(isChanged),
15136
15144
  "use-unsaved": "",
15137
15145
  onCancel: vue.unref(discardChanges),
15138
- onSubmit: vue.unref(saveOne)
15146
+ onSubmit: saveAndSyncOne
15139
15147
  }, {
15140
15148
  default: vue.withCtx(() => [
15141
15149
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
@@ -15223,47 +15231,11 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
15223
15231
  ]),
15224
15232
  _: 1
15225
15233
  /* STABLE */
15226
- }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
15227
- ]),
15228
- _: 1
15229
- /* STABLE */
15230
- }),
15231
- vue.createCommentVNode(" PROGRESS "),
15232
- !vue.unref(isNew) ? (vue.openBlock(), vue.createBlock(vue.unref(office.OfficeTab), {
15233
- key: 0,
15234
- handle: "progress",
15235
- icon: "info-circle",
15236
- title: "Progress"
15237
- }, {
15238
- default: vue.withCtx(() => [
15239
- vue.createVNode(vue.unref(office.OfficeCollectionRelated), {
15240
- definition: "neu:personalia:progress",
15241
- title: "Progress",
15242
- description: "Progress dari tanggungjawab.",
15243
- query: vue.unref(query.Query).define({
15244
- filter: [
15245
- {
15246
- planIds: vue.unref(id)
15247
- }
15248
- ],
15249
- sort: {
15250
- handle: "startedEst",
15251
- direction: "ascending"
15252
- }
15253
- }),
15254
- "is-ready": vue.unref(isReady),
15255
- columns: ["startedEst", "endedEst", "staff", "detail"],
15256
- sorts: ["startedEst", "startedEst", "createdAt", "updatedAt"],
15257
- filters: ["staff"],
15258
- "initial-values": {
15259
- planIds: vue.unref(id),
15260
- plans: vue.unref(values)
15261
- }
15262
- }, null, 8, ["query", "is-ready", "initial-values"])
15234
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel"])
15263
15235
  ]),
15264
15236
  _: 1
15265
15237
  /* STABLE */
15266
- })) : vue.createCommentVNode("v-if", true)
15238
+ })
15267
15239
  ]),
15268
15240
  _: 1
15269
15241
  /* STABLE */
@@ -15275,10 +15247,57 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
15275
15247
  };
15276
15248
  }
15277
15249
  });
15278
- const PlanStaff_vue_vue_type_style_index_0_scoped_e55e97e5_lang = "";
15279
- const PlanStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$2, [["__scopeId", "data-v-e55e97e5"]]);
15250
+ const PlanStaff_vue_vue_type_style_index_0_scoped_536f59ce_lang = "";
15251
+ const PlanStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$5, [["__scopeId", "data-v-536f59ce"]]);
15280
15252
  const ProgressModel = personaliaModels.models.ProgressModel;
15281
- const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
15253
+ const _hoisted_1$3 = { class: "flex flex-wrap" };
15254
+ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
15255
+ ...{ name: "ProgressButton" },
15256
+ __name: "ProgressButton",
15257
+ setup(__props) {
15258
+ const router = vueRouter.useRouter();
15259
+ const tomorrowClick = () => {
15260
+ router.push("/penugasan/tomorrow-progresses/new");
15261
+ };
15262
+ const todayClick = () => {
15263
+ router.push("/personalia/progresses/new");
15264
+ };
15265
+ const yesterdayClick = () => {
15266
+ router.push("/penugasan/yesterday-progresses/new");
15267
+ };
15268
+ return (_ctx, _cache) => {
15269
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$3, [
15270
+ vue.createVNode(vue.unref(interfaces.NeonButton), {
15271
+ "is-rounded": true,
15272
+ size: "sm",
15273
+ color: "dark",
15274
+ "icon-left": "plus",
15275
+ label: "Kemarin",
15276
+ onClick: yesterdayClick
15277
+ }),
15278
+ vue.createTextVNode("  "),
15279
+ vue.createVNode(vue.unref(interfaces.NeonButton), {
15280
+ "is-rounded": true,
15281
+ size: "sm",
15282
+ color: "dark",
15283
+ "icon-left": "plus",
15284
+ label: "Hari Ini",
15285
+ onClick: todayClick
15286
+ }),
15287
+ vue.createTextVNode("  "),
15288
+ vue.createVNode(vue.unref(interfaces.NeonButton), {
15289
+ "is-rounded": true,
15290
+ size: "sm",
15291
+ color: "dark",
15292
+ "icon-left": "plus",
15293
+ label: "Besok",
15294
+ onClick: tomorrowClick
15295
+ })
15296
+ ]);
15297
+ };
15298
+ }
15299
+ });
15300
+ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
15282
15301
  ...{
15283
15302
  name: "ProgressCollection"
15284
15303
  },
@@ -15479,9 +15498,9 @@ class DateUtil {
15479
15498
  return dayjs;
15480
15499
  }
15481
15500
  }
15482
- const _hoisted_1 = { class: "grid gap-2 sm:grid-cols-2" };
15483
- const _hoisted_2 = { class: "text-right text-fg-subdued text-sm" };
15484
- const _sfc_main = /* @__PURE__ */ vue.defineComponent({
15501
+ const _hoisted_1$2 = { class: "grid gap-2 sm:grid-cols-2" };
15502
+ const _hoisted_2$2 = { class: "text-right text-fg-subdued text-sm" };
15503
+ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
15485
15504
  __name: "ProgressSingle",
15486
15505
  setup(__props) {
15487
15506
  const {
@@ -15562,6 +15581,22 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
15562
15581
  immediate: true
15563
15582
  }
15564
15583
  );
15584
+ const submissionOptions = vue.computed(() => {
15585
+ return {
15586
+ filter: [
15587
+ {
15588
+ handle: "status",
15589
+ operator: "in",
15590
+ value: ["approved", "monitored"]
15591
+ },
15592
+ {
15593
+ handle: "followUpStaffIds",
15594
+ operator: "in",
15595
+ value: values.value.staffId
15596
+ }
15597
+ ]
15598
+ };
15599
+ });
15565
15600
  return (_ctx, _cache) => {
15566
15601
  return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-progress-single" }, {
15567
15602
  default: vue.withCtx(() => [
@@ -15605,7 +15640,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
15605
15640
  _: 1
15606
15641
  /* STABLE */
15607
15642
  }),
15608
- vue.createElementVNode("div", _hoisted_1, [
15643
+ vue.createElementVNode("div", _hoisted_1$2, [
15609
15644
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
15610
15645
  modelValue: vue.unref(values).startedEst,
15611
15646
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).startedEst = $event)
@@ -15646,7 +15681,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
15646
15681
  }, null, 8, ["modelValue", "is-loading"]),
15647
15682
  vue.createElementVNode(
15648
15683
  "div",
15649
- _hoisted_2,
15684
+ _hoisted_2$2,
15650
15685
  vue.toDisplayString(duration2.value),
15651
15686
  1
15652
15687
  /* TEXT */
@@ -15671,11 +15706,489 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
15671
15706
  field: vue.unref(fields).responsibilities,
15672
15707
  query: vue.unref(query.Query).define(responsibilityOptions.value)
15673
15708
  }, null, 8, ["modelValue", "field", "query"]),
15709
+ vue.createCommentVNode(' <OfficeRelation v-model="values" :field="fields.plans" /> '),
15674
15710
  vue.createVNode(vue.unref(office.OfficeRelation), {
15675
15711
  modelValue: vue.unref(values),
15676
15712
  "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.isRef(values) ? values.value = $event : null),
15677
- field: vue.unref(fields).plans
15678
- }, null, 8, ["modelValue", "field"])
15713
+ field: vue.unref(fields).submissions,
15714
+ query: vue.unref(query.Query).define(submissionOptions.value)
15715
+ }, null, 8, ["modelValue", "field", "query"])
15716
+ ]),
15717
+ _: 1
15718
+ /* STABLE */
15719
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
15720
+ ]),
15721
+ _: 1
15722
+ /* STABLE */
15723
+ })
15724
+ ]),
15725
+ _: 1
15726
+ /* STABLE */
15727
+ }, 8, ["use-url"])
15728
+ ]),
15729
+ _: 1
15730
+ /* STABLE */
15731
+ });
15732
+ };
15733
+ }
15734
+ });
15735
+ const ProgressSingle_vue_vue_type_style_index_0_scoped_4ef30da9_lang = "";
15736
+ const ProgressSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$2, [["__scopeId", "data-v-4ef30da9"]]);
15737
+ const _hoisted_1$1 = { class: "grid gap-2 sm:grid-cols-2" };
15738
+ const _hoisted_2$1 = { class: "text-right text-fg-subdued text-sm" };
15739
+ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
15740
+ __name: "ProgressTomorrow",
15741
+ setup(__props) {
15742
+ const {
15743
+ fields,
15744
+ id,
15745
+ initialValues,
15746
+ values,
15747
+ isLoading,
15748
+ isChanged,
15749
+ isReady,
15750
+ isMain,
15751
+ isNew,
15752
+ saveOne,
15753
+ discardChanges
15754
+ } = context.useSingle();
15755
+ const { staff } = useOperasional();
15756
+ const responsibilityOptions = vue.computed(() => {
15757
+ var _a, _b;
15758
+ return {
15759
+ filter: [
15760
+ {
15761
+ handle: "condition",
15762
+ operator: "eq",
15763
+ value: "active"
15764
+ },
15765
+ {
15766
+ $or: [
15767
+ {
15768
+ handle: "staffWorkIds",
15769
+ operator: "in",
15770
+ value: (_a = staff.value) == null ? void 0 : _a.id
15771
+ },
15772
+ {
15773
+ handle: "staffSuperviseIds",
15774
+ operator: "in",
15775
+ value: (_b = staff.value) == null ? void 0 : _b.id
15776
+ }
15777
+ ]
15778
+ }
15779
+ ]
15780
+ };
15781
+ });
15782
+ const key = vue.ref(0);
15783
+ const diff = vue.computed(() => {
15784
+ return DateUtil.day(values.value.endedEst).diff(values.value.startedEst);
15785
+ });
15786
+ const duration2 = vue.computed(() => {
15787
+ if (isNaN(diff.value))
15788
+ return "-";
15789
+ const duration22 = DateUtil.day.duration(diff.value);
15790
+ return duration22.format("HH [jam] mm [menit]");
15791
+ });
15792
+ function onStartedEstUpdate(date) {
15793
+ if (!date)
15794
+ return;
15795
+ const currentEndedendedEst = DateUtil.day(values.value.endedEst);
15796
+ let startedEst = DateUtil.day(date);
15797
+ let endedEst = DateUtil.day(date);
15798
+ startedEst = startedEst.second(0).millisecond(0);
15799
+ endedEst = endedEst.hour(currentEndedendedEst.hour()).minute(currentEndedendedEst.minute()).second(0).millisecond(0);
15800
+ values.value.startedEst = startedEst.toISOString();
15801
+ values.value.endedEst = endedEst.toISOString();
15802
+ }
15803
+ const sekarang = dayjs(/* @__PURE__ */ new Date());
15804
+ const besok = sekarang.add(1, "day");
15805
+ vue.watch(
15806
+ isNew,
15807
+ (isNew2) => {
15808
+ var _a;
15809
+ if (!isNew2)
15810
+ return;
15811
+ values.value.staffId = (_a = staff.value) == null ? void 0 : _a.id;
15812
+ values.value.staff = staff.value;
15813
+ values.value.startedEst = besok.second(0).millisecond(0).toISOString();
15814
+ values.value.endedEst = besok.add(90, "m").toISOString();
15815
+ },
15816
+ {
15817
+ immediate: true
15818
+ }
15819
+ );
15820
+ const submissionOptions = vue.computed(() => {
15821
+ return {
15822
+ filter: [
15823
+ {
15824
+ handle: "status",
15825
+ operator: "in",
15826
+ value: ["approved", "monitored"]
15827
+ },
15828
+ {
15829
+ handle: "followUpStaffIds",
15830
+ operator: "in",
15831
+ value: values.value.staffId
15832
+ }
15833
+ ]
15834
+ };
15835
+ });
15836
+ return (_ctx, _cache) => {
15837
+ return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-progress-single" }, {
15838
+ default: vue.withCtx(() => [
15839
+ vue.createVNode(vue.unref(office.OfficeTabs), { "use-url": vue.unref(isMain) }, {
15840
+ default: vue.withCtx(() => [
15841
+ vue.createVNode(vue.unref(office.OfficeTab), {
15842
+ handle: "info",
15843
+ icon: "circle-info",
15844
+ title: "Info"
15845
+ }, {
15846
+ default: vue.withCtx(() => [
15847
+ vue.createVNode(vue.unref(form.NeonForm), {
15848
+ handle: "info",
15849
+ "initial-values": vue.unref(initialValues),
15850
+ "is-loading": vue.unref(isLoading),
15851
+ "is-changed": vue.unref(isChanged),
15852
+ "use-unsaved": "",
15853
+ onCancel: vue.unref(discardChanges),
15854
+ onSubmit: vue.unref(saveOne)
15855
+ }, {
15856
+ default: vue.withCtx(() => [
15857
+ vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-2" }, {
15858
+ default: vue.withCtx(() => [
15859
+ (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
15860
+ key: key.value,
15861
+ "model-value": vue.unref(values).startedEst
15862
+ }, {
15863
+ handle: "startedEst",
15864
+ name: "Tanggal",
15865
+ type: "date",
15866
+ input: "date2",
15867
+ options: {
15868
+ note: "Tanggal progress."
15869
+ }
15870
+ }, { "onUpdate:modelValue": onStartedEstUpdate }), null, 16, ["model-value"])),
15871
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
15872
+ modelValue: vue.unref(values).detail,
15873
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).detail = $event)
15874
+ }, vue.unref(fields).detail), null, 16, ["modelValue"])
15875
+ ]),
15876
+ _: 1
15877
+ /* STABLE */
15878
+ }),
15879
+ vue.createElementVNode("div", _hoisted_1$1, [
15880
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
15881
+ modelValue: vue.unref(values).startedEst,
15882
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).startedEst = $event)
15883
+ }, {
15884
+ handle: "startedEst",
15885
+ name: "Mulai",
15886
+ options: {
15887
+ note: "Jam mulai."
15888
+ }
15889
+ }), {
15890
+ input: vue.withCtx(() => [
15891
+ vue.createVNode(vue.unref(NeonTime), {
15892
+ modelValue: vue.unref(values).startedEst,
15893
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).startedEst = $event),
15894
+ "is-loading": vue.unref(isLoading),
15895
+ class: "mt-2"
15896
+ }, null, 8, ["modelValue", "is-loading"])
15897
+ ]),
15898
+ _: 1
15899
+ /* STABLE */
15900
+ }, 16, ["modelValue"]),
15901
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
15902
+ modelValue: vue.unref(values).endedEst,
15903
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).endedEst = $event)
15904
+ }, {
15905
+ handle: "endedEst",
15906
+ name: "Selesai",
15907
+ options: {
15908
+ note: "Jam selesai."
15909
+ }
15910
+ }), {
15911
+ input: vue.withCtx(() => [
15912
+ vue.createVNode(vue.unref(NeonTime), {
15913
+ modelValue: vue.unref(values).endedEst,
15914
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.unref(values).endedEst = $event),
15915
+ "is-loading": vue.unref(isLoading),
15916
+ class: "mt-2"
15917
+ }, null, 8, ["modelValue", "is-loading"]),
15918
+ vue.createElementVNode(
15919
+ "div",
15920
+ _hoisted_2$1,
15921
+ vue.toDisplayString(duration2.value),
15922
+ 1
15923
+ /* TEXT */
15924
+ )
15925
+ ]),
15926
+ _: 1
15927
+ /* STABLE */
15928
+ }, 16, ["modelValue"])
15929
+ ]),
15930
+ vue.createVNode(vue.unref(office.OfficeRelation), {
15931
+ modelValue: vue.unref(values),
15932
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.isRef(values) ? values.value = $event : null),
15933
+ field: vue.unref(fields).staff
15934
+ }, null, 8, ["modelValue", "field"]),
15935
+ vue.createVNode(vue.unref(interfaces.NeonDivider), {
15936
+ "is-dashed": "",
15937
+ label: "Referensi"
15938
+ }),
15939
+ vue.createVNode(vue.unref(office.OfficeRelation), {
15940
+ modelValue: vue.unref(values),
15941
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.isRef(values) ? values.value = $event : null),
15942
+ field: vue.unref(fields).responsibilities,
15943
+ query: vue.unref(query.Query).define(responsibilityOptions.value)
15944
+ }, null, 8, ["modelValue", "field", "query"]),
15945
+ vue.createVNode(vue.unref(office.OfficeRelation), {
15946
+ modelValue: vue.unref(values),
15947
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.isRef(values) ? values.value = $event : null),
15948
+ field: vue.unref(fields).submissions,
15949
+ query: vue.unref(query.Query).define(submissionOptions.value)
15950
+ }, null, 8, ["modelValue", "field", "query"]),
15951
+ vue.createCommentVNode(' <OfficeRelation v-model="values" :field="fields.plans" /> ')
15952
+ ]),
15953
+ _: 1
15954
+ /* STABLE */
15955
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
15956
+ ]),
15957
+ _: 1
15958
+ /* STABLE */
15959
+ })
15960
+ ]),
15961
+ _: 1
15962
+ /* STABLE */
15963
+ }, 8, ["use-url"])
15964
+ ]),
15965
+ _: 1
15966
+ /* STABLE */
15967
+ });
15968
+ };
15969
+ }
15970
+ });
15971
+ const ProgressTomorrow_vue_vue_type_style_index_0_scoped_09ccf676_lang = "";
15972
+ const ProgressTomorrow = /* @__PURE__ */ _export_sfc$1(_sfc_main$1, [["__scopeId", "data-v-09ccf676"]]);
15973
+ const _hoisted_1 = { class: "grid gap-2 sm:grid-cols-2" };
15974
+ const _hoisted_2 = { class: "text-right text-fg-subdued text-sm" };
15975
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
15976
+ __name: "ProgressYesterday",
15977
+ setup(__props) {
15978
+ const {
15979
+ fields,
15980
+ id,
15981
+ initialValues,
15982
+ values,
15983
+ isLoading,
15984
+ isChanged,
15985
+ isReady,
15986
+ isMain,
15987
+ isNew,
15988
+ saveOne,
15989
+ discardChanges
15990
+ } = context.useSingle();
15991
+ const { staff } = useOperasional();
15992
+ const responsibilityOptions = vue.computed(() => {
15993
+ var _a, _b;
15994
+ return {
15995
+ filter: [
15996
+ {
15997
+ handle: "condition",
15998
+ operator: "eq",
15999
+ value: "active"
16000
+ },
16001
+ {
16002
+ $or: [
16003
+ {
16004
+ handle: "staffWorkIds",
16005
+ operator: "in",
16006
+ value: (_a = staff.value) == null ? void 0 : _a.id
16007
+ },
16008
+ {
16009
+ handle: "staffSuperviseIds",
16010
+ operator: "in",
16011
+ value: (_b = staff.value) == null ? void 0 : _b.id
16012
+ }
16013
+ ]
16014
+ }
16015
+ ]
16016
+ };
16017
+ });
16018
+ const key = vue.ref(0);
16019
+ const diff = vue.computed(() => {
16020
+ return DateUtil.day(values.value.endedEst).diff(values.value.startedEst);
16021
+ });
16022
+ const duration2 = vue.computed(() => {
16023
+ if (isNaN(diff.value))
16024
+ return "-";
16025
+ const duration22 = DateUtil.day.duration(diff.value);
16026
+ return duration22.format("HH [jam] mm [menit]");
16027
+ });
16028
+ function onStartedEstUpdate(date) {
16029
+ if (!date)
16030
+ return;
16031
+ const currentEndedendedEst = DateUtil.day(values.value.endedEst);
16032
+ let startedEst = DateUtil.day(date);
16033
+ let endedEst = DateUtil.day(date);
16034
+ startedEst = startedEst.second(0).millisecond(0);
16035
+ endedEst = endedEst.hour(currentEndedendedEst.hour()).minute(currentEndedendedEst.minute()).second(0).millisecond(0);
16036
+ values.value.startedEst = startedEst.toISOString();
16037
+ values.value.endedEst = endedEst.toISOString();
16038
+ }
16039
+ const sekarang = dayjs(/* @__PURE__ */ new Date());
16040
+ const besok = sekarang.add(-1, "day");
16041
+ vue.watch(
16042
+ isNew,
16043
+ (isNew2) => {
16044
+ var _a;
16045
+ if (!isNew2)
16046
+ return;
16047
+ values.value.staffId = (_a = staff.value) == null ? void 0 : _a.id;
16048
+ values.value.staff = staff.value;
16049
+ values.value.startedEst = besok.second(0).millisecond(0).toISOString();
16050
+ values.value.endedEst = besok.add(90, "m").toISOString();
16051
+ },
16052
+ {
16053
+ immediate: true
16054
+ }
16055
+ );
16056
+ const submissionOptions = vue.computed(() => {
16057
+ return {
16058
+ filter: [
16059
+ {
16060
+ handle: "status",
16061
+ operator: "in",
16062
+ value: ["approved", "monitored"]
16063
+ },
16064
+ {
16065
+ handle: "followUpStaffIds",
16066
+ operator: "in",
16067
+ value: values.value.staffId
16068
+ }
16069
+ ]
16070
+ };
16071
+ });
16072
+ return (_ctx, _cache) => {
16073
+ return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-progress-single" }, {
16074
+ default: vue.withCtx(() => [
16075
+ vue.createVNode(vue.unref(office.OfficeTabs), { "use-url": vue.unref(isMain) }, {
16076
+ default: vue.withCtx(() => [
16077
+ vue.createVNode(vue.unref(office.OfficeTab), {
16078
+ handle: "info",
16079
+ icon: "circle-info",
16080
+ title: "Info"
16081
+ }, {
16082
+ default: vue.withCtx(() => [
16083
+ vue.createVNode(vue.unref(form.NeonForm), {
16084
+ handle: "info",
16085
+ "initial-values": vue.unref(initialValues),
16086
+ "is-loading": vue.unref(isLoading),
16087
+ "is-changed": vue.unref(isChanged),
16088
+ "use-unsaved": "",
16089
+ onCancel: vue.unref(discardChanges),
16090
+ onSubmit: vue.unref(saveOne)
16091
+ }, {
16092
+ default: vue.withCtx(() => [
16093
+ vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-2" }, {
16094
+ default: vue.withCtx(() => [
16095
+ (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
16096
+ key: key.value,
16097
+ "model-value": vue.unref(values).startedEst
16098
+ }, {
16099
+ handle: "startedEst",
16100
+ name: "Tanggal",
16101
+ type: "date",
16102
+ input: "date2",
16103
+ options: {
16104
+ note: "Tanggal progress."
16105
+ }
16106
+ }, { "onUpdate:modelValue": onStartedEstUpdate }), null, 16, ["model-value"])),
16107
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
16108
+ modelValue: vue.unref(values).detail,
16109
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).detail = $event)
16110
+ }, vue.unref(fields).detail), null, 16, ["modelValue"])
16111
+ ]),
16112
+ _: 1
16113
+ /* STABLE */
16114
+ }),
16115
+ vue.createElementVNode("div", _hoisted_1, [
16116
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
16117
+ modelValue: vue.unref(values).startedEst,
16118
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).startedEst = $event)
16119
+ }, {
16120
+ handle: "startedEst",
16121
+ name: "Mulai",
16122
+ options: {
16123
+ note: "Jam mulai."
16124
+ }
16125
+ }), {
16126
+ input: vue.withCtx(() => [
16127
+ vue.createVNode(vue.unref(NeonTime), {
16128
+ modelValue: vue.unref(values).startedEst,
16129
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).startedEst = $event),
16130
+ "is-loading": vue.unref(isLoading),
16131
+ class: "mt-2"
16132
+ }, null, 8, ["modelValue", "is-loading"])
16133
+ ]),
16134
+ _: 1
16135
+ /* STABLE */
16136
+ }, 16, ["modelValue"]),
16137
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
16138
+ modelValue: vue.unref(values).endedEst,
16139
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).endedEst = $event)
16140
+ }, {
16141
+ handle: "endedEst",
16142
+ name: "Selesai",
16143
+ options: {
16144
+ note: "Jam selesai."
16145
+ }
16146
+ }), {
16147
+ input: vue.withCtx(() => [
16148
+ vue.createVNode(vue.unref(NeonTime), {
16149
+ modelValue: vue.unref(values).endedEst,
16150
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.unref(values).endedEst = $event),
16151
+ "is-loading": vue.unref(isLoading),
16152
+ class: "mt-2"
16153
+ }, null, 8, ["modelValue", "is-loading"]),
16154
+ vue.createElementVNode(
16155
+ "div",
16156
+ _hoisted_2,
16157
+ vue.toDisplayString(duration2.value),
16158
+ 1
16159
+ /* TEXT */
16160
+ )
16161
+ ]),
16162
+ _: 1
16163
+ /* STABLE */
16164
+ }, 16, ["modelValue"])
16165
+ ]),
16166
+ vue.createVNode(vue.unref(office.OfficeRelation), {
16167
+ modelValue: vue.unref(values),
16168
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.isRef(values) ? values.value = $event : null),
16169
+ field: vue.unref(fields).staff
16170
+ }, null, 8, ["modelValue", "field"]),
16171
+ vue.createVNode(vue.unref(interfaces.NeonDivider), {
16172
+ "is-dashed": "",
16173
+ label: "Referensi"
16174
+ }),
16175
+ vue.createVNode(vue.unref(office.OfficeRelation), {
16176
+ modelValue: vue.unref(values),
16177
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.isRef(values) ? values.value = $event : null),
16178
+ field: vue.unref(fields).responsibilities,
16179
+ query: vue.unref(query.Query).define(responsibilityOptions.value)
16180
+ }, null, 8, ["modelValue", "field", "query"]),
16181
+ vue.createVNode(vue.unref(office.OfficeRelation), {
16182
+ modelValue: vue.unref(values),
16183
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.isRef(values) ? values.value = $event : null),
16184
+ field: vue.unref(fields).plans
16185
+ }, null, 8, ["modelValue", "field"]),
16186
+ vue.createVNode(vue.unref(office.OfficeRelation), {
16187
+ modelValue: vue.unref(values),
16188
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.isRef(values) ? values.value = $event : null),
16189
+ field: vue.unref(fields).submissions,
16190
+ query: vue.unref(query.Query).define(submissionOptions.value)
16191
+ }, null, 8, ["modelValue", "field", "query"])
15679
16192
  ]),
15680
16193
  _: 1
15681
16194
  /* STABLE */
@@ -15695,72 +16208,75 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
15695
16208
  };
15696
16209
  }
15697
16210
  });
15698
- const ProgressSingle_vue_vue_type_style_index_0_scoped_cca6fb42_lang = "";
15699
- const ProgressSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["__scopeId", "data-v-cca6fb42"]]);
16211
+ const ProgressYesterday_vue_vue_type_style_index_0_scoped_ac62b6ea_lang = "";
16212
+ const ProgressYesterday = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["__scopeId", "data-v-ac62b6ea"]]);
15700
16213
  const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15701
16214
  __proto__: null,
15702
16215
  CheckInAccess,
15703
- CheckInCollection: _sfc_main$C,
16216
+ CheckInCollection: _sfc_main$F,
15704
16217
  CheckInExternal,
15705
16218
  CheckInModel,
15706
16219
  CheckInPresenceCollection,
15707
- CheckInScanError: _sfc_main$F,
15708
- CheckInScanSuccess: _sfc_main$D,
16220
+ CheckInScanError: _sfc_main$I,
16221
+ CheckInScanSuccess: _sfc_main$G,
15709
16222
  CheckInScanner,
15710
16223
  CheckInSingle,
15711
16224
  NeonTime,
15712
16225
  OperasionalIdentitas,
15713
- PlanCollection: _sfc_main$4,
16226
+ PlanCollection: _sfc_main$7,
15714
16227
  PlanModel,
15715
16228
  PlanSingle,
15716
16229
  PlanStaff,
15717
- PlanTypeCollection: _sfc_main$6,
16230
+ PlanTypeCollection: _sfc_main$9,
15718
16231
  PlanTypeModel,
15719
16232
  PlanTypeSingle,
15720
- ProgressCollection: _sfc_main$1,
16233
+ ProgressButton: _sfc_main$4,
16234
+ ProgressCollection: _sfc_main$3,
15721
16235
  ProgressModel,
15722
16236
  ProgressSingle,
15723
- ResponsibilityCollection: _sfc_main$c,
16237
+ ProgressTomorrow,
16238
+ ProgressYesterday,
16239
+ ResponsibilityCollection: _sfc_main$f,
15724
16240
  ResponsibilityModel,
15725
16241
  ResponsibilitySingle,
15726
16242
  ResponsibilityStaff,
15727
- ResponsibilityTypeCollection: _sfc_main$e,
16243
+ ResponsibilityTypeCollection: _sfc_main$h,
15728
16244
  ResponsibilityTypeModel,
15729
16245
  ResponsibilityTypeSingle,
15730
- SituationCollection: _sfc_main$x,
16246
+ SituationCollection: _sfc_main$A,
15731
16247
  SituationModel,
15732
- SituationSingle: _sfc_main$w,
15733
- SituationSupportive: _sfc_main$u,
15734
- SituationTypeCollection: _sfc_main$t,
16248
+ SituationSingle: _sfc_main$z,
16249
+ SituationSupportive: _sfc_main$x,
16250
+ SituationTypeCollection: _sfc_main$w,
15735
16251
  SituationTypeModel,
15736
- SituationTypeSingle: _sfc_main$s,
15737
- SituationWork: _sfc_main$v,
15738
- StaffCollection: _sfc_main$B,
15739
- StaffIdentity: _sfc_main$y,
16252
+ SituationTypeSingle: _sfc_main$v,
16253
+ SituationWork: _sfc_main$y,
16254
+ StaffCollection: _sfc_main$E,
16255
+ StaffIdentity: _sfc_main$B,
15740
16256
  StaffModel,
15741
16257
  StaffOperasional,
15742
16258
  StaffSingle,
15743
16259
  SubmissionAudit,
15744
- SubmissionCollection: _sfc_main$n,
16260
+ SubmissionCollection: _sfc_main$q,
15745
16261
  SubmissionDecision,
15746
16262
  SubmissionFollowUp,
15747
16263
  SubmissionModel,
15748
16264
  SubmissionSingle,
15749
16265
  SubmissionStaff,
15750
- SubmissionTypeCollection: _sfc_main$g,
16266
+ SubmissionTypeCollection: _sfc_main$j,
15751
16267
  SubmissionTypeModel,
15752
16268
  SubmissionTypeSingle,
15753
16269
  SubmissionWaitingDecision,
15754
16270
  TargetBranch,
15755
- TargetCollection: _sfc_main$9,
16271
+ TargetCollection: _sfc_main$c,
15756
16272
  TargetModel,
15757
16273
  TargetSingle,
15758
- TaskCollection: _sfc_main$q,
16274
+ TaskCollection: _sfc_main$t,
15759
16275
  TaskModel,
15760
- TaskSingle: _sfc_main$p,
15761
- TaskWork: _sfc_main$o,
15762
- TaskWorkButton: _sfc_main$r,
15763
- XxxButton: _sfc_main$N
16276
+ TaskSingle: _sfc_main$s,
16277
+ TaskWork: _sfc_main$r,
16278
+ TaskWorkButton: _sfc_main$u,
16279
+ XxxButton: _sfc_main$Q
15764
16280
  }, Symbol.toStringTag, { value: "Module" }));
15765
16281
  function registerComponents(app) {
15766
16282
  Object.entries(components).forEach(([name, component2]) => {
@@ -15776,70 +16292,73 @@ const OperasionalInterfacesPlugin = {
15776
16292
  }
15777
16293
  };
15778
16294
  exports.CheckInAccess = CheckInAccess;
15779
- exports.CheckInCollection = _sfc_main$C;
16295
+ exports.CheckInCollection = _sfc_main$F;
15780
16296
  exports.CheckInExternal = CheckInExternal;
15781
16297
  exports.CheckInModel = CheckInModel;
15782
16298
  exports.CheckInPresenceCollection = CheckInPresenceCollection;
15783
- exports.CheckInScanError = _sfc_main$F;
15784
- exports.CheckInScanSuccess = _sfc_main$D;
16299
+ exports.CheckInScanError = _sfc_main$I;
16300
+ exports.CheckInScanSuccess = _sfc_main$G;
15785
16301
  exports.CheckInScanner = CheckInScanner;
15786
16302
  exports.CheckInSingle = CheckInSingle;
15787
16303
  exports.NOperasional = operasional_types;
15788
16304
  exports.NeonTime = NeonTime;
15789
16305
  exports.OperasionalIdentitas = OperasionalIdentitas;
15790
16306
  exports.OperasionalInterfacesPlugin = OperasionalInterfacesPlugin;
15791
- exports.PlanCollection = _sfc_main$4;
16307
+ exports.PlanCollection = _sfc_main$7;
15792
16308
  exports.PlanModel = PlanModel;
15793
16309
  exports.PlanSingle = PlanSingle;
15794
16310
  exports.PlanStaff = PlanStaff;
15795
- exports.PlanTypeCollection = _sfc_main$6;
16311
+ exports.PlanTypeCollection = _sfc_main$9;
15796
16312
  exports.PlanTypeModel = PlanTypeModel;
15797
16313
  exports.PlanTypeSingle = PlanTypeSingle;
15798
- exports.ProgressCollection = _sfc_main$1;
16314
+ exports.ProgressButton = _sfc_main$4;
16315
+ exports.ProgressCollection = _sfc_main$3;
15799
16316
  exports.ProgressModel = ProgressModel;
15800
16317
  exports.ProgressSingle = ProgressSingle;
15801
- exports.ResponsibilityCollection = _sfc_main$c;
16318
+ exports.ProgressTomorrow = ProgressTomorrow;
16319
+ exports.ProgressYesterday = ProgressYesterday;
16320
+ exports.ResponsibilityCollection = _sfc_main$f;
15802
16321
  exports.ResponsibilityModel = ResponsibilityModel;
15803
16322
  exports.ResponsibilitySingle = ResponsibilitySingle;
15804
16323
  exports.ResponsibilityStaff = ResponsibilityStaff;
15805
- exports.ResponsibilityTypeCollection = _sfc_main$e;
16324
+ exports.ResponsibilityTypeCollection = _sfc_main$h;
15806
16325
  exports.ResponsibilityTypeModel = ResponsibilityTypeModel;
15807
16326
  exports.ResponsibilityTypeSingle = ResponsibilityTypeSingle;
15808
16327
  exports.Schema = graphql;
15809
- exports.SituationCollection = _sfc_main$x;
16328
+ exports.SituationCollection = _sfc_main$A;
15810
16329
  exports.SituationModel = SituationModel;
15811
- exports.SituationSingle = _sfc_main$w;
15812
- exports.SituationSupportive = _sfc_main$u;
15813
- exports.SituationTypeCollection = _sfc_main$t;
16330
+ exports.SituationSingle = _sfc_main$z;
16331
+ exports.SituationSupportive = _sfc_main$x;
16332
+ exports.SituationTypeCollection = _sfc_main$w;
15814
16333
  exports.SituationTypeModel = SituationTypeModel;
15815
- exports.SituationTypeSingle = _sfc_main$s;
15816
- exports.SituationWork = _sfc_main$v;
15817
- exports.StaffCollection = _sfc_main$B;
15818
- exports.StaffIdentity = _sfc_main$y;
16334
+ exports.SituationTypeSingle = _sfc_main$v;
16335
+ exports.SituationWork = _sfc_main$y;
16336
+ exports.StaffCollection = _sfc_main$E;
16337
+ exports.StaffIdentity = _sfc_main$B;
15819
16338
  exports.StaffModel = StaffModel;
15820
16339
  exports.StaffOperasional = StaffOperasional;
15821
16340
  exports.StaffSingle = StaffSingle;
15822
16341
  exports.SubmissionAudit = SubmissionAudit;
15823
- exports.SubmissionCollection = _sfc_main$n;
16342
+ exports.SubmissionCollection = _sfc_main$q;
15824
16343
  exports.SubmissionDecision = SubmissionDecision;
15825
16344
  exports.SubmissionFollowUp = SubmissionFollowUp;
15826
16345
  exports.SubmissionModel = SubmissionModel;
15827
16346
  exports.SubmissionSingle = SubmissionSingle;
15828
16347
  exports.SubmissionStaff = SubmissionStaff;
15829
- exports.SubmissionTypeCollection = _sfc_main$g;
16348
+ exports.SubmissionTypeCollection = _sfc_main$j;
15830
16349
  exports.SubmissionTypeModel = SubmissionTypeModel;
15831
16350
  exports.SubmissionTypeSingle = SubmissionTypeSingle;
15832
16351
  exports.SubmissionWaitingDecision = SubmissionWaitingDecision;
15833
16352
  exports.TargetBranch = TargetBranch;
15834
- exports.TargetCollection = _sfc_main$9;
16353
+ exports.TargetCollection = _sfc_main$c;
15835
16354
  exports.TargetModel = TargetModel;
15836
16355
  exports.TargetSingle = TargetSingle;
15837
- exports.TaskCollection = _sfc_main$q;
16356
+ exports.TaskCollection = _sfc_main$t;
15838
16357
  exports.TaskModel = TaskModel;
15839
- exports.TaskSingle = _sfc_main$p;
15840
- exports.TaskWork = _sfc_main$o;
15841
- exports.TaskWorkButton = _sfc_main$r;
15842
- exports.XxxButton = _sfc_main$N;
16358
+ exports.TaskSingle = _sfc_main$s;
16359
+ exports.TaskWork = _sfc_main$r;
16360
+ exports.TaskWorkButton = _sfc_main$u;
16361
+ exports.XxxButton = _sfc_main$Q;
15843
16362
  exports.bus = bus;
15844
16363
  exports.useAttendanceStore = useAttendanceStore;
15845
16364
  exports.useOperasional = useOperasional;