@neutron.co.id/operasional-interfaces 1.11.2 → 1.11.4

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
@@ -10126,8 +10126,9 @@ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
10126
10126
  }
10127
10127
  },
10128
10128
  emits: ["update:modelValue"],
10129
- setup(__props, { emit }) {
10129
+ setup(__props, { emit: __emit }) {
10130
10130
  const props = __props;
10131
+ const emit = __emit;
10131
10132
  const internalValue = vue.computed(() => {
10132
10133
  const newDate = DateUtil.day(props.modelValue || void 0);
10133
10134
  return newDate.second(0).millisecond(0).toISOString();
@@ -10182,17 +10183,17 @@ const _hoisted_1$o = { class: "flex flex-wrap" };
10182
10183
  const _hoisted_2$h = { class: "mt-2" };
10183
10184
  const _hoisted_3$8 = { class: "mt-2" };
10184
10185
  const _hoisted_4$6 = {
10185
- key: 3,
10186
+ key: 4,
10186
10187
  class: "grid gap-2 sm:grid-cols-2"
10187
10188
  };
10188
10189
  const _hoisted_5$4 = { class: "text-right text-fg-subdued text-sm" };
10189
10190
  const _hoisted_6$3 = {
10190
- key: 4,
10191
+ key: 5,
10191
10192
  class: "grid gap-2 sm:grid-cols-2"
10192
10193
  };
10193
10194
  const _hoisted_7$2 = { class: "text-right text-fg-subdued text-sm" };
10194
10195
  const _hoisted_8$2 = {
10195
- key: 5,
10196
+ key: 6,
10196
10197
  class: "grid gap-2 sm:grid-cols-2"
10197
10198
  };
10198
10199
  const _hoisted_9$2 = { class: "text-right text-fg-subdued text-sm" };
@@ -10366,26 +10367,33 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
10366
10367
  field: vue.unref(fields).decideStaff,
10367
10368
  "is-disabled": vue.unref(values).status == "approved"
10368
10369
  }, null, 8, ["modelValue", "field", "is-disabled"]),
10369
- vue.unref(isNew) || vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
10370
+ vue.unref(values).type == "leave" ? (vue.openBlock(), vue.createBlock(vue.unref(office.OfficeRelation), {
10370
10371
  key: 0,
10372
+ modelValue: vue.unref(values),
10373
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
10374
+ field: vue.unref(fields).delegateStaffs,
10375
+ "is-disabled": vue.unref(values).status == "approved"
10376
+ }, null, 8, ["modelValue", "field", "is-disabled"])) : vue.createCommentVNode("v-if", true),
10377
+ vue.unref(isNew) || vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
10378
+ key: 1,
10371
10379
  modelValue: vue.unref(values).notes,
10372
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.unref(values).notes = $event)
10380
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).notes = $event)
10373
10381
  }, vue.unref(fields).notes), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
10374
10382
  vue.unref(values).type ? (vue.openBlock(), vue.createBlock(vue.unref(interfaces.NeonDivider), {
10375
- key: 1,
10383
+ key: 2,
10376
10384
  "is-dashed": "",
10377
10385
  label: "Keterangan"
10378
10386
  })) : vue.createCommentVNode("v-if", true),
10379
10387
  vue.unref(values).type == "dayOff" || vue.unref(values).type == "sick" || vue.unref(values).type == "permission" || vue.unref(values).type == "leave" ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
10380
- key: 2,
10388
+ key: 3,
10381
10389
  modelValue: vue.unref(values).submittedAt,
10382
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).submittedAt = $event)
10390
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(values).submittedAt = $event)
10383
10391
  }, vue.unref(fields).submittedAt, { "is-disabled": "" }), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
10384
10392
  vue.createCommentVNode(" EARLY GO HOME "),
10385
10393
  vue.unref(values).type == "homeEarly" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$6, [
10386
10394
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
10387
10395
  modelValue: vue.unref(values).startedAt,
10388
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).startedAt = $event)
10396
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).startedAt = $event)
10389
10397
  }, {
10390
10398
  handle: "startedAt",
10391
10399
  name: "Jam Pulang Kerja",
@@ -10396,7 +10404,7 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
10396
10404
  input: vue.withCtx(() => [
10397
10405
  vue.createVNode(vue.unref(NeonTime), {
10398
10406
  modelValue: vue.unref(values).startedAt,
10399
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(values).startedAt = $event),
10407
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).startedAt = $event),
10400
10408
  "is-loading": vue.unref(isLoading),
10401
10409
  class: "mt-2"
10402
10410
  }, null, 8, ["modelValue", "is-loading"])
@@ -10406,7 +10414,7 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
10406
10414
  }, 16, ["modelValue"]),
10407
10415
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
10408
10416
  modelValue: vue.unref(values).endedAt,
10409
- "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).endedAt = $event)
10417
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).endedAt = $event)
10410
10418
  }, {
10411
10419
  handle: "endedAt",
10412
10420
  name: "Jam Pulang Lebih Awal",
@@ -10417,7 +10425,7 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
10417
10425
  input: vue.withCtx(() => [
10418
10426
  vue.createVNode(vue.unref(NeonTime), {
10419
10427
  modelValue: vue.unref(values).endedAt,
10420
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).endedAt = $event),
10428
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).endedAt = $event),
10421
10429
  "is-loading": vue.unref(isLoading),
10422
10430
  class: "mt-2"
10423
10431
  }, null, 8, ["modelValue", "is-loading"]),
@@ -10437,7 +10445,7 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
10437
10445
  vue.unref(values).type == "comeLate" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$3, [
10438
10446
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
10439
10447
  modelValue: vue.unref(values).startedAt,
10440
- "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.unref(values).startedAt = $event)
10448
+ "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => vue.unref(values).startedAt = $event)
10441
10449
  }, {
10442
10450
  handle: "startedAt",
10443
10451
  name: "Jam Datang",
@@ -10448,7 +10456,7 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
10448
10456
  input: vue.withCtx(() => [
10449
10457
  vue.createVNode(vue.unref(NeonTime), {
10450
10458
  modelValue: vue.unref(values).startedAt,
10451
- "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).startedAt = $event),
10459
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.unref(values).startedAt = $event),
10452
10460
  "is-loading": vue.unref(isLoading),
10453
10461
  class: "mt-2"
10454
10462
  }, null, 8, ["modelValue", "is-loading"])
@@ -10458,7 +10466,7 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
10458
10466
  }, 16, ["modelValue"]),
10459
10467
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
10460
10468
  modelValue: vue.unref(values).endedAt,
10461
- "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => vue.unref(values).endedAt = $event)
10469
+ "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => vue.unref(values).endedAt = $event)
10462
10470
  }, {
10463
10471
  handle: "endedAt",
10464
10472
  name: "Jam Datang Terlambat",
@@ -10469,7 +10477,7 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
10469
10477
  input: vue.withCtx(() => [
10470
10478
  vue.createVNode(vue.unref(NeonTime), {
10471
10479
  modelValue: vue.unref(values).endedAt,
10472
- "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => vue.unref(values).endedAt = $event),
10480
+ "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => vue.unref(values).endedAt = $event),
10473
10481
  "is-loading": vue.unref(isLoading),
10474
10482
  class: "mt-2"
10475
10483
  }, null, 8, ["modelValue", "is-loading"]),
@@ -10489,7 +10497,7 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
10489
10497
  vue.unref(values).type == "timeout" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$2, [
10490
10498
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
10491
10499
  modelValue: vue.unref(values).startedAt,
10492
- "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => vue.unref(values).startedAt = $event)
10500
+ "onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => vue.unref(values).startedAt = $event)
10493
10501
  }, {
10494
10502
  handle: "startedAt",
10495
10503
  name: "Mulai",
@@ -10500,7 +10508,7 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
10500
10508
  input: vue.withCtx(() => [
10501
10509
  vue.createVNode(vue.unref(NeonTime), {
10502
10510
  modelValue: vue.unref(values).startedAt,
10503
- "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => vue.unref(values).startedAt = $event),
10511
+ "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => vue.unref(values).startedAt = $event),
10504
10512
  "is-loading": vue.unref(isLoading),
10505
10513
  class: "mt-2"
10506
10514
  }, null, 8, ["modelValue", "is-loading"])
@@ -10510,7 +10518,7 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
10510
10518
  }, 16, ["modelValue"]),
10511
10519
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
10512
10520
  modelValue: vue.unref(values).endedAt,
10513
- "onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => vue.unref(values).endedAt = $event)
10521
+ "onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => vue.unref(values).endedAt = $event)
10514
10522
  }, {
10515
10523
  handle: "endedAt",
10516
10524
  name: "Selesai",
@@ -10521,7 +10529,7 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
10521
10529
  input: vue.withCtx(() => [
10522
10530
  vue.createVNode(vue.unref(NeonTime), {
10523
10531
  modelValue: vue.unref(values).endedAt,
10524
- "onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => vue.unref(values).endedAt = $event),
10532
+ "onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => vue.unref(values).endedAt = $event),
10525
10533
  "is-loading": vue.unref(isLoading),
10526
10534
  class: "mt-2"
10527
10535
  }, null, 8, ["modelValue", "is-loading"]),
@@ -10556,8 +10564,8 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
10556
10564
  };
10557
10565
  }
10558
10566
  });
10559
- const AttendanceManager_vue_vue_type_style_index_0_scoped_643cca03_lang = "";
10560
- const AttendanceManager = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-643cca03"]]);
10567
+ const AttendanceManager_vue_vue_type_style_index_0_scoped_4da92bf5_lang = "";
10568
+ const AttendanceManager = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-4da92bf5"]]);
10561
10569
  const _hoisted_1$n = { class: "grid gap-2 sm:grid-cols-2" };
10562
10570
  const _hoisted_2$g = { class: "text-right text-fg-subdued text-sm" };
10563
10571
  const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
@@ -10658,10 +10666,16 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
10658
10666
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
10659
10667
  field: vue.unref(fields).decideStaff
10660
10668
  }, null, 8, ["modelValue", "field"]),
10661
- vue.unref(isNew) || vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
10669
+ vue.unref(values).type == "leave" ? (vue.openBlock(), vue.createBlock(vue.unref(office.OfficeRelation), {
10662
10670
  key: 0,
10671
+ modelValue: vue.unref(values),
10672
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.isRef(values) ? values.value = $event : null),
10673
+ field: vue.unref(fields).delegateStaffs
10674
+ }, null, 8, ["modelValue", "field"])) : vue.createCommentVNode("v-if", true),
10675
+ vue.unref(isNew) || vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
10676
+ key: 1,
10663
10677
  modelValue: vue.unref(values).notes,
10664
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).notes = $event)
10678
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(values).notes = $event)
10665
10679
  }, vue.unref(fields).notes), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
10666
10680
  vue.createVNode(vue.unref(interfaces.NeonDivider), {
10667
10681
  "is-dashed": "",
@@ -10669,12 +10683,12 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
10669
10683
  }),
10670
10684
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
10671
10685
  modelValue: vue.unref(values).submittedAt,
10672
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(values).submittedAt = $event)
10686
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).submittedAt = $event)
10673
10687
  }, vue.unref(fields).submittedAt), null, 16, ["modelValue"]),
10674
10688
  vue.createElementVNode("div", _hoisted_1$n, [
10675
10689
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
10676
10690
  modelValue: vue.unref(values).startedAt,
10677
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).startedAt = $event)
10691
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).startedAt = $event)
10678
10692
  }, {
10679
10693
  handle: "startedAt",
10680
10694
  name: "Mulai",
@@ -10685,7 +10699,7 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
10685
10699
  input: vue.withCtx(() => [
10686
10700
  vue.createVNode(vue.unref(NeonTime), {
10687
10701
  modelValue: vue.unref(values).startedAt,
10688
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).startedAt = $event),
10702
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).startedAt = $event),
10689
10703
  "is-loading": vue.unref(isLoading),
10690
10704
  class: "mt-2"
10691
10705
  }, null, 8, ["modelValue", "is-loading"])
@@ -10695,7 +10709,7 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
10695
10709
  }, 16, ["modelValue"]),
10696
10710
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
10697
10711
  modelValue: vue.unref(values).endedAt,
10698
- "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).endedAt = $event)
10712
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.unref(values).endedAt = $event)
10699
10713
  }, {
10700
10714
  handle: "endedAt",
10701
10715
  name: "Selesai",
@@ -10706,7 +10720,7 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
10706
10720
  input: vue.withCtx(() => [
10707
10721
  vue.createVNode(vue.unref(NeonTime), {
10708
10722
  modelValue: vue.unref(values).endedAt,
10709
- "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).endedAt = $event),
10723
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).endedAt = $event),
10710
10724
  "is-loading": vue.unref(isLoading),
10711
10725
  class: "mt-2"
10712
10726
  }, null, 8, ["modelValue", "is-loading"]),
@@ -10741,8 +10755,8 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
10741
10755
  };
10742
10756
  }
10743
10757
  });
10744
- const AttendanceSingle_vue_vue_type_style_index_0_scoped_0c3c6187_lang = "";
10745
- const AttendanceSingle = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-0c3c6187"]]);
10758
+ const AttendanceSingle_vue_vue_type_style_index_0_scoped_7fdc9043_lang = "";
10759
+ const AttendanceSingle = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-7fdc9043"]]);
10746
10760
  const _hoisted_1$m = {
10747
10761
  key: 1,
10748
10762
  class: "flex flex-wrap"
@@ -10750,17 +10764,17 @@ const _hoisted_1$m = {
10750
10764
  const _hoisted_2$f = { class: "mt-2" };
10751
10765
  const _hoisted_3$7 = { class: "mt-2" };
10752
10766
  const _hoisted_4$5 = {
10753
- key: 5,
10767
+ key: 6,
10754
10768
  class: "grid gap-2 sm:grid-cols-2"
10755
10769
  };
10756
10770
  const _hoisted_5$3 = { class: "text-right text-fg-subdued text-sm" };
10757
10771
  const _hoisted_6$2 = {
10758
- key: 6,
10772
+ key: 7,
10759
10773
  class: "grid gap-2 sm:grid-cols-2"
10760
10774
  };
10761
10775
  const _hoisted_7$1 = { class: "text-right text-fg-subdued text-sm" };
10762
10776
  const _hoisted_8$1 = {
10763
- key: 7,
10777
+ key: 8,
10764
10778
  class: "grid gap-2 sm:grid-cols-2"
10765
10779
  };
10766
10780
  const _hoisted_9$1 = { class: "text-right text-fg-subdued text-sm" };
@@ -10966,26 +10980,33 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
10966
10980
  query: vue.unref(query.Query).define(staffOptions.value),
10967
10981
  "is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved"
10968
10982
  }, null, 8, ["modelValue", "field", "query", "is-disabled"]),
10969
- vue.unref(isNew) || vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
10983
+ vue.unref(values).type == "leave" ? (vue.openBlock(), vue.createBlock(vue.unref(office.OfficeRelation), {
10970
10984
  key: 2,
10985
+ modelValue: vue.unref(values),
10986
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
10987
+ field: vue.unref(fields).delegateStaffs,
10988
+ "is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved"
10989
+ }, null, 8, ["modelValue", "field", "is-disabled"])) : vue.createCommentVNode("v-if", true),
10990
+ vue.unref(isNew) || vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
10991
+ key: 3,
10971
10992
  modelValue: vue.unref(values).notes,
10972
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.unref(values).notes = $event)
10993
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).notes = $event)
10973
10994
  }, vue.unref(fields).notes), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
10974
10995
  vue.unref(values).type ? (vue.openBlock(), vue.createBlock(vue.unref(interfaces.NeonDivider), {
10975
- key: 3,
10996
+ key: 4,
10976
10997
  "is-dashed": "",
10977
10998
  label: "Keterangan"
10978
10999
  })) : vue.createCommentVNode("v-if", true),
10979
11000
  vue.unref(values).type == "dayOff" || vue.unref(values).type == "sick" || vue.unref(values).type == "permission" || vue.unref(values).type == "leave" ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
10980
- key: 4,
11001
+ key: 5,
10981
11002
  modelValue: vue.unref(values).submittedAt,
10982
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).submittedAt = $event)
11003
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(values).submittedAt = $event)
10983
11004
  }, vue.unref(fields).submittedAt, { "is-disabled": "" }), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
10984
11005
  vue.createCommentVNode(" EARLY GO HOME "),
10985
11006
  vue.unref(values).type == "homeEarly" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$5, [
10986
11007
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
10987
11008
  modelValue: vue.unref(values).startedAt,
10988
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).startedAt = $event)
11009
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).startedAt = $event)
10989
11010
  }, {
10990
11011
  handle: "startedAt",
10991
11012
  name: "Jam Pulang Kerja",
@@ -10996,7 +11017,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
10996
11017
  input: vue.withCtx(() => [
10997
11018
  vue.createVNode(vue.unref(NeonTime), {
10998
11019
  modelValue: vue.unref(values).startedAt,
10999
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(values).startedAt = $event),
11020
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).startedAt = $event),
11000
11021
  "is-loading": vue.unref(isLoading),
11001
11022
  class: "mt-2",
11002
11023
  "is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved"
@@ -11007,7 +11028,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
11007
11028
  }, 16, ["modelValue"]),
11008
11029
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
11009
11030
  modelValue: vue.unref(values).endedAt,
11010
- "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).endedAt = $event)
11031
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).endedAt = $event)
11011
11032
  }, {
11012
11033
  handle: "endedAt",
11013
11034
  name: "Jam Pulang Lebih Awal",
@@ -11018,7 +11039,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
11018
11039
  input: vue.withCtx(() => [
11019
11040
  vue.createVNode(vue.unref(NeonTime), {
11020
11041
  modelValue: vue.unref(values).endedAt,
11021
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).endedAt = $event),
11042
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).endedAt = $event),
11022
11043
  "is-loading": vue.unref(isLoading),
11023
11044
  class: "mt-2",
11024
11045
  "is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved"
@@ -11039,7 +11060,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
11039
11060
  vue.unref(values).type == "comeLate" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$2, [
11040
11061
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
11041
11062
  modelValue: vue.unref(values).startedAt,
11042
- "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.unref(values).startedAt = $event)
11063
+ "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => vue.unref(values).startedAt = $event)
11043
11064
  }, {
11044
11065
  handle: "startedAt",
11045
11066
  name: "Jam Datang",
@@ -11050,7 +11071,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
11050
11071
  input: vue.withCtx(() => [
11051
11072
  vue.createVNode(vue.unref(NeonTime), {
11052
11073
  modelValue: vue.unref(values).startedAt,
11053
- "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).startedAt = $event),
11074
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.unref(values).startedAt = $event),
11054
11075
  "is-loading": vue.unref(isLoading),
11055
11076
  class: "mt-2",
11056
11077
  "is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved"
@@ -11061,7 +11082,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
11061
11082
  }, 16, ["modelValue"]),
11062
11083
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
11063
11084
  modelValue: vue.unref(values).endedAt,
11064
- "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => vue.unref(values).endedAt = $event)
11085
+ "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => vue.unref(values).endedAt = $event)
11065
11086
  }, {
11066
11087
  handle: "endedAt",
11067
11088
  name: "Jam Datang Terlambat",
@@ -11072,7 +11093,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
11072
11093
  input: vue.withCtx(() => [
11073
11094
  vue.createVNode(vue.unref(NeonTime), {
11074
11095
  modelValue: vue.unref(values).endedAt,
11075
- "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => vue.unref(values).endedAt = $event),
11096
+ "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => vue.unref(values).endedAt = $event),
11076
11097
  "is-loading": vue.unref(isLoading),
11077
11098
  class: "mt-2",
11078
11099
  "is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved"
@@ -11093,7 +11114,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
11093
11114
  vue.unref(values).type == "timeout" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$1, [
11094
11115
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
11095
11116
  modelValue: vue.unref(values).startedAt,
11096
- "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => vue.unref(values).startedAt = $event)
11117
+ "onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => vue.unref(values).startedAt = $event)
11097
11118
  }, {
11098
11119
  handle: "startedAt",
11099
11120
  name: "Mulai",
@@ -11104,7 +11125,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
11104
11125
  input: vue.withCtx(() => [
11105
11126
  vue.createVNode(vue.unref(NeonTime), {
11106
11127
  modelValue: vue.unref(values).startedAt,
11107
- "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => vue.unref(values).startedAt = $event),
11128
+ "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => vue.unref(values).startedAt = $event),
11108
11129
  "is-loading": vue.unref(isLoading),
11109
11130
  class: "mt-2",
11110
11131
  "is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved"
@@ -11115,7 +11136,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
11115
11136
  }, 16, ["modelValue"]),
11116
11137
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
11117
11138
  modelValue: vue.unref(values).endedAt,
11118
- "onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => vue.unref(values).endedAt = $event)
11139
+ "onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => vue.unref(values).endedAt = $event)
11119
11140
  }, {
11120
11141
  handle: "endedAt",
11121
11142
  name: "Selesai",
@@ -11126,7 +11147,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
11126
11147
  input: vue.withCtx(() => [
11127
11148
  vue.createVNode(vue.unref(NeonTime), {
11128
11149
  modelValue: vue.unref(values).endedAt,
11129
- "onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => vue.unref(values).endedAt = $event),
11150
+ "onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => vue.unref(values).endedAt = $event),
11130
11151
  "is-loading": vue.unref(isLoading),
11131
11152
  class: "mt-2",
11132
11153
  "is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved"
@@ -11162,23 +11183,23 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
11162
11183
  };
11163
11184
  }
11164
11185
  });
11165
- const AttendanceStaff_vue_vue_type_style_index_0_scoped_8a21c329_lang = "";
11166
- const AttendanceStaff = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-8a21c329"]]);
11186
+ const AttendanceStaff_vue_vue_type_style_index_0_scoped_d541d5ab_lang = "";
11187
+ const AttendanceStaff = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-d541d5ab"]]);
11167
11188
  const _hoisted_1$l = { class: "flex flex-wrap" };
11168
11189
  const _hoisted_2$e = { class: "mt-2" };
11169
11190
  const _hoisted_3$6 = { class: "mt-2" };
11170
11191
  const _hoisted_4$4 = {
11171
- key: 3,
11192
+ key: 4,
11172
11193
  class: "grid gap-2 sm:grid-cols-2"
11173
11194
  };
11174
11195
  const _hoisted_5$2 = { class: "text-right text-fg-subdued text-sm" };
11175
11196
  const _hoisted_6$1 = {
11176
- key: 4,
11197
+ key: 5,
11177
11198
  class: "grid gap-2 sm:grid-cols-2"
11178
11199
  };
11179
11200
  const _hoisted_7 = { class: "text-right text-fg-subdued text-sm" };
11180
11201
  const _hoisted_8 = {
11181
- key: 5,
11202
+ key: 6,
11182
11203
  class: "grid gap-2 sm:grid-cols-2"
11183
11204
  };
11184
11205
  const _hoisted_9 = { class: "text-right text-fg-subdued text-sm" };
@@ -11351,26 +11372,33 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
11351
11372
  :field="fields.decideStaff"
11352
11373
  :is-disabled="values.status == 'approved'"
11353
11374
  /> `),
11354
- vue.unref(isNew) || vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
11375
+ vue.unref(values).type == "leave" ? (vue.openBlock(), vue.createBlock(vue.unref(office.OfficeRelation), {
11355
11376
  key: 0,
11377
+ modelValue: vue.unref(values),
11378
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.isRef(values) ? values.value = $event : null),
11379
+ field: vue.unref(fields).delegateStaffs,
11380
+ "is-disabled": vue.unref(values).status == "approved"
11381
+ }, null, 8, ["modelValue", "field", "is-disabled"])) : vue.createCommentVNode("v-if", true),
11382
+ vue.unref(isNew) || vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
11383
+ key: 1,
11356
11384
  modelValue: vue.unref(values).notes,
11357
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).notes = $event)
11385
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.unref(values).notes = $event)
11358
11386
  }, vue.unref(fields).notes), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
11359
11387
  vue.unref(values).type ? (vue.openBlock(), vue.createBlock(vue.unref(interfaces.NeonDivider), {
11360
- key: 1,
11388
+ key: 2,
11361
11389
  "is-dashed": "",
11362
11390
  label: "Keterangan"
11363
11391
  })) : vue.createCommentVNode("v-if", true),
11364
11392
  vue.unref(values).type == "dayOff" || vue.unref(values).type == "sick" || vue.unref(values).type == "permission" || vue.unref(values).type == "leave" ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
11365
- key: 2,
11393
+ key: 3,
11366
11394
  modelValue: vue.unref(values).submittedAt,
11367
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.unref(values).submittedAt = $event)
11395
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).submittedAt = $event)
11368
11396
  }, vue.unref(fields).submittedAt, { "is-disabled": "" }), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
11369
11397
  vue.createCommentVNode(" EARLY GO HOME "),
11370
11398
  vue.unref(values).type == "homeEarly" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$4, [
11371
11399
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
11372
11400
  modelValue: vue.unref(values).startedAt,
11373
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(values).startedAt = $event)
11401
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).startedAt = $event)
11374
11402
  }, {
11375
11403
  handle: "startedAt",
11376
11404
  name: "Jam Pulang Kerja",
@@ -11381,7 +11409,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
11381
11409
  input: vue.withCtx(() => [
11382
11410
  vue.createVNode(vue.unref(NeonTime), {
11383
11411
  modelValue: vue.unref(values).startedAt,
11384
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).startedAt = $event),
11412
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(values).startedAt = $event),
11385
11413
  "is-loading": vue.unref(isLoading),
11386
11414
  class: "mt-2"
11387
11415
  }, null, 8, ["modelValue", "is-loading"])
@@ -11391,7 +11419,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
11391
11419
  }, 16, ["modelValue"]),
11392
11420
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
11393
11421
  modelValue: vue.unref(values).endedAt,
11394
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).endedAt = $event)
11422
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).endedAt = $event)
11395
11423
  }, {
11396
11424
  handle: "endedAt",
11397
11425
  name: "Jam Pulang Lebih Awal",
@@ -11402,7 +11430,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
11402
11430
  input: vue.withCtx(() => [
11403
11431
  vue.createVNode(vue.unref(NeonTime), {
11404
11432
  modelValue: vue.unref(values).endedAt,
11405
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).endedAt = $event),
11433
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).endedAt = $event),
11406
11434
  "is-loading": vue.unref(isLoading),
11407
11435
  class: "mt-2"
11408
11436
  }, null, 8, ["modelValue", "is-loading"]),
@@ -11422,7 +11450,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
11422
11450
  vue.unref(values).type == "comeLate" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$1, [
11423
11451
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
11424
11452
  modelValue: vue.unref(values).startedAt,
11425
- "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).startedAt = $event)
11453
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.unref(values).startedAt = $event)
11426
11454
  }, {
11427
11455
  handle: "startedAt",
11428
11456
  name: "Jam Datang",
@@ -11433,7 +11461,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
11433
11461
  input: vue.withCtx(() => [
11434
11462
  vue.createVNode(vue.unref(NeonTime), {
11435
11463
  modelValue: vue.unref(values).startedAt,
11436
- "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).startedAt = $event),
11464
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).startedAt = $event),
11437
11465
  "is-loading": vue.unref(isLoading),
11438
11466
  class: "mt-2"
11439
11467
  }, null, 8, ["modelValue", "is-loading"])
@@ -11443,7 +11471,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
11443
11471
  }, 16, ["modelValue"]),
11444
11472
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
11445
11473
  modelValue: vue.unref(values).endedAt,
11446
- "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => vue.unref(values).endedAt = $event)
11474
+ "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => vue.unref(values).endedAt = $event)
11447
11475
  }, {
11448
11476
  handle: "endedAt",
11449
11477
  name: "Jam Datang Terlambat",
@@ -11454,7 +11482,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
11454
11482
  input: vue.withCtx(() => [
11455
11483
  vue.createVNode(vue.unref(NeonTime), {
11456
11484
  modelValue: vue.unref(values).endedAt,
11457
- "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.unref(values).endedAt = $event),
11485
+ "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => vue.unref(values).endedAt = $event),
11458
11486
  "is-loading": vue.unref(isLoading),
11459
11487
  class: "mt-2"
11460
11488
  }, null, 8, ["modelValue", "is-loading"]),
@@ -11474,7 +11502,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
11474
11502
  vue.unref(values).type == "timeout" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8, [
11475
11503
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
11476
11504
  modelValue: vue.unref(values).startedAt,
11477
- "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => vue.unref(values).startedAt = $event)
11505
+ "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => vue.unref(values).startedAt = $event)
11478
11506
  }, {
11479
11507
  handle: "startedAt",
11480
11508
  name: "Mulai",
@@ -11485,7 +11513,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
11485
11513
  input: vue.withCtx(() => [
11486
11514
  vue.createVNode(vue.unref(NeonTime), {
11487
11515
  modelValue: vue.unref(values).startedAt,
11488
- "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => vue.unref(values).startedAt = $event),
11516
+ "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => vue.unref(values).startedAt = $event),
11489
11517
  "is-loading": vue.unref(isLoading),
11490
11518
  class: "mt-2"
11491
11519
  }, null, 8, ["modelValue", "is-loading"])
@@ -11495,7 +11523,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
11495
11523
  }, 16, ["modelValue"]),
11496
11524
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
11497
11525
  modelValue: vue.unref(values).endedAt,
11498
- "onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => vue.unref(values).endedAt = $event)
11526
+ "onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => vue.unref(values).endedAt = $event)
11499
11527
  }, {
11500
11528
  handle: "endedAt",
11501
11529
  name: "Selesai",
@@ -11506,7 +11534,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
11506
11534
  input: vue.withCtx(() => [
11507
11535
  vue.createVNode(vue.unref(NeonTime), {
11508
11536
  modelValue: vue.unref(values).endedAt,
11509
- "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => vue.unref(values).endedAt = $event),
11537
+ "onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => vue.unref(values).endedAt = $event),
11510
11538
  "is-loading": vue.unref(isLoading),
11511
11539
  class: "mt-2"
11512
11540
  }, null, 8, ["modelValue", "is-loading"]),
@@ -11541,8 +11569,8 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
11541
11569
  };
11542
11570
  }
11543
11571
  });
11544
- const AttendanceSupervisor_vue_vue_type_style_index_0_scoped_07f6564f_lang = "";
11545
- const AttendanceSupervisor = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-07f6564f"]]);
11572
+ const AttendanceSupervisor_vue_vue_type_style_index_0_scoped_8eefa083_lang = "";
11573
+ const AttendanceSupervisor = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-8eefa083"]]);
11546
11574
  const CheckInModel = tempatModels.models.CheckInModel;
11547
11575
  function _typeof(o) {
11548
11576
  "@babel/helpers - typeof";
@@ -13079,7 +13107,7 @@ function cleanEscapedString(input2) {
13079
13107
  function startOfToday() {
13080
13108
  return startOfDay(Date.now());
13081
13109
  }
13082
- const _withScopeId$2 = (n) => (vue.pushScopeId("data-v-094d5b21"), n = n(), vue.popScopeId(), n);
13110
+ const _withScopeId$2 = (n) => (vue.pushScopeId("data-v-3c4aa352"), n = n(), vue.popScopeId(), n);
13083
13111
  const _hoisted_1$k = { id: "view-checkIns" };
13084
13112
  const _hoisted_2$d = { class: "summary" };
13085
13113
  const _hoisted_3$5 = { class: "wrapper" };
@@ -13428,7 +13456,14 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
13428
13456
  query: query$1.value,
13429
13457
  peeks: ["modal"],
13430
13458
  excludes: ["create"],
13431
- columns: ["display", "type", "checkInAt", "staff", "building"],
13459
+ columns: [
13460
+ "statusGPS",
13461
+ "display",
13462
+ "type",
13463
+ "checkInAt",
13464
+ "staff",
13465
+ "building"
13466
+ ],
13432
13467
  filters: ["type", "building"],
13433
13468
  sorts: ["checkInAt"],
13434
13469
  "is-ready": "",
@@ -13462,8 +13497,8 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
13462
13497
  };
13463
13498
  }
13464
13499
  });
13465
- const CheckInPresenceCollection_vue_vue_type_style_index_0_scoped_094d5b21_lang = "";
13466
- const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-094d5b21"]]);
13500
+ const CheckInPresenceCollection_vue_vue_type_style_index_0_scoped_3c4aa352_lang = "";
13501
+ const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-3c4aa352"]]);
13467
13502
  const _hoisted_1$j = { class: "grid gap-4 sm:grid-cols-2" };
13468
13503
  const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
13469
13504
  __name: "CheckInSingle",
@@ -14234,7 +14269,8 @@ const _hoisted_4$2 = { class: "mr-2 text-sm" };
14234
14269
  const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
14235
14270
  __name: "CheckInScanner",
14236
14271
  emits: ["start", "stop", "scanned", "close"],
14237
- setup(__props, { emit }) {
14272
+ setup(__props, { emit: __emit }) {
14273
+ const emit = __emit;
14238
14274
  const attendanceStore = useAttendanceStore();
14239
14275
  const { isScanning } = pinia.storeToRefs(attendanceStore);
14240
14276
  const frameEl = vue.ref();
@@ -14638,8 +14674,9 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
14638
14674
  }
14639
14675
  },
14640
14676
  emits: ["no-conflict"],
14641
- setup(__props, { emit }) {
14677
+ setup(__props, { emit: __emit }) {
14642
14678
  const props = __props;
14679
+ const emit = __emit;
14643
14680
  const fullNameField = {
14644
14681
  handle: "name",
14645
14682
  name: "Nama Lengkap",
@@ -15568,8 +15605,9 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
15568
15605
  }
15569
15606
  },
15570
15607
  emits: ["update:period"],
15571
- setup(__props, { emit }) {
15608
+ setup(__props, { emit: __emit }) {
15572
15609
  const { resource, display: display2, items, userQuery } = context.useCollection();
15610
+ const emit = __emit;
15573
15611
  function onCalendarPeriodUpdate(period) {
15574
15612
  console.log("calendar", period);
15575
15613
  emit("update:period", period);
@@ -15627,7 +15665,9 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
15627
15665
  isMain,
15628
15666
  isNew,
15629
15667
  saveOne,
15630
- discardChanges
15668
+ discardChanges,
15669
+ syncOne,
15670
+ executeOne
15631
15671
  } = context.useSingle();
15632
15672
  context.usePermit();
15633
15673
  const path = vueRouter.useRoute().path;
@@ -15741,186 +15781,245 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
15741
15781
  sort: [{ handle: "estimatedStartDate", direction: "ascending" }]
15742
15782
  });
15743
15783
  });
15784
+ const handleSyncReport = async () => {
15785
+ await executeOne("syncProgressReport", {
15786
+ progressId: id.value,
15787
+ responsibilityIds: values.value.responsibilityIds
15788
+ });
15789
+ await syncOne();
15790
+ };
15744
15791
  return (_ctx, _cache) => {
15745
15792
  return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-progress-single" }, {
15746
15793
  default: vue.withCtx(() => [
15747
15794
  vue.createVNode(vue.unref(office.OfficeTabs), { "use-url": vue.unref(isMain) }, {
15748
- default: vue.withCtx(() => [
15749
- vue.createVNode(vue.unref(office.OfficeTab), {
15750
- handle: "info",
15751
- icon: "circle-info",
15752
- title: "Info"
15753
- }, {
15754
- default: vue.withCtx(() => [
15755
- vue.createVNode(vue.unref(form.NeonForm), {
15756
- handle: "info",
15757
- "initial-values": vue.unref(initialValues),
15758
- "is-loading": vue.unref(isLoading),
15759
- "is-changed": vue.unref(isChanged),
15760
- "use-unsaved": "",
15761
- onCancel: vue.unref(discardChanges),
15762
- onSubmit: vue.unref(saveOne)
15763
- }, {
15764
- default: vue.withCtx(() => {
15765
- var _a2, _b;
15766
- return [
15767
- vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-2" }, {
15768
- default: vue.withCtx(() => [
15769
- (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
15770
- key: key.value,
15771
- "model-value": vue.unref(values).startedAt
15795
+ default: vue.withCtx(() => {
15796
+ var _a2;
15797
+ return [
15798
+ vue.createVNode(vue.unref(office.OfficeTab), {
15799
+ handle: "info",
15800
+ icon: "circle-info",
15801
+ title: "Info"
15802
+ }, {
15803
+ default: vue.withCtx(() => [
15804
+ vue.createVNode(vue.unref(form.NeonForm), {
15805
+ handle: "info",
15806
+ "initial-values": vue.unref(initialValues),
15807
+ "is-loading": vue.unref(isLoading),
15808
+ "is-changed": vue.unref(isChanged),
15809
+ "use-unsaved": "",
15810
+ onCancel: vue.unref(discardChanges),
15811
+ onSubmit: vue.unref(saveOne)
15812
+ }, {
15813
+ default: vue.withCtx(() => {
15814
+ var _a3, _b;
15815
+ return [
15816
+ vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-2" }, {
15817
+ default: vue.withCtx(() => [
15818
+ (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
15819
+ key: key.value,
15820
+ "model-value": vue.unref(values).startedAt
15821
+ }, {
15822
+ handle: "startedAt",
15823
+ name: "Tanggal",
15824
+ type: "date",
15825
+ input: "date2",
15826
+ options: {
15827
+ note: "Tanggal progress."
15828
+ }
15829
+ }, { "onUpdate:modelValue": onStartedAtUpdate }), null, 16, ["model-value"])),
15830
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
15831
+ modelValue: vue.unref(values).detail,
15832
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).detail = $event)
15833
+ }, vue.unref(fields).detail), null, 16, ["modelValue"])
15834
+ ]),
15835
+ _: 1
15836
+ /* STABLE */
15837
+ }),
15838
+ vue.createElementVNode("div", _hoisted_1$9, [
15839
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
15840
+ modelValue: vue.unref(values).startedAt,
15841
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).startedAt = $event)
15772
15842
  }, {
15773
15843
  handle: "startedAt",
15774
- name: "Tanggal",
15775
- type: "date",
15776
- input: "date2",
15844
+ name: "Mulai",
15777
15845
  options: {
15778
- note: "Tanggal progress."
15846
+ note: "Jam mulai."
15779
15847
  }
15780
- }, { "onUpdate:modelValue": onStartedAtUpdate }), null, 16, ["model-value"])),
15848
+ }), {
15849
+ input: vue.withCtx(() => [
15850
+ vue.createVNode(vue.unref(NeonTime), {
15851
+ modelValue: vue.unref(values).startedAt,
15852
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).startedAt = $event),
15853
+ "is-loading": vue.unref(isLoading),
15854
+ class: "mt-2"
15855
+ }, null, 8, ["modelValue", "is-loading"])
15856
+ ]),
15857
+ _: 1
15858
+ /* STABLE */
15859
+ }, 16, ["modelValue"]),
15781
15860
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
15782
- modelValue: vue.unref(values).detail,
15783
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).detail = $event)
15784
- }, vue.unref(fields).detail), null, 16, ["modelValue"])
15861
+ modelValue: vue.unref(values).endedAt,
15862
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).endedAt = $event)
15863
+ }, {
15864
+ handle: "endedAt",
15865
+ name: "Selesai",
15866
+ options: {
15867
+ note: "Jam selesai."
15868
+ }
15869
+ }), {
15870
+ input: vue.withCtx(() => [
15871
+ vue.createVNode(vue.unref(NeonTime), {
15872
+ modelValue: vue.unref(values).endedAt,
15873
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.unref(values).endedAt = $event),
15874
+ "is-loading": vue.unref(isLoading),
15875
+ class: "mt-2"
15876
+ }, null, 8, ["modelValue", "is-loading"]),
15877
+ vue.createElementVNode(
15878
+ "div",
15879
+ _hoisted_2$9,
15880
+ vue.toDisplayString(duration.value),
15881
+ 1
15882
+ /* TEXT */
15883
+ )
15884
+ ]),
15885
+ _: 1
15886
+ /* STABLE */
15887
+ }, 16, ["modelValue"])
15785
15888
  ]),
15786
- _: 1
15787
- /* STABLE */
15788
- }),
15789
- vue.createElementVNode("div", _hoisted_1$9, [
15889
+ vue.createVNode(vue.unref(office.OfficeRelation), {
15890
+ modelValue: vue.unref(values),
15891
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.isRef(values) ? values.value = $event : null),
15892
+ field: vue.unref(fields).staffs
15893
+ }, null, 8, ["modelValue", "field"]),
15790
15894
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
15791
- modelValue: vue.unref(values).startedAt,
15792
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).startedAt = $event)
15793
- }, {
15794
- handle: "startedAt",
15795
- name: "Mulai",
15796
- options: {
15797
- note: "Jam mulai."
15798
- }
15799
- }), {
15895
+ modelValue: vue.unref(values).isNotes,
15896
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).isNotes = $event)
15897
+ }, vue.unref(fields).isNotes), {
15800
15898
  input: vue.withCtx(() => [
15801
- vue.createVNode(vue.unref(NeonTime), {
15802
- modelValue: vue.unref(values).startedAt,
15803
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).startedAt = $event),
15804
- "is-loading": vue.unref(isLoading),
15899
+ vue.createVNode(vue.unref(form.NeonCheck), {
15900
+ modelValue: vue.unref(values).isNotes,
15901
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).isNotes = $event),
15902
+ label: "Catatan",
15805
15903
  class: "mt-2"
15806
- }, null, 8, ["modelValue", "is-loading"])
15904
+ }, null, 8, ["modelValue"])
15807
15905
  ]),
15808
15906
  _: 1
15809
15907
  /* STABLE */
15810
15908
  }, 16, ["modelValue"]),
15811
- vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
15812
- modelValue: vue.unref(values).endedAt,
15813
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).endedAt = $event)
15814
- }, {
15815
- handle: "endedAt",
15816
- name: "Selesai",
15817
- options: {
15818
- note: "Jam selesai."
15819
- }
15820
- }), {
15821
- input: vue.withCtx(() => [
15822
- vue.createVNode(vue.unref(NeonTime), {
15823
- modelValue: vue.unref(values).endedAt,
15824
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.unref(values).endedAt = $event),
15825
- "is-loading": vue.unref(isLoading),
15826
- class: "mt-2"
15827
- }, null, 8, ["modelValue", "is-loading"]),
15828
- vue.createElementVNode(
15829
- "div",
15830
- _hoisted_2$9,
15831
- vue.toDisplayString(duration.value),
15832
- 1
15833
- /* TEXT */
15834
- )
15835
- ]),
15836
- _: 1
15837
- /* STABLE */
15838
- }, 16, ["modelValue"])
15839
- ]),
15840
- vue.createVNode(vue.unref(office.OfficeRelation), {
15841
- modelValue: vue.unref(values),
15842
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.isRef(values) ? values.value = $event : null),
15843
- field: vue.unref(fields).staffs
15844
- }, null, 8, ["modelValue", "field"]),
15845
- vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
15846
- modelValue: vue.unref(values).isNotes,
15847
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).isNotes = $event)
15848
- }, vue.unref(fields).isNotes), {
15909
+ vue.createVNode(vue.unref(office.OfficeRelation), {
15910
+ modelValue: vue.unref(values),
15911
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.isRef(values) ? values.value = $event : null),
15912
+ field: vue.unref(fields).accessStaffs
15913
+ }, null, 8, ["modelValue", "field"]),
15914
+ vue.createVNode(vue.unref(interfaces.NeonDivider), {
15915
+ "is-dashed": "",
15916
+ label: "Referensi"
15917
+ }),
15918
+ vue.createVNode(vue.unref(office.OfficeRelation), {
15919
+ modelValue: vue.unref(values),
15920
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.isRef(values) ? values.value = $event : null),
15921
+ field: vue.unref(fields).responsibilities,
15922
+ query: vue.unref(query.Query).define({
15923
+ filter: [
15924
+ {
15925
+ handle: "condition",
15926
+ operator: "eq",
15927
+ value: "active"
15928
+ },
15929
+ {
15930
+ $or: [
15931
+ {
15932
+ handle: "staffWorkIds",
15933
+ operator: "in",
15934
+ value: (_a3 = vue.unref(staff)) == null ? void 0 : _a3.id
15935
+ },
15936
+ {
15937
+ handle: "staffSuperviseIds",
15938
+ operator: "in",
15939
+ value: (_b = vue.unref(staff)) == null ? void 0 : _b.id
15940
+ }
15941
+ ]
15942
+ }
15943
+ ],
15944
+ sort: [{ handle: "title", direction: "ascending" }]
15945
+ })
15946
+ }, null, 8, ["modelValue", "field", "query"]),
15947
+ vue.createCommentVNode(' <OfficeRelation v-model="values" :field="fields.plans" /> '),
15948
+ vue.createVNode(vue.unref(office.OfficeRelation), {
15949
+ modelValue: vue.unref(values),
15950
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.isRef(values) ? values.value = $event : null),
15951
+ field: vue.unref(fields).submissions,
15952
+ query: vue.unref(query.Query).define(submissionOptions.value)
15953
+ }, null, 8, ["modelValue", "field", "query"]),
15954
+ vue.unref(path) !== "/pengawas/progresses" ? (vue.openBlock(), vue.createBlock(vue.unref(office.OfficeRelation), {
15955
+ key: 0,
15956
+ modelValue: vue.unref(values),
15957
+ "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => vue.isRef(values) ? values.value = $event : null),
15958
+ field: vue.unref(fields).tasks,
15959
+ query: taskOptions.value
15960
+ }, null, 8, ["modelValue", "field", "query"])) : vue.createCommentVNode("v-if", true),
15961
+ vue.createCommentVNode(` v-if="!permit.isAny(['neu:pengawasSDM'])" `)
15962
+ ];
15963
+ }),
15964
+ _: 1
15965
+ /* STABLE */
15966
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
15967
+ ]),
15968
+ _: 1
15969
+ /* STABLE */
15970
+ }),
15971
+ vue.createCommentVNode(" LAPORAN "),
15972
+ vue.unref(isReady) && ((_a2 = vue.unref(values).responsibilityIds) == null ? void 0 : _a2.length) == 1 ? (vue.openBlock(), vue.createBlock(vue.unref(office.OfficeTab), {
15973
+ key: 0,
15974
+ handle: "report",
15975
+ icon: "info-circle",
15976
+ title: "Laporan"
15977
+ }, {
15978
+ default: vue.withCtx(() => [
15979
+ vue.createVNode(vue.unref(form.NeonForm), {
15980
+ handle: "report",
15981
+ "initial-values": vue.unref(initialValues),
15982
+ "is-loading": vue.unref(isLoading),
15983
+ "is-changed": vue.unref(isChanged),
15984
+ "use-unsaved": "",
15985
+ onCancel: vue.unref(discardChanges),
15986
+ onSubmit: vue.unref(saveOne)
15987
+ }, {
15988
+ default: vue.withCtx(() => [
15989
+ vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), { key: 0 }, {
15849
15990
  input: vue.withCtx(() => [
15850
- vue.createVNode(vue.unref(form.NeonCheck), {
15851
- modelValue: vue.unref(values).isNotes,
15852
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).isNotes = $event),
15853
- label: "Catatan",
15854
- class: "mt-2"
15855
- }, null, 8, ["modelValue"])
15991
+ vue.createVNode(vue.unref(interfaces.NeonButton), {
15992
+ size: "md",
15993
+ color: "dark",
15994
+ "icon-left": "sync",
15995
+ onClick: handleSyncReport
15996
+ }, {
15997
+ default: vue.withCtx(() => [
15998
+ vue.createTextVNode("Laporan")
15999
+ ]),
16000
+ _: 1
16001
+ /* STABLE */
16002
+ })
15856
16003
  ]),
15857
16004
  _: 1
15858
16005
  /* STABLE */
15859
- }, 16, ["modelValue"]),
15860
- vue.createVNode(vue.unref(office.OfficeRelation), {
15861
- modelValue: vue.unref(values),
15862
- "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.isRef(values) ? values.value = $event : null),
15863
- field: vue.unref(fields).accessStaffs
15864
- }, null, 8, ["modelValue", "field"]),
15865
- vue.createVNode(vue.unref(interfaces.NeonDivider), {
15866
- "is-dashed": "",
15867
- label: "Referensi"
15868
- }),
15869
- vue.createVNode(vue.unref(office.OfficeRelation), {
15870
- modelValue: vue.unref(values),
15871
- "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.isRef(values) ? values.value = $event : null),
15872
- field: vue.unref(fields).responsibilities,
15873
- query: vue.unref(query.Query).define({
15874
- filter: [
15875
- {
15876
- handle: "condition",
15877
- operator: "eq",
15878
- value: "active"
15879
- },
15880
- {
15881
- $or: [
15882
- {
15883
- handle: "staffWorkIds",
15884
- operator: "in",
15885
- value: (_a2 = vue.unref(staff)) == null ? void 0 : _a2.id
15886
- },
15887
- {
15888
- handle: "staffSuperviseIds",
15889
- operator: "in",
15890
- value: (_b = vue.unref(staff)) == null ? void 0 : _b.id
15891
- }
15892
- ]
15893
- }
15894
- ],
15895
- sort: [{ handle: "title", direction: "ascending" }]
15896
- })
15897
- }, null, 8, ["modelValue", "field", "query"]),
15898
- vue.createCommentVNode(' <OfficeRelation v-model="values" :field="fields.plans" /> '),
15899
- vue.createVNode(vue.unref(office.OfficeRelation), {
15900
- modelValue: vue.unref(values),
15901
- "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.isRef(values) ? values.value = $event : null),
15902
- field: vue.unref(fields).submissions,
15903
- query: vue.unref(query.Query).define(submissionOptions.value)
15904
- }, null, 8, ["modelValue", "field", "query"]),
15905
- vue.unref(path) !== "/pengawas/progresses" ? (vue.openBlock(), vue.createBlock(vue.unref(office.OfficeRelation), {
15906
- key: 0,
15907
- modelValue: vue.unref(values),
15908
- "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => vue.isRef(values) ? values.value = $event : null),
15909
- field: vue.unref(fields).tasks,
15910
- query: taskOptions.value
15911
- }, null, 8, ["modelValue", "field", "query"])) : vue.createCommentVNode("v-if", true),
15912
- vue.createCommentVNode(` v-if="!permit.isAny(['neu:pengawasSDM'])" `)
15913
- ];
15914
- }),
15915
- _: 1
15916
- /* STABLE */
15917
- }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
15918
- ]),
15919
- _: 1
15920
- /* STABLE */
15921
- }),
15922
- vue.createVNode(vue.unref(_sfc_main$G))
15923
- ]),
16006
+ })) : vue.createCommentVNode("v-if", true),
16007
+ vue.unref(isNew) || vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
16008
+ key: 1,
16009
+ modelValue: vue.unref(values).reports,
16010
+ "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => vue.unref(values).reports = $event)
16011
+ }, vue.unref(fields).reports), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true)
16012
+ ]),
16013
+ _: 1
16014
+ /* STABLE */
16015
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
16016
+ ]),
16017
+ _: 1
16018
+ /* STABLE */
16019
+ })) : vue.createCommentVNode("v-if", true),
16020
+ vue.createVNode(vue.unref(_sfc_main$G))
16021
+ ];
16022
+ }),
15924
16023
  _: 1
15925
16024
  /* STABLE */
15926
16025
  }, 8, ["use-url"])
@@ -15931,8 +16030,8 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
15931
16030
  };
15932
16031
  }
15933
16032
  });
15934
- const ProgressSingle_vue_vue_type_style_index_0_scoped_71539dd3_lang = "";
15935
- const ProgressSingle = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-71539dd3"]]);
16033
+ const ProgressSingle_vue_vue_type_style_index_0_scoped_ba369d9e_lang = "";
16034
+ const ProgressSingle = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-ba369d9e"]]);
15936
16035
  const _hoisted_1$8 = { class: "grid gap-2 sm:grid-cols-2" };
15937
16036
  const _hoisted_2$8 = { class: "text-right text-fg-subdued text-sm" };
15938
16037
  const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
@@ -16043,148 +16142,182 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
16043
16142
  return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-progress-single" }, {
16044
16143
  default: vue.withCtx(() => [
16045
16144
  vue.createVNode(vue.unref(office.OfficeTabs), { "use-url": vue.unref(isMain) }, {
16046
- default: vue.withCtx(() => [
16047
- vue.createVNode(vue.unref(office.OfficeTab), {
16048
- handle: "info",
16049
- icon: "circle-info",
16050
- title: "Info"
16051
- }, {
16052
- default: vue.withCtx(() => [
16053
- vue.createVNode(vue.unref(form.NeonForm), {
16054
- handle: "info",
16055
- "initial-values": vue.unref(initialValues),
16056
- "is-loading": vue.unref(isLoading),
16057
- "is-changed": vue.unref(isChanged),
16058
- "use-unsaved": "",
16059
- onCancel: vue.unref(discardChanges),
16060
- onSubmit: vue.unref(saveOne)
16061
- }, {
16062
- default: vue.withCtx(() => [
16063
- vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-2" }, {
16064
- default: vue.withCtx(() => [
16065
- (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
16066
- key: key.value,
16067
- "model-value": vue.unref(values).startedAt
16145
+ default: vue.withCtx(() => {
16146
+ var _a2;
16147
+ return [
16148
+ vue.createVNode(vue.unref(office.OfficeTab), {
16149
+ handle: "info",
16150
+ icon: "circle-info",
16151
+ title: "Info"
16152
+ }, {
16153
+ default: vue.withCtx(() => [
16154
+ vue.createVNode(vue.unref(form.NeonForm), {
16155
+ handle: "info",
16156
+ "initial-values": vue.unref(initialValues),
16157
+ "is-loading": vue.unref(isLoading),
16158
+ "is-changed": vue.unref(isChanged),
16159
+ "use-unsaved": "",
16160
+ onCancel: vue.unref(discardChanges),
16161
+ onSubmit: vue.unref(saveOne)
16162
+ }, {
16163
+ default: vue.withCtx(() => [
16164
+ vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-2" }, {
16165
+ default: vue.withCtx(() => [
16166
+ (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
16167
+ key: key.value,
16168
+ "model-value": vue.unref(values).startedAt
16169
+ }, {
16170
+ handle: "startedAt",
16171
+ name: "Tanggal",
16172
+ type: "date",
16173
+ input: "date2",
16174
+ options: {
16175
+ note: "Tanggal progress."
16176
+ }
16177
+ }, { "onUpdate:modelValue": onStartedAtUpdate }), null, 16, ["model-value"])),
16178
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
16179
+ modelValue: vue.unref(values).detail,
16180
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).detail = $event)
16181
+ }, vue.unref(fields).detail), null, 16, ["modelValue"])
16182
+ ]),
16183
+ _: 1
16184
+ /* STABLE */
16185
+ }),
16186
+ vue.createElementVNode("div", _hoisted_1$8, [
16187
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
16188
+ modelValue: vue.unref(values).startedAt,
16189
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).startedAt = $event)
16068
16190
  }, {
16069
16191
  handle: "startedAt",
16070
- name: "Tanggal",
16071
- type: "date",
16072
- input: "date2",
16192
+ name: "Mulai",
16073
16193
  options: {
16074
- note: "Tanggal progress."
16194
+ note: "Jam mulai."
16075
16195
  }
16076
- }, { "onUpdate:modelValue": onStartedAtUpdate }), null, 16, ["model-value"])),
16196
+ }), {
16197
+ input: vue.withCtx(() => [
16198
+ vue.createVNode(vue.unref(NeonTime), {
16199
+ modelValue: vue.unref(values).startedAt,
16200
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).startedAt = $event),
16201
+ "is-loading": vue.unref(isLoading),
16202
+ class: "mt-2"
16203
+ }, null, 8, ["modelValue", "is-loading"])
16204
+ ]),
16205
+ _: 1
16206
+ /* STABLE */
16207
+ }, 16, ["modelValue"]),
16077
16208
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
16078
- modelValue: vue.unref(values).detail,
16079
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).detail = $event)
16080
- }, vue.unref(fields).detail), null, 16, ["modelValue"])
16209
+ modelValue: vue.unref(values).endedAt,
16210
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).endedAt = $event)
16211
+ }, {
16212
+ handle: "endedAt",
16213
+ name: "Selesai",
16214
+ options: {
16215
+ note: "Jam selesai."
16216
+ }
16217
+ }), {
16218
+ input: vue.withCtx(() => [
16219
+ vue.createVNode(vue.unref(NeonTime), {
16220
+ modelValue: vue.unref(values).endedAt,
16221
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.unref(values).endedAt = $event),
16222
+ "is-loading": vue.unref(isLoading),
16223
+ class: "mt-2"
16224
+ }, null, 8, ["modelValue", "is-loading"]),
16225
+ vue.createElementVNode(
16226
+ "div",
16227
+ _hoisted_2$8,
16228
+ vue.toDisplayString(duration.value),
16229
+ 1
16230
+ /* TEXT */
16231
+ )
16232
+ ]),
16233
+ _: 1
16234
+ /* STABLE */
16235
+ }, 16, ["modelValue"])
16081
16236
  ]),
16082
- _: 1
16083
- /* STABLE */
16084
- }),
16085
- vue.createElementVNode("div", _hoisted_1$8, [
16237
+ vue.createVNode(vue.unref(office.OfficeRelation), {
16238
+ modelValue: vue.unref(values),
16239
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.isRef(values) ? values.value = $event : null),
16240
+ field: vue.unref(fields).staffs
16241
+ }, null, 8, ["modelValue", "field"]),
16086
16242
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
16087
- modelValue: vue.unref(values).startedAt,
16088
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).startedAt = $event)
16089
- }, {
16090
- handle: "startedAt",
16091
- name: "Mulai",
16092
- options: {
16093
- note: "Jam mulai."
16094
- }
16095
- }), {
16243
+ modelValue: vue.unref(values).isNotes,
16244
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).isNotes = $event)
16245
+ }, vue.unref(fields).isNotes), {
16096
16246
  input: vue.withCtx(() => [
16097
- vue.createVNode(vue.unref(NeonTime), {
16098
- modelValue: vue.unref(values).startedAt,
16099
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).startedAt = $event),
16100
- "is-loading": vue.unref(isLoading),
16247
+ vue.createVNode(vue.unref(form.NeonCheck), {
16248
+ modelValue: vue.unref(values).isNotes,
16249
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).isNotes = $event),
16250
+ label: "Catatan",
16101
16251
  class: "mt-2"
16102
- }, null, 8, ["modelValue", "is-loading"])
16252
+ }, null, 8, ["modelValue"])
16103
16253
  ]),
16104
16254
  _: 1
16105
16255
  /* STABLE */
16106
16256
  }, 16, ["modelValue"]),
16107
- vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
16108
- modelValue: vue.unref(values).endedAt,
16109
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).endedAt = $event)
16110
- }, {
16111
- handle: "endedAt",
16112
- name: "Selesai",
16113
- options: {
16114
- note: "Jam selesai."
16115
- }
16116
- }), {
16117
- input: vue.withCtx(() => [
16118
- vue.createVNode(vue.unref(NeonTime), {
16119
- modelValue: vue.unref(values).endedAt,
16120
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.unref(values).endedAt = $event),
16121
- "is-loading": vue.unref(isLoading),
16122
- class: "mt-2"
16123
- }, null, 8, ["modelValue", "is-loading"]),
16124
- vue.createElementVNode(
16125
- "div",
16126
- _hoisted_2$8,
16127
- vue.toDisplayString(duration.value),
16128
- 1
16129
- /* TEXT */
16130
- )
16131
- ]),
16132
- _: 1
16133
- /* STABLE */
16134
- }, 16, ["modelValue"])
16257
+ vue.createVNode(vue.unref(office.OfficeRelation), {
16258
+ modelValue: vue.unref(values),
16259
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.isRef(values) ? values.value = $event : null),
16260
+ field: vue.unref(fields).accessStaffs
16261
+ }, null, 8, ["modelValue", "field"]),
16262
+ vue.createVNode(vue.unref(interfaces.NeonDivider), {
16263
+ "is-dashed": "",
16264
+ label: "Referensi"
16265
+ }),
16266
+ vue.createVNode(vue.unref(office.OfficeRelation), {
16267
+ modelValue: vue.unref(values),
16268
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.isRef(values) ? values.value = $event : null),
16269
+ field: vue.unref(fields).responsibilities,
16270
+ query: vue.unref(query.Query).define(responsibilityOptions.value)
16271
+ }, null, 8, ["modelValue", "field", "query"]),
16272
+ vue.createCommentVNode(' <OfficeRelation v-model="values" :field="fields.plans" /> '),
16273
+ vue.createVNode(vue.unref(office.OfficeRelation), {
16274
+ modelValue: vue.unref(values),
16275
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.isRef(values) ? values.value = $event : null),
16276
+ field: vue.unref(fields).submissions,
16277
+ query: vue.unref(query.Query).define(submissionOptions.value)
16278
+ }, null, 8, ["modelValue", "field", "query"])
16135
16279
  ]),
16136
- vue.createVNode(vue.unref(office.OfficeRelation), {
16137
- modelValue: vue.unref(values),
16138
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.isRef(values) ? values.value = $event : null),
16139
- field: vue.unref(fields).staffs
16140
- }, null, 8, ["modelValue", "field"]),
16141
- vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
16142
- modelValue: vue.unref(values).isNotes,
16143
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).isNotes = $event)
16144
- }, vue.unref(fields).isNotes), {
16145
- input: vue.withCtx(() => [
16146
- vue.createVNode(vue.unref(form.NeonCheck), {
16147
- modelValue: vue.unref(values).isNotes,
16148
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).isNotes = $event),
16149
- label: "Catatan",
16150
- class: "mt-2"
16151
- }, null, 8, ["modelValue"])
16152
- ]),
16153
- _: 1
16154
- /* STABLE */
16155
- }, 16, ["modelValue"]),
16156
- vue.createVNode(vue.unref(office.OfficeRelation), {
16157
- modelValue: vue.unref(values),
16158
- "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.isRef(values) ? values.value = $event : null),
16159
- field: vue.unref(fields).accessStaffs
16160
- }, null, 8, ["modelValue", "field"]),
16161
- vue.createVNode(vue.unref(interfaces.NeonDivider), {
16162
- "is-dashed": "",
16163
- label: "Referensi"
16164
- }),
16165
- vue.createVNode(vue.unref(office.OfficeRelation), {
16166
- modelValue: vue.unref(values),
16167
- "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.isRef(values) ? values.value = $event : null),
16168
- field: vue.unref(fields).responsibilities,
16169
- query: vue.unref(query.Query).define(responsibilityOptions.value)
16170
- }, null, 8, ["modelValue", "field", "query"]),
16171
- vue.createCommentVNode(' <OfficeRelation v-model="values" :field="fields.plans" /> '),
16172
- vue.createVNode(vue.unref(office.OfficeRelation), {
16173
- modelValue: vue.unref(values),
16174
- "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.isRef(values) ? values.value = $event : null),
16175
- field: vue.unref(fields).submissions,
16176
- query: vue.unref(query.Query).define(submissionOptions.value)
16177
- }, null, 8, ["modelValue", "field", "query"])
16178
- ]),
16179
- _: 1
16180
- /* STABLE */
16181
- }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
16182
- ]),
16183
- _: 1
16184
- /* STABLE */
16185
- }),
16186
- vue.createVNode(vue.unref(_sfc_main$G))
16187
- ]),
16280
+ _: 1
16281
+ /* STABLE */
16282
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
16283
+ ]),
16284
+ _: 1
16285
+ /* STABLE */
16286
+ }),
16287
+ vue.createCommentVNode(" LAPORAN "),
16288
+ vue.unref(isReady) && ((_a2 = vue.unref(values).responsibilityIds) == null ? void 0 : _a2.length) == 1 ? (vue.openBlock(), vue.createBlock(vue.unref(office.OfficeTab), {
16289
+ key: 0,
16290
+ handle: "report",
16291
+ icon: "info-circle",
16292
+ title: "Laporan"
16293
+ }, {
16294
+ default: vue.withCtx(() => [
16295
+ vue.createVNode(vue.unref(form.NeonForm), {
16296
+ handle: "report",
16297
+ "initial-values": vue.unref(initialValues),
16298
+ "is-loading": vue.unref(isLoading),
16299
+ "is-changed": vue.unref(isChanged),
16300
+ "use-unsaved": "",
16301
+ onCancel: vue.unref(discardChanges),
16302
+ onSubmit: vue.unref(saveOne)
16303
+ }, {
16304
+ default: vue.withCtx(() => [
16305
+ vue.unref(isNew) || vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
16306
+ key: 0,
16307
+ modelValue: vue.unref(values).reports,
16308
+ "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => vue.unref(values).reports = $event)
16309
+ }, vue.unref(fields).reports), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true)
16310
+ ]),
16311
+ _: 1
16312
+ /* STABLE */
16313
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
16314
+ ]),
16315
+ _: 1
16316
+ /* STABLE */
16317
+ })) : vue.createCommentVNode("v-if", true),
16318
+ vue.createVNode(vue.unref(_sfc_main$G))
16319
+ ];
16320
+ }),
16188
16321
  _: 1
16189
16322
  /* STABLE */
16190
16323
  }, 8, ["use-url"])
@@ -16195,8 +16328,8 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
16195
16328
  };
16196
16329
  }
16197
16330
  });
16198
- const ProgressTomorrow_vue_vue_type_style_index_0_scoped_6cdcef51_lang = "";
16199
- const ProgressTomorrow = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-6cdcef51"]]);
16331
+ const ProgressTomorrow_vue_vue_type_style_index_0_scoped_0c5dc3d7_lang = "";
16332
+ const ProgressTomorrow = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-0c5dc3d7"]]);
16200
16333
  const _hoisted_1$7 = { class: "grid gap-2 sm:grid-cols-2" };
16201
16334
  const _hoisted_2$7 = { class: "text-right text-fg-subdued text-sm" };
16202
16335
  const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
@@ -16307,148 +16440,182 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
16307
16440
  return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-progress-single" }, {
16308
16441
  default: vue.withCtx(() => [
16309
16442
  vue.createVNode(vue.unref(office.OfficeTabs), { "use-url": vue.unref(isMain) }, {
16310
- default: vue.withCtx(() => [
16311
- vue.createVNode(vue.unref(office.OfficeTab), {
16312
- handle: "info",
16313
- icon: "circle-info",
16314
- title: "Info"
16315
- }, {
16316
- default: vue.withCtx(() => [
16317
- vue.createVNode(vue.unref(form.NeonForm), {
16318
- handle: "info",
16319
- "initial-values": vue.unref(initialValues),
16320
- "is-loading": vue.unref(isLoading),
16321
- "is-changed": vue.unref(isChanged),
16322
- "use-unsaved": "",
16323
- onCancel: vue.unref(discardChanges),
16324
- onSubmit: vue.unref(saveOne)
16325
- }, {
16326
- default: vue.withCtx(() => [
16327
- vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-2" }, {
16328
- default: vue.withCtx(() => [
16329
- (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
16330
- key: key.value,
16331
- "model-value": vue.unref(values).startedAt
16443
+ default: vue.withCtx(() => {
16444
+ var _a2;
16445
+ return [
16446
+ vue.createVNode(vue.unref(office.OfficeTab), {
16447
+ handle: "info",
16448
+ icon: "circle-info",
16449
+ title: "Info"
16450
+ }, {
16451
+ default: vue.withCtx(() => [
16452
+ vue.createVNode(vue.unref(form.NeonForm), {
16453
+ handle: "info",
16454
+ "initial-values": vue.unref(initialValues),
16455
+ "is-loading": vue.unref(isLoading),
16456
+ "is-changed": vue.unref(isChanged),
16457
+ "use-unsaved": "",
16458
+ onCancel: vue.unref(discardChanges),
16459
+ onSubmit: vue.unref(saveOne)
16460
+ }, {
16461
+ default: vue.withCtx(() => [
16462
+ vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-2" }, {
16463
+ default: vue.withCtx(() => [
16464
+ (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
16465
+ key: key.value,
16466
+ "model-value": vue.unref(values).startedAt
16467
+ }, {
16468
+ handle: "startedAt",
16469
+ name: "Tanggal",
16470
+ type: "date",
16471
+ input: "date2",
16472
+ options: {
16473
+ note: "Tanggal progress."
16474
+ }
16475
+ }, { "onUpdate:modelValue": onStartedAtUpdate }), null, 16, ["model-value"])),
16476
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
16477
+ modelValue: vue.unref(values).detail,
16478
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).detail = $event)
16479
+ }, vue.unref(fields).detail), null, 16, ["modelValue"])
16480
+ ]),
16481
+ _: 1
16482
+ /* STABLE */
16483
+ }),
16484
+ vue.createElementVNode("div", _hoisted_1$7, [
16485
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
16486
+ modelValue: vue.unref(values).startedAt,
16487
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).startedAt = $event)
16332
16488
  }, {
16333
16489
  handle: "startedAt",
16334
- name: "Tanggal",
16335
- type: "date",
16336
- input: "date2",
16490
+ name: "Mulai",
16337
16491
  options: {
16338
- note: "Tanggal progress."
16492
+ note: "Jam mulai."
16339
16493
  }
16340
- }, { "onUpdate:modelValue": onStartedAtUpdate }), null, 16, ["model-value"])),
16494
+ }), {
16495
+ input: vue.withCtx(() => [
16496
+ vue.createVNode(vue.unref(NeonTime), {
16497
+ modelValue: vue.unref(values).startedAt,
16498
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).startedAt = $event),
16499
+ "is-loading": vue.unref(isLoading),
16500
+ class: "mt-2"
16501
+ }, null, 8, ["modelValue", "is-loading"])
16502
+ ]),
16503
+ _: 1
16504
+ /* STABLE */
16505
+ }, 16, ["modelValue"]),
16341
16506
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
16342
- modelValue: vue.unref(values).detail,
16343
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).detail = $event)
16344
- }, vue.unref(fields).detail), null, 16, ["modelValue"])
16507
+ modelValue: vue.unref(values).endedAt,
16508
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).endedAt = $event)
16509
+ }, {
16510
+ handle: "endedAt",
16511
+ name: "Selesai",
16512
+ options: {
16513
+ note: "Jam selesai."
16514
+ }
16515
+ }), {
16516
+ input: vue.withCtx(() => [
16517
+ vue.createVNode(vue.unref(NeonTime), {
16518
+ modelValue: vue.unref(values).endedAt,
16519
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.unref(values).endedAt = $event),
16520
+ "is-loading": vue.unref(isLoading),
16521
+ class: "mt-2"
16522
+ }, null, 8, ["modelValue", "is-loading"]),
16523
+ vue.createElementVNode(
16524
+ "div",
16525
+ _hoisted_2$7,
16526
+ vue.toDisplayString(duration.value),
16527
+ 1
16528
+ /* TEXT */
16529
+ )
16530
+ ]),
16531
+ _: 1
16532
+ /* STABLE */
16533
+ }, 16, ["modelValue"])
16345
16534
  ]),
16346
- _: 1
16347
- /* STABLE */
16348
- }),
16349
- vue.createElementVNode("div", _hoisted_1$7, [
16535
+ vue.createVNode(vue.unref(office.OfficeRelation), {
16536
+ modelValue: vue.unref(values),
16537
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.isRef(values) ? values.value = $event : null),
16538
+ field: vue.unref(fields).staffs
16539
+ }, null, 8, ["modelValue", "field"]),
16350
16540
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
16351
- modelValue: vue.unref(values).startedAt,
16352
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).startedAt = $event)
16353
- }, {
16354
- handle: "startedAt",
16355
- name: "Mulai",
16356
- options: {
16357
- note: "Jam mulai."
16358
- }
16359
- }), {
16541
+ modelValue: vue.unref(values).isNotes,
16542
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).isNotes = $event)
16543
+ }, vue.unref(fields).isNotes), {
16360
16544
  input: vue.withCtx(() => [
16361
- vue.createVNode(vue.unref(NeonTime), {
16362
- modelValue: vue.unref(values).startedAt,
16363
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).startedAt = $event),
16364
- "is-loading": vue.unref(isLoading),
16545
+ vue.createVNode(vue.unref(form.NeonCheck), {
16546
+ modelValue: vue.unref(values).isNotes,
16547
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).isNotes = $event),
16548
+ label: "Catatan",
16365
16549
  class: "mt-2"
16366
- }, null, 8, ["modelValue", "is-loading"])
16550
+ }, null, 8, ["modelValue"])
16367
16551
  ]),
16368
16552
  _: 1
16369
16553
  /* STABLE */
16370
16554
  }, 16, ["modelValue"]),
16371
- vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
16372
- modelValue: vue.unref(values).endedAt,
16373
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).endedAt = $event)
16374
- }, {
16375
- handle: "endedAt",
16376
- name: "Selesai",
16377
- options: {
16378
- note: "Jam selesai."
16379
- }
16380
- }), {
16381
- input: vue.withCtx(() => [
16382
- vue.createVNode(vue.unref(NeonTime), {
16383
- modelValue: vue.unref(values).endedAt,
16384
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.unref(values).endedAt = $event),
16385
- "is-loading": vue.unref(isLoading),
16386
- class: "mt-2"
16387
- }, null, 8, ["modelValue", "is-loading"]),
16388
- vue.createElementVNode(
16389
- "div",
16390
- _hoisted_2$7,
16391
- vue.toDisplayString(duration.value),
16392
- 1
16393
- /* TEXT */
16394
- )
16395
- ]),
16396
- _: 1
16397
- /* STABLE */
16398
- }, 16, ["modelValue"])
16555
+ vue.createVNode(vue.unref(office.OfficeRelation), {
16556
+ modelValue: vue.unref(values),
16557
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.isRef(values) ? values.value = $event : null),
16558
+ field: vue.unref(fields).accessStaffs
16559
+ }, null, 8, ["modelValue", "field"]),
16560
+ vue.createVNode(vue.unref(interfaces.NeonDivider), {
16561
+ "is-dashed": "",
16562
+ label: "Referensi"
16563
+ }),
16564
+ vue.createVNode(vue.unref(office.OfficeRelation), {
16565
+ modelValue: vue.unref(values),
16566
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.isRef(values) ? values.value = $event : null),
16567
+ field: vue.unref(fields).responsibilities,
16568
+ query: vue.unref(query.Query).define(responsibilityOptions.value)
16569
+ }, null, 8, ["modelValue", "field", "query"]),
16570
+ vue.createCommentVNode(' <OfficeRelation v-model="values" :field="fields.plans" /> '),
16571
+ vue.createVNode(vue.unref(office.OfficeRelation), {
16572
+ modelValue: vue.unref(values),
16573
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.isRef(values) ? values.value = $event : null),
16574
+ field: vue.unref(fields).submissions,
16575
+ query: vue.unref(query.Query).define(submissionOptions.value)
16576
+ }, null, 8, ["modelValue", "field", "query"])
16577
+ ]),
16578
+ _: 1
16579
+ /* STABLE */
16580
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
16581
+ ]),
16582
+ _: 1
16583
+ /* STABLE */
16584
+ }),
16585
+ vue.createCommentVNode(" LAPORAN "),
16586
+ vue.unref(isReady) && ((_a2 = vue.unref(values).responsibilityIds) == null ? void 0 : _a2.length) == 1 ? (vue.openBlock(), vue.createBlock(vue.unref(office.OfficeTab), {
16587
+ key: 0,
16588
+ handle: "report",
16589
+ icon: "info-circle",
16590
+ title: "Laporan"
16591
+ }, {
16592
+ default: vue.withCtx(() => [
16593
+ vue.createVNode(vue.unref(form.NeonForm), {
16594
+ handle: "report",
16595
+ "initial-values": vue.unref(initialValues),
16596
+ "is-loading": vue.unref(isLoading),
16597
+ "is-changed": vue.unref(isChanged),
16598
+ "use-unsaved": "",
16599
+ onCancel: vue.unref(discardChanges),
16600
+ onSubmit: vue.unref(saveOne)
16601
+ }, {
16602
+ default: vue.withCtx(() => [
16603
+ vue.unref(isNew) || vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
16604
+ key: 0,
16605
+ modelValue: vue.unref(values).reports,
16606
+ "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => vue.unref(values).reports = $event)
16607
+ }, vue.unref(fields).reports), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true)
16399
16608
  ]),
16400
- vue.createVNode(vue.unref(office.OfficeRelation), {
16401
- modelValue: vue.unref(values),
16402
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.isRef(values) ? values.value = $event : null),
16403
- field: vue.unref(fields).staffs
16404
- }, null, 8, ["modelValue", "field"]),
16405
- vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
16406
- modelValue: vue.unref(values).isNotes,
16407
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).isNotes = $event)
16408
- }, vue.unref(fields).isNotes), {
16409
- input: vue.withCtx(() => [
16410
- vue.createVNode(vue.unref(form.NeonCheck), {
16411
- modelValue: vue.unref(values).isNotes,
16412
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).isNotes = $event),
16413
- label: "Catatan",
16414
- class: "mt-2"
16415
- }, null, 8, ["modelValue"])
16416
- ]),
16417
- _: 1
16418
- /* STABLE */
16419
- }, 16, ["modelValue"]),
16420
- vue.createVNode(vue.unref(office.OfficeRelation), {
16421
- modelValue: vue.unref(values),
16422
- "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.isRef(values) ? values.value = $event : null),
16423
- field: vue.unref(fields).accessStaffs
16424
- }, null, 8, ["modelValue", "field"]),
16425
- vue.createVNode(vue.unref(interfaces.NeonDivider), {
16426
- "is-dashed": "",
16427
- label: "Referensi"
16428
- }),
16429
- vue.createVNode(vue.unref(office.OfficeRelation), {
16430
- modelValue: vue.unref(values),
16431
- "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.isRef(values) ? values.value = $event : null),
16432
- field: vue.unref(fields).responsibilities,
16433
- query: vue.unref(query.Query).define(responsibilityOptions.value)
16434
- }, null, 8, ["modelValue", "field", "query"]),
16435
- vue.createCommentVNode(' <OfficeRelation v-model="values" :field="fields.plans" /> '),
16436
- vue.createVNode(vue.unref(office.OfficeRelation), {
16437
- modelValue: vue.unref(values),
16438
- "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.isRef(values) ? values.value = $event : null),
16439
- field: vue.unref(fields).submissions,
16440
- query: vue.unref(query.Query).define(submissionOptions.value)
16441
- }, null, 8, ["modelValue", "field", "query"])
16442
- ]),
16443
- _: 1
16444
- /* STABLE */
16445
- }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
16446
- ]),
16447
- _: 1
16448
- /* STABLE */
16449
- }),
16450
- vue.createVNode(vue.unref(_sfc_main$G))
16451
- ]),
16609
+ _: 1
16610
+ /* STABLE */
16611
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
16612
+ ]),
16613
+ _: 1
16614
+ /* STABLE */
16615
+ })) : vue.createCommentVNode("v-if", true),
16616
+ vue.createVNode(vue.unref(_sfc_main$G))
16617
+ ];
16618
+ }),
16452
16619
  _: 1
16453
16620
  /* STABLE */
16454
16621
  }, 8, ["use-url"])
@@ -16459,8 +16626,8 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
16459
16626
  };
16460
16627
  }
16461
16628
  });
16462
- const ProgressYesterday_vue_vue_type_style_index_0_scoped_e0bf56a9_lang = "";
16463
- const ProgressYesterday = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-e0bf56a9"]]);
16629
+ const ProgressYesterday_vue_vue_type_style_index_0_scoped_84ac6152_lang = "";
16630
+ const ProgressYesterday = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-84ac6152"]]);
16464
16631
  const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
16465
16632
  __name: "ProgressNote",
16466
16633
  setup(__props) {
@@ -16897,9 +17064,40 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
16897
17064
  _: 1
16898
17065
  /* STABLE */
16899
17066
  }),
16900
- vue.createCommentVNode(" PROGRESS "),
17067
+ vue.createCommentVNode(" LAPORAN "),
16901
17068
  !vue.unref(isNew) ? (vue.openBlock(), vue.createBlock(vue.unref(office.OfficeTab), {
16902
17069
  key: 0,
17070
+ handle: "report",
17071
+ icon: "info-circle",
17072
+ title: "Laporan"
17073
+ }, {
17074
+ default: vue.withCtx(() => [
17075
+ vue.createVNode(vue.unref(form.NeonForm), {
17076
+ handle: "report",
17077
+ "initial-values": vue.unref(initialValues),
17078
+ "is-loading": vue.unref(isLoading),
17079
+ "is-changed": vue.unref(isChanged),
17080
+ "use-unsaved": "",
17081
+ onCancel: vue.unref(discardChanges),
17082
+ onSubmit: vue.unref(saveOne)
17083
+ }, {
17084
+ default: vue.withCtx(() => [
17085
+ vue.unref(isNew) || vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
17086
+ key: 0,
17087
+ modelValue: vue.unref(values).reports,
17088
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).reports = $event)
17089
+ }, vue.unref(fields).reports), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true)
17090
+ ]),
17091
+ _: 1
17092
+ /* STABLE */
17093
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
17094
+ ]),
17095
+ _: 1
17096
+ /* STABLE */
17097
+ })) : vue.createCommentVNode("v-if", true),
17098
+ vue.createCommentVNode(" PROGRESS "),
17099
+ !vue.unref(isNew) ? (vue.openBlock(), vue.createBlock(vue.unref(office.OfficeTab), {
17100
+ key: 1,
16903
17101
  handle: "progress",
16904
17102
  icon: "info-circle",
16905
17103
  title: "Progress"
@@ -16955,8 +17153,8 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
16955
17153
  };
16956
17154
  }
16957
17155
  });
16958
- const ResponsibilitySingle_vue_vue_type_style_index_0_scoped_5d6b22e8_lang = "";
16959
- const ResponsibilitySingle = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-5d6b22e8"]]);
17156
+ const ResponsibilitySingle_vue_vue_type_style_index_0_scoped_5c8b04ca_lang = "";
17157
+ const ResponsibilitySingle = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-5c8b04ca"]]);
16960
17158
  const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
16961
17159
  __name: "ResponsibilityStaff",
16962
17160
  setup(__props) {
@@ -17061,9 +17259,40 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
17061
17259
  _: 1
17062
17260
  /* STABLE */
17063
17261
  }),
17064
- vue.createCommentVNode(" PROGRESS "),
17262
+ vue.createCommentVNode(" LAPORAN "),
17065
17263
  !vue.unref(isNew) ? (vue.openBlock(), vue.createBlock(vue.unref(office.OfficeTab), {
17066
17264
  key: 0,
17265
+ handle: "report",
17266
+ icon: "info-circle",
17267
+ title: "Laporan"
17268
+ }, {
17269
+ default: vue.withCtx(() => [
17270
+ vue.createVNode(vue.unref(form.NeonForm), {
17271
+ handle: "report",
17272
+ "initial-values": vue.unref(initialValues),
17273
+ "is-loading": vue.unref(isLoading),
17274
+ "is-changed": vue.unref(isChanged),
17275
+ "use-unsaved": "",
17276
+ onCancel: vue.unref(discardChanges),
17277
+ onSubmit: vue.unref(saveOne)
17278
+ }, {
17279
+ default: vue.withCtx(() => [
17280
+ vue.unref(isNew) || vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
17281
+ key: 0,
17282
+ modelValue: vue.unref(values).reports,
17283
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).reports = $event)
17284
+ }, vue.unref(fields).reports), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true)
17285
+ ]),
17286
+ _: 1
17287
+ /* STABLE */
17288
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
17289
+ ]),
17290
+ _: 1
17291
+ /* STABLE */
17292
+ })) : vue.createCommentVNode("v-if", true),
17293
+ vue.createCommentVNode(" PROGRESS "),
17294
+ !vue.unref(isNew) ? (vue.openBlock(), vue.createBlock(vue.unref(office.OfficeTab), {
17295
+ key: 1,
17067
17296
  handle: "progress",
17068
17297
  icon: "info-circle",
17069
17298
  title: "Progress"
@@ -17119,8 +17348,8 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
17119
17348
  };
17120
17349
  }
17121
17350
  });
17122
- const ResponsibilityStaff_vue_vue_type_style_index_0_scoped_a39df700_lang = "";
17123
- const ResponsibilityStaff = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-a39df700"]]);
17351
+ const ResponsibilityStaff_vue_vue_type_style_index_0_scoped_6c8c000f_lang = "";
17352
+ const ResponsibilityStaff = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-6c8c000f"]]);
17124
17353
  const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
17125
17354
  __name: "ResponsibilitySupervisor",
17126
17355
  setup(__props) {
@@ -17225,9 +17454,40 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
17225
17454
  _: 1
17226
17455
  /* STABLE */
17227
17456
  }),
17228
- vue.createCommentVNode(" PROGRESS "),
17457
+ vue.createCommentVNode(" LAPORAN "),
17229
17458
  !vue.unref(isNew) ? (vue.openBlock(), vue.createBlock(vue.unref(office.OfficeTab), {
17230
17459
  key: 0,
17460
+ handle: "report",
17461
+ icon: "info-circle",
17462
+ title: "Laporan"
17463
+ }, {
17464
+ default: vue.withCtx(() => [
17465
+ vue.createVNode(vue.unref(form.NeonForm), {
17466
+ handle: "report",
17467
+ "initial-values": vue.unref(initialValues),
17468
+ "is-loading": vue.unref(isLoading),
17469
+ "is-changed": vue.unref(isChanged),
17470
+ "use-unsaved": "",
17471
+ onCancel: vue.unref(discardChanges),
17472
+ onSubmit: vue.unref(saveOne)
17473
+ }, {
17474
+ default: vue.withCtx(() => [
17475
+ vue.unref(isNew) || vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
17476
+ key: 0,
17477
+ modelValue: vue.unref(values).reports,
17478
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).reports = $event)
17479
+ }, vue.unref(fields).reports), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true)
17480
+ ]),
17481
+ _: 1
17482
+ /* STABLE */
17483
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
17484
+ ]),
17485
+ _: 1
17486
+ /* STABLE */
17487
+ })) : vue.createCommentVNode("v-if", true),
17488
+ vue.createCommentVNode(" PROGRESS "),
17489
+ !vue.unref(isNew) ? (vue.openBlock(), vue.createBlock(vue.unref(office.OfficeTab), {
17490
+ key: 1,
17231
17491
  handle: "progress",
17232
17492
  icon: "info-circle",
17233
17493
  title: "Progress"
@@ -17283,8 +17543,8 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
17283
17543
  };
17284
17544
  }
17285
17545
  });
17286
- const ResponsibilitySupervisor_vue_vue_type_style_index_0_scoped_3951b2f3_lang = "";
17287
- const ResponsibilitySupervisor = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-3951b2f3"]]);
17546
+ const ResponsibilitySupervisor_vue_vue_type_style_index_0_scoped_291d61f5_lang = "";
17547
+ const ResponsibilitySupervisor = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-291d61f5"]]);
17288
17548
  const ResponsibilityTypeModel = personaliaModels.models.ResponsibilityTypeModel;
17289
17549
  const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
17290
17550
  ...{
@@ -17441,8 +17701,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
17441
17701
  vue.createVNode(vue.unref(office.OfficeRelation), {
17442
17702
  modelValue: vue.unref(values),
17443
17703
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(values) ? values.value = $event : null),
17444
- field: vue.unref(fields).branches,
17445
- fragment: { id: 1, display: 1, name: 1 }
17704
+ field: vue.unref(fields).branches
17446
17705
  }, null, 8, ["modelValue", "field"]),
17447
17706
  vue.createVNode(vue.unref(office.OfficeRelation), {
17448
17707
  modelValue: vue.unref(values),
@@ -17619,7 +17878,6 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
17619
17878
  modelValue: vue.unref(values),
17620
17879
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(values) ? values.value = $event : null),
17621
17880
  field: vue.unref(fields).branches,
17622
- fragment: { id: 1, display: 1, name: 1 },
17623
17881
  query: onBranchState.value
17624
17882
  }, null, 8, ["modelValue", "field", "query"]),
17625
17883
  vue.createVNode(vue.unref(office.OfficeRelation), {
@@ -17632,7 +17890,6 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
17632
17890
  modelValue: vue.unref(values),
17633
17891
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
17634
17892
  field: vue.unref(fields).situationReportedBy,
17635
- fragment: { id: 1, display: 1, name: 1 },
17636
17893
  "is-disabled": ""
17637
17894
  }, null, 8, ["modelValue", "field"]),
17638
17895
  vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-4" }, {
@@ -17912,8 +18169,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
17912
18169
  vue.createVNode(vue.unref(office.OfficeRelation), {
17913
18170
  modelValue: vue.unref(values),
17914
18171
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(values) ? values.value = $event : null),
17915
- field: vue.unref(fields).branches,
17916
- fragment: { id: 1, display: 1, name: 1 }
18172
+ field: vue.unref(fields).branches
17917
18173
  }, null, 8, ["modelValue", "field"])
17918
18174
  ]),
17919
18175
  _: 1
@@ -18064,14 +18320,12 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
18064
18320
  vue.createVNode(vue.unref(office.OfficeRelation), {
18065
18321
  modelValue: vue.unref(values),
18066
18322
  "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.isRef(values) ? values.value = $event : null),
18067
- field: vue.unref(fields).branch,
18068
- fragment: { id: 1, display: 1, name: 1 }
18323
+ field: vue.unref(fields).branch
18069
18324
  }, null, 8, ["modelValue", "field"]),
18070
18325
  vue.createVNode(vue.unref(office.OfficeRelation), {
18071
18326
  modelValue: vue.unref(values),
18072
18327
  "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.isRef(values) ? values.value = $event : null),
18073
- field: vue.unref(fields).branches,
18074
- fragment: { id: 1, display: 1, name: 1 }
18328
+ field: vue.unref(fields).branches
18075
18329
  }, null, 8, ["modelValue", "field"])
18076
18330
  ]),
18077
18331
  _: 1
@@ -18109,8 +18363,8 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
18109
18363
  };
18110
18364
  }
18111
18365
  });
18112
- const StaffSingle_vue_vue_type_style_index_0_scoped_9b47f55c_lang = "";
18113
- const StaffSingle = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-9b47f55c"]]);
18366
+ const StaffSingle_vue_vue_type_style_index_0_scoped_be2a1aa4_lang = "";
18367
+ const StaffSingle = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-be2a1aa4"]]);
18114
18368
  const _hoisted_1$5 = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
18115
18369
  const _hoisted_2$5 = { class: "grid gap-4 sm:grid-cols-2" };
18116
18370
  const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
@@ -18222,14 +18476,12 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
18222
18476
  vue.createVNode(vue.unref(office.OfficeRelation), {
18223
18477
  modelValue: vue.unref(values),
18224
18478
  "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.isRef(values) ? values.value = $event : null),
18225
- field: vue.unref(fields).branch,
18226
- fragment: { id: 1, display: 1, name: 1 }
18479
+ field: vue.unref(fields).branch
18227
18480
  }, null, 8, ["modelValue", "field"]),
18228
18481
  vue.createVNode(vue.unref(office.OfficeRelation), {
18229
18482
  modelValue: vue.unref(values),
18230
18483
  "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.isRef(values) ? values.value = $event : null),
18231
- field: vue.unref(fields).branches,
18232
- fragment: { id: 1, display: 1, name: 1 }
18484
+ field: vue.unref(fields).branches
18233
18485
  }, null, 8, ["modelValue", "field"])
18234
18486
  ]),
18235
18487
  _: 1
@@ -18274,8 +18526,8 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
18274
18526
  };
18275
18527
  }
18276
18528
  });
18277
- const StaffOperasional_vue_vue_type_style_index_0_scoped_c1a371ec_lang = "";
18278
- const StaffOperasional = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-c1a371ec"]]);
18529
+ const StaffOperasional_vue_vue_type_style_index_0_scoped_759338da_lang = "";
18530
+ const StaffOperasional = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-759338da"]]);
18279
18531
  const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
18280
18532
  __name: "StaffIdentity",
18281
18533
  setup(__props) {
@@ -18361,6 +18613,9 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
18361
18613
  { id: "6309c3c2e64a1324b8663dab", name: "Karyawan" },
18362
18614
  { id: "646a42976af710fe3618af9a", name: "Pengawas Pengajuan" },
18363
18615
  { id: "646a43106af710fe3618afca", name: "Pengambil Keputusan" },
18616
+ { id: "654a0b3fb487f9f1087347aa", name: "Karyawan Poin" },
18617
+ { id: "654ad81bb487f9f1087347e7", name: "Pengelola Poin" },
18618
+ { id: "6555a130fdd768dbbb18d717", name: "Intelijen" },
18364
18619
  // OPERASIONAL
18365
18620
  {
18366
18621
  id: "64a686ba3fe0bb481faa0f8b",
@@ -18508,6 +18763,10 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
18508
18763
  isReadonly: {
18509
18764
  type: Boolean,
18510
18765
  default: false
18766
+ },
18767
+ toolbar: {
18768
+ type: String,
18769
+ default: ""
18511
18770
  }
18512
18771
  },
18513
18772
  setup(__props) {
@@ -18530,8 +18789,9 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
18530
18789
  "use-pages": false,
18531
18790
  "is-ready": vue.unref(isReady) && isTouched,
18532
18791
  "is-loading": vue.unref(isLoading),
18533
- "is-readonly": __props.isReadonly
18534
- }, null, 8, ["application-id", "object", "is-ready", "is-loading", "is-readonly"])
18792
+ "is-readonly": __props.isReadonly,
18793
+ toolbar: __props.toolbar
18794
+ }, null, 8, ["application-id", "object", "is-ready", "is-loading", "is-readonly", "toolbar"])
18535
18795
  ]),
18536
18796
  _: 1
18537
18797
  /* STABLE */
@@ -18716,7 +18976,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
18716
18976
  /* STABLE */
18717
18977
  }),
18718
18978
  vue.createCommentVNode(" DOKUMEN "),
18719
- vue.createVNode(vue.unref(_sfc_main$h))
18979
+ vue.createVNode(vue.unref(_sfc_main$h), { toolbar: "side" })
18720
18980
  ]),
18721
18981
  _: 1
18722
18982
  /* STABLE */
@@ -18728,8 +18988,8 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
18728
18988
  };
18729
18989
  }
18730
18990
  });
18731
- const SubmissionSingle_vue_vue_type_style_index_0_scoped_c1610cc9_lang = "";
18732
- const SubmissionSingle = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-c1610cc9"]]);
18991
+ const SubmissionSingle_vue_vue_type_style_index_0_scoped_078a8494_lang = "";
18992
+ const SubmissionSingle = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-078a8494"]]);
18733
18993
  const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
18734
18994
  __name: "SubmissionStaff",
18735
18995
  setup(__props) {
@@ -18773,6 +19033,39 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
18773
19033
  ]
18774
19034
  };
18775
19035
  });
19036
+ const submissionStaffOptions = vue.computed(() => {
19037
+ return {
19038
+ filter: [
19039
+ {
19040
+ handle: "branchIds",
19041
+ operator: "in",
19042
+ value: values.value.branchIds
19043
+ }
19044
+ ]
19045
+ };
19046
+ });
19047
+ const roleStaffOptions = vue.computed(() => {
19048
+ return {
19049
+ filter: [
19050
+ {
19051
+ handle: "virtualRoleIds",
19052
+ operator: "eq",
19053
+ value: "646a42976af710fe3618af9a"
19054
+ }
19055
+ ]
19056
+ };
19057
+ });
19058
+ const roleDecideStaffOptions = vue.computed(() => {
19059
+ return {
19060
+ filter: [
19061
+ {
19062
+ handle: "virtualRoleIds",
19063
+ operator: "eq",
19064
+ value: "646a43106af710fe3618afca"
19065
+ }
19066
+ ]
19067
+ };
19068
+ });
18776
19069
  const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
18777
19070
  vue.watch(isNew, setDefaultValues, { immediate: true });
18778
19071
  async function setDefaultValues() {
@@ -18865,19 +19158,16 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
18865
19158
  modelValue: vue.unref(values),
18866
19159
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
18867
19160
  field: vue.unref(fields).submissionStaffs,
18868
- "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",
18869
- fragment: {
18870
- id: 1,
18871
- name: 1,
18872
- display: 1
18873
- }
18874
- }, null, 8, ["modelValue", "field", "is-disabled"]),
19161
+ query: vue.unref(query.Query).define(submissionStaffOptions.value),
19162
+ "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"
19163
+ }, null, 8, ["modelValue", "field", "query", "is-disabled"]),
18875
19164
  vue.createVNode(vue.unref(office.OfficeRelation), {
18876
19165
  modelValue: vue.unref(values),
18877
19166
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.isRef(values) ? values.value = $event : null),
18878
19167
  field: vue.unref(fields).raiseStaffs,
19168
+ query: vue.unref(query.Query).define(roleStaffOptions.value),
18879
19169
  "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"
18880
- }, null, 8, ["modelValue", "field", "is-disabled"])
19170
+ }, null, 8, ["modelValue", "field", "query", "is-disabled"])
18881
19171
  ]),
18882
19172
  _: 1
18883
19173
  /* STABLE */
@@ -18888,8 +19178,9 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
18888
19178
  modelValue: vue.unref(values),
18889
19179
  "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.isRef(values) ? values.value = $event : null),
18890
19180
  field: vue.unref(fields).decideStaffs,
19181
+ query: vue.unref(query.Query).define(roleDecideStaffOptions.value),
18891
19182
  "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"
18892
- }, null, 8, ["modelValue", "field", "is-disabled"]),
19183
+ }, null, 8, ["modelValue", "field", "query", "is-disabled"]),
18893
19184
  vue.createVNode(vue.unref(office.OfficeRelation), {
18894
19185
  modelValue: vue.unref(values),
18895
19186
  "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.isRef(values) ? values.value = $event : null),
@@ -18971,6 +19262,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
18971
19262
  }),
18972
19263
  vue.createCommentVNode(" DOKUMEN "),
18973
19264
  vue.createVNode(vue.unref(_sfc_main$h), {
19265
+ toolbar: "side",
18974
19266
  "is-readonly": 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"
18975
19267
  }, null, 8, ["is-readonly"])
18976
19268
  ]),
@@ -18984,8 +19276,8 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
18984
19276
  };
18985
19277
  }
18986
19278
  });
18987
- const SubmissionStaff_vue_vue_type_style_index_0_scoped_21c19bac_lang = "";
18988
- const SubmissionStaff = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-21c19bac"]]);
19279
+ const SubmissionStaff_vue_vue_type_style_index_0_scoped_a1d7dded_lang = "";
19280
+ const SubmissionStaff = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-a1d7dded"]]);
18989
19281
  const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
18990
19282
  __name: "SubmissionFollowUp",
18991
19283
  setup(__props) {
@@ -19133,7 +19425,10 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
19133
19425
  /* STABLE */
19134
19426
  }),
19135
19427
  vue.createCommentVNode(" DOKUMEN "),
19136
- vue.createVNode(vue.unref(_sfc_main$h), { "is-readonly": "" })
19428
+ vue.createVNode(vue.unref(_sfc_main$h), {
19429
+ toolbar: "side",
19430
+ "is-readonly": ""
19431
+ })
19137
19432
  ]),
19138
19433
  _: 1
19139
19434
  /* STABLE */
@@ -19145,8 +19440,8 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
19145
19440
  };
19146
19441
  }
19147
19442
  });
19148
- const SubmissionFollowUp_vue_vue_type_style_index_0_scoped_3f0580bf_lang = "";
19149
- const SubmissionFollowUp = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-3f0580bf"]]);
19443
+ const SubmissionFollowUp_vue_vue_type_style_index_0_scoped_9e50d063_lang = "";
19444
+ const SubmissionFollowUp = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-9e50d063"]]);
19150
19445
  const _hoisted_1$4 = { class: "flex flex-wrap" };
19151
19446
  const _hoisted_2$4 = { class: "mt-2" };
19152
19447
  const _hoisted_3$3 = { class: "mt-2" };
@@ -19172,6 +19467,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
19172
19467
  executeOne
19173
19468
  } = context.useSingle();
19174
19469
  const { staff } = useOperasional();
19470
+ context.usePermit();
19175
19471
  const branchOptions = vue.computed(() => {
19176
19472
  var _a2;
19177
19473
  return {
@@ -19195,6 +19491,39 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
19195
19491
  ]
19196
19492
  };
19197
19493
  });
19494
+ const submissionStaffOptions = vue.computed(() => {
19495
+ return {
19496
+ filter: [
19497
+ {
19498
+ handle: "branchIds",
19499
+ operator: "in",
19500
+ value: values.value.branchIds
19501
+ }
19502
+ ]
19503
+ };
19504
+ });
19505
+ const roleStaffOptions = vue.computed(() => {
19506
+ return {
19507
+ filter: [
19508
+ {
19509
+ handle: "virtualRoleIds",
19510
+ operator: "eq",
19511
+ value: "646a42976af710fe3618af9a"
19512
+ }
19513
+ ]
19514
+ };
19515
+ });
19516
+ const roleDecideStaffOptions = vue.computed(() => {
19517
+ return {
19518
+ filter: [
19519
+ {
19520
+ handle: "virtualRoleIds",
19521
+ operator: "eq",
19522
+ value: "646a43106af710fe3618afca"
19523
+ }
19524
+ ]
19525
+ };
19526
+ });
19198
19527
  const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
19199
19528
  vue.watch(isNew, setDefaultValues, { immediate: true });
19200
19529
  async function setDefaultValues() {
@@ -19369,14 +19698,16 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
19369
19698
  modelValue: vue.unref(values),
19370
19699
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
19371
19700
  field: vue.unref(fields).submissionStaffs,
19701
+ query: vue.unref(query.Query).define(submissionStaffOptions.value),
19372
19702
  "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"
19373
- }, null, 8, ["modelValue", "field", "is-disabled"]),
19703
+ }, null, 8, ["modelValue", "field", "query", "is-disabled"]),
19374
19704
  vue.createVNode(vue.unref(office.OfficeRelation), {
19375
19705
  modelValue: vue.unref(values),
19376
19706
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.isRef(values) ? values.value = $event : null),
19377
19707
  field: vue.unref(fields).raiseStaffs,
19708
+ query: vue.unref(query.Query).define(roleStaffOptions.value),
19378
19709
  "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"
19379
- }, null, 8, ["modelValue", "field", "is-disabled"])
19710
+ }, null, 8, ["modelValue", "field", "query", "is-disabled"])
19380
19711
  ]),
19381
19712
  _: 1
19382
19713
  /* STABLE */
@@ -19387,8 +19718,9 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
19387
19718
  modelValue: vue.unref(values),
19388
19719
  "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.isRef(values) ? values.value = $event : null),
19389
19720
  field: vue.unref(fields).decideStaffs,
19721
+ query: vue.unref(query.Query).define(roleDecideStaffOptions.value),
19390
19722
  "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"
19391
- }, null, 8, ["modelValue", "field", "is-disabled"]),
19723
+ }, null, 8, ["modelValue", "field", "query", "is-disabled"]),
19392
19724
  vue.createVNode(vue.unref(office.OfficeRelation), {
19393
19725
  modelValue: vue.unref(values),
19394
19726
  "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.isRef(values) ? values.value = $event : null),
@@ -19469,6 +19801,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
19469
19801
  }),
19470
19802
  vue.createCommentVNode(" DOKUMEN "),
19471
19803
  vue.createVNode(vue.unref(_sfc_main$h), {
19804
+ toolbar: "side",
19472
19805
  "is-readonly": 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"
19473
19806
  }, null, 8, ["is-readonly"]),
19474
19807
  vue.createCommentVNode(" PROGRESS "),
@@ -19526,8 +19859,8 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
19526
19859
  };
19527
19860
  }
19528
19861
  });
19529
- const SubmissionAudit_vue_vue_type_style_index_0_scoped_c6a38aff_lang = "";
19530
- const SubmissionAudit = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-c6a38aff"]]);
19862
+ const SubmissionAudit_vue_vue_type_style_index_0_scoped_28175769_lang = "";
19863
+ const SubmissionAudit = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-28175769"]]);
19531
19864
  const _hoisted_1$3 = { class: "flex flex-wrap" };
19532
19865
  const _hoisted_2$3 = { class: "mt-2" };
19533
19866
  const _hoisted_3$2 = { class: "mt-2" };
@@ -19574,6 +19907,39 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
19574
19907
  ]
19575
19908
  };
19576
19909
  });
19910
+ const submissionStaffOptions = vue.computed(() => {
19911
+ return {
19912
+ filter: [
19913
+ {
19914
+ handle: "branchIds",
19915
+ operator: "in",
19916
+ value: values.value.branchIds
19917
+ }
19918
+ ]
19919
+ };
19920
+ });
19921
+ const roleStaffOptions = vue.computed(() => {
19922
+ return {
19923
+ filter: [
19924
+ {
19925
+ handle: "virtualRoleIds",
19926
+ operator: "eq",
19927
+ value: "646a42976af710fe3618af9a"
19928
+ }
19929
+ ]
19930
+ };
19931
+ });
19932
+ const roleDecideStaffOptions = vue.computed(() => {
19933
+ return {
19934
+ filter: [
19935
+ {
19936
+ handle: "virtualRoleIds",
19937
+ operator: "eq",
19938
+ value: "646a43106af710fe3618afca"
19939
+ }
19940
+ ]
19941
+ };
19942
+ });
19577
19943
  const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
19578
19944
  vue.watch(isNew, setDefaultValues, { immediate: true });
19579
19945
  async function setDefaultValues() {
@@ -19710,14 +20076,16 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
19710
20076
  modelValue: vue.unref(values),
19711
20077
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
19712
20078
  field: vue.unref(fields).submissionStaffs,
20079
+ query: vue.unref(query.Query).define(submissionStaffOptions.value),
19713
20080
  "is-disabled": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "delay" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
19714
- }, null, 8, ["modelValue", "field", "is-disabled"]),
20081
+ }, null, 8, ["modelValue", "field", "query", "is-disabled"]),
19715
20082
  vue.createVNode(vue.unref(office.OfficeRelation), {
19716
20083
  modelValue: vue.unref(values),
19717
20084
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.isRef(values) ? values.value = $event : null),
19718
20085
  field: vue.unref(fields).raiseStaffs,
20086
+ query: vue.unref(query.Query).define(roleStaffOptions.value),
19719
20087
  "is-disabled": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "delay" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
19720
- }, null, 8, ["modelValue", "field", "is-disabled"])
20088
+ }, null, 8, ["modelValue", "field", "query", "is-disabled"])
19721
20089
  ]),
19722
20090
  _: 1
19723
20091
  /* STABLE */
@@ -19728,8 +20096,9 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
19728
20096
  modelValue: vue.unref(values),
19729
20097
  "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.isRef(values) ? values.value = $event : null),
19730
20098
  field: vue.unref(fields).decideStaffs,
20099
+ query: vue.unref(query.Query).define(roleDecideStaffOptions.value),
19731
20100
  "is-disabled": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "delay" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
19732
- }, null, 8, ["modelValue", "field", "is-disabled"]),
20101
+ }, null, 8, ["modelValue", "field", "query", "is-disabled"]),
19733
20102
  vue.createVNode(vue.unref(office.OfficeRelation), {
19734
20103
  modelValue: vue.unref(values),
19735
20104
  "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.isRef(values) ? values.value = $event : null),
@@ -19812,6 +20181,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
19812
20181
  }),
19813
20182
  vue.createCommentVNode(" DOKUMEN "),
19814
20183
  vue.createVNode(vue.unref(_sfc_main$h), {
20184
+ toolbar: "side",
19815
20185
  "is-readonly": vue.unref(values).status === "raised" || vue.unref(values).status === "delay" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
19816
20186
  }, null, 8, ["is-readonly"]),
19817
20187
  vue.createCommentVNode(" PROGRESS "),
@@ -19869,8 +20239,8 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
19869
20239
  };
19870
20240
  }
19871
20241
  });
19872
- const SubmissionDecision_vue_vue_type_style_index_0_scoped_eb7ec311_lang = "";
19873
- const SubmissionDecision = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-eb7ec311"]]);
20242
+ const SubmissionDecision_vue_vue_type_style_index_0_scoped_4e58d6fd_lang = "";
20243
+ const SubmissionDecision = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-4e58d6fd"]]);
19874
20244
  const _hoisted_1$2 = { class: "flex flex-wrap" };
19875
20245
  const _hoisted_2$2 = { class: "mt-2" };
19876
20246
  const _hoisted_3$1 = { class: "mt-2" };
@@ -19917,6 +20287,39 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
19917
20287
  ]
19918
20288
  };
19919
20289
  });
20290
+ const submissionStaffOptions = vue.computed(() => {
20291
+ return {
20292
+ filter: [
20293
+ {
20294
+ handle: "branchIds",
20295
+ operator: "in",
20296
+ value: values.value.branchIds
20297
+ }
20298
+ ]
20299
+ };
20300
+ });
20301
+ const roleRaiseStaffOptions = vue.computed(() => {
20302
+ return {
20303
+ filter: [
20304
+ {
20305
+ handle: "virtualRoleIds",
20306
+ operator: "eq",
20307
+ value: "646a42976af710fe3618af9a"
20308
+ }
20309
+ ]
20310
+ };
20311
+ });
20312
+ const roleDecideStaffOptions = vue.computed(() => {
20313
+ return {
20314
+ filter: [
20315
+ {
20316
+ handle: "virtualRoleIds",
20317
+ operator: "eq",
20318
+ value: "646a43106af710fe3618afca"
20319
+ }
20320
+ ]
20321
+ };
20322
+ });
19920
20323
  const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
19921
20324
  vue.watch(isNew, setDefaultValues, { immediate: true });
19922
20325
  async function setDefaultValues() {
@@ -20055,14 +20458,16 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
20055
20458
  modelValue: vue.unref(values),
20056
20459
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
20057
20460
  field: vue.unref(fields).submissionStaffs,
20461
+ query: vue.unref(query.Query).define(submissionStaffOptions.value),
20058
20462
  "is-disabled": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "delay" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
20059
- }, null, 8, ["modelValue", "field", "is-disabled"]),
20463
+ }, null, 8, ["modelValue", "field", "query", "is-disabled"]),
20060
20464
  vue.createVNode(vue.unref(office.OfficeRelation), {
20061
20465
  modelValue: vue.unref(values),
20062
20466
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.isRef(values) ? values.value = $event : null),
20063
20467
  field: vue.unref(fields).raiseStaffs,
20468
+ query: vue.unref(query.Query).define(roleRaiseStaffOptions.value),
20064
20469
  "is-disabled": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "delay" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
20065
- }, null, 8, ["modelValue", "field", "is-disabled"])
20470
+ }, null, 8, ["modelValue", "field", "query", "is-disabled"])
20066
20471
  ]),
20067
20472
  _: 1
20068
20473
  /* STABLE */
@@ -20073,8 +20478,9 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
20073
20478
  modelValue: vue.unref(values),
20074
20479
  "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.isRef(values) ? values.value = $event : null),
20075
20480
  field: vue.unref(fields).decideStaffs,
20481
+ query: vue.unref(query.Query).define(roleDecideStaffOptions.value),
20076
20482
  "is-disabled": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "delay" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
20077
- }, null, 8, ["modelValue", "field", "is-disabled"]),
20483
+ }, null, 8, ["modelValue", "field", "query", "is-disabled"]),
20078
20484
  vue.createVNode(vue.unref(office.OfficeRelation), {
20079
20485
  modelValue: vue.unref(values),
20080
20486
  "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.isRef(values) ? values.value = $event : null),
@@ -20157,6 +20563,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
20157
20563
  }),
20158
20564
  vue.createCommentVNode(" DOKUMEN "),
20159
20565
  vue.createVNode(vue.unref(_sfc_main$h), {
20566
+ toolbar: "side",
20160
20567
  "is-readonly": vue.unref(values).status === "raised" || vue.unref(values).status === "delay" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
20161
20568
  }, null, 8, ["is-readonly"])
20162
20569
  ]),
@@ -20170,8 +20577,8 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
20170
20577
  };
20171
20578
  }
20172
20579
  });
20173
- const SubmissionWaitingDecision_vue_vue_type_style_index_0_scoped_1c4b359e_lang = "";
20174
- const SubmissionWaitingDecision = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-1c4b359e"]]);
20580
+ const SubmissionWaitingDecision_vue_vue_type_style_index_0_scoped_772e4260_lang = "";
20581
+ const SubmissionWaitingDecision = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-772e4260"]]);
20175
20582
  const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
20176
20583
  __name: "SubmissionSupervisor",
20177
20584
  setup(__props) {
@@ -20324,7 +20731,10 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
20324
20731
  /* STABLE */
20325
20732
  }),
20326
20733
  vue.createCommentVNode(" DOKUMEN "),
20327
- vue.createVNode(vue.unref(_sfc_main$h), { "is-readonly": "" })
20734
+ vue.createVNode(vue.unref(_sfc_main$h), {
20735
+ toolbar: "side",
20736
+ "is-readonly": ""
20737
+ })
20328
20738
  ]),
20329
20739
  _: 1
20330
20740
  /* STABLE */
@@ -20336,8 +20746,8 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
20336
20746
  };
20337
20747
  }
20338
20748
  });
20339
- const SubmissionSupervisor_vue_vue_type_style_index_0_scoped_d4720670_lang = "";
20340
- const SubmissionSupervisor = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-d4720670"]]);
20749
+ const SubmissionSupervisor_vue_vue_type_style_index_0_scoped_ffab5a6b_lang = "";
20750
+ const SubmissionSupervisor = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-ffab5a6b"]]);
20341
20751
  const SubmissionTypeModel = personaliaModels.models.SubmissionTypeModel;
20342
20752
  const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
20343
20753
  ...{