@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
@@ -1515,7 +1515,7 @@ const _hoisted_2$q = {
1515
1515
  key: 2,
1516
1516
  class: "section"
1517
1517
  };
1518
- const _sfc_main$1m = /* @__PURE__ */ vue.defineComponent({
1518
+ const _sfc_main$1u = /* @__PURE__ */ vue.defineComponent({
1519
1519
  ...{ name: "OperasionalIdentitas" },
1520
1520
  __name: "OperasionalIdentitas",
1521
1521
  props: {
@@ -1876,7 +1876,7 @@ const _export_sfc$1 = (sfc, props) => {
1876
1876
  }
1877
1877
  return target;
1878
1878
  };
1879
- const OperasionalIdentitas = /* @__PURE__ */ _export_sfc$1(_sfc_main$1m, [["__scopeId", "data-v-0befc683"]]);
1879
+ const OperasionalIdentitas = /* @__PURE__ */ _export_sfc$1(_sfc_main$1u, [["__scopeId", "data-v-0befc683"]]);
1880
1880
  var top = "top";
1881
1881
  var bottom = "bottom";
1882
1882
  var right = "right";
@@ -11434,7 +11434,7 @@ const _sfc_main$1$1 = /* @__PURE__ */ vue.defineComponent({
11434
11434
  };
11435
11435
  }
11436
11436
  });
11437
- const _sfc_main$1l = vue.defineComponent({
11437
+ const _sfc_main$1t = vue.defineComponent({
11438
11438
  inheritAttrs: false,
11439
11439
  emits,
11440
11440
  props: propsDef,
@@ -11453,7 +11453,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
11453
11453
  vue.createVNode(_component_DatePickerPopover, vue.normalizeProps(vue.guardReactiveProps(_ctx.$attrs)), null, 16)
11454
11454
  ], 64)) : (vue.openBlock(), vue.createBlock(_component_DatePickerBase, vue.normalizeProps(vue.mergeProps({ key: 1 }, _ctx.$attrs)), null, 16));
11455
11455
  }
11456
- const DatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["render", _sfc_render]]);
11456
+ const DatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["render", _sfc_render]]);
11457
11457
  dayjs.extend(durationPlugin);
11458
11458
  dayjs.extend(relativeTimePlugin);
11459
11459
  dayjs.extend(advancedFormat);
@@ -11481,7 +11481,7 @@ const _hoisted_2$o = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ vue.cr
11481
11481
  const _hoisted_3$f = [
11482
11482
  _hoisted_2$o
11483
11483
  ];
11484
- const _sfc_main$1k = /* @__PURE__ */ vue.defineComponent({
11484
+ const _sfc_main$1s = /* @__PURE__ */ vue.defineComponent({
11485
11485
  __name: "NeonTime",
11486
11486
  props: {
11487
11487
  modelValue: {
@@ -11540,7 +11540,7 @@ const _sfc_main$1k = /* @__PURE__ */ vue.defineComponent({
11540
11540
  };
11541
11541
  }
11542
11542
  });
11543
- const NeonTime = /* @__PURE__ */ _export_sfc$1(_sfc_main$1k, [["__scopeId", "data-v-af42e627"]]);
11543
+ const NeonTime = /* @__PURE__ */ _export_sfc$1(_sfc_main$1s, [["__scopeId", "data-v-af42e627"]]);
11544
11544
  const useAttendanceStore = pinia.defineStore("neu:personalia:attendance", {
11545
11545
  state: () => ({
11546
11546
  isEntering: false,
@@ -12964,7 +12964,7 @@ const _hoisted_1$z = {
12964
12964
  key: 0,
12965
12965
  class: "office-single-sync"
12966
12966
  };
12967
- const _sfc_main$1j = /* @__PURE__ */ vue.defineComponent({
12967
+ const _sfc_main$1r = /* @__PURE__ */ vue.defineComponent({
12968
12968
  ...{ name: "OfficeSingleSync" },
12969
12969
  __name: "OfficeSingleSync",
12970
12970
  setup(__props) {
@@ -13004,9 +13004,9 @@ const _sfc_main$1j = /* @__PURE__ */ vue.defineComponent({
13004
13004
  };
13005
13005
  }
13006
13006
  });
13007
- const OfficeSingleSync = /* @__PURE__ */ _export_sfc$1(_sfc_main$1j, [["__scopeId", "data-v-3dbc6c7d"]]);
13007
+ const OfficeSingleSync = /* @__PURE__ */ _export_sfc$1(_sfc_main$1r, [["__scopeId", "data-v-3dbc6c7d"]]);
13008
13008
  const _hoisted_1$y = { class: "period-button" };
13009
- const _sfc_main$1i = /* @__PURE__ */ vue.defineComponent({
13009
+ const _sfc_main$1q = /* @__PURE__ */ vue.defineComponent({
13010
13010
  ...{ name: "PeriodButton" },
13011
13011
  __name: "PeriodButton",
13012
13012
  emits: ["update:period", "update:date", "sync"],
@@ -13054,9 +13054,9 @@ const _sfc_main$1i = /* @__PURE__ */ vue.defineComponent({
13054
13054
  };
13055
13055
  }
13056
13056
  });
13057
- const PeriodButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["__scopeId", "data-v-5f2c3308"]]);
13057
+ const PeriodButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$1q, [["__scopeId", "data-v-5f2c3308"]]);
13058
13058
  const _hoisted_1$x = { id: "grading-actions" };
13059
- const _sfc_main$1h = /* @__PURE__ */ vue.defineComponent({
13059
+ const _sfc_main$1p = /* @__PURE__ */ vue.defineComponent({
13060
13060
  ...{ name: "NeutronImportButton" },
13061
13061
  __name: "NeutronImportButton",
13062
13062
  setup(__props) {
@@ -13083,7 +13083,7 @@ const _sfc_main$1h = /* @__PURE__ */ vue.defineComponent({
13083
13083
  };
13084
13084
  }
13085
13085
  });
13086
- const _sfc_main$1g = /* @__PURE__ */ vue.defineComponent({
13086
+ const _sfc_main$1o = /* @__PURE__ */ vue.defineComponent({
13087
13087
  ...{ name: "AttendanceCollection" },
13088
13088
  __name: "AttendanceCollection",
13089
13089
  props: {
@@ -13136,7 +13136,7 @@ const _sfc_main$1g = /* @__PURE__ */ vue.defineComponent({
13136
13136
  });
13137
13137
  const _hoisted_1$w = { class: "grid gap-2 sm:grid-cols-2" };
13138
13138
  const _hoisted_2$n = { class: "text-right text-fg-subdued text-sm" };
13139
- const _sfc_main$1f = /* @__PURE__ */ vue.defineComponent({
13139
+ const _sfc_main$1n = /* @__PURE__ */ vue.defineComponent({
13140
13140
  __name: "AttendanceSingle",
13141
13141
  setup(__props) {
13142
13142
  const {
@@ -13215,10 +13215,11 @@ const _sfc_main$1f = /* @__PURE__ */ vue.defineComponent({
13215
13215
  note: "Tanggal absensi."
13216
13216
  }
13217
13217
  }, { "onUpdate:modelValue": onStartedAtUpdate }), null, 16, ["model-value"])),
13218
- vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
13219
- modelValue: vue.unref(values).type,
13220
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).type = $event)
13221
- }, vue.unref(fields).type), null, 16, ["modelValue"]),
13218
+ vue.createVNode(vue.unref(office$1.OfficeRelation), {
13219
+ modelValue: vue.unref(values),
13220
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.isRef(values) ? values.value = $event : null),
13221
+ field: vue.unref(fields).type
13222
+ }, null, 8, ["modelValue", "field"]),
13222
13223
  vue.createVNode(vue.unref(office$1.OfficeRelation), {
13223
13224
  modelValue: vue.unref(values),
13224
13225
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
@@ -13313,7 +13314,7 @@ const _sfc_main$1f = /* @__PURE__ */ vue.defineComponent({
13313
13314
  };
13314
13315
  }
13315
13316
  });
13316
- const AttendanceSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$1f, [["__scopeId", "data-v-68aaccaa"]]);
13317
+ const AttendanceSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$1n, [["__scopeId", "data-v-0f0e0119"]]);
13317
13318
  const _hoisted_1$v = { class: "flex flex-wrap" };
13318
13319
  const _hoisted_2$m = { class: "mt-2" };
13319
13320
  const _hoisted_3$e = { class: "mt-2" };
@@ -13332,7 +13333,7 @@ const _hoisted_8$9 = {
13332
13333
  class: "grid gap-2 sm:grid-cols-2"
13333
13334
  };
13334
13335
  const _hoisted_9$9 = { class: "text-right text-fg-subdued text-sm" };
13335
- const _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({
13336
+ const _sfc_main$1m = /* @__PURE__ */ vue.defineComponent({
13336
13337
  __name: "AttendanceManager",
13337
13338
  setup(__props) {
13338
13339
  var _a;
@@ -13498,7 +13499,7 @@ const _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({
13498
13499
  field: vue.unref(fields).decideStaff,
13499
13500
  "is-disabled": vue.unref(values).status == "approved" || vue.unref(values).status == "rejected"
13500
13501
  }, null, 8, ["modelValue", "field", "is-disabled"]),
13501
- vue.unref(values).type == "leave" ? (vue.openBlock(), vue.createBlock(vue.unref(office$1.OfficeRelation), {
13502
+ vue.unref(values).type === "leave" ? (vue.openBlock(), vue.createBlock(vue.unref(office$1.OfficeRelation), {
13502
13503
  key: 0,
13503
13504
  modelValue: vue.unref(values),
13504
13505
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
@@ -13515,7 +13516,7 @@ const _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({
13515
13516
  "is-dashed": "",
13516
13517
  label: "Keterangan"
13517
13518
  })) : vue.createCommentVNode("v-if", true),
13518
- vue.unref(values).type == "dayOff" || vue.unref(values).type == "sick" || vue.unref(values).type == "permission" || vue.unref(values).type == "leave" ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
13519
+ vue.unref(values).type === "dayOff" || vue.unref(values).type === "sick" || vue.unref(values).type === "permission" || vue.unref(values).type === "leave" ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
13519
13520
  key: 3,
13520
13521
  modelValue: vue.unref(values).submittedAt,
13521
13522
  "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(values).submittedAt = $event)
@@ -13695,7 +13696,7 @@ const _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({
13695
13696
  };
13696
13697
  }
13697
13698
  });
13698
- const AttendanceManager = /* @__PURE__ */ _export_sfc$1(_sfc_main$1e, [["__scopeId", "data-v-f59b58f4"]]);
13699
+ const AttendanceManager = /* @__PURE__ */ _export_sfc$1(_sfc_main$1m, [["__scopeId", "data-v-2957df27"]]);
13699
13700
  const _hoisted_1$u = {
13700
13701
  key: 1,
13701
13702
  class: "flex flex-wrap"
@@ -13718,7 +13719,7 @@ const _hoisted_9$8 = {
13718
13719
  class: "grid gap-2 sm:grid-cols-2"
13719
13720
  };
13720
13721
  const _hoisted_10$8 = { class: "text-right text-fg-subdued text-sm" };
13721
- const _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
13722
+ const _sfc_main$1l = /* @__PURE__ */ vue.defineComponent({
13722
13723
  __name: "AttendanceStaff",
13723
13724
  setup(__props) {
13724
13725
  var _a;
@@ -14252,7 +14253,7 @@ const _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
14252
14253
  };
14253
14254
  }
14254
14255
  });
14255
- const AttendanceStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$1d, [["__scopeId", "data-v-d413adf3"]]);
14256
+ const AttendanceStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$1l, [["__scopeId", "data-v-d413adf3"]]);
14256
14257
  const _hoisted_1$t = { class: "flex flex-wrap" };
14257
14258
  const _hoisted_2$k = { class: "mt-2" };
14258
14259
  const _hoisted_3$c = { class: "mt-2" };
@@ -14273,7 +14274,7 @@ const _hoisted_10$7 = {
14273
14274
  class: "grid gap-2 sm:grid-cols-2"
14274
14275
  };
14275
14276
  const _hoisted_11$7 = { class: "text-right text-fg-subdued text-sm" };
14276
- const _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
14277
+ const _sfc_main$1k = /* @__PURE__ */ vue.defineComponent({
14277
14278
  __name: "AttendanceSupervisor",
14278
14279
  setup(__props) {
14279
14280
  var _a;
@@ -14770,8 +14771,8 @@ const _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
14770
14771
  };
14771
14772
  }
14772
14773
  });
14773
- const AttendanceSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$1c, [["__scopeId", "data-v-07766872"]]);
14774
- const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
14774
+ const AttendanceSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$1k, [["__scopeId", "data-v-07766872"]]);
14775
+ const _sfc_main$1j = /* @__PURE__ */ vue.defineComponent({
14775
14776
  __name: "AttendanceDelegate",
14776
14777
  setup(__props) {
14777
14778
  var _a;
@@ -14933,7 +14934,147 @@ const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
14933
14934
  };
14934
14935
  }
14935
14936
  });
14936
- const AttendanceDelegate = /* @__PURE__ */ _export_sfc$1(_sfc_main$1b, [["__scopeId", "data-v-538fa6fb"]]);
14937
+ const AttendanceDelegate = /* @__PURE__ */ _export_sfc$1(_sfc_main$1j, [["__scopeId", "data-v-538fa6fb"]]);
14938
+ const _sfc_main$1i = /* @__PURE__ */ vue.defineComponent({
14939
+ ...{ name: "AttendanceTypeCollection" },
14940
+ __name: "AttendanceTypeCollection",
14941
+ setup(__props) {
14942
+ context.useCollection();
14943
+ return (_ctx, _cache) => {
14944
+ return vue.openBlock(), vue.createBlock(vue.unref(context.NeonCollection), { class: "neu-attendance-type-collection" }, {
14945
+ default: vue.withCtx(() => [
14946
+ vue.createVNode(vue.unref(office$1.OfficeCollectionTable))
14947
+ ]),
14948
+ _: 1
14949
+ /* STABLE */
14950
+ });
14951
+ };
14952
+ }
14953
+ });
14954
+ const _sfc_main$1h = /* @__PURE__ */ vue.defineComponent({
14955
+ __name: "AttendanceTypeSingle",
14956
+ setup(__props) {
14957
+ const {
14958
+ fields,
14959
+ initialValues,
14960
+ values,
14961
+ isLoading,
14962
+ isChanged,
14963
+ isMain,
14964
+ saveOne,
14965
+ discardChanges
14966
+ } = context.useSingle();
14967
+ const toast = interfaces.useToast();
14968
+ async function saveCheck() {
14969
+ if (initialValues.value.code === "" || values.value.code === "" || !values.value.code) {
14970
+ toast.push({
14971
+ id: "neu:attendance-type:code",
14972
+ icon: "warning",
14973
+ content: "Kode dari Tipe Absensi belum diisi!",
14974
+ color: "danger",
14975
+ placement: "bottom-right"
14976
+ });
14977
+ return;
14978
+ } else if (values.value.name !== "") {
14979
+ await saveOne();
14980
+ }
14981
+ }
14982
+ return (_ctx, _cache) => {
14983
+ return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-attendance-type-single" }, {
14984
+ default: vue.withCtx(() => [
14985
+ vue.createVNode(vue.unref(office$1.OfficeTabs), { "use-url": vue.unref(isMain) }, {
14986
+ default: vue.withCtx(() => [
14987
+ vue.createVNode(vue.unref(office$1.OfficeTab), {
14988
+ handle: "info",
14989
+ icon: "circle-info",
14990
+ title: "Info"
14991
+ }, {
14992
+ default: vue.withCtx(() => [
14993
+ vue.createVNode(vue.unref(form.NeonForm), {
14994
+ handle: "info",
14995
+ "initial-values": vue.unref(initialValues),
14996
+ "is-loading": vue.unref(isLoading),
14997
+ "is-changed": vue.unref(isChanged),
14998
+ "use-unsaved": "",
14999
+ onCancel: vue.unref(discardChanges),
15000
+ onSubmit: saveCheck
15001
+ }, {
15002
+ default: vue.withCtx(() => [
15003
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
15004
+ modelValue: vue.unref(values).name,
15005
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).name = $event)
15006
+ }, vue.unref(fields).name), null, 16, ["modelValue"]),
15007
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
15008
+ modelValue: vue.unref(values).code,
15009
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).code = $event)
15010
+ }, vue.unref(fields).code), null, 16, ["modelValue"]),
15011
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
15012
+ modelValue: vue.unref(values).leaveQuota,
15013
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).leaveQuota = $event)
15014
+ }, vue.unref(fields).leaveQuota), null, 16, ["modelValue"]),
15015
+ vue.createVNode(vue.unref(office$1.OfficeRelation), {
15016
+ modelValue: vue.unref(values),
15017
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
15018
+ field: vue.unref(fields).branches
15019
+ }, null, 8, ["modelValue", "field"]),
15020
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
15021
+ modelValue: vue.unref(values).maxDurationDays,
15022
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).maxDurationDays = $event)
15023
+ }, vue.unref(fields).maxDurationDays), null, 16, ["modelValue"]),
15024
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
15025
+ modelValue: vue.unref(values).showLeaveQuota,
15026
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).showLeaveQuota = $event)
15027
+ }, vue.unref(fields).showLeaveQuota), {
15028
+ input: vue.withCtx(() => [
15029
+ vue.createVNode(vue.unref(form.NeonCheck), {
15030
+ modelValue: vue.unref(values).showLeaveQuota,
15031
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(values).showLeaveQuota = $event),
15032
+ label: "Tampilkan",
15033
+ class: "mt-2"
15034
+ }, null, 8, ["modelValue"])
15035
+ ]),
15036
+ _: 1
15037
+ /* STABLE */
15038
+ }, 16, ["modelValue"]),
15039
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
15040
+ modelValue: vue.unref(values).showAttendanceType,
15041
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).showAttendanceType = $event)
15042
+ }, vue.unref(fields).showAttendanceType), {
15043
+ input: vue.withCtx(() => [
15044
+ vue.createVNode(vue.unref(form.NeonCheck), {
15045
+ modelValue: vue.unref(values).showAttendanceType,
15046
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).showAttendanceType = $event),
15047
+ label: "Tampilkan",
15048
+ class: "mt-2"
15049
+ }, null, 8, ["modelValue"])
15050
+ ]),
15051
+ _: 1
15052
+ /* STABLE */
15053
+ }, 16, ["modelValue"]),
15054
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
15055
+ modelValue: vue.unref(values).description,
15056
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).description = $event)
15057
+ }, vue.unref(fields).description), null, 16, ["modelValue"])
15058
+ ]),
15059
+ _: 1
15060
+ /* STABLE */
15061
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel"])
15062
+ ]),
15063
+ _: 1
15064
+ /* STABLE */
15065
+ })
15066
+ ]),
15067
+ _: 1
15068
+ /* STABLE */
15069
+ }, 8, ["use-url"])
15070
+ ]),
15071
+ _: 1
15072
+ /* STABLE */
15073
+ });
15074
+ };
15075
+ }
15076
+ });
15077
+ const AttendanceTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$1h, [["__scopeId", "data-v-9913f3e7"]]);
14937
15078
  const _withScopeId$3 = (n) => (vue.pushScopeId("data-v-802b3ded"), n = n(), vue.popScopeId(), n);
14938
15079
  const _hoisted_1$s = { id: "view-checkIns" };
14939
15080
  const _hoisted_2$j = { class: "summary" };
@@ -14950,7 +15091,7 @@ const _hoisted_5$9 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ vue.cr
14950
15091
  /* HOISTED */
14951
15092
  ));
14952
15093
  const _hoisted_6$9 = { class: "end" };
14953
- const _sfc_main$1a = /* @__PURE__ */ vue.defineComponent({
15094
+ const _sfc_main$1g = /* @__PURE__ */ vue.defineComponent({
14954
15095
  ...{
14955
15096
  name: "CheckInPresenceCollection"
14956
15097
  },
@@ -15339,9 +15480,9 @@ const _sfc_main$1a = /* @__PURE__ */ vue.defineComponent({
15339
15480
  };
15340
15481
  }
15341
15482
  });
15342
- const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc$1(_sfc_main$1a, [["__scopeId", "data-v-802b3ded"]]);
15483
+ const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc$1(_sfc_main$1g, [["__scopeId", "data-v-802b3ded"]]);
15343
15484
  const _hoisted_1$r = { class: "grid gap-4 sm:grid-cols-2" };
15344
- const _sfc_main$19 = /* @__PURE__ */ vue.defineComponent({
15485
+ const _sfc_main$1f = /* @__PURE__ */ vue.defineComponent({
15345
15486
  __name: "CheckInExternal",
15346
15487
  setup(__props) {
15347
15488
  const {
@@ -15444,7 +15585,7 @@ const _sfc_main$19 = /* @__PURE__ */ vue.defineComponent({
15444
15585
  };
15445
15586
  }
15446
15587
  });
15447
- const CheckInExternal = /* @__PURE__ */ _export_sfc$1(_sfc_main$19, [["__scopeId", "data-v-2b39928d"]]);
15588
+ const CheckInExternal = /* @__PURE__ */ _export_sfc$1(_sfc_main$1f, [["__scopeId", "data-v-2b39928d"]]);
15448
15589
  const _withScopeId$2 = (n) => (vue.pushScopeId("data-v-8df96f5c"), n = n(), vue.popScopeId(), n);
15449
15590
  const _hoisted_1$q = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.createElementVNode(
15450
15591
  "h4",
@@ -15464,7 +15605,7 @@ const _hoisted_2$i = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.cr
15464
15605
  -1
15465
15606
  /* HOISTED */
15466
15607
  ));
15467
- const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
15608
+ const _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({
15468
15609
  __name: "CheckInAccess",
15469
15610
  emits: ["close"],
15470
15611
  setup(__props) {
@@ -15516,9 +15657,9 @@ const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
15516
15657
  };
15517
15658
  }
15518
15659
  });
15519
- const CheckInAccess = /* @__PURE__ */ _export_sfc$1(_sfc_main$18, [["__scopeId", "data-v-8df96f5c"]]);
15660
+ const CheckInAccess = /* @__PURE__ */ _export_sfc$1(_sfc_main$1e, [["__scopeId", "data-v-8df96f5c"]]);
15520
15661
  const _hoisted_1$p = { class: "buttons" };
15521
- const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
15662
+ const _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
15522
15663
  __name: "CheckInScanError",
15523
15664
  setup(__props) {
15524
15665
  const attendanceStore = useAttendanceStore();
@@ -15964,7 +16105,7 @@ const _hoisted_2$h = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.cr
15964
16105
  /* HOISTED */
15965
16106
  ));
15966
16107
  const _hoisted_3$a = { class: "mr-2 text-sm" };
15967
- const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
16108
+ const _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
15968
16109
  __name: "CheckInScanner",
15969
16110
  emits: ["start", "stop", "scanned", "close"],
15970
16111
  setup(__props, { emit: __emit }) {
@@ -16143,7 +16284,7 @@ const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
16143
16284
  };
16144
16285
  }
16145
16286
  });
16146
- const CheckInScanner = /* @__PURE__ */ _export_sfc$1(_sfc_main$16, [["__scopeId", "data-v-6bdaf755"]]);
16287
+ const CheckInScanner = /* @__PURE__ */ _export_sfc$1(_sfc_main$1c, [["__scopeId", "data-v-6bdaf755"]]);
16147
16288
  const _hoisted_1$n = /* @__PURE__ */ vue.createElementVNode(
16148
16289
  "h3",
16149
16290
  { align: "center" },
@@ -16151,7 +16292,7 @@ const _hoisted_1$n = /* @__PURE__ */ vue.createElementVNode(
16151
16292
  -1
16152
16293
  /* HOISTED */
16153
16294
  );
16154
- const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
16295
+ const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
16155
16296
  __name: "CheckInScanSuccess",
16156
16297
  emits: ["close"],
16157
16298
  setup(__props) {
@@ -16184,7 +16325,7 @@ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
16184
16325
  }
16185
16326
  });
16186
16327
  const _hoisted_1$m = { class: "grid gap-4 sm:grid-cols-2" };
16187
- const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
16328
+ const _sfc_main$1a = /* @__PURE__ */ vue.defineComponent({
16188
16329
  __name: "CheckInSupervisor",
16189
16330
  setup(__props) {
16190
16331
  const {
@@ -16296,8 +16437,8 @@ const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
16296
16437
  };
16297
16438
  }
16298
16439
  });
16299
- const CheckInSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$14, [["__scopeId", "data-v-7dba7b2e"]]);
16300
- const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
16440
+ const CheckInSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$1a, [["__scopeId", "data-v-7dba7b2e"]]);
16441
+ const _sfc_main$19 = /* @__PURE__ */ vue.defineComponent({
16301
16442
  ...{
16302
16443
  name: "CheckInCollection"
16303
16444
  },
@@ -16316,7 +16457,7 @@ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
16316
16457
  }
16317
16458
  });
16318
16459
  const _hoisted_1$l = { class: "grid gap-4 sm:grid-cols-2" };
16319
- const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
16460
+ const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
16320
16461
  __name: "CheckInSingle",
16321
16462
  setup(__props) {
16322
16463
  const {
@@ -16409,8 +16550,8 @@ const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
16409
16550
  };
16410
16551
  }
16411
16552
  });
16412
- const CheckInSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$12, [["__scopeId", "data-v-be75db83"]]);
16413
- const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
16553
+ const CheckInSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$18, [["__scopeId", "data-v-be75db83"]]);
16554
+ const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
16414
16555
  __name: "PlanStaff",
16415
16556
  setup(__props) {
16416
16557
  const {
@@ -16616,8 +16757,8 @@ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
16616
16757
  };
16617
16758
  }
16618
16759
  });
16619
- const PlanStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$11, [["__scopeId", "data-v-19b1f97b"]]);
16620
- const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
16760
+ const PlanStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$17, [["__scopeId", "data-v-19b1f97b"]]);
16761
+ const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
16621
16762
  ...{
16622
16763
  name: "PlanCollection"
16623
16764
  },
@@ -16635,7 +16776,7 @@ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
16635
16776
  };
16636
16777
  }
16637
16778
  });
16638
- const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
16779
+ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
16639
16780
  __name: "PlanSingle",
16640
16781
  setup(__props) {
16641
16782
  const {
@@ -16831,8 +16972,8 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
16831
16972
  };
16832
16973
  }
16833
16974
  });
16834
- const PlanSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$$, [["__scopeId", "data-v-ebc684f0"]]);
16835
- const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
16975
+ const PlanSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$15, [["__scopeId", "data-v-ebc684f0"]]);
16976
+ const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
16836
16977
  ...{
16837
16978
  name: "PlanTypeCollection"
16838
16979
  },
@@ -16850,7 +16991,7 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
16850
16991
  };
16851
16992
  }
16852
16993
  });
16853
- const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
16994
+ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
16854
16995
  __name: "PlanTypeSingle",
16855
16996
  setup(__props) {
16856
16997
  const {
@@ -16970,8 +17111,8 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
16970
17111
  };
16971
17112
  }
16972
17113
  });
16973
- const PlanTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$Z, [["__scopeId", "data-v-add540b6"]]);
16974
- const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
17114
+ const PlanTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$13, [["__scopeId", "data-v-add540b6"]]);
17115
+ const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
16975
17116
  ...{ name: "ProgressNoteTab" },
16976
17117
  __name: "ProgressNoteTab",
16977
17118
  setup(__props) {
@@ -17004,7 +17145,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
17004
17145
  });
17005
17146
  const _hoisted_1$k = { class: "grid gap-2 sm:grid-cols-2" };
17006
17147
  const _hoisted_2$g = { class: "text-right text-fg-subdued text-sm" };
17007
- const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
17148
+ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
17008
17149
  __name: "ProgressTomorrow",
17009
17150
  setup(__props) {
17010
17151
  var _a;
@@ -17282,7 +17423,7 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
17282
17423
  _: 1
17283
17424
  /* STABLE */
17284
17425
  })) : vue.createCommentVNode("v-if", true),
17285
- vue.createVNode(vue.unref(_sfc_main$Y))
17426
+ vue.createVNode(vue.unref(_sfc_main$12))
17286
17427
  ];
17287
17428
  }),
17288
17429
  _: 1
@@ -17295,10 +17436,10 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
17295
17436
  };
17296
17437
  }
17297
17438
  });
17298
- const ProgressTomorrow = /* @__PURE__ */ _export_sfc$1(_sfc_main$X, [["__scopeId", "data-v-607d910c"]]);
17439
+ const ProgressTomorrow = /* @__PURE__ */ _export_sfc$1(_sfc_main$11, [["__scopeId", "data-v-607d910c"]]);
17299
17440
  const _hoisted_1$j = { class: "grid gap-2 sm:grid-cols-2" };
17300
17441
  const _hoisted_2$f = { class: "text-right text-fg-subdued text-sm" };
17301
- const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
17442
+ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
17302
17443
  __name: "ProgressYesterday",
17303
17444
  setup(__props) {
17304
17445
  var _a;
@@ -17575,7 +17716,7 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
17575
17716
  _: 1
17576
17717
  /* STABLE */
17577
17718
  })) : vue.createCommentVNode("v-if", true),
17578
- vue.createVNode(vue.unref(_sfc_main$Y))
17719
+ vue.createVNode(vue.unref(_sfc_main$12))
17579
17720
  ];
17580
17721
  }),
17581
17722
  _: 1
@@ -17588,8 +17729,8 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
17588
17729
  };
17589
17730
  }
17590
17731
  });
17591
- const ProgressYesterday = /* @__PURE__ */ _export_sfc$1(_sfc_main$W, [["__scopeId", "data-v-cc36bbaf"]]);
17592
- const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
17732
+ const ProgressYesterday = /* @__PURE__ */ _export_sfc$1(_sfc_main$10, [["__scopeId", "data-v-cc36bbaf"]]);
17733
+ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
17593
17734
  __name: "ProgressNote",
17594
17735
  setup(__props) {
17595
17736
  var _a;
@@ -17695,7 +17836,7 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
17695
17836
  _: 1
17696
17837
  /* STABLE */
17697
17838
  }),
17698
- vue.createVNode(vue.unref(_sfc_main$Y))
17839
+ vue.createVNode(vue.unref(_sfc_main$12))
17699
17840
  ]),
17700
17841
  _: 1
17701
17842
  /* STABLE */
@@ -17707,8 +17848,8 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
17707
17848
  };
17708
17849
  }
17709
17850
  });
17710
- const ProgressNote = /* @__PURE__ */ _export_sfc$1(_sfc_main$V, [["__scopeId", "data-v-d6b827e1"]]);
17711
- const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
17851
+ const ProgressNote = /* @__PURE__ */ _export_sfc$1(_sfc_main$$, [["__scopeId", "data-v-d6b827e1"]]);
17852
+ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
17712
17853
  ...{
17713
17854
  name: "ProgressCollection"
17714
17855
  },
@@ -17770,10 +17911,10 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
17770
17911
  };
17771
17912
  }
17772
17913
  });
17773
- const ProgressCollection = /* @__PURE__ */ _export_sfc$1(_sfc_main$U, [["__scopeId", "data-v-0d51a8c3"]]);
17914
+ const ProgressCollection = /* @__PURE__ */ _export_sfc$1(_sfc_main$_, [["__scopeId", "data-v-0d51a8c3"]]);
17774
17915
  const _hoisted_1$i = { class: "grid gap-2 sm:grid-cols-2" };
17775
17916
  const _hoisted_2$e = { class: "text-right text-fg-subdued text-sm" };
17776
- const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
17917
+ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
17777
17918
  __name: "ProgressSingle",
17778
17919
  setup(__props) {
17779
17920
  const { staff } = useOperasional();
@@ -18117,7 +18258,7 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
18117
18258
  _: 1
18118
18259
  /* STABLE */
18119
18260
  })) : vue.createCommentVNode("v-if", true),
18120
- vue.createVNode(vue.unref(_sfc_main$Y))
18261
+ vue.createVNode(vue.unref(_sfc_main$12))
18121
18262
  ];
18122
18263
  }),
18123
18264
  _: 1
@@ -18130,9 +18271,9 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
18130
18271
  };
18131
18272
  }
18132
18273
  });
18133
- const ProgressSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$T, [["__scopeId", "data-v-9a6e2573"]]);
18274
+ const ProgressSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$Z, [["__scopeId", "data-v-9a6e2573"]]);
18134
18275
  const _hoisted_1$h = { class: "flex flex-wrap" };
18135
- const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
18276
+ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
18136
18277
  ...{ name: "ProgressButton" },
18137
18278
  __name: "ProgressButton",
18138
18279
  setup(__props) {
@@ -18179,7 +18320,7 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
18179
18320
  }
18180
18321
  });
18181
18322
  const _hoisted_1$g = { class: "flex flex-wrap" };
18182
- const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
18323
+ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
18183
18324
  ...{ name: "ProgressNoteButton" },
18184
18325
  __name: "ProgressNoteButton",
18185
18326
  setup(__props) {
@@ -18201,7 +18342,7 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
18201
18342
  };
18202
18343
  }
18203
18344
  });
18204
- const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
18345
+ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
18205
18346
  __name: "ProgressAccessSupervisor",
18206
18347
  setup(__props) {
18207
18348
  const {
@@ -18264,8 +18405,8 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
18264
18405
  };
18265
18406
  }
18266
18407
  });
18267
- const ProgressAccessSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$Q, [["__scopeId", "data-v-2ca10028"]]);
18268
- const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
18408
+ const ProgressAccessSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$W, [["__scopeId", "data-v-2ca10028"]]);
18409
+ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
18269
18410
  ...{
18270
18411
  name: "ProgressAccessCollection"
18271
18412
  },
@@ -18283,7 +18424,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
18283
18424
  };
18284
18425
  }
18285
18426
  });
18286
- const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
18427
+ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
18287
18428
  __name: "ProgressAccessSingle",
18288
18429
  setup(__props) {
18289
18430
  const {
@@ -18346,8 +18487,8 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
18346
18487
  };
18347
18488
  }
18348
18489
  });
18349
- const ProgressAccessSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$O, [["__scopeId", "data-v-3592f7c4"]]);
18350
- const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
18490
+ const ProgressAccessSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$U, [["__scopeId", "data-v-3592f7c4"]]);
18491
+ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
18351
18492
  __name: "ResponsibilityStaff",
18352
18493
  setup(__props) {
18353
18494
  const {
@@ -18540,8 +18681,8 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
18540
18681
  };
18541
18682
  }
18542
18683
  });
18543
- const ResponsibilityStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$N, [["__scopeId", "data-v-89afc670"]]);
18544
- const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
18684
+ const ResponsibilityStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$T, [["__scopeId", "data-v-89afc670"]]);
18685
+ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
18545
18686
  __name: "ResponsibilitySupervisor",
18546
18687
  setup(__props) {
18547
18688
  const {
@@ -18734,8 +18875,8 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
18734
18875
  };
18735
18876
  }
18736
18877
  });
18737
- const ResponsibilitySupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$M, [["__scopeId", "data-v-983b6c8a"]]);
18738
- const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
18878
+ const ResponsibilitySupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$S, [["__scopeId", "data-v-983b6c8a"]]);
18879
+ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
18739
18880
  ...{
18740
18881
  name: "ResponsibilityCollection"
18741
18882
  },
@@ -18753,7 +18894,7 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
18753
18894
  };
18754
18895
  }
18755
18896
  });
18756
- const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
18897
+ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
18757
18898
  __name: "ResponsibilitySingle",
18758
18899
  setup(__props) {
18759
18900
  var _a, _b;
@@ -18992,8 +19133,8 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
18992
19133
  };
18993
19134
  }
18994
19135
  });
18995
- const ResponsibilitySingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["__scopeId", "data-v-d75da3fd"]]);
18996
- const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
19136
+ const ResponsibilitySingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$Q, [["__scopeId", "data-v-d75da3fd"]]);
19137
+ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
18997
19138
  ...{
18998
19139
  name: "ResponsibilityTypeCollection"
18999
19140
  },
@@ -19011,7 +19152,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
19011
19152
  };
19012
19153
  }
19013
19154
  });
19014
- const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
19155
+ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
19015
19156
  __name: "ResponsibilityTypeSingle",
19016
19157
  setup(__props) {
19017
19158
  const {
@@ -19076,8 +19217,8 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
19076
19217
  };
19077
19218
  }
19078
19219
  });
19079
- const ResponsibilityTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$I, [["__scopeId", "data-v-f59caf0c"]]);
19080
- const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
19220
+ const ResponsibilityTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$O, [["__scopeId", "data-v-f59caf0c"]]);
19221
+ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
19081
19222
  __name: "SituationWork",
19082
19223
  setup(__props) {
19083
19224
  const {
@@ -19253,7 +19394,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
19253
19394
  };
19254
19395
  }
19255
19396
  });
19256
- const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
19397
+ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
19257
19398
  ...{ name: "SituationSupportive" },
19258
19399
  __name: "SituationSupportive",
19259
19400
  setup(__props) {
@@ -19388,7 +19529,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
19388
19529
  };
19389
19530
  }
19390
19531
  });
19391
- const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
19532
+ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
19392
19533
  ...{ name: "SituationCollection" },
19393
19534
  __name: "SituationCollection",
19394
19535
  setup(__props) {
@@ -19404,7 +19545,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
19404
19545
  };
19405
19546
  }
19406
19547
  });
19407
- const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
19548
+ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
19408
19549
  __name: "SituationSingle",
19409
19550
  setup(__props) {
19410
19551
  const {
@@ -19537,7 +19678,7 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
19537
19678
  };
19538
19679
  }
19539
19680
  });
19540
- const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
19681
+ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
19541
19682
  ...{ name: "SituationTypeCollection" },
19542
19683
  __name: "SituationTypeCollection",
19543
19684
  setup(__props) {
@@ -19553,7 +19694,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
19553
19694
  };
19554
19695
  }
19555
19696
  });
19556
- const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
19697
+ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
19557
19698
  __name: "SituationTypeSingle",
19558
19699
  setup(__props) {
19559
19700
  const {
@@ -19621,7 +19762,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
19621
19762
  };
19622
19763
  }
19623
19764
  });
19624
- const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
19765
+ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
19625
19766
  __name: "StaffIdentity",
19626
19767
  setup(__props) {
19627
19768
  const { values, saveOne, executeOne, syncOne } = context.useSingle();
@@ -19852,7 +19993,7 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
19852
19993
  });
19853
19994
  const _hoisted_1$f = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
19854
19995
  const _hoisted_2$d = { class: "grid gap-4 sm:grid-cols-2" };
19855
- const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
19996
+ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
19856
19997
  __name: "StaffOperasional",
19857
19998
  setup(__props) {
19858
19999
  const {
@@ -19967,7 +20108,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
19967
20108
  title: "Identitas"
19968
20109
  }, {
19969
20110
  default: vue.withCtx(() => [
19970
- vue.createVNode(_sfc_main$B)
20111
+ vue.createVNode(_sfc_main$H)
19971
20112
  ]),
19972
20113
  _: 1
19973
20114
  /* STABLE */
@@ -20082,10 +20223,10 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
20082
20223
  };
20083
20224
  }
20084
20225
  });
20085
- const StaffOperasional = /* @__PURE__ */ _export_sfc$1(_sfc_main$A, [["__scopeId", "data-v-1966f9f2"]]);
20226
+ const StaffOperasional = /* @__PURE__ */ _export_sfc$1(_sfc_main$G, [["__scopeId", "data-v-1966f9f2"]]);
20086
20227
  const _hoisted_1$e = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
20087
20228
  const _hoisted_2$c = { class: "grid gap-4 sm:grid-cols-2" };
20088
- const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
20229
+ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
20089
20230
  __name: "StaffAccess",
20090
20231
  setup(__props) {
20091
20232
  const {
@@ -20304,8 +20445,8 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
20304
20445
  };
20305
20446
  }
20306
20447
  });
20307
- const StaffAccess = /* @__PURE__ */ _export_sfc$1(_sfc_main$z, [["__scopeId", "data-v-d2de29d6"]]);
20308
- const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
20448
+ const StaffAccess = /* @__PURE__ */ _export_sfc$1(_sfc_main$F, [["__scopeId", "data-v-d2de29d6"]]);
20449
+ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
20309
20450
  ...{
20310
20451
  name: "StaffCollection"
20311
20452
  },
@@ -20325,7 +20466,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
20325
20466
  });
20326
20467
  const _hoisted_1$d = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
20327
20468
  const _hoisted_2$b = { class: "grid gap-4 sm:grid-cols-2" };
20328
- const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
20469
+ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
20329
20470
  __name: "StaffSingle",
20330
20471
  setup(__props) {
20331
20472
  const {
@@ -20430,7 +20571,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
20430
20571
  title: "Identitas"
20431
20572
  }, {
20432
20573
  default: vue.withCtx(() => [
20433
- vue.createVNode(_sfc_main$B)
20574
+ vue.createVNode(_sfc_main$H)
20434
20575
  ]),
20435
20576
  _: 1
20436
20577
  /* STABLE */
@@ -20540,8 +20681,8 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
20540
20681
  };
20541
20682
  }
20542
20683
  });
20543
- const StaffSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$x, [["__scopeId", "data-v-baaa95d5"]]);
20544
- const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
20684
+ const StaffSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$D, [["__scopeId", "data-v-baaa95d5"]]);
20685
+ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
20545
20686
  ...{ name: "SubmissionDocumentTab" },
20546
20687
  __name: "SubmissionDocumentTab",
20547
20688
  props: {
@@ -20584,7 +20725,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
20584
20725
  };
20585
20726
  }
20586
20727
  });
20587
- const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
20728
+ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
20588
20729
  ...{ name: "SubmissionDetailTab" },
20589
20730
  __name: "SubmissionDetailTab",
20590
20731
  setup(__props) {
@@ -20646,7 +20787,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
20646
20787
  };
20647
20788
  }
20648
20789
  });
20649
- const SubmissionDetailTab = /* @__PURE__ */ _export_sfc$1(_sfc_main$v, [["__scopeId", "data-v-3475270c"]]);
20790
+ const SubmissionDetailTab = /* @__PURE__ */ _export_sfc$1(_sfc_main$B, [["__scopeId", "data-v-3475270c"]]);
20650
20791
  const _hoisted_1$c = { class: "flex items-right" };
20651
20792
  const _hoisted_2$a = { class: "flex-grow" };
20652
20793
  const _hoisted_3$9 = { class: "ml-2 flex items-end pb-1" };
@@ -20659,7 +20800,7 @@ const _hoisted_9$6 = { class: "ml-2 flex items-end pb-1" };
20659
20800
  const _hoisted_10$6 = { class: "flex items-right" };
20660
20801
  const _hoisted_11$6 = { class: "flex-grow" };
20661
20802
  const _hoisted_12$6 = { class: "ml-2 flex items-end pb-1" };
20662
- const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
20803
+ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
20663
20804
  __name: "SubmissionStaff",
20664
20805
  setup(__props) {
20665
20806
  var _a, _b;
@@ -21050,7 +21191,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
21050
21191
  vue.createCommentVNode(" DETAIL "),
21051
21192
  vue.createVNode(vue.unref(SubmissionDetailTab)),
21052
21193
  vue.createCommentVNode(" DOKUMEN "),
21053
- vue.createVNode(vue.unref(_sfc_main$w), {
21194
+ vue.createVNode(vue.unref(_sfc_main$C), {
21054
21195
  toolbar: "side",
21055
21196
  "is-readonly": vue.unref(values).statusStaff === "raised" || vue.unref(values).statusStaff === "processed" || vue.unref(values).statusStaff === "approved" || vue.unref(values).statusStaff === "monitored" || vue.unref(values).statusStaff === "discontinued" || vue.unref(values).statusStaff === "resolved"
21056
21197
  }, null, 8, ["is-readonly"])
@@ -21065,7 +21206,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
21065
21206
  };
21066
21207
  }
21067
21208
  });
21068
- const SubmissionStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$u, [["__scopeId", "data-v-6e5de481"]]);
21209
+ const SubmissionStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$A, [["__scopeId", "data-v-6e5de481"]]);
21069
21210
  const _hoisted_1$b = { class: "flex items-right" };
21070
21211
  const _hoisted_2$9 = { class: "flex-grow" };
21071
21212
  const _hoisted_3$8 = { class: "ml-2 flex items-end pb-1" };
@@ -21078,7 +21219,7 @@ const _hoisted_9$5 = { class: "ml-2 flex items-end pb-1" };
21078
21219
  const _hoisted_10$5 = { class: "flex items-right" };
21079
21220
  const _hoisted_11$5 = { class: "flex-grow" };
21080
21221
  const _hoisted_12$5 = { class: "ml-2 flex items-end pb-1" };
21081
- const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
21222
+ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
21082
21223
  __name: "SubmissionFollowUp",
21083
21224
  setup(__props) {
21084
21225
  const {
@@ -21332,7 +21473,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
21332
21473
  vue.createCommentVNode(" DETAIL "),
21333
21474
  vue.createVNode(vue.unref(SubmissionDetailTab)),
21334
21475
  vue.createCommentVNode(" DOKUMEN "),
21335
- vue.createVNode(vue.unref(_sfc_main$w), {
21476
+ vue.createVNode(vue.unref(_sfc_main$C), {
21336
21477
  toolbar: "side",
21337
21478
  "is-readonly": ""
21338
21479
  })
@@ -21347,7 +21488,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
21347
21488
  };
21348
21489
  }
21349
21490
  });
21350
- const SubmissionFollowUp = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["__scopeId", "data-v-b87c6266"]]);
21491
+ const SubmissionFollowUp = /* @__PURE__ */ _export_sfc$1(_sfc_main$z, [["__scopeId", "data-v-b87c6266"]]);
21351
21492
  const _hoisted_1$a = { class: "flex flex-wrap" };
21352
21493
  const _hoisted_2$8 = { class: "mt-2" };
21353
21494
  const _hoisted_3$7 = { class: "mt-2" };
@@ -21366,7 +21507,7 @@ const _hoisted_15$2 = { class: "ml-2 flex items-end pb-1" };
21366
21507
  const _hoisted_16 = { class: "flex items-right" };
21367
21508
  const _hoisted_17 = { class: "flex-grow" };
21368
21509
  const _hoisted_18 = { class: "ml-2 flex items-end pb-1" };
21369
- const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
21510
+ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
21370
21511
  __name: "SubmissionAudit",
21371
21512
  setup(__props) {
21372
21513
  var _a, _b, _c;
@@ -21869,7 +22010,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
21869
22010
  }),
21870
22011
  vue.createVNode(vue.unref(SubmissionDetailTab)),
21871
22012
  vue.createCommentVNode(" DOKUMEN "),
21872
- vue.createVNode(vue.unref(_sfc_main$w), {
22013
+ vue.createVNode(vue.unref(_sfc_main$C), {
21873
22014
  toolbar: "side",
21874
22015
  "is-readonly": vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "prepared" || vue.unref(values).status === "resolved"
21875
22016
  }, null, 8, ["is-readonly"]),
@@ -21928,7 +22069,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
21928
22069
  };
21929
22070
  }
21930
22071
  });
21931
- const SubmissionAudit = /* @__PURE__ */ _export_sfc$1(_sfc_main$s, [["__scopeId", "data-v-39e6b2f4"]]);
22072
+ const SubmissionAudit = /* @__PURE__ */ _export_sfc$1(_sfc_main$y, [["__scopeId", "data-v-39e6b2f4"]]);
21932
22073
  const _hoisted_1$9 = { class: "flex flex-wrap" };
21933
22074
  const _hoisted_2$7 = { class: "mt-2" };
21934
22075
  const _hoisted_3$6 = { class: "mt-2" };
@@ -21944,7 +22085,7 @@ const _hoisted_12$3 = { class: "ml-2 flex items-end pb-1" };
21944
22085
  const _hoisted_13$1 = { class: "flex items-right" };
21945
22086
  const _hoisted_14$1 = { class: "flex-grow" };
21946
22087
  const _hoisted_15$1 = { class: "ml-2 flex items-end pb-1" };
21947
- const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
22088
+ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
21948
22089
  __name: "SubmissionDecision",
21949
22090
  setup(__props) {
21950
22091
  var _a, _b, _c;
@@ -22377,7 +22518,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
22377
22518
  vue.createCommentVNode(" DETAIL "),
22378
22519
  vue.createVNode(vue.unref(SubmissionDetailTab)),
22379
22520
  vue.createCommentVNode(" DOKUMEN "),
22380
- vue.createVNode(vue.unref(_sfc_main$w), {
22521
+ vue.createVNode(vue.unref(_sfc_main$C), {
22381
22522
  toolbar: "side",
22382
22523
  "is-readonly": vue.unref(values).status === "raised" || vue.unref(values).status === "delay" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
22383
22524
  }, null, 8, ["is-readonly"]),
@@ -22436,7 +22577,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
22436
22577
  };
22437
22578
  }
22438
22579
  });
22439
- const SubmissionDecision = /* @__PURE__ */ _export_sfc$1(_sfc_main$r, [["__scopeId", "data-v-dcf2399c"]]);
22580
+ const SubmissionDecision = /* @__PURE__ */ _export_sfc$1(_sfc_main$x, [["__scopeId", "data-v-dcf2399c"]]);
22440
22581
  const _hoisted_1$8 = { class: "flex flex-wrap" };
22441
22582
  const _hoisted_2$6 = { class: "mt-2" };
22442
22583
  const _hoisted_3$5 = { class: "mt-2" };
@@ -22452,7 +22593,7 @@ const _hoisted_12$2 = { class: "ml-2 flex items-end pb-1" };
22452
22593
  const _hoisted_13 = { class: "flex items-right" };
22453
22594
  const _hoisted_14 = { class: "flex-grow" };
22454
22595
  const _hoisted_15 = { class: "ml-2 flex items-end pb-1" };
22455
- const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
22596
+ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
22456
22597
  __name: "SubmissionWaitingDecision",
22457
22598
  setup(__props) {
22458
22599
  var _a, _b, _c;
@@ -22884,7 +23025,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
22884
23025
  vue.createCommentVNode(" DETAIL "),
22885
23026
  vue.createVNode(vue.unref(SubmissionDetailTab)),
22886
23027
  vue.createCommentVNode(" DOKUMEN "),
22887
- vue.createVNode(vue.unref(_sfc_main$w), {
23028
+ vue.createVNode(vue.unref(_sfc_main$C), {
22888
23029
  toolbar: "side",
22889
23030
  "is-readonly": vue.unref(values).status === "raised" || vue.unref(values).status === "delay" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
22890
23031
  }, null, 8, ["is-readonly"])
@@ -22899,7 +23040,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
22899
23040
  };
22900
23041
  }
22901
23042
  });
22902
- const SubmissionWaitingDecision = /* @__PURE__ */ _export_sfc$1(_sfc_main$q, [["__scopeId", "data-v-11d31cbb"]]);
23043
+ const SubmissionWaitingDecision = /* @__PURE__ */ _export_sfc$1(_sfc_main$w, [["__scopeId", "data-v-11d31cbb"]]);
22903
23044
  const _hoisted_1$7 = { class: "flex items-right" };
22904
23045
  const _hoisted_2$5 = { class: "flex-grow" };
22905
23046
  const _hoisted_3$4 = { class: "ml-2 flex items-end pb-1" };
@@ -22912,7 +23053,7 @@ const _hoisted_9$1 = { class: "ml-2 flex items-end pb-1" };
22912
23053
  const _hoisted_10$1 = { class: "flex items-right" };
22913
23054
  const _hoisted_11$1 = { class: "flex-grow" };
22914
23055
  const _hoisted_12$1 = { class: "ml-2 flex items-end pb-1" };
22915
- const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
23056
+ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
22916
23057
  __name: "SubmissionSupervisor",
22917
23058
  setup(__props) {
22918
23059
  const {
@@ -23166,7 +23307,7 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
23166
23307
  vue.createCommentVNode(" DETAIL "),
23167
23308
  vue.createVNode(vue.unref(SubmissionDetailTab)),
23168
23309
  vue.createCommentVNode(" DOKUMEN "),
23169
- vue.createVNode(vue.unref(_sfc_main$w), {
23310
+ vue.createVNode(vue.unref(_sfc_main$C), {
23170
23311
  toolbar: "side",
23171
23312
  "is-readonly": ""
23172
23313
  })
@@ -23181,8 +23322,8 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
23181
23322
  };
23182
23323
  }
23183
23324
  });
23184
- const SubmissionSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$p, [["__scopeId", "data-v-eab8a880"]]);
23185
- const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
23325
+ const SubmissionSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$v, [["__scopeId", "data-v-eab8a880"]]);
23326
+ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
23186
23327
  ...{
23187
23328
  name: "SubmissionCollection"
23188
23329
  },
@@ -23212,7 +23353,7 @@ const _hoisted_9 = { class: "ml-2 flex items-end pb-1" };
23212
23353
  const _hoisted_10 = { class: "flex items-right" };
23213
23354
  const _hoisted_11 = { class: "flex-grow" };
23214
23355
  const _hoisted_12 = { class: "ml-2 flex items-end pb-1" };
23215
- const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
23356
+ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
23216
23357
  __name: "SubmissionSingle",
23217
23358
  setup(__props) {
23218
23359
  const {
@@ -23475,7 +23616,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
23475
23616
  vue.createCommentVNode(" DETAIL "),
23476
23617
  vue.createVNode(vue.unref(SubmissionDetailTab)),
23477
23618
  vue.createCommentVNode(" DOKUMEN "),
23478
- vue.createVNode(vue.unref(_sfc_main$w), { toolbar: "side" })
23619
+ vue.createVNode(vue.unref(_sfc_main$C), { toolbar: "side" })
23479
23620
  ]),
23480
23621
  _: 1
23481
23622
  /* STABLE */
@@ -23487,8 +23628,8 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
23487
23628
  };
23488
23629
  }
23489
23630
  });
23490
- const SubmissionSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$n, [["__scopeId", "data-v-61e0e09a"]]);
23491
- const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
23631
+ const SubmissionSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["__scopeId", "data-v-61e0e09a"]]);
23632
+ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
23492
23633
  ...{
23493
23634
  name: "SubmissionTypeCollection"
23494
23635
  },
@@ -23506,7 +23647,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
23506
23647
  };
23507
23648
  }
23508
23649
  });
23509
- const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
23650
+ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
23510
23651
  __name: "SubmissionTypeSingle",
23511
23652
  setup(__props) {
23512
23653
  const {
@@ -23568,8 +23709,8 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
23568
23709
  };
23569
23710
  }
23570
23711
  });
23571
- const SubmissionTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$l, [["__scopeId", "data-v-e8147700"]]);
23572
- const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
23712
+ const SubmissionTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$r, [["__scopeId", "data-v-e8147700"]]);
23713
+ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
23573
23714
  __name: "TargetBranch",
23574
23715
  setup(__props) {
23575
23716
  const {
@@ -23731,8 +23872,8 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
23731
23872
  };
23732
23873
  }
23733
23874
  });
23734
- const TargetBranch = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["__scopeId", "data-v-9a3ab4b4"]]);
23735
- const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
23875
+ const TargetBranch = /* @__PURE__ */ _export_sfc$1(_sfc_main$q, [["__scopeId", "data-v-9a3ab4b4"]]);
23876
+ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
23736
23877
  ...{
23737
23878
  name: "TargetCollection"
23738
23879
  },
@@ -23750,7 +23891,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
23750
23891
  };
23751
23892
  }
23752
23893
  });
23753
- const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
23894
+ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
23754
23895
  __name: "TargetSingle",
23755
23896
  setup(__props) {
23756
23897
  const {
@@ -23912,8 +24053,8 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
23912
24053
  };
23913
24054
  }
23914
24055
  });
23915
- const TargetSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$i, [["__scopeId", "data-v-7bb85044"]]);
23916
- const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
24056
+ const TargetSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["__scopeId", "data-v-7bb85044"]]);
24057
+ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
23917
24058
  __name: "TaskWork",
23918
24059
  setup(__props) {
23919
24060
  const {
@@ -24132,7 +24273,7 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
24132
24273
  };
24133
24274
  }
24134
24275
  });
24135
- const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
24276
+ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
24136
24277
  ...{ name: "TaskCollection" },
24137
24278
  __name: "TaskCollection",
24138
24279
  setup(__props) {
@@ -24152,7 +24293,7 @@ const _hoisted_1$5 = { class: "flex flex-wrap gap-2" };
24152
24293
  const _hoisted_2$3 = { class: "mt-2" };
24153
24294
  const _hoisted_3$2 = { class: "mt-2" };
24154
24295
  const _hoisted_4$2 = { class: "mt-2" };
24155
- const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
24296
+ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
24156
24297
  __name: "TaskSingle",
24157
24298
  setup(__props) {
24158
24299
  var _a;
@@ -24510,7 +24651,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
24510
24651
  });
24511
24652
  const _hoisted_1$4 = { key: 0 };
24512
24653
  const _hoisted_2$2 = { key: 1 };
24513
- const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
24654
+ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
24514
24655
  ...{ name: "TaskWorkButton" },
24515
24656
  __name: "TaskWorkButton",
24516
24657
  setup(__props) {
@@ -24613,7 +24754,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
24613
24754
  };
24614
24755
  }
24615
24756
  });
24616
- const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
24757
+ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
24617
24758
  ...{ name: "OfficeSingleSync" },
24618
24759
  __name: "ShiftAdministrator",
24619
24760
  setup(__props) {
@@ -24901,8 +25042,8 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
24901
25042
  };
24902
25043
  }
24903
25044
  });
24904
- const ShiftAdministrator = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["__scopeId", "data-v-aeac9fbf"]]);
24905
- const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
25045
+ const ShiftAdministrator = /* @__PURE__ */ _export_sfc$1(_sfc_main$j, [["__scopeId", "data-v-aeac9fbf"]]);
25046
+ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
24906
25047
  ...{ name: "OfficeSingleSync" },
24907
25048
  __name: "ShiftSupervisor",
24908
25049
  setup(__props) {
@@ -25177,8 +25318,8 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
25177
25318
  };
25178
25319
  }
25179
25320
  });
25180
- const ShiftSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$c, [["__scopeId", "data-v-4e4f8d08"]]);
25181
- const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
25321
+ const ShiftSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$i, [["__scopeId", "data-v-4e4f8d08"]]);
25322
+ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
25182
25323
  ...{ name: "ShiftCollection" },
25183
25324
  __name: "ShiftCollection",
25184
25325
  setup(__props) {
@@ -25194,7 +25335,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
25194
25335
  };
25195
25336
  }
25196
25337
  });
25197
- const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
25338
+ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
25198
25339
  ...{ name: "OfficeSingleSync" },
25199
25340
  __name: "ShiftSingle",
25200
25341
  setup(__props) {
@@ -25465,7 +25606,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
25465
25606
  };
25466
25607
  }
25467
25608
  });
25468
- const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
25609
+ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
25469
25610
  ...{ name: "ShiftTypeCollection" },
25470
25611
  __name: "ShiftTypeCollection",
25471
25612
  setup(__props) {
@@ -25482,7 +25623,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
25482
25623
  }
25483
25624
  });
25484
25625
  const _hoisted_1$3 = { class: "grid gap-2 sm:grid-cols-2" };
25485
- const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
25626
+ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
25486
25627
  __name: "ShiftTypeSingle",
25487
25628
  setup(__props) {
25488
25629
  const {
@@ -25597,8 +25738,8 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
25597
25738
  };
25598
25739
  }
25599
25740
  });
25600
- const ShiftTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$8, [["__scopeId", "data-v-b26a1277"]]);
25601
- const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
25741
+ const ShiftTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$e, [["__scopeId", "data-v-b26a1277"]]);
25742
+ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
25602
25743
  ...{ name: "ShiftStaffCollection" },
25603
25744
  __name: "ShiftStaffCollection",
25604
25745
  props: {
@@ -25665,8 +25806,8 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
25665
25806
  };
25666
25807
  }
25667
25808
  });
25668
- const ShiftStaffCollection = /* @__PURE__ */ _export_sfc$1(_sfc_main$7, [["__scopeId", "data-v-1865509e"]]);
25669
- const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
25809
+ const ShiftStaffCollection = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["__scopeId", "data-v-1865509e"]]);
25810
+ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
25670
25811
  __name: "ShiftStaffSingle",
25671
25812
  setup(__props) {
25672
25813
  var _a;
@@ -25855,7 +25996,7 @@ const _hoisted_3$1 = { class: "start" };
25855
25996
  const _hoisted_4$1 = { class: "title" };
25856
25997
  const _hoisted_5$1 = { class: "description" };
25857
25998
  const _hoisted_6$1 = { class: "end" };
25858
- const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
25999
+ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
25859
26000
  ...{ name: "ShiftStaffDisplay" },
25860
26001
  __name: "ShiftStaffDisplay",
25861
26002
  props: {
@@ -25923,7 +26064,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
25923
26064
  vue.createElementVNode("div", _hoisted_6$1, [
25924
26065
  vue.createVNode(vue.unref(office$1.OfficeCollectionQuery), { displays: __props.displays }, {
25925
26066
  default: vue.withCtx(() => [
25926
- vue.unref(permit).isAny(["neu:shiftCabang", "neu:admin"]) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$1h), { key: 0 })) : vue.createCommentVNode("v-if", true),
26067
+ vue.unref(permit).isAny(["neu:shiftCabang", "neu:admin"]) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$1p), { key: 0 })) : vue.createCommentVNode("v-if", true),
25927
26068
  vue.createVNode(vue.unref(office$1.OfficeCollectionOperation), {
25928
26069
  "is-main": "",
25929
26070
  path: __props.path
@@ -25947,9 +26088,9 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
25947
26088
  };
25948
26089
  }
25949
26090
  });
25950
- const ShiftStaffDisplay = /* @__PURE__ */ _export_sfc$1(_sfc_main$5, [["__scopeId", "data-v-9ab749f2"]]);
26091
+ const ShiftStaffDisplay = /* @__PURE__ */ _export_sfc$1(_sfc_main$b, [["__scopeId", "data-v-9ab749f2"]]);
25951
26092
  const _hoisted_1$1 = { class: "buttons" };
25952
- const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
26093
+ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
25953
26094
  ...{ name: "ShiftStaffWrapper" },
25954
26095
  __name: "ShiftStaffWrapper",
25955
26096
  props: {
@@ -26163,8 +26304,8 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
26163
26304
  };
26164
26305
  }
26165
26306
  });
26166
- const ShiftStaffWrapper = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["__scopeId", "data-v-1ddd2145"]]);
26167
- const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
26307
+ const ShiftStaffWrapper = /* @__PURE__ */ _export_sfc$1(_sfc_main$a, [["__scopeId", "data-v-1ddd2145"]]);
26308
+ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
26168
26309
  ...{ name: "ShiftStaffCollectionStaff" },
26169
26310
  __name: "ShiftStaffCollectionStaff",
26170
26311
  setup(__props) {
@@ -26189,7 +26330,7 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
26189
26330
  };
26190
26331
  }
26191
26332
  });
26192
- const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
26333
+ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
26193
26334
  ...{ name: "ShiftStaffCollectionBranch" },
26194
26335
  __name: "ShiftStaffCollectionBranch",
26195
26336
  setup(__props) {
@@ -26214,7 +26355,7 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
26214
26355
  };
26215
26356
  }
26216
26357
  });
26217
- const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
26358
+ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
26218
26359
  ...{ name: "ShiftStaffBranchSingle" },
26219
26360
  __name: "ShiftStaffSingleBranch",
26220
26361
  setup(__props) {
@@ -26389,7 +26530,7 @@ const _hoisted_6 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.create
26389
26530
  /* HOISTED */
26390
26531
  ));
26391
26532
  const _hoisted_7 = { class: "button-end" };
26392
- const _sfc_main = /* @__PURE__ */ vue.defineComponent({
26533
+ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
26393
26534
  ...{ name: "ShiftStaffImport" },
26394
26535
  __name: "ShiftStaffImport",
26395
26536
  setup(__props) {
@@ -26494,93 +26635,490 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
26494
26635
  };
26495
26636
  }
26496
26637
  });
26497
- const ShiftStaffImport = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["__scopeId", "data-v-818a1e6a"]]);
26638
+ const ShiftStaffImport = /* @__PURE__ */ _export_sfc$1(_sfc_main$6, [["__scopeId", "data-v-818a1e6a"]]);
26639
+ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
26640
+ ...{ name: "LeaveQuotaCollection" },
26641
+ __name: "LeaveQuotaCollection",
26642
+ setup(__props) {
26643
+ context.useCollection();
26644
+ return (_ctx, _cache) => {
26645
+ return vue.openBlock(), vue.createBlock(vue.unref(context.NeonCollection), { class: "neu-leave-quota-collection" }, {
26646
+ default: vue.withCtx(() => [
26647
+ vue.createVNode(vue.unref(office$1.OfficeCollectionTable))
26648
+ ]),
26649
+ _: 1
26650
+ /* STABLE */
26651
+ });
26652
+ };
26653
+ }
26654
+ });
26655
+ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
26656
+ __name: "LeaveQuotaSingle",
26657
+ setup(__props) {
26658
+ const {
26659
+ fields,
26660
+ initialValues,
26661
+ values,
26662
+ isLoading,
26663
+ isChanged,
26664
+ isMain,
26665
+ isNew,
26666
+ saveOne,
26667
+ discardChanges,
26668
+ syncOne,
26669
+ executeOne
26670
+ } = context.useSingle();
26671
+ const toast = interfaces.useToast();
26672
+ const responseState = vue.ref();
26673
+ function getNotified() {
26674
+ if (responseState.value === "leaveStaffGenerated") {
26675
+ toast.push({
26676
+ id: "generate:leaveQuota",
26677
+ content: "Successfully generated leave quota.",
26678
+ color: "success"
26679
+ });
26680
+ }
26681
+ }
26682
+ async function generateLeave() {
26683
+ const result = await executeOne("generateLeave", {
26684
+ nameLeave: values.value.nameLeave,
26685
+ nameStaffs: values.value.nameStaffs,
26686
+ typeLeave: values.value.typeLeave,
26687
+ leaveQuota: values.value.leaveQuota,
26688
+ startedAt: values.value.startedAt,
26689
+ endedAt: values.value.endedAt,
26690
+ branches: values.value.branches,
26691
+ conflictResolved: false,
26692
+ leaveQuotaId: values.value.id
26693
+ });
26694
+ if (result) {
26695
+ values.value.hasConflict = result.data.executeLeaveQuota.output.hasConflict;
26696
+ await syncOne();
26697
+ await saveOne();
26698
+ }
26699
+ getNotified();
26700
+ }
26701
+ async function saveCheck() {
26702
+ if (values.value.attendanceTypeId == null) {
26703
+ toast.push({
26704
+ id: "neu:attendance-type:code",
26705
+ icon: "warning",
26706
+ content: "Tipe Absensi belum diisi! Silahkan pilih Tipe Absensi terlebih dahulu.",
26707
+ color: "danger",
26708
+ placement: "bottom-right"
26709
+ });
26710
+ return;
26711
+ } else {
26712
+ await saveOne();
26713
+ }
26714
+ }
26715
+ return (_ctx, _cache) => {
26716
+ return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), null, {
26717
+ default: vue.withCtx(() => [
26718
+ vue.createVNode(vue.unref(office$1.OfficeTabs), null, {
26719
+ default: vue.withCtx(() => [
26720
+ vue.createVNode(vue.unref(office$1.OfficeTab), {
26721
+ handle: "info",
26722
+ icon: "circle-info",
26723
+ title: "Info"
26724
+ }, {
26725
+ default: vue.withCtx(() => [
26726
+ vue.createVNode(vue.unref(form.NeonForm), {
26727
+ handle: "info",
26728
+ "initial-values": vue.unref(initialValues),
26729
+ "is-loading": vue.unref(isLoading),
26730
+ "is-changed": vue.unref(isChanged),
26731
+ "use-unsaved": "",
26732
+ onCancel: vue.unref(discardChanges),
26733
+ onSubmit: saveCheck
26734
+ }, {
26735
+ default: vue.withCtx(() => [
26736
+ vue.unref(values).hasConflict ? (vue.openBlock(), vue.createBlock(vue.unref(interfaces.NeonAlert), {
26737
+ key: 0,
26738
+ icon: "circle-exclamation",
26739
+ title: "Konflik Karyawan!.",
26740
+ description: "Ada data karyawan yang dipilih sudah ada didata Kuota Cuti lainnya. Silahkan hapus data karyawan dan pilih karyawan lainnya.",
26741
+ color: "warning"
26742
+ })) : vue.createCommentVNode("v-if", true),
26743
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
26744
+ modelValue: vue.unref(values).nameLeave,
26745
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).nameLeave = $event)
26746
+ }, vue.unref(fields).nameLeave), null, 16, ["modelValue"]),
26747
+ vue.createVNode(vue.unref(office$1.OfficeRelation), {
26748
+ modelValue: vue.unref(values),
26749
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(values) ? values.value = $event : null),
26750
+ field: vue.unref(fields).branches
26751
+ }, null, 8, ["modelValue", "field"]),
26752
+ vue.createVNode(vue.unref(office$1.OfficeRelation), {
26753
+ modelValue: vue.unref(values),
26754
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.isRef(values) ? values.value = $event : null),
26755
+ field: vue.unref(fields).typeLeave
26756
+ }, null, 8, ["modelValue", "field"]),
26757
+ vue.createVNode(vue.unref(form.NeonFields), { class: "grid grid-cols-[3fr_1fr]" }, {
26758
+ default: vue.withCtx(() => [
26759
+ vue.createVNode(vue.unref(office$1.OfficeRelation), {
26760
+ modelValue: vue.unref(values),
26761
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
26762
+ field: vue.unref(fields).nameStaffs
26763
+ }, null, 8, ["modelValue", "field"]),
26764
+ vue.unref(values).hasGenerated === false ? (vue.openBlock(), vue.createBlock(vue.unref(interfaces.NeonButton), {
26765
+ key: 0,
26766
+ class: "mt-4",
26767
+ "icon-left": "sync",
26768
+ label: "Generate",
26769
+ "is-rounded": "",
26770
+ size: "sm",
26771
+ color: "success",
26772
+ onClick: generateLeave
26773
+ })) : vue.createCommentVNode("v-if", true)
26774
+ ]),
26775
+ _: 1
26776
+ /* STABLE */
26777
+ }),
26778
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
26779
+ modelValue: vue.unref(values).leaveQuota,
26780
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).leaveQuota = $event)
26781
+ }, vue.unref(fields).leaveQuota, { "is-disabled": "" }), null, 16, ["modelValue"]),
26782
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
26783
+ modelValue: vue.unref(values).startedAt,
26784
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(values).startedAt = $event)
26785
+ }, vue.unref(fields).startedAt), null, 16, ["modelValue"]),
26786
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
26787
+ modelValue: vue.unref(values).endedAt,
26788
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).endedAt = $event)
26789
+ }, vue.unref(fields).endedAt), null, 16, ["modelValue"]),
26790
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
26791
+ modelValue: vue.unref(values).note,
26792
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).note = $event)
26793
+ }, vue.unref(fields).note), null, 16, ["modelValue"])
26794
+ ]),
26795
+ _: 1
26796
+ /* STABLE */
26797
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel"])
26798
+ ]),
26799
+ _: 1
26800
+ /* STABLE */
26801
+ }),
26802
+ vue.createCommentVNode(" Cuti Karyawan"),
26803
+ !vue.unref(isNew) && !vue.unref(values).hasConflict ? (vue.openBlock(), vue.createBlock(vue.unref(office$1.OfficeTab), {
26804
+ key: 0,
26805
+ handle: "cutiKaryawan",
26806
+ icon: "house-person-leave",
26807
+ title: "Cuti Karyawan"
26808
+ }, {
26809
+ default: vue.withCtx(() => [
26810
+ vue.createVNode(vue.unref(office$1.OfficeCollectionRelated), {
26811
+ definition: "neu:personalia:leaveStaff",
26812
+ title: "Cuti Karyawan",
26813
+ query: vue.unref(query.Query).define({
26814
+ filter: {
26815
+ leaveQuotaStaffId: vue.unref(values).id
26816
+ },
26817
+ sort: {
26818
+ handle: "startedAt",
26819
+ direction: "ascending"
26820
+ }
26821
+ }),
26822
+ excludes: ["click", "create"],
26823
+ columns: [
26824
+ "staff",
26825
+ "typeLeave",
26826
+ "leaveQuota",
26827
+ "startedAt",
26828
+ "endedAt"
26829
+ ],
26830
+ sorts: ["startedAt", "createdAt", "updatedAt"],
26831
+ filters: ["staff"]
26832
+ }, null, 8, ["query"])
26833
+ ]),
26834
+ _: 1
26835
+ /* STABLE */
26836
+ })) : vue.createCommentVNode("v-if", true),
26837
+ !vue.unref(isNew) && vue.unref(values).hasConflict ? (vue.openBlock(), vue.createBlock(vue.unref(office$1.OfficeTab), {
26838
+ key: 1,
26839
+ handle: "konflik",
26840
+ icon: "circle-exclamation",
26841
+ title: "Konflik Karyawan"
26842
+ }, {
26843
+ default: vue.withCtx(() => [
26844
+ vue.createVNode(vue.unref(interfaces.NeonAlert), {
26845
+ icon: "circle-exclamation",
26846
+ title: "Perhatian!",
26847
+ description: "Selesaikan konflik yang terjadi di kuota cuti.",
26848
+ color: "warning"
26849
+ }),
26850
+ vue.createVNode(vue.unref(office$1.OfficeCollectionRelated), {
26851
+ definition: "neu:personalia:leaveConflict",
26852
+ title: "Konlfik Cuti Karyawan",
26853
+ query: vue.unref(query.Query).define({
26854
+ filter: {
26855
+ leaveQuotaId: vue.unref(values).id,
26856
+ deletedAt: { $exists: false }
26857
+ },
26858
+ sort: {
26859
+ handle: "startedAt",
26860
+ direction: "ascending"
26861
+ }
26862
+ }),
26863
+ "use-bulk": "",
26864
+ excludes: ["click", "create"],
26865
+ columns: [
26866
+ "staff",
26867
+ "leaveQuotaOldName",
26868
+ "leaveQuotaOld",
26869
+ "leaveQuotaNewName",
26870
+ "leaveQuotaNew"
26871
+ ],
26872
+ sorts: ["startedAt", "createdAt", "updatedAt"],
26873
+ filters: ["staff"]
26874
+ }, null, 8, ["query"])
26875
+ ]),
26876
+ _: 1
26877
+ /* STABLE */
26878
+ })) : vue.createCommentVNode("v-if", true)
26879
+ ]),
26880
+ _: 1
26881
+ /* STABLE */
26882
+ })
26883
+ ]),
26884
+ _: 1
26885
+ /* STABLE */
26886
+ });
26887
+ };
26888
+ }
26889
+ });
26890
+ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
26891
+ __name: "LeaveConflictSingle",
26892
+ setup(__props) {
26893
+ const { fields, values } = context.useSingle();
26894
+ return (_ctx, _cache) => {
26895
+ const _component_NeonField = vue.resolveComponent("NeonField");
26896
+ const _component_NeonForm = vue.resolveComponent("NeonForm");
26897
+ const _component_OfficeTabs = vue.resolveComponent("OfficeTabs");
26898
+ const _component_NeonSingle = vue.resolveComponent("NeonSingle");
26899
+ return vue.openBlock(), vue.createBlock(_component_NeonSingle, null, {
26900
+ default: vue.withCtx(() => [
26901
+ vue.createVNode(_component_OfficeTabs, null, {
26902
+ default: vue.withCtx(() => [
26903
+ vue.createVNode(vue.unref(office$1.OfficeTab), {
26904
+ handle: "info",
26905
+ icon: "circle-info",
26906
+ title: "Info"
26907
+ }, {
26908
+ default: vue.withCtx(() => [
26909
+ vue.createVNode(_component_NeonForm, { handle: "info" }, {
26910
+ default: vue.withCtx(() => [
26911
+ vue.createVNode(_component_NeonField, vue.mergeProps({
26912
+ modelValue: vue.unref(values).staff,
26913
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).staff = $event)
26914
+ }, vue.unref(fields).staff, { "is-disabled": "" }), null, 16, ["modelValue"])
26915
+ ]),
26916
+ _: 1
26917
+ /* STABLE */
26918
+ })
26919
+ ]),
26920
+ _: 1
26921
+ /* STABLE */
26922
+ })
26923
+ ]),
26924
+ _: 1
26925
+ /* STABLE */
26926
+ })
26927
+ ]),
26928
+ _: 1
26929
+ /* STABLE */
26930
+ });
26931
+ };
26932
+ }
26933
+ });
26934
+ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
26935
+ __name: "LeaveStaffSingle",
26936
+ setup(__props) {
26937
+ const { fields, values } = context.useSingle();
26938
+ return (_ctx, _cache) => {
26939
+ const _component_NeonField = vue.resolveComponent("NeonField");
26940
+ const _component_NeonForm = vue.resolveComponent("NeonForm");
26941
+ const _component_OfficeTabs = vue.resolveComponent("OfficeTabs");
26942
+ const _component_NeonSingle = vue.resolveComponent("NeonSingle");
26943
+ return vue.openBlock(), vue.createBlock(_component_NeonSingle, null, {
26944
+ default: vue.withCtx(() => [
26945
+ vue.createVNode(_component_OfficeTabs, null, {
26946
+ default: vue.withCtx(() => [
26947
+ vue.createVNode(vue.unref(office$1.OfficeTab), {
26948
+ handle: "info",
26949
+ icon: "circle-info",
26950
+ title: "Info"
26951
+ }, {
26952
+ default: vue.withCtx(() => [
26953
+ vue.createVNode(_component_NeonForm, {
26954
+ handle: "info",
26955
+ "use-unsaved": ""
26956
+ }, {
26957
+ default: vue.withCtx(() => [
26958
+ vue.createVNode(_component_NeonField, vue.mergeProps({
26959
+ modelValue: vue.unref(values).staff,
26960
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).staff = $event)
26961
+ }, vue.unref(fields).staff, { "is-disabled": "" }), null, 16, ["modelValue"])
26962
+ ]),
26963
+ _: 1
26964
+ /* STABLE */
26965
+ })
26966
+ ]),
26967
+ _: 1
26968
+ /* STABLE */
26969
+ })
26970
+ ]),
26971
+ _: 1
26972
+ /* STABLE */
26973
+ })
26974
+ ]),
26975
+ _: 1
26976
+ /* STABLE */
26977
+ });
26978
+ };
26979
+ }
26980
+ });
26981
+ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
26982
+ ...{ name: "LeaveStaffCollection" },
26983
+ __name: "LeaveStaffCollection",
26984
+ setup(__props) {
26985
+ context.useCollection();
26986
+ return (_ctx, _cache) => {
26987
+ return vue.openBlock(), vue.createBlock(vue.unref(context.NeonCollection), { class: "neu-leave-staff-collection" }, {
26988
+ default: vue.withCtx(() => [
26989
+ vue.createVNode(vue.unref(office$1.OfficeCollectionTable))
26990
+ ]),
26991
+ _: 1
26992
+ /* STABLE */
26993
+ });
26994
+ };
26995
+ }
26996
+ });
26997
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
26998
+ ...{ name: "LeaveConflictCollection" },
26999
+ __name: "LeaveConflictCollection",
27000
+ setup(__props) {
27001
+ const { fields } = context.useCollection();
27002
+ return (_ctx, _cache) => {
27003
+ return vue.openBlock(), vue.createBlock(vue.unref(context.NeonCollection), { class: "neu-leave-conflict-collection" }, {
27004
+ default: vue.withCtx(() => [
27005
+ vue.createVNode(vue.unref(office$1.OfficeCollectionTable), {
27006
+ freeze: 1,
27007
+ bulk: { update: "updateConflict" },
27008
+ "use-bulk": "",
27009
+ "use-select": "",
27010
+ size: "lg"
27011
+ }, {
27012
+ "update-form": vue.withCtx(({ values }) => [
27013
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
27014
+ modelValue: values.deleteType,
27015
+ "onUpdate:modelValue": ($event) => values.deleteType = $event
27016
+ }, vue.unref(fields).deleteType), null, 16, ["modelValue", "onUpdate:modelValue"])
27017
+ ]),
27018
+ _: 1
27019
+ /* STABLE */
27020
+ })
27021
+ ]),
27022
+ _: 1
27023
+ /* STABLE */
27024
+ });
27025
+ };
27026
+ }
27027
+ });
26498
27028
  const all = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
26499
27029
  __proto__: null,
26500
- AttendanceCollection: _sfc_main$1g,
27030
+ AttendanceCollection: _sfc_main$1o,
26501
27031
  AttendanceDelegate,
26502
27032
  AttendanceManager,
26503
27033
  AttendanceSingle,
26504
27034
  AttendanceStaff,
26505
27035
  AttendanceSupervisor,
27036
+ AttendanceTypeCollection: _sfc_main$1i,
27037
+ AttendanceTypeSingle,
26506
27038
  CheckInAccess,
26507
- CheckInCollection: _sfc_main$13,
27039
+ CheckInCollection: _sfc_main$19,
26508
27040
  CheckInExternal,
26509
27041
  CheckInPresenceCollection,
26510
- CheckInScanError: _sfc_main$17,
26511
- CheckInScanSuccess: _sfc_main$15,
27042
+ CheckInScanError: _sfc_main$1d,
27043
+ CheckInScanSuccess: _sfc_main$1b,
26512
27044
  CheckInScanner,
26513
27045
  CheckInSingle,
26514
27046
  CheckInSupervisor,
27047
+ LeaveConflictCollection: _sfc_main,
27048
+ LeaveConflictSingle: _sfc_main$3,
27049
+ LeaveQuotaCollection: _sfc_main$5,
27050
+ LeaveQuotaSingle: _sfc_main$4,
27051
+ LeaveStaffCollection: _sfc_main$1,
27052
+ LeaveStaffSingle: _sfc_main$2,
26515
27053
  NOperasional: operasional_types,
26516
27054
  NeonTime,
26517
- NeutronImportButton: _sfc_main$1h,
27055
+ NeutronImportButton: _sfc_main$1p,
26518
27056
  OfficeSingleSync,
26519
27057
  OperasionalIdentitas,
26520
27058
  PeriodButton,
26521
- PlanCollection: _sfc_main$10,
27059
+ PlanCollection: _sfc_main$16,
26522
27060
  PlanSingle,
26523
27061
  PlanStaff,
26524
- PlanTypeCollection: _sfc_main$_,
27062
+ PlanTypeCollection: _sfc_main$14,
26525
27063
  PlanTypeSingle,
26526
- ProgressAccessCollection: _sfc_main$P,
27064
+ ProgressAccessCollection: _sfc_main$V,
26527
27065
  ProgressAccessSingle,
26528
27066
  ProgressAccessSupervisor,
26529
- ProgressButton: _sfc_main$S,
27067
+ ProgressButton: _sfc_main$Y,
26530
27068
  ProgressCollection,
26531
27069
  ProgressNote,
26532
- ProgressNoteButton: _sfc_main$R,
27070
+ ProgressNoteButton: _sfc_main$X,
26533
27071
  ProgressSingle,
26534
27072
  ProgressTomorrow,
26535
27073
  ProgressYesterday,
26536
- ResponsibilityCollection: _sfc_main$L,
27074
+ ResponsibilityCollection: _sfc_main$R,
26537
27075
  ResponsibilitySingle,
26538
27076
  ResponsibilityStaff,
26539
27077
  ResponsibilitySupervisor,
26540
- ResponsibilityTypeCollection: _sfc_main$J,
27078
+ ResponsibilityTypeCollection: _sfc_main$P,
26541
27079
  ResponsibilityTypeSingle,
26542
27080
  ShiftAdministrator,
26543
- ShiftCollection: _sfc_main$b,
26544
- ShiftSingle: _sfc_main$a,
27081
+ ShiftCollection: _sfc_main$h,
27082
+ ShiftSingle: _sfc_main$g,
26545
27083
  ShiftStaffCollection,
26546
- ShiftStaffCollectionBranch: _sfc_main$2,
26547
- ShiftStaffCollectionStaff: _sfc_main$3,
27084
+ ShiftStaffCollectionBranch: _sfc_main$8,
27085
+ ShiftStaffCollectionStaff: _sfc_main$9,
26548
27086
  ShiftStaffDisplay,
26549
27087
  ShiftStaffImport,
26550
- ShiftStaffSingle: _sfc_main$6,
26551
- ShiftStaffSingleBranch: _sfc_main$1,
27088
+ ShiftStaffSingle: _sfc_main$c,
27089
+ ShiftStaffSingleBranch: _sfc_main$7,
26552
27090
  ShiftStaffWrapper,
26553
27091
  ShiftSupervisor,
26554
- ShiftTypeCollection: _sfc_main$9,
27092
+ ShiftTypeCollection: _sfc_main$f,
26555
27093
  ShiftTypeSingle,
26556
- SituationCollection: _sfc_main$F,
26557
- SituationSingle: _sfc_main$E,
26558
- SituationSupportive: _sfc_main$G,
26559
- SituationTypeCollection: _sfc_main$D,
26560
- SituationTypeSingle: _sfc_main$C,
26561
- SituationWork: _sfc_main$H,
27094
+ SituationCollection: _sfc_main$L,
27095
+ SituationSingle: _sfc_main$K,
27096
+ SituationSupportive: _sfc_main$M,
27097
+ SituationTypeCollection: _sfc_main$J,
27098
+ SituationTypeSingle: _sfc_main$I,
27099
+ SituationWork: _sfc_main$N,
26562
27100
  StaffAccess,
26563
- StaffCollection: _sfc_main$y,
26564
- StaffIdentity: _sfc_main$B,
27101
+ StaffCollection: _sfc_main$E,
27102
+ StaffIdentity: _sfc_main$H,
26565
27103
  StaffOperasional,
26566
27104
  StaffSingle,
26567
27105
  SubmissionAudit,
26568
- SubmissionCollection: _sfc_main$o,
27106
+ SubmissionCollection: _sfc_main$u,
26569
27107
  SubmissionDecision,
26570
27108
  SubmissionFollowUp,
26571
27109
  SubmissionSingle,
26572
27110
  SubmissionStaff,
26573
27111
  SubmissionSupervisor,
26574
- SubmissionTypeCollection: _sfc_main$m,
27112
+ SubmissionTypeCollection: _sfc_main$s,
26575
27113
  SubmissionTypeSingle,
26576
27114
  SubmissionWaitingDecision,
26577
27115
  TargetBranch,
26578
- TargetCollection: _sfc_main$j,
27116
+ TargetCollection: _sfc_main$p,
26579
27117
  TargetSingle,
26580
- TaskCollection: _sfc_main$g,
26581
- TaskSingle: _sfc_main$f,
26582
- TaskWork: _sfc_main$h,
26583
- TaskWorkButton: _sfc_main$e,
27118
+ TaskCollection: _sfc_main$m,
27119
+ TaskSingle: _sfc_main$l,
27120
+ TaskWork: _sfc_main$n,
27121
+ TaskWorkButton: _sfc_main$k,
26584
27122
  bus,
26585
27123
  useAttendanceStore,
26586
27124
  useImportShift,
@@ -26602,6 +27140,18 @@ const config = helpers.OfficeInterfaces.define({
26602
27140
  "AttendanceManager",
26603
27141
  "AttendanceSupervisor",
26604
27142
  "AttendanceDelegate",
27143
+ // Attendance Type
27144
+ "AttendanceTypeCollection",
27145
+ "AttendanceTypeSingle",
27146
+ // Leave Quota
27147
+ "LeaveQuotaCollection",
27148
+ "LeaveQuotaSingle",
27149
+ // Leave Staff
27150
+ "LeaveStaffCollection",
27151
+ "LeaveStaffSingle",
27152
+ // Leave Conflict
27153
+ "LeaveConflictCollection",
27154
+ "LeaveConflictSingle",
26605
27155
  // Check In
26606
27156
  "CheckInCollection",
26607
27157
  "CheckInSingle",