@neutron.co.id/operasional-interfaces 1.17.5 → 1.17.7

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.
Files changed (69) hide show
  1. package/build/@office/config.mjs +12 -0
  2. package/build/@office/models/personalia/attendance/AttendanceManager.vue +5 -5
  3. package/build/@office/models/personalia/attendance/AttendanceSingle/AttendanceSingle.vue +2 -1
  4. package/build/@office/models/personalia/attendanceType/AttendanceTypeCollection/AttendanceTypeCollection.vue +23 -0
  5. package/build/@office/models/personalia/attendanceType/AttendanceTypeCollection/AttendanceTypeTypeCollection.stories.d.ts +7 -0
  6. package/build/@office/models/personalia/attendanceType/AttendanceTypeCollection/AttendanceTypeTypeCollection.stories.mjs +40 -0
  7. package/build/@office/models/personalia/attendanceType/AttendanceTypeCollection/index.d.ts +1 -0
  8. package/build/@office/models/personalia/attendanceType/AttendanceTypeCollection/index.mjs +1 -0
  9. package/build/@office/models/personalia/attendanceType/AttendanceTypeSingle/AttendanceTypeSingle.stories.d.ts +8 -0
  10. package/build/@office/models/personalia/attendanceType/AttendanceTypeSingle/AttendanceTypeSingle.stories.mjs +47 -0
  11. package/build/@office/models/personalia/attendanceType/AttendanceTypeSingle/AttendanceTypeSingle.vue +100 -0
  12. package/build/@office/models/personalia/attendanceType/AttendanceTypeSingle/index.d.ts +1 -0
  13. package/build/@office/models/personalia/attendanceType/AttendanceTypeSingle/index.mjs +1 -0
  14. package/build/@office/models/personalia/attendanceType/index.d.ts +2 -0
  15. package/build/@office/models/personalia/attendanceType/index.mjs +2 -0
  16. package/build/@office/models/personalia/index.d.ts +4 -0
  17. package/build/@office/models/personalia/index.mjs +4 -0
  18. package/build/@office/models/personalia/leaveConflict/LeaveConflictCollection/LeaveConflictCollection.vue +34 -0
  19. package/build/@office/models/personalia/leaveConflict/LeaveConflictCollection/index.d.ts +1 -0
  20. package/build/@office/models/personalia/leaveConflict/LeaveConflictCollection/index.mjs +1 -0
  21. package/build/@office/models/personalia/leaveConflict/LeaveConflictSingle/LeaveConflictSingle.vue +27 -0
  22. package/build/@office/models/personalia/leaveConflict/LeaveConflictSingle/index.d.ts +1 -0
  23. package/build/@office/models/personalia/leaveConflict/LeaveConflictSingle/index.mjs +1 -0
  24. package/build/@office/models/personalia/leaveConflict/index.d.ts +2 -0
  25. package/build/@office/models/personalia/leaveConflict/index.mjs +2 -0
  26. package/build/@office/models/personalia/leaveQuota/LeaveQuotaCollection/LeaveQuotaCollection.vue +24 -0
  27. package/build/@office/models/personalia/leaveQuota/LeaveQuotaCollection/index.d.ts +1 -0
  28. package/build/@office/models/personalia/leaveQuota/LeaveQuotaCollection/index.mjs +1 -0
  29. package/build/@office/models/personalia/leaveQuota/LeaveQuotaSingle/LeaveQuotaSingle.vue +210 -0
  30. package/build/@office/models/personalia/leaveQuota/LeaveQuotaSingle/index.d.ts +2 -0
  31. package/build/@office/models/personalia/leaveQuota/LeaveQuotaSingle/index.mjs +2 -0
  32. package/build/@office/models/personalia/leaveQuota/index.d.ts +2 -0
  33. package/build/@office/models/personalia/leaveQuota/index.mjs +2 -0
  34. package/build/@office/models/personalia/leaveStaff/LeaveStaffCollection/LeaveStaffCollection.vue +23 -0
  35. package/build/@office/models/personalia/leaveStaff/LeaveStaffCollection/index.d.ts +1 -0
  36. package/build/@office/models/personalia/leaveStaff/LeaveStaffCollection/index.mjs +1 -0
  37. package/build/@office/models/personalia/leaveStaff/LeaveStaffSingle/LeaveStaffSingle.vue +28 -0
  38. package/build/@office/models/personalia/leaveStaff/LeaveStaffSingle/index.d.ts +1 -0
  39. package/build/@office/models/personalia/leaveStaff/LeaveStaffSingle/index.mjs +1 -0
  40. package/build/@office/models/personalia/leaveStaff/index.d.ts +2 -0
  41. package/build/@office/models/personalia/leaveStaff/index.mjs +2 -0
  42. package/build/@package/@office/models/personalia/attendanceType/AttendanceTypeCollection/AttendanceTypeCollection.vue.d.ts +2 -0
  43. package/build/@package/@office/models/personalia/attendanceType/AttendanceTypeCollection/index.d.ts +1 -0
  44. package/build/@package/@office/models/personalia/attendanceType/AttendanceTypeSingle/AttendanceTypeSingle.vue.d.ts +2 -0
  45. package/build/@package/@office/models/personalia/attendanceType/AttendanceTypeSingle/index.d.ts +1 -0
  46. package/build/@package/@office/models/personalia/attendanceType/index.d.ts +2 -0
  47. package/build/@package/@office/models/personalia/index.d.ts +4 -0
  48. package/build/@package/@office/models/personalia/leaveConflict/LeaveConflictCollection/LeaveConflictCollection.vue.d.ts +2 -0
  49. package/build/@package/@office/models/personalia/leaveConflict/LeaveConflictCollection/index.d.ts +1 -0
  50. package/build/@package/@office/models/personalia/leaveConflict/LeaveConflictSingle/LeaveConflictSingle.vue.d.ts +2 -0
  51. package/build/@package/@office/models/personalia/leaveConflict/LeaveConflictSingle/index.d.ts +1 -0
  52. package/build/@package/@office/models/personalia/leaveConflict/index.d.ts +2 -0
  53. package/build/@package/@office/models/personalia/leaveQuota/LeaveQuotaCollection/LeaveQuotaCollection.vue.d.ts +2 -0
  54. package/build/@package/@office/models/personalia/leaveQuota/LeaveQuotaCollection/index.d.ts +1 -0
  55. package/build/@package/@office/models/personalia/leaveQuota/LeaveQuotaSingle/LeaveQuotaSingle.vue.d.ts +2 -0
  56. package/build/@package/@office/models/personalia/leaveQuota/LeaveQuotaSingle/index.d.ts +2 -0
  57. package/build/@package/@office/models/personalia/leaveQuota/index.d.ts +2 -0
  58. package/build/@package/@office/models/personalia/leaveStaff/LeaveStaffCollection/LeaveStaffCollection.vue.d.ts +2 -0
  59. package/build/@package/@office/models/personalia/leaveStaff/LeaveStaffCollection/index.d.ts +1 -0
  60. package/build/@package/@office/models/personalia/leaveStaff/LeaveStaffSingle/LeaveStaffSingle.vue.d.ts +2 -0
  61. package/build/@package/@office/models/personalia/leaveStaff/LeaveStaffSingle/index.d.ts +1 -0
  62. package/build/@package/@office/models/personalia/leaveStaff/index.d.ts +2 -0
  63. package/build/mock/index.cjs +742 -192
  64. package/build/mock/index.mjs +744 -194
  65. package/build/mock/style.css +6 -2
  66. package/build/module.json +1 -1
  67. package/build/nuxt.json +1 -1
  68. package/build/nuxt.mjs +12 -0
  69. package/package.json +6 -6
@@ -3,8 +3,8 @@ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { en
3
3
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
4
  import { NeonEditorPlugin } from "@neon.id/editor";
5
5
  import { NeonFieldPlugin } from "@neon.id/field";
6
- import { NeonField, NeonForm, NeonFields, NeonCheck, NeonFormPlugin } from "@neon.id/form";
7
- import { NeonAvatar, NeonDivider, NeonModal, NeonSheet, useToastStore, NeonButton, NeonAlert, NeonSlider, NeonSlide, NeonStat, NeonInfo, NeonCopy, NeonPart, registerDirectives, registerIconComponents } from "@neon.id/interfaces";
6
+ import { NeonField, NeonForm, NeonCheck, NeonFields, NeonFormPlugin } from "@neon.id/form";
7
+ import { NeonAvatar, NeonDivider, NeonModal, NeonSheet, useToastStore, NeonButton, NeonAlert, useToast, NeonSlider, NeonSlide, NeonStat, NeonInfo, NeonCopy, NeonPart, registerDirectives, registerIconComponents } from "@neon.id/interfaces";
8
8
  import { OfficeCollectionTable, OfficeCollectionCalendar, OfficeTabs, OfficeTab, OfficeRelation, OfficeContent, OfficePeekSingle, OfficeCollectionQuery, OfficeCollectionOperation, OfficeCollectionRelated, OfficeCollectionContent, NeonOfficePlugin } from "@neon.id/office";
9
9
  import { withRelation, NeonRelationSheet, NeonRelationPlugin } from "@neon.id/relation";
10
10
  import { defineComponent, ref, computed, h, watch, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createBlock, unref, mergeProps, createCommentVNode, reactive, onMounted, onUnmounted, toRefs, inject, watchEffect, provide, nextTick, resolveDynamicComponent, normalizeProps, renderSlot, normalizeClass, createElementVNode, toDisplayString, Fragment, renderList, normalizeStyle, withKeys, withDirectives, toRef, guardReactiveProps, createTextVNode, isRef, Transition, resolveDirective, toHandlers, withModifiers, pushScopeId, popScopeId, onBeforeUnmount, vShow } from "vue";
@@ -1496,7 +1496,7 @@ const _hoisted_2$q = {
1496
1496
  key: 2,
1497
1497
  class: "section"
1498
1498
  };
1499
- const _sfc_main$1m = /* @__PURE__ */ defineComponent({
1499
+ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
1500
1500
  ...{ name: "OperasionalIdentitas" },
1501
1501
  __name: "OperasionalIdentitas",
1502
1502
  props: {
@@ -1857,7 +1857,7 @@ const _export_sfc$1 = (sfc, props) => {
1857
1857
  }
1858
1858
  return target;
1859
1859
  };
1860
- const OperasionalIdentitas = /* @__PURE__ */ _export_sfc$1(_sfc_main$1m, [["__scopeId", "data-v-0befc683"]]);
1860
+ const OperasionalIdentitas = /* @__PURE__ */ _export_sfc$1(_sfc_main$1u, [["__scopeId", "data-v-0befc683"]]);
1861
1861
  var top = "top";
1862
1862
  var bottom = "bottom";
1863
1863
  var right = "right";
@@ -11415,7 +11415,7 @@ const _sfc_main$1$1 = /* @__PURE__ */ defineComponent({
11415
11415
  };
11416
11416
  }
11417
11417
  });
11418
- const _sfc_main$1l = defineComponent({
11418
+ const _sfc_main$1t = defineComponent({
11419
11419
  inheritAttrs: false,
11420
11420
  emits,
11421
11421
  props: propsDef,
@@ -11434,7 +11434,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
11434
11434
  createVNode(_component_DatePickerPopover, normalizeProps(guardReactiveProps(_ctx.$attrs)), null, 16)
11435
11435
  ], 64)) : (openBlock(), createBlock(_component_DatePickerBase, normalizeProps(mergeProps({ key: 1 }, _ctx.$attrs)), null, 16));
11436
11436
  }
11437
- const DatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["render", _sfc_render]]);
11437
+ const DatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["render", _sfc_render]]);
11438
11438
  dayjs.extend(durationPlugin);
11439
11439
  dayjs.extend(relativeTimePlugin);
11440
11440
  dayjs.extend(advancedFormat);
@@ -11462,7 +11462,7 @@ const _hoisted_2$o = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ create
11462
11462
  const _hoisted_3$f = [
11463
11463
  _hoisted_2$o
11464
11464
  ];
11465
- const _sfc_main$1k = /* @__PURE__ */ defineComponent({
11465
+ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
11466
11466
  __name: "NeonTime",
11467
11467
  props: {
11468
11468
  modelValue: {
@@ -11521,7 +11521,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
11521
11521
  };
11522
11522
  }
11523
11523
  });
11524
- const NeonTime = /* @__PURE__ */ _export_sfc$1(_sfc_main$1k, [["__scopeId", "data-v-af42e627"]]);
11524
+ const NeonTime = /* @__PURE__ */ _export_sfc$1(_sfc_main$1s, [["__scopeId", "data-v-af42e627"]]);
11525
11525
  const useAttendanceStore = defineStore("neu:personalia:attendance", {
11526
11526
  state: () => ({
11527
11527
  isEntering: false,
@@ -12945,7 +12945,7 @@ const _hoisted_1$z = {
12945
12945
  key: 0,
12946
12946
  class: "office-single-sync"
12947
12947
  };
12948
- const _sfc_main$1j = /* @__PURE__ */ defineComponent({
12948
+ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
12949
12949
  ...{ name: "OfficeSingleSync" },
12950
12950
  __name: "OfficeSingleSync",
12951
12951
  setup(__props) {
@@ -12985,9 +12985,9 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
12985
12985
  };
12986
12986
  }
12987
12987
  });
12988
- const OfficeSingleSync = /* @__PURE__ */ _export_sfc$1(_sfc_main$1j, [["__scopeId", "data-v-3dbc6c7d"]]);
12988
+ const OfficeSingleSync = /* @__PURE__ */ _export_sfc$1(_sfc_main$1r, [["__scopeId", "data-v-3dbc6c7d"]]);
12989
12989
  const _hoisted_1$y = { class: "period-button" };
12990
- const _sfc_main$1i = /* @__PURE__ */ defineComponent({
12990
+ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
12991
12991
  ...{ name: "PeriodButton" },
12992
12992
  __name: "PeriodButton",
12993
12993
  emits: ["update:period", "update:date", "sync"],
@@ -13035,9 +13035,9 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
13035
13035
  };
13036
13036
  }
13037
13037
  });
13038
- const PeriodButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["__scopeId", "data-v-5f2c3308"]]);
13038
+ const PeriodButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$1q, [["__scopeId", "data-v-5f2c3308"]]);
13039
13039
  const _hoisted_1$x = { id: "grading-actions" };
13040
- const _sfc_main$1h = /* @__PURE__ */ defineComponent({
13040
+ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
13041
13041
  ...{ name: "NeutronImportButton" },
13042
13042
  __name: "NeutronImportButton",
13043
13043
  setup(__props) {
@@ -13064,7 +13064,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
13064
13064
  };
13065
13065
  }
13066
13066
  });
13067
- const _sfc_main$1g = /* @__PURE__ */ defineComponent({
13067
+ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
13068
13068
  ...{ name: "AttendanceCollection" },
13069
13069
  __name: "AttendanceCollection",
13070
13070
  props: {
@@ -13117,7 +13117,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
13117
13117
  });
13118
13118
  const _hoisted_1$w = { class: "grid gap-2 sm:grid-cols-2" };
13119
13119
  const _hoisted_2$n = { class: "text-right text-fg-subdued text-sm" };
13120
- const _sfc_main$1f = /* @__PURE__ */ defineComponent({
13120
+ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
13121
13121
  __name: "AttendanceSingle",
13122
13122
  setup(__props) {
13123
13123
  const {
@@ -13196,10 +13196,11 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
13196
13196
  note: "Tanggal absensi."
13197
13197
  }
13198
13198
  }, { "onUpdate:modelValue": onStartedAtUpdate }), null, 16, ["model-value"])),
13199
- createVNode(unref(NeonField), mergeProps({
13200
- modelValue: unref(values).type,
13201
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => unref(values).type = $event)
13202
- }, unref(fields).type), null, 16, ["modelValue"]),
13199
+ createVNode(unref(OfficeRelation), {
13200
+ modelValue: unref(values),
13201
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => isRef(values) ? values.value = $event : null),
13202
+ field: unref(fields).type
13203
+ }, null, 8, ["modelValue", "field"]),
13203
13204
  createVNode(unref(OfficeRelation), {
13204
13205
  modelValue: unref(values),
13205
13206
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(values) ? values.value = $event : null),
@@ -13294,7 +13295,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
13294
13295
  };
13295
13296
  }
13296
13297
  });
13297
- const AttendanceSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$1f, [["__scopeId", "data-v-68aaccaa"]]);
13298
+ const AttendanceSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$1n, [["__scopeId", "data-v-0f0e0119"]]);
13298
13299
  const _hoisted_1$v = { class: "flex flex-wrap" };
13299
13300
  const _hoisted_2$m = { class: "mt-2" };
13300
13301
  const _hoisted_3$e = { class: "mt-2" };
@@ -13313,7 +13314,7 @@ const _hoisted_8$9 = {
13313
13314
  class: "grid gap-2 sm:grid-cols-2"
13314
13315
  };
13315
13316
  const _hoisted_9$9 = { class: "text-right text-fg-subdued text-sm" };
13316
- const _sfc_main$1e = /* @__PURE__ */ defineComponent({
13317
+ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
13317
13318
  __name: "AttendanceManager",
13318
13319
  setup(__props) {
13319
13320
  var _a;
@@ -13479,7 +13480,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
13479
13480
  field: unref(fields).decideStaff,
13480
13481
  "is-disabled": unref(values).status == "approved" || unref(values).status == "rejected"
13481
13482
  }, null, 8, ["modelValue", "field", "is-disabled"]),
13482
- unref(values).type == "leave" ? (openBlock(), createBlock(unref(OfficeRelation), {
13483
+ unref(values).type === "leave" ? (openBlock(), createBlock(unref(OfficeRelation), {
13483
13484
  key: 0,
13484
13485
  modelValue: unref(values),
13485
13486
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(values) ? values.value = $event : null),
@@ -13496,7 +13497,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
13496
13497
  "is-dashed": "",
13497
13498
  label: "Keterangan"
13498
13499
  })) : createCommentVNode("v-if", true),
13499
- unref(values).type == "dayOff" || unref(values).type == "sick" || unref(values).type == "permission" || unref(values).type == "leave" ? (openBlock(), createBlock(unref(NeonField), mergeProps({
13500
+ unref(values).type === "dayOff" || unref(values).type === "sick" || unref(values).type === "permission" || unref(values).type === "leave" ? (openBlock(), createBlock(unref(NeonField), mergeProps({
13500
13501
  key: 3,
13501
13502
  modelValue: unref(values).submittedAt,
13502
13503
  "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => unref(values).submittedAt = $event)
@@ -13676,7 +13677,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
13676
13677
  };
13677
13678
  }
13678
13679
  });
13679
- const AttendanceManager = /* @__PURE__ */ _export_sfc$1(_sfc_main$1e, [["__scopeId", "data-v-f59b58f4"]]);
13680
+ const AttendanceManager = /* @__PURE__ */ _export_sfc$1(_sfc_main$1m, [["__scopeId", "data-v-2957df27"]]);
13680
13681
  const _hoisted_1$u = {
13681
13682
  key: 1,
13682
13683
  class: "flex flex-wrap"
@@ -13699,7 +13700,7 @@ const _hoisted_9$8 = {
13699
13700
  class: "grid gap-2 sm:grid-cols-2"
13700
13701
  };
13701
13702
  const _hoisted_10$8 = { class: "text-right text-fg-subdued text-sm" };
13702
- const _sfc_main$1d = /* @__PURE__ */ defineComponent({
13703
+ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
13703
13704
  __name: "AttendanceStaff",
13704
13705
  setup(__props) {
13705
13706
  var _a;
@@ -14233,7 +14234,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
14233
14234
  };
14234
14235
  }
14235
14236
  });
14236
- const AttendanceStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$1d, [["__scopeId", "data-v-d413adf3"]]);
14237
+ const AttendanceStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$1l, [["__scopeId", "data-v-d413adf3"]]);
14237
14238
  const _hoisted_1$t = { class: "flex flex-wrap" };
14238
14239
  const _hoisted_2$k = { class: "mt-2" };
14239
14240
  const _hoisted_3$c = { class: "mt-2" };
@@ -14254,7 +14255,7 @@ const _hoisted_10$7 = {
14254
14255
  class: "grid gap-2 sm:grid-cols-2"
14255
14256
  };
14256
14257
  const _hoisted_11$7 = { class: "text-right text-fg-subdued text-sm" };
14257
- const _sfc_main$1c = /* @__PURE__ */ defineComponent({
14258
+ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
14258
14259
  __name: "AttendanceSupervisor",
14259
14260
  setup(__props) {
14260
14261
  var _a;
@@ -14751,8 +14752,8 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
14751
14752
  };
14752
14753
  }
14753
14754
  });
14754
- const AttendanceSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$1c, [["__scopeId", "data-v-07766872"]]);
14755
- const _sfc_main$1b = /* @__PURE__ */ defineComponent({
14755
+ const AttendanceSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$1k, [["__scopeId", "data-v-07766872"]]);
14756
+ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
14756
14757
  __name: "AttendanceDelegate",
14757
14758
  setup(__props) {
14758
14759
  var _a;
@@ -14914,7 +14915,147 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
14914
14915
  };
14915
14916
  }
14916
14917
  });
14917
- const AttendanceDelegate = /* @__PURE__ */ _export_sfc$1(_sfc_main$1b, [["__scopeId", "data-v-538fa6fb"]]);
14918
+ const AttendanceDelegate = /* @__PURE__ */ _export_sfc$1(_sfc_main$1j, [["__scopeId", "data-v-538fa6fb"]]);
14919
+ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
14920
+ ...{ name: "AttendanceTypeCollection" },
14921
+ __name: "AttendanceTypeCollection",
14922
+ setup(__props) {
14923
+ useCollection();
14924
+ return (_ctx, _cache) => {
14925
+ return openBlock(), createBlock(unref(NeonCollection), { class: "neu-attendance-type-collection" }, {
14926
+ default: withCtx(() => [
14927
+ createVNode(unref(OfficeCollectionTable))
14928
+ ]),
14929
+ _: 1
14930
+ /* STABLE */
14931
+ });
14932
+ };
14933
+ }
14934
+ });
14935
+ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
14936
+ __name: "AttendanceTypeSingle",
14937
+ setup(__props) {
14938
+ const {
14939
+ fields,
14940
+ initialValues,
14941
+ values,
14942
+ isLoading,
14943
+ isChanged,
14944
+ isMain,
14945
+ saveOne,
14946
+ discardChanges
14947
+ } = useSingle();
14948
+ const toast = useToast();
14949
+ async function saveCheck() {
14950
+ if (initialValues.value.code === "" || values.value.code === "" || !values.value.code) {
14951
+ toast.push({
14952
+ id: "neu:attendance-type:code",
14953
+ icon: "warning",
14954
+ content: "Kode dari Tipe Absensi belum diisi!",
14955
+ color: "danger",
14956
+ placement: "bottom-right"
14957
+ });
14958
+ return;
14959
+ } else if (values.value.name !== "") {
14960
+ await saveOne();
14961
+ }
14962
+ }
14963
+ return (_ctx, _cache) => {
14964
+ return openBlock(), createBlock(unref(NeonSingle), { class: "neu-attendance-type-single" }, {
14965
+ default: withCtx(() => [
14966
+ createVNode(unref(OfficeTabs), { "use-url": unref(isMain) }, {
14967
+ default: withCtx(() => [
14968
+ createVNode(unref(OfficeTab), {
14969
+ handle: "info",
14970
+ icon: "circle-info",
14971
+ title: "Info"
14972
+ }, {
14973
+ default: withCtx(() => [
14974
+ createVNode(unref(NeonForm), {
14975
+ handle: "info",
14976
+ "initial-values": unref(initialValues),
14977
+ "is-loading": unref(isLoading),
14978
+ "is-changed": unref(isChanged),
14979
+ "use-unsaved": "",
14980
+ onCancel: unref(discardChanges),
14981
+ onSubmit: saveCheck
14982
+ }, {
14983
+ default: withCtx(() => [
14984
+ createVNode(unref(NeonField), mergeProps({
14985
+ modelValue: unref(values).name,
14986
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(values).name = $event)
14987
+ }, unref(fields).name), null, 16, ["modelValue"]),
14988
+ createVNode(unref(NeonField), mergeProps({
14989
+ modelValue: unref(values).code,
14990
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(values).code = $event)
14991
+ }, unref(fields).code), null, 16, ["modelValue"]),
14992
+ createVNode(unref(NeonField), mergeProps({
14993
+ modelValue: unref(values).leaveQuota,
14994
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => unref(values).leaveQuota = $event)
14995
+ }, unref(fields).leaveQuota), null, 16, ["modelValue"]),
14996
+ createVNode(unref(OfficeRelation), {
14997
+ modelValue: unref(values),
14998
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(values) ? values.value = $event : null),
14999
+ field: unref(fields).branches
15000
+ }, null, 8, ["modelValue", "field"]),
15001
+ createVNode(unref(NeonField), mergeProps({
15002
+ modelValue: unref(values).maxDurationDays,
15003
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => unref(values).maxDurationDays = $event)
15004
+ }, unref(fields).maxDurationDays), null, 16, ["modelValue"]),
15005
+ createVNode(unref(NeonField), mergeProps({
15006
+ modelValue: unref(values).showLeaveQuota,
15007
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(values).showLeaveQuota = $event)
15008
+ }, unref(fields).showLeaveQuota), {
15009
+ input: withCtx(() => [
15010
+ createVNode(unref(NeonCheck), {
15011
+ modelValue: unref(values).showLeaveQuota,
15012
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => unref(values).showLeaveQuota = $event),
15013
+ label: "Tampilkan",
15014
+ class: "mt-2"
15015
+ }, null, 8, ["modelValue"])
15016
+ ]),
15017
+ _: 1
15018
+ /* STABLE */
15019
+ }, 16, ["modelValue"]),
15020
+ createVNode(unref(NeonField), mergeProps({
15021
+ modelValue: unref(values).showAttendanceType,
15022
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(values).showAttendanceType = $event)
15023
+ }, unref(fields).showAttendanceType), {
15024
+ input: withCtx(() => [
15025
+ createVNode(unref(NeonCheck), {
15026
+ modelValue: unref(values).showAttendanceType,
15027
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).showAttendanceType = $event),
15028
+ label: "Tampilkan",
15029
+ class: "mt-2"
15030
+ }, null, 8, ["modelValue"])
15031
+ ]),
15032
+ _: 1
15033
+ /* STABLE */
15034
+ }, 16, ["modelValue"]),
15035
+ createVNode(unref(NeonField), mergeProps({
15036
+ modelValue: unref(values).description,
15037
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(values).description = $event)
15038
+ }, unref(fields).description), null, 16, ["modelValue"])
15039
+ ]),
15040
+ _: 1
15041
+ /* STABLE */
15042
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel"])
15043
+ ]),
15044
+ _: 1
15045
+ /* STABLE */
15046
+ })
15047
+ ]),
15048
+ _: 1
15049
+ /* STABLE */
15050
+ }, 8, ["use-url"])
15051
+ ]),
15052
+ _: 1
15053
+ /* STABLE */
15054
+ });
15055
+ };
15056
+ }
15057
+ });
15058
+ const AttendanceTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$1h, [["__scopeId", "data-v-9913f3e7"]]);
14918
15059
  const _withScopeId$3 = (n) => (pushScopeId("data-v-802b3ded"), n = n(), popScopeId(), n);
14919
15060
  const _hoisted_1$s = { id: "view-checkIns" };
14920
15061
  const _hoisted_2$j = { class: "summary" };
@@ -14931,7 +15072,7 @@ const _hoisted_5$9 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ create
14931
15072
  /* HOISTED */
14932
15073
  ));
14933
15074
  const _hoisted_6$9 = { class: "end" };
14934
- const _sfc_main$1a = /* @__PURE__ */ defineComponent({
15075
+ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
14935
15076
  ...{
14936
15077
  name: "CheckInPresenceCollection"
14937
15078
  },
@@ -15320,9 +15461,9 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
15320
15461
  };
15321
15462
  }
15322
15463
  });
15323
- const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc$1(_sfc_main$1a, [["__scopeId", "data-v-802b3ded"]]);
15464
+ const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc$1(_sfc_main$1g, [["__scopeId", "data-v-802b3ded"]]);
15324
15465
  const _hoisted_1$r = { class: "grid gap-4 sm:grid-cols-2" };
15325
- const _sfc_main$19 = /* @__PURE__ */ defineComponent({
15466
+ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
15326
15467
  __name: "CheckInExternal",
15327
15468
  setup(__props) {
15328
15469
  const {
@@ -15425,7 +15566,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
15425
15566
  };
15426
15567
  }
15427
15568
  });
15428
- const CheckInExternal = /* @__PURE__ */ _export_sfc$1(_sfc_main$19, [["__scopeId", "data-v-2b39928d"]]);
15569
+ const CheckInExternal = /* @__PURE__ */ _export_sfc$1(_sfc_main$1f, [["__scopeId", "data-v-2b39928d"]]);
15429
15570
  const _withScopeId$2 = (n) => (pushScopeId("data-v-8df96f5c"), n = n(), popScopeId(), n);
15430
15571
  const _hoisted_1$q = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode(
15431
15572
  "h4",
@@ -15445,7 +15586,7 @@ const _hoisted_2$i = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ create
15445
15586
  -1
15446
15587
  /* HOISTED */
15447
15588
  ));
15448
- const _sfc_main$18 = /* @__PURE__ */ defineComponent({
15589
+ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
15449
15590
  __name: "CheckInAccess",
15450
15591
  emits: ["close"],
15451
15592
  setup(__props) {
@@ -15497,9 +15638,9 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
15497
15638
  };
15498
15639
  }
15499
15640
  });
15500
- const CheckInAccess = /* @__PURE__ */ _export_sfc$1(_sfc_main$18, [["__scopeId", "data-v-8df96f5c"]]);
15641
+ const CheckInAccess = /* @__PURE__ */ _export_sfc$1(_sfc_main$1e, [["__scopeId", "data-v-8df96f5c"]]);
15501
15642
  const _hoisted_1$p = { class: "buttons" };
15502
- const _sfc_main$17 = /* @__PURE__ */ defineComponent({
15643
+ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
15503
15644
  __name: "CheckInScanError",
15504
15645
  setup(__props) {
15505
15646
  const attendanceStore = useAttendanceStore();
@@ -15945,7 +16086,7 @@ const _hoisted_2$h = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ create
15945
16086
  /* HOISTED */
15946
16087
  ));
15947
16088
  const _hoisted_3$a = { class: "mr-2 text-sm" };
15948
- const _sfc_main$16 = /* @__PURE__ */ defineComponent({
16089
+ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
15949
16090
  __name: "CheckInScanner",
15950
16091
  emits: ["start", "stop", "scanned", "close"],
15951
16092
  setup(__props, { emit: __emit }) {
@@ -16124,7 +16265,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
16124
16265
  };
16125
16266
  }
16126
16267
  });
16127
- const CheckInScanner = /* @__PURE__ */ _export_sfc$1(_sfc_main$16, [["__scopeId", "data-v-6bdaf755"]]);
16268
+ const CheckInScanner = /* @__PURE__ */ _export_sfc$1(_sfc_main$1c, [["__scopeId", "data-v-6bdaf755"]]);
16128
16269
  const _hoisted_1$n = /* @__PURE__ */ createElementVNode(
16129
16270
  "h3",
16130
16271
  { align: "center" },
@@ -16132,7 +16273,7 @@ const _hoisted_1$n = /* @__PURE__ */ createElementVNode(
16132
16273
  -1
16133
16274
  /* HOISTED */
16134
16275
  );
16135
- const _sfc_main$15 = /* @__PURE__ */ defineComponent({
16276
+ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
16136
16277
  __name: "CheckInScanSuccess",
16137
16278
  emits: ["close"],
16138
16279
  setup(__props) {
@@ -16165,7 +16306,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
16165
16306
  }
16166
16307
  });
16167
16308
  const _hoisted_1$m = { class: "grid gap-4 sm:grid-cols-2" };
16168
- const _sfc_main$14 = /* @__PURE__ */ defineComponent({
16309
+ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
16169
16310
  __name: "CheckInSupervisor",
16170
16311
  setup(__props) {
16171
16312
  const {
@@ -16277,8 +16418,8 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
16277
16418
  };
16278
16419
  }
16279
16420
  });
16280
- const CheckInSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$14, [["__scopeId", "data-v-7dba7b2e"]]);
16281
- const _sfc_main$13 = /* @__PURE__ */ defineComponent({
16421
+ const CheckInSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$1a, [["__scopeId", "data-v-7dba7b2e"]]);
16422
+ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
16282
16423
  ...{
16283
16424
  name: "CheckInCollection"
16284
16425
  },
@@ -16297,7 +16438,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
16297
16438
  }
16298
16439
  });
16299
16440
  const _hoisted_1$l = { class: "grid gap-4 sm:grid-cols-2" };
16300
- const _sfc_main$12 = /* @__PURE__ */ defineComponent({
16441
+ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
16301
16442
  __name: "CheckInSingle",
16302
16443
  setup(__props) {
16303
16444
  const {
@@ -16390,8 +16531,8 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
16390
16531
  };
16391
16532
  }
16392
16533
  });
16393
- const CheckInSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$12, [["__scopeId", "data-v-be75db83"]]);
16394
- const _sfc_main$11 = /* @__PURE__ */ defineComponent({
16534
+ const CheckInSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$18, [["__scopeId", "data-v-be75db83"]]);
16535
+ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
16395
16536
  __name: "PlanStaff",
16396
16537
  setup(__props) {
16397
16538
  const {
@@ -16597,8 +16738,8 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
16597
16738
  };
16598
16739
  }
16599
16740
  });
16600
- const PlanStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$11, [["__scopeId", "data-v-19b1f97b"]]);
16601
- const _sfc_main$10 = /* @__PURE__ */ defineComponent({
16741
+ const PlanStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$17, [["__scopeId", "data-v-19b1f97b"]]);
16742
+ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
16602
16743
  ...{
16603
16744
  name: "PlanCollection"
16604
16745
  },
@@ -16616,7 +16757,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
16616
16757
  };
16617
16758
  }
16618
16759
  });
16619
- const _sfc_main$$ = /* @__PURE__ */ defineComponent({
16760
+ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
16620
16761
  __name: "PlanSingle",
16621
16762
  setup(__props) {
16622
16763
  const {
@@ -16812,8 +16953,8 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
16812
16953
  };
16813
16954
  }
16814
16955
  });
16815
- const PlanSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$$, [["__scopeId", "data-v-ebc684f0"]]);
16816
- const _sfc_main$_ = /* @__PURE__ */ defineComponent({
16956
+ const PlanSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$15, [["__scopeId", "data-v-ebc684f0"]]);
16957
+ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
16817
16958
  ...{
16818
16959
  name: "PlanTypeCollection"
16819
16960
  },
@@ -16831,7 +16972,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
16831
16972
  };
16832
16973
  }
16833
16974
  });
16834
- const _sfc_main$Z = /* @__PURE__ */ defineComponent({
16975
+ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
16835
16976
  __name: "PlanTypeSingle",
16836
16977
  setup(__props) {
16837
16978
  const {
@@ -16951,8 +17092,8 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
16951
17092
  };
16952
17093
  }
16953
17094
  });
16954
- const PlanTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$Z, [["__scopeId", "data-v-add540b6"]]);
16955
- const _sfc_main$Y = /* @__PURE__ */ defineComponent({
17095
+ const PlanTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$13, [["__scopeId", "data-v-add540b6"]]);
17096
+ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
16956
17097
  ...{ name: "ProgressNoteTab" },
16957
17098
  __name: "ProgressNoteTab",
16958
17099
  setup(__props) {
@@ -16985,7 +17126,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
16985
17126
  });
16986
17127
  const _hoisted_1$k = { class: "grid gap-2 sm:grid-cols-2" };
16987
17128
  const _hoisted_2$g = { class: "text-right text-fg-subdued text-sm" };
16988
- const _sfc_main$X = /* @__PURE__ */ defineComponent({
17129
+ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
16989
17130
  __name: "ProgressTomorrow",
16990
17131
  setup(__props) {
16991
17132
  var _a;
@@ -17263,7 +17404,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
17263
17404
  _: 1
17264
17405
  /* STABLE */
17265
17406
  })) : createCommentVNode("v-if", true),
17266
- createVNode(unref(_sfc_main$Y))
17407
+ createVNode(unref(_sfc_main$12))
17267
17408
  ];
17268
17409
  }),
17269
17410
  _: 1
@@ -17276,10 +17417,10 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
17276
17417
  };
17277
17418
  }
17278
17419
  });
17279
- const ProgressTomorrow = /* @__PURE__ */ _export_sfc$1(_sfc_main$X, [["__scopeId", "data-v-607d910c"]]);
17420
+ const ProgressTomorrow = /* @__PURE__ */ _export_sfc$1(_sfc_main$11, [["__scopeId", "data-v-607d910c"]]);
17280
17421
  const _hoisted_1$j = { class: "grid gap-2 sm:grid-cols-2" };
17281
17422
  const _hoisted_2$f = { class: "text-right text-fg-subdued text-sm" };
17282
- const _sfc_main$W = /* @__PURE__ */ defineComponent({
17423
+ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
17283
17424
  __name: "ProgressYesterday",
17284
17425
  setup(__props) {
17285
17426
  var _a;
@@ -17556,7 +17697,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
17556
17697
  _: 1
17557
17698
  /* STABLE */
17558
17699
  })) : createCommentVNode("v-if", true),
17559
- createVNode(unref(_sfc_main$Y))
17700
+ createVNode(unref(_sfc_main$12))
17560
17701
  ];
17561
17702
  }),
17562
17703
  _: 1
@@ -17569,8 +17710,8 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
17569
17710
  };
17570
17711
  }
17571
17712
  });
17572
- const ProgressYesterday = /* @__PURE__ */ _export_sfc$1(_sfc_main$W, [["__scopeId", "data-v-cc36bbaf"]]);
17573
- const _sfc_main$V = /* @__PURE__ */ defineComponent({
17713
+ const ProgressYesterday = /* @__PURE__ */ _export_sfc$1(_sfc_main$10, [["__scopeId", "data-v-cc36bbaf"]]);
17714
+ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
17574
17715
  __name: "ProgressNote",
17575
17716
  setup(__props) {
17576
17717
  var _a;
@@ -17676,7 +17817,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
17676
17817
  _: 1
17677
17818
  /* STABLE */
17678
17819
  }),
17679
- createVNode(unref(_sfc_main$Y))
17820
+ createVNode(unref(_sfc_main$12))
17680
17821
  ]),
17681
17822
  _: 1
17682
17823
  /* STABLE */
@@ -17688,8 +17829,8 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
17688
17829
  };
17689
17830
  }
17690
17831
  });
17691
- const ProgressNote = /* @__PURE__ */ _export_sfc$1(_sfc_main$V, [["__scopeId", "data-v-d6b827e1"]]);
17692
- const _sfc_main$U = /* @__PURE__ */ defineComponent({
17832
+ const ProgressNote = /* @__PURE__ */ _export_sfc$1(_sfc_main$$, [["__scopeId", "data-v-d6b827e1"]]);
17833
+ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
17693
17834
  ...{
17694
17835
  name: "ProgressCollection"
17695
17836
  },
@@ -17751,10 +17892,10 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
17751
17892
  };
17752
17893
  }
17753
17894
  });
17754
- const ProgressCollection = /* @__PURE__ */ _export_sfc$1(_sfc_main$U, [["__scopeId", "data-v-0d51a8c3"]]);
17895
+ const ProgressCollection = /* @__PURE__ */ _export_sfc$1(_sfc_main$_, [["__scopeId", "data-v-0d51a8c3"]]);
17755
17896
  const _hoisted_1$i = { class: "grid gap-2 sm:grid-cols-2" };
17756
17897
  const _hoisted_2$e = { class: "text-right text-fg-subdued text-sm" };
17757
- const _sfc_main$T = /* @__PURE__ */ defineComponent({
17898
+ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
17758
17899
  __name: "ProgressSingle",
17759
17900
  setup(__props) {
17760
17901
  const { staff } = useOperasional();
@@ -18098,7 +18239,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
18098
18239
  _: 1
18099
18240
  /* STABLE */
18100
18241
  })) : createCommentVNode("v-if", true),
18101
- createVNode(unref(_sfc_main$Y))
18242
+ createVNode(unref(_sfc_main$12))
18102
18243
  ];
18103
18244
  }),
18104
18245
  _: 1
@@ -18111,9 +18252,9 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
18111
18252
  };
18112
18253
  }
18113
18254
  });
18114
- const ProgressSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$T, [["__scopeId", "data-v-9a6e2573"]]);
18255
+ const ProgressSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$Z, [["__scopeId", "data-v-9a6e2573"]]);
18115
18256
  const _hoisted_1$h = { class: "flex flex-wrap" };
18116
- const _sfc_main$S = /* @__PURE__ */ defineComponent({
18257
+ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
18117
18258
  ...{ name: "ProgressButton" },
18118
18259
  __name: "ProgressButton",
18119
18260
  setup(__props) {
@@ -18160,7 +18301,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
18160
18301
  }
18161
18302
  });
18162
18303
  const _hoisted_1$g = { class: "flex flex-wrap" };
18163
- const _sfc_main$R = /* @__PURE__ */ defineComponent({
18304
+ const _sfc_main$X = /* @__PURE__ */ defineComponent({
18164
18305
  ...{ name: "ProgressNoteButton" },
18165
18306
  __name: "ProgressNoteButton",
18166
18307
  setup(__props) {
@@ -18182,7 +18323,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
18182
18323
  };
18183
18324
  }
18184
18325
  });
18185
- const _sfc_main$Q = /* @__PURE__ */ defineComponent({
18326
+ const _sfc_main$W = /* @__PURE__ */ defineComponent({
18186
18327
  __name: "ProgressAccessSupervisor",
18187
18328
  setup(__props) {
18188
18329
  const {
@@ -18245,8 +18386,8 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
18245
18386
  };
18246
18387
  }
18247
18388
  });
18248
- const ProgressAccessSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$Q, [["__scopeId", "data-v-2ca10028"]]);
18249
- const _sfc_main$P = /* @__PURE__ */ defineComponent({
18389
+ const ProgressAccessSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$W, [["__scopeId", "data-v-2ca10028"]]);
18390
+ const _sfc_main$V = /* @__PURE__ */ defineComponent({
18250
18391
  ...{
18251
18392
  name: "ProgressAccessCollection"
18252
18393
  },
@@ -18264,7 +18405,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
18264
18405
  };
18265
18406
  }
18266
18407
  });
18267
- const _sfc_main$O = /* @__PURE__ */ defineComponent({
18408
+ const _sfc_main$U = /* @__PURE__ */ defineComponent({
18268
18409
  __name: "ProgressAccessSingle",
18269
18410
  setup(__props) {
18270
18411
  const {
@@ -18327,8 +18468,8 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
18327
18468
  };
18328
18469
  }
18329
18470
  });
18330
- const ProgressAccessSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$O, [["__scopeId", "data-v-3592f7c4"]]);
18331
- const _sfc_main$N = /* @__PURE__ */ defineComponent({
18471
+ const ProgressAccessSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$U, [["__scopeId", "data-v-3592f7c4"]]);
18472
+ const _sfc_main$T = /* @__PURE__ */ defineComponent({
18332
18473
  __name: "ResponsibilityStaff",
18333
18474
  setup(__props) {
18334
18475
  const {
@@ -18521,8 +18662,8 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
18521
18662
  };
18522
18663
  }
18523
18664
  });
18524
- const ResponsibilityStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$N, [["__scopeId", "data-v-89afc670"]]);
18525
- const _sfc_main$M = /* @__PURE__ */ defineComponent({
18665
+ const ResponsibilityStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$T, [["__scopeId", "data-v-89afc670"]]);
18666
+ const _sfc_main$S = /* @__PURE__ */ defineComponent({
18526
18667
  __name: "ResponsibilitySupervisor",
18527
18668
  setup(__props) {
18528
18669
  const {
@@ -18715,8 +18856,8 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
18715
18856
  };
18716
18857
  }
18717
18858
  });
18718
- const ResponsibilitySupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$M, [["__scopeId", "data-v-983b6c8a"]]);
18719
- const _sfc_main$L = /* @__PURE__ */ defineComponent({
18859
+ const ResponsibilitySupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$S, [["__scopeId", "data-v-983b6c8a"]]);
18860
+ const _sfc_main$R = /* @__PURE__ */ defineComponent({
18720
18861
  ...{
18721
18862
  name: "ResponsibilityCollection"
18722
18863
  },
@@ -18734,7 +18875,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
18734
18875
  };
18735
18876
  }
18736
18877
  });
18737
- const _sfc_main$K = /* @__PURE__ */ defineComponent({
18878
+ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
18738
18879
  __name: "ResponsibilitySingle",
18739
18880
  setup(__props) {
18740
18881
  var _a, _b;
@@ -18973,8 +19114,8 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
18973
19114
  };
18974
19115
  }
18975
19116
  });
18976
- const ResponsibilitySingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["__scopeId", "data-v-d75da3fd"]]);
18977
- const _sfc_main$J = /* @__PURE__ */ defineComponent({
19117
+ const ResponsibilitySingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$Q, [["__scopeId", "data-v-d75da3fd"]]);
19118
+ const _sfc_main$P = /* @__PURE__ */ defineComponent({
18978
19119
  ...{
18979
19120
  name: "ResponsibilityTypeCollection"
18980
19121
  },
@@ -18992,7 +19133,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
18992
19133
  };
18993
19134
  }
18994
19135
  });
18995
- const _sfc_main$I = /* @__PURE__ */ defineComponent({
19136
+ const _sfc_main$O = /* @__PURE__ */ defineComponent({
18996
19137
  __name: "ResponsibilityTypeSingle",
18997
19138
  setup(__props) {
18998
19139
  const {
@@ -19057,8 +19198,8 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
19057
19198
  };
19058
19199
  }
19059
19200
  });
19060
- const ResponsibilityTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$I, [["__scopeId", "data-v-f59caf0c"]]);
19061
- const _sfc_main$H = /* @__PURE__ */ defineComponent({
19201
+ const ResponsibilityTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$O, [["__scopeId", "data-v-f59caf0c"]]);
19202
+ const _sfc_main$N = /* @__PURE__ */ defineComponent({
19062
19203
  __name: "SituationWork",
19063
19204
  setup(__props) {
19064
19205
  const {
@@ -19234,7 +19375,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
19234
19375
  };
19235
19376
  }
19236
19377
  });
19237
- const _sfc_main$G = /* @__PURE__ */ defineComponent({
19378
+ const _sfc_main$M = /* @__PURE__ */ defineComponent({
19238
19379
  ...{ name: "SituationSupportive" },
19239
19380
  __name: "SituationSupportive",
19240
19381
  setup(__props) {
@@ -19369,7 +19510,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
19369
19510
  };
19370
19511
  }
19371
19512
  });
19372
- const _sfc_main$F = /* @__PURE__ */ defineComponent({
19513
+ const _sfc_main$L = /* @__PURE__ */ defineComponent({
19373
19514
  ...{ name: "SituationCollection" },
19374
19515
  __name: "SituationCollection",
19375
19516
  setup(__props) {
@@ -19385,7 +19526,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
19385
19526
  };
19386
19527
  }
19387
19528
  });
19388
- const _sfc_main$E = /* @__PURE__ */ defineComponent({
19529
+ const _sfc_main$K = /* @__PURE__ */ defineComponent({
19389
19530
  __name: "SituationSingle",
19390
19531
  setup(__props) {
19391
19532
  const {
@@ -19518,7 +19659,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
19518
19659
  };
19519
19660
  }
19520
19661
  });
19521
- const _sfc_main$D = /* @__PURE__ */ defineComponent({
19662
+ const _sfc_main$J = /* @__PURE__ */ defineComponent({
19522
19663
  ...{ name: "SituationTypeCollection" },
19523
19664
  __name: "SituationTypeCollection",
19524
19665
  setup(__props) {
@@ -19534,7 +19675,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
19534
19675
  };
19535
19676
  }
19536
19677
  });
19537
- const _sfc_main$C = /* @__PURE__ */ defineComponent({
19678
+ const _sfc_main$I = /* @__PURE__ */ defineComponent({
19538
19679
  __name: "SituationTypeSingle",
19539
19680
  setup(__props) {
19540
19681
  const {
@@ -19602,7 +19743,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
19602
19743
  };
19603
19744
  }
19604
19745
  });
19605
- const _sfc_main$B = /* @__PURE__ */ defineComponent({
19746
+ const _sfc_main$H = /* @__PURE__ */ defineComponent({
19606
19747
  __name: "StaffIdentity",
19607
19748
  setup(__props) {
19608
19749
  const { values, saveOne, executeOne, syncOne } = useSingle();
@@ -19833,7 +19974,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
19833
19974
  });
19834
19975
  const _hoisted_1$f = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
19835
19976
  const _hoisted_2$d = { class: "grid gap-4 sm:grid-cols-2" };
19836
- const _sfc_main$A = /* @__PURE__ */ defineComponent({
19977
+ const _sfc_main$G = /* @__PURE__ */ defineComponent({
19837
19978
  __name: "StaffOperasional",
19838
19979
  setup(__props) {
19839
19980
  const {
@@ -19948,7 +20089,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
19948
20089
  title: "Identitas"
19949
20090
  }, {
19950
20091
  default: withCtx(() => [
19951
- createVNode(_sfc_main$B)
20092
+ createVNode(_sfc_main$H)
19952
20093
  ]),
19953
20094
  _: 1
19954
20095
  /* STABLE */
@@ -20063,10 +20204,10 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
20063
20204
  };
20064
20205
  }
20065
20206
  });
20066
- const StaffOperasional = /* @__PURE__ */ _export_sfc$1(_sfc_main$A, [["__scopeId", "data-v-1966f9f2"]]);
20207
+ const StaffOperasional = /* @__PURE__ */ _export_sfc$1(_sfc_main$G, [["__scopeId", "data-v-1966f9f2"]]);
20067
20208
  const _hoisted_1$e = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
20068
20209
  const _hoisted_2$c = { class: "grid gap-4 sm:grid-cols-2" };
20069
- const _sfc_main$z = /* @__PURE__ */ defineComponent({
20210
+ const _sfc_main$F = /* @__PURE__ */ defineComponent({
20070
20211
  __name: "StaffAccess",
20071
20212
  setup(__props) {
20072
20213
  const {
@@ -20285,8 +20426,8 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
20285
20426
  };
20286
20427
  }
20287
20428
  });
20288
- const StaffAccess = /* @__PURE__ */ _export_sfc$1(_sfc_main$z, [["__scopeId", "data-v-d2de29d6"]]);
20289
- const _sfc_main$y = /* @__PURE__ */ defineComponent({
20429
+ const StaffAccess = /* @__PURE__ */ _export_sfc$1(_sfc_main$F, [["__scopeId", "data-v-d2de29d6"]]);
20430
+ const _sfc_main$E = /* @__PURE__ */ defineComponent({
20290
20431
  ...{
20291
20432
  name: "StaffCollection"
20292
20433
  },
@@ -20306,7 +20447,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
20306
20447
  });
20307
20448
  const _hoisted_1$d = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
20308
20449
  const _hoisted_2$b = { class: "grid gap-4 sm:grid-cols-2" };
20309
- const _sfc_main$x = /* @__PURE__ */ defineComponent({
20450
+ const _sfc_main$D = /* @__PURE__ */ defineComponent({
20310
20451
  __name: "StaffSingle",
20311
20452
  setup(__props) {
20312
20453
  const {
@@ -20411,7 +20552,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
20411
20552
  title: "Identitas"
20412
20553
  }, {
20413
20554
  default: withCtx(() => [
20414
- createVNode(_sfc_main$B)
20555
+ createVNode(_sfc_main$H)
20415
20556
  ]),
20416
20557
  _: 1
20417
20558
  /* STABLE */
@@ -20521,8 +20662,8 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
20521
20662
  };
20522
20663
  }
20523
20664
  });
20524
- const StaffSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$x, [["__scopeId", "data-v-baaa95d5"]]);
20525
- const _sfc_main$w = /* @__PURE__ */ defineComponent({
20665
+ const StaffSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$D, [["__scopeId", "data-v-baaa95d5"]]);
20666
+ const _sfc_main$C = /* @__PURE__ */ defineComponent({
20526
20667
  ...{ name: "SubmissionDocumentTab" },
20527
20668
  __name: "SubmissionDocumentTab",
20528
20669
  props: {
@@ -20565,7 +20706,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
20565
20706
  };
20566
20707
  }
20567
20708
  });
20568
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
20709
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
20569
20710
  ...{ name: "SubmissionDetailTab" },
20570
20711
  __name: "SubmissionDetailTab",
20571
20712
  setup(__props) {
@@ -20627,7 +20768,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
20627
20768
  };
20628
20769
  }
20629
20770
  });
20630
- const SubmissionDetailTab = /* @__PURE__ */ _export_sfc$1(_sfc_main$v, [["__scopeId", "data-v-3475270c"]]);
20771
+ const SubmissionDetailTab = /* @__PURE__ */ _export_sfc$1(_sfc_main$B, [["__scopeId", "data-v-3475270c"]]);
20631
20772
  const _hoisted_1$c = { class: "flex items-right" };
20632
20773
  const _hoisted_2$a = { class: "flex-grow" };
20633
20774
  const _hoisted_3$9 = { class: "ml-2 flex items-end pb-1" };
@@ -20640,7 +20781,7 @@ const _hoisted_9$6 = { class: "ml-2 flex items-end pb-1" };
20640
20781
  const _hoisted_10$6 = { class: "flex items-right" };
20641
20782
  const _hoisted_11$6 = { class: "flex-grow" };
20642
20783
  const _hoisted_12$6 = { class: "ml-2 flex items-end pb-1" };
20643
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
20784
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
20644
20785
  __name: "SubmissionStaff",
20645
20786
  setup(__props) {
20646
20787
  var _a, _b;
@@ -21031,7 +21172,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
21031
21172
  createCommentVNode(" DETAIL "),
21032
21173
  createVNode(unref(SubmissionDetailTab)),
21033
21174
  createCommentVNode(" DOKUMEN "),
21034
- createVNode(unref(_sfc_main$w), {
21175
+ createVNode(unref(_sfc_main$C), {
21035
21176
  toolbar: "side",
21036
21177
  "is-readonly": unref(values).statusStaff === "raised" || unref(values).statusStaff === "processed" || unref(values).statusStaff === "approved" || unref(values).statusStaff === "monitored" || unref(values).statusStaff === "discontinued" || unref(values).statusStaff === "resolved"
21037
21178
  }, null, 8, ["is-readonly"])
@@ -21046,7 +21187,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
21046
21187
  };
21047
21188
  }
21048
21189
  });
21049
- const SubmissionStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$u, [["__scopeId", "data-v-6e5de481"]]);
21190
+ const SubmissionStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$A, [["__scopeId", "data-v-6e5de481"]]);
21050
21191
  const _hoisted_1$b = { class: "flex items-right" };
21051
21192
  const _hoisted_2$9 = { class: "flex-grow" };
21052
21193
  const _hoisted_3$8 = { class: "ml-2 flex items-end pb-1" };
@@ -21059,7 +21200,7 @@ const _hoisted_9$5 = { class: "ml-2 flex items-end pb-1" };
21059
21200
  const _hoisted_10$5 = { class: "flex items-right" };
21060
21201
  const _hoisted_11$5 = { class: "flex-grow" };
21061
21202
  const _hoisted_12$5 = { class: "ml-2 flex items-end pb-1" };
21062
- const _sfc_main$t = /* @__PURE__ */ defineComponent({
21203
+ const _sfc_main$z = /* @__PURE__ */ defineComponent({
21063
21204
  __name: "SubmissionFollowUp",
21064
21205
  setup(__props) {
21065
21206
  const {
@@ -21313,7 +21454,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
21313
21454
  createCommentVNode(" DETAIL "),
21314
21455
  createVNode(unref(SubmissionDetailTab)),
21315
21456
  createCommentVNode(" DOKUMEN "),
21316
- createVNode(unref(_sfc_main$w), {
21457
+ createVNode(unref(_sfc_main$C), {
21317
21458
  toolbar: "side",
21318
21459
  "is-readonly": ""
21319
21460
  })
@@ -21328,7 +21469,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
21328
21469
  };
21329
21470
  }
21330
21471
  });
21331
- const SubmissionFollowUp = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["__scopeId", "data-v-b87c6266"]]);
21472
+ const SubmissionFollowUp = /* @__PURE__ */ _export_sfc$1(_sfc_main$z, [["__scopeId", "data-v-b87c6266"]]);
21332
21473
  const _hoisted_1$a = { class: "flex flex-wrap" };
21333
21474
  const _hoisted_2$8 = { class: "mt-2" };
21334
21475
  const _hoisted_3$7 = { class: "mt-2" };
@@ -21347,7 +21488,7 @@ const _hoisted_15$2 = { class: "ml-2 flex items-end pb-1" };
21347
21488
  const _hoisted_16 = { class: "flex items-right" };
21348
21489
  const _hoisted_17 = { class: "flex-grow" };
21349
21490
  const _hoisted_18 = { class: "ml-2 flex items-end pb-1" };
21350
- const _sfc_main$s = /* @__PURE__ */ defineComponent({
21491
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
21351
21492
  __name: "SubmissionAudit",
21352
21493
  setup(__props) {
21353
21494
  var _a, _b, _c;
@@ -21850,7 +21991,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
21850
21991
  }),
21851
21992
  createVNode(unref(SubmissionDetailTab)),
21852
21993
  createCommentVNode(" DOKUMEN "),
21853
- createVNode(unref(_sfc_main$w), {
21994
+ createVNode(unref(_sfc_main$C), {
21854
21995
  toolbar: "side",
21855
21996
  "is-readonly": unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "prepared" || unref(values).status === "resolved"
21856
21997
  }, null, 8, ["is-readonly"]),
@@ -21909,7 +22050,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
21909
22050
  };
21910
22051
  }
21911
22052
  });
21912
- const SubmissionAudit = /* @__PURE__ */ _export_sfc$1(_sfc_main$s, [["__scopeId", "data-v-39e6b2f4"]]);
22053
+ const SubmissionAudit = /* @__PURE__ */ _export_sfc$1(_sfc_main$y, [["__scopeId", "data-v-39e6b2f4"]]);
21913
22054
  const _hoisted_1$9 = { class: "flex flex-wrap" };
21914
22055
  const _hoisted_2$7 = { class: "mt-2" };
21915
22056
  const _hoisted_3$6 = { class: "mt-2" };
@@ -21925,7 +22066,7 @@ const _hoisted_12$3 = { class: "ml-2 flex items-end pb-1" };
21925
22066
  const _hoisted_13$1 = { class: "flex items-right" };
21926
22067
  const _hoisted_14$1 = { class: "flex-grow" };
21927
22068
  const _hoisted_15$1 = { class: "ml-2 flex items-end pb-1" };
21928
- const _sfc_main$r = /* @__PURE__ */ defineComponent({
22069
+ const _sfc_main$x = /* @__PURE__ */ defineComponent({
21929
22070
  __name: "SubmissionDecision",
21930
22071
  setup(__props) {
21931
22072
  var _a, _b, _c;
@@ -22358,7 +22499,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
22358
22499
  createCommentVNode(" DETAIL "),
22359
22500
  createVNode(unref(SubmissionDetailTab)),
22360
22501
  createCommentVNode(" DOKUMEN "),
22361
- createVNode(unref(_sfc_main$w), {
22502
+ createVNode(unref(_sfc_main$C), {
22362
22503
  toolbar: "side",
22363
22504
  "is-readonly": unref(values).status === "raised" || unref(values).status === "delay" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
22364
22505
  }, null, 8, ["is-readonly"]),
@@ -22417,7 +22558,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
22417
22558
  };
22418
22559
  }
22419
22560
  });
22420
- const SubmissionDecision = /* @__PURE__ */ _export_sfc$1(_sfc_main$r, [["__scopeId", "data-v-dcf2399c"]]);
22561
+ const SubmissionDecision = /* @__PURE__ */ _export_sfc$1(_sfc_main$x, [["__scopeId", "data-v-dcf2399c"]]);
22421
22562
  const _hoisted_1$8 = { class: "flex flex-wrap" };
22422
22563
  const _hoisted_2$6 = { class: "mt-2" };
22423
22564
  const _hoisted_3$5 = { class: "mt-2" };
@@ -22433,7 +22574,7 @@ const _hoisted_12$2 = { class: "ml-2 flex items-end pb-1" };
22433
22574
  const _hoisted_13 = { class: "flex items-right" };
22434
22575
  const _hoisted_14 = { class: "flex-grow" };
22435
22576
  const _hoisted_15 = { class: "ml-2 flex items-end pb-1" };
22436
- const _sfc_main$q = /* @__PURE__ */ defineComponent({
22577
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
22437
22578
  __name: "SubmissionWaitingDecision",
22438
22579
  setup(__props) {
22439
22580
  var _a, _b, _c;
@@ -22865,7 +23006,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
22865
23006
  createCommentVNode(" DETAIL "),
22866
23007
  createVNode(unref(SubmissionDetailTab)),
22867
23008
  createCommentVNode(" DOKUMEN "),
22868
- createVNode(unref(_sfc_main$w), {
23009
+ createVNode(unref(_sfc_main$C), {
22869
23010
  toolbar: "side",
22870
23011
  "is-readonly": unref(values).status === "raised" || unref(values).status === "delay" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
22871
23012
  }, null, 8, ["is-readonly"])
@@ -22880,7 +23021,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
22880
23021
  };
22881
23022
  }
22882
23023
  });
22883
- const SubmissionWaitingDecision = /* @__PURE__ */ _export_sfc$1(_sfc_main$q, [["__scopeId", "data-v-11d31cbb"]]);
23024
+ const SubmissionWaitingDecision = /* @__PURE__ */ _export_sfc$1(_sfc_main$w, [["__scopeId", "data-v-11d31cbb"]]);
22884
23025
  const _hoisted_1$7 = { class: "flex items-right" };
22885
23026
  const _hoisted_2$5 = { class: "flex-grow" };
22886
23027
  const _hoisted_3$4 = { class: "ml-2 flex items-end pb-1" };
@@ -22893,7 +23034,7 @@ const _hoisted_9$1 = { class: "ml-2 flex items-end pb-1" };
22893
23034
  const _hoisted_10$1 = { class: "flex items-right" };
22894
23035
  const _hoisted_11$1 = { class: "flex-grow" };
22895
23036
  const _hoisted_12$1 = { class: "ml-2 flex items-end pb-1" };
22896
- const _sfc_main$p = /* @__PURE__ */ defineComponent({
23037
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
22897
23038
  __name: "SubmissionSupervisor",
22898
23039
  setup(__props) {
22899
23040
  const {
@@ -23147,7 +23288,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
23147
23288
  createCommentVNode(" DETAIL "),
23148
23289
  createVNode(unref(SubmissionDetailTab)),
23149
23290
  createCommentVNode(" DOKUMEN "),
23150
- createVNode(unref(_sfc_main$w), {
23291
+ createVNode(unref(_sfc_main$C), {
23151
23292
  toolbar: "side",
23152
23293
  "is-readonly": ""
23153
23294
  })
@@ -23162,8 +23303,8 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
23162
23303
  };
23163
23304
  }
23164
23305
  });
23165
- const SubmissionSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$p, [["__scopeId", "data-v-eab8a880"]]);
23166
- const _sfc_main$o = /* @__PURE__ */ defineComponent({
23306
+ const SubmissionSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$v, [["__scopeId", "data-v-eab8a880"]]);
23307
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
23167
23308
  ...{
23168
23309
  name: "SubmissionCollection"
23169
23310
  },
@@ -23193,7 +23334,7 @@ const _hoisted_9 = { class: "ml-2 flex items-end pb-1" };
23193
23334
  const _hoisted_10 = { class: "flex items-right" };
23194
23335
  const _hoisted_11 = { class: "flex-grow" };
23195
23336
  const _hoisted_12 = { class: "ml-2 flex items-end pb-1" };
23196
- const _sfc_main$n = /* @__PURE__ */ defineComponent({
23337
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
23197
23338
  __name: "SubmissionSingle",
23198
23339
  setup(__props) {
23199
23340
  const {
@@ -23456,7 +23597,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
23456
23597
  createCommentVNode(" DETAIL "),
23457
23598
  createVNode(unref(SubmissionDetailTab)),
23458
23599
  createCommentVNode(" DOKUMEN "),
23459
- createVNode(unref(_sfc_main$w), { toolbar: "side" })
23600
+ createVNode(unref(_sfc_main$C), { toolbar: "side" })
23460
23601
  ]),
23461
23602
  _: 1
23462
23603
  /* STABLE */
@@ -23468,8 +23609,8 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
23468
23609
  };
23469
23610
  }
23470
23611
  });
23471
- const SubmissionSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$n, [["__scopeId", "data-v-61e0e09a"]]);
23472
- const _sfc_main$m = /* @__PURE__ */ defineComponent({
23612
+ const SubmissionSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["__scopeId", "data-v-61e0e09a"]]);
23613
+ const _sfc_main$s = /* @__PURE__ */ defineComponent({
23473
23614
  ...{
23474
23615
  name: "SubmissionTypeCollection"
23475
23616
  },
@@ -23487,7 +23628,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
23487
23628
  };
23488
23629
  }
23489
23630
  });
23490
- const _sfc_main$l = /* @__PURE__ */ defineComponent({
23631
+ const _sfc_main$r = /* @__PURE__ */ defineComponent({
23491
23632
  __name: "SubmissionTypeSingle",
23492
23633
  setup(__props) {
23493
23634
  const {
@@ -23549,8 +23690,8 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
23549
23690
  };
23550
23691
  }
23551
23692
  });
23552
- const SubmissionTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$l, [["__scopeId", "data-v-e8147700"]]);
23553
- const _sfc_main$k = /* @__PURE__ */ defineComponent({
23693
+ const SubmissionTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$r, [["__scopeId", "data-v-e8147700"]]);
23694
+ const _sfc_main$q = /* @__PURE__ */ defineComponent({
23554
23695
  __name: "TargetBranch",
23555
23696
  setup(__props) {
23556
23697
  const {
@@ -23712,8 +23853,8 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
23712
23853
  };
23713
23854
  }
23714
23855
  });
23715
- const TargetBranch = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["__scopeId", "data-v-9a3ab4b4"]]);
23716
- const _sfc_main$j = /* @__PURE__ */ defineComponent({
23856
+ const TargetBranch = /* @__PURE__ */ _export_sfc$1(_sfc_main$q, [["__scopeId", "data-v-9a3ab4b4"]]);
23857
+ const _sfc_main$p = /* @__PURE__ */ defineComponent({
23717
23858
  ...{
23718
23859
  name: "TargetCollection"
23719
23860
  },
@@ -23731,7 +23872,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
23731
23872
  };
23732
23873
  }
23733
23874
  });
23734
- const _sfc_main$i = /* @__PURE__ */ defineComponent({
23875
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
23735
23876
  __name: "TargetSingle",
23736
23877
  setup(__props) {
23737
23878
  const {
@@ -23893,8 +24034,8 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
23893
24034
  };
23894
24035
  }
23895
24036
  });
23896
- const TargetSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$i, [["__scopeId", "data-v-7bb85044"]]);
23897
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
24037
+ const TargetSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["__scopeId", "data-v-7bb85044"]]);
24038
+ const _sfc_main$n = /* @__PURE__ */ defineComponent({
23898
24039
  __name: "TaskWork",
23899
24040
  setup(__props) {
23900
24041
  const {
@@ -24113,7 +24254,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
24113
24254
  };
24114
24255
  }
24115
24256
  });
24116
- const _sfc_main$g = /* @__PURE__ */ defineComponent({
24257
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
24117
24258
  ...{ name: "TaskCollection" },
24118
24259
  __name: "TaskCollection",
24119
24260
  setup(__props) {
@@ -24133,7 +24274,7 @@ const _hoisted_1$5 = { class: "flex flex-wrap gap-2" };
24133
24274
  const _hoisted_2$3 = { class: "mt-2" };
24134
24275
  const _hoisted_3$2 = { class: "mt-2" };
24135
24276
  const _hoisted_4$2 = { class: "mt-2" };
24136
- const _sfc_main$f = /* @__PURE__ */ defineComponent({
24277
+ const _sfc_main$l = /* @__PURE__ */ defineComponent({
24137
24278
  __name: "TaskSingle",
24138
24279
  setup(__props) {
24139
24280
  var _a;
@@ -24491,7 +24632,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
24491
24632
  });
24492
24633
  const _hoisted_1$4 = { key: 0 };
24493
24634
  const _hoisted_2$2 = { key: 1 };
24494
- const _sfc_main$e = /* @__PURE__ */ defineComponent({
24635
+ const _sfc_main$k = /* @__PURE__ */ defineComponent({
24495
24636
  ...{ name: "TaskWorkButton" },
24496
24637
  __name: "TaskWorkButton",
24497
24638
  setup(__props) {
@@ -24594,7 +24735,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
24594
24735
  };
24595
24736
  }
24596
24737
  });
24597
- const _sfc_main$d = /* @__PURE__ */ defineComponent({
24738
+ const _sfc_main$j = /* @__PURE__ */ defineComponent({
24598
24739
  ...{ name: "OfficeSingleSync" },
24599
24740
  __name: "ShiftAdministrator",
24600
24741
  setup(__props) {
@@ -24882,8 +25023,8 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
24882
25023
  };
24883
25024
  }
24884
25025
  });
24885
- const ShiftAdministrator = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["__scopeId", "data-v-aeac9fbf"]]);
24886
- const _sfc_main$c = /* @__PURE__ */ defineComponent({
25026
+ const ShiftAdministrator = /* @__PURE__ */ _export_sfc$1(_sfc_main$j, [["__scopeId", "data-v-aeac9fbf"]]);
25027
+ const _sfc_main$i = /* @__PURE__ */ defineComponent({
24887
25028
  ...{ name: "OfficeSingleSync" },
24888
25029
  __name: "ShiftSupervisor",
24889
25030
  setup(__props) {
@@ -25158,8 +25299,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
25158
25299
  };
25159
25300
  }
25160
25301
  });
25161
- const ShiftSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$c, [["__scopeId", "data-v-4e4f8d08"]]);
25162
- const _sfc_main$b = /* @__PURE__ */ defineComponent({
25302
+ const ShiftSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$i, [["__scopeId", "data-v-4e4f8d08"]]);
25303
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
25163
25304
  ...{ name: "ShiftCollection" },
25164
25305
  __name: "ShiftCollection",
25165
25306
  setup(__props) {
@@ -25175,7 +25316,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
25175
25316
  };
25176
25317
  }
25177
25318
  });
25178
- const _sfc_main$a = /* @__PURE__ */ defineComponent({
25319
+ const _sfc_main$g = /* @__PURE__ */ defineComponent({
25179
25320
  ...{ name: "OfficeSingleSync" },
25180
25321
  __name: "ShiftSingle",
25181
25322
  setup(__props) {
@@ -25446,7 +25587,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
25446
25587
  };
25447
25588
  }
25448
25589
  });
25449
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
25590
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
25450
25591
  ...{ name: "ShiftTypeCollection" },
25451
25592
  __name: "ShiftTypeCollection",
25452
25593
  setup(__props) {
@@ -25463,7 +25604,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
25463
25604
  }
25464
25605
  });
25465
25606
  const _hoisted_1$3 = { class: "grid gap-2 sm:grid-cols-2" };
25466
- const _sfc_main$8 = /* @__PURE__ */ defineComponent({
25607
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
25467
25608
  __name: "ShiftTypeSingle",
25468
25609
  setup(__props) {
25469
25610
  const {
@@ -25578,8 +25719,8 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
25578
25719
  };
25579
25720
  }
25580
25721
  });
25581
- const ShiftTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$8, [["__scopeId", "data-v-b26a1277"]]);
25582
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
25722
+ const ShiftTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$e, [["__scopeId", "data-v-b26a1277"]]);
25723
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
25583
25724
  ...{ name: "ShiftStaffCollection" },
25584
25725
  __name: "ShiftStaffCollection",
25585
25726
  props: {
@@ -25646,8 +25787,8 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
25646
25787
  };
25647
25788
  }
25648
25789
  });
25649
- const ShiftStaffCollection = /* @__PURE__ */ _export_sfc$1(_sfc_main$7, [["__scopeId", "data-v-1865509e"]]);
25650
- const _sfc_main$6 = /* @__PURE__ */ defineComponent({
25790
+ const ShiftStaffCollection = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["__scopeId", "data-v-1865509e"]]);
25791
+ const _sfc_main$c = /* @__PURE__ */ defineComponent({
25651
25792
  __name: "ShiftStaffSingle",
25652
25793
  setup(__props) {
25653
25794
  var _a;
@@ -25836,7 +25977,7 @@ const _hoisted_3$1 = { class: "start" };
25836
25977
  const _hoisted_4$1 = { class: "title" };
25837
25978
  const _hoisted_5$1 = { class: "description" };
25838
25979
  const _hoisted_6$1 = { class: "end" };
25839
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
25980
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
25840
25981
  ...{ name: "ShiftStaffDisplay" },
25841
25982
  __name: "ShiftStaffDisplay",
25842
25983
  props: {
@@ -25904,7 +26045,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
25904
26045
  createElementVNode("div", _hoisted_6$1, [
25905
26046
  createVNode(unref(OfficeCollectionQuery), { displays: __props.displays }, {
25906
26047
  default: withCtx(() => [
25907
- unref(permit).isAny(["neu:shiftCabang", "neu:admin"]) ? (openBlock(), createBlock(unref(_sfc_main$1h), { key: 0 })) : createCommentVNode("v-if", true),
26048
+ unref(permit).isAny(["neu:shiftCabang", "neu:admin"]) ? (openBlock(), createBlock(unref(_sfc_main$1p), { key: 0 })) : createCommentVNode("v-if", true),
25908
26049
  createVNode(unref(OfficeCollectionOperation), {
25909
26050
  "is-main": "",
25910
26051
  path: __props.path
@@ -25928,9 +26069,9 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
25928
26069
  };
25929
26070
  }
25930
26071
  });
25931
- const ShiftStaffDisplay = /* @__PURE__ */ _export_sfc$1(_sfc_main$5, [["__scopeId", "data-v-9ab749f2"]]);
26072
+ const ShiftStaffDisplay = /* @__PURE__ */ _export_sfc$1(_sfc_main$b, [["__scopeId", "data-v-9ab749f2"]]);
25932
26073
  const _hoisted_1$1 = { class: "buttons" };
25933
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
26074
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
25934
26075
  ...{ name: "ShiftStaffWrapper" },
25935
26076
  __name: "ShiftStaffWrapper",
25936
26077
  props: {
@@ -26144,8 +26285,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
26144
26285
  };
26145
26286
  }
26146
26287
  });
26147
- const ShiftStaffWrapper = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["__scopeId", "data-v-1ddd2145"]]);
26148
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
26288
+ const ShiftStaffWrapper = /* @__PURE__ */ _export_sfc$1(_sfc_main$a, [["__scopeId", "data-v-1ddd2145"]]);
26289
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
26149
26290
  ...{ name: "ShiftStaffCollectionStaff" },
26150
26291
  __name: "ShiftStaffCollectionStaff",
26151
26292
  setup(__props) {
@@ -26170,7 +26311,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
26170
26311
  };
26171
26312
  }
26172
26313
  });
26173
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
26314
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
26174
26315
  ...{ name: "ShiftStaffCollectionBranch" },
26175
26316
  __name: "ShiftStaffCollectionBranch",
26176
26317
  setup(__props) {
@@ -26195,7 +26336,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
26195
26336
  };
26196
26337
  }
26197
26338
  });
26198
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
26339
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
26199
26340
  ...{ name: "ShiftStaffBranchSingle" },
26200
26341
  __name: "ShiftStaffSingleBranch",
26201
26342
  setup(__props) {
@@ -26370,7 +26511,7 @@ const _hoisted_6 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElem
26370
26511
  /* HOISTED */
26371
26512
  ));
26372
26513
  const _hoisted_7 = { class: "button-end" };
26373
- const _sfc_main = /* @__PURE__ */ defineComponent({
26514
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
26374
26515
  ...{ name: "ShiftStaffImport" },
26375
26516
  __name: "ShiftStaffImport",
26376
26517
  setup(__props) {
@@ -26475,93 +26616,490 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
26475
26616
  };
26476
26617
  }
26477
26618
  });
26478
- const ShiftStaffImport = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["__scopeId", "data-v-818a1e6a"]]);
26619
+ const ShiftStaffImport = /* @__PURE__ */ _export_sfc$1(_sfc_main$6, [["__scopeId", "data-v-818a1e6a"]]);
26620
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
26621
+ ...{ name: "LeaveQuotaCollection" },
26622
+ __name: "LeaveQuotaCollection",
26623
+ setup(__props) {
26624
+ useCollection();
26625
+ return (_ctx, _cache) => {
26626
+ return openBlock(), createBlock(unref(NeonCollection), { class: "neu-leave-quota-collection" }, {
26627
+ default: withCtx(() => [
26628
+ createVNode(unref(OfficeCollectionTable))
26629
+ ]),
26630
+ _: 1
26631
+ /* STABLE */
26632
+ });
26633
+ };
26634
+ }
26635
+ });
26636
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
26637
+ __name: "LeaveQuotaSingle",
26638
+ setup(__props) {
26639
+ const {
26640
+ fields,
26641
+ initialValues,
26642
+ values,
26643
+ isLoading,
26644
+ isChanged,
26645
+ isMain,
26646
+ isNew,
26647
+ saveOne,
26648
+ discardChanges,
26649
+ syncOne,
26650
+ executeOne
26651
+ } = useSingle();
26652
+ const toast = useToast();
26653
+ const responseState = ref();
26654
+ function getNotified() {
26655
+ if (responseState.value === "leaveStaffGenerated") {
26656
+ toast.push({
26657
+ id: "generate:leaveQuota",
26658
+ content: "Successfully generated leave quota.",
26659
+ color: "success"
26660
+ });
26661
+ }
26662
+ }
26663
+ async function generateLeave() {
26664
+ const result = await executeOne("generateLeave", {
26665
+ nameLeave: values.value.nameLeave,
26666
+ nameStaffs: values.value.nameStaffs,
26667
+ typeLeave: values.value.typeLeave,
26668
+ leaveQuota: values.value.leaveQuota,
26669
+ startedAt: values.value.startedAt,
26670
+ endedAt: values.value.endedAt,
26671
+ branches: values.value.branches,
26672
+ conflictResolved: false,
26673
+ leaveQuotaId: values.value.id
26674
+ });
26675
+ if (result) {
26676
+ values.value.hasConflict = result.data.executeLeaveQuota.output.hasConflict;
26677
+ await syncOne();
26678
+ await saveOne();
26679
+ }
26680
+ getNotified();
26681
+ }
26682
+ async function saveCheck() {
26683
+ if (values.value.attendanceTypeId == null) {
26684
+ toast.push({
26685
+ id: "neu:attendance-type:code",
26686
+ icon: "warning",
26687
+ content: "Tipe Absensi belum diisi! Silahkan pilih Tipe Absensi terlebih dahulu.",
26688
+ color: "danger",
26689
+ placement: "bottom-right"
26690
+ });
26691
+ return;
26692
+ } else {
26693
+ await saveOne();
26694
+ }
26695
+ }
26696
+ return (_ctx, _cache) => {
26697
+ return openBlock(), createBlock(unref(NeonSingle), null, {
26698
+ default: withCtx(() => [
26699
+ createVNode(unref(OfficeTabs), null, {
26700
+ default: withCtx(() => [
26701
+ createVNode(unref(OfficeTab), {
26702
+ handle: "info",
26703
+ icon: "circle-info",
26704
+ title: "Info"
26705
+ }, {
26706
+ default: withCtx(() => [
26707
+ createVNode(unref(NeonForm), {
26708
+ handle: "info",
26709
+ "initial-values": unref(initialValues),
26710
+ "is-loading": unref(isLoading),
26711
+ "is-changed": unref(isChanged),
26712
+ "use-unsaved": "",
26713
+ onCancel: unref(discardChanges),
26714
+ onSubmit: saveCheck
26715
+ }, {
26716
+ default: withCtx(() => [
26717
+ unref(values).hasConflict ? (openBlock(), createBlock(unref(NeonAlert), {
26718
+ key: 0,
26719
+ icon: "circle-exclamation",
26720
+ title: "Konflik Karyawan!.",
26721
+ description: "Ada data karyawan yang dipilih sudah ada didata Kuota Cuti lainnya. Silahkan hapus data karyawan dan pilih karyawan lainnya.",
26722
+ color: "warning"
26723
+ })) : createCommentVNode("v-if", true),
26724
+ createVNode(unref(NeonField), mergeProps({
26725
+ modelValue: unref(values).nameLeave,
26726
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(values).nameLeave = $event)
26727
+ }, unref(fields).nameLeave), null, 16, ["modelValue"]),
26728
+ createVNode(unref(OfficeRelation), {
26729
+ modelValue: unref(values),
26730
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(values) ? values.value = $event : null),
26731
+ field: unref(fields).branches
26732
+ }, null, 8, ["modelValue", "field"]),
26733
+ createVNode(unref(OfficeRelation), {
26734
+ modelValue: unref(values),
26735
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => isRef(values) ? values.value = $event : null),
26736
+ field: unref(fields).typeLeave
26737
+ }, null, 8, ["modelValue", "field"]),
26738
+ createVNode(unref(NeonFields), { class: "grid grid-cols-[3fr_1fr]" }, {
26739
+ default: withCtx(() => [
26740
+ createVNode(unref(OfficeRelation), {
26741
+ modelValue: unref(values),
26742
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(values) ? values.value = $event : null),
26743
+ field: unref(fields).nameStaffs
26744
+ }, null, 8, ["modelValue", "field"]),
26745
+ unref(values).hasGenerated === false ? (openBlock(), createBlock(unref(NeonButton), {
26746
+ key: 0,
26747
+ class: "mt-4",
26748
+ "icon-left": "sync",
26749
+ label: "Generate",
26750
+ "is-rounded": "",
26751
+ size: "sm",
26752
+ color: "success",
26753
+ onClick: generateLeave
26754
+ })) : createCommentVNode("v-if", true)
26755
+ ]),
26756
+ _: 1
26757
+ /* STABLE */
26758
+ }),
26759
+ createVNode(unref(NeonField), mergeProps({
26760
+ modelValue: unref(values).leaveQuota,
26761
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => unref(values).leaveQuota = $event)
26762
+ }, unref(fields).leaveQuota, { "is-disabled": "" }), null, 16, ["modelValue"]),
26763
+ createVNode(unref(NeonField), mergeProps({
26764
+ modelValue: unref(values).startedAt,
26765
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => unref(values).startedAt = $event)
26766
+ }, unref(fields).startedAt), null, 16, ["modelValue"]),
26767
+ createVNode(unref(NeonField), mergeProps({
26768
+ modelValue: unref(values).endedAt,
26769
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(values).endedAt = $event)
26770
+ }, unref(fields).endedAt), null, 16, ["modelValue"]),
26771
+ createVNode(unref(NeonField), mergeProps({
26772
+ modelValue: unref(values).note,
26773
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).note = $event)
26774
+ }, unref(fields).note), null, 16, ["modelValue"])
26775
+ ]),
26776
+ _: 1
26777
+ /* STABLE */
26778
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel"])
26779
+ ]),
26780
+ _: 1
26781
+ /* STABLE */
26782
+ }),
26783
+ createCommentVNode(" Cuti Karyawan"),
26784
+ !unref(isNew) && !unref(values).hasConflict ? (openBlock(), createBlock(unref(OfficeTab), {
26785
+ key: 0,
26786
+ handle: "cutiKaryawan",
26787
+ icon: "house-person-leave",
26788
+ title: "Cuti Karyawan"
26789
+ }, {
26790
+ default: withCtx(() => [
26791
+ createVNode(unref(OfficeCollectionRelated), {
26792
+ definition: "neu:personalia:leaveStaff",
26793
+ title: "Cuti Karyawan",
26794
+ query: unref(Query).define({
26795
+ filter: {
26796
+ leaveQuotaStaffId: unref(values).id
26797
+ },
26798
+ sort: {
26799
+ handle: "startedAt",
26800
+ direction: "ascending"
26801
+ }
26802
+ }),
26803
+ excludes: ["click", "create"],
26804
+ columns: [
26805
+ "staff",
26806
+ "typeLeave",
26807
+ "leaveQuota",
26808
+ "startedAt",
26809
+ "endedAt"
26810
+ ],
26811
+ sorts: ["startedAt", "createdAt", "updatedAt"],
26812
+ filters: ["staff"]
26813
+ }, null, 8, ["query"])
26814
+ ]),
26815
+ _: 1
26816
+ /* STABLE */
26817
+ })) : createCommentVNode("v-if", true),
26818
+ !unref(isNew) && unref(values).hasConflict ? (openBlock(), createBlock(unref(OfficeTab), {
26819
+ key: 1,
26820
+ handle: "konflik",
26821
+ icon: "circle-exclamation",
26822
+ title: "Konflik Karyawan"
26823
+ }, {
26824
+ default: withCtx(() => [
26825
+ createVNode(unref(NeonAlert), {
26826
+ icon: "circle-exclamation",
26827
+ title: "Perhatian!",
26828
+ description: "Selesaikan konflik yang terjadi di kuota cuti.",
26829
+ color: "warning"
26830
+ }),
26831
+ createVNode(unref(OfficeCollectionRelated), {
26832
+ definition: "neu:personalia:leaveConflict",
26833
+ title: "Konlfik Cuti Karyawan",
26834
+ query: unref(Query).define({
26835
+ filter: {
26836
+ leaveQuotaId: unref(values).id,
26837
+ deletedAt: { $exists: false }
26838
+ },
26839
+ sort: {
26840
+ handle: "startedAt",
26841
+ direction: "ascending"
26842
+ }
26843
+ }),
26844
+ "use-bulk": "",
26845
+ excludes: ["click", "create"],
26846
+ columns: [
26847
+ "staff",
26848
+ "leaveQuotaOldName",
26849
+ "leaveQuotaOld",
26850
+ "leaveQuotaNewName",
26851
+ "leaveQuotaNew"
26852
+ ],
26853
+ sorts: ["startedAt", "createdAt", "updatedAt"],
26854
+ filters: ["staff"]
26855
+ }, null, 8, ["query"])
26856
+ ]),
26857
+ _: 1
26858
+ /* STABLE */
26859
+ })) : createCommentVNode("v-if", true)
26860
+ ]),
26861
+ _: 1
26862
+ /* STABLE */
26863
+ })
26864
+ ]),
26865
+ _: 1
26866
+ /* STABLE */
26867
+ });
26868
+ };
26869
+ }
26870
+ });
26871
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
26872
+ __name: "LeaveConflictSingle",
26873
+ setup(__props) {
26874
+ const { fields, values } = useSingle();
26875
+ return (_ctx, _cache) => {
26876
+ const _component_NeonField = resolveComponent("NeonField");
26877
+ const _component_NeonForm = resolveComponent("NeonForm");
26878
+ const _component_OfficeTabs = resolveComponent("OfficeTabs");
26879
+ const _component_NeonSingle = resolveComponent("NeonSingle");
26880
+ return openBlock(), createBlock(_component_NeonSingle, null, {
26881
+ default: withCtx(() => [
26882
+ createVNode(_component_OfficeTabs, null, {
26883
+ default: withCtx(() => [
26884
+ createVNode(unref(OfficeTab), {
26885
+ handle: "info",
26886
+ icon: "circle-info",
26887
+ title: "Info"
26888
+ }, {
26889
+ default: withCtx(() => [
26890
+ createVNode(_component_NeonForm, { handle: "info" }, {
26891
+ default: withCtx(() => [
26892
+ createVNode(_component_NeonField, mergeProps({
26893
+ modelValue: unref(values).staff,
26894
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(values).staff = $event)
26895
+ }, unref(fields).staff, { "is-disabled": "" }), null, 16, ["modelValue"])
26896
+ ]),
26897
+ _: 1
26898
+ /* STABLE */
26899
+ })
26900
+ ]),
26901
+ _: 1
26902
+ /* STABLE */
26903
+ })
26904
+ ]),
26905
+ _: 1
26906
+ /* STABLE */
26907
+ })
26908
+ ]),
26909
+ _: 1
26910
+ /* STABLE */
26911
+ });
26912
+ };
26913
+ }
26914
+ });
26915
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
26916
+ __name: "LeaveStaffSingle",
26917
+ setup(__props) {
26918
+ const { fields, values } = useSingle();
26919
+ return (_ctx, _cache) => {
26920
+ const _component_NeonField = resolveComponent("NeonField");
26921
+ const _component_NeonForm = resolveComponent("NeonForm");
26922
+ const _component_OfficeTabs = resolveComponent("OfficeTabs");
26923
+ const _component_NeonSingle = resolveComponent("NeonSingle");
26924
+ return openBlock(), createBlock(_component_NeonSingle, null, {
26925
+ default: withCtx(() => [
26926
+ createVNode(_component_OfficeTabs, null, {
26927
+ default: withCtx(() => [
26928
+ createVNode(unref(OfficeTab), {
26929
+ handle: "info",
26930
+ icon: "circle-info",
26931
+ title: "Info"
26932
+ }, {
26933
+ default: withCtx(() => [
26934
+ createVNode(_component_NeonForm, {
26935
+ handle: "info",
26936
+ "use-unsaved": ""
26937
+ }, {
26938
+ default: withCtx(() => [
26939
+ createVNode(_component_NeonField, mergeProps({
26940
+ modelValue: unref(values).staff,
26941
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(values).staff = $event)
26942
+ }, unref(fields).staff, { "is-disabled": "" }), null, 16, ["modelValue"])
26943
+ ]),
26944
+ _: 1
26945
+ /* STABLE */
26946
+ })
26947
+ ]),
26948
+ _: 1
26949
+ /* STABLE */
26950
+ })
26951
+ ]),
26952
+ _: 1
26953
+ /* STABLE */
26954
+ })
26955
+ ]),
26956
+ _: 1
26957
+ /* STABLE */
26958
+ });
26959
+ };
26960
+ }
26961
+ });
26962
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
26963
+ ...{ name: "LeaveStaffCollection" },
26964
+ __name: "LeaveStaffCollection",
26965
+ setup(__props) {
26966
+ useCollection();
26967
+ return (_ctx, _cache) => {
26968
+ return openBlock(), createBlock(unref(NeonCollection), { class: "neu-leave-staff-collection" }, {
26969
+ default: withCtx(() => [
26970
+ createVNode(unref(OfficeCollectionTable))
26971
+ ]),
26972
+ _: 1
26973
+ /* STABLE */
26974
+ });
26975
+ };
26976
+ }
26977
+ });
26978
+ const _sfc_main = /* @__PURE__ */ defineComponent({
26979
+ ...{ name: "LeaveConflictCollection" },
26980
+ __name: "LeaveConflictCollection",
26981
+ setup(__props) {
26982
+ const { fields } = useCollection();
26983
+ return (_ctx, _cache) => {
26984
+ return openBlock(), createBlock(unref(NeonCollection), { class: "neu-leave-conflict-collection" }, {
26985
+ default: withCtx(() => [
26986
+ createVNode(unref(OfficeCollectionTable), {
26987
+ freeze: 1,
26988
+ bulk: { update: "updateConflict" },
26989
+ "use-bulk": "",
26990
+ "use-select": "",
26991
+ size: "lg"
26992
+ }, {
26993
+ "update-form": withCtx(({ values }) => [
26994
+ createVNode(unref(NeonField), mergeProps({
26995
+ modelValue: values.deleteType,
26996
+ "onUpdate:modelValue": ($event) => values.deleteType = $event
26997
+ }, unref(fields).deleteType), null, 16, ["modelValue", "onUpdate:modelValue"])
26998
+ ]),
26999
+ _: 1
27000
+ /* STABLE */
27001
+ })
27002
+ ]),
27003
+ _: 1
27004
+ /* STABLE */
27005
+ });
27006
+ };
27007
+ }
27008
+ });
26479
27009
  const all = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
26480
27010
  __proto__: null,
26481
- AttendanceCollection: _sfc_main$1g,
27011
+ AttendanceCollection: _sfc_main$1o,
26482
27012
  AttendanceDelegate,
26483
27013
  AttendanceManager,
26484
27014
  AttendanceSingle,
26485
27015
  AttendanceStaff,
26486
27016
  AttendanceSupervisor,
27017
+ AttendanceTypeCollection: _sfc_main$1i,
27018
+ AttendanceTypeSingle,
26487
27019
  CheckInAccess,
26488
- CheckInCollection: _sfc_main$13,
27020
+ CheckInCollection: _sfc_main$19,
26489
27021
  CheckInExternal,
26490
27022
  CheckInPresenceCollection,
26491
- CheckInScanError: _sfc_main$17,
26492
- CheckInScanSuccess: _sfc_main$15,
27023
+ CheckInScanError: _sfc_main$1d,
27024
+ CheckInScanSuccess: _sfc_main$1b,
26493
27025
  CheckInScanner,
26494
27026
  CheckInSingle,
26495
27027
  CheckInSupervisor,
27028
+ LeaveConflictCollection: _sfc_main,
27029
+ LeaveConflictSingle: _sfc_main$3,
27030
+ LeaveQuotaCollection: _sfc_main$5,
27031
+ LeaveQuotaSingle: _sfc_main$4,
27032
+ LeaveStaffCollection: _sfc_main$1,
27033
+ LeaveStaffSingle: _sfc_main$2,
26496
27034
  NOperasional: operasional_types,
26497
27035
  NeonTime,
26498
- NeutronImportButton: _sfc_main$1h,
27036
+ NeutronImportButton: _sfc_main$1p,
26499
27037
  OfficeSingleSync,
26500
27038
  OperasionalIdentitas,
26501
27039
  PeriodButton,
26502
- PlanCollection: _sfc_main$10,
27040
+ PlanCollection: _sfc_main$16,
26503
27041
  PlanSingle,
26504
27042
  PlanStaff,
26505
- PlanTypeCollection: _sfc_main$_,
27043
+ PlanTypeCollection: _sfc_main$14,
26506
27044
  PlanTypeSingle,
26507
- ProgressAccessCollection: _sfc_main$P,
27045
+ ProgressAccessCollection: _sfc_main$V,
26508
27046
  ProgressAccessSingle,
26509
27047
  ProgressAccessSupervisor,
26510
- ProgressButton: _sfc_main$S,
27048
+ ProgressButton: _sfc_main$Y,
26511
27049
  ProgressCollection,
26512
27050
  ProgressNote,
26513
- ProgressNoteButton: _sfc_main$R,
27051
+ ProgressNoteButton: _sfc_main$X,
26514
27052
  ProgressSingle,
26515
27053
  ProgressTomorrow,
26516
27054
  ProgressYesterday,
26517
- ResponsibilityCollection: _sfc_main$L,
27055
+ ResponsibilityCollection: _sfc_main$R,
26518
27056
  ResponsibilitySingle,
26519
27057
  ResponsibilityStaff,
26520
27058
  ResponsibilitySupervisor,
26521
- ResponsibilityTypeCollection: _sfc_main$J,
27059
+ ResponsibilityTypeCollection: _sfc_main$P,
26522
27060
  ResponsibilityTypeSingle,
26523
27061
  ShiftAdministrator,
26524
- ShiftCollection: _sfc_main$b,
26525
- ShiftSingle: _sfc_main$a,
27062
+ ShiftCollection: _sfc_main$h,
27063
+ ShiftSingle: _sfc_main$g,
26526
27064
  ShiftStaffCollection,
26527
- ShiftStaffCollectionBranch: _sfc_main$2,
26528
- ShiftStaffCollectionStaff: _sfc_main$3,
27065
+ ShiftStaffCollectionBranch: _sfc_main$8,
27066
+ ShiftStaffCollectionStaff: _sfc_main$9,
26529
27067
  ShiftStaffDisplay,
26530
27068
  ShiftStaffImport,
26531
- ShiftStaffSingle: _sfc_main$6,
26532
- ShiftStaffSingleBranch: _sfc_main$1,
27069
+ ShiftStaffSingle: _sfc_main$c,
27070
+ ShiftStaffSingleBranch: _sfc_main$7,
26533
27071
  ShiftStaffWrapper,
26534
27072
  ShiftSupervisor,
26535
- ShiftTypeCollection: _sfc_main$9,
27073
+ ShiftTypeCollection: _sfc_main$f,
26536
27074
  ShiftTypeSingle,
26537
- SituationCollection: _sfc_main$F,
26538
- SituationSingle: _sfc_main$E,
26539
- SituationSupportive: _sfc_main$G,
26540
- SituationTypeCollection: _sfc_main$D,
26541
- SituationTypeSingle: _sfc_main$C,
26542
- SituationWork: _sfc_main$H,
27075
+ SituationCollection: _sfc_main$L,
27076
+ SituationSingle: _sfc_main$K,
27077
+ SituationSupportive: _sfc_main$M,
27078
+ SituationTypeCollection: _sfc_main$J,
27079
+ SituationTypeSingle: _sfc_main$I,
27080
+ SituationWork: _sfc_main$N,
26543
27081
  StaffAccess,
26544
- StaffCollection: _sfc_main$y,
26545
- StaffIdentity: _sfc_main$B,
27082
+ StaffCollection: _sfc_main$E,
27083
+ StaffIdentity: _sfc_main$H,
26546
27084
  StaffOperasional,
26547
27085
  StaffSingle,
26548
27086
  SubmissionAudit,
26549
- SubmissionCollection: _sfc_main$o,
27087
+ SubmissionCollection: _sfc_main$u,
26550
27088
  SubmissionDecision,
26551
27089
  SubmissionFollowUp,
26552
27090
  SubmissionSingle,
26553
27091
  SubmissionStaff,
26554
27092
  SubmissionSupervisor,
26555
- SubmissionTypeCollection: _sfc_main$m,
27093
+ SubmissionTypeCollection: _sfc_main$s,
26556
27094
  SubmissionTypeSingle,
26557
27095
  SubmissionWaitingDecision,
26558
27096
  TargetBranch,
26559
- TargetCollection: _sfc_main$j,
27097
+ TargetCollection: _sfc_main$p,
26560
27098
  TargetSingle,
26561
- TaskCollection: _sfc_main$g,
26562
- TaskSingle: _sfc_main$f,
26563
- TaskWork: _sfc_main$h,
26564
- TaskWorkButton: _sfc_main$e,
27099
+ TaskCollection: _sfc_main$m,
27100
+ TaskSingle: _sfc_main$l,
27101
+ TaskWork: _sfc_main$n,
27102
+ TaskWorkButton: _sfc_main$k,
26565
27103
  bus,
26566
27104
  useAttendanceStore,
26567
27105
  useImportShift,
@@ -26583,6 +27121,18 @@ const config = OfficeInterfaces.define({
26583
27121
  "AttendanceManager",
26584
27122
  "AttendanceSupervisor",
26585
27123
  "AttendanceDelegate",
27124
+ // Attendance Type
27125
+ "AttendanceTypeCollection",
27126
+ "AttendanceTypeSingle",
27127
+ // Leave Quota
27128
+ "LeaveQuotaCollection",
27129
+ "LeaveQuotaSingle",
27130
+ // Leave Staff
27131
+ "LeaveStaffCollection",
27132
+ "LeaveStaffSingle",
27133
+ // Leave Conflict
27134
+ "LeaveConflictCollection",
27135
+ "LeaveConflictSingle",
26586
27136
  // Check In
26587
27137
  "CheckInCollection",
26588
27138
  "CheckInSingle",