@neutron.co.id/operasional-interfaces 1.14.7 → 1.14.8

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 (48) hide show
  1. package/build/@mock/mock.interfaces.d.ts +0 -2
  2. package/build/@office/common/OfficeSingleSync/OfficeSingleSync.vue +50 -0
  3. package/build/@office/common/OfficeSingleSync/index.d.ts +1 -0
  4. package/build/@office/common/OfficeSingleSync/index.mjs +1 -0
  5. package/build/@office/common/OperasionalIdentitas/OperasionalIdentitas.vue +66 -62
  6. package/build/@office/common/index.d.ts +1 -0
  7. package/build/@office/common/index.mjs +1 -0
  8. package/build/@office/config.mjs +6 -1
  9. package/build/@office/models/personalia/index.d.ts +1 -0
  10. package/build/@office/models/personalia/index.mjs +1 -0
  11. package/build/@office/models/personalia/shift/ShiftAdministrator.vue +78 -0
  12. package/build/@office/models/personalia/shift/ShiftCollection/ShiftCollection.stories.d.ts +7 -0
  13. package/build/@office/models/personalia/shift/ShiftCollection/ShiftCollection.stories.mjs +36 -0
  14. package/build/@office/models/personalia/shift/ShiftCollection/ShiftCollection.vue +73 -0
  15. package/build/@office/models/personalia/shift/ShiftCollection/index.d.ts +1 -0
  16. package/build/@office/models/personalia/shift/ShiftCollection/index.mjs +1 -0
  17. package/build/@office/models/personalia/shift/ShiftSingle/ShiftSingle.stories.d.ts +8 -0
  18. package/build/@office/models/personalia/shift/ShiftSingle/ShiftSingle.stories.mjs +47 -0
  19. package/build/@office/models/personalia/shift/ShiftSingle/ShiftSingle.vue +69 -0
  20. package/build/@office/models/personalia/shift/ShiftSingle/index.d.ts +1 -0
  21. package/build/@office/models/personalia/shift/ShiftSingle/index.mjs +1 -0
  22. package/build/@office/models/personalia/shift/ShiftStaff.vue +92 -0
  23. package/build/@office/models/personalia/shift/index.d.ts +4 -0
  24. package/build/@office/models/personalia/shift/index.mjs +4 -0
  25. package/build/@office/models/personalia/situation/SituationSingle/SituationSingle.vue +0 -1
  26. package/build/@office/models/personalia/staff/StaffIdentity.vue +148 -150
  27. package/build/@office/models/personalia/staff/StaffSingle/StaffSingle.vue +1 -1
  28. package/build/@office/models/personalia/submission/SubmissionAudit.vue +6 -10
  29. package/build/@office/models/personalia/submission/SubmissionDecision.vue +3 -4
  30. package/build/@office/models/personalia/submission/SubmissionStaff.vue +46 -30
  31. package/build/@package/@office/common/OfficeSingleSync/OfficeSingleSync.vue.d.ts +2 -0
  32. package/build/@package/@office/common/OfficeSingleSync/index.d.ts +1 -0
  33. package/build/@package/@office/common/index.d.ts +1 -0
  34. package/build/@package/@office/models/personalia/index.d.ts +1 -0
  35. package/build/@package/@office/models/personalia/shift/ShiftAdministrator.vue.d.ts +2 -0
  36. package/build/@package/@office/models/personalia/shift/ShiftCollection/ShiftCollection.vue.d.ts +43 -0
  37. package/build/@package/@office/models/personalia/shift/ShiftCollection/index.d.ts +1 -0
  38. package/build/@package/@office/models/personalia/shift/ShiftSingle/ShiftSingle.vue.d.ts +2 -0
  39. package/build/@package/@office/models/personalia/shift/ShiftSingle/index.d.ts +1 -0
  40. package/build/@package/@office/models/personalia/shift/ShiftStaff.vue.d.ts +2 -0
  41. package/build/@package/@office/models/personalia/shift/index.d.ts +4 -0
  42. package/build/mock/index.cjs +821 -426
  43. package/build/mock/index.mjs +825 -430
  44. package/build/mock/style.css +36 -5
  45. package/build/module.json +1 -1
  46. package/build/nuxt.json +1 -1
  47. package/build/nuxt.mjs +6 -1
  48. package/package.json +8 -6
@@ -1,10 +1,10 @@
1
1
  import { NeonEditorPlugin } from "@neon.id/editor";
2
2
  import { NeonFieldPlugin } from "@neon.id/field";
3
- import { NeonField, NeonForm, NeonFields, NeonCheck, NeonFormWrapper, NeonFormPlugin } from "@neon.id/form";
3
+ import { NeonField, NeonForm, NeonFields, NeonCheck, NeonFormPlugin } from "@neon.id/form";
4
4
  import { NeonAvatar, NeonDivider, NeonModal, NeonSheet, NeonButton, useToastStore, NeonAlert, NeonSlider, NeonSlide, NeonStat, NeonInfo, NeonCopy, registerDirectives, registerIconComponents } from "@neon.id/interfaces";
5
5
  import { OfficeCollectionTable, OfficeCollectionCalendar, OfficeTabs, OfficeTab, OfficeRelation, OfficeContent, OfficePeekSingle, OfficeCollectionQuery, OfficeCollectionOperation, OfficeCollectionRelated, NeonOfficePlugin } from "@neon.id/office";
6
6
  import { withRelation, NeonRelationSheet, NeonRelationPlugin } from "@neon.id/relation";
7
- import { defineComponent, ref, computed, h, watch, openBlock, createElementBlock, createBlock, unref, withCtx, createVNode, mergeProps, createCommentVNode, reactive, onMounted, onUnmounted, toRefs, inject, watchEffect, provide, nextTick, resolveDynamicComponent, normalizeProps, renderSlot, normalizeClass, createElementVNode, toDisplayString, Fragment, renderList, normalizeStyle, withKeys, withDirectives, toRef, guardReactiveProps, createTextVNode, isRef, resolveComponent, Transition, resolveDirective, toHandlers, withModifiers, pushScopeId, popScopeId, onBeforeUnmount, vShow } from "vue";
7
+ import { defineComponent, ref, computed, h, watch, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createBlock, unref, mergeProps, createCommentVNode, reactive, onMounted, onUnmounted, toRefs, inject, watchEffect, provide, nextTick, resolveDynamicComponent, normalizeProps, renderSlot, normalizeClass, createElementVNode, toDisplayString, Fragment, renderList, normalizeStyle, withKeys, withDirectives, toRef, guardReactiveProps, createTextVNode, isRef, Transition, resolveDirective, toHandlers, withModifiers, pushScopeId, popScopeId, onBeforeUnmount, vShow } from "vue";
8
8
  import "@neon.id/context/style.css";
9
9
  import "@neon.id/discovery/style.css";
10
10
  import "@neon.id/field/style.css";
@@ -14,13 +14,11 @@ import "@neon.id/editor/style.css";
14
14
  import "@neon.id/relation/style.css";
15
15
  import "@neon.id/display/style.css";
16
16
  import "@neon.id/video/style.css";
17
- import "@neon.id/fluffy/style.css";
18
17
  import "@neon.id/office/style.css";
19
- import "@neon.id/dampak-interfaces/style.css";
20
18
  import "@neon.id/identitas-interfaces/fluffy.css";
21
19
  import { ComponentUtil } from "@neon.id/utils/component";
22
20
  import { OfficeInterfaces } from "@neon.id/context/helpers";
23
- import { GraphUtil, useCollection, NeonCollection, useSingle, NeonSingle, NeonCollectionContext, usePermit, useApp } from "@neon.id/context";
21
+ import { GraphUtil, useSingle, useCollection, NeonCollection, NeonSingle, NeonCollectionContext, usePermit, useApp } from "@neon.id/context";
24
22
  import { defineStore, storeToRefs } from "pinia";
25
23
  import { models as models$2 } from "@neutron.co.id/sentral-models";
26
24
  import { useClientHandle } from "@urql/vue";
@@ -41,7 +39,7 @@ import advancedFormat from "dayjs/esm/plugin/advancedFormat/index.js";
41
39
  import durationPlugin from "dayjs/esm/plugin/duration/index.js";
42
40
  import isoWeek from "dayjs/esm/plugin/isoWeek/index.js";
43
41
  import relativeTimePlugin from "dayjs/esm/plugin/relativeTime/index.js";
44
- import { useGeolocation, useIntervalFn, useThrottleFn } from "@vueuse/core";
42
+ import { useTimeAgo, useGeolocation, useIntervalFn, useThrottleFn } from "@vueuse/core";
45
43
  import { CatatPaperPad, CatatSketchPad } from "@neon.id/edukasi-interfaces/catat";
46
44
  import { useMockModels, useMockContext } from "@neon.id/context/mock";
47
45
  import { models as models$5 } from "@neon.id/gerbang-models";
@@ -1482,12 +1480,12 @@ function cleanEscapedString(input2) {
1482
1480
  function startOfToday() {
1483
1481
  return startOfDay(Date.now());
1484
1482
  }
1485
- const _hoisted_1$v = { class: "operasional-identitas" };
1483
+ const _hoisted_1$w = { class: "operasional-identitas" };
1486
1484
  const _hoisted_2$o = {
1487
1485
  key: 2,
1488
1486
  class: "section"
1489
1487
  };
1490
- const _sfc_main$14 = /* @__PURE__ */ defineComponent({
1488
+ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
1491
1489
  ...{ name: "OperasionalIdentitas" },
1492
1490
  __name: "OperasionalIdentitas",
1493
1491
  props: {
@@ -1741,95 +1739,102 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
1741
1739
  candidateId.value = null;
1742
1740
  }
1743
1741
  return (_ctx, _cache) => {
1744
- return openBlock(), createElementBlock("div", _hoisted_1$v, [
1745
- state2.value === "connect" ? (openBlock(), createBlock(unref(IdentitasConnect), {
1746
- key: 0,
1747
- user: user.value,
1748
- candidate: candidate.value,
1749
- conflict: __props.conflict,
1750
- "is-ready": "",
1751
- "is-loading": isLoading.value,
1752
- onChoose: onWillChoose,
1753
- onRegister: onWillRegister,
1754
- onConnect,
1755
- onDisconnect,
1756
- onBack
1757
- }, {
1758
- ready: withCtx(() => {
1759
- var _a;
1760
- return [
1761
- createVNode(unref(NeonField), mergeProps({
1762
- "model-value": (_a = user.value) == null ? void 0 : _a.defaultPassword
1763
- }, passwordField, {
1764
- "more-options": {
1765
- note: `<em>Password</em> awal pengguna. Tidak berlaku apabila pengguna <strong class='text-danger'>telah mengubah <em>password</em></strong> atau <strong class='text-danger'>mendaftarkan akunnya sendiri</strong>.`
1766
- },
1767
- "is-disabled": "",
1768
- "is-alone": ""
1769
- }), null, 16, ["model-value"])
1770
- ];
1771
- }),
1772
- _: 1
1773
- /* STABLE */
1774
- }, 8, ["user", "candidate", "conflict", "is-loading"])) : state2.value === "register" ? (openBlock(), createBlock(unref(IdentitasAssistRegistration), {
1775
- key: 1,
1776
- "initial-values": initialRegistration.value,
1777
- "is-loading": isLoading.value,
1778
- errors: __props.errors,
1779
- onBack: _cache[0] || (_cache[0] = ($event) => state2.value = "connect"),
1780
- onSave: onRegister
1781
- }, {
1782
- default: withCtx(() => {
1783
- var _a;
1784
- return [
1785
- createVNode(unref(NeonField), mergeProps({
1786
- "model-value": (_a = profile.value) == null ? void 0 : _a.name
1787
- }, fullNameField, {
1788
- "is-disabled": "",
1789
- "is-alone": ""
1790
- }), null, 16, ["model-value"])
1791
- ];
1792
- }),
1793
- _: 1
1794
- /* STABLE */
1795
- }, 8, ["initial-values", "is-loading", "errors"])) : createCommentVNode("v-if", true),
1796
- user.value && onDelegate ? (openBlock(), createElementBlock("div", _hoisted_2$o, [
1797
- createVNode(unref(NeonDivider), {
1798
- "is-dashed": "",
1799
- label: "Delegasi",
1800
- class: "divider"
1801
- }),
1802
- createVNode(unref(IdentitasDelegate), {
1803
- user: userForDelegating.value,
1804
- roles: __props.roles,
1805
- "is-loading": isLoading.value,
1806
- onSave: onDelegate
1807
- }, null, 8, ["user", "roles", "is-loading"])
1808
- ])) : createCommentVNode("v-if", true),
1809
- isChoosing.value ? (openBlock(), createBlock(unref(NeonModal), {
1810
- key: 3,
1811
- "is-active": "",
1812
- size: "lg",
1813
- onClose: _cache[2] || (_cache[2] = ($event) => isChoosing.value = false)
1814
- }, {
1742
+ const _component_NeonFormWrapper = resolveComponent("NeonFormWrapper");
1743
+ return openBlock(), createElementBlock("div", _hoisted_1$w, [
1744
+ createVNode(_component_NeonFormWrapper, null, {
1815
1745
  default: withCtx(() => [
1816
- createVNode(unref(NeonSheet), {
1817
- icon: "user-magnifying-glass",
1818
- title: "Pilih Akun",
1819
- label: "User",
1820
- "no-padding": "",
1821
- onClose: _cache[1] || (_cache[1] = ($event) => isChoosing.value = false)
1746
+ state2.value === "connect" ? (openBlock(), createBlock(unref(IdentitasConnect), {
1747
+ key: 0,
1748
+ user: user.value,
1749
+ candidate: candidate.value,
1750
+ conflict: __props.conflict,
1751
+ "is-ready": "",
1752
+ "is-loading": isLoading.value,
1753
+ onChoose: onWillChoose,
1754
+ onRegister: onWillRegister,
1755
+ onConnect,
1756
+ onDisconnect,
1757
+ onBack
1758
+ }, {
1759
+ ready: withCtx(() => {
1760
+ var _a;
1761
+ return [
1762
+ createVNode(unref(NeonField), mergeProps({
1763
+ "model-value": (_a = user.value) == null ? void 0 : _a.defaultPassword
1764
+ }, passwordField, {
1765
+ "more-options": {
1766
+ note: `<em>Password</em> awal pengguna. Tidak berlaku apabila pengguna <strong class='text-danger'>telah mengubah <em>password</em></strong> atau <strong class='text-danger'>mendaftarkan akunnya sendiri</strong>.`
1767
+ },
1768
+ "is-disabled": "",
1769
+ "is-alone": ""
1770
+ }), null, 16, ["model-value"])
1771
+ ];
1772
+ }),
1773
+ _: 1
1774
+ /* STABLE */
1775
+ }, 8, ["user", "candidate", "conflict", "is-loading"])) : state2.value === "register" ? (openBlock(), createBlock(unref(IdentitasAssistRegistration), {
1776
+ key: 1,
1777
+ "initial-values": initialRegistration.value,
1778
+ "is-loading": isLoading.value,
1779
+ errors: __props.errors,
1780
+ onBack: _cache[0] || (_cache[0] = ($event) => state2.value = "connect"),
1781
+ onSave: onRegister
1782
+ }, {
1783
+ default: withCtx(() => {
1784
+ var _a;
1785
+ return [
1786
+ createVNode(unref(NeonField), mergeProps({
1787
+ "model-value": (_a = profile.value) == null ? void 0 : _a.name
1788
+ }, fullNameField, {
1789
+ "is-disabled": "",
1790
+ "is-alone": ""
1791
+ }), null, 16, ["model-value"])
1792
+ ];
1793
+ }),
1794
+ _: 1
1795
+ /* STABLE */
1796
+ }, 8, ["initial-values", "is-loading", "errors"])) : createCommentVNode("v-if", true),
1797
+ user.value && onDelegate ? (openBlock(), createElementBlock("div", _hoisted_2$o, [
1798
+ createVNode(unref(NeonDivider), {
1799
+ "is-dashed": "",
1800
+ label: "Delegasi",
1801
+ class: "divider"
1802
+ }),
1803
+ createVNode(unref(IdentitasDelegate), {
1804
+ user: userForDelegating.value,
1805
+ roles: __props.roles,
1806
+ "is-loading": isLoading.value,
1807
+ onSave: onDelegate
1808
+ }, null, 8, ["user", "roles", "is-loading"])
1809
+ ])) : createCommentVNode("v-if", true),
1810
+ isChoosing.value ? (openBlock(), createBlock(unref(NeonModal), {
1811
+ key: 3,
1812
+ "is-active": "",
1813
+ size: "lg",
1814
+ onClose: _cache[2] || (_cache[2] = ($event) => isChoosing.value = false)
1822
1815
  }, {
1823
1816
  default: withCtx(() => [
1824
- createVNode(unref(NeonRelationSheet))
1817
+ createVNode(unref(NeonSheet), {
1818
+ icon: "user-magnifying-glass",
1819
+ title: "Pilih Akun",
1820
+ label: "User",
1821
+ "no-padding": "",
1822
+ onClose: _cache[1] || (_cache[1] = ($event) => isChoosing.value = false)
1823
+ }, {
1824
+ default: withCtx(() => [
1825
+ createVNode(unref(NeonRelationSheet))
1826
+ ]),
1827
+ _: 1
1828
+ /* STABLE */
1829
+ })
1825
1830
  ]),
1826
1831
  _: 1
1827
1832
  /* STABLE */
1828
- })
1833
+ })) : createCommentVNode("v-if", true)
1829
1834
  ]),
1830
1835
  _: 1
1831
1836
  /* STABLE */
1832
- })) : createCommentVNode("v-if", true)
1837
+ })
1833
1838
  ]);
1834
1839
  };
1835
1840
  }
@@ -1841,7 +1846,7 @@ const _export_sfc$1 = (sfc, props) => {
1841
1846
  }
1842
1847
  return target;
1843
1848
  };
1844
- const OperasionalIdentitas = /* @__PURE__ */ _export_sfc$1(_sfc_main$14, [["__scopeId", "data-v-9950fd12"]]);
1849
+ const OperasionalIdentitas = /* @__PURE__ */ _export_sfc$1(_sfc_main$19, [["__scopeId", "data-v-0befc683"]]);
1845
1850
  var top = "top";
1846
1851
  var bottom = "bottom";
1847
1852
  var right = "right";
@@ -11202,7 +11207,7 @@ const _sfc_main$4$1 = /* @__PURE__ */ defineComponent({
11202
11207
  };
11203
11208
  }
11204
11209
  });
11205
- const _hoisted_1$u = {
11210
+ const _hoisted_1$v = {
11206
11211
  key: 0,
11207
11212
  class: "vc-time-header"
11208
11213
  };
@@ -11246,7 +11251,7 @@ const _sfc_main$3$1 = /* @__PURE__ */ defineComponent({
11246
11251
  }, [
11247
11252
  createVNode(_sfc_main$i$1, { name: "time-header" }, {
11248
11253
  default: withCtx(() => [
11249
- unref(showHeader) && unref(date) ? (openBlock(), createElementBlock("div", _hoisted_1$u, [
11254
+ unref(showHeader) && unref(date) ? (openBlock(), createElementBlock("div", _hoisted_1$v, [
11250
11255
  createElementVNode("span", _hoisted_2$n, toDisplayString(unref(locale).formatDate(unref(date), "WWW")), 1),
11251
11256
  createElementVNode("span", _hoisted_3$e, toDisplayString(unref(locale).formatDate(unref(date), "MMM")), 1),
11252
11257
  createElementVNode("span", _hoisted_4$c, toDisplayString(unref(locale).formatDate(unref(date), "D")), 1),
@@ -11399,7 +11404,7 @@ const _sfc_main$1$1 = /* @__PURE__ */ defineComponent({
11399
11404
  };
11400
11405
  }
11401
11406
  });
11402
- const _sfc_main$13 = defineComponent({
11407
+ const _sfc_main$18 = defineComponent({
11403
11408
  inheritAttrs: false,
11404
11409
  emits,
11405
11410
  props: propsDef,
@@ -11418,7 +11423,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
11418
11423
  createVNode(_component_DatePickerPopover, normalizeProps(guardReactiveProps(_ctx.$attrs)), null, 16)
11419
11424
  ], 64)) : (openBlock(), createBlock(_component_DatePickerBase, normalizeProps(mergeProps({ key: 1 }, _ctx.$attrs)), null, 16));
11420
11425
  }
11421
- const DatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render]]);
11426
+ const DatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render]]);
11422
11427
  dayjs.extend(durationPlugin);
11423
11428
  dayjs.extend(relativeTimePlugin);
11424
11429
  dayjs.extend(advancedFormat);
@@ -11430,7 +11435,7 @@ class DateUtil {
11430
11435
  }
11431
11436
  }
11432
11437
  const _withScopeId$3 = (n) => (pushScopeId("data-v-d987fdde"), n = n(), popScopeId(), n);
11433
- const _hoisted_1$t = {
11438
+ const _hoisted_1$u = {
11434
11439
  key: 0,
11435
11440
  class: "input-loading"
11436
11441
  };
@@ -11444,7 +11449,7 @@ const _hoisted_2$m = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ create
11444
11449
  const _hoisted_3$d = [
11445
11450
  _hoisted_2$m
11446
11451
  ];
11447
- const _sfc_main$12 = /* @__PURE__ */ defineComponent({
11452
+ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
11448
11453
  __name: "NeonTime",
11449
11454
  props: {
11450
11455
  modelValue: {
@@ -11481,7 +11486,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
11481
11486
  class: normalizeClass(["neon-time", { "is-disabled": __props.isDisabled }])
11482
11487
  },
11483
11488
  [
11484
- __props.isLoading ? (openBlock(), createElementBlock("div", _hoisted_1$t, _hoisted_3$d)) : (openBlock(), createBlock(unref(DatePicker), mergeProps({
11489
+ __props.isLoading ? (openBlock(), createElementBlock("div", _hoisted_1$u, _hoisted_3$d)) : (openBlock(), createBlock(unref(DatePicker), mergeProps({
11485
11490
  key: 1,
11486
11491
  "model-value": internalValue.value
11487
11492
  }, {
@@ -11503,7 +11508,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
11503
11508
  };
11504
11509
  }
11505
11510
  });
11506
- const NeonTime = /* @__PURE__ */ _export_sfc$1(_sfc_main$12, [["__scopeId", "data-v-d987fdde"]]);
11511
+ const NeonTime = /* @__PURE__ */ _export_sfc$1(_sfc_main$17, [["__scopeId", "data-v-d987fdde"]]);
11507
11512
  const useAttendanceStore = defineStore("neu:personalia:attendance", {
11508
11513
  state: () => ({
11509
11514
  isEntering: false,
@@ -11687,7 +11692,52 @@ function withOperasional() {
11687
11692
  store.setStaff(items[0]);
11688
11693
  }
11689
11694
  }
11690
- const _sfc_main$11 = /* @__PURE__ */ defineComponent({
11695
+ const _hoisted_1$t = {
11696
+ key: 0,
11697
+ class: "office-single-sync"
11698
+ };
11699
+ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
11700
+ ...{ name: "OfficeSingleSync" },
11701
+ __name: "OfficeSingleSync",
11702
+ setup(__props) {
11703
+ const { isNew, initialValues, isLoading, syncOne, refreshOne } = useSingle();
11704
+ const syncedAt = computed(() => {
11705
+ var _a;
11706
+ return (_a = initialValues.value) == null ? void 0 : _a.syncedAt;
11707
+ });
11708
+ const syncLabel = computed(() => {
11709
+ var _a;
11710
+ if (!syncedAt.value) return "Never synced";
11711
+ const time = useTimeAgo(syncedAt.value, {});
11712
+ return `Synced ${(_a = time.value) == null ? void 0 : _a.toLowerCase()}`;
11713
+ });
11714
+ async function syncOneSingle() {
11715
+ if (isNew.value) return;
11716
+ try {
11717
+ await syncOne();
11718
+ await refreshOne();
11719
+ } catch (error) {
11720
+ console.error(error);
11721
+ }
11722
+ }
11723
+ return (_ctx, _cache) => {
11724
+ return !unref(isNew) ? (openBlock(), createElementBlock("div", _hoisted_1$t, [
11725
+ createVNode(unref(NeonButton), {
11726
+ label: syncLabel.value,
11727
+ "icon-left": "refresh",
11728
+ size: "xs",
11729
+ display: "outline",
11730
+ "is-rounded": "",
11731
+ "is-squared-mobile": "",
11732
+ "is-loading": unref(isLoading),
11733
+ onClick: syncOneSingle
11734
+ }, null, 8, ["label", "is-loading"])
11735
+ ])) : createCommentVNode("v-if", true);
11736
+ };
11737
+ }
11738
+ });
11739
+ const OfficeSingleSync = /* @__PURE__ */ _export_sfc$1(_sfc_main$16, [["__scopeId", "data-v-3dbc6c7d"]]);
11740
+ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
11691
11741
  ...{ name: "AttendanceCollection" },
11692
11742
  __name: "AttendanceCollection",
11693
11743
  props: {
@@ -11740,7 +11790,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
11740
11790
  });
11741
11791
  const _hoisted_1$s = { class: "grid gap-2 sm:grid-cols-2" };
11742
11792
  const _hoisted_2$l = { class: "text-right text-fg-subdued text-sm" };
11743
- const _sfc_main$10 = /* @__PURE__ */ defineComponent({
11793
+ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
11744
11794
  __name: "AttendanceSingle",
11745
11795
  setup(__props) {
11746
11796
  const {
@@ -11917,7 +11967,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
11917
11967
  };
11918
11968
  }
11919
11969
  });
11920
- const AttendanceSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$10, [["__scopeId", "data-v-68aaccaa"]]);
11970
+ const AttendanceSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$14, [["__scopeId", "data-v-68aaccaa"]]);
11921
11971
  const _hoisted_1$r = { class: "flex flex-wrap" };
11922
11972
  const _hoisted_2$k = { class: "mt-2" };
11923
11973
  const _hoisted_3$c = { class: "mt-2" };
@@ -11936,7 +11986,7 @@ const _hoisted_8$9 = {
11936
11986
  class: "grid gap-2 sm:grid-cols-2"
11937
11987
  };
11938
11988
  const _hoisted_9$9 = { class: "text-right text-fg-subdued text-sm" };
11939
- const _sfc_main$$ = /* @__PURE__ */ defineComponent({
11989
+ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
11940
11990
  __name: "AttendanceManager",
11941
11991
  setup(__props) {
11942
11992
  var _a;
@@ -12299,7 +12349,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
12299
12349
  };
12300
12350
  }
12301
12351
  });
12302
- const AttendanceManager = /* @__PURE__ */ _export_sfc$1(_sfc_main$$, [["__scopeId", "data-v-d9f57fbd"]]);
12352
+ const AttendanceManager = /* @__PURE__ */ _export_sfc$1(_sfc_main$13, [["__scopeId", "data-v-d9f57fbd"]]);
12303
12353
  const _hoisted_1$q = {
12304
12354
  key: 1,
12305
12355
  class: "flex flex-wrap"
@@ -12322,7 +12372,7 @@ const _hoisted_9$8 = {
12322
12372
  class: "grid gap-2 sm:grid-cols-2"
12323
12373
  };
12324
12374
  const _hoisted_10$8 = { class: "text-right text-fg-subdued text-sm" };
12325
- const _sfc_main$_ = /* @__PURE__ */ defineComponent({
12375
+ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
12326
12376
  __name: "AttendanceStaff",
12327
12377
  setup(__props) {
12328
12378
  var _a;
@@ -12799,7 +12849,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
12799
12849
  };
12800
12850
  }
12801
12851
  });
12802
- const AttendanceStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$_, [["__scopeId", "data-v-6c44f6cf"]]);
12852
+ const AttendanceStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$12, [["__scopeId", "data-v-6c44f6cf"]]);
12803
12853
  const _hoisted_1$p = { class: "flex flex-wrap" };
12804
12854
  const _hoisted_2$i = { class: "mt-2" };
12805
12855
  const _hoisted_3$a = { class: "mt-2" };
@@ -12820,7 +12870,7 @@ const _hoisted_10$7 = {
12820
12870
  class: "grid gap-2 sm:grid-cols-2"
12821
12871
  };
12822
12872
  const _hoisted_11$7 = { class: "text-right text-fg-subdued text-sm" };
12823
- const _sfc_main$Z = /* @__PURE__ */ defineComponent({
12873
+ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
12824
12874
  __name: "AttendanceSupervisor",
12825
12875
  setup(__props) {
12826
12876
  var _a;
@@ -13284,7 +13334,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
13284
13334
  };
13285
13335
  }
13286
13336
  });
13287
- const AttendanceSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$Z, [["__scopeId", "data-v-5738c075"]]);
13337
+ const AttendanceSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$11, [["__scopeId", "data-v-5738c075"]]);
13288
13338
  const _withScopeId$2 = (n) => (pushScopeId("data-v-04009998"), n = n(), popScopeId(), n);
13289
13339
  const _hoisted_1$o = { id: "view-checkIns" };
13290
13340
  const _hoisted_2$h = { class: "summary" };
@@ -13301,7 +13351,7 @@ const _hoisted_5$7 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ create
13301
13351
  /* HOISTED */
13302
13352
  ));
13303
13353
  const _hoisted_6$7 = { class: "end" };
13304
- const _sfc_main$Y = /* @__PURE__ */ defineComponent({
13354
+ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
13305
13355
  ...{
13306
13356
  name: "CheckInPresenceCollection"
13307
13357
  },
@@ -13691,9 +13741,9 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
13691
13741
  };
13692
13742
  }
13693
13743
  });
13694
- const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc$1(_sfc_main$Y, [["__scopeId", "data-v-04009998"]]);
13744
+ const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc$1(_sfc_main$10, [["__scopeId", "data-v-04009998"]]);
13695
13745
  const _hoisted_1$n = { class: "grid gap-4 sm:grid-cols-2" };
13696
- const _sfc_main$X = /* @__PURE__ */ defineComponent({
13746
+ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
13697
13747
  __name: "CheckInExternal",
13698
13748
  setup(__props) {
13699
13749
  const {
@@ -13796,7 +13846,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
13796
13846
  };
13797
13847
  }
13798
13848
  });
13799
- const CheckInExternal = /* @__PURE__ */ _export_sfc$1(_sfc_main$X, [["__scopeId", "data-v-2b39928d"]]);
13849
+ const CheckInExternal = /* @__PURE__ */ _export_sfc$1(_sfc_main$$, [["__scopeId", "data-v-2b39928d"]]);
13800
13850
  const _withScopeId$1 = (n) => (pushScopeId("data-v-8df96f5c"), n = n(), popScopeId(), n);
13801
13851
  const _hoisted_1$m = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode(
13802
13852
  "h4",
@@ -13816,7 +13866,7 @@ const _hoisted_2$g = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ create
13816
13866
  -1
13817
13867
  /* HOISTED */
13818
13868
  ));
13819
- const _sfc_main$W = /* @__PURE__ */ defineComponent({
13869
+ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
13820
13870
  __name: "CheckInAccess",
13821
13871
  emits: ["close"],
13822
13872
  setup(__props) {
@@ -13868,9 +13918,9 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
13868
13918
  };
13869
13919
  }
13870
13920
  });
13871
- const CheckInAccess = /* @__PURE__ */ _export_sfc$1(_sfc_main$W, [["__scopeId", "data-v-8df96f5c"]]);
13921
+ const CheckInAccess = /* @__PURE__ */ _export_sfc$1(_sfc_main$_, [["__scopeId", "data-v-8df96f5c"]]);
13872
13922
  const _hoisted_1$l = { class: "buttons" };
13873
- const _sfc_main$V = /* @__PURE__ */ defineComponent({
13923
+ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
13874
13924
  __name: "CheckInScanError",
13875
13925
  setup(__props) {
13876
13926
  const attendanceStore = useAttendanceStore();
@@ -14316,7 +14366,7 @@ const _hoisted_2$f = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
14316
14366
  /* HOISTED */
14317
14367
  ));
14318
14368
  const _hoisted_3$8 = { class: "mr-2 text-sm" };
14319
- const _sfc_main$U = /* @__PURE__ */ defineComponent({
14369
+ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
14320
14370
  __name: "CheckInScanner",
14321
14371
  emits: ["start", "stop", "scanned", "close"],
14322
14372
  setup(__props, { emit: __emit }) {
@@ -14495,7 +14545,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
14495
14545
  };
14496
14546
  }
14497
14547
  });
14498
- const CheckInScanner = /* @__PURE__ */ _export_sfc$1(_sfc_main$U, [["__scopeId", "data-v-ad596202"]]);
14548
+ const CheckInScanner = /* @__PURE__ */ _export_sfc$1(_sfc_main$Y, [["__scopeId", "data-v-ad596202"]]);
14499
14549
  const _hoisted_1$j = /* @__PURE__ */ createElementVNode(
14500
14550
  "h3",
14501
14551
  { align: "center" },
@@ -14503,7 +14553,7 @@ const _hoisted_1$j = /* @__PURE__ */ createElementVNode(
14503
14553
  -1
14504
14554
  /* HOISTED */
14505
14555
  );
14506
- const _sfc_main$T = /* @__PURE__ */ defineComponent({
14556
+ const _sfc_main$X = /* @__PURE__ */ defineComponent({
14507
14557
  __name: "CheckInScanSuccess",
14508
14558
  emits: ["close"],
14509
14559
  setup(__props) {
@@ -14536,7 +14586,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
14536
14586
  }
14537
14587
  });
14538
14588
  const _hoisted_1$i = { class: "grid gap-4 sm:grid-cols-2" };
14539
- const _sfc_main$S = /* @__PURE__ */ defineComponent({
14589
+ const _sfc_main$W = /* @__PURE__ */ defineComponent({
14540
14590
  __name: "CheckInSupervisor",
14541
14591
  setup(__props) {
14542
14592
  const {
@@ -14649,8 +14699,8 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
14649
14699
  };
14650
14700
  }
14651
14701
  });
14652
- const CheckInSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$S, [["__scopeId", "data-v-bbde612a"]]);
14653
- const _sfc_main$R = /* @__PURE__ */ defineComponent({
14702
+ const CheckInSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$W, [["__scopeId", "data-v-bbde612a"]]);
14703
+ const _sfc_main$V = /* @__PURE__ */ defineComponent({
14654
14704
  ...{
14655
14705
  name: "CheckInCollection"
14656
14706
  },
@@ -14669,7 +14719,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
14669
14719
  }
14670
14720
  });
14671
14721
  const _hoisted_1$h = { class: "grid gap-4 sm:grid-cols-2" };
14672
- const _sfc_main$Q = /* @__PURE__ */ defineComponent({
14722
+ const _sfc_main$U = /* @__PURE__ */ defineComponent({
14673
14723
  __name: "CheckInSingle",
14674
14724
  setup(__props) {
14675
14725
  const {
@@ -14763,8 +14813,8 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
14763
14813
  };
14764
14814
  }
14765
14815
  });
14766
- const CheckInSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$Q, [["__scopeId", "data-v-8c1dffae"]]);
14767
- const _sfc_main$P = /* @__PURE__ */ defineComponent({
14816
+ const CheckInSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$U, [["__scopeId", "data-v-8c1dffae"]]);
14817
+ const _sfc_main$T = /* @__PURE__ */ defineComponent({
14768
14818
  __name: "PlanStaff",
14769
14819
  setup(__props) {
14770
14820
  const {
@@ -14969,8 +15019,8 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
14969
15019
  };
14970
15020
  }
14971
15021
  });
14972
- const PlanStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$P, [["__scopeId", "data-v-4c077382"]]);
14973
- const _sfc_main$O = /* @__PURE__ */ defineComponent({
15022
+ const PlanStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$T, [["__scopeId", "data-v-4c077382"]]);
15023
+ const _sfc_main$S = /* @__PURE__ */ defineComponent({
14974
15024
  ...{
14975
15025
  name: "PlanCollection"
14976
15026
  },
@@ -14988,7 +15038,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
14988
15038
  };
14989
15039
  }
14990
15040
  });
14991
- const _sfc_main$N = /* @__PURE__ */ defineComponent({
15041
+ const _sfc_main$R = /* @__PURE__ */ defineComponent({
14992
15042
  __name: "PlanSingle",
14993
15043
  setup(__props) {
14994
15044
  const {
@@ -15183,8 +15233,8 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
15183
15233
  };
15184
15234
  }
15185
15235
  });
15186
- const PlanSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$N, [["__scopeId", "data-v-88a3a973"]]);
15187
- const _sfc_main$M = /* @__PURE__ */ defineComponent({
15236
+ const PlanSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$R, [["__scopeId", "data-v-88a3a973"]]);
15237
+ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
15188
15238
  ...{
15189
15239
  name: "PlanTypeCollection"
15190
15240
  },
@@ -15202,7 +15252,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
15202
15252
  };
15203
15253
  }
15204
15254
  });
15205
- const _sfc_main$L = /* @__PURE__ */ defineComponent({
15255
+ const _sfc_main$P = /* @__PURE__ */ defineComponent({
15206
15256
  __name: "PlanTypeSingle",
15207
15257
  setup(__props) {
15208
15258
  const {
@@ -15322,8 +15372,8 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
15322
15372
  };
15323
15373
  }
15324
15374
  });
15325
- const PlanTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$L, [["__scopeId", "data-v-add540b6"]]);
15326
- const _sfc_main$K = /* @__PURE__ */ defineComponent({
15375
+ const PlanTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$P, [["__scopeId", "data-v-add540b6"]]);
15376
+ const _sfc_main$O = /* @__PURE__ */ defineComponent({
15327
15377
  ...{ name: "ProgressNoteTab" },
15328
15378
  __name: "ProgressNoteTab",
15329
15379
  setup(__props) {
@@ -15356,7 +15406,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
15356
15406
  });
15357
15407
  const _hoisted_1$g = { class: "grid gap-2 sm:grid-cols-2" };
15358
15408
  const _hoisted_2$e = { class: "text-right text-fg-subdued text-sm" };
15359
- const _sfc_main$J = /* @__PURE__ */ defineComponent({
15409
+ const _sfc_main$N = /* @__PURE__ */ defineComponent({
15360
15410
  __name: "ProgressTomorrow",
15361
15411
  setup(__props) {
15362
15412
  var _a;
@@ -15634,7 +15684,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
15634
15684
  _: 1
15635
15685
  /* STABLE */
15636
15686
  })) : createCommentVNode("v-if", true),
15637
- createVNode(unref(_sfc_main$K))
15687
+ createVNode(unref(_sfc_main$O))
15638
15688
  ];
15639
15689
  }),
15640
15690
  _: 1
@@ -15647,10 +15697,10 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
15647
15697
  };
15648
15698
  }
15649
15699
  });
15650
- const ProgressTomorrow = /* @__PURE__ */ _export_sfc$1(_sfc_main$J, [["__scopeId", "data-v-607d910c"]]);
15700
+ const ProgressTomorrow = /* @__PURE__ */ _export_sfc$1(_sfc_main$N, [["__scopeId", "data-v-607d910c"]]);
15651
15701
  const _hoisted_1$f = { class: "grid gap-2 sm:grid-cols-2" };
15652
15702
  const _hoisted_2$d = { class: "text-right text-fg-subdued text-sm" };
15653
- const _sfc_main$I = /* @__PURE__ */ defineComponent({
15703
+ const _sfc_main$M = /* @__PURE__ */ defineComponent({
15654
15704
  __name: "ProgressYesterday",
15655
15705
  setup(__props) {
15656
15706
  var _a;
@@ -15927,7 +15977,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
15927
15977
  _: 1
15928
15978
  /* STABLE */
15929
15979
  })) : createCommentVNode("v-if", true),
15930
- createVNode(unref(_sfc_main$K))
15980
+ createVNode(unref(_sfc_main$O))
15931
15981
  ];
15932
15982
  }),
15933
15983
  _: 1
@@ -15940,8 +15990,8 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
15940
15990
  };
15941
15991
  }
15942
15992
  });
15943
- const ProgressYesterday = /* @__PURE__ */ _export_sfc$1(_sfc_main$I, [["__scopeId", "data-v-cc36bbaf"]]);
15944
- const _sfc_main$H = /* @__PURE__ */ defineComponent({
15993
+ const ProgressYesterday = /* @__PURE__ */ _export_sfc$1(_sfc_main$M, [["__scopeId", "data-v-cc36bbaf"]]);
15994
+ const _sfc_main$L = /* @__PURE__ */ defineComponent({
15945
15995
  __name: "ProgressNote",
15946
15996
  setup(__props) {
15947
15997
  var _a;
@@ -16047,7 +16097,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
16047
16097
  _: 1
16048
16098
  /* STABLE */
16049
16099
  }),
16050
- createVNode(unref(_sfc_main$K))
16100
+ createVNode(unref(_sfc_main$O))
16051
16101
  ]),
16052
16102
  _: 1
16053
16103
  /* STABLE */
@@ -16059,8 +16109,8 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
16059
16109
  };
16060
16110
  }
16061
16111
  });
16062
- const ProgressNote = /* @__PURE__ */ _export_sfc$1(_sfc_main$H, [["__scopeId", "data-v-d6b827e1"]]);
16063
- const _sfc_main$G = /* @__PURE__ */ defineComponent({
16112
+ const ProgressNote = /* @__PURE__ */ _export_sfc$1(_sfc_main$L, [["__scopeId", "data-v-d6b827e1"]]);
16113
+ const _sfc_main$K = /* @__PURE__ */ defineComponent({
16064
16114
  ...{
16065
16115
  name: "ProgressCollection"
16066
16116
  },
@@ -16123,10 +16173,10 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
16123
16173
  };
16124
16174
  }
16125
16175
  });
16126
- const ProgressCollection = /* @__PURE__ */ _export_sfc$1(_sfc_main$G, [["__scopeId", "data-v-e8e3cd1d"]]);
16176
+ const ProgressCollection = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["__scopeId", "data-v-e8e3cd1d"]]);
16127
16177
  const _hoisted_1$e = { class: "grid gap-2 sm:grid-cols-2" };
16128
16178
  const _hoisted_2$c = { class: "text-right text-fg-subdued text-sm" };
16129
- const _sfc_main$F = /* @__PURE__ */ defineComponent({
16179
+ const _sfc_main$J = /* @__PURE__ */ defineComponent({
16130
16180
  __name: "ProgressSingle",
16131
16181
  setup(__props) {
16132
16182
  const { staff } = useOperasional();
@@ -16470,7 +16520,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
16470
16520
  _: 1
16471
16521
  /* STABLE */
16472
16522
  })) : createCommentVNode("v-if", true),
16473
- createVNode(unref(_sfc_main$K))
16523
+ createVNode(unref(_sfc_main$O))
16474
16524
  ];
16475
16525
  }),
16476
16526
  _: 1
@@ -16483,9 +16533,9 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
16483
16533
  };
16484
16534
  }
16485
16535
  });
16486
- const ProgressSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$F, [["__scopeId", "data-v-9a6e2573"]]);
16536
+ const ProgressSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$J, [["__scopeId", "data-v-9a6e2573"]]);
16487
16537
  const _hoisted_1$d = { class: "flex flex-wrap" };
16488
- const _sfc_main$E = /* @__PURE__ */ defineComponent({
16538
+ const _sfc_main$I = /* @__PURE__ */ defineComponent({
16489
16539
  ...{ name: "ProgressButton" },
16490
16540
  __name: "ProgressButton",
16491
16541
  setup(__props) {
@@ -16532,7 +16582,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
16532
16582
  }
16533
16583
  });
16534
16584
  const _hoisted_1$c = { class: "flex flex-wrap" };
16535
- const _sfc_main$D = /* @__PURE__ */ defineComponent({
16585
+ const _sfc_main$H = /* @__PURE__ */ defineComponent({
16536
16586
  ...{ name: "ProgressNoteButton" },
16537
16587
  __name: "ProgressNoteButton",
16538
16588
  setup(__props) {
@@ -16554,7 +16604,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
16554
16604
  };
16555
16605
  }
16556
16606
  });
16557
- const _sfc_main$C = /* @__PURE__ */ defineComponent({
16607
+ const _sfc_main$G = /* @__PURE__ */ defineComponent({
16558
16608
  __name: "ProgressAccessSupervisor",
16559
16609
  setup(__props) {
16560
16610
  const {
@@ -16617,8 +16667,8 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
16617
16667
  };
16618
16668
  }
16619
16669
  });
16620
- const ProgressAccessSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$C, [["__scopeId", "data-v-2ca10028"]]);
16621
- const _sfc_main$B = /* @__PURE__ */ defineComponent({
16670
+ const ProgressAccessSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$G, [["__scopeId", "data-v-2ca10028"]]);
16671
+ const _sfc_main$F = /* @__PURE__ */ defineComponent({
16622
16672
  ...{
16623
16673
  name: "ProgressAccessCollection"
16624
16674
  },
@@ -16636,7 +16686,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
16636
16686
  };
16637
16687
  }
16638
16688
  });
16639
- const _sfc_main$A = /* @__PURE__ */ defineComponent({
16689
+ const _sfc_main$E = /* @__PURE__ */ defineComponent({
16640
16690
  __name: "ProgressAccessSingle",
16641
16691
  setup(__props) {
16642
16692
  const {
@@ -16699,8 +16749,8 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
16699
16749
  };
16700
16750
  }
16701
16751
  });
16702
- const ProgressAccessSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$A, [["__scopeId", "data-v-3592f7c4"]]);
16703
- const _sfc_main$z = /* @__PURE__ */ defineComponent({
16752
+ const ProgressAccessSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$E, [["__scopeId", "data-v-3592f7c4"]]);
16753
+ const _sfc_main$D = /* @__PURE__ */ defineComponent({
16704
16754
  __name: "ResponsibilityStaff",
16705
16755
  setup(__props) {
16706
16756
  const {
@@ -16893,8 +16943,8 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
16893
16943
  };
16894
16944
  }
16895
16945
  });
16896
- const ResponsibilityStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$z, [["__scopeId", "data-v-89afc670"]]);
16897
- const _sfc_main$y = /* @__PURE__ */ defineComponent({
16946
+ const ResponsibilityStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$D, [["__scopeId", "data-v-89afc670"]]);
16947
+ const _sfc_main$C = /* @__PURE__ */ defineComponent({
16898
16948
  __name: "ResponsibilitySupervisor",
16899
16949
  setup(__props) {
16900
16950
  const {
@@ -17087,8 +17137,8 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
17087
17137
  };
17088
17138
  }
17089
17139
  });
17090
- const ResponsibilitySupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$y, [["__scopeId", "data-v-983b6c8a"]]);
17091
- const _sfc_main$x = /* @__PURE__ */ defineComponent({
17140
+ const ResponsibilitySupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$C, [["__scopeId", "data-v-983b6c8a"]]);
17141
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
17092
17142
  ...{
17093
17143
  name: "ResponsibilityCollection"
17094
17144
  },
@@ -17106,7 +17156,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
17106
17156
  };
17107
17157
  }
17108
17158
  });
17109
- const _sfc_main$w = /* @__PURE__ */ defineComponent({
17159
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
17110
17160
  __name: "ResponsibilitySingle",
17111
17161
  setup(__props) {
17112
17162
  var _a, _b;
@@ -17345,8 +17395,8 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
17345
17395
  };
17346
17396
  }
17347
17397
  });
17348
- const ResponsibilitySingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$w, [["__scopeId", "data-v-d75da3fd"]]);
17349
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
17398
+ const ResponsibilitySingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$A, [["__scopeId", "data-v-d75da3fd"]]);
17399
+ const _sfc_main$z = /* @__PURE__ */ defineComponent({
17350
17400
  ...{
17351
17401
  name: "ResponsibilityTypeCollection"
17352
17402
  },
@@ -17364,7 +17414,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
17364
17414
  };
17365
17415
  }
17366
17416
  });
17367
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
17417
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
17368
17418
  __name: "ResponsibilityTypeSingle",
17369
17419
  setup(__props) {
17370
17420
  const {
@@ -17429,8 +17479,8 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
17429
17479
  };
17430
17480
  }
17431
17481
  });
17432
- const ResponsibilityTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$u, [["__scopeId", "data-v-f59caf0c"]]);
17433
- const _sfc_main$t = /* @__PURE__ */ defineComponent({
17482
+ const ResponsibilityTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$y, [["__scopeId", "data-v-f59caf0c"]]);
17483
+ const _sfc_main$x = /* @__PURE__ */ defineComponent({
17434
17484
  __name: "SituationWork",
17435
17485
  setup(__props) {
17436
17486
  const {
@@ -17606,7 +17656,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
17606
17656
  };
17607
17657
  }
17608
17658
  });
17609
- const _sfc_main$s = /* @__PURE__ */ defineComponent({
17659
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
17610
17660
  ...{ name: "SituationSupportive" },
17611
17661
  __name: "SituationSupportive",
17612
17662
  setup(__props) {
@@ -17741,7 +17791,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17741
17791
  };
17742
17792
  }
17743
17793
  });
17744
- const _sfc_main$r = /* @__PURE__ */ defineComponent({
17794
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
17745
17795
  ...{ name: "SituationCollection" },
17746
17796
  __name: "SituationCollection",
17747
17797
  setup(__props) {
@@ -17757,7 +17807,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
17757
17807
  };
17758
17808
  }
17759
17809
  });
17760
- const _sfc_main$q = /* @__PURE__ */ defineComponent({
17810
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
17761
17811
  __name: "SituationSingle",
17762
17812
  setup(__props) {
17763
17813
  const {
@@ -17890,7 +17940,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
17890
17940
  };
17891
17941
  }
17892
17942
  });
17893
- const _sfc_main$p = /* @__PURE__ */ defineComponent({
17943
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
17894
17944
  ...{ name: "SituationTypeCollection" },
17895
17945
  __name: "SituationTypeCollection",
17896
17946
  setup(__props) {
@@ -17906,7 +17956,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
17906
17956
  };
17907
17957
  }
17908
17958
  });
17909
- const _sfc_main$o = /* @__PURE__ */ defineComponent({
17959
+ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17910
17960
  __name: "SituationTypeSingle",
17911
17961
  setup(__props) {
17912
17962
  const {
@@ -17974,7 +18024,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
17974
18024
  };
17975
18025
  }
17976
18026
  });
17977
- const _sfc_main$n = /* @__PURE__ */ defineComponent({
18027
+ const _sfc_main$r = /* @__PURE__ */ defineComponent({
17978
18028
  __name: "StaffIdentity",
17979
18029
  setup(__props) {
17980
18030
  const { values, saveOne, executeOne, syncOne } = useSingle();
@@ -18043,166 +18093,160 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
18043
18093
  };
18044
18094
  }
18045
18095
  return (_ctx, _cache) => {
18046
- return openBlock(), createBlock(unref(NeonFormWrapper), null, {
18047
- default: withCtx(() => [
18048
- createVNode(unref(OperasionalIdentitas), {
18049
- user: unref(values).user,
18050
- profile: profile.value,
18051
- conflict: conflict.value,
18052
- roles: [
18053
- { id: "a6c43f08a59b4292e3d1357b", name: "Admin Office" },
18054
- { id: "641044c878ae4f8388b1d280", name: "Admin Operasional" },
18055
- // { id: '64101f7078ae4f8388b1d1e8', name: 'Cabang Operasional' },
18056
- { id: "641d357c78ae4f8388b1dbaf", name: "Manager Cabang" },
18057
- { id: "641d35b178ae4f8388b1dbd4", name: "SDM Cabang" },
18058
- { id: "6309c3c2e64a1324b8663dab", name: "Karyawan" },
18059
- { id: "646a42976af710fe3618af9a", name: "Pengawas Pengajuan" },
18060
- { id: "646a43106af710fe3618afca", name: "Pengambil Keputusan" },
18061
- { id: "654a0b3fb487f9f1087347aa", name: "Poin" },
18062
- { id: "654ad81bb487f9f1087347e7", name: "Pengelola Poin" },
18063
- { id: "6555a130fdd768dbbb18d717", name: "Intelijen" },
18064
- // OPERASIONAL
18065
- {
18066
- id: "64a686ba3fe0bb481faa0f8b",
18067
- name: "Pengelola SDM"
18068
- },
18069
- {
18070
- id: "64a687823fe0bb481faa0fba",
18071
- name: "Penanggungjawab Cabang"
18072
- },
18073
- {
18074
- id: "64a687b93fe0bb481faa0fd6",
18075
- name: "Pengawas SDM"
18076
- },
18077
- // {
18078
- // id: '64a687ed3fe0bb481faa0ff2',
18079
- // name: 'Pengelola Absensi',
18080
- // },
18081
- // END OPERASIONAL
18082
- { id: "64e6e0669103ea42a4f7d4d0", name: "Cabang KBM" },
18083
- { id: "658f68314dec264ead160077", name: "Cabang Tanya" },
18084
- { id: "658f68884dec264ead160078", name: "Cabang Rasionalisasi" },
18085
- // { id: '63e1734b78ae4f8388b1b313', name: 'Cabang Pendidikan' },
18086
- // Keuangan
18087
- // { id: '6309c39fe64a1324b8663da7', name: 'Konsumen' },
18088
- { id: "6454a30dd760fc7b529d4c23", name: "Karyawan FO Cabang" },
18089
- { id: "6454a343d760fc7b529d4c64", name: "Karyawan Kasir Cabang" },
18090
- { id: "6454a368d760fc7b529d4c8e", name: "karyawan Keuangan Cabang" },
18091
- { id: "6454a387d760fc7b529d4cb1", name: "Kasir Cabang" },
18092
- {
18093
- id: "6454a3cbd760fc7b529d4d01",
18094
- name: "Pengawas Pengeluaran Lain Cabang"
18095
- },
18096
- {
18097
- id: "6454a3f3d760fc7b529d4d2a",
18098
- name: "Pengawas Mutasi Lain Cabang"
18099
- },
18100
- {
18101
- id: "6454a414d760fc7b529d4d69",
18102
- name: "Pengawas Hapus Tagihan Cabang"
18103
- },
18104
- {
18105
- id: "6454a439d760fc7b529d4d9e",
18106
- name: "Pengawas Mutasi Tagihan Cabang"
18107
- },
18108
- {
18109
- id: "6454a39dd760fc7b529d4cd7",
18110
- name: "Pengawas Pengembalian Tagihan Cabang"
18111
- },
18112
- {
18113
- id: "6454a40ad760fc7b529d4d4d",
18114
- name: "Pengawas Pemasukan Tagihan Cabang"
18115
- },
18116
- {
18117
- id: "6454a441d760fc7b529d4db4",
18118
- name: "Pengawas Pengurangan Tagihan Cabang"
18119
- },
18120
- {
18121
- id: "6454a486d760fc7b529d4dee",
18122
- name: "Pengawas Penambahan Tagihan Cabang"
18123
- },
18124
- {
18125
- id: "6454a529d760fc7b529d4e1f",
18126
- name: "Pengawas Pengeluaran Komponen Cabang"
18127
- },
18128
- {
18129
- id: "6454a557d760fc7b529d4e44",
18130
- name: "Pengawas Pendapatan Lain Cabang"
18131
- },
18132
- // PEMASARAN
18133
- {
18134
- id: "6454a6c2d760fc7b529d4f4f",
18135
- name: "Karyawan Marketing Cabang"
18136
- },
18137
- {
18138
- id: "652ce8e6b487f9f108733873",
18139
- name: "Cabang FO"
18140
- },
18141
- {
18142
- id: "652ceb48b487f9f108733896",
18143
- name: "Cabang Pemasaran"
18144
- },
18145
- {
18146
- id: "652ceb79b487f9f1087338bc",
18147
- name: "Pengelola Penyebaran"
18148
- },
18149
- {
18150
- id: "652ceba2b487f9f1087338d9",
18151
- name: "Pengelola Publikasi"
18152
- },
18153
- // INVENTORI
18154
- {
18155
- id: "64e7f2089103ea42a4f7d512",
18156
- name: "Cabang Inventori"
18157
- },
18158
- {
18159
- id: "64e7f3629103ea42a4f7d535",
18160
- name: "Cabang Outlet"
18161
- },
18162
- {
18163
- id: "64e7f3c39103ea42a4f7d552",
18164
- name: "Pengadaan Inventori"
18165
- },
18166
- {
18167
- id: "64e7f4309103ea42a4f7d579",
18168
- name: "Pengawasan Pengadaan Inventori"
18169
- },
18170
- {
18171
- id: "64e7f46d9103ea42a4f7d596",
18172
- name: "Cabang Pengadaan"
18173
- },
18174
- {
18175
- id: "64e817419103ea42a4f7d5bd",
18176
- name: "Pengelola Resep"
18177
- },
18178
- {
18179
- id: "64e9aa869103ea42a4f7d6a9",
18180
- name: "Pengawas Inventori"
18181
- },
18182
- // Sentral
18183
- {
18184
- id: "650917b39103ea42a4f7e189",
18185
- name: "Pengelola Export"
18186
- }
18187
- ],
18188
- errors: errors.value,
18189
- "on-choose": onChoose,
18190
- "on-register": onRegister,
18191
- "on-connect": onConnect,
18192
- "on-disconnect": onDisconnect,
18193
- "on-delegate": onDelegate,
18194
- onNoConflict: _cache[0] || (_cache[0] = ($event) => conflict.value = void 0)
18195
- }, null, 8, ["user", "profile", "conflict", "errors"])
18196
- ]),
18197
- _: 1
18198
- /* STABLE */
18199
- });
18096
+ return openBlock(), createBlock(unref(OperasionalIdentitas), {
18097
+ user: unref(values).user,
18098
+ profile: profile.value,
18099
+ conflict: conflict.value,
18100
+ roles: [
18101
+ { id: "a6c43f08a59b4292e3d1357b", name: "Admin Office" },
18102
+ { id: "641044c878ae4f8388b1d280", name: "Admin Operasional" },
18103
+ // { id: '64101f7078ae4f8388b1d1e8', name: 'Cabang Operasional' },
18104
+ { id: "641d357c78ae4f8388b1dbaf", name: "Manager Cabang" },
18105
+ { id: "641d35b178ae4f8388b1dbd4", name: "SDM Cabang" },
18106
+ { id: "6309c3c2e64a1324b8663dab", name: "Karyawan" },
18107
+ { id: "646a42976af710fe3618af9a", name: "Pengawas Pengajuan" },
18108
+ { id: "646a43106af710fe3618afca", name: "Pengambil Keputusan" },
18109
+ { id: "654a0b3fb487f9f1087347aa", name: "Poin" },
18110
+ { id: "654ad81bb487f9f1087347e7", name: "Pengelola Poin" },
18111
+ { id: "6555a130fdd768dbbb18d717", name: "Intelijen" },
18112
+ // OPERASIONAL
18113
+ {
18114
+ id: "64a686ba3fe0bb481faa0f8b",
18115
+ name: "Pengelola SDM"
18116
+ },
18117
+ {
18118
+ id: "64a687823fe0bb481faa0fba",
18119
+ name: "Penanggungjawab Cabang"
18120
+ },
18121
+ {
18122
+ id: "64a687b93fe0bb481faa0fd6",
18123
+ name: "Pengawas SDM"
18124
+ },
18125
+ // {
18126
+ // id: '64a687ed3fe0bb481faa0ff2',
18127
+ // name: 'Pengelola Absensi',
18128
+ // },
18129
+ // END OPERASIONAL
18130
+ { id: "64e6e0669103ea42a4f7d4d0", name: "Cabang KBM" },
18131
+ { id: "658f68314dec264ead160077", name: "Cabang Tanya" },
18132
+ { id: "658f68884dec264ead160078", name: "Cabang Rasionalisasi" },
18133
+ // { id: '63e1734b78ae4f8388b1b313', name: 'Cabang Pendidikan' },
18134
+ // Keuangan
18135
+ // { id: '6309c39fe64a1324b8663da7', name: 'Konsumen' },
18136
+ { id: "6454a30dd760fc7b529d4c23", name: "Karyawan FO Cabang" },
18137
+ { id: "6454a343d760fc7b529d4c64", name: "Karyawan Kasir Cabang" },
18138
+ { id: "6454a368d760fc7b529d4c8e", name: "karyawan Keuangan Cabang" },
18139
+ { id: "6454a387d760fc7b529d4cb1", name: "Kasir Cabang" },
18140
+ {
18141
+ id: "6454a3cbd760fc7b529d4d01",
18142
+ name: "Pengawas Pengeluaran Lain Cabang"
18143
+ },
18144
+ {
18145
+ id: "6454a3f3d760fc7b529d4d2a",
18146
+ name: "Pengawas Mutasi Lain Cabang"
18147
+ },
18148
+ {
18149
+ id: "6454a414d760fc7b529d4d69",
18150
+ name: "Pengawas Hapus Tagihan Cabang"
18151
+ },
18152
+ {
18153
+ id: "6454a439d760fc7b529d4d9e",
18154
+ name: "Pengawas Mutasi Tagihan Cabang"
18155
+ },
18156
+ {
18157
+ id: "6454a39dd760fc7b529d4cd7",
18158
+ name: "Pengawas Pengembalian Tagihan Cabang"
18159
+ },
18160
+ {
18161
+ id: "6454a40ad760fc7b529d4d4d",
18162
+ name: "Pengawas Pemasukan Tagihan Cabang"
18163
+ },
18164
+ {
18165
+ id: "6454a441d760fc7b529d4db4",
18166
+ name: "Pengawas Pengurangan Tagihan Cabang"
18167
+ },
18168
+ {
18169
+ id: "6454a486d760fc7b529d4dee",
18170
+ name: "Pengawas Penambahan Tagihan Cabang"
18171
+ },
18172
+ {
18173
+ id: "6454a529d760fc7b529d4e1f",
18174
+ name: "Pengawas Pengeluaran Komponen Cabang"
18175
+ },
18176
+ {
18177
+ id: "6454a557d760fc7b529d4e44",
18178
+ name: "Pengawas Pendapatan Lain Cabang"
18179
+ },
18180
+ // PEMASARAN
18181
+ {
18182
+ id: "6454a6c2d760fc7b529d4f4f",
18183
+ name: "Karyawan Marketing Cabang"
18184
+ },
18185
+ {
18186
+ id: "652ce8e6b487f9f108733873",
18187
+ name: "Cabang FO"
18188
+ },
18189
+ {
18190
+ id: "652ceb48b487f9f108733896",
18191
+ name: "Cabang Pemasaran"
18192
+ },
18193
+ {
18194
+ id: "652ceb79b487f9f1087338bc",
18195
+ name: "Pengelola Penyebaran"
18196
+ },
18197
+ {
18198
+ id: "652ceba2b487f9f1087338d9",
18199
+ name: "Pengelola Publikasi"
18200
+ },
18201
+ // INVENTORI
18202
+ {
18203
+ id: "64e7f2089103ea42a4f7d512",
18204
+ name: "Cabang Inventori"
18205
+ },
18206
+ {
18207
+ id: "64e7f3629103ea42a4f7d535",
18208
+ name: "Cabang Outlet"
18209
+ },
18210
+ {
18211
+ id: "64e7f3c39103ea42a4f7d552",
18212
+ name: "Pengadaan Inventori"
18213
+ },
18214
+ {
18215
+ id: "64e7f4309103ea42a4f7d579",
18216
+ name: "Pengawasan Pengadaan Inventori"
18217
+ },
18218
+ {
18219
+ id: "64e7f46d9103ea42a4f7d596",
18220
+ name: "Cabang Pengadaan"
18221
+ },
18222
+ {
18223
+ id: "64e817419103ea42a4f7d5bd",
18224
+ name: "Pengelola Resep"
18225
+ },
18226
+ {
18227
+ id: "64e9aa869103ea42a4f7d6a9",
18228
+ name: "Pengawas Inventori"
18229
+ },
18230
+ // Sentral
18231
+ {
18232
+ id: "650917b39103ea42a4f7e189",
18233
+ name: "Pengelola Export"
18234
+ }
18235
+ ],
18236
+ errors: errors.value,
18237
+ "on-choose": onChoose,
18238
+ "on-register": onRegister,
18239
+ "on-connect": onConnect,
18240
+ "on-disconnect": onDisconnect,
18241
+ "on-delegate": onDelegate,
18242
+ onNoConflict: _cache[0] || (_cache[0] = ($event) => conflict.value = void 0)
18243
+ }, null, 8, ["user", "profile", "conflict", "errors"]);
18200
18244
  };
18201
18245
  }
18202
18246
  });
18203
18247
  const _hoisted_1$b = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
18204
18248
  const _hoisted_2$b = { class: "grid gap-4 sm:grid-cols-2" };
18205
- const _sfc_main$m = /* @__PURE__ */ defineComponent({
18249
+ const _sfc_main$q = /* @__PURE__ */ defineComponent({
18206
18250
  __name: "StaffOperasional",
18207
18251
  setup(__props) {
18208
18252
  const {
@@ -18317,7 +18361,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
18317
18361
  title: "Identitas"
18318
18362
  }, {
18319
18363
  default: withCtx(() => [
18320
- createVNode(_sfc_main$n)
18364
+ createVNode(_sfc_main$r)
18321
18365
  ]),
18322
18366
  _: 1
18323
18367
  /* STABLE */
@@ -18432,10 +18476,10 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
18432
18476
  };
18433
18477
  }
18434
18478
  });
18435
- const StaffOperasional = /* @__PURE__ */ _export_sfc$1(_sfc_main$m, [["__scopeId", "data-v-1966f9f2"]]);
18479
+ const StaffOperasional = /* @__PURE__ */ _export_sfc$1(_sfc_main$q, [["__scopeId", "data-v-1966f9f2"]]);
18436
18480
  const _hoisted_1$a = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
18437
18481
  const _hoisted_2$a = { class: "grid gap-4 sm:grid-cols-2" };
18438
- const _sfc_main$l = /* @__PURE__ */ defineComponent({
18482
+ const _sfc_main$p = /* @__PURE__ */ defineComponent({
18439
18483
  __name: "StaffAccess",
18440
18484
  setup(__props) {
18441
18485
  const {
@@ -18654,8 +18698,8 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
18654
18698
  };
18655
18699
  }
18656
18700
  });
18657
- const StaffAccess = /* @__PURE__ */ _export_sfc$1(_sfc_main$l, [["__scopeId", "data-v-d2de29d6"]]);
18658
- const _sfc_main$k = /* @__PURE__ */ defineComponent({
18701
+ const StaffAccess = /* @__PURE__ */ _export_sfc$1(_sfc_main$p, [["__scopeId", "data-v-d2de29d6"]]);
18702
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
18659
18703
  ...{
18660
18704
  name: "StaffCollection"
18661
18705
  },
@@ -18675,7 +18719,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
18675
18719
  });
18676
18720
  const _hoisted_1$9 = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
18677
18721
  const _hoisted_2$9 = { class: "grid gap-4 sm:grid-cols-2" };
18678
- const _sfc_main$j = /* @__PURE__ */ defineComponent({
18722
+ const _sfc_main$n = /* @__PURE__ */ defineComponent({
18679
18723
  __name: "StaffSingle",
18680
18724
  setup(__props) {
18681
18725
  const {
@@ -18780,7 +18824,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
18780
18824
  title: "Identitas"
18781
18825
  }, {
18782
18826
  default: withCtx(() => [
18783
- createVNode(_sfc_main$n)
18827
+ createVNode(_sfc_main$r)
18784
18828
  ]),
18785
18829
  _: 1
18786
18830
  /* STABLE */
@@ -18912,8 +18956,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
18912
18956
  };
18913
18957
  }
18914
18958
  });
18915
- const StaffSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$j, [["__scopeId", "data-v-6b702387"]]);
18916
- const _sfc_main$i = /* @__PURE__ */ defineComponent({
18959
+ const StaffSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$n, [["__scopeId", "data-v-a08dbebb"]]);
18960
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
18917
18961
  ...{ name: "SubmissionDocumentTab" },
18918
18962
  __name: "SubmissionDocumentTab",
18919
18963
  props: {
@@ -18956,7 +19000,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
18956
19000
  };
18957
19001
  }
18958
19002
  });
18959
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
19003
+ const _sfc_main$l = /* @__PURE__ */ defineComponent({
18960
19004
  ...{ name: "SubmissionDetailTab" },
18961
19005
  __name: "SubmissionDetailTab",
18962
19006
  setup(__props) {
@@ -19018,7 +19062,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
19018
19062
  };
19019
19063
  }
19020
19064
  });
19021
- const SubmissionDetailTab = /* @__PURE__ */ _export_sfc$1(_sfc_main$h, [["__scopeId", "data-v-3475270c"]]);
19065
+ const SubmissionDetailTab = /* @__PURE__ */ _export_sfc$1(_sfc_main$l, [["__scopeId", "data-v-3475270c"]]);
19022
19066
  const _hoisted_1$8 = { class: "flex items-right" };
19023
19067
  const _hoisted_2$8 = { class: "flex-grow" };
19024
19068
  const _hoisted_3$7 = { class: "ml-2 flex items-end pb-1" };
@@ -19031,10 +19075,10 @@ const _hoisted_9$6 = { class: "ml-2 flex items-end pb-1" };
19031
19075
  const _hoisted_10$6 = { class: "flex items-right" };
19032
19076
  const _hoisted_11$6 = { class: "flex-grow" };
19033
19077
  const _hoisted_12$6 = { class: "ml-2 flex items-end pb-1" };
19034
- const _sfc_main$g = /* @__PURE__ */ defineComponent({
19078
+ const _sfc_main$k = /* @__PURE__ */ defineComponent({
19035
19079
  __name: "SubmissionStaff",
19036
19080
  setup(__props) {
19037
- var _a, _b, _c;
19081
+ var _a, _b;
19038
19082
  const {
19039
19083
  fields,
19040
19084
  id,
@@ -19045,10 +19089,12 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
19045
19089
  isReady,
19046
19090
  isMain,
19047
19091
  isNew,
19092
+ refreshOne,
19048
19093
  syncOne,
19049
19094
  saveOne,
19050
19095
  discardChanges,
19051
- executeOne
19096
+ executeOne,
19097
+ setDefaultValues
19052
19098
  } = useSingle();
19053
19099
  const { staff } = useOperasional();
19054
19100
  const branchOptions = computed(() => {
@@ -19107,31 +19153,25 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
19107
19153
  ]
19108
19154
  };
19109
19155
  });
19110
- const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
19111
- const branchIds = ((_b = staff.value) == null ? void 0 : _b.branchIds) || [];
19112
- const branchDisplay = ((_c = staff.value) == null ? void 0 : _c.branches) || [];
19113
- watch(isNew, setDefaultValues, { immediate: true });
19114
- async function setDefaultValues() {
19115
- var _a2, _b2, _c2;
19116
- if (!isNew.value) return;
19117
- await PromiseUtil.wait(500);
19118
- const defaultValues = {
19119
- submissionStaffIds: [staffId],
19120
- submissionStaffs: [{ id: staffId, flag: (_a2 = staff.value) == null ? void 0 : _a2.flag }],
19121
- branchIds: [branchIds[0]],
19122
- branches: [branchDisplay[0]],
19123
- preparedAt: (/* @__PURE__ */ new Date()).toISOString()
19124
- };
19125
- values.value.preparedAt = defaultValues.preparedAt;
19126
- if ((_b2 = staff == null ? void 0 : staff.value) == null ? void 0 : _b2.id) {
19127
- values.value.submissionStaffIds = defaultValues.submissionStaffIds;
19128
- values.value.submissionStaffs = defaultValues.submissionStaffs;
19129
- }
19130
- if ((_c2 = staff == null ? void 0 : staff.value) == null ? void 0 : _c2.branchIds) {
19131
- values.value.branchIds = defaultValues.branchIds;
19132
- values.value.branches = defaultValues.branches;
19133
- }
19134
- }
19156
+ const branchIds = ((_a = staff.value) == null ? void 0 : _a.branchIds) || [];
19157
+ const branchDisplay = ((_b = staff.value) == null ? void 0 : _b.branches) || [];
19158
+ console.log("staff :", staff.value);
19159
+ watch(
19160
+ isNew,
19161
+ async (isNew2) => {
19162
+ var _a2, _b2, _c;
19163
+ if (!isNew2) return;
19164
+ setDefaultValues({
19165
+ submissionStaffs: [{ id: (_a2 = staff == null ? void 0 : staff.value) == null ? void 0 : _a2.id, flag: (_b2 = staff == null ? void 0 : staff.value) == null ? void 0 : _b2.flag }],
19166
+ branches: [branchDisplay[0]]
19167
+ });
19168
+ await PromiseUtil.wait(1e3);
19169
+ values.value.submissionStaffIds = ((_c = staff == null ? void 0 : staff.value) == null ? void 0 : _c.id) ? [staff.value.id] : [];
19170
+ values.value.branchIds = [branchIds[0]];
19171
+ values.value.preparedAt = (/* @__PURE__ */ new Date()).toISOString();
19172
+ },
19173
+ { immediate: true }
19174
+ );
19135
19175
  const syncRaise = async () => {
19136
19176
  var _a2;
19137
19177
  await executeOne("raiseSubmission", {
@@ -19139,7 +19179,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
19139
19179
  staffId: (_a2 = staff.value) == null ? void 0 : _a2.id
19140
19180
  });
19141
19181
  await syncOne();
19142
- window.location.href = `/pengajuan/staff-submission/${id.value}`;
19182
+ await refreshOne();
19143
19183
  };
19144
19184
  const copyStaff = computed(() => {
19145
19185
  executeOne("", { submissionId: id.value });
@@ -19453,7 +19493,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
19453
19493
  createCommentVNode(" DETAIL "),
19454
19494
  createVNode(unref(SubmissionDetailTab)),
19455
19495
  createCommentVNode(" DOKUMEN "),
19456
- createVNode(unref(_sfc_main$i), {
19496
+ createVNode(unref(_sfc_main$m), {
19457
19497
  toolbar: "side",
19458
19498
  "is-readonly": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
19459
19499
  }, null, 8, ["is-readonly"])
@@ -19468,7 +19508,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
19468
19508
  };
19469
19509
  }
19470
19510
  });
19471
- const SubmissionStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$g, [["__scopeId", "data-v-6f703e0b"]]);
19511
+ const SubmissionStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["__scopeId", "data-v-52435ad5"]]);
19472
19512
  const _hoisted_1$7 = { class: "flex items-right" };
19473
19513
  const _hoisted_2$7 = { class: "flex-grow" };
19474
19514
  const _hoisted_3$6 = { class: "ml-2 flex items-end pb-1" };
@@ -19481,7 +19521,7 @@ const _hoisted_9$5 = { class: "ml-2 flex items-end pb-1" };
19481
19521
  const _hoisted_10$5 = { class: "flex items-right" };
19482
19522
  const _hoisted_11$5 = { class: "flex-grow" };
19483
19523
  const _hoisted_12$5 = { class: "ml-2 flex items-end pb-1" };
19484
- const _sfc_main$f = /* @__PURE__ */ defineComponent({
19524
+ const _sfc_main$j = /* @__PURE__ */ defineComponent({
19485
19525
  __name: "SubmissionFollowUp",
19486
19526
  setup(__props) {
19487
19527
  const {
@@ -19761,7 +19801,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
19761
19801
  createCommentVNode(" DETAIL "),
19762
19802
  createVNode(unref(SubmissionDetailTab)),
19763
19803
  createCommentVNode(" DOKUMEN "),
19764
- createVNode(unref(_sfc_main$i), {
19804
+ createVNode(unref(_sfc_main$m), {
19765
19805
  toolbar: "side",
19766
19806
  "is-readonly": ""
19767
19807
  })
@@ -19776,7 +19816,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
19776
19816
  };
19777
19817
  }
19778
19818
  });
19779
- const SubmissionFollowUp = /* @__PURE__ */ _export_sfc$1(_sfc_main$f, [["__scopeId", "data-v-0106c21e"]]);
19819
+ const SubmissionFollowUp = /* @__PURE__ */ _export_sfc$1(_sfc_main$j, [["__scopeId", "data-v-0106c21e"]]);
19780
19820
  const _hoisted_1$6 = { class: "flex flex-wrap" };
19781
19821
  const _hoisted_2$6 = { class: "mt-2" };
19782
19822
  const _hoisted_3$5 = { class: "mt-2" };
@@ -19795,7 +19835,7 @@ const _hoisted_15$2 = { class: "ml-2 flex items-end pb-1" };
19795
19835
  const _hoisted_16 = { class: "flex items-right" };
19796
19836
  const _hoisted_17 = { class: "flex-grow" };
19797
19837
  const _hoisted_18 = { class: "ml-2 flex items-end pb-1" };
19798
- const _sfc_main$e = /* @__PURE__ */ defineComponent({
19838
+ const _sfc_main$i = /* @__PURE__ */ defineComponent({
19799
19839
  __name: "SubmissionAudit",
19800
19840
  setup(__props) {
19801
19841
  var _a, _b, _c;
@@ -19809,6 +19849,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
19809
19849
  isReady,
19810
19850
  isMain,
19811
19851
  isNew,
19852
+ refreshOne,
19812
19853
  syncOne,
19813
19854
  saveOne,
19814
19855
  discardChanges,
@@ -19900,17 +19941,17 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
19900
19941
  const syncResolved = async () => {
19901
19942
  await executeOne("resolvedSubmission", { submissionId: id.value });
19902
19943
  await syncOne();
19903
- window.location.href = `/pengajuan/audit-submission/${id.value}`;
19944
+ await refreshOne();
19904
19945
  };
19905
19946
  const syncDiscontinued = async () => {
19906
19947
  await executeOne("discontinuedSubmission", { submissionId: id.value });
19907
19948
  await syncOne();
19908
- window.location.href = `/pengajuan/audit-submission/${id.value}`;
19949
+ await refreshOne();
19909
19950
  };
19910
19951
  const syncMonitored = async () => {
19911
19952
  await executeOne("monitoredSubmission", { submissionId: id.value });
19912
19953
  await syncOne();
19913
- window.location.href = `/pengajuan/audit-submission/${id.value}`;
19954
+ await refreshOne();
19914
19955
  };
19915
19956
  const syncProcessed = async () => {
19916
19957
  var _a2;
@@ -19919,7 +19960,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
19919
19960
  staffId: (_a2 = staff.value) == null ? void 0 : _a2.id
19920
19961
  });
19921
19962
  await syncOne();
19922
- window.location.href = `/pengajuan/audit-submission/${id.value}`;
19963
+ await refreshOne();
19923
19964
  };
19924
19965
  const syncLowered = async () => {
19925
19966
  var _a2;
@@ -19928,7 +19969,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
19928
19969
  staffId: (_a2 = staff.value) == null ? void 0 : _a2.id
19929
19970
  });
19930
19971
  await syncOne();
19931
- window.location.href = `/pengajuan/audit-submission/${id.value}`;
19972
+ await refreshOne();
19932
19973
  };
19933
19974
  const copyStaff = computed(() => {
19934
19975
  executeOne("", { submissionId: id.value });
@@ -20323,7 +20364,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
20323
20364
  }),
20324
20365
  createVNode(unref(SubmissionDetailTab)),
20325
20366
  createCommentVNode(" DOKUMEN "),
20326
- createVNode(unref(_sfc_main$i), {
20367
+ createVNode(unref(_sfc_main$m), {
20327
20368
  toolbar: "side",
20328
20369
  "is-readonly": unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "prepared" || unref(values).status === "resolved"
20329
20370
  }, null, 8, ["is-readonly"]),
@@ -20382,7 +20423,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
20382
20423
  };
20383
20424
  }
20384
20425
  });
20385
- const SubmissionAudit = /* @__PURE__ */ _export_sfc$1(_sfc_main$e, [["__scopeId", "data-v-88209980"]]);
20426
+ const SubmissionAudit = /* @__PURE__ */ _export_sfc$1(_sfc_main$i, [["__scopeId", "data-v-a0f33803"]]);
20386
20427
  const _hoisted_1$5 = { class: "flex flex-wrap" };
20387
20428
  const _hoisted_2$5 = { class: "mt-2" };
20388
20429
  const _hoisted_3$4 = { class: "mt-2" };
@@ -20398,7 +20439,7 @@ const _hoisted_12$3 = { class: "ml-2 flex items-end pb-1" };
20398
20439
  const _hoisted_13$1 = { class: "flex items-right" };
20399
20440
  const _hoisted_14$1 = { class: "flex-grow" };
20400
20441
  const _hoisted_15$1 = { class: "ml-2 flex items-end pb-1" };
20401
- const _sfc_main$d = /* @__PURE__ */ defineComponent({
20442
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
20402
20443
  __name: "SubmissionDecision",
20403
20444
  setup(__props) {
20404
20445
  var _a, _b, _c;
@@ -20412,6 +20453,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
20412
20453
  isReady,
20413
20454
  isMain,
20414
20455
  isNew,
20456
+ refreshOne,
20415
20457
  syncOne,
20416
20458
  saveOne,
20417
20459
  discardChanges,
@@ -20506,7 +20548,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
20506
20548
  staffId: (_a2 = staff.value) == null ? void 0 : _a2.id
20507
20549
  });
20508
20550
  await syncOne();
20509
- window.location.href = `/pengajuan/decision-submission/${id.value}`;
20551
+ await refreshOne();
20510
20552
  };
20511
20553
  const syncApproved = async () => {
20512
20554
  var _a2;
@@ -20515,7 +20557,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
20515
20557
  staffId: (_a2 = staff.value) == null ? void 0 : _a2.id
20516
20558
  });
20517
20559
  await syncOne();
20518
- window.location.href = `/pengajuan/decision-submission/${id.value}`;
20560
+ await refreshOne();
20519
20561
  };
20520
20562
  const copyStaff = computed(() => {
20521
20563
  executeOne("", { submissionId: id.value });
@@ -20856,7 +20898,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
20856
20898
  createCommentVNode(" DETAIL "),
20857
20899
  createVNode(unref(SubmissionDetailTab)),
20858
20900
  createCommentVNode(" DOKUMEN "),
20859
- createVNode(unref(_sfc_main$i), {
20901
+ createVNode(unref(_sfc_main$m), {
20860
20902
  toolbar: "side",
20861
20903
  "is-readonly": unref(values).status === "raised" || unref(values).status === "delay" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
20862
20904
  }, null, 8, ["is-readonly"]),
@@ -20915,7 +20957,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
20915
20957
  };
20916
20958
  }
20917
20959
  });
20918
- const SubmissionDecision = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["__scopeId", "data-v-7c1b0aea"]]);
20960
+ const SubmissionDecision = /* @__PURE__ */ _export_sfc$1(_sfc_main$h, [["__scopeId", "data-v-be1c5adc"]]);
20919
20961
  const _hoisted_1$4 = { class: "flex flex-wrap" };
20920
20962
  const _hoisted_2$4 = { class: "mt-2" };
20921
20963
  const _hoisted_3$3 = { class: "mt-2" };
@@ -20931,7 +20973,7 @@ const _hoisted_12$2 = { class: "ml-2 flex items-end pb-1" };
20931
20973
  const _hoisted_13 = { class: "flex items-right" };
20932
20974
  const _hoisted_14 = { class: "flex-grow" };
20933
20975
  const _hoisted_15 = { class: "ml-2 flex items-end pb-1" };
20934
- const _sfc_main$c = /* @__PURE__ */ defineComponent({
20976
+ const _sfc_main$g = /* @__PURE__ */ defineComponent({
20935
20977
  __name: "SubmissionWaitingDecision",
20936
20978
  setup(__props) {
20937
20979
  var _a, _b, _c;
@@ -21389,7 +21431,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
21389
21431
  createCommentVNode(" DETAIL "),
21390
21432
  createVNode(unref(SubmissionDetailTab)),
21391
21433
  createCommentVNode(" DOKUMEN "),
21392
- createVNode(unref(_sfc_main$i), {
21434
+ createVNode(unref(_sfc_main$m), {
21393
21435
  toolbar: "side",
21394
21436
  "is-readonly": unref(values).status === "raised" || unref(values).status === "delay" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
21395
21437
  }, null, 8, ["is-readonly"])
@@ -21404,7 +21446,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
21404
21446
  };
21405
21447
  }
21406
21448
  });
21407
- const SubmissionWaitingDecision = /* @__PURE__ */ _export_sfc$1(_sfc_main$c, [["__scopeId", "data-v-47c01aa0"]]);
21449
+ const SubmissionWaitingDecision = /* @__PURE__ */ _export_sfc$1(_sfc_main$g, [["__scopeId", "data-v-47c01aa0"]]);
21408
21450
  const _hoisted_1$3 = { class: "flex items-right" };
21409
21451
  const _hoisted_2$3 = { class: "flex-grow" };
21410
21452
  const _hoisted_3$2 = { class: "ml-2 flex items-end pb-1" };
@@ -21417,7 +21459,7 @@ const _hoisted_9$1 = { class: "ml-2 flex items-end pb-1" };
21417
21459
  const _hoisted_10$1 = { class: "flex items-right" };
21418
21460
  const _hoisted_11$1 = { class: "flex-grow" };
21419
21461
  const _hoisted_12$1 = { class: "ml-2 flex items-end pb-1" };
21420
- const _sfc_main$b = /* @__PURE__ */ defineComponent({
21462
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
21421
21463
  __name: "SubmissionSupervisor",
21422
21464
  setup(__props) {
21423
21465
  const {
@@ -21697,7 +21739,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
21697
21739
  createCommentVNode(" DETAIL "),
21698
21740
  createVNode(unref(SubmissionDetailTab)),
21699
21741
  createCommentVNode(" DOKUMEN "),
21700
- createVNode(unref(_sfc_main$i), {
21742
+ createVNode(unref(_sfc_main$m), {
21701
21743
  toolbar: "side",
21702
21744
  "is-readonly": ""
21703
21745
  })
@@ -21712,8 +21754,8 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
21712
21754
  };
21713
21755
  }
21714
21756
  });
21715
- const SubmissionSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$b, [["__scopeId", "data-v-30824d31"]]);
21716
- const _sfc_main$a = /* @__PURE__ */ defineComponent({
21757
+ const SubmissionSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$f, [["__scopeId", "data-v-30824d31"]]);
21758
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
21717
21759
  ...{
21718
21760
  name: "SubmissionCollection"
21719
21761
  },
@@ -21743,7 +21785,7 @@ const _hoisted_9 = { class: "ml-2 flex items-end pb-1" };
21743
21785
  const _hoisted_10 = { class: "flex items-right" };
21744
21786
  const _hoisted_11 = { class: "flex-grow" };
21745
21787
  const _hoisted_12 = { class: "ml-2 flex items-end pb-1" };
21746
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
21788
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
21747
21789
  __name: "SubmissionSingle",
21748
21790
  setup(__props) {
21749
21791
  const {
@@ -22032,7 +22074,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
22032
22074
  createCommentVNode(" DETAIL "),
22033
22075
  createVNode(unref(SubmissionDetailTab)),
22034
22076
  createCommentVNode(" DOKUMEN "),
22035
- createVNode(unref(_sfc_main$i), { toolbar: "side" })
22077
+ createVNode(unref(_sfc_main$m), { toolbar: "side" })
22036
22078
  ]),
22037
22079
  _: 1
22038
22080
  /* STABLE */
@@ -22044,8 +22086,8 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
22044
22086
  };
22045
22087
  }
22046
22088
  });
22047
- const SubmissionSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$9, [["__scopeId", "data-v-41554dfc"]]);
22048
- const _sfc_main$8 = /* @__PURE__ */ defineComponent({
22089
+ const SubmissionSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["__scopeId", "data-v-41554dfc"]]);
22090
+ const _sfc_main$c = /* @__PURE__ */ defineComponent({
22049
22091
  ...{
22050
22092
  name: "SubmissionTypeCollection"
22051
22093
  },
@@ -22063,7 +22105,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
22063
22105
  };
22064
22106
  }
22065
22107
  });
22066
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
22108
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
22067
22109
  __name: "SubmissionTypeSingle",
22068
22110
  setup(__props) {
22069
22111
  const {
@@ -22125,8 +22167,8 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
22125
22167
  };
22126
22168
  }
22127
22169
  });
22128
- const SubmissionTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$7, [["__scopeId", "data-v-e8147700"]]);
22129
- const _sfc_main$6 = /* @__PURE__ */ defineComponent({
22170
+ const SubmissionTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$b, [["__scopeId", "data-v-e8147700"]]);
22171
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
22130
22172
  __name: "TargetBranch",
22131
22173
  setup(__props) {
22132
22174
  const {
@@ -22287,8 +22329,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
22287
22329
  };
22288
22330
  }
22289
22331
  });
22290
- const TargetBranch = /* @__PURE__ */ _export_sfc$1(_sfc_main$6, [["__scopeId", "data-v-8b544d44"]]);
22291
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
22332
+ const TargetBranch = /* @__PURE__ */ _export_sfc$1(_sfc_main$a, [["__scopeId", "data-v-8b544d44"]]);
22333
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
22292
22334
  ...{
22293
22335
  name: "TargetCollection"
22294
22336
  },
@@ -22306,7 +22348,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
22306
22348
  };
22307
22349
  }
22308
22350
  });
22309
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
22351
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
22310
22352
  __name: "TargetSingle",
22311
22353
  setup(__props) {
22312
22354
  const {
@@ -22467,8 +22509,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
22467
22509
  };
22468
22510
  }
22469
22511
  });
22470
- const TargetSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["__scopeId", "data-v-a116ccbf"]]);
22471
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
22512
+ const TargetSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$8, [["__scopeId", "data-v-a116ccbf"]]);
22513
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
22472
22514
  __name: "TaskWork",
22473
22515
  setup(__props) {
22474
22516
  const {
@@ -22687,7 +22729,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
22687
22729
  };
22688
22730
  }
22689
22731
  });
22690
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
22732
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
22691
22733
  ...{ name: "TaskCollection" },
22692
22734
  __name: "TaskCollection",
22693
22735
  setup(__props) {
@@ -22707,7 +22749,7 @@ const _hoisted_1$1 = { class: "flex flex-wrap gap-2" };
22707
22749
  const _hoisted_2$1 = { class: "mt-2" };
22708
22750
  const _hoisted_3 = { class: "mt-2" };
22709
22751
  const _hoisted_4 = { class: "mt-2" };
22710
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
22752
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
22711
22753
  __name: "TaskSingle",
22712
22754
  setup(__props) {
22713
22755
  var _a;
@@ -23065,7 +23107,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
23065
23107
  });
23066
23108
  const _hoisted_1 = { key: 0 };
23067
23109
  const _hoisted_2 = { key: 1 };
23068
- const _sfc_main = /* @__PURE__ */ defineComponent({
23110
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
23069
23111
  ...{ name: "TaskWorkButton" },
23070
23112
  __name: "TaskWorkButton",
23071
23113
  setup(__props) {
@@ -23168,74 +23210,422 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
23168
23210
  };
23169
23211
  }
23170
23212
  });
23213
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
23214
+ __name: "ShiftStaff",
23215
+ setup(__props) {
23216
+ const {
23217
+ fields,
23218
+ id,
23219
+ initialValues,
23220
+ values,
23221
+ isLoading,
23222
+ isChanged,
23223
+ isReady,
23224
+ isMain,
23225
+ isNew,
23226
+ syncOne,
23227
+ saveOne,
23228
+ discardChanges,
23229
+ executeOne
23230
+ } = useSingle();
23231
+ useOperasional();
23232
+ return (_ctx, _cache) => {
23233
+ return openBlock(), createBlock(unref(NeonSingle), { class: "neu-shift-single" }, {
23234
+ default: withCtx(() => [
23235
+ createVNode(unref(OfficeTabs), { "use-url": unref(isMain) }, {
23236
+ default: withCtx(() => [
23237
+ createVNode(unref(OfficeTab), {
23238
+ handle: "info",
23239
+ icon: "circle-info",
23240
+ title: "Info"
23241
+ }, {
23242
+ default: withCtx(() => [
23243
+ createVNode(unref(NeonForm), {
23244
+ handle: "info",
23245
+ "initial-values": unref(initialValues),
23246
+ "is-loading": unref(isLoading),
23247
+ "is-changed": unref(isChanged),
23248
+ "use-unsaved": "",
23249
+ onCancel: unref(discardChanges),
23250
+ onSubmit: unref(saveOne)
23251
+ }, {
23252
+ default: withCtx(() => [
23253
+ createVNode(unref(NeonField), mergeProps({
23254
+ modelValue: unref(values).titleShift,
23255
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(values).titleShift = $event)
23256
+ }, unref(fields).titleShift, { "is-disabled": "" }), null, 16, ["modelValue"]),
23257
+ createVNode(unref(NeonField), mergeProps({
23258
+ modelValue: unref(values).expTime,
23259
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(values).expTime = $event)
23260
+ }, unref(fields).expTime, { "is-disabled": "" }), null, 16, ["modelValue"]),
23261
+ createVNode(unref(NeonField), mergeProps({
23262
+ modelValue: unref(values).disciplineAt,
23263
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => unref(values).disciplineAt = $event)
23264
+ }, unref(fields).disciplineAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
23265
+ createVNode(unref(NeonField), mergeProps({
23266
+ modelValue: unref(values).disciplineEnd,
23267
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => unref(values).disciplineEnd = $event)
23268
+ }, unref(fields).disciplineEnd, { "is-disabled": "" }), null, 16, ["modelValue"]),
23269
+ createVNode(unref(NeonField), mergeProps({
23270
+ modelValue: unref(values).picketStaff,
23271
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => unref(values).picketStaff = $event)
23272
+ }, unref(fields).picketStaff, { "is-disabled": "" }), null, 16, ["modelValue"]),
23273
+ createVNode(unref(NeonField), mergeProps({
23274
+ modelValue: unref(values).offsetTime,
23275
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => unref(values).offsetTime = $event)
23276
+ }, unref(fields).offsetTime, { "is-disabled": "" }), null, 16, ["modelValue"]),
23277
+ createVNode(unref(NeonField), mergeProps({
23278
+ modelValue: unref(values).effortTime,
23279
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(values).effortTime = $event)
23280
+ }, unref(fields).effortTime, { "is-disabled": "" }), null, 16, ["modelValue"])
23281
+ ]),
23282
+ _: 1
23283
+ /* STABLE */
23284
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
23285
+ ]),
23286
+ _: 1
23287
+ /* STABLE */
23288
+ })
23289
+ ]),
23290
+ _: 1
23291
+ /* STABLE */
23292
+ }, 8, ["use-url"])
23293
+ ]),
23294
+ _: 1
23295
+ /* STABLE */
23296
+ });
23297
+ };
23298
+ }
23299
+ });
23300
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
23301
+ __name: "ShiftAdministrator",
23302
+ setup(__props) {
23303
+ const {
23304
+ fields,
23305
+ id,
23306
+ initialValues,
23307
+ values,
23308
+ isLoading,
23309
+ isChanged,
23310
+ isReady,
23311
+ isMain,
23312
+ isNew,
23313
+ syncOne,
23314
+ saveOne,
23315
+ discardChanges,
23316
+ executeOne
23317
+ } = useSingle();
23318
+ useOperasional();
23319
+ return (_ctx, _cache) => {
23320
+ return openBlock(), createBlock(unref(NeonSingle), { class: "neu-shift-single" }, {
23321
+ default: withCtx(() => [
23322
+ createVNode(unref(OfficeTabs), null, {
23323
+ default: withCtx(() => [
23324
+ createVNode(unref(OfficeTab), {
23325
+ handle: "info",
23326
+ icon: "circle-info",
23327
+ title: "Info"
23328
+ }, {
23329
+ default: withCtx(() => [
23330
+ createVNode(unref(NeonForm), {
23331
+ handle: "info",
23332
+ "initial-values": unref(initialValues),
23333
+ "is-loading": unref(isLoading),
23334
+ "is-changed": unref(isChanged),
23335
+ "use-unsaved": "",
23336
+ onCancel: unref(discardChanges),
23337
+ onSubmit: unref(saveOne)
23338
+ }, {
23339
+ default: withCtx(() => [
23340
+ createVNode(unref(NeonField), mergeProps({
23341
+ modelValue: unref(values).titleShift,
23342
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(values).titleShift = $event)
23343
+ }, unref(fields).titleShift), null, 16, ["modelValue"]),
23344
+ createVNode(unref(OfficeRelation), {
23345
+ modelValue: unref(values),
23346
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(values) ? values.value = $event : null),
23347
+ field: unref(fields).branch
23348
+ }, null, 8, ["modelValue", "field"]),
23349
+ createVNode(unref(OfficeRelation), {
23350
+ modelValue: unref(values),
23351
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => isRef(values) ? values.value = $event : null),
23352
+ field: unref(fields).shiftingStaff
23353
+ }, null, 8, ["modelValue", "field"]),
23354
+ createVNode(unref(OfficeRelation), {
23355
+ modelValue: unref(values),
23356
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(values) ? values.value = $event : null),
23357
+ field: unref(fields).building
23358
+ }, null, 8, ["modelValue", "field"]),
23359
+ createVNode(unref(NeonFields), { md: "grid-cols-2" }, {
23360
+ default: withCtx(() => [
23361
+ createVNode(unref(NeonField), mergeProps({
23362
+ modelValue: unref(values).expPresent,
23363
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => unref(values).expPresent = $event)
23364
+ }, unref(fields).expPresent), null, 16, ["modelValue"]),
23365
+ createVNode(unref(NeonField), mergeProps({
23366
+ modelValue: unref(values).expPresentEnd,
23367
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => unref(values).expPresentEnd = $event)
23368
+ }, unref(fields).expPresentEnd), null, 16, ["modelValue"])
23369
+ ]),
23370
+ _: 1
23371
+ /* STABLE */
23372
+ }),
23373
+ createVNode(unref(NeonField), mergeProps({
23374
+ modelValue: unref(values).expTime,
23375
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(values).expTime = $event)
23376
+ }, unref(fields).expTime, { "is-disabled": "" }), null, 16, ["modelValue"])
23377
+ ]),
23378
+ _: 1
23379
+ /* STABLE */
23380
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
23381
+ ]),
23382
+ _: 1
23383
+ /* STABLE */
23384
+ })
23385
+ ]),
23386
+ _: 1
23387
+ /* STABLE */
23388
+ })
23389
+ ]),
23390
+ _: 1
23391
+ /* STABLE */
23392
+ });
23393
+ };
23394
+ }
23395
+ });
23396
+ const ShiftAdministrator = /* @__PURE__ */ _export_sfc$1(_sfc_main$2, [["__scopeId", "data-v-1d4147cf"]]);
23397
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
23398
+ ...{
23399
+ name: "ShiftCollection"
23400
+ },
23401
+ __name: "ShiftCollection",
23402
+ props: {
23403
+ expPresentField: {
23404
+ type: String,
23405
+ default: "expPresent"
23406
+ },
23407
+ endedAtField: {
23408
+ type: String,
23409
+ default: "endedAt"
23410
+ },
23411
+ period: {
23412
+ type: Object,
23413
+ default: () => ({
23414
+ expPresent: /* @__PURE__ */ new Date(),
23415
+ endedAt: /* @__PURE__ */ new Date()
23416
+ })
23417
+ }
23418
+ },
23419
+ emits: ["update:period"],
23420
+ setup(__props, { emit: __emit }) {
23421
+ const { resource, display, items, userQuery } = useCollection();
23422
+ const emit = __emit;
23423
+ function onCalendarPeriodUpdate(period) {
23424
+ console.log("calendar", period);
23425
+ emit("update:period", period);
23426
+ }
23427
+ return (_ctx, _cache) => {
23428
+ return openBlock(), createBlock(unref(OfficeTabs), null, {
23429
+ default: withCtx(() => [
23430
+ createVNode(unref(OfficeTab), {
23431
+ handle: "shift",
23432
+ icon: "circle-info",
23433
+ title: "Kehadiran"
23434
+ }, {
23435
+ default: withCtx(() => [
23436
+ createVNode(unref(NeonCollection), { class: "neu-shift-collection" }, {
23437
+ default: withCtx(() => [
23438
+ unref(userQuery).display === "table" ? (openBlock(), createBlock(unref(OfficeCollectionTable), { key: 0 })) : unref(userQuery).display === "calendar" && __props.period.expPresent ? (openBlock(), createBlock(unref(OfficeCollectionCalendar), {
23439
+ key: 1,
23440
+ "default-all-day": false,
23441
+ views: ["month"],
23442
+ period: __props.period,
23443
+ "onUpdate:period": onCalendarPeriodUpdate
23444
+ }, null, 8, ["period"])) : createCommentVNode("v-if", true)
23445
+ ]),
23446
+ _: 1
23447
+ /* STABLE */
23448
+ })
23449
+ ]),
23450
+ _: 1
23451
+ /* STABLE */
23452
+ })
23453
+ ]),
23454
+ _: 1
23455
+ /* STABLE */
23456
+ });
23457
+ };
23458
+ }
23459
+ });
23460
+ const ShiftCollection = /* @__PURE__ */ _export_sfc$1(_sfc_main$1, [["__scopeId", "data-v-4adcb9e4"]]);
23461
+ const _sfc_main = /* @__PURE__ */ defineComponent({
23462
+ ...{ name: "OfficeSingleSync" },
23463
+ __name: "ShiftSingle",
23464
+ setup(__props) {
23465
+ const {
23466
+ id,
23467
+ fields,
23468
+ initialValues,
23469
+ values,
23470
+ isLoading,
23471
+ isChanged,
23472
+ isMain,
23473
+ saveOne,
23474
+ discardChanges,
23475
+ executeOne,
23476
+ syncOne
23477
+ } = useSingle();
23478
+ return (_ctx, _cache) => {
23479
+ return openBlock(), createBlock(unref(NeonSingle), { class: "neu-shift-single" }, {
23480
+ default: withCtx(() => [
23481
+ createVNode(unref(OfficeTabs), null, {
23482
+ default: withCtx(() => [
23483
+ createVNode(unref(OfficeTab), {
23484
+ handle: "info",
23485
+ icon: "circle-info",
23486
+ title: "Info"
23487
+ }, {
23488
+ default: withCtx(() => [
23489
+ createVNode(unref(NeonForm), {
23490
+ handle: "info",
23491
+ "initial-values": unref(initialValues),
23492
+ "is-loading": unref(isLoading),
23493
+ "is-changed": unref(isChanged),
23494
+ "use-unsaved": "",
23495
+ onCancel: unref(discardChanges),
23496
+ onSubmit: unref(saveOne)
23497
+ }, {
23498
+ default: withCtx(() => [
23499
+ createVNode(unref(NeonField), mergeProps({
23500
+ modelValue: unref(values).titleShift,
23501
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(values).titleShift = $event)
23502
+ }, unref(fields).titleShift), null, 16, ["modelValue"]),
23503
+ createVNode(unref(OfficeRelation), {
23504
+ modelValue: unref(values),
23505
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(values) ? values.value = $event : null),
23506
+ field: unref(fields).branch
23507
+ }, null, 8, ["modelValue", "field"]),
23508
+ createVNode(unref(OfficeRelation), {
23509
+ modelValue: unref(values),
23510
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => isRef(values) ? values.value = $event : null),
23511
+ field: unref(fields).shiftingStaff
23512
+ }, null, 8, ["modelValue", "field"]),
23513
+ createVNode(unref(OfficeRelation), {
23514
+ modelValue: unref(values),
23515
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(values) ? values.value = $event : null),
23516
+ field: unref(fields).building
23517
+ }, null, 8, ["modelValue", "field"]),
23518
+ createVNode(unref(NeonFields), { md: "grid-cols-2" }, {
23519
+ default: withCtx(() => [
23520
+ createVNode(unref(NeonField), mergeProps({
23521
+ modelValue: unref(values).expPresent,
23522
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => unref(values).expPresent = $event)
23523
+ }, unref(fields).expPresent), null, 16, ["modelValue"]),
23524
+ createVNode(unref(NeonField), mergeProps({
23525
+ modelValue: unref(values).expPresentEnd,
23526
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => unref(values).expPresentEnd = $event)
23527
+ }, unref(fields).expPresentEnd), null, 16, ["modelValue"])
23528
+ ]),
23529
+ _: 1
23530
+ /* STABLE */
23531
+ }),
23532
+ createVNode(unref(NeonField), mergeProps({
23533
+ modelValue: unref(values).expTime,
23534
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(values).expTime = $event)
23535
+ }, unref(fields).expTime, { "is-disabled": "" }), null, 16, ["modelValue"])
23536
+ ]),
23537
+ _: 1
23538
+ /* STABLE */
23539
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
23540
+ ]),
23541
+ _: 1
23542
+ /* STABLE */
23543
+ })
23544
+ ]),
23545
+ _: 1
23546
+ /* STABLE */
23547
+ })
23548
+ ]),
23549
+ _: 1
23550
+ /* STABLE */
23551
+ });
23552
+ };
23553
+ }
23554
+ });
23555
+ const ShiftSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["__scopeId", "data-v-b175b466"]]);
23171
23556
  const all = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
23172
23557
  __proto__: null,
23173
- AttendanceCollection: _sfc_main$11,
23558
+ AttendanceCollection: _sfc_main$15,
23174
23559
  AttendanceManager,
23175
23560
  AttendanceSingle,
23176
23561
  AttendanceStaff,
23177
23562
  AttendanceSupervisor,
23178
23563
  CheckInAccess,
23179
- CheckInCollection: _sfc_main$R,
23564
+ CheckInCollection: _sfc_main$V,
23180
23565
  CheckInExternal,
23181
23566
  CheckInPresenceCollection,
23182
- CheckInScanError: _sfc_main$V,
23183
- CheckInScanSuccess: _sfc_main$T,
23567
+ CheckInScanError: _sfc_main$Z,
23568
+ CheckInScanSuccess: _sfc_main$X,
23184
23569
  CheckInScanner,
23185
23570
  CheckInSingle,
23186
23571
  CheckInSupervisor,
23187
23572
  NOperasional: operasional_types,
23188
23573
  NeonTime,
23574
+ OfficeSingleSync,
23189
23575
  OperasionalIdentitas,
23190
- PlanCollection: _sfc_main$O,
23576
+ PlanCollection: _sfc_main$S,
23191
23577
  PlanSingle,
23192
23578
  PlanStaff,
23193
- PlanTypeCollection: _sfc_main$M,
23579
+ PlanTypeCollection: _sfc_main$Q,
23194
23580
  PlanTypeSingle,
23195
- ProgressAccessCollection: _sfc_main$B,
23581
+ ProgressAccessCollection: _sfc_main$F,
23196
23582
  ProgressAccessSingle,
23197
23583
  ProgressAccessSupervisor,
23198
- ProgressButton: _sfc_main$E,
23584
+ ProgressButton: _sfc_main$I,
23199
23585
  ProgressCollection,
23200
23586
  ProgressNote,
23201
- ProgressNoteButton: _sfc_main$D,
23587
+ ProgressNoteButton: _sfc_main$H,
23202
23588
  ProgressSingle,
23203
23589
  ProgressTomorrow,
23204
23590
  ProgressYesterday,
23205
- ResponsibilityCollection: _sfc_main$x,
23591
+ ResponsibilityCollection: _sfc_main$B,
23206
23592
  ResponsibilitySingle,
23207
23593
  ResponsibilityStaff,
23208
23594
  ResponsibilitySupervisor,
23209
- ResponsibilityTypeCollection: _sfc_main$v,
23595
+ ResponsibilityTypeCollection: _sfc_main$z,
23210
23596
  ResponsibilityTypeSingle,
23211
- SituationCollection: _sfc_main$r,
23212
- SituationSingle: _sfc_main$q,
23213
- SituationSupportive: _sfc_main$s,
23214
- SituationTypeCollection: _sfc_main$p,
23215
- SituationTypeSingle: _sfc_main$o,
23216
- SituationWork: _sfc_main$t,
23597
+ ShiftAdministrator,
23598
+ ShiftCollection,
23599
+ ShiftSingle,
23600
+ ShiftStaff: _sfc_main$3,
23601
+ SituationCollection: _sfc_main$v,
23602
+ SituationSingle: _sfc_main$u,
23603
+ SituationSupportive: _sfc_main$w,
23604
+ SituationTypeCollection: _sfc_main$t,
23605
+ SituationTypeSingle: _sfc_main$s,
23606
+ SituationWork: _sfc_main$x,
23217
23607
  StaffAccess,
23218
- StaffCollection: _sfc_main$k,
23219
- StaffIdentity: _sfc_main$n,
23608
+ StaffCollection: _sfc_main$o,
23609
+ StaffIdentity: _sfc_main$r,
23220
23610
  StaffOperasional,
23221
23611
  StaffSingle,
23222
23612
  SubmissionAudit,
23223
- SubmissionCollection: _sfc_main$a,
23613
+ SubmissionCollection: _sfc_main$e,
23224
23614
  SubmissionDecision,
23225
23615
  SubmissionFollowUp,
23226
23616
  SubmissionSingle,
23227
23617
  SubmissionStaff,
23228
23618
  SubmissionSupervisor,
23229
- SubmissionTypeCollection: _sfc_main$8,
23619
+ SubmissionTypeCollection: _sfc_main$c,
23230
23620
  SubmissionTypeSingle,
23231
23621
  SubmissionWaitingDecision,
23232
23622
  TargetBranch,
23233
- TargetCollection: _sfc_main$5,
23623
+ TargetCollection: _sfc_main$9,
23234
23624
  TargetSingle,
23235
- TaskCollection: _sfc_main$2,
23236
- TaskSingle: _sfc_main$1,
23237
- TaskWork: _sfc_main$3,
23238
- TaskWorkButton: _sfc_main,
23625
+ TaskCollection: _sfc_main$6,
23626
+ TaskSingle: _sfc_main$5,
23627
+ TaskWork: _sfc_main$7,
23628
+ TaskWorkButton: _sfc_main$4,
23239
23629
  bus,
23240
23630
  useAttendanceStore,
23241
23631
  useOperasional,
@@ -23244,7 +23634,7 @@ const all = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
23244
23634
  }, Symbol.toStringTag, { value: "Module" }));
23245
23635
  const config = OfficeInterfaces.define({
23246
23636
  components: {
23247
- common: [],
23637
+ common: ["OfficeSingleSync"],
23248
23638
  models: {
23249
23639
  personalia: [
23250
23640
  // Attendance
@@ -23288,6 +23678,11 @@ const config = OfficeInterfaces.define({
23288
23678
  // Responsibility Type
23289
23679
  "ResponsibilityTypeCollection",
23290
23680
  "ResponsibilityTypeSingle",
23681
+ //Shift
23682
+ "ShiftCollection",
23683
+ "ShiftSingle",
23684
+ "ShiftStaff",
23685
+ "ShiftAdministrator",
23291
23686
  // Situation
23292
23687
  "SituationCollection",
23293
23688
  "SituationSingle",