@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
@@ -16,9 +16,7 @@ require("@neon.id/editor/style.css");
16
16
  require("@neon.id/relation/style.css");
17
17
  require("@neon.id/display/style.css");
18
18
  require("@neon.id/video/style.css");
19
- require("@neon.id/fluffy/style.css");
20
19
  require("@neon.id/office/style.css");
21
- require("@neon.id/dampak-interfaces/style.css");
22
20
  require("@neon.id/identitas-interfaces/fluffy.css");
23
21
  const component = require("@neon.id/utils/component");
24
22
  const helpers = require("@neon.id/context/helpers");
@@ -1501,12 +1499,12 @@ function cleanEscapedString(input2) {
1501
1499
  function startOfToday() {
1502
1500
  return startOfDay(Date.now());
1503
1501
  }
1504
- const _hoisted_1$v = { class: "operasional-identitas" };
1502
+ const _hoisted_1$w = { class: "operasional-identitas" };
1505
1503
  const _hoisted_2$o = {
1506
1504
  key: 2,
1507
1505
  class: "section"
1508
1506
  };
1509
- const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
1507
+ const _sfc_main$19 = /* @__PURE__ */ vue.defineComponent({
1510
1508
  ...{ name: "OperasionalIdentitas" },
1511
1509
  __name: "OperasionalIdentitas",
1512
1510
  props: {
@@ -1760,95 +1758,102 @@ const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
1760
1758
  candidateId.value = null;
1761
1759
  }
1762
1760
  return (_ctx, _cache) => {
1763
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$v, [
1764
- state2.value === "connect" ? (vue.openBlock(), vue.createBlock(vue.unref(office.IdentitasConnect), {
1765
- key: 0,
1766
- user: user.value,
1767
- candidate: candidate.value,
1768
- conflict: __props.conflict,
1769
- "is-ready": "",
1770
- "is-loading": isLoading.value,
1771
- onChoose: onWillChoose,
1772
- onRegister: onWillRegister,
1773
- onConnect,
1774
- onDisconnect,
1775
- onBack
1776
- }, {
1777
- ready: vue.withCtx(() => {
1778
- var _a;
1779
- return [
1780
- vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
1781
- "model-value": (_a = user.value) == null ? void 0 : _a.defaultPassword
1782
- }, passwordField, {
1783
- "more-options": {
1784
- 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>.`
1785
- },
1786
- "is-disabled": "",
1787
- "is-alone": ""
1788
- }), null, 16, ["model-value"])
1789
- ];
1790
- }),
1791
- _: 1
1792
- /* STABLE */
1793
- }, 8, ["user", "candidate", "conflict", "is-loading"])) : state2.value === "register" ? (vue.openBlock(), vue.createBlock(vue.unref(office.IdentitasAssistRegistration), {
1794
- key: 1,
1795
- "initial-values": initialRegistration.value,
1796
- "is-loading": isLoading.value,
1797
- errors: __props.errors,
1798
- onBack: _cache[0] || (_cache[0] = ($event) => state2.value = "connect"),
1799
- onSave: onRegister
1800
- }, {
1801
- default: vue.withCtx(() => {
1802
- var _a;
1803
- return [
1804
- vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
1805
- "model-value": (_a = profile.value) == null ? void 0 : _a.name
1806
- }, fullNameField, {
1807
- "is-disabled": "",
1808
- "is-alone": ""
1809
- }), null, 16, ["model-value"])
1810
- ];
1811
- }),
1812
- _: 1
1813
- /* STABLE */
1814
- }, 8, ["initial-values", "is-loading", "errors"])) : vue.createCommentVNode("v-if", true),
1815
- user.value && onDelegate ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$o, [
1816
- vue.createVNode(vue.unref(interfaces.NeonDivider), {
1817
- "is-dashed": "",
1818
- label: "Delegasi",
1819
- class: "divider"
1820
- }),
1821
- vue.createVNode(vue.unref(office.IdentitasDelegate), {
1822
- user: userForDelegating.value,
1823
- roles: __props.roles,
1824
- "is-loading": isLoading.value,
1825
- onSave: onDelegate
1826
- }, null, 8, ["user", "roles", "is-loading"])
1827
- ])) : vue.createCommentVNode("v-if", true),
1828
- isChoosing.value ? (vue.openBlock(), vue.createBlock(vue.unref(interfaces.NeonModal), {
1829
- key: 3,
1830
- "is-active": "",
1831
- size: "lg",
1832
- onClose: _cache[2] || (_cache[2] = ($event) => isChoosing.value = false)
1833
- }, {
1761
+ const _component_NeonFormWrapper = vue.resolveComponent("NeonFormWrapper");
1762
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$w, [
1763
+ vue.createVNode(_component_NeonFormWrapper, null, {
1834
1764
  default: vue.withCtx(() => [
1835
- vue.createVNode(vue.unref(interfaces.NeonSheet), {
1836
- icon: "user-magnifying-glass",
1837
- title: "Pilih Akun",
1838
- label: "User",
1839
- "no-padding": "",
1840
- onClose: _cache[1] || (_cache[1] = ($event) => isChoosing.value = false)
1765
+ state2.value === "connect" ? (vue.openBlock(), vue.createBlock(vue.unref(office.IdentitasConnect), {
1766
+ key: 0,
1767
+ user: user.value,
1768
+ candidate: candidate.value,
1769
+ conflict: __props.conflict,
1770
+ "is-ready": "",
1771
+ "is-loading": isLoading.value,
1772
+ onChoose: onWillChoose,
1773
+ onRegister: onWillRegister,
1774
+ onConnect,
1775
+ onDisconnect,
1776
+ onBack
1777
+ }, {
1778
+ ready: vue.withCtx(() => {
1779
+ var _a;
1780
+ return [
1781
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
1782
+ "model-value": (_a = user.value) == null ? void 0 : _a.defaultPassword
1783
+ }, passwordField, {
1784
+ "more-options": {
1785
+ 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>.`
1786
+ },
1787
+ "is-disabled": "",
1788
+ "is-alone": ""
1789
+ }), null, 16, ["model-value"])
1790
+ ];
1791
+ }),
1792
+ _: 1
1793
+ /* STABLE */
1794
+ }, 8, ["user", "candidate", "conflict", "is-loading"])) : state2.value === "register" ? (vue.openBlock(), vue.createBlock(vue.unref(office.IdentitasAssistRegistration), {
1795
+ key: 1,
1796
+ "initial-values": initialRegistration.value,
1797
+ "is-loading": isLoading.value,
1798
+ errors: __props.errors,
1799
+ onBack: _cache[0] || (_cache[0] = ($event) => state2.value = "connect"),
1800
+ onSave: onRegister
1801
+ }, {
1802
+ default: vue.withCtx(() => {
1803
+ var _a;
1804
+ return [
1805
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
1806
+ "model-value": (_a = profile.value) == null ? void 0 : _a.name
1807
+ }, fullNameField, {
1808
+ "is-disabled": "",
1809
+ "is-alone": ""
1810
+ }), null, 16, ["model-value"])
1811
+ ];
1812
+ }),
1813
+ _: 1
1814
+ /* STABLE */
1815
+ }, 8, ["initial-values", "is-loading", "errors"])) : vue.createCommentVNode("v-if", true),
1816
+ user.value && onDelegate ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$o, [
1817
+ vue.createVNode(vue.unref(interfaces.NeonDivider), {
1818
+ "is-dashed": "",
1819
+ label: "Delegasi",
1820
+ class: "divider"
1821
+ }),
1822
+ vue.createVNode(vue.unref(office.IdentitasDelegate), {
1823
+ user: userForDelegating.value,
1824
+ roles: __props.roles,
1825
+ "is-loading": isLoading.value,
1826
+ onSave: onDelegate
1827
+ }, null, 8, ["user", "roles", "is-loading"])
1828
+ ])) : vue.createCommentVNode("v-if", true),
1829
+ isChoosing.value ? (vue.openBlock(), vue.createBlock(vue.unref(interfaces.NeonModal), {
1830
+ key: 3,
1831
+ "is-active": "",
1832
+ size: "lg",
1833
+ onClose: _cache[2] || (_cache[2] = ($event) => isChoosing.value = false)
1841
1834
  }, {
1842
1835
  default: vue.withCtx(() => [
1843
- vue.createVNode(vue.unref(relation.NeonRelationSheet))
1836
+ vue.createVNode(vue.unref(interfaces.NeonSheet), {
1837
+ icon: "user-magnifying-glass",
1838
+ title: "Pilih Akun",
1839
+ label: "User",
1840
+ "no-padding": "",
1841
+ onClose: _cache[1] || (_cache[1] = ($event) => isChoosing.value = false)
1842
+ }, {
1843
+ default: vue.withCtx(() => [
1844
+ vue.createVNode(vue.unref(relation.NeonRelationSheet))
1845
+ ]),
1846
+ _: 1
1847
+ /* STABLE */
1848
+ })
1844
1849
  ]),
1845
1850
  _: 1
1846
1851
  /* STABLE */
1847
- })
1852
+ })) : vue.createCommentVNode("v-if", true)
1848
1853
  ]),
1849
1854
  _: 1
1850
1855
  /* STABLE */
1851
- })) : vue.createCommentVNode("v-if", true)
1856
+ })
1852
1857
  ]);
1853
1858
  };
1854
1859
  }
@@ -1860,7 +1865,7 @@ const _export_sfc$1 = (sfc, props) => {
1860
1865
  }
1861
1866
  return target;
1862
1867
  };
1863
- const OperasionalIdentitas = /* @__PURE__ */ _export_sfc$1(_sfc_main$14, [["__scopeId", "data-v-9950fd12"]]);
1868
+ const OperasionalIdentitas = /* @__PURE__ */ _export_sfc$1(_sfc_main$19, [["__scopeId", "data-v-0befc683"]]);
1864
1869
  var top = "top";
1865
1870
  var bottom = "bottom";
1866
1871
  var right = "right";
@@ -11221,7 +11226,7 @@ const _sfc_main$4$1 = /* @__PURE__ */ vue.defineComponent({
11221
11226
  };
11222
11227
  }
11223
11228
  });
11224
- const _hoisted_1$u = {
11229
+ const _hoisted_1$v = {
11225
11230
  key: 0,
11226
11231
  class: "vc-time-header"
11227
11232
  };
@@ -11265,7 +11270,7 @@ const _sfc_main$3$1 = /* @__PURE__ */ vue.defineComponent({
11265
11270
  }, [
11266
11271
  vue.createVNode(_sfc_main$i$1, { name: "time-header" }, {
11267
11272
  default: vue.withCtx(() => [
11268
- vue.unref(showHeader) && vue.unref(date) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$u, [
11273
+ vue.unref(showHeader) && vue.unref(date) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$v, [
11269
11274
  vue.createElementVNode("span", _hoisted_2$n, vue.toDisplayString(vue.unref(locale).formatDate(vue.unref(date), "WWW")), 1),
11270
11275
  vue.createElementVNode("span", _hoisted_3$e, vue.toDisplayString(vue.unref(locale).formatDate(vue.unref(date), "MMM")), 1),
11271
11276
  vue.createElementVNode("span", _hoisted_4$c, vue.toDisplayString(vue.unref(locale).formatDate(vue.unref(date), "D")), 1),
@@ -11418,7 +11423,7 @@ const _sfc_main$1$1 = /* @__PURE__ */ vue.defineComponent({
11418
11423
  };
11419
11424
  }
11420
11425
  });
11421
- const _sfc_main$13 = vue.defineComponent({
11426
+ const _sfc_main$18 = vue.defineComponent({
11422
11427
  inheritAttrs: false,
11423
11428
  emits,
11424
11429
  props: propsDef,
@@ -11437,7 +11442,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
11437
11442
  vue.createVNode(_component_DatePickerPopover, vue.normalizeProps(vue.guardReactiveProps(_ctx.$attrs)), null, 16)
11438
11443
  ], 64)) : (vue.openBlock(), vue.createBlock(_component_DatePickerBase, vue.normalizeProps(vue.mergeProps({ key: 1 }, _ctx.$attrs)), null, 16));
11439
11444
  }
11440
- const DatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render]]);
11445
+ const DatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render]]);
11441
11446
  dayjs.extend(durationPlugin);
11442
11447
  dayjs.extend(relativeTimePlugin);
11443
11448
  dayjs.extend(advancedFormat);
@@ -11449,7 +11454,7 @@ class DateUtil {
11449
11454
  }
11450
11455
  }
11451
11456
  const _withScopeId$3 = (n) => (vue.pushScopeId("data-v-d987fdde"), n = n(), vue.popScopeId(), n);
11452
- const _hoisted_1$t = {
11457
+ const _hoisted_1$u = {
11453
11458
  key: 0,
11454
11459
  class: "input-loading"
11455
11460
  };
@@ -11463,7 +11468,7 @@ const _hoisted_2$m = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ vue.cr
11463
11468
  const _hoisted_3$d = [
11464
11469
  _hoisted_2$m
11465
11470
  ];
11466
- const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
11471
+ const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
11467
11472
  __name: "NeonTime",
11468
11473
  props: {
11469
11474
  modelValue: {
@@ -11500,7 +11505,7 @@ const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
11500
11505
  class: vue.normalizeClass(["neon-time", { "is-disabled": __props.isDisabled }])
11501
11506
  },
11502
11507
  [
11503
- __props.isLoading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$t, _hoisted_3$d)) : (vue.openBlock(), vue.createBlock(vue.unref(DatePicker), vue.mergeProps({
11508
+ __props.isLoading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$u, _hoisted_3$d)) : (vue.openBlock(), vue.createBlock(vue.unref(DatePicker), vue.mergeProps({
11504
11509
  key: 1,
11505
11510
  "model-value": internalValue.value
11506
11511
  }, {
@@ -11522,7 +11527,7 @@ const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
11522
11527
  };
11523
11528
  }
11524
11529
  });
11525
- const NeonTime = /* @__PURE__ */ _export_sfc$1(_sfc_main$12, [["__scopeId", "data-v-d987fdde"]]);
11530
+ const NeonTime = /* @__PURE__ */ _export_sfc$1(_sfc_main$17, [["__scopeId", "data-v-d987fdde"]]);
11526
11531
  const useAttendanceStore = pinia.defineStore("neu:personalia:attendance", {
11527
11532
  state: () => ({
11528
11533
  isEntering: false,
@@ -11706,7 +11711,52 @@ function withOperasional() {
11706
11711
  store.setStaff(items[0]);
11707
11712
  }
11708
11713
  }
11709
- const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
11714
+ const _hoisted_1$t = {
11715
+ key: 0,
11716
+ class: "office-single-sync"
11717
+ };
11718
+ const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
11719
+ ...{ name: "OfficeSingleSync" },
11720
+ __name: "OfficeSingleSync",
11721
+ setup(__props) {
11722
+ const { isNew, initialValues, isLoading, syncOne, refreshOne } = context.useSingle();
11723
+ const syncedAt = vue.computed(() => {
11724
+ var _a;
11725
+ return (_a = initialValues.value) == null ? void 0 : _a.syncedAt;
11726
+ });
11727
+ const syncLabel = vue.computed(() => {
11728
+ var _a;
11729
+ if (!syncedAt.value) return "Never synced";
11730
+ const time = core.useTimeAgo(syncedAt.value, {});
11731
+ return `Synced ${(_a = time.value) == null ? void 0 : _a.toLowerCase()}`;
11732
+ });
11733
+ async function syncOneSingle() {
11734
+ if (isNew.value) return;
11735
+ try {
11736
+ await syncOne();
11737
+ await refreshOne();
11738
+ } catch (error) {
11739
+ console.error(error);
11740
+ }
11741
+ }
11742
+ return (_ctx, _cache) => {
11743
+ return !vue.unref(isNew) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$t, [
11744
+ vue.createVNode(vue.unref(interfaces.NeonButton), {
11745
+ label: syncLabel.value,
11746
+ "icon-left": "refresh",
11747
+ size: "xs",
11748
+ display: "outline",
11749
+ "is-rounded": "",
11750
+ "is-squared-mobile": "",
11751
+ "is-loading": vue.unref(isLoading),
11752
+ onClick: syncOneSingle
11753
+ }, null, 8, ["label", "is-loading"])
11754
+ ])) : vue.createCommentVNode("v-if", true);
11755
+ };
11756
+ }
11757
+ });
11758
+ const OfficeSingleSync = /* @__PURE__ */ _export_sfc$1(_sfc_main$16, [["__scopeId", "data-v-3dbc6c7d"]]);
11759
+ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
11710
11760
  ...{ name: "AttendanceCollection" },
11711
11761
  __name: "AttendanceCollection",
11712
11762
  props: {
@@ -11759,7 +11809,7 @@ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
11759
11809
  });
11760
11810
  const _hoisted_1$s = { class: "grid gap-2 sm:grid-cols-2" };
11761
11811
  const _hoisted_2$l = { class: "text-right text-fg-subdued text-sm" };
11762
- const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
11812
+ const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
11763
11813
  __name: "AttendanceSingle",
11764
11814
  setup(__props) {
11765
11815
  const {
@@ -11936,7 +11986,7 @@ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
11936
11986
  };
11937
11987
  }
11938
11988
  });
11939
- const AttendanceSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$10, [["__scopeId", "data-v-68aaccaa"]]);
11989
+ const AttendanceSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$14, [["__scopeId", "data-v-68aaccaa"]]);
11940
11990
  const _hoisted_1$r = { class: "flex flex-wrap" };
11941
11991
  const _hoisted_2$k = { class: "mt-2" };
11942
11992
  const _hoisted_3$c = { class: "mt-2" };
@@ -11955,7 +12005,7 @@ const _hoisted_8$9 = {
11955
12005
  class: "grid gap-2 sm:grid-cols-2"
11956
12006
  };
11957
12007
  const _hoisted_9$9 = { class: "text-right text-fg-subdued text-sm" };
11958
- const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
12008
+ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
11959
12009
  __name: "AttendanceManager",
11960
12010
  setup(__props) {
11961
12011
  var _a;
@@ -12318,7 +12368,7 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
12318
12368
  };
12319
12369
  }
12320
12370
  });
12321
- const AttendanceManager = /* @__PURE__ */ _export_sfc$1(_sfc_main$$, [["__scopeId", "data-v-d9f57fbd"]]);
12371
+ const AttendanceManager = /* @__PURE__ */ _export_sfc$1(_sfc_main$13, [["__scopeId", "data-v-d9f57fbd"]]);
12322
12372
  const _hoisted_1$q = {
12323
12373
  key: 1,
12324
12374
  class: "flex flex-wrap"
@@ -12341,7 +12391,7 @@ const _hoisted_9$8 = {
12341
12391
  class: "grid gap-2 sm:grid-cols-2"
12342
12392
  };
12343
12393
  const _hoisted_10$8 = { class: "text-right text-fg-subdued text-sm" };
12344
- const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
12394
+ const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
12345
12395
  __name: "AttendanceStaff",
12346
12396
  setup(__props) {
12347
12397
  var _a;
@@ -12818,7 +12868,7 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
12818
12868
  };
12819
12869
  }
12820
12870
  });
12821
- const AttendanceStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$_, [["__scopeId", "data-v-6c44f6cf"]]);
12871
+ const AttendanceStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$12, [["__scopeId", "data-v-6c44f6cf"]]);
12822
12872
  const _hoisted_1$p = { class: "flex flex-wrap" };
12823
12873
  const _hoisted_2$i = { class: "mt-2" };
12824
12874
  const _hoisted_3$a = { class: "mt-2" };
@@ -12839,7 +12889,7 @@ const _hoisted_10$7 = {
12839
12889
  class: "grid gap-2 sm:grid-cols-2"
12840
12890
  };
12841
12891
  const _hoisted_11$7 = { class: "text-right text-fg-subdued text-sm" };
12842
- const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
12892
+ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
12843
12893
  __name: "AttendanceSupervisor",
12844
12894
  setup(__props) {
12845
12895
  var _a;
@@ -13303,7 +13353,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
13303
13353
  };
13304
13354
  }
13305
13355
  });
13306
- const AttendanceSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$Z, [["__scopeId", "data-v-5738c075"]]);
13356
+ const AttendanceSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$11, [["__scopeId", "data-v-5738c075"]]);
13307
13357
  const _withScopeId$2 = (n) => (vue.pushScopeId("data-v-04009998"), n = n(), vue.popScopeId(), n);
13308
13358
  const _hoisted_1$o = { id: "view-checkIns" };
13309
13359
  const _hoisted_2$h = { class: "summary" };
@@ -13320,7 +13370,7 @@ const _hoisted_5$7 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.cr
13320
13370
  /* HOISTED */
13321
13371
  ));
13322
13372
  const _hoisted_6$7 = { class: "end" };
13323
- const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
13373
+ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
13324
13374
  ...{
13325
13375
  name: "CheckInPresenceCollection"
13326
13376
  },
@@ -13710,9 +13760,9 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
13710
13760
  };
13711
13761
  }
13712
13762
  });
13713
- const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc$1(_sfc_main$Y, [["__scopeId", "data-v-04009998"]]);
13763
+ const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc$1(_sfc_main$10, [["__scopeId", "data-v-04009998"]]);
13714
13764
  const _hoisted_1$n = { class: "grid gap-4 sm:grid-cols-2" };
13715
- const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
13765
+ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
13716
13766
  __name: "CheckInExternal",
13717
13767
  setup(__props) {
13718
13768
  const {
@@ -13815,7 +13865,7 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
13815
13865
  };
13816
13866
  }
13817
13867
  });
13818
- const CheckInExternal = /* @__PURE__ */ _export_sfc$1(_sfc_main$X, [["__scopeId", "data-v-2b39928d"]]);
13868
+ const CheckInExternal = /* @__PURE__ */ _export_sfc$1(_sfc_main$$, [["__scopeId", "data-v-2b39928d"]]);
13819
13869
  const _withScopeId$1 = (n) => (vue.pushScopeId("data-v-8df96f5c"), n = n(), vue.popScopeId(), n);
13820
13870
  const _hoisted_1$m = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode(
13821
13871
  "h4",
@@ -13835,7 +13885,7 @@ const _hoisted_2$g = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.cr
13835
13885
  -1
13836
13886
  /* HOISTED */
13837
13887
  ));
13838
- const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
13888
+ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
13839
13889
  __name: "CheckInAccess",
13840
13890
  emits: ["close"],
13841
13891
  setup(__props) {
@@ -13887,9 +13937,9 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
13887
13937
  };
13888
13938
  }
13889
13939
  });
13890
- const CheckInAccess = /* @__PURE__ */ _export_sfc$1(_sfc_main$W, [["__scopeId", "data-v-8df96f5c"]]);
13940
+ const CheckInAccess = /* @__PURE__ */ _export_sfc$1(_sfc_main$_, [["__scopeId", "data-v-8df96f5c"]]);
13891
13941
  const _hoisted_1$l = { class: "buttons" };
13892
- const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
13942
+ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
13893
13943
  __name: "CheckInScanError",
13894
13944
  setup(__props) {
13895
13945
  const attendanceStore = useAttendanceStore();
@@ -14335,7 +14385,7 @@ const _hoisted_2$f = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.crea
14335
14385
  /* HOISTED */
14336
14386
  ));
14337
14387
  const _hoisted_3$8 = { class: "mr-2 text-sm" };
14338
- const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
14388
+ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
14339
14389
  __name: "CheckInScanner",
14340
14390
  emits: ["start", "stop", "scanned", "close"],
14341
14391
  setup(__props, { emit: __emit }) {
@@ -14514,7 +14564,7 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
14514
14564
  };
14515
14565
  }
14516
14566
  });
14517
- const CheckInScanner = /* @__PURE__ */ _export_sfc$1(_sfc_main$U, [["__scopeId", "data-v-ad596202"]]);
14567
+ const CheckInScanner = /* @__PURE__ */ _export_sfc$1(_sfc_main$Y, [["__scopeId", "data-v-ad596202"]]);
14518
14568
  const _hoisted_1$j = /* @__PURE__ */ vue.createElementVNode(
14519
14569
  "h3",
14520
14570
  { align: "center" },
@@ -14522,7 +14572,7 @@ const _hoisted_1$j = /* @__PURE__ */ vue.createElementVNode(
14522
14572
  -1
14523
14573
  /* HOISTED */
14524
14574
  );
14525
- const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
14575
+ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
14526
14576
  __name: "CheckInScanSuccess",
14527
14577
  emits: ["close"],
14528
14578
  setup(__props) {
@@ -14555,7 +14605,7 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
14555
14605
  }
14556
14606
  });
14557
14607
  const _hoisted_1$i = { class: "grid gap-4 sm:grid-cols-2" };
14558
- const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
14608
+ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
14559
14609
  __name: "CheckInSupervisor",
14560
14610
  setup(__props) {
14561
14611
  const {
@@ -14668,8 +14718,8 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
14668
14718
  };
14669
14719
  }
14670
14720
  });
14671
- const CheckInSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$S, [["__scopeId", "data-v-bbde612a"]]);
14672
- const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
14721
+ const CheckInSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$W, [["__scopeId", "data-v-bbde612a"]]);
14722
+ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
14673
14723
  ...{
14674
14724
  name: "CheckInCollection"
14675
14725
  },
@@ -14688,7 +14738,7 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
14688
14738
  }
14689
14739
  });
14690
14740
  const _hoisted_1$h = { class: "grid gap-4 sm:grid-cols-2" };
14691
- const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
14741
+ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
14692
14742
  __name: "CheckInSingle",
14693
14743
  setup(__props) {
14694
14744
  const {
@@ -14782,8 +14832,8 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
14782
14832
  };
14783
14833
  }
14784
14834
  });
14785
- const CheckInSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$Q, [["__scopeId", "data-v-8c1dffae"]]);
14786
- const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
14835
+ const CheckInSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$U, [["__scopeId", "data-v-8c1dffae"]]);
14836
+ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
14787
14837
  __name: "PlanStaff",
14788
14838
  setup(__props) {
14789
14839
  const {
@@ -14988,8 +15038,8 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
14988
15038
  };
14989
15039
  }
14990
15040
  });
14991
- const PlanStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$P, [["__scopeId", "data-v-4c077382"]]);
14992
- const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
15041
+ const PlanStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$T, [["__scopeId", "data-v-4c077382"]]);
15042
+ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
14993
15043
  ...{
14994
15044
  name: "PlanCollection"
14995
15045
  },
@@ -15007,7 +15057,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
15007
15057
  };
15008
15058
  }
15009
15059
  });
15010
- const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
15060
+ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
15011
15061
  __name: "PlanSingle",
15012
15062
  setup(__props) {
15013
15063
  const {
@@ -15202,8 +15252,8 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
15202
15252
  };
15203
15253
  }
15204
15254
  });
15205
- const PlanSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$N, [["__scopeId", "data-v-88a3a973"]]);
15206
- const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
15255
+ const PlanSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$R, [["__scopeId", "data-v-88a3a973"]]);
15256
+ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
15207
15257
  ...{
15208
15258
  name: "PlanTypeCollection"
15209
15259
  },
@@ -15221,7 +15271,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
15221
15271
  };
15222
15272
  }
15223
15273
  });
15224
- const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
15274
+ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
15225
15275
  __name: "PlanTypeSingle",
15226
15276
  setup(__props) {
15227
15277
  const {
@@ -15341,8 +15391,8 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
15341
15391
  };
15342
15392
  }
15343
15393
  });
15344
- const PlanTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$L, [["__scopeId", "data-v-add540b6"]]);
15345
- const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
15394
+ const PlanTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$P, [["__scopeId", "data-v-add540b6"]]);
15395
+ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
15346
15396
  ...{ name: "ProgressNoteTab" },
15347
15397
  __name: "ProgressNoteTab",
15348
15398
  setup(__props) {
@@ -15375,7 +15425,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
15375
15425
  });
15376
15426
  const _hoisted_1$g = { class: "grid gap-2 sm:grid-cols-2" };
15377
15427
  const _hoisted_2$e = { class: "text-right text-fg-subdued text-sm" };
15378
- const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
15428
+ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
15379
15429
  __name: "ProgressTomorrow",
15380
15430
  setup(__props) {
15381
15431
  var _a;
@@ -15653,7 +15703,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
15653
15703
  _: 1
15654
15704
  /* STABLE */
15655
15705
  })) : vue.createCommentVNode("v-if", true),
15656
- vue.createVNode(vue.unref(_sfc_main$K))
15706
+ vue.createVNode(vue.unref(_sfc_main$O))
15657
15707
  ];
15658
15708
  }),
15659
15709
  _: 1
@@ -15666,10 +15716,10 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
15666
15716
  };
15667
15717
  }
15668
15718
  });
15669
- const ProgressTomorrow = /* @__PURE__ */ _export_sfc$1(_sfc_main$J, [["__scopeId", "data-v-607d910c"]]);
15719
+ const ProgressTomorrow = /* @__PURE__ */ _export_sfc$1(_sfc_main$N, [["__scopeId", "data-v-607d910c"]]);
15670
15720
  const _hoisted_1$f = { class: "grid gap-2 sm:grid-cols-2" };
15671
15721
  const _hoisted_2$d = { class: "text-right text-fg-subdued text-sm" };
15672
- const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
15722
+ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
15673
15723
  __name: "ProgressYesterday",
15674
15724
  setup(__props) {
15675
15725
  var _a;
@@ -15946,7 +15996,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
15946
15996
  _: 1
15947
15997
  /* STABLE */
15948
15998
  })) : vue.createCommentVNode("v-if", true),
15949
- vue.createVNode(vue.unref(_sfc_main$K))
15999
+ vue.createVNode(vue.unref(_sfc_main$O))
15950
16000
  ];
15951
16001
  }),
15952
16002
  _: 1
@@ -15959,8 +16009,8 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
15959
16009
  };
15960
16010
  }
15961
16011
  });
15962
- const ProgressYesterday = /* @__PURE__ */ _export_sfc$1(_sfc_main$I, [["__scopeId", "data-v-cc36bbaf"]]);
15963
- const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
16012
+ const ProgressYesterday = /* @__PURE__ */ _export_sfc$1(_sfc_main$M, [["__scopeId", "data-v-cc36bbaf"]]);
16013
+ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
15964
16014
  __name: "ProgressNote",
15965
16015
  setup(__props) {
15966
16016
  var _a;
@@ -16066,7 +16116,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
16066
16116
  _: 1
16067
16117
  /* STABLE */
16068
16118
  }),
16069
- vue.createVNode(vue.unref(_sfc_main$K))
16119
+ vue.createVNode(vue.unref(_sfc_main$O))
16070
16120
  ]),
16071
16121
  _: 1
16072
16122
  /* STABLE */
@@ -16078,8 +16128,8 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
16078
16128
  };
16079
16129
  }
16080
16130
  });
16081
- const ProgressNote = /* @__PURE__ */ _export_sfc$1(_sfc_main$H, [["__scopeId", "data-v-d6b827e1"]]);
16082
- const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
16131
+ const ProgressNote = /* @__PURE__ */ _export_sfc$1(_sfc_main$L, [["__scopeId", "data-v-d6b827e1"]]);
16132
+ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
16083
16133
  ...{
16084
16134
  name: "ProgressCollection"
16085
16135
  },
@@ -16142,10 +16192,10 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
16142
16192
  };
16143
16193
  }
16144
16194
  });
16145
- const ProgressCollection = /* @__PURE__ */ _export_sfc$1(_sfc_main$G, [["__scopeId", "data-v-e8e3cd1d"]]);
16195
+ const ProgressCollection = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["__scopeId", "data-v-e8e3cd1d"]]);
16146
16196
  const _hoisted_1$e = { class: "grid gap-2 sm:grid-cols-2" };
16147
16197
  const _hoisted_2$c = { class: "text-right text-fg-subdued text-sm" };
16148
- const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
16198
+ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
16149
16199
  __name: "ProgressSingle",
16150
16200
  setup(__props) {
16151
16201
  const { staff } = useOperasional();
@@ -16489,7 +16539,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
16489
16539
  _: 1
16490
16540
  /* STABLE */
16491
16541
  })) : vue.createCommentVNode("v-if", true),
16492
- vue.createVNode(vue.unref(_sfc_main$K))
16542
+ vue.createVNode(vue.unref(_sfc_main$O))
16493
16543
  ];
16494
16544
  }),
16495
16545
  _: 1
@@ -16502,9 +16552,9 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
16502
16552
  };
16503
16553
  }
16504
16554
  });
16505
- const ProgressSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$F, [["__scopeId", "data-v-9a6e2573"]]);
16555
+ const ProgressSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$J, [["__scopeId", "data-v-9a6e2573"]]);
16506
16556
  const _hoisted_1$d = { class: "flex flex-wrap" };
16507
- const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
16557
+ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
16508
16558
  ...{ name: "ProgressButton" },
16509
16559
  __name: "ProgressButton",
16510
16560
  setup(__props) {
@@ -16551,7 +16601,7 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
16551
16601
  }
16552
16602
  });
16553
16603
  const _hoisted_1$c = { class: "flex flex-wrap" };
16554
- const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
16604
+ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
16555
16605
  ...{ name: "ProgressNoteButton" },
16556
16606
  __name: "ProgressNoteButton",
16557
16607
  setup(__props) {
@@ -16573,7 +16623,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
16573
16623
  };
16574
16624
  }
16575
16625
  });
16576
- const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
16626
+ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
16577
16627
  __name: "ProgressAccessSupervisor",
16578
16628
  setup(__props) {
16579
16629
  const {
@@ -16636,8 +16686,8 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
16636
16686
  };
16637
16687
  }
16638
16688
  });
16639
- const ProgressAccessSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$C, [["__scopeId", "data-v-2ca10028"]]);
16640
- const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
16689
+ const ProgressAccessSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$G, [["__scopeId", "data-v-2ca10028"]]);
16690
+ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
16641
16691
  ...{
16642
16692
  name: "ProgressAccessCollection"
16643
16693
  },
@@ -16655,7 +16705,7 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
16655
16705
  };
16656
16706
  }
16657
16707
  });
16658
- const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
16708
+ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
16659
16709
  __name: "ProgressAccessSingle",
16660
16710
  setup(__props) {
16661
16711
  const {
@@ -16718,8 +16768,8 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
16718
16768
  };
16719
16769
  }
16720
16770
  });
16721
- const ProgressAccessSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$A, [["__scopeId", "data-v-3592f7c4"]]);
16722
- const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
16771
+ const ProgressAccessSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$E, [["__scopeId", "data-v-3592f7c4"]]);
16772
+ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
16723
16773
  __name: "ResponsibilityStaff",
16724
16774
  setup(__props) {
16725
16775
  const {
@@ -16912,8 +16962,8 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
16912
16962
  };
16913
16963
  }
16914
16964
  });
16915
- const ResponsibilityStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$z, [["__scopeId", "data-v-89afc670"]]);
16916
- const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
16965
+ const ResponsibilityStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$D, [["__scopeId", "data-v-89afc670"]]);
16966
+ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
16917
16967
  __name: "ResponsibilitySupervisor",
16918
16968
  setup(__props) {
16919
16969
  const {
@@ -17106,8 +17156,8 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
17106
17156
  };
17107
17157
  }
17108
17158
  });
17109
- const ResponsibilitySupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$y, [["__scopeId", "data-v-983b6c8a"]]);
17110
- const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
17159
+ const ResponsibilitySupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$C, [["__scopeId", "data-v-983b6c8a"]]);
17160
+ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
17111
17161
  ...{
17112
17162
  name: "ResponsibilityCollection"
17113
17163
  },
@@ -17125,7 +17175,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
17125
17175
  };
17126
17176
  }
17127
17177
  });
17128
- const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
17178
+ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
17129
17179
  __name: "ResponsibilitySingle",
17130
17180
  setup(__props) {
17131
17181
  var _a, _b;
@@ -17364,8 +17414,8 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
17364
17414
  };
17365
17415
  }
17366
17416
  });
17367
- const ResponsibilitySingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$w, [["__scopeId", "data-v-d75da3fd"]]);
17368
- const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
17417
+ const ResponsibilitySingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$A, [["__scopeId", "data-v-d75da3fd"]]);
17418
+ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
17369
17419
  ...{
17370
17420
  name: "ResponsibilityTypeCollection"
17371
17421
  },
@@ -17383,7 +17433,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
17383
17433
  };
17384
17434
  }
17385
17435
  });
17386
- const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
17436
+ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
17387
17437
  __name: "ResponsibilityTypeSingle",
17388
17438
  setup(__props) {
17389
17439
  const {
@@ -17448,8 +17498,8 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
17448
17498
  };
17449
17499
  }
17450
17500
  });
17451
- const ResponsibilityTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$u, [["__scopeId", "data-v-f59caf0c"]]);
17452
- const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
17501
+ const ResponsibilityTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$y, [["__scopeId", "data-v-f59caf0c"]]);
17502
+ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
17453
17503
  __name: "SituationWork",
17454
17504
  setup(__props) {
17455
17505
  const {
@@ -17625,7 +17675,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
17625
17675
  };
17626
17676
  }
17627
17677
  });
17628
- const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
17678
+ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
17629
17679
  ...{ name: "SituationSupportive" },
17630
17680
  __name: "SituationSupportive",
17631
17681
  setup(__props) {
@@ -17760,7 +17810,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
17760
17810
  };
17761
17811
  }
17762
17812
  });
17763
- const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
17813
+ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
17764
17814
  ...{ name: "SituationCollection" },
17765
17815
  __name: "SituationCollection",
17766
17816
  setup(__props) {
@@ -17776,7 +17826,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
17776
17826
  };
17777
17827
  }
17778
17828
  });
17779
- const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
17829
+ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
17780
17830
  __name: "SituationSingle",
17781
17831
  setup(__props) {
17782
17832
  const {
@@ -17909,7 +17959,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
17909
17959
  };
17910
17960
  }
17911
17961
  });
17912
- const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
17962
+ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
17913
17963
  ...{ name: "SituationTypeCollection" },
17914
17964
  __name: "SituationTypeCollection",
17915
17965
  setup(__props) {
@@ -17925,7 +17975,7 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
17925
17975
  };
17926
17976
  }
17927
17977
  });
17928
- const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
17978
+ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
17929
17979
  __name: "SituationTypeSingle",
17930
17980
  setup(__props) {
17931
17981
  const {
@@ -17993,7 +18043,7 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
17993
18043
  };
17994
18044
  }
17995
18045
  });
17996
- const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
18046
+ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
17997
18047
  __name: "StaffIdentity",
17998
18048
  setup(__props) {
17999
18049
  const { values, saveOne, executeOne, syncOne } = context.useSingle();
@@ -18062,166 +18112,160 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
18062
18112
  };
18063
18113
  }
18064
18114
  return (_ctx, _cache) => {
18065
- return vue.openBlock(), vue.createBlock(vue.unref(form.NeonFormWrapper), null, {
18066
- default: vue.withCtx(() => [
18067
- vue.createVNode(vue.unref(OperasionalIdentitas), {
18068
- user: vue.unref(values).user,
18069
- profile: profile.value,
18070
- conflict: conflict.value,
18071
- roles: [
18072
- { id: "a6c43f08a59b4292e3d1357b", name: "Admin Office" },
18073
- { id: "641044c878ae4f8388b1d280", name: "Admin Operasional" },
18074
- // { id: '64101f7078ae4f8388b1d1e8', name: 'Cabang Operasional' },
18075
- { id: "641d357c78ae4f8388b1dbaf", name: "Manager Cabang" },
18076
- { id: "641d35b178ae4f8388b1dbd4", name: "SDM Cabang" },
18077
- { id: "6309c3c2e64a1324b8663dab", name: "Karyawan" },
18078
- { id: "646a42976af710fe3618af9a", name: "Pengawas Pengajuan" },
18079
- { id: "646a43106af710fe3618afca", name: "Pengambil Keputusan" },
18080
- { id: "654a0b3fb487f9f1087347aa", name: "Poin" },
18081
- { id: "654ad81bb487f9f1087347e7", name: "Pengelola Poin" },
18082
- { id: "6555a130fdd768dbbb18d717", name: "Intelijen" },
18083
- // OPERASIONAL
18084
- {
18085
- id: "64a686ba3fe0bb481faa0f8b",
18086
- name: "Pengelola SDM"
18087
- },
18088
- {
18089
- id: "64a687823fe0bb481faa0fba",
18090
- name: "Penanggungjawab Cabang"
18091
- },
18092
- {
18093
- id: "64a687b93fe0bb481faa0fd6",
18094
- name: "Pengawas SDM"
18095
- },
18096
- // {
18097
- // id: '64a687ed3fe0bb481faa0ff2',
18098
- // name: 'Pengelola Absensi',
18099
- // },
18100
- // END OPERASIONAL
18101
- { id: "64e6e0669103ea42a4f7d4d0", name: "Cabang KBM" },
18102
- { id: "658f68314dec264ead160077", name: "Cabang Tanya" },
18103
- { id: "658f68884dec264ead160078", name: "Cabang Rasionalisasi" },
18104
- // { id: '63e1734b78ae4f8388b1b313', name: 'Cabang Pendidikan' },
18105
- // Keuangan
18106
- // { id: '6309c39fe64a1324b8663da7', name: 'Konsumen' },
18107
- { id: "6454a30dd760fc7b529d4c23", name: "Karyawan FO Cabang" },
18108
- { id: "6454a343d760fc7b529d4c64", name: "Karyawan Kasir Cabang" },
18109
- { id: "6454a368d760fc7b529d4c8e", name: "karyawan Keuangan Cabang" },
18110
- { id: "6454a387d760fc7b529d4cb1", name: "Kasir Cabang" },
18111
- {
18112
- id: "6454a3cbd760fc7b529d4d01",
18113
- name: "Pengawas Pengeluaran Lain Cabang"
18114
- },
18115
- {
18116
- id: "6454a3f3d760fc7b529d4d2a",
18117
- name: "Pengawas Mutasi Lain Cabang"
18118
- },
18119
- {
18120
- id: "6454a414d760fc7b529d4d69",
18121
- name: "Pengawas Hapus Tagihan Cabang"
18122
- },
18123
- {
18124
- id: "6454a439d760fc7b529d4d9e",
18125
- name: "Pengawas Mutasi Tagihan Cabang"
18126
- },
18127
- {
18128
- id: "6454a39dd760fc7b529d4cd7",
18129
- name: "Pengawas Pengembalian Tagihan Cabang"
18130
- },
18131
- {
18132
- id: "6454a40ad760fc7b529d4d4d",
18133
- name: "Pengawas Pemasukan Tagihan Cabang"
18134
- },
18135
- {
18136
- id: "6454a441d760fc7b529d4db4",
18137
- name: "Pengawas Pengurangan Tagihan Cabang"
18138
- },
18139
- {
18140
- id: "6454a486d760fc7b529d4dee",
18141
- name: "Pengawas Penambahan Tagihan Cabang"
18142
- },
18143
- {
18144
- id: "6454a529d760fc7b529d4e1f",
18145
- name: "Pengawas Pengeluaran Komponen Cabang"
18146
- },
18147
- {
18148
- id: "6454a557d760fc7b529d4e44",
18149
- name: "Pengawas Pendapatan Lain Cabang"
18150
- },
18151
- // PEMASARAN
18152
- {
18153
- id: "6454a6c2d760fc7b529d4f4f",
18154
- name: "Karyawan Marketing Cabang"
18155
- },
18156
- {
18157
- id: "652ce8e6b487f9f108733873",
18158
- name: "Cabang FO"
18159
- },
18160
- {
18161
- id: "652ceb48b487f9f108733896",
18162
- name: "Cabang Pemasaran"
18163
- },
18164
- {
18165
- id: "652ceb79b487f9f1087338bc",
18166
- name: "Pengelola Penyebaran"
18167
- },
18168
- {
18169
- id: "652ceba2b487f9f1087338d9",
18170
- name: "Pengelola Publikasi"
18171
- },
18172
- // INVENTORI
18173
- {
18174
- id: "64e7f2089103ea42a4f7d512",
18175
- name: "Cabang Inventori"
18176
- },
18177
- {
18178
- id: "64e7f3629103ea42a4f7d535",
18179
- name: "Cabang Outlet"
18180
- },
18181
- {
18182
- id: "64e7f3c39103ea42a4f7d552",
18183
- name: "Pengadaan Inventori"
18184
- },
18185
- {
18186
- id: "64e7f4309103ea42a4f7d579",
18187
- name: "Pengawasan Pengadaan Inventori"
18188
- },
18189
- {
18190
- id: "64e7f46d9103ea42a4f7d596",
18191
- name: "Cabang Pengadaan"
18192
- },
18193
- {
18194
- id: "64e817419103ea42a4f7d5bd",
18195
- name: "Pengelola Resep"
18196
- },
18197
- {
18198
- id: "64e9aa869103ea42a4f7d6a9",
18199
- name: "Pengawas Inventori"
18200
- },
18201
- // Sentral
18202
- {
18203
- id: "650917b39103ea42a4f7e189",
18204
- name: "Pengelola Export"
18205
- }
18206
- ],
18207
- errors: errors.value,
18208
- "on-choose": onChoose,
18209
- "on-register": onRegister,
18210
- "on-connect": onConnect,
18211
- "on-disconnect": onDisconnect,
18212
- "on-delegate": onDelegate,
18213
- onNoConflict: _cache[0] || (_cache[0] = ($event) => conflict.value = void 0)
18214
- }, null, 8, ["user", "profile", "conflict", "errors"])
18215
- ]),
18216
- _: 1
18217
- /* STABLE */
18218
- });
18115
+ return vue.openBlock(), vue.createBlock(vue.unref(OperasionalIdentitas), {
18116
+ user: vue.unref(values).user,
18117
+ profile: profile.value,
18118
+ conflict: conflict.value,
18119
+ roles: [
18120
+ { id: "a6c43f08a59b4292e3d1357b", name: "Admin Office" },
18121
+ { id: "641044c878ae4f8388b1d280", name: "Admin Operasional" },
18122
+ // { id: '64101f7078ae4f8388b1d1e8', name: 'Cabang Operasional' },
18123
+ { id: "641d357c78ae4f8388b1dbaf", name: "Manager Cabang" },
18124
+ { id: "641d35b178ae4f8388b1dbd4", name: "SDM Cabang" },
18125
+ { id: "6309c3c2e64a1324b8663dab", name: "Karyawan" },
18126
+ { id: "646a42976af710fe3618af9a", name: "Pengawas Pengajuan" },
18127
+ { id: "646a43106af710fe3618afca", name: "Pengambil Keputusan" },
18128
+ { id: "654a0b3fb487f9f1087347aa", name: "Poin" },
18129
+ { id: "654ad81bb487f9f1087347e7", name: "Pengelola Poin" },
18130
+ { id: "6555a130fdd768dbbb18d717", name: "Intelijen" },
18131
+ // OPERASIONAL
18132
+ {
18133
+ id: "64a686ba3fe0bb481faa0f8b",
18134
+ name: "Pengelola SDM"
18135
+ },
18136
+ {
18137
+ id: "64a687823fe0bb481faa0fba",
18138
+ name: "Penanggungjawab Cabang"
18139
+ },
18140
+ {
18141
+ id: "64a687b93fe0bb481faa0fd6",
18142
+ name: "Pengawas SDM"
18143
+ },
18144
+ // {
18145
+ // id: '64a687ed3fe0bb481faa0ff2',
18146
+ // name: 'Pengelola Absensi',
18147
+ // },
18148
+ // END OPERASIONAL
18149
+ { id: "64e6e0669103ea42a4f7d4d0", name: "Cabang KBM" },
18150
+ { id: "658f68314dec264ead160077", name: "Cabang Tanya" },
18151
+ { id: "658f68884dec264ead160078", name: "Cabang Rasionalisasi" },
18152
+ // { id: '63e1734b78ae4f8388b1b313', name: 'Cabang Pendidikan' },
18153
+ // Keuangan
18154
+ // { id: '6309c39fe64a1324b8663da7', name: 'Konsumen' },
18155
+ { id: "6454a30dd760fc7b529d4c23", name: "Karyawan FO Cabang" },
18156
+ { id: "6454a343d760fc7b529d4c64", name: "Karyawan Kasir Cabang" },
18157
+ { id: "6454a368d760fc7b529d4c8e", name: "karyawan Keuangan Cabang" },
18158
+ { id: "6454a387d760fc7b529d4cb1", name: "Kasir Cabang" },
18159
+ {
18160
+ id: "6454a3cbd760fc7b529d4d01",
18161
+ name: "Pengawas Pengeluaran Lain Cabang"
18162
+ },
18163
+ {
18164
+ id: "6454a3f3d760fc7b529d4d2a",
18165
+ name: "Pengawas Mutasi Lain Cabang"
18166
+ },
18167
+ {
18168
+ id: "6454a414d760fc7b529d4d69",
18169
+ name: "Pengawas Hapus Tagihan Cabang"
18170
+ },
18171
+ {
18172
+ id: "6454a439d760fc7b529d4d9e",
18173
+ name: "Pengawas Mutasi Tagihan Cabang"
18174
+ },
18175
+ {
18176
+ id: "6454a39dd760fc7b529d4cd7",
18177
+ name: "Pengawas Pengembalian Tagihan Cabang"
18178
+ },
18179
+ {
18180
+ id: "6454a40ad760fc7b529d4d4d",
18181
+ name: "Pengawas Pemasukan Tagihan Cabang"
18182
+ },
18183
+ {
18184
+ id: "6454a441d760fc7b529d4db4",
18185
+ name: "Pengawas Pengurangan Tagihan Cabang"
18186
+ },
18187
+ {
18188
+ id: "6454a486d760fc7b529d4dee",
18189
+ name: "Pengawas Penambahan Tagihan Cabang"
18190
+ },
18191
+ {
18192
+ id: "6454a529d760fc7b529d4e1f",
18193
+ name: "Pengawas Pengeluaran Komponen Cabang"
18194
+ },
18195
+ {
18196
+ id: "6454a557d760fc7b529d4e44",
18197
+ name: "Pengawas Pendapatan Lain Cabang"
18198
+ },
18199
+ // PEMASARAN
18200
+ {
18201
+ id: "6454a6c2d760fc7b529d4f4f",
18202
+ name: "Karyawan Marketing Cabang"
18203
+ },
18204
+ {
18205
+ id: "652ce8e6b487f9f108733873",
18206
+ name: "Cabang FO"
18207
+ },
18208
+ {
18209
+ id: "652ceb48b487f9f108733896",
18210
+ name: "Cabang Pemasaran"
18211
+ },
18212
+ {
18213
+ id: "652ceb79b487f9f1087338bc",
18214
+ name: "Pengelola Penyebaran"
18215
+ },
18216
+ {
18217
+ id: "652ceba2b487f9f1087338d9",
18218
+ name: "Pengelola Publikasi"
18219
+ },
18220
+ // INVENTORI
18221
+ {
18222
+ id: "64e7f2089103ea42a4f7d512",
18223
+ name: "Cabang Inventori"
18224
+ },
18225
+ {
18226
+ id: "64e7f3629103ea42a4f7d535",
18227
+ name: "Cabang Outlet"
18228
+ },
18229
+ {
18230
+ id: "64e7f3c39103ea42a4f7d552",
18231
+ name: "Pengadaan Inventori"
18232
+ },
18233
+ {
18234
+ id: "64e7f4309103ea42a4f7d579",
18235
+ name: "Pengawasan Pengadaan Inventori"
18236
+ },
18237
+ {
18238
+ id: "64e7f46d9103ea42a4f7d596",
18239
+ name: "Cabang Pengadaan"
18240
+ },
18241
+ {
18242
+ id: "64e817419103ea42a4f7d5bd",
18243
+ name: "Pengelola Resep"
18244
+ },
18245
+ {
18246
+ id: "64e9aa869103ea42a4f7d6a9",
18247
+ name: "Pengawas Inventori"
18248
+ },
18249
+ // Sentral
18250
+ {
18251
+ id: "650917b39103ea42a4f7e189",
18252
+ name: "Pengelola Export"
18253
+ }
18254
+ ],
18255
+ errors: errors.value,
18256
+ "on-choose": onChoose,
18257
+ "on-register": onRegister,
18258
+ "on-connect": onConnect,
18259
+ "on-disconnect": onDisconnect,
18260
+ "on-delegate": onDelegate,
18261
+ onNoConflict: _cache[0] || (_cache[0] = ($event) => conflict.value = void 0)
18262
+ }, null, 8, ["user", "profile", "conflict", "errors"]);
18219
18263
  };
18220
18264
  }
18221
18265
  });
18222
18266
  const _hoisted_1$b = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
18223
18267
  const _hoisted_2$b = { class: "grid gap-4 sm:grid-cols-2" };
18224
- const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
18268
+ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
18225
18269
  __name: "StaffOperasional",
18226
18270
  setup(__props) {
18227
18271
  const {
@@ -18336,7 +18380,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
18336
18380
  title: "Identitas"
18337
18381
  }, {
18338
18382
  default: vue.withCtx(() => [
18339
- vue.createVNode(_sfc_main$n)
18383
+ vue.createVNode(_sfc_main$r)
18340
18384
  ]),
18341
18385
  _: 1
18342
18386
  /* STABLE */
@@ -18451,10 +18495,10 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
18451
18495
  };
18452
18496
  }
18453
18497
  });
18454
- const StaffOperasional = /* @__PURE__ */ _export_sfc$1(_sfc_main$m, [["__scopeId", "data-v-1966f9f2"]]);
18498
+ const StaffOperasional = /* @__PURE__ */ _export_sfc$1(_sfc_main$q, [["__scopeId", "data-v-1966f9f2"]]);
18455
18499
  const _hoisted_1$a = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
18456
18500
  const _hoisted_2$a = { class: "grid gap-4 sm:grid-cols-2" };
18457
- const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
18501
+ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
18458
18502
  __name: "StaffAccess",
18459
18503
  setup(__props) {
18460
18504
  const {
@@ -18673,8 +18717,8 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
18673
18717
  };
18674
18718
  }
18675
18719
  });
18676
- const StaffAccess = /* @__PURE__ */ _export_sfc$1(_sfc_main$l, [["__scopeId", "data-v-d2de29d6"]]);
18677
- const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
18720
+ const StaffAccess = /* @__PURE__ */ _export_sfc$1(_sfc_main$p, [["__scopeId", "data-v-d2de29d6"]]);
18721
+ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
18678
18722
  ...{
18679
18723
  name: "StaffCollection"
18680
18724
  },
@@ -18694,7 +18738,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
18694
18738
  });
18695
18739
  const _hoisted_1$9 = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
18696
18740
  const _hoisted_2$9 = { class: "grid gap-4 sm:grid-cols-2" };
18697
- const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
18741
+ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
18698
18742
  __name: "StaffSingle",
18699
18743
  setup(__props) {
18700
18744
  const {
@@ -18799,7 +18843,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
18799
18843
  title: "Identitas"
18800
18844
  }, {
18801
18845
  default: vue.withCtx(() => [
18802
- vue.createVNode(_sfc_main$n)
18846
+ vue.createVNode(_sfc_main$r)
18803
18847
  ]),
18804
18848
  _: 1
18805
18849
  /* STABLE */
@@ -18931,8 +18975,8 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
18931
18975
  };
18932
18976
  }
18933
18977
  });
18934
- const StaffSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$j, [["__scopeId", "data-v-6b702387"]]);
18935
- const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
18978
+ const StaffSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$n, [["__scopeId", "data-v-a08dbebb"]]);
18979
+ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
18936
18980
  ...{ name: "SubmissionDocumentTab" },
18937
18981
  __name: "SubmissionDocumentTab",
18938
18982
  props: {
@@ -18975,7 +19019,7 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
18975
19019
  };
18976
19020
  }
18977
19021
  });
18978
- const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
19022
+ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
18979
19023
  ...{ name: "SubmissionDetailTab" },
18980
19024
  __name: "SubmissionDetailTab",
18981
19025
  setup(__props) {
@@ -19037,7 +19081,7 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
19037
19081
  };
19038
19082
  }
19039
19083
  });
19040
- const SubmissionDetailTab = /* @__PURE__ */ _export_sfc$1(_sfc_main$h, [["__scopeId", "data-v-3475270c"]]);
19084
+ const SubmissionDetailTab = /* @__PURE__ */ _export_sfc$1(_sfc_main$l, [["__scopeId", "data-v-3475270c"]]);
19041
19085
  const _hoisted_1$8 = { class: "flex items-right" };
19042
19086
  const _hoisted_2$8 = { class: "flex-grow" };
19043
19087
  const _hoisted_3$7 = { class: "ml-2 flex items-end pb-1" };
@@ -19050,10 +19094,10 @@ const _hoisted_9$6 = { class: "ml-2 flex items-end pb-1" };
19050
19094
  const _hoisted_10$6 = { class: "flex items-right" };
19051
19095
  const _hoisted_11$6 = { class: "flex-grow" };
19052
19096
  const _hoisted_12$6 = { class: "ml-2 flex items-end pb-1" };
19053
- const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
19097
+ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
19054
19098
  __name: "SubmissionStaff",
19055
19099
  setup(__props) {
19056
- var _a, _b, _c;
19100
+ var _a, _b;
19057
19101
  const {
19058
19102
  fields,
19059
19103
  id,
@@ -19064,10 +19108,12 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
19064
19108
  isReady,
19065
19109
  isMain,
19066
19110
  isNew,
19111
+ refreshOne,
19067
19112
  syncOne,
19068
19113
  saveOne,
19069
19114
  discardChanges,
19070
- executeOne
19115
+ executeOne,
19116
+ setDefaultValues
19071
19117
  } = context.useSingle();
19072
19118
  const { staff } = useOperasional();
19073
19119
  const branchOptions = vue.computed(() => {
@@ -19126,31 +19172,25 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
19126
19172
  ]
19127
19173
  };
19128
19174
  });
19129
- const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
19130
- const branchIds = ((_b = staff.value) == null ? void 0 : _b.branchIds) || [];
19131
- const branchDisplay = ((_c = staff.value) == null ? void 0 : _c.branches) || [];
19132
- vue.watch(isNew, setDefaultValues, { immediate: true });
19133
- async function setDefaultValues() {
19134
- var _a2, _b2, _c2;
19135
- if (!isNew.value) return;
19136
- await promise.PromiseUtil.wait(500);
19137
- const defaultValues = {
19138
- submissionStaffIds: [staffId],
19139
- submissionStaffs: [{ id: staffId, flag: (_a2 = staff.value) == null ? void 0 : _a2.flag }],
19140
- branchIds: [branchIds[0]],
19141
- branches: [branchDisplay[0]],
19142
- preparedAt: (/* @__PURE__ */ new Date()).toISOString()
19143
- };
19144
- values.value.preparedAt = defaultValues.preparedAt;
19145
- if ((_b2 = staff == null ? void 0 : staff.value) == null ? void 0 : _b2.id) {
19146
- values.value.submissionStaffIds = defaultValues.submissionStaffIds;
19147
- values.value.submissionStaffs = defaultValues.submissionStaffs;
19148
- }
19149
- if ((_c2 = staff == null ? void 0 : staff.value) == null ? void 0 : _c2.branchIds) {
19150
- values.value.branchIds = defaultValues.branchIds;
19151
- values.value.branches = defaultValues.branches;
19152
- }
19153
- }
19175
+ const branchIds = ((_a = staff.value) == null ? void 0 : _a.branchIds) || [];
19176
+ const branchDisplay = ((_b = staff.value) == null ? void 0 : _b.branches) || [];
19177
+ console.log("staff :", staff.value);
19178
+ vue.watch(
19179
+ isNew,
19180
+ async (isNew2) => {
19181
+ var _a2, _b2, _c;
19182
+ if (!isNew2) return;
19183
+ setDefaultValues({
19184
+ 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 }],
19185
+ branches: [branchDisplay[0]]
19186
+ });
19187
+ await promise.PromiseUtil.wait(1e3);
19188
+ values.value.submissionStaffIds = ((_c = staff == null ? void 0 : staff.value) == null ? void 0 : _c.id) ? [staff.value.id] : [];
19189
+ values.value.branchIds = [branchIds[0]];
19190
+ values.value.preparedAt = (/* @__PURE__ */ new Date()).toISOString();
19191
+ },
19192
+ { immediate: true }
19193
+ );
19154
19194
  const syncRaise = async () => {
19155
19195
  var _a2;
19156
19196
  await executeOne("raiseSubmission", {
@@ -19158,7 +19198,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
19158
19198
  staffId: (_a2 = staff.value) == null ? void 0 : _a2.id
19159
19199
  });
19160
19200
  await syncOne();
19161
- window.location.href = `/pengajuan/staff-submission/${id.value}`;
19201
+ await refreshOne();
19162
19202
  };
19163
19203
  const copyStaff = vue.computed(() => {
19164
19204
  executeOne("", { submissionId: id.value });
@@ -19472,7 +19512,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
19472
19512
  vue.createCommentVNode(" DETAIL "),
19473
19513
  vue.createVNode(vue.unref(SubmissionDetailTab)),
19474
19514
  vue.createCommentVNode(" DOKUMEN "),
19475
- vue.createVNode(vue.unref(_sfc_main$i), {
19515
+ vue.createVNode(vue.unref(_sfc_main$m), {
19476
19516
  toolbar: "side",
19477
19517
  "is-readonly": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
19478
19518
  }, null, 8, ["is-readonly"])
@@ -19487,7 +19527,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
19487
19527
  };
19488
19528
  }
19489
19529
  });
19490
- const SubmissionStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$g, [["__scopeId", "data-v-6f703e0b"]]);
19530
+ const SubmissionStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["__scopeId", "data-v-52435ad5"]]);
19491
19531
  const _hoisted_1$7 = { class: "flex items-right" };
19492
19532
  const _hoisted_2$7 = { class: "flex-grow" };
19493
19533
  const _hoisted_3$6 = { class: "ml-2 flex items-end pb-1" };
@@ -19500,7 +19540,7 @@ const _hoisted_9$5 = { class: "ml-2 flex items-end pb-1" };
19500
19540
  const _hoisted_10$5 = { class: "flex items-right" };
19501
19541
  const _hoisted_11$5 = { class: "flex-grow" };
19502
19542
  const _hoisted_12$5 = { class: "ml-2 flex items-end pb-1" };
19503
- const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
19543
+ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
19504
19544
  __name: "SubmissionFollowUp",
19505
19545
  setup(__props) {
19506
19546
  const {
@@ -19780,7 +19820,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
19780
19820
  vue.createCommentVNode(" DETAIL "),
19781
19821
  vue.createVNode(vue.unref(SubmissionDetailTab)),
19782
19822
  vue.createCommentVNode(" DOKUMEN "),
19783
- vue.createVNode(vue.unref(_sfc_main$i), {
19823
+ vue.createVNode(vue.unref(_sfc_main$m), {
19784
19824
  toolbar: "side",
19785
19825
  "is-readonly": ""
19786
19826
  })
@@ -19795,7 +19835,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
19795
19835
  };
19796
19836
  }
19797
19837
  });
19798
- const SubmissionFollowUp = /* @__PURE__ */ _export_sfc$1(_sfc_main$f, [["__scopeId", "data-v-0106c21e"]]);
19838
+ const SubmissionFollowUp = /* @__PURE__ */ _export_sfc$1(_sfc_main$j, [["__scopeId", "data-v-0106c21e"]]);
19799
19839
  const _hoisted_1$6 = { class: "flex flex-wrap" };
19800
19840
  const _hoisted_2$6 = { class: "mt-2" };
19801
19841
  const _hoisted_3$5 = { class: "mt-2" };
@@ -19814,7 +19854,7 @@ const _hoisted_15$2 = { class: "ml-2 flex items-end pb-1" };
19814
19854
  const _hoisted_16 = { class: "flex items-right" };
19815
19855
  const _hoisted_17 = { class: "flex-grow" };
19816
19856
  const _hoisted_18 = { class: "ml-2 flex items-end pb-1" };
19817
- const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
19857
+ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
19818
19858
  __name: "SubmissionAudit",
19819
19859
  setup(__props) {
19820
19860
  var _a, _b, _c;
@@ -19828,6 +19868,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
19828
19868
  isReady,
19829
19869
  isMain,
19830
19870
  isNew,
19871
+ refreshOne,
19831
19872
  syncOne,
19832
19873
  saveOne,
19833
19874
  discardChanges,
@@ -19919,17 +19960,17 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
19919
19960
  const syncResolved = async () => {
19920
19961
  await executeOne("resolvedSubmission", { submissionId: id.value });
19921
19962
  await syncOne();
19922
- window.location.href = `/pengajuan/audit-submission/${id.value}`;
19963
+ await refreshOne();
19923
19964
  };
19924
19965
  const syncDiscontinued = async () => {
19925
19966
  await executeOne("discontinuedSubmission", { submissionId: id.value });
19926
19967
  await syncOne();
19927
- window.location.href = `/pengajuan/audit-submission/${id.value}`;
19968
+ await refreshOne();
19928
19969
  };
19929
19970
  const syncMonitored = async () => {
19930
19971
  await executeOne("monitoredSubmission", { submissionId: id.value });
19931
19972
  await syncOne();
19932
- window.location.href = `/pengajuan/audit-submission/${id.value}`;
19973
+ await refreshOne();
19933
19974
  };
19934
19975
  const syncProcessed = async () => {
19935
19976
  var _a2;
@@ -19938,7 +19979,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
19938
19979
  staffId: (_a2 = staff.value) == null ? void 0 : _a2.id
19939
19980
  });
19940
19981
  await syncOne();
19941
- window.location.href = `/pengajuan/audit-submission/${id.value}`;
19982
+ await refreshOne();
19942
19983
  };
19943
19984
  const syncLowered = async () => {
19944
19985
  var _a2;
@@ -19947,7 +19988,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
19947
19988
  staffId: (_a2 = staff.value) == null ? void 0 : _a2.id
19948
19989
  });
19949
19990
  await syncOne();
19950
- window.location.href = `/pengajuan/audit-submission/${id.value}`;
19991
+ await refreshOne();
19951
19992
  };
19952
19993
  const copyStaff = vue.computed(() => {
19953
19994
  executeOne("", { submissionId: id.value });
@@ -20342,7 +20383,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
20342
20383
  }),
20343
20384
  vue.createVNode(vue.unref(SubmissionDetailTab)),
20344
20385
  vue.createCommentVNode(" DOKUMEN "),
20345
- vue.createVNode(vue.unref(_sfc_main$i), {
20386
+ vue.createVNode(vue.unref(_sfc_main$m), {
20346
20387
  toolbar: "side",
20347
20388
  "is-readonly": vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "prepared" || vue.unref(values).status === "resolved"
20348
20389
  }, null, 8, ["is-readonly"]),
@@ -20401,7 +20442,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
20401
20442
  };
20402
20443
  }
20403
20444
  });
20404
- const SubmissionAudit = /* @__PURE__ */ _export_sfc$1(_sfc_main$e, [["__scopeId", "data-v-88209980"]]);
20445
+ const SubmissionAudit = /* @__PURE__ */ _export_sfc$1(_sfc_main$i, [["__scopeId", "data-v-a0f33803"]]);
20405
20446
  const _hoisted_1$5 = { class: "flex flex-wrap" };
20406
20447
  const _hoisted_2$5 = { class: "mt-2" };
20407
20448
  const _hoisted_3$4 = { class: "mt-2" };
@@ -20417,7 +20458,7 @@ const _hoisted_12$3 = { class: "ml-2 flex items-end pb-1" };
20417
20458
  const _hoisted_13$1 = { class: "flex items-right" };
20418
20459
  const _hoisted_14$1 = { class: "flex-grow" };
20419
20460
  const _hoisted_15$1 = { class: "ml-2 flex items-end pb-1" };
20420
- const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
20461
+ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
20421
20462
  __name: "SubmissionDecision",
20422
20463
  setup(__props) {
20423
20464
  var _a, _b, _c;
@@ -20431,6 +20472,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
20431
20472
  isReady,
20432
20473
  isMain,
20433
20474
  isNew,
20475
+ refreshOne,
20434
20476
  syncOne,
20435
20477
  saveOne,
20436
20478
  discardChanges,
@@ -20525,7 +20567,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
20525
20567
  staffId: (_a2 = staff.value) == null ? void 0 : _a2.id
20526
20568
  });
20527
20569
  await syncOne();
20528
- window.location.href = `/pengajuan/decision-submission/${id.value}`;
20570
+ await refreshOne();
20529
20571
  };
20530
20572
  const syncApproved = async () => {
20531
20573
  var _a2;
@@ -20534,7 +20576,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
20534
20576
  staffId: (_a2 = staff.value) == null ? void 0 : _a2.id
20535
20577
  });
20536
20578
  await syncOne();
20537
- window.location.href = `/pengajuan/decision-submission/${id.value}`;
20579
+ await refreshOne();
20538
20580
  };
20539
20581
  const copyStaff = vue.computed(() => {
20540
20582
  executeOne("", { submissionId: id.value });
@@ -20875,7 +20917,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
20875
20917
  vue.createCommentVNode(" DETAIL "),
20876
20918
  vue.createVNode(vue.unref(SubmissionDetailTab)),
20877
20919
  vue.createCommentVNode(" DOKUMEN "),
20878
- vue.createVNode(vue.unref(_sfc_main$i), {
20920
+ vue.createVNode(vue.unref(_sfc_main$m), {
20879
20921
  toolbar: "side",
20880
20922
  "is-readonly": vue.unref(values).status === "raised" || vue.unref(values).status === "delay" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
20881
20923
  }, null, 8, ["is-readonly"]),
@@ -20934,7 +20976,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
20934
20976
  };
20935
20977
  }
20936
20978
  });
20937
- const SubmissionDecision = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["__scopeId", "data-v-7c1b0aea"]]);
20979
+ const SubmissionDecision = /* @__PURE__ */ _export_sfc$1(_sfc_main$h, [["__scopeId", "data-v-be1c5adc"]]);
20938
20980
  const _hoisted_1$4 = { class: "flex flex-wrap" };
20939
20981
  const _hoisted_2$4 = { class: "mt-2" };
20940
20982
  const _hoisted_3$3 = { class: "mt-2" };
@@ -20950,7 +20992,7 @@ const _hoisted_12$2 = { class: "ml-2 flex items-end pb-1" };
20950
20992
  const _hoisted_13 = { class: "flex items-right" };
20951
20993
  const _hoisted_14 = { class: "flex-grow" };
20952
20994
  const _hoisted_15 = { class: "ml-2 flex items-end pb-1" };
20953
- const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
20995
+ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
20954
20996
  __name: "SubmissionWaitingDecision",
20955
20997
  setup(__props) {
20956
20998
  var _a, _b, _c;
@@ -21408,7 +21450,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
21408
21450
  vue.createCommentVNode(" DETAIL "),
21409
21451
  vue.createVNode(vue.unref(SubmissionDetailTab)),
21410
21452
  vue.createCommentVNode(" DOKUMEN "),
21411
- vue.createVNode(vue.unref(_sfc_main$i), {
21453
+ vue.createVNode(vue.unref(_sfc_main$m), {
21412
21454
  toolbar: "side",
21413
21455
  "is-readonly": vue.unref(values).status === "raised" || vue.unref(values).status === "delay" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
21414
21456
  }, null, 8, ["is-readonly"])
@@ -21423,7 +21465,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
21423
21465
  };
21424
21466
  }
21425
21467
  });
21426
- const SubmissionWaitingDecision = /* @__PURE__ */ _export_sfc$1(_sfc_main$c, [["__scopeId", "data-v-47c01aa0"]]);
21468
+ const SubmissionWaitingDecision = /* @__PURE__ */ _export_sfc$1(_sfc_main$g, [["__scopeId", "data-v-47c01aa0"]]);
21427
21469
  const _hoisted_1$3 = { class: "flex items-right" };
21428
21470
  const _hoisted_2$3 = { class: "flex-grow" };
21429
21471
  const _hoisted_3$2 = { class: "ml-2 flex items-end pb-1" };
@@ -21436,7 +21478,7 @@ const _hoisted_9$1 = { class: "ml-2 flex items-end pb-1" };
21436
21478
  const _hoisted_10$1 = { class: "flex items-right" };
21437
21479
  const _hoisted_11$1 = { class: "flex-grow" };
21438
21480
  const _hoisted_12$1 = { class: "ml-2 flex items-end pb-1" };
21439
- const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
21481
+ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
21440
21482
  __name: "SubmissionSupervisor",
21441
21483
  setup(__props) {
21442
21484
  const {
@@ -21716,7 +21758,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
21716
21758
  vue.createCommentVNode(" DETAIL "),
21717
21759
  vue.createVNode(vue.unref(SubmissionDetailTab)),
21718
21760
  vue.createCommentVNode(" DOKUMEN "),
21719
- vue.createVNode(vue.unref(_sfc_main$i), {
21761
+ vue.createVNode(vue.unref(_sfc_main$m), {
21720
21762
  toolbar: "side",
21721
21763
  "is-readonly": ""
21722
21764
  })
@@ -21731,8 +21773,8 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
21731
21773
  };
21732
21774
  }
21733
21775
  });
21734
- const SubmissionSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$b, [["__scopeId", "data-v-30824d31"]]);
21735
- const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
21776
+ const SubmissionSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$f, [["__scopeId", "data-v-30824d31"]]);
21777
+ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
21736
21778
  ...{
21737
21779
  name: "SubmissionCollection"
21738
21780
  },
@@ -21762,7 +21804,7 @@ const _hoisted_9 = { class: "ml-2 flex items-end pb-1" };
21762
21804
  const _hoisted_10 = { class: "flex items-right" };
21763
21805
  const _hoisted_11 = { class: "flex-grow" };
21764
21806
  const _hoisted_12 = { class: "ml-2 flex items-end pb-1" };
21765
- const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
21807
+ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
21766
21808
  __name: "SubmissionSingle",
21767
21809
  setup(__props) {
21768
21810
  const {
@@ -22051,7 +22093,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
22051
22093
  vue.createCommentVNode(" DETAIL "),
22052
22094
  vue.createVNode(vue.unref(SubmissionDetailTab)),
22053
22095
  vue.createCommentVNode(" DOKUMEN "),
22054
- vue.createVNode(vue.unref(_sfc_main$i), { toolbar: "side" })
22096
+ vue.createVNode(vue.unref(_sfc_main$m), { toolbar: "side" })
22055
22097
  ]),
22056
22098
  _: 1
22057
22099
  /* STABLE */
@@ -22063,8 +22105,8 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
22063
22105
  };
22064
22106
  }
22065
22107
  });
22066
- const SubmissionSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$9, [["__scopeId", "data-v-41554dfc"]]);
22067
- const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
22108
+ const SubmissionSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["__scopeId", "data-v-41554dfc"]]);
22109
+ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
22068
22110
  ...{
22069
22111
  name: "SubmissionTypeCollection"
22070
22112
  },
@@ -22082,7 +22124,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
22082
22124
  };
22083
22125
  }
22084
22126
  });
22085
- const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
22127
+ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
22086
22128
  __name: "SubmissionTypeSingle",
22087
22129
  setup(__props) {
22088
22130
  const {
@@ -22144,8 +22186,8 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
22144
22186
  };
22145
22187
  }
22146
22188
  });
22147
- const SubmissionTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$7, [["__scopeId", "data-v-e8147700"]]);
22148
- const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
22189
+ const SubmissionTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$b, [["__scopeId", "data-v-e8147700"]]);
22190
+ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
22149
22191
  __name: "TargetBranch",
22150
22192
  setup(__props) {
22151
22193
  const {
@@ -22306,8 +22348,8 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
22306
22348
  };
22307
22349
  }
22308
22350
  });
22309
- const TargetBranch = /* @__PURE__ */ _export_sfc$1(_sfc_main$6, [["__scopeId", "data-v-8b544d44"]]);
22310
- const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
22351
+ const TargetBranch = /* @__PURE__ */ _export_sfc$1(_sfc_main$a, [["__scopeId", "data-v-8b544d44"]]);
22352
+ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
22311
22353
  ...{
22312
22354
  name: "TargetCollection"
22313
22355
  },
@@ -22325,7 +22367,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
22325
22367
  };
22326
22368
  }
22327
22369
  });
22328
- const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
22370
+ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
22329
22371
  __name: "TargetSingle",
22330
22372
  setup(__props) {
22331
22373
  const {
@@ -22486,8 +22528,8 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
22486
22528
  };
22487
22529
  }
22488
22530
  });
22489
- const TargetSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["__scopeId", "data-v-a116ccbf"]]);
22490
- const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
22531
+ const TargetSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$8, [["__scopeId", "data-v-a116ccbf"]]);
22532
+ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
22491
22533
  __name: "TaskWork",
22492
22534
  setup(__props) {
22493
22535
  const {
@@ -22706,7 +22748,7 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
22706
22748
  };
22707
22749
  }
22708
22750
  });
22709
- const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
22751
+ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
22710
22752
  ...{ name: "TaskCollection" },
22711
22753
  __name: "TaskCollection",
22712
22754
  setup(__props) {
@@ -22726,7 +22768,7 @@ const _hoisted_1$1 = { class: "flex flex-wrap gap-2" };
22726
22768
  const _hoisted_2$1 = { class: "mt-2" };
22727
22769
  const _hoisted_3 = { class: "mt-2" };
22728
22770
  const _hoisted_4 = { class: "mt-2" };
22729
- const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
22771
+ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
22730
22772
  __name: "TaskSingle",
22731
22773
  setup(__props) {
22732
22774
  var _a;
@@ -23084,7 +23126,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
23084
23126
  });
23085
23127
  const _hoisted_1 = { key: 0 };
23086
23128
  const _hoisted_2 = { key: 1 };
23087
- const _sfc_main = /* @__PURE__ */ vue.defineComponent({
23129
+ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
23088
23130
  ...{ name: "TaskWorkButton" },
23089
23131
  __name: "TaskWorkButton",
23090
23132
  setup(__props) {
@@ -23187,74 +23229,422 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
23187
23229
  };
23188
23230
  }
23189
23231
  });
23232
+ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
23233
+ __name: "ShiftStaff",
23234
+ setup(__props) {
23235
+ const {
23236
+ fields,
23237
+ id,
23238
+ initialValues,
23239
+ values,
23240
+ isLoading,
23241
+ isChanged,
23242
+ isReady,
23243
+ isMain,
23244
+ isNew,
23245
+ syncOne,
23246
+ saveOne,
23247
+ discardChanges,
23248
+ executeOne
23249
+ } = context.useSingle();
23250
+ useOperasional();
23251
+ return (_ctx, _cache) => {
23252
+ return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-shift-single" }, {
23253
+ default: vue.withCtx(() => [
23254
+ vue.createVNode(vue.unref(office$1.OfficeTabs), { "use-url": vue.unref(isMain) }, {
23255
+ default: vue.withCtx(() => [
23256
+ vue.createVNode(vue.unref(office$1.OfficeTab), {
23257
+ handle: "info",
23258
+ icon: "circle-info",
23259
+ title: "Info"
23260
+ }, {
23261
+ default: vue.withCtx(() => [
23262
+ vue.createVNode(vue.unref(form.NeonForm), {
23263
+ handle: "info",
23264
+ "initial-values": vue.unref(initialValues),
23265
+ "is-loading": vue.unref(isLoading),
23266
+ "is-changed": vue.unref(isChanged),
23267
+ "use-unsaved": "",
23268
+ onCancel: vue.unref(discardChanges),
23269
+ onSubmit: vue.unref(saveOne)
23270
+ }, {
23271
+ default: vue.withCtx(() => [
23272
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
23273
+ modelValue: vue.unref(values).titleShift,
23274
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).titleShift = $event)
23275
+ }, vue.unref(fields).titleShift, { "is-disabled": "" }), null, 16, ["modelValue"]),
23276
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
23277
+ modelValue: vue.unref(values).expTime,
23278
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).expTime = $event)
23279
+ }, vue.unref(fields).expTime, { "is-disabled": "" }), null, 16, ["modelValue"]),
23280
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
23281
+ modelValue: vue.unref(values).disciplineAt,
23282
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).disciplineAt = $event)
23283
+ }, vue.unref(fields).disciplineAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
23284
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
23285
+ modelValue: vue.unref(values).disciplineEnd,
23286
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.unref(values).disciplineEnd = $event)
23287
+ }, vue.unref(fields).disciplineEnd, { "is-disabled": "" }), null, 16, ["modelValue"]),
23288
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
23289
+ modelValue: vue.unref(values).picketStaff,
23290
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).picketStaff = $event)
23291
+ }, vue.unref(fields).picketStaff, { "is-disabled": "" }), null, 16, ["modelValue"]),
23292
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
23293
+ modelValue: vue.unref(values).offsetTime,
23294
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(values).offsetTime = $event)
23295
+ }, vue.unref(fields).offsetTime, { "is-disabled": "" }), null, 16, ["modelValue"]),
23296
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
23297
+ modelValue: vue.unref(values).effortTime,
23298
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).effortTime = $event)
23299
+ }, vue.unref(fields).effortTime, { "is-disabled": "" }), null, 16, ["modelValue"])
23300
+ ]),
23301
+ _: 1
23302
+ /* STABLE */
23303
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
23304
+ ]),
23305
+ _: 1
23306
+ /* STABLE */
23307
+ })
23308
+ ]),
23309
+ _: 1
23310
+ /* STABLE */
23311
+ }, 8, ["use-url"])
23312
+ ]),
23313
+ _: 1
23314
+ /* STABLE */
23315
+ });
23316
+ };
23317
+ }
23318
+ });
23319
+ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
23320
+ __name: "ShiftAdministrator",
23321
+ setup(__props) {
23322
+ const {
23323
+ fields,
23324
+ id,
23325
+ initialValues,
23326
+ values,
23327
+ isLoading,
23328
+ isChanged,
23329
+ isReady,
23330
+ isMain,
23331
+ isNew,
23332
+ syncOne,
23333
+ saveOne,
23334
+ discardChanges,
23335
+ executeOne
23336
+ } = context.useSingle();
23337
+ useOperasional();
23338
+ return (_ctx, _cache) => {
23339
+ return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-shift-single" }, {
23340
+ default: vue.withCtx(() => [
23341
+ vue.createVNode(vue.unref(office$1.OfficeTabs), null, {
23342
+ default: vue.withCtx(() => [
23343
+ vue.createVNode(vue.unref(office$1.OfficeTab), {
23344
+ handle: "info",
23345
+ icon: "circle-info",
23346
+ title: "Info"
23347
+ }, {
23348
+ default: vue.withCtx(() => [
23349
+ vue.createVNode(vue.unref(form.NeonForm), {
23350
+ handle: "info",
23351
+ "initial-values": vue.unref(initialValues),
23352
+ "is-loading": vue.unref(isLoading),
23353
+ "is-changed": vue.unref(isChanged),
23354
+ "use-unsaved": "",
23355
+ onCancel: vue.unref(discardChanges),
23356
+ onSubmit: vue.unref(saveOne)
23357
+ }, {
23358
+ default: vue.withCtx(() => [
23359
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
23360
+ modelValue: vue.unref(values).titleShift,
23361
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).titleShift = $event)
23362
+ }, vue.unref(fields).titleShift), null, 16, ["modelValue"]),
23363
+ vue.createVNode(vue.unref(office$1.OfficeRelation), {
23364
+ modelValue: vue.unref(values),
23365
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(values) ? values.value = $event : null),
23366
+ field: vue.unref(fields).branch
23367
+ }, null, 8, ["modelValue", "field"]),
23368
+ vue.createVNode(vue.unref(office$1.OfficeRelation), {
23369
+ modelValue: vue.unref(values),
23370
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.isRef(values) ? values.value = $event : null),
23371
+ field: vue.unref(fields).shiftingStaff
23372
+ }, null, 8, ["modelValue", "field"]),
23373
+ vue.createVNode(vue.unref(office$1.OfficeRelation), {
23374
+ modelValue: vue.unref(values),
23375
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
23376
+ field: vue.unref(fields).building
23377
+ }, null, 8, ["modelValue", "field"]),
23378
+ vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-2" }, {
23379
+ default: vue.withCtx(() => [
23380
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
23381
+ modelValue: vue.unref(values).expPresent,
23382
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).expPresent = $event)
23383
+ }, vue.unref(fields).expPresent), null, 16, ["modelValue"]),
23384
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
23385
+ modelValue: vue.unref(values).expPresentEnd,
23386
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(values).expPresentEnd = $event)
23387
+ }, vue.unref(fields).expPresentEnd), null, 16, ["modelValue"])
23388
+ ]),
23389
+ _: 1
23390
+ /* STABLE */
23391
+ }),
23392
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
23393
+ modelValue: vue.unref(values).expTime,
23394
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).expTime = $event)
23395
+ }, vue.unref(fields).expTime, { "is-disabled": "" }), null, 16, ["modelValue"])
23396
+ ]),
23397
+ _: 1
23398
+ /* STABLE */
23399
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
23400
+ ]),
23401
+ _: 1
23402
+ /* STABLE */
23403
+ })
23404
+ ]),
23405
+ _: 1
23406
+ /* STABLE */
23407
+ })
23408
+ ]),
23409
+ _: 1
23410
+ /* STABLE */
23411
+ });
23412
+ };
23413
+ }
23414
+ });
23415
+ const ShiftAdministrator = /* @__PURE__ */ _export_sfc$1(_sfc_main$2, [["__scopeId", "data-v-1d4147cf"]]);
23416
+ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
23417
+ ...{
23418
+ name: "ShiftCollection"
23419
+ },
23420
+ __name: "ShiftCollection",
23421
+ props: {
23422
+ expPresentField: {
23423
+ type: String,
23424
+ default: "expPresent"
23425
+ },
23426
+ endedAtField: {
23427
+ type: String,
23428
+ default: "endedAt"
23429
+ },
23430
+ period: {
23431
+ type: Object,
23432
+ default: () => ({
23433
+ expPresent: /* @__PURE__ */ new Date(),
23434
+ endedAt: /* @__PURE__ */ new Date()
23435
+ })
23436
+ }
23437
+ },
23438
+ emits: ["update:period"],
23439
+ setup(__props, { emit: __emit }) {
23440
+ const { resource, display: display2, items, userQuery } = context.useCollection();
23441
+ const emit = __emit;
23442
+ function onCalendarPeriodUpdate(period) {
23443
+ console.log("calendar", period);
23444
+ emit("update:period", period);
23445
+ }
23446
+ return (_ctx, _cache) => {
23447
+ return vue.openBlock(), vue.createBlock(vue.unref(office$1.OfficeTabs), null, {
23448
+ default: vue.withCtx(() => [
23449
+ vue.createVNode(vue.unref(office$1.OfficeTab), {
23450
+ handle: "shift",
23451
+ icon: "circle-info",
23452
+ title: "Kehadiran"
23453
+ }, {
23454
+ default: vue.withCtx(() => [
23455
+ vue.createVNode(vue.unref(context.NeonCollection), { class: "neu-shift-collection" }, {
23456
+ default: vue.withCtx(() => [
23457
+ vue.unref(userQuery).display === "table" ? (vue.openBlock(), vue.createBlock(vue.unref(office$1.OfficeCollectionTable), { key: 0 })) : vue.unref(userQuery).display === "calendar" && __props.period.expPresent ? (vue.openBlock(), vue.createBlock(vue.unref(office$1.OfficeCollectionCalendar), {
23458
+ key: 1,
23459
+ "default-all-day": false,
23460
+ views: ["month"],
23461
+ period: __props.period,
23462
+ "onUpdate:period": onCalendarPeriodUpdate
23463
+ }, null, 8, ["period"])) : vue.createCommentVNode("v-if", true)
23464
+ ]),
23465
+ _: 1
23466
+ /* STABLE */
23467
+ })
23468
+ ]),
23469
+ _: 1
23470
+ /* STABLE */
23471
+ })
23472
+ ]),
23473
+ _: 1
23474
+ /* STABLE */
23475
+ });
23476
+ };
23477
+ }
23478
+ });
23479
+ const ShiftCollection = /* @__PURE__ */ _export_sfc$1(_sfc_main$1, [["__scopeId", "data-v-4adcb9e4"]]);
23480
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
23481
+ ...{ name: "OfficeSingleSync" },
23482
+ __name: "ShiftSingle",
23483
+ setup(__props) {
23484
+ const {
23485
+ id,
23486
+ fields,
23487
+ initialValues,
23488
+ values,
23489
+ isLoading,
23490
+ isChanged,
23491
+ isMain,
23492
+ saveOne,
23493
+ discardChanges,
23494
+ executeOne,
23495
+ syncOne
23496
+ } = context.useSingle();
23497
+ return (_ctx, _cache) => {
23498
+ return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-shift-single" }, {
23499
+ default: vue.withCtx(() => [
23500
+ vue.createVNode(vue.unref(office$1.OfficeTabs), null, {
23501
+ default: vue.withCtx(() => [
23502
+ vue.createVNode(vue.unref(office$1.OfficeTab), {
23503
+ handle: "info",
23504
+ icon: "circle-info",
23505
+ title: "Info"
23506
+ }, {
23507
+ default: vue.withCtx(() => [
23508
+ vue.createVNode(vue.unref(form.NeonForm), {
23509
+ handle: "info",
23510
+ "initial-values": vue.unref(initialValues),
23511
+ "is-loading": vue.unref(isLoading),
23512
+ "is-changed": vue.unref(isChanged),
23513
+ "use-unsaved": "",
23514
+ onCancel: vue.unref(discardChanges),
23515
+ onSubmit: vue.unref(saveOne)
23516
+ }, {
23517
+ default: vue.withCtx(() => [
23518
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
23519
+ modelValue: vue.unref(values).titleShift,
23520
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).titleShift = $event)
23521
+ }, vue.unref(fields).titleShift), null, 16, ["modelValue"]),
23522
+ vue.createVNode(vue.unref(office$1.OfficeRelation), {
23523
+ modelValue: vue.unref(values),
23524
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(values) ? values.value = $event : null),
23525
+ field: vue.unref(fields).branch
23526
+ }, null, 8, ["modelValue", "field"]),
23527
+ vue.createVNode(vue.unref(office$1.OfficeRelation), {
23528
+ modelValue: vue.unref(values),
23529
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.isRef(values) ? values.value = $event : null),
23530
+ field: vue.unref(fields).shiftingStaff
23531
+ }, null, 8, ["modelValue", "field"]),
23532
+ vue.createVNode(vue.unref(office$1.OfficeRelation), {
23533
+ modelValue: vue.unref(values),
23534
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
23535
+ field: vue.unref(fields).building
23536
+ }, null, 8, ["modelValue", "field"]),
23537
+ vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-2" }, {
23538
+ default: vue.withCtx(() => [
23539
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
23540
+ modelValue: vue.unref(values).expPresent,
23541
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).expPresent = $event)
23542
+ }, vue.unref(fields).expPresent), null, 16, ["modelValue"]),
23543
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
23544
+ modelValue: vue.unref(values).expPresentEnd,
23545
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(values).expPresentEnd = $event)
23546
+ }, vue.unref(fields).expPresentEnd), null, 16, ["modelValue"])
23547
+ ]),
23548
+ _: 1
23549
+ /* STABLE */
23550
+ }),
23551
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
23552
+ modelValue: vue.unref(values).expTime,
23553
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).expTime = $event)
23554
+ }, vue.unref(fields).expTime, { "is-disabled": "" }), null, 16, ["modelValue"])
23555
+ ]),
23556
+ _: 1
23557
+ /* STABLE */
23558
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
23559
+ ]),
23560
+ _: 1
23561
+ /* STABLE */
23562
+ })
23563
+ ]),
23564
+ _: 1
23565
+ /* STABLE */
23566
+ })
23567
+ ]),
23568
+ _: 1
23569
+ /* STABLE */
23570
+ });
23571
+ };
23572
+ }
23573
+ });
23574
+ const ShiftSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["__scopeId", "data-v-b175b466"]]);
23190
23575
  const all = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
23191
23576
  __proto__: null,
23192
- AttendanceCollection: _sfc_main$11,
23577
+ AttendanceCollection: _sfc_main$15,
23193
23578
  AttendanceManager,
23194
23579
  AttendanceSingle,
23195
23580
  AttendanceStaff,
23196
23581
  AttendanceSupervisor,
23197
23582
  CheckInAccess,
23198
- CheckInCollection: _sfc_main$R,
23583
+ CheckInCollection: _sfc_main$V,
23199
23584
  CheckInExternal,
23200
23585
  CheckInPresenceCollection,
23201
- CheckInScanError: _sfc_main$V,
23202
- CheckInScanSuccess: _sfc_main$T,
23586
+ CheckInScanError: _sfc_main$Z,
23587
+ CheckInScanSuccess: _sfc_main$X,
23203
23588
  CheckInScanner,
23204
23589
  CheckInSingle,
23205
23590
  CheckInSupervisor,
23206
23591
  NOperasional: operasional_types,
23207
23592
  NeonTime,
23593
+ OfficeSingleSync,
23208
23594
  OperasionalIdentitas,
23209
- PlanCollection: _sfc_main$O,
23595
+ PlanCollection: _sfc_main$S,
23210
23596
  PlanSingle,
23211
23597
  PlanStaff,
23212
- PlanTypeCollection: _sfc_main$M,
23598
+ PlanTypeCollection: _sfc_main$Q,
23213
23599
  PlanTypeSingle,
23214
- ProgressAccessCollection: _sfc_main$B,
23600
+ ProgressAccessCollection: _sfc_main$F,
23215
23601
  ProgressAccessSingle,
23216
23602
  ProgressAccessSupervisor,
23217
- ProgressButton: _sfc_main$E,
23603
+ ProgressButton: _sfc_main$I,
23218
23604
  ProgressCollection,
23219
23605
  ProgressNote,
23220
- ProgressNoteButton: _sfc_main$D,
23606
+ ProgressNoteButton: _sfc_main$H,
23221
23607
  ProgressSingle,
23222
23608
  ProgressTomorrow,
23223
23609
  ProgressYesterday,
23224
- ResponsibilityCollection: _sfc_main$x,
23610
+ ResponsibilityCollection: _sfc_main$B,
23225
23611
  ResponsibilitySingle,
23226
23612
  ResponsibilityStaff,
23227
23613
  ResponsibilitySupervisor,
23228
- ResponsibilityTypeCollection: _sfc_main$v,
23614
+ ResponsibilityTypeCollection: _sfc_main$z,
23229
23615
  ResponsibilityTypeSingle,
23230
- SituationCollection: _sfc_main$r,
23231
- SituationSingle: _sfc_main$q,
23232
- SituationSupportive: _sfc_main$s,
23233
- SituationTypeCollection: _sfc_main$p,
23234
- SituationTypeSingle: _sfc_main$o,
23235
- SituationWork: _sfc_main$t,
23616
+ ShiftAdministrator,
23617
+ ShiftCollection,
23618
+ ShiftSingle,
23619
+ ShiftStaff: _sfc_main$3,
23620
+ SituationCollection: _sfc_main$v,
23621
+ SituationSingle: _sfc_main$u,
23622
+ SituationSupportive: _sfc_main$w,
23623
+ SituationTypeCollection: _sfc_main$t,
23624
+ SituationTypeSingle: _sfc_main$s,
23625
+ SituationWork: _sfc_main$x,
23236
23626
  StaffAccess,
23237
- StaffCollection: _sfc_main$k,
23238
- StaffIdentity: _sfc_main$n,
23627
+ StaffCollection: _sfc_main$o,
23628
+ StaffIdentity: _sfc_main$r,
23239
23629
  StaffOperasional,
23240
23630
  StaffSingle,
23241
23631
  SubmissionAudit,
23242
- SubmissionCollection: _sfc_main$a,
23632
+ SubmissionCollection: _sfc_main$e,
23243
23633
  SubmissionDecision,
23244
23634
  SubmissionFollowUp,
23245
23635
  SubmissionSingle,
23246
23636
  SubmissionStaff,
23247
23637
  SubmissionSupervisor,
23248
- SubmissionTypeCollection: _sfc_main$8,
23638
+ SubmissionTypeCollection: _sfc_main$c,
23249
23639
  SubmissionTypeSingle,
23250
23640
  SubmissionWaitingDecision,
23251
23641
  TargetBranch,
23252
- TargetCollection: _sfc_main$5,
23642
+ TargetCollection: _sfc_main$9,
23253
23643
  TargetSingle,
23254
- TaskCollection: _sfc_main$2,
23255
- TaskSingle: _sfc_main$1,
23256
- TaskWork: _sfc_main$3,
23257
- TaskWorkButton: _sfc_main,
23644
+ TaskCollection: _sfc_main$6,
23645
+ TaskSingle: _sfc_main$5,
23646
+ TaskWork: _sfc_main$7,
23647
+ TaskWorkButton: _sfc_main$4,
23258
23648
  bus,
23259
23649
  useAttendanceStore,
23260
23650
  useOperasional,
@@ -23263,7 +23653,7 @@ const all = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
23263
23653
  }, Symbol.toStringTag, { value: "Module" }));
23264
23654
  const config = helpers.OfficeInterfaces.define({
23265
23655
  components: {
23266
- common: [],
23656
+ common: ["OfficeSingleSync"],
23267
23657
  models: {
23268
23658
  personalia: [
23269
23659
  // Attendance
@@ -23307,6 +23697,11 @@ const config = helpers.OfficeInterfaces.define({
23307
23697
  // Responsibility Type
23308
23698
  "ResponsibilityTypeCollection",
23309
23699
  "ResponsibilityTypeSingle",
23700
+ //Shift
23701
+ "ShiftCollection",
23702
+ "ShiftSingle",
23703
+ "ShiftStaff",
23704
+ "ShiftAdministrator",
23310
23705
  // Situation
23311
23706
  "SituationCollection",
23312
23707
  "SituationSingle",