@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.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);
@@ -9715,9 +9715,9 @@ function mitt(n) {
9715
9715
  } };
9716
9716
  }
9717
9717
  const bus = mitt();
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" };
9718
+ const _withScopeId$2 = (n) => (vue.pushScopeId("data-v-932878ae"), n = n(), vue.popScopeId(), n);
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
  },
@@ -9807,6 +9807,10 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
9807
9807
  isAsking.value = true;
9808
9808
  type.value = "out";
9809
9809
  }
9810
+ function onPresenceCheckout(data2) {
9811
+ isAsking.value = true;
9812
+ type.value = "checkout";
9813
+ }
9810
9814
  async function onPresenceHome() {
9811
9815
  var _a;
9812
9816
  await checkInStaff(null, "home", (_a = staff.value) == null ? void 0 : _a.id);
@@ -9844,6 +9848,9 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
9844
9848
  if (type2 === "out") {
9845
9849
  isOut.value = true;
9846
9850
  }
9851
+ if (type2 === "checkout") {
9852
+ isOut.value = true;
9853
+ }
9847
9854
  toast.push({
9848
9855
  id: toastId,
9849
9856
  icon: "check",
@@ -9872,14 +9879,14 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
9872
9879
  return (_ctx, _cache) => {
9873
9880
  const _component_CheckInSingleExternalView = vue.resolveComponent("CheckInSingleExternalView");
9874
9881
  const _component_CheckInCollection = vue.resolveComponent("CheckInCollection");
9875
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$d, [
9882
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$g, [
9876
9883
  vue.createVNode(vue.unref(office.OfficeContent), {
9877
9884
  icon: "barcode-read",
9878
9885
  title: "Presensi",
9879
9886
  "is-expanded": ""
9880
9887
  }, {
9881
9888
  "header-detail": vue.withCtx(() => [
9882
- vue.createElementVNode("div", _hoisted_2$9, [
9889
+ vue.createElementVNode("div", _hoisted_2$b, [
9883
9890
  vue.createVNode(vue.unref(interfaces.NeonSlider), {
9884
9891
  "per-view": 2,
9885
9892
  gap: 16,
@@ -9960,6 +9967,23 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
9960
9967
  ]),
9961
9968
  _: 1
9962
9969
  /* STABLE */
9970
+ }),
9971
+ vue.createVNode(vue.unref(interfaces.NeonSlide), null, {
9972
+ default: vue.withCtx(() => [
9973
+ vue.createVNode(vue.unref(interfaces.NeonStat), {
9974
+ label: "Checkout",
9975
+ icon: "barcode-read",
9976
+ onClick: onPresenceCheckout
9977
+ }, {
9978
+ default: vue.withCtx(() => [
9979
+ vue.createTextVNode("Checkout")
9980
+ ]),
9981
+ _: 1
9982
+ /* STABLE */
9983
+ })
9984
+ ]),
9985
+ _: 1
9986
+ /* STABLE */
9963
9987
  })
9964
9988
  ]),
9965
9989
  _: 1
@@ -10035,10 +10059,10 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
10035
10059
  };
10036
10060
  }
10037
10061
  });
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({
10062
+ const CheckInPresenceCollection_vue_vue_type_style_index_0_scoped_932878ae_lang = "";
10063
+ const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc$1(_sfc_main$M, [["__scopeId", "data-v-932878ae"]]);
10064
+ const _hoisted_1$f = { class: "grid gap-4 sm:grid-cols-2" };
10065
+ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
10042
10066
  __name: "CheckInSingle",
10043
10067
  setup(__props) {
10044
10068
  const {
@@ -10096,7 +10120,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
10096
10120
  field: vue.unref(fields).building,
10097
10121
  "is-disabled": ""
10098
10122
  }, null, 8, ["modelValue", "field"]),
10099
- vue.createElementVNode("div", _hoisted_1$c, [
10123
+ vue.createElementVNode("div", _hoisted_1$f, [
10100
10124
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
10101
10125
  modelValue: vue.unref(values).type,
10102
10126
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).type = $event)
@@ -10136,9 +10160,9 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
10136
10160
  }
10137
10161
  });
10138
10162
  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({
10163
+ const CheckInSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$L, [["__scopeId", "data-v-2e2803fb"]]);
10164
+ const _hoisted_1$e = { class: "grid gap-4 sm:grid-cols-2" };
10165
+ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
10142
10166
  __name: "CheckInExternal",
10143
10167
  setup(__props) {
10144
10168
  const {
@@ -10198,13 +10222,13 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
10198
10222
  onSubmit: vue.unref(saveOne)
10199
10223
  }, {
10200
10224
  default: vue.withCtx(() => [
10201
- vue.unref(values).type === "in" || vue.unref(values).type === "out" ? (vue.openBlock(), vue.createBlock(vue.unref(office.OfficeRelation), {
10225
+ vue.unref(values).type === "in" || vue.unref(values).type === "out" || vue.unref(values).type === "checkout" ? (vue.openBlock(), vue.createBlock(vue.unref(office.OfficeRelation), {
10202
10226
  key: 0,
10203
10227
  modelValue: vue.unref(values),
10204
10228
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(values) ? values.value = $event : null),
10205
10229
  field: vue.unref(fields).building
10206
10230
  }, null, 8, ["modelValue", "field"])) : vue.createCommentVNode("v-if", true),
10207
- vue.createElementVNode("div", _hoisted_1$b, [
10231
+ vue.createElementVNode("div", _hoisted_1$e, [
10208
10232
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
10209
10233
  modelValue: vue.unref(values).type,
10210
10234
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).type = $event)
@@ -10245,17 +10269,17 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
10245
10269
  };
10246
10270
  }
10247
10271
  });
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"]]);
10272
+ const CheckInExternal_vue_vue_type_style_index_0_scoped_b8f07a39_lang = "";
10273
+ const CheckInExternal = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["__scopeId", "data-v-b8f07a39"]]);
10250
10274
  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(
10275
+ const _hoisted_1$d = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode(
10252
10276
  "h4",
10253
10277
  { align: "center" },
10254
10278
  "Aktifkan kamera untuk scan QR Code",
10255
10279
  -1
10256
10280
  /* HOISTED */
10257
10281
  ));
10258
- const _hoisted_2$8 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode(
10282
+ const _hoisted_2$a = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode(
10259
10283
  "p",
10260
10284
  { align: "center" },
10261
10285
  [
@@ -10266,7 +10290,7 @@ const _hoisted_2$8 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.cr
10266
10290
  -1
10267
10291
  /* HOISTED */
10268
10292
  ));
10269
- const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
10293
+ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
10270
10294
  __name: "CheckInAccess",
10271
10295
  emits: ["close"],
10272
10296
  setup(__props) {
@@ -10291,8 +10315,8 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
10291
10315
  onClose: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
10292
10316
  }, {
10293
10317
  default: vue.withCtx(() => [
10294
- _hoisted_1$a,
10295
- _hoisted_2$8,
10318
+ _hoisted_1$d,
10319
+ _hoisted_2$a,
10296
10320
  vue.createVNode(vue.unref(interfaces.NeonButton), {
10297
10321
  "is-full": "",
10298
10322
  size: "md",
@@ -10319,9 +10343,9 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
10319
10343
  }
10320
10344
  });
10321
10345
  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({
10346
+ const CheckInAccess = /* @__PURE__ */ _export_sfc$1(_sfc_main$J, [["__scopeId", "data-v-d23b6de5"]]);
10347
+ const _hoisted_1$c = { class: "buttons" };
10348
+ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
10325
10349
  __name: "CheckInScanError",
10326
10350
  setup(__props) {
10327
10351
  const attendanceStore = useAttendanceStore();
@@ -10334,7 +10358,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
10334
10358
  default: vue.withCtx(() => [
10335
10359
  vue.createVNode(vue.unref(interfaces.NeonSheet), null, {
10336
10360
  footer: vue.withCtx(() => [
10337
- vue.createElementVNode("div", _hoisted_1$9, [
10361
+ vue.createElementVNode("div", _hoisted_1$c, [
10338
10362
  vue.createVNode(vue.unref(interfaces.NeonButton), {
10339
10363
  "is-full": "",
10340
10364
  "is-rounded": "",
@@ -10369,14 +10393,14 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
10369
10393
  }
10370
10394
  });
10371
10395
  const _withScopeId = (n) => (vue.pushScopeId("data-v-ef426ef3"), n = n(), vue.popScopeId(), n);
10372
- const _hoisted_1$8 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode(
10396
+ const _hoisted_1$b = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode(
10373
10397
  "div",
10374
10398
  { class: "invalid-message" },
10375
10399
  "Invalid Code!",
10376
10400
  -1
10377
10401
  /* HOISTED */
10378
10402
  ));
10379
- const _hoisted_2$7 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode(
10403
+ const _hoisted_2$9 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode(
10380
10404
  "div",
10381
10405
  null,
10382
10406
  null,
@@ -10385,7 +10409,7 @@ const _hoisted_2$7 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.crea
10385
10409
  ));
10386
10410
  const _hoisted_3$3 = ["onClick"];
10387
10411
  const _hoisted_4$1 = { class: "mr-2 text-sm" };
10388
- const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
10412
+ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
10389
10413
  __name: "CheckInScanner",
10390
10414
  emits: ["start", "stop", "scanned", "close"],
10391
10415
  setup(__props, { emit }) {
@@ -10530,8 +10554,8 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
10530
10554
  class: "inner",
10531
10555
  onClick: switchCamera
10532
10556
  }, [
10533
- _hoisted_1$8,
10534
- _hoisted_2$7,
10557
+ _hoisted_1$b,
10558
+ _hoisted_2$9,
10535
10559
  vue.createElementVNode("div", {
10536
10560
  class: "button-switch",
10537
10561
  onClick: vue.withModifiers(switchCamera, ["stop"])
@@ -10567,15 +10591,15 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
10567
10591
  }
10568
10592
  });
10569
10593
  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(
10594
+ const CheckInScanner = /* @__PURE__ */ _export_sfc$1(_sfc_main$H, [["__scopeId", "data-v-ef426ef3"]]);
10595
+ const _hoisted_1$a = /* @__PURE__ */ vue.createElementVNode(
10572
10596
  "h3",
10573
10597
  { align: "center" },
10574
10598
  "Presensi Berhasil!",
10575
10599
  -1
10576
10600
  /* HOISTED */
10577
10601
  );
10578
- const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
10602
+ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
10579
10603
  __name: "CheckInScanSuccess",
10580
10604
  emits: ["close"],
10581
10605
  setup(__props) {
@@ -10595,7 +10619,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
10595
10619
  onClose: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
10596
10620
  }, {
10597
10621
  default: vue.withCtx(() => [
10598
- _hoisted_1$7
10622
+ _hoisted_1$a
10599
10623
  ]),
10600
10624
  _: 1
10601
10625
  /* STABLE */
@@ -10607,7 +10631,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
10607
10631
  };
10608
10632
  }
10609
10633
  });
10610
- const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
10634
+ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
10611
10635
  ...{
10612
10636
  name: "CheckInCollection"
10613
10637
  },
@@ -10626,7 +10650,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
10626
10650
  }
10627
10651
  });
10628
10652
  const StaffModel = personaliaModels.models.StaffModel;
10629
- const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
10653
+ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
10630
10654
  ...{
10631
10655
  name: "StaffCollection"
10632
10656
  },
@@ -10644,9 +10668,9 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
10644
10668
  };
10645
10669
  }
10646
10670
  });
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({
10671
+ const _hoisted_1$9 = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
10672
+ const _hoisted_2$8 = { class: "grid gap-4 sm:grid-cols-2" };
10673
+ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
10650
10674
  __name: "StaffSingle",
10651
10675
  setup(__props) {
10652
10676
  const {
@@ -10683,7 +10707,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
10683
10707
  onSubmit: vue.unref(saveOne)
10684
10708
  }, {
10685
10709
  default: vue.withCtx(() => [
10686
- vue.createElementVNode("div", _hoisted_1$6, [
10710
+ vue.createElementVNode("div", _hoisted_1$9, [
10687
10711
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
10688
10712
  modelValue: vue.unref(values).name,
10689
10713
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).name = $event)
@@ -10693,7 +10717,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
10693
10717
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).nik = $event)
10694
10718
  }, vue.unref(fields).nik), null, 16, ["modelValue"])
10695
10719
  ]),
10696
- vue.createElementVNode("div", _hoisted_2$6, [
10720
+ vue.createElementVNode("div", _hoisted_2$8, [
10697
10721
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
10698
10722
  modelValue: vue.unref(values).birthPlace,
10699
10723
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).birthPlace = $event)
@@ -10726,7 +10750,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
10726
10750
  title: "Identitas"
10727
10751
  }, {
10728
10752
  default: vue.withCtx(() => [
10729
- vue.createVNode(vue.unref(_sfc_main$y))
10753
+ vue.createVNode(vue.unref(_sfc_main$B))
10730
10754
  ]),
10731
10755
  _: 1
10732
10756
  /* STABLE */
@@ -10797,10 +10821,10 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
10797
10821
  }
10798
10822
  });
10799
10823
  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({
10824
+ const StaffSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$D, [["__scopeId", "data-v-0cf4cd99"]]);
10825
+ const _hoisted_1$8 = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
10826
+ const _hoisted_2$7 = { class: "grid gap-4 sm:grid-cols-2" };
10827
+ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
10804
10828
  __name: "StaffOperasional",
10805
10829
  setup(__props) {
10806
10830
  const {
@@ -10837,7 +10861,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
10837
10861
  onSubmit: vue.unref(saveOne)
10838
10862
  }, {
10839
10863
  default: vue.withCtx(() => [
10840
- vue.createElementVNode("div", _hoisted_1$5, [
10864
+ vue.createElementVNode("div", _hoisted_1$8, [
10841
10865
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
10842
10866
  modelValue: vue.unref(values).name,
10843
10867
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).name = $event)
@@ -10847,7 +10871,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
10847
10871
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).nik = $event)
10848
10872
  }, vue.unref(fields).nik), null, 16, ["modelValue"])
10849
10873
  ]),
10850
- vue.createElementVNode("div", _hoisted_2$5, [
10874
+ vue.createElementVNode("div", _hoisted_2$7, [
10851
10875
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
10852
10876
  modelValue: vue.unref(values).birthPlace,
10853
10877
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).birthPlace = $event)
@@ -10880,7 +10904,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
10880
10904
  title: "Identitas"
10881
10905
  }, {
10882
10906
  default: vue.withCtx(() => [
10883
- vue.createVNode(vue.unref(_sfc_main$y))
10907
+ vue.createVNode(vue.unref(_sfc_main$B))
10884
10908
  ]),
10885
10909
  _: 1
10886
10910
  /* STABLE */
@@ -10958,8 +10982,8 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
10958
10982
  }
10959
10983
  });
10960
10984
  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({
10985
+ const StaffOperasional = /* @__PURE__ */ _export_sfc$1(_sfc_main$C, [["__scopeId", "data-v-c62cf70a"]]);
10986
+ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
10963
10987
  __name: "StaffIdentity",
10964
10988
  setup(__props) {
10965
10989
  const { values, saveOne, executeOne, syncOne } = context.useSingle();
@@ -11115,7 +11139,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
11115
11139
  }
11116
11140
  });
11117
11141
  const SituationModel = personaliaModels.models.SituationModel;
11118
- const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
11142
+ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
11119
11143
  ...{ name: "SituationCollection" },
11120
11144
  __name: "SituationCollection",
11121
11145
  setup(__props) {
@@ -11131,7 +11155,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
11131
11155
  };
11132
11156
  }
11133
11157
  });
11134
- const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
11158
+ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
11135
11159
  __name: "SituationSingle",
11136
11160
  setup(__props) {
11137
11161
  const {
@@ -11269,7 +11293,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
11269
11293
  };
11270
11294
  }
11271
11295
  });
11272
- const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
11296
+ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
11273
11297
  __name: "SituationWork",
11274
11298
  setup(__props) {
11275
11299
  const {
@@ -11450,7 +11474,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
11450
11474
  };
11451
11475
  }
11452
11476
  });
11453
- const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
11477
+ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
11454
11478
  ...{ name: "SituationSupportive" },
11455
11479
  __name: "SituationSupportive",
11456
11480
  setup(__props) {
@@ -11589,7 +11613,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
11589
11613
  }
11590
11614
  });
11591
11615
  const SituationTypeModel = personaliaModels.models.SituationTypeModel;
11592
- const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
11616
+ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
11593
11617
  ...{ name: "SituationTypeCollection" },
11594
11618
  __name: "SituationTypeCollection",
11595
11619
  setup(__props) {
@@ -11605,7 +11629,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
11605
11629
  };
11606
11630
  }
11607
11631
  });
11608
- const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
11632
+ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
11609
11633
  __name: "SituationTypeSingle",
11610
11634
  setup(__props) {
11611
11635
  const {
@@ -11678,9 +11702,9 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
11678
11702
  }
11679
11703
  });
11680
11704
  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({
11705
+ const _hoisted_1$7 = { key: 0 };
11706
+ const _hoisted_2$6 = { key: 1 };
11707
+ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
11684
11708
  ...{ name: "TaskWorkButton" },
11685
11709
  __name: "TaskWorkButton",
11686
11710
  setup(__props) {
@@ -11773,7 +11797,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
11773
11797
  vue.Fragment,
11774
11798
  null,
11775
11799
  [
11776
- onHandleTaskWork.value.onStartTaskWorking ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$4, [
11800
+ onHandleTaskWork.value.onStartTaskWorking ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$7, [
11777
11801
  vue.createVNode(vue.unref(interfaces.NeonButton), {
11778
11802
  "is-rounded": true,
11779
11803
  size: "sm",
@@ -11783,7 +11807,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
11783
11807
  onClick: onClickHandlerStartTaskWork
11784
11808
  })
11785
11809
  ])) : vue.createCommentVNode("v-if", true),
11786
- onHandleTaskWork.value.onFinishedTaskWorking ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$4, [
11810
+ onHandleTaskWork.value.onFinishedTaskWorking ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$6, [
11787
11811
  vue.createVNode(vue.unref(interfaces.NeonButton), {
11788
11812
  "is-rounded": true,
11789
11813
  size: "sm",
@@ -11801,7 +11825,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
11801
11825
  };
11802
11826
  }
11803
11827
  });
11804
- const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
11828
+ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
11805
11829
  ...{ name: "TaskCollection" },
11806
11830
  __name: "TaskCollection",
11807
11831
  setup(__props) {
@@ -11817,7 +11841,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
11817
11841
  };
11818
11842
  }
11819
11843
  });
11820
- const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
11844
+ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
11821
11845
  __name: "TaskSingle",
11822
11846
  setup(__props) {
11823
11847
  const {
@@ -12040,7 +12064,7 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
12040
12064
  };
12041
12065
  }
12042
12066
  });
12043
- const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
12067
+ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
12044
12068
  __name: "TaskWork",
12045
12069
  setup(__props) {
12046
12070
  const {
@@ -12263,7 +12287,7 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
12263
12287
  }
12264
12288
  });
12265
12289
  const SubmissionModel = personaliaModels.models.SubmissionModel;
12266
- const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
12290
+ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
12267
12291
  ...{
12268
12292
  name: "SubmissionCollection"
12269
12293
  },
@@ -12281,7 +12305,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
12281
12305
  };
12282
12306
  }
12283
12307
  });
12284
- const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
12308
+ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
12285
12309
  __name: "SubmissionSingle",
12286
12310
  setup(__props) {
12287
12311
  const {
@@ -12478,8 +12502,8 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
12478
12502
  }
12479
12503
  });
12480
12504
  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({
12505
+ const SubmissionSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$p, [["__scopeId", "data-v-39553dbd"]]);
12506
+ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
12483
12507
  __name: "SubmissionStaff",
12484
12508
  setup(__props) {
12485
12509
  var _a;
@@ -12751,8 +12775,8 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
12751
12775
  }
12752
12776
  });
12753
12777
  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({
12778
+ const SubmissionStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["__scopeId", "data-v-3ed905bd"]]);
12779
+ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
12756
12780
  __name: "SubmissionFollowUp",
12757
12781
  setup(__props) {
12758
12782
  const {
@@ -12943,13 +12967,13 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
12943
12967
  }
12944
12968
  });
12945
12969
  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" };
12970
+ const SubmissionFollowUp = /* @__PURE__ */ _export_sfc$1(_sfc_main$n, [["__scopeId", "data-v-6fd14e52"]]);
12971
+ const _hoisted_1$6 = { class: "flex flex-wrap" };
12972
+ const _hoisted_2$5 = { class: "mt-2" };
12949
12973
  const _hoisted_3$2 = { class: "mt-2" };
12950
12974
  const _hoisted_4 = { class: "mt-2" };
12951
12975
  const _hoisted_5 = { class: "mt-2" };
12952
- const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
12976
+ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
12953
12977
  __name: "SubmissionAudit",
12954
12978
  setup(__props) {
12955
12979
  var _a;
@@ -13053,8 +13077,8 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
13053
13077
  onSubmit: vue.unref(saveOne)
13054
13078
  }, {
13055
13079
  default: vue.withCtx(() => [
13056
- vue.createElementVNode("div", _hoisted_1$3, [
13057
- vue.createElementVNode("div", _hoisted_2$3, [
13080
+ vue.createElementVNode("div", _hoisted_1$6, [
13081
+ vue.createElementVNode("div", _hoisted_2$5, [
13058
13082
  vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), { key: 0 }, {
13059
13083
  input: vue.withCtx(() => [
13060
13084
  vue.createVNode(vue.unref(interfaces.NeonButton), {
@@ -13146,7 +13170,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
13146
13170
  modelValue: vue.unref(values).title,
13147
13171
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).title = $event)
13148
13172
  }, 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"
13173
+ "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
13174
  }), null, 16, ["modelValue", "is-disabled"]),
13151
13175
  vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-2" }, {
13152
13176
  default: vue.withCtx(() => [
@@ -13155,14 +13179,14 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
13155
13179
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(values) ? values.value = $event : null),
13156
13180
  field: vue.unref(fields).branches,
13157
13181
  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"
13182
+ "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
13183
  }, null, 8, ["modelValue", "field", "query", "is-disabled"]),
13160
13184
  vue.createVNode(vue.unref(office.OfficeRelation), {
13161
13185
  modelValue: vue.unref(values),
13162
13186
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.isRef(values) ? values.value = $event : null),
13163
13187
  field: vue.unref(fields).type,
13164
13188
  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"
13189
+ "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
13190
  }, null, 8, ["modelValue", "field", "query", "is-disabled"])
13167
13191
  ]),
13168
13192
  _: 1
@@ -13174,13 +13198,13 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
13174
13198
  modelValue: vue.unref(values),
13175
13199
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
13176
13200
  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"
13201
+ "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
13202
  }, null, 8, ["modelValue", "field", "is-disabled"]),
13179
13203
  vue.createVNode(vue.unref(office.OfficeRelation), {
13180
13204
  modelValue: vue.unref(values),
13181
13205
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.isRef(values) ? values.value = $event : null),
13182
13206
  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"
13207
+ "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
13208
  }, null, 8, ["modelValue", "field", "is-disabled"])
13185
13209
  ]),
13186
13210
  _: 1
@@ -13192,7 +13216,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
13192
13216
  modelValue: vue.unref(values),
13193
13217
  "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.isRef(values) ? values.value = $event : null),
13194
13218
  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"
13219
+ "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
13220
  }, null, 8, ["modelValue", "field", "is-disabled"]),
13197
13221
  vue.createVNode(vue.unref(office.OfficeRelation), {
13198
13222
  modelValue: vue.unref(values),
@@ -13207,7 +13231,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
13207
13231
  modelValue: vue.unref(values).specifications,
13208
13232
  "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).specifications = $event)
13209
13233
  }, 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"
13234
+ "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
13235
  }), null, 16, ["modelValue", "is-disabled"]),
13212
13236
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
13213
13237
  modelValue: vue.unref(values).preparedAt,
@@ -13229,7 +13253,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
13229
13253
  modelValue: vue.unref(values).nominal,
13230
13254
  "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => vue.unref(values).nominal = $event)
13231
13255
  }, 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"
13256
+ "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
13257
  }), null, 16, ["modelValue", "is-disabled"]),
13234
13258
  vue.createVNode(vue.unref(interfaces.NeonDivider), {
13235
13259
  "is-dashed": "",
@@ -13297,12 +13321,12 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
13297
13321
  };
13298
13322
  }
13299
13323
  });
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" };
13324
+ const SubmissionAudit_vue_vue_type_style_index_0_scoped_7ee6c6b9_lang = "";
13325
+ const SubmissionAudit = /* @__PURE__ */ _export_sfc$1(_sfc_main$m, [["__scopeId", "data-v-7ee6c6b9"]]);
13326
+ const _hoisted_1$5 = { class: "flex flex-wrap" };
13327
+ const _hoisted_2$4 = { class: "mt-2" };
13304
13328
  const _hoisted_3$1 = { class: "mt-2" };
13305
- const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
13329
+ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
13306
13330
  __name: "SubmissionDecision",
13307
13331
  setup(__props) {
13308
13332
  var _a;
@@ -13406,8 +13430,8 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
13406
13430
  onSubmit: vue.unref(saveOne)
13407
13431
  }, {
13408
13432
  default: vue.withCtx(() => [
13409
- vue.createElementVNode("div", _hoisted_1$2, [
13410
- vue.createElementVNode("div", _hoisted_2$2, [
13433
+ vue.createElementVNode("div", _hoisted_1$5, [
13434
+ vue.createElementVNode("div", _hoisted_2$4, [
13411
13435
  vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), { key: 0 }, {
13412
13436
  input: vue.withCtx(() => {
13413
13437
  var _a2, _b;
@@ -13613,11 +13637,11 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
13613
13637
  }
13614
13638
  });
13615
13639
  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" };
13640
+ const SubmissionDecision = /* @__PURE__ */ _export_sfc$1(_sfc_main$l, [["__scopeId", "data-v-ec347ac5"]]);
13641
+ const _hoisted_1$4 = { class: "flex flex-wrap" };
13642
+ const _hoisted_2$3 = { class: "mt-2" };
13619
13643
  const _hoisted_3 = { class: "mt-2" };
13620
- const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
13644
+ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
13621
13645
  __name: "SubmissionWaitingDecision",
13622
13646
  setup(__props) {
13623
13647
  var _a;
@@ -13723,8 +13747,8 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
13723
13747
  onSubmit: vue.unref(saveOne)
13724
13748
  }, {
13725
13749
  default: vue.withCtx(() => [
13726
- vue.createElementVNode("div", _hoisted_1$1, [
13727
- vue.createElementVNode("div", _hoisted_2$1, [
13750
+ vue.createElementVNode("div", _hoisted_1$4, [
13751
+ vue.createElementVNode("div", _hoisted_2$3, [
13728
13752
  vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), { key: 0 }, {
13729
13753
  input: vue.withCtx(() => {
13730
13754
  var _a2, _b;
@@ -13930,9 +13954,9 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
13930
13954
  }
13931
13955
  });
13932
13956
  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"]]);
13957
+ const SubmissionWaitingDecision = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["__scopeId", "data-v-051b2194"]]);
13934
13958
  const SubmissionTypeModel = personaliaModels.models.SubmissionTypeModel;
13935
- const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
13959
+ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
13936
13960
  ...{
13937
13961
  name: "SubmissionTypeCollection"
13938
13962
  },
@@ -13950,7 +13974,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
13950
13974
  };
13951
13975
  }
13952
13976
  });
13953
- const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
13977
+ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
13954
13978
  __name: "SubmissionTypeSingle",
13955
13979
  setup(__props) {
13956
13980
  const {
@@ -14016,9 +14040,9 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
14016
14040
  }
14017
14041
  });
14018
14042
  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"]]);
14043
+ const SubmissionTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$i, [["__scopeId", "data-v-2b7e18ba"]]);
14020
14044
  const ResponsibilityTypeModel = personaliaModels.models.ResponsibilityTypeModel;
14021
- const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
14045
+ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
14022
14046
  ...{
14023
14047
  name: "ResponsibilityTypeCollection"
14024
14048
  },
@@ -14036,7 +14060,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
14036
14060
  };
14037
14061
  }
14038
14062
  });
14039
- const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
14063
+ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
14040
14064
  __name: "ResponsibilityTypeSingle",
14041
14065
  setup(__props) {
14042
14066
  const {
@@ -14102,9 +14126,9 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
14102
14126
  }
14103
14127
  });
14104
14128
  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"]]);
14129
+ const ResponsibilityTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$g, [["__scopeId", "data-v-3df9fac1"]]);
14106
14130
  const ResponsibilityModel = personaliaModels.models.ResponsibilityModel;
14107
- const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
14131
+ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
14108
14132
  ...{
14109
14133
  name: "ResponsibilityCollection"
14110
14134
  },
@@ -14122,7 +14146,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
14122
14146
  };
14123
14147
  }
14124
14148
  });
14125
- const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
14149
+ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
14126
14150
  __name: "ResponsibilitySingle",
14127
14151
  setup(__props) {
14128
14152
  const {
@@ -14274,8 +14298,8 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
14274
14298
  }
14275
14299
  });
14276
14300
  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({
14301
+ const ResponsibilitySingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$e, [["__scopeId", "data-v-4dd154b8"]]);
14302
+ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
14279
14303
  __name: "ResponsibilityStaff",
14280
14304
  setup(__props) {
14281
14305
  const {
@@ -14431,9 +14455,9 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
14431
14455
  }
14432
14456
  });
14433
14457
  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"]]);
14458
+ const ResponsibilityStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["__scopeId", "data-v-62233bc2"]]);
14435
14459
  const TargetModel = personaliaModels.models.TargetModel;
14436
- const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
14460
+ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
14437
14461
  ...{
14438
14462
  name: "TargetCollection"
14439
14463
  },
@@ -14451,7 +14475,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
14451
14475
  };
14452
14476
  }
14453
14477
  });
14454
- const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
14478
+ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
14455
14479
  __name: "TargetSingle",
14456
14480
  setup(__props) {
14457
14481
  const {
@@ -14604,8 +14628,8 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
14604
14628
  }
14605
14629
  });
14606
14630
  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({
14631
+ const TargetSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$b, [["__scopeId", "data-v-279e9805"]]);
14632
+ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
14609
14633
  __name: "TargetBranch",
14610
14634
  setup(__props) {
14611
14635
  const {
@@ -14758,9 +14782,9 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
14758
14782
  }
14759
14783
  });
14760
14784
  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"]]);
14785
+ const TargetBranch = /* @__PURE__ */ _export_sfc$1(_sfc_main$a, [["__scopeId", "data-v-b06ddc2d"]]);
14762
14786
  const PlanTypeModel = personaliaModels.models.PlanTypeModel;
14763
- const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
14787
+ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
14764
14788
  ...{
14765
14789
  name: "PlanTypeCollection"
14766
14790
  },
@@ -14778,7 +14802,7 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
14778
14802
  };
14779
14803
  }
14780
14804
  });
14781
- const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
14805
+ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
14782
14806
  __name: "PlanTypeSingle",
14783
14807
  setup(__props) {
14784
14808
  const {
@@ -14880,9 +14904,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
14880
14904
  sorts: ["createdAt", "updatedAt"],
14881
14905
  "initial-values": {
14882
14906
  planTypeIds: vue.unref(id),
14883
- planTypes: vue.unref(values),
14884
- staffIds: vue.unref(values).staffIds,
14885
- staffs: vue.unref(values).staffs
14907
+ planTypes: vue.unref(values)
14886
14908
  }
14887
14909
  }, null, 8, ["query", "is-ready", "initial-values"])
14888
14910
  ]),
@@ -14900,10 +14922,10 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
14900
14922
  };
14901
14923
  }
14902
14924
  });
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"]]);
14925
+ const PlanTypeSingle_vue_vue_type_style_index_0_scoped_4fd687ad_lang = "";
14926
+ const PlanTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$8, [["__scopeId", "data-v-4fd687ad"]]);
14905
14927
  const PlanModel = personaliaModels.models.PlanModel;
14906
- const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
14928
+ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
14907
14929
  ...{
14908
14930
  name: "PlanCollection"
14909
14931
  },
@@ -14921,7 +14943,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
14921
14943
  };
14922
14944
  }
14923
14945
  });
14924
- const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
14946
+ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
14925
14947
  __name: "PlanSingle",
14926
14948
  setup(__props) {
14927
14949
  const {
@@ -14947,6 +14969,10 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
14947
14969
  if (values.value.domain === "education")
14948
14970
  values.value.stageIds = [];
14949
14971
  };
14972
+ const saveAndSyncOne = async () => {
14973
+ await saveOne();
14974
+ await syncOne();
14975
+ };
14950
14976
  return (_ctx, _cache) => {
14951
14977
  return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-plan-single" }, {
14952
14978
  default: vue.withCtx(() => [
@@ -14965,7 +14991,7 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
14965
14991
  "is-changed": vue.unref(isChanged),
14966
14992
  "use-unsaved": "",
14967
14993
  onCancel: vue.unref(discardChanges),
14968
- onSubmit: vue.unref(saveOne)
14994
+ onSubmit: saveAndSyncOne
14969
14995
  }, {
14970
14996
  default: vue.withCtx(() => [
14971
14997
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
@@ -15034,12 +15060,13 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
15034
15060
  vue.createVNode(vue.unref(office.OfficeRelation), {
15035
15061
  modelValue: vue.unref(values),
15036
15062
  "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.isRef(values) ? values.value = $event : null),
15037
- field: vue.unref(fields).staffs
15063
+ field: vue.unref(fields).staffs,
15064
+ "is-disabled": ""
15038
15065
  }, null, 8, ["modelValue", "field"])
15039
15066
  ]),
15040
15067
  _: 1
15041
15068
  /* STABLE */
15042
- }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
15069
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel"])
15043
15070
  ]),
15044
15071
  _: 1
15045
15072
  /* STABLE */
@@ -15091,9 +15118,9 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
15091
15118
  };
15092
15119
  }
15093
15120
  });
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({
15121
+ const PlanSingle_vue_vue_type_style_index_0_scoped_9ee52a12_lang = "";
15122
+ const PlanSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$6, [["__scopeId", "data-v-9ee52a12"]]);
15123
+ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
15097
15124
  __name: "PlanStaff",
15098
15125
  setup(__props) {
15099
15126
  const {
@@ -15107,7 +15134,8 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
15107
15134
  isMain,
15108
15135
  isNew,
15109
15136
  saveOne,
15110
- discardChanges
15137
+ discardChanges,
15138
+ syncOne
15111
15139
  } = context.useSingle();
15112
15140
  const onDomainUpdate = () => {
15113
15141
  if (values.value.domain === "operational") {
@@ -15117,6 +15145,10 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
15117
15145
  if (values.value.domain === "education")
15118
15146
  values.value.stageIds = [];
15119
15147
  };
15148
+ const saveAndSyncOne = async () => {
15149
+ await saveOne();
15150
+ await syncOne();
15151
+ };
15120
15152
  return (_ctx, _cache) => {
15121
15153
  return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-plan-single" }, {
15122
15154
  default: vue.withCtx(() => [
@@ -15135,7 +15167,7 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
15135
15167
  "is-changed": vue.unref(isChanged),
15136
15168
  "use-unsaved": "",
15137
15169
  onCancel: vue.unref(discardChanges),
15138
- onSubmit: vue.unref(saveOne)
15170
+ onSubmit: saveAndSyncOne
15139
15171
  }, {
15140
15172
  default: vue.withCtx(() => [
15141
15173
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
@@ -15223,47 +15255,11 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
15223
15255
  ]),
15224
15256
  _: 1
15225
15257
  /* 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"])
15258
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel"])
15263
15259
  ]),
15264
15260
  _: 1
15265
15261
  /* STABLE */
15266
- })) : vue.createCommentVNode("v-if", true)
15262
+ })
15267
15263
  ]),
15268
15264
  _: 1
15269
15265
  /* STABLE */
@@ -15275,10 +15271,57 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
15275
15271
  };
15276
15272
  }
15277
15273
  });
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"]]);
15274
+ const PlanStaff_vue_vue_type_style_index_0_scoped_536f59ce_lang = "";
15275
+ const PlanStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$5, [["__scopeId", "data-v-536f59ce"]]);
15280
15276
  const ProgressModel = personaliaModels.models.ProgressModel;
15281
- const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
15277
+ const _hoisted_1$3 = { class: "flex flex-wrap" };
15278
+ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
15279
+ ...{ name: "ProgressButton" },
15280
+ __name: "ProgressButton",
15281
+ setup(__props) {
15282
+ const router = vueRouter.useRouter();
15283
+ const tomorrowClick = () => {
15284
+ router.push("/penugasan/tomorrow-progresses/new");
15285
+ };
15286
+ const todayClick = () => {
15287
+ router.push("/personalia/progresses/new");
15288
+ };
15289
+ const yesterdayClick = () => {
15290
+ router.push("/penugasan/yesterday-progresses/new");
15291
+ };
15292
+ return (_ctx, _cache) => {
15293
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$3, [
15294
+ vue.createVNode(vue.unref(interfaces.NeonButton), {
15295
+ "is-rounded": true,
15296
+ size: "sm",
15297
+ color: "dark",
15298
+ "icon-left": "plus",
15299
+ label: "Kemarin",
15300
+ onClick: yesterdayClick
15301
+ }),
15302
+ vue.createTextVNode("  "),
15303
+ vue.createVNode(vue.unref(interfaces.NeonButton), {
15304
+ "is-rounded": true,
15305
+ size: "sm",
15306
+ color: "dark",
15307
+ "icon-left": "plus",
15308
+ label: "Hari Ini",
15309
+ onClick: todayClick
15310
+ }),
15311
+ vue.createTextVNode("  "),
15312
+ vue.createVNode(vue.unref(interfaces.NeonButton), {
15313
+ "is-rounded": true,
15314
+ size: "sm",
15315
+ color: "dark",
15316
+ "icon-left": "plus",
15317
+ label: "Besok",
15318
+ onClick: tomorrowClick
15319
+ })
15320
+ ]);
15321
+ };
15322
+ }
15323
+ });
15324
+ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
15282
15325
  ...{
15283
15326
  name: "ProgressCollection"
15284
15327
  },
@@ -15479,9 +15522,9 @@ class DateUtil {
15479
15522
  return dayjs;
15480
15523
  }
15481
15524
  }
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({
15525
+ const _hoisted_1$2 = { class: "grid gap-2 sm:grid-cols-2" };
15526
+ const _hoisted_2$2 = { class: "text-right text-fg-subdued text-sm" };
15527
+ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
15485
15528
  __name: "ProgressSingle",
15486
15529
  setup(__props) {
15487
15530
  const {
@@ -15562,6 +15605,22 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
15562
15605
  immediate: true
15563
15606
  }
15564
15607
  );
15608
+ const submissionOptions = vue.computed(() => {
15609
+ return {
15610
+ filter: [
15611
+ {
15612
+ handle: "status",
15613
+ operator: "in",
15614
+ value: ["approved", "monitored"]
15615
+ },
15616
+ {
15617
+ handle: "followUpStaffIds",
15618
+ operator: "in",
15619
+ value: values.value.staffId
15620
+ }
15621
+ ]
15622
+ };
15623
+ });
15565
15624
  return (_ctx, _cache) => {
15566
15625
  return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-progress-single" }, {
15567
15626
  default: vue.withCtx(() => [
@@ -15605,7 +15664,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
15605
15664
  _: 1
15606
15665
  /* STABLE */
15607
15666
  }),
15608
- vue.createElementVNode("div", _hoisted_1, [
15667
+ vue.createElementVNode("div", _hoisted_1$2, [
15609
15668
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
15610
15669
  modelValue: vue.unref(values).startedEst,
15611
15670
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).startedEst = $event)
@@ -15646,7 +15705,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
15646
15705
  }, null, 8, ["modelValue", "is-loading"]),
15647
15706
  vue.createElementVNode(
15648
15707
  "div",
15649
- _hoisted_2,
15708
+ _hoisted_2$2,
15650
15709
  vue.toDisplayString(duration2.value),
15651
15710
  1
15652
15711
  /* TEXT */
@@ -15671,11 +15730,489 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
15671
15730
  field: vue.unref(fields).responsibilities,
15672
15731
  query: vue.unref(query.Query).define(responsibilityOptions.value)
15673
15732
  }, null, 8, ["modelValue", "field", "query"]),
15733
+ vue.createCommentVNode(' <OfficeRelation v-model="values" :field="fields.plans" /> '),
15674
15734
  vue.createVNode(vue.unref(office.OfficeRelation), {
15675
15735
  modelValue: vue.unref(values),
15676
15736
  "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"])
15737
+ field: vue.unref(fields).submissions,
15738
+ query: vue.unref(query.Query).define(submissionOptions.value)
15739
+ }, null, 8, ["modelValue", "field", "query"])
15740
+ ]),
15741
+ _: 1
15742
+ /* STABLE */
15743
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
15744
+ ]),
15745
+ _: 1
15746
+ /* STABLE */
15747
+ })
15748
+ ]),
15749
+ _: 1
15750
+ /* STABLE */
15751
+ }, 8, ["use-url"])
15752
+ ]),
15753
+ _: 1
15754
+ /* STABLE */
15755
+ });
15756
+ };
15757
+ }
15758
+ });
15759
+ const ProgressSingle_vue_vue_type_style_index_0_scoped_4ef30da9_lang = "";
15760
+ const ProgressSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$2, [["__scopeId", "data-v-4ef30da9"]]);
15761
+ const _hoisted_1$1 = { class: "grid gap-2 sm:grid-cols-2" };
15762
+ const _hoisted_2$1 = { class: "text-right text-fg-subdued text-sm" };
15763
+ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
15764
+ __name: "ProgressTomorrow",
15765
+ setup(__props) {
15766
+ const {
15767
+ fields,
15768
+ id,
15769
+ initialValues,
15770
+ values,
15771
+ isLoading,
15772
+ isChanged,
15773
+ isReady,
15774
+ isMain,
15775
+ isNew,
15776
+ saveOne,
15777
+ discardChanges
15778
+ } = context.useSingle();
15779
+ const { staff } = useOperasional();
15780
+ const responsibilityOptions = vue.computed(() => {
15781
+ var _a, _b;
15782
+ return {
15783
+ filter: [
15784
+ {
15785
+ handle: "condition",
15786
+ operator: "eq",
15787
+ value: "active"
15788
+ },
15789
+ {
15790
+ $or: [
15791
+ {
15792
+ handle: "staffWorkIds",
15793
+ operator: "in",
15794
+ value: (_a = staff.value) == null ? void 0 : _a.id
15795
+ },
15796
+ {
15797
+ handle: "staffSuperviseIds",
15798
+ operator: "in",
15799
+ value: (_b = staff.value) == null ? void 0 : _b.id
15800
+ }
15801
+ ]
15802
+ }
15803
+ ]
15804
+ };
15805
+ });
15806
+ const key = vue.ref(0);
15807
+ const diff = vue.computed(() => {
15808
+ return DateUtil.day(values.value.endedEst).diff(values.value.startedEst);
15809
+ });
15810
+ const duration2 = vue.computed(() => {
15811
+ if (isNaN(diff.value))
15812
+ return "-";
15813
+ const duration22 = DateUtil.day.duration(diff.value);
15814
+ return duration22.format("HH [jam] mm [menit]");
15815
+ });
15816
+ function onStartedEstUpdate(date) {
15817
+ if (!date)
15818
+ return;
15819
+ const currentEndedendedEst = DateUtil.day(values.value.endedEst);
15820
+ let startedEst = DateUtil.day(date);
15821
+ let endedEst = DateUtil.day(date);
15822
+ startedEst = startedEst.second(0).millisecond(0);
15823
+ endedEst = endedEst.hour(currentEndedendedEst.hour()).minute(currentEndedendedEst.minute()).second(0).millisecond(0);
15824
+ values.value.startedEst = startedEst.toISOString();
15825
+ values.value.endedEst = endedEst.toISOString();
15826
+ }
15827
+ const sekarang = dayjs(/* @__PURE__ */ new Date());
15828
+ const besok = sekarang.add(1, "day");
15829
+ vue.watch(
15830
+ isNew,
15831
+ (isNew2) => {
15832
+ var _a;
15833
+ if (!isNew2)
15834
+ return;
15835
+ values.value.staffId = (_a = staff.value) == null ? void 0 : _a.id;
15836
+ values.value.staff = staff.value;
15837
+ values.value.startedEst = besok.second(0).millisecond(0).toISOString();
15838
+ values.value.endedEst = besok.add(90, "m").toISOString();
15839
+ },
15840
+ {
15841
+ immediate: true
15842
+ }
15843
+ );
15844
+ const submissionOptions = vue.computed(() => {
15845
+ return {
15846
+ filter: [
15847
+ {
15848
+ handle: "status",
15849
+ operator: "in",
15850
+ value: ["approved", "monitored"]
15851
+ },
15852
+ {
15853
+ handle: "followUpStaffIds",
15854
+ operator: "in",
15855
+ value: values.value.staffId
15856
+ }
15857
+ ]
15858
+ };
15859
+ });
15860
+ return (_ctx, _cache) => {
15861
+ return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-progress-single" }, {
15862
+ default: vue.withCtx(() => [
15863
+ vue.createVNode(vue.unref(office.OfficeTabs), { "use-url": vue.unref(isMain) }, {
15864
+ default: vue.withCtx(() => [
15865
+ vue.createVNode(vue.unref(office.OfficeTab), {
15866
+ handle: "info",
15867
+ icon: "circle-info",
15868
+ title: "Info"
15869
+ }, {
15870
+ default: vue.withCtx(() => [
15871
+ vue.createVNode(vue.unref(form.NeonForm), {
15872
+ handle: "info",
15873
+ "initial-values": vue.unref(initialValues),
15874
+ "is-loading": vue.unref(isLoading),
15875
+ "is-changed": vue.unref(isChanged),
15876
+ "use-unsaved": "",
15877
+ onCancel: vue.unref(discardChanges),
15878
+ onSubmit: vue.unref(saveOne)
15879
+ }, {
15880
+ default: vue.withCtx(() => [
15881
+ vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-2" }, {
15882
+ default: vue.withCtx(() => [
15883
+ (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
15884
+ key: key.value,
15885
+ "model-value": vue.unref(values).startedEst
15886
+ }, {
15887
+ handle: "startedEst",
15888
+ name: "Tanggal",
15889
+ type: "date",
15890
+ input: "date2",
15891
+ options: {
15892
+ note: "Tanggal progress."
15893
+ }
15894
+ }, { "onUpdate:modelValue": onStartedEstUpdate }), null, 16, ["model-value"])),
15895
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
15896
+ modelValue: vue.unref(values).detail,
15897
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).detail = $event)
15898
+ }, vue.unref(fields).detail), null, 16, ["modelValue"])
15899
+ ]),
15900
+ _: 1
15901
+ /* STABLE */
15902
+ }),
15903
+ vue.createElementVNode("div", _hoisted_1$1, [
15904
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
15905
+ modelValue: vue.unref(values).startedEst,
15906
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).startedEst = $event)
15907
+ }, {
15908
+ handle: "startedEst",
15909
+ name: "Mulai",
15910
+ options: {
15911
+ note: "Jam mulai."
15912
+ }
15913
+ }), {
15914
+ input: vue.withCtx(() => [
15915
+ vue.createVNode(vue.unref(NeonTime), {
15916
+ modelValue: vue.unref(values).startedEst,
15917
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).startedEst = $event),
15918
+ "is-loading": vue.unref(isLoading),
15919
+ class: "mt-2"
15920
+ }, null, 8, ["modelValue", "is-loading"])
15921
+ ]),
15922
+ _: 1
15923
+ /* STABLE */
15924
+ }, 16, ["modelValue"]),
15925
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
15926
+ modelValue: vue.unref(values).endedEst,
15927
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).endedEst = $event)
15928
+ }, {
15929
+ handle: "endedEst",
15930
+ name: "Selesai",
15931
+ options: {
15932
+ note: "Jam selesai."
15933
+ }
15934
+ }), {
15935
+ input: vue.withCtx(() => [
15936
+ vue.createVNode(vue.unref(NeonTime), {
15937
+ modelValue: vue.unref(values).endedEst,
15938
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.unref(values).endedEst = $event),
15939
+ "is-loading": vue.unref(isLoading),
15940
+ class: "mt-2"
15941
+ }, null, 8, ["modelValue", "is-loading"]),
15942
+ vue.createElementVNode(
15943
+ "div",
15944
+ _hoisted_2$1,
15945
+ vue.toDisplayString(duration2.value),
15946
+ 1
15947
+ /* TEXT */
15948
+ )
15949
+ ]),
15950
+ _: 1
15951
+ /* STABLE */
15952
+ }, 16, ["modelValue"])
15953
+ ]),
15954
+ vue.createVNode(vue.unref(office.OfficeRelation), {
15955
+ modelValue: vue.unref(values),
15956
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.isRef(values) ? values.value = $event : null),
15957
+ field: vue.unref(fields).staff
15958
+ }, null, 8, ["modelValue", "field"]),
15959
+ vue.createVNode(vue.unref(interfaces.NeonDivider), {
15960
+ "is-dashed": "",
15961
+ label: "Referensi"
15962
+ }),
15963
+ vue.createVNode(vue.unref(office.OfficeRelation), {
15964
+ modelValue: vue.unref(values),
15965
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.isRef(values) ? values.value = $event : null),
15966
+ field: vue.unref(fields).responsibilities,
15967
+ query: vue.unref(query.Query).define(responsibilityOptions.value)
15968
+ }, null, 8, ["modelValue", "field", "query"]),
15969
+ vue.createVNode(vue.unref(office.OfficeRelation), {
15970
+ modelValue: vue.unref(values),
15971
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.isRef(values) ? values.value = $event : null),
15972
+ field: vue.unref(fields).submissions,
15973
+ query: vue.unref(query.Query).define(submissionOptions.value)
15974
+ }, null, 8, ["modelValue", "field", "query"]),
15975
+ vue.createCommentVNode(' <OfficeRelation v-model="values" :field="fields.plans" /> ')
15976
+ ]),
15977
+ _: 1
15978
+ /* STABLE */
15979
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
15980
+ ]),
15981
+ _: 1
15982
+ /* STABLE */
15983
+ })
15984
+ ]),
15985
+ _: 1
15986
+ /* STABLE */
15987
+ }, 8, ["use-url"])
15988
+ ]),
15989
+ _: 1
15990
+ /* STABLE */
15991
+ });
15992
+ };
15993
+ }
15994
+ });
15995
+ const ProgressTomorrow_vue_vue_type_style_index_0_scoped_09ccf676_lang = "";
15996
+ const ProgressTomorrow = /* @__PURE__ */ _export_sfc$1(_sfc_main$1, [["__scopeId", "data-v-09ccf676"]]);
15997
+ const _hoisted_1 = { class: "grid gap-2 sm:grid-cols-2" };
15998
+ const _hoisted_2 = { class: "text-right text-fg-subdued text-sm" };
15999
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
16000
+ __name: "ProgressYesterday",
16001
+ setup(__props) {
16002
+ const {
16003
+ fields,
16004
+ id,
16005
+ initialValues,
16006
+ values,
16007
+ isLoading,
16008
+ isChanged,
16009
+ isReady,
16010
+ isMain,
16011
+ isNew,
16012
+ saveOne,
16013
+ discardChanges
16014
+ } = context.useSingle();
16015
+ const { staff } = useOperasional();
16016
+ const responsibilityOptions = vue.computed(() => {
16017
+ var _a, _b;
16018
+ return {
16019
+ filter: [
16020
+ {
16021
+ handle: "condition",
16022
+ operator: "eq",
16023
+ value: "active"
16024
+ },
16025
+ {
16026
+ $or: [
16027
+ {
16028
+ handle: "staffWorkIds",
16029
+ operator: "in",
16030
+ value: (_a = staff.value) == null ? void 0 : _a.id
16031
+ },
16032
+ {
16033
+ handle: "staffSuperviseIds",
16034
+ operator: "in",
16035
+ value: (_b = staff.value) == null ? void 0 : _b.id
16036
+ }
16037
+ ]
16038
+ }
16039
+ ]
16040
+ };
16041
+ });
16042
+ const key = vue.ref(0);
16043
+ const diff = vue.computed(() => {
16044
+ return DateUtil.day(values.value.endedEst).diff(values.value.startedEst);
16045
+ });
16046
+ const duration2 = vue.computed(() => {
16047
+ if (isNaN(diff.value))
16048
+ return "-";
16049
+ const duration22 = DateUtil.day.duration(diff.value);
16050
+ return duration22.format("HH [jam] mm [menit]");
16051
+ });
16052
+ function onStartedEstUpdate(date) {
16053
+ if (!date)
16054
+ return;
16055
+ const currentEndedendedEst = DateUtil.day(values.value.endedEst);
16056
+ let startedEst = DateUtil.day(date);
16057
+ let endedEst = DateUtil.day(date);
16058
+ startedEst = startedEst.second(0).millisecond(0);
16059
+ endedEst = endedEst.hour(currentEndedendedEst.hour()).minute(currentEndedendedEst.minute()).second(0).millisecond(0);
16060
+ values.value.startedEst = startedEst.toISOString();
16061
+ values.value.endedEst = endedEst.toISOString();
16062
+ }
16063
+ const sekarang = dayjs(/* @__PURE__ */ new Date());
16064
+ const besok = sekarang.add(-1, "day");
16065
+ vue.watch(
16066
+ isNew,
16067
+ (isNew2) => {
16068
+ var _a;
16069
+ if (!isNew2)
16070
+ return;
16071
+ values.value.staffId = (_a = staff.value) == null ? void 0 : _a.id;
16072
+ values.value.staff = staff.value;
16073
+ values.value.startedEst = besok.second(0).millisecond(0).toISOString();
16074
+ values.value.endedEst = besok.add(90, "m").toISOString();
16075
+ },
16076
+ {
16077
+ immediate: true
16078
+ }
16079
+ );
16080
+ const submissionOptions = vue.computed(() => {
16081
+ return {
16082
+ filter: [
16083
+ {
16084
+ handle: "status",
16085
+ operator: "in",
16086
+ value: ["approved", "monitored"]
16087
+ },
16088
+ {
16089
+ handle: "followUpStaffIds",
16090
+ operator: "in",
16091
+ value: values.value.staffId
16092
+ }
16093
+ ]
16094
+ };
16095
+ });
16096
+ return (_ctx, _cache) => {
16097
+ return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-progress-single" }, {
16098
+ default: vue.withCtx(() => [
16099
+ vue.createVNode(vue.unref(office.OfficeTabs), { "use-url": vue.unref(isMain) }, {
16100
+ default: vue.withCtx(() => [
16101
+ vue.createVNode(vue.unref(office.OfficeTab), {
16102
+ handle: "info",
16103
+ icon: "circle-info",
16104
+ title: "Info"
16105
+ }, {
16106
+ default: vue.withCtx(() => [
16107
+ vue.createVNode(vue.unref(form.NeonForm), {
16108
+ handle: "info",
16109
+ "initial-values": vue.unref(initialValues),
16110
+ "is-loading": vue.unref(isLoading),
16111
+ "is-changed": vue.unref(isChanged),
16112
+ "use-unsaved": "",
16113
+ onCancel: vue.unref(discardChanges),
16114
+ onSubmit: vue.unref(saveOne)
16115
+ }, {
16116
+ default: vue.withCtx(() => [
16117
+ vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-2" }, {
16118
+ default: vue.withCtx(() => [
16119
+ (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
16120
+ key: key.value,
16121
+ "model-value": vue.unref(values).startedEst
16122
+ }, {
16123
+ handle: "startedEst",
16124
+ name: "Tanggal",
16125
+ type: "date",
16126
+ input: "date2",
16127
+ options: {
16128
+ note: "Tanggal progress."
16129
+ }
16130
+ }, { "onUpdate:modelValue": onStartedEstUpdate }), null, 16, ["model-value"])),
16131
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
16132
+ modelValue: vue.unref(values).detail,
16133
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).detail = $event)
16134
+ }, vue.unref(fields).detail), null, 16, ["modelValue"])
16135
+ ]),
16136
+ _: 1
16137
+ /* STABLE */
16138
+ }),
16139
+ vue.createElementVNode("div", _hoisted_1, [
16140
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
16141
+ modelValue: vue.unref(values).startedEst,
16142
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).startedEst = $event)
16143
+ }, {
16144
+ handle: "startedEst",
16145
+ name: "Mulai",
16146
+ options: {
16147
+ note: "Jam mulai."
16148
+ }
16149
+ }), {
16150
+ input: vue.withCtx(() => [
16151
+ vue.createVNode(vue.unref(NeonTime), {
16152
+ modelValue: vue.unref(values).startedEst,
16153
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).startedEst = $event),
16154
+ "is-loading": vue.unref(isLoading),
16155
+ class: "mt-2"
16156
+ }, null, 8, ["modelValue", "is-loading"])
16157
+ ]),
16158
+ _: 1
16159
+ /* STABLE */
16160
+ }, 16, ["modelValue"]),
16161
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
16162
+ modelValue: vue.unref(values).endedEst,
16163
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).endedEst = $event)
16164
+ }, {
16165
+ handle: "endedEst",
16166
+ name: "Selesai",
16167
+ options: {
16168
+ note: "Jam selesai."
16169
+ }
16170
+ }), {
16171
+ input: vue.withCtx(() => [
16172
+ vue.createVNode(vue.unref(NeonTime), {
16173
+ modelValue: vue.unref(values).endedEst,
16174
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.unref(values).endedEst = $event),
16175
+ "is-loading": vue.unref(isLoading),
16176
+ class: "mt-2"
16177
+ }, null, 8, ["modelValue", "is-loading"]),
16178
+ vue.createElementVNode(
16179
+ "div",
16180
+ _hoisted_2,
16181
+ vue.toDisplayString(duration2.value),
16182
+ 1
16183
+ /* TEXT */
16184
+ )
16185
+ ]),
16186
+ _: 1
16187
+ /* STABLE */
16188
+ }, 16, ["modelValue"])
16189
+ ]),
16190
+ vue.createVNode(vue.unref(office.OfficeRelation), {
16191
+ modelValue: vue.unref(values),
16192
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.isRef(values) ? values.value = $event : null),
16193
+ field: vue.unref(fields).staff
16194
+ }, null, 8, ["modelValue", "field"]),
16195
+ vue.createVNode(vue.unref(interfaces.NeonDivider), {
16196
+ "is-dashed": "",
16197
+ label: "Referensi"
16198
+ }),
16199
+ vue.createVNode(vue.unref(office.OfficeRelation), {
16200
+ modelValue: vue.unref(values),
16201
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.isRef(values) ? values.value = $event : null),
16202
+ field: vue.unref(fields).responsibilities,
16203
+ query: vue.unref(query.Query).define(responsibilityOptions.value)
16204
+ }, null, 8, ["modelValue", "field", "query"]),
16205
+ vue.createVNode(vue.unref(office.OfficeRelation), {
16206
+ modelValue: vue.unref(values),
16207
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.isRef(values) ? values.value = $event : null),
16208
+ field: vue.unref(fields).plans
16209
+ }, null, 8, ["modelValue", "field"]),
16210
+ vue.createVNode(vue.unref(office.OfficeRelation), {
16211
+ modelValue: vue.unref(values),
16212
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.isRef(values) ? values.value = $event : null),
16213
+ field: vue.unref(fields).submissions,
16214
+ query: vue.unref(query.Query).define(submissionOptions.value)
16215
+ }, null, 8, ["modelValue", "field", "query"])
15679
16216
  ]),
15680
16217
  _: 1
15681
16218
  /* STABLE */
@@ -15695,72 +16232,75 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
15695
16232
  };
15696
16233
  }
15697
16234
  });
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"]]);
16235
+ const ProgressYesterday_vue_vue_type_style_index_0_scoped_ac62b6ea_lang = "";
16236
+ const ProgressYesterday = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["__scopeId", "data-v-ac62b6ea"]]);
15700
16237
  const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15701
16238
  __proto__: null,
15702
16239
  CheckInAccess,
15703
- CheckInCollection: _sfc_main$C,
16240
+ CheckInCollection: _sfc_main$F,
15704
16241
  CheckInExternal,
15705
16242
  CheckInModel,
15706
16243
  CheckInPresenceCollection,
15707
- CheckInScanError: _sfc_main$F,
15708
- CheckInScanSuccess: _sfc_main$D,
16244
+ CheckInScanError: _sfc_main$I,
16245
+ CheckInScanSuccess: _sfc_main$G,
15709
16246
  CheckInScanner,
15710
16247
  CheckInSingle,
15711
16248
  NeonTime,
15712
16249
  OperasionalIdentitas,
15713
- PlanCollection: _sfc_main$4,
16250
+ PlanCollection: _sfc_main$7,
15714
16251
  PlanModel,
15715
16252
  PlanSingle,
15716
16253
  PlanStaff,
15717
- PlanTypeCollection: _sfc_main$6,
16254
+ PlanTypeCollection: _sfc_main$9,
15718
16255
  PlanTypeModel,
15719
16256
  PlanTypeSingle,
15720
- ProgressCollection: _sfc_main$1,
16257
+ ProgressButton: _sfc_main$4,
16258
+ ProgressCollection: _sfc_main$3,
15721
16259
  ProgressModel,
15722
16260
  ProgressSingle,
15723
- ResponsibilityCollection: _sfc_main$c,
16261
+ ProgressTomorrow,
16262
+ ProgressYesterday,
16263
+ ResponsibilityCollection: _sfc_main$f,
15724
16264
  ResponsibilityModel,
15725
16265
  ResponsibilitySingle,
15726
16266
  ResponsibilityStaff,
15727
- ResponsibilityTypeCollection: _sfc_main$e,
16267
+ ResponsibilityTypeCollection: _sfc_main$h,
15728
16268
  ResponsibilityTypeModel,
15729
16269
  ResponsibilityTypeSingle,
15730
- SituationCollection: _sfc_main$x,
16270
+ SituationCollection: _sfc_main$A,
15731
16271
  SituationModel,
15732
- SituationSingle: _sfc_main$w,
15733
- SituationSupportive: _sfc_main$u,
15734
- SituationTypeCollection: _sfc_main$t,
16272
+ SituationSingle: _sfc_main$z,
16273
+ SituationSupportive: _sfc_main$x,
16274
+ SituationTypeCollection: _sfc_main$w,
15735
16275
  SituationTypeModel,
15736
- SituationTypeSingle: _sfc_main$s,
15737
- SituationWork: _sfc_main$v,
15738
- StaffCollection: _sfc_main$B,
15739
- StaffIdentity: _sfc_main$y,
16276
+ SituationTypeSingle: _sfc_main$v,
16277
+ SituationWork: _sfc_main$y,
16278
+ StaffCollection: _sfc_main$E,
16279
+ StaffIdentity: _sfc_main$B,
15740
16280
  StaffModel,
15741
16281
  StaffOperasional,
15742
16282
  StaffSingle,
15743
16283
  SubmissionAudit,
15744
- SubmissionCollection: _sfc_main$n,
16284
+ SubmissionCollection: _sfc_main$q,
15745
16285
  SubmissionDecision,
15746
16286
  SubmissionFollowUp,
15747
16287
  SubmissionModel,
15748
16288
  SubmissionSingle,
15749
16289
  SubmissionStaff,
15750
- SubmissionTypeCollection: _sfc_main$g,
16290
+ SubmissionTypeCollection: _sfc_main$j,
15751
16291
  SubmissionTypeModel,
15752
16292
  SubmissionTypeSingle,
15753
16293
  SubmissionWaitingDecision,
15754
16294
  TargetBranch,
15755
- TargetCollection: _sfc_main$9,
16295
+ TargetCollection: _sfc_main$c,
15756
16296
  TargetModel,
15757
16297
  TargetSingle,
15758
- TaskCollection: _sfc_main$q,
16298
+ TaskCollection: _sfc_main$t,
15759
16299
  TaskModel,
15760
- TaskSingle: _sfc_main$p,
15761
- TaskWork: _sfc_main$o,
15762
- TaskWorkButton: _sfc_main$r,
15763
- XxxButton: _sfc_main$N
16300
+ TaskSingle: _sfc_main$s,
16301
+ TaskWork: _sfc_main$r,
16302
+ TaskWorkButton: _sfc_main$u,
16303
+ XxxButton: _sfc_main$Q
15764
16304
  }, Symbol.toStringTag, { value: "Module" }));
15765
16305
  function registerComponents(app) {
15766
16306
  Object.entries(components).forEach(([name, component2]) => {
@@ -15776,70 +16316,73 @@ const OperasionalInterfacesPlugin = {
15776
16316
  }
15777
16317
  };
15778
16318
  exports.CheckInAccess = CheckInAccess;
15779
- exports.CheckInCollection = _sfc_main$C;
16319
+ exports.CheckInCollection = _sfc_main$F;
15780
16320
  exports.CheckInExternal = CheckInExternal;
15781
16321
  exports.CheckInModel = CheckInModel;
15782
16322
  exports.CheckInPresenceCollection = CheckInPresenceCollection;
15783
- exports.CheckInScanError = _sfc_main$F;
15784
- exports.CheckInScanSuccess = _sfc_main$D;
16323
+ exports.CheckInScanError = _sfc_main$I;
16324
+ exports.CheckInScanSuccess = _sfc_main$G;
15785
16325
  exports.CheckInScanner = CheckInScanner;
15786
16326
  exports.CheckInSingle = CheckInSingle;
15787
16327
  exports.NOperasional = operasional_types;
15788
16328
  exports.NeonTime = NeonTime;
15789
16329
  exports.OperasionalIdentitas = OperasionalIdentitas;
15790
16330
  exports.OperasionalInterfacesPlugin = OperasionalInterfacesPlugin;
15791
- exports.PlanCollection = _sfc_main$4;
16331
+ exports.PlanCollection = _sfc_main$7;
15792
16332
  exports.PlanModel = PlanModel;
15793
16333
  exports.PlanSingle = PlanSingle;
15794
16334
  exports.PlanStaff = PlanStaff;
15795
- exports.PlanTypeCollection = _sfc_main$6;
16335
+ exports.PlanTypeCollection = _sfc_main$9;
15796
16336
  exports.PlanTypeModel = PlanTypeModel;
15797
16337
  exports.PlanTypeSingle = PlanTypeSingle;
15798
- exports.ProgressCollection = _sfc_main$1;
16338
+ exports.ProgressButton = _sfc_main$4;
16339
+ exports.ProgressCollection = _sfc_main$3;
15799
16340
  exports.ProgressModel = ProgressModel;
15800
16341
  exports.ProgressSingle = ProgressSingle;
15801
- exports.ResponsibilityCollection = _sfc_main$c;
16342
+ exports.ProgressTomorrow = ProgressTomorrow;
16343
+ exports.ProgressYesterday = ProgressYesterday;
16344
+ exports.ResponsibilityCollection = _sfc_main$f;
15802
16345
  exports.ResponsibilityModel = ResponsibilityModel;
15803
16346
  exports.ResponsibilitySingle = ResponsibilitySingle;
15804
16347
  exports.ResponsibilityStaff = ResponsibilityStaff;
15805
- exports.ResponsibilityTypeCollection = _sfc_main$e;
16348
+ exports.ResponsibilityTypeCollection = _sfc_main$h;
15806
16349
  exports.ResponsibilityTypeModel = ResponsibilityTypeModel;
15807
16350
  exports.ResponsibilityTypeSingle = ResponsibilityTypeSingle;
15808
16351
  exports.Schema = graphql;
15809
- exports.SituationCollection = _sfc_main$x;
16352
+ exports.SituationCollection = _sfc_main$A;
15810
16353
  exports.SituationModel = SituationModel;
15811
- exports.SituationSingle = _sfc_main$w;
15812
- exports.SituationSupportive = _sfc_main$u;
15813
- exports.SituationTypeCollection = _sfc_main$t;
16354
+ exports.SituationSingle = _sfc_main$z;
16355
+ exports.SituationSupportive = _sfc_main$x;
16356
+ exports.SituationTypeCollection = _sfc_main$w;
15814
16357
  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;
16358
+ exports.SituationTypeSingle = _sfc_main$v;
16359
+ exports.SituationWork = _sfc_main$y;
16360
+ exports.StaffCollection = _sfc_main$E;
16361
+ exports.StaffIdentity = _sfc_main$B;
15819
16362
  exports.StaffModel = StaffModel;
15820
16363
  exports.StaffOperasional = StaffOperasional;
15821
16364
  exports.StaffSingle = StaffSingle;
15822
16365
  exports.SubmissionAudit = SubmissionAudit;
15823
- exports.SubmissionCollection = _sfc_main$n;
16366
+ exports.SubmissionCollection = _sfc_main$q;
15824
16367
  exports.SubmissionDecision = SubmissionDecision;
15825
16368
  exports.SubmissionFollowUp = SubmissionFollowUp;
15826
16369
  exports.SubmissionModel = SubmissionModel;
15827
16370
  exports.SubmissionSingle = SubmissionSingle;
15828
16371
  exports.SubmissionStaff = SubmissionStaff;
15829
- exports.SubmissionTypeCollection = _sfc_main$g;
16372
+ exports.SubmissionTypeCollection = _sfc_main$j;
15830
16373
  exports.SubmissionTypeModel = SubmissionTypeModel;
15831
16374
  exports.SubmissionTypeSingle = SubmissionTypeSingle;
15832
16375
  exports.SubmissionWaitingDecision = SubmissionWaitingDecision;
15833
16376
  exports.TargetBranch = TargetBranch;
15834
- exports.TargetCollection = _sfc_main$9;
16377
+ exports.TargetCollection = _sfc_main$c;
15835
16378
  exports.TargetModel = TargetModel;
15836
16379
  exports.TargetSingle = TargetSingle;
15837
- exports.TaskCollection = _sfc_main$q;
16380
+ exports.TaskCollection = _sfc_main$t;
15838
16381
  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;
16382
+ exports.TaskSingle = _sfc_main$s;
16383
+ exports.TaskWork = _sfc_main$r;
16384
+ exports.TaskWorkButton = _sfc_main$u;
16385
+ exports.XxxButton = _sfc_main$Q;
15843
16386
  exports.bus = bus;
15844
16387
  exports.useAttendanceStore = useAttendanceStore;
15845
16388
  exports.useOperasional = useOperasional;