@neutron.co.id/operasional-interfaces 1.12.1-beta.2 → 1.12.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.cjs CHANGED
@@ -20562,7 +20562,7 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
20562
20562
  discardChanges
20563
20563
  } = context.useSingle();
20564
20564
  vueRouter.useRoute();
20565
- const permit2 = context.usePermit();
20565
+ context.usePermit();
20566
20566
  const { staff } = useOperasional();
20567
20567
  const { coords } = core.useGeolocation();
20568
20568
  vue.watch(isNew, setDefaultValues, { immediate: true });
@@ -20626,11 +20626,7 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
20626
20626
  modelValue: vue.unref(values),
20627
20627
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
20628
20628
  field: vue.unref(fields).staff,
20629
- "is-disabled": !vue.unref(permit2).isAny([
20630
- "neu:cabangOperasional",
20631
- "neu:admin",
20632
- "neu:karyawan"
20633
- ])
20629
+ "is-disabled": vue.unref(values).type === "in" || vue.unref(values).type === "out" || vue.unref(values).type === "home" || vue.unref(values).type === "checkpoint"
20634
20630
  }, null, 8, ["modelValue", "field", "is-disabled"]),
20635
20631
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
20636
20632
  modelValue: vue.unref(values).note,
@@ -20655,7 +20651,7 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
20655
20651
  };
20656
20652
  }
20657
20653
  });
20658
- const CheckInExternal = /* @__PURE__ */ _export_sfc$1(_sfc_main$W, [["__scopeId", "data-v-a0ac19e7"]]);
20654
+ const CheckInExternal = /* @__PURE__ */ _export_sfc$1(_sfc_main$W, [["__scopeId", "data-v-44977e6b"]]);
20659
20655
  const _withScopeId$1 = (n) => (vue.pushScopeId("data-v-aaabd996"), n = n(), vue.popScopeId(), n);
20660
20656
  const _hoisted_1$h = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode(
20661
20657
  "h4",
@@ -23939,6 +23935,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
23939
23935
  const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
23940
23936
  __name: "ResponsibilitySingle",
23941
23937
  setup(__props) {
23938
+ var _a, _b;
23942
23939
  const {
23943
23940
  fields,
23944
23941
  id,
@@ -23965,13 +23962,13 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
23965
23962
  };
23966
23963
  });
23967
23964
  const branchOptions = vue.computed(() => {
23968
- var _a;
23965
+ var _a2;
23969
23966
  return {
23970
23967
  filter: [
23971
23968
  {
23972
23969
  handle: "_id",
23973
23970
  operator: "in",
23974
- value: (_a = staff.value) == null ? void 0 : _a.branchIds
23971
+ value: (_a2 = staff.value) == null ? void 0 : _a2.branchIds
23975
23972
  }
23976
23973
  ]
23977
23974
  };
@@ -23987,6 +23984,19 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
23987
23984
  ]
23988
23985
  };
23989
23986
  });
23987
+ const branchId = ((_a = staff.value) == null ? void 0 : _a.branchIds) || [];
23988
+ const branchDisplay = ((_b = staff.value) == null ? void 0 : _b.branches) || [];
23989
+ vue.watch(isNew, setInitialValues, { immediate: true });
23990
+ async function setInitialValues() {
23991
+ var _a2;
23992
+ if (!isNew.value)
23993
+ return;
23994
+ await promise.PromiseUtil.wait(1e3);
23995
+ if ((_a2 = staff.value) == null ? void 0 : _a2.branchIds) {
23996
+ values.value.branchIds = [branchId[0]];
23997
+ values.value.branches = [branchDisplay[0]];
23998
+ }
23999
+ }
23990
24000
  return (_ctx, _cache) => {
23991
24001
  return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-responsibility-single" }, {
23992
24002
  default: vue.withCtx(() => [
@@ -24112,7 +24122,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
24112
24122
  title: "Progress"
24113
24123
  }, {
24114
24124
  default: vue.withCtx(() => {
24115
- var _a;
24125
+ var _a2;
24116
24126
  return [
24117
24127
  vue.createVNode(vue.unref(office$1.OfficeCollectionRelated), {
24118
24128
  definition: "neu:personalia:progress",
@@ -24142,7 +24152,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
24142
24152
  "initial-values": {
24143
24153
  responsibilityIds: vue.unref(id),
24144
24154
  responsibilities: vue.unref(values),
24145
- staffIds: (_a = vue.unref(staff)) == null ? void 0 : _a.id,
24155
+ staffIds: (_a2 = vue.unref(staff)) == null ? void 0 : _a2.id,
24146
24156
  staffs: vue.unref(staff)
24147
24157
  }
24148
24158
  }, null, 8, ["query", "is-ready", "initial-values"])
@@ -24162,7 +24172,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
24162
24172
  };
24163
24173
  }
24164
24174
  });
24165
- const ResponsibilitySingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$v, [["__scopeId", "data-v-c8f2af1f"]]);
24175
+ const ResponsibilitySingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$v, [["__scopeId", "data-v-23c57dc8"]]);
24166
24176
  const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
24167
24177
  ...{
24168
24178
  name: "ResponsibilityTypeCollection"
@@ -25555,7 +25565,7 @@ const SubmissionDetailTab = /* @__PURE__ */ _export_sfc$1(_sfc_main$h, [["__scop
25555
25565
  const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
25556
25566
  __name: "SubmissionStaff",
25557
25567
  setup(__props) {
25558
- var _a;
25568
+ var _a, _b, _c;
25559
25569
  const {
25560
25570
  fields,
25561
25571
  id,
@@ -25629,20 +25639,30 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
25629
25639
  };
25630
25640
  });
25631
25641
  const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
25642
+ const branchIds = ((_b = staff.value) == null ? void 0 : _b.branchIds) || [];
25643
+ const branchDisplay = ((_c = staff.value) == null ? void 0 : _c.branches) || [];
25632
25644
  vue.watch(isNew, setDefaultValues, { immediate: true });
25633
25645
  async function setDefaultValues() {
25634
- var _a2;
25646
+ var _a2, _b2, _c2;
25635
25647
  if (!isNew.value)
25636
25648
  return;
25637
25649
  await promise.PromiseUtil.wait(500);
25638
25650
  const defaultValues = {
25639
25651
  submissionStaffIds: [staffId],
25640
25652
  submissionStaffs: [{ id: staffId, flag: (_a2 = staff.value) == null ? void 0 : _a2.flag }],
25653
+ branchIds: [branchIds[0]],
25654
+ branches: [branchDisplay[0]],
25641
25655
  preparedAt: (/* @__PURE__ */ new Date()).toISOString()
25642
25656
  };
25643
- values.value.submissionStaffIds = defaultValues.submissionStaffIds;
25644
- values.value.submissionStaffs = defaultValues.submissionStaffs;
25645
25657
  values.value.preparedAt = defaultValues.preparedAt;
25658
+ if ((_b2 = staff == null ? void 0 : staff.value) == null ? void 0 : _b2.id) {
25659
+ values.value.submissionStaffIds = defaultValues.submissionStaffIds;
25660
+ values.value.submissionStaffs = defaultValues.submissionStaffs;
25661
+ }
25662
+ if ((_c2 = staff == null ? void 0 : staff.value) == null ? void 0 : _c2.branchIds) {
25663
+ values.value.branchIds = defaultValues.branchIds;
25664
+ values.value.branches = defaultValues.branches;
25665
+ }
25646
25666
  }
25647
25667
  const syncRaise = async () => {
25648
25668
  var _a2;
@@ -25675,13 +25695,13 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
25675
25695
  default: vue.withCtx(() => [
25676
25696
  vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), { key: 0 }, {
25677
25697
  input: vue.withCtx(() => {
25678
- var _a2, _b;
25698
+ var _a2, _b2;
25679
25699
  return [
25680
25700
  vue.createVNode(vue.unref(interfaces.NeonButton), {
25681
25701
  size: "md",
25682
25702
  color: "dark",
25683
25703
  "icon-left": "arrow-up-from-line",
25684
- "is-disabled": vue.unref(isNew) || vue.unref(isChanged) || 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" || !vue.unref(values).agreedStaffs || !vue.unref(values).branches || !vue.unref(values).decideStaffs || !vue.unref(values).followUpStaffs || !vue.unref(values).raiseStaffs || !vue.unref(values).submissionStaffs || !vue.unref(values).title || !vue.unref(values).type || ((_b = vue.unref(values).hasRaiseStaffIds) == null ? void 0 : _b.includes(((_a2 = vue.unref(staff)) == null ? void 0 : _a2.id) || "")) ? true : false,
25704
+ "is-disabled": vue.unref(isNew) || vue.unref(isChanged) || 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" || !vue.unref(values).agreedStaffs || !vue.unref(values).branches || !vue.unref(values).decideStaffs || !vue.unref(values).followUpStaffs || !vue.unref(values).raiseStaffs || !vue.unref(values).submissionStaffs || !vue.unref(values).title || !vue.unref(values).type || ((_b2 = vue.unref(values).hasRaiseStaffIds) == null ? void 0 : _b2.includes(((_a2 = vue.unref(staff)) == null ? void 0 : _a2.id) || "")) ? true : false,
25685
25705
  onClick: syncRaise
25686
25706
  }, {
25687
25707
  default: vue.withCtx(() => [
@@ -25894,7 +25914,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
25894
25914
  };
25895
25915
  }
25896
25916
  });
25897
- const SubmissionStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$g, [["__scopeId", "data-v-10e7cda9"]]);
25917
+ const SubmissionStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$g, [["__scopeId", "data-v-e39fa184"]]);
25898
25918
  const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
25899
25919
  __name: "SubmissionFollowUp",
25900
25920
  setup(__props) {
package/build/index.mjs CHANGED
@@ -20560,7 +20560,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
20560
20560
  discardChanges
20561
20561
  } = useSingle();
20562
20562
  useRoute();
20563
- const permit = usePermit();
20563
+ usePermit();
20564
20564
  const { staff } = useOperasional();
20565
20565
  const { coords } = useGeolocation();
20566
20566
  watch(isNew, setDefaultValues, { immediate: true });
@@ -20624,11 +20624,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
20624
20624
  modelValue: unref(values),
20625
20625
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(values) ? values.value = $event : null),
20626
20626
  field: unref(fields).staff,
20627
- "is-disabled": !unref(permit).isAny([
20628
- "neu:cabangOperasional",
20629
- "neu:admin",
20630
- "neu:karyawan"
20631
- ])
20627
+ "is-disabled": unref(values).type === "in" || unref(values).type === "out" || unref(values).type === "home" || unref(values).type === "checkpoint"
20632
20628
  }, null, 8, ["modelValue", "field", "is-disabled"]),
20633
20629
  createVNode(unref(NeonField), mergeProps({
20634
20630
  modelValue: unref(values).note,
@@ -20653,7 +20649,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
20653
20649
  };
20654
20650
  }
20655
20651
  });
20656
- const CheckInExternal = /* @__PURE__ */ _export_sfc$1(_sfc_main$W, [["__scopeId", "data-v-a0ac19e7"]]);
20652
+ const CheckInExternal = /* @__PURE__ */ _export_sfc$1(_sfc_main$W, [["__scopeId", "data-v-44977e6b"]]);
20657
20653
  const _withScopeId$1 = (n) => (pushScopeId("data-v-aaabd996"), n = n(), popScopeId(), n);
20658
20654
  const _hoisted_1$h = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode(
20659
20655
  "h4",
@@ -23937,6 +23933,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
23937
23933
  const _sfc_main$v = /* @__PURE__ */ defineComponent({
23938
23934
  __name: "ResponsibilitySingle",
23939
23935
  setup(__props) {
23936
+ var _a, _b;
23940
23937
  const {
23941
23938
  fields,
23942
23939
  id,
@@ -23963,13 +23960,13 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
23963
23960
  };
23964
23961
  });
23965
23962
  const branchOptions = computed(() => {
23966
- var _a;
23963
+ var _a2;
23967
23964
  return {
23968
23965
  filter: [
23969
23966
  {
23970
23967
  handle: "_id",
23971
23968
  operator: "in",
23972
- value: (_a = staff.value) == null ? void 0 : _a.branchIds
23969
+ value: (_a2 = staff.value) == null ? void 0 : _a2.branchIds
23973
23970
  }
23974
23971
  ]
23975
23972
  };
@@ -23985,6 +23982,19 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
23985
23982
  ]
23986
23983
  };
23987
23984
  });
23985
+ const branchId = ((_a = staff.value) == null ? void 0 : _a.branchIds) || [];
23986
+ const branchDisplay = ((_b = staff.value) == null ? void 0 : _b.branches) || [];
23987
+ watch(isNew, setInitialValues, { immediate: true });
23988
+ async function setInitialValues() {
23989
+ var _a2;
23990
+ if (!isNew.value)
23991
+ return;
23992
+ await PromiseUtil.wait(1e3);
23993
+ if ((_a2 = staff.value) == null ? void 0 : _a2.branchIds) {
23994
+ values.value.branchIds = [branchId[0]];
23995
+ values.value.branches = [branchDisplay[0]];
23996
+ }
23997
+ }
23988
23998
  return (_ctx, _cache) => {
23989
23999
  return openBlock(), createBlock(unref(NeonSingle), { class: "neu-responsibility-single" }, {
23990
24000
  default: withCtx(() => [
@@ -24110,7 +24120,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
24110
24120
  title: "Progress"
24111
24121
  }, {
24112
24122
  default: withCtx(() => {
24113
- var _a;
24123
+ var _a2;
24114
24124
  return [
24115
24125
  createVNode(unref(OfficeCollectionRelated), {
24116
24126
  definition: "neu:personalia:progress",
@@ -24140,7 +24150,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
24140
24150
  "initial-values": {
24141
24151
  responsibilityIds: unref(id),
24142
24152
  responsibilities: unref(values),
24143
- staffIds: (_a = unref(staff)) == null ? void 0 : _a.id,
24153
+ staffIds: (_a2 = unref(staff)) == null ? void 0 : _a2.id,
24144
24154
  staffs: unref(staff)
24145
24155
  }
24146
24156
  }, null, 8, ["query", "is-ready", "initial-values"])
@@ -24160,7 +24170,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
24160
24170
  };
24161
24171
  }
24162
24172
  });
24163
- const ResponsibilitySingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$v, [["__scopeId", "data-v-c8f2af1f"]]);
24173
+ const ResponsibilitySingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$v, [["__scopeId", "data-v-23c57dc8"]]);
24164
24174
  const _sfc_main$u = /* @__PURE__ */ defineComponent({
24165
24175
  ...{
24166
24176
  name: "ResponsibilityTypeCollection"
@@ -25553,7 +25563,7 @@ const SubmissionDetailTab = /* @__PURE__ */ _export_sfc$1(_sfc_main$h, [["__scop
25553
25563
  const _sfc_main$g = /* @__PURE__ */ defineComponent({
25554
25564
  __name: "SubmissionStaff",
25555
25565
  setup(__props) {
25556
- var _a;
25566
+ var _a, _b, _c;
25557
25567
  const {
25558
25568
  fields,
25559
25569
  id,
@@ -25627,20 +25637,30 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
25627
25637
  };
25628
25638
  });
25629
25639
  const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
25640
+ const branchIds = ((_b = staff.value) == null ? void 0 : _b.branchIds) || [];
25641
+ const branchDisplay = ((_c = staff.value) == null ? void 0 : _c.branches) || [];
25630
25642
  watch(isNew, setDefaultValues, { immediate: true });
25631
25643
  async function setDefaultValues() {
25632
- var _a2;
25644
+ var _a2, _b2, _c2;
25633
25645
  if (!isNew.value)
25634
25646
  return;
25635
25647
  await PromiseUtil.wait(500);
25636
25648
  const defaultValues = {
25637
25649
  submissionStaffIds: [staffId],
25638
25650
  submissionStaffs: [{ id: staffId, flag: (_a2 = staff.value) == null ? void 0 : _a2.flag }],
25651
+ branchIds: [branchIds[0]],
25652
+ branches: [branchDisplay[0]],
25639
25653
  preparedAt: (/* @__PURE__ */ new Date()).toISOString()
25640
25654
  };
25641
- values.value.submissionStaffIds = defaultValues.submissionStaffIds;
25642
- values.value.submissionStaffs = defaultValues.submissionStaffs;
25643
25655
  values.value.preparedAt = defaultValues.preparedAt;
25656
+ if ((_b2 = staff == null ? void 0 : staff.value) == null ? void 0 : _b2.id) {
25657
+ values.value.submissionStaffIds = defaultValues.submissionStaffIds;
25658
+ values.value.submissionStaffs = defaultValues.submissionStaffs;
25659
+ }
25660
+ if ((_c2 = staff == null ? void 0 : staff.value) == null ? void 0 : _c2.branchIds) {
25661
+ values.value.branchIds = defaultValues.branchIds;
25662
+ values.value.branches = defaultValues.branches;
25663
+ }
25644
25664
  }
25645
25665
  const syncRaise = async () => {
25646
25666
  var _a2;
@@ -25673,13 +25693,13 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
25673
25693
  default: withCtx(() => [
25674
25694
  unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
25675
25695
  input: withCtx(() => {
25676
- var _a2, _b;
25696
+ var _a2, _b2;
25677
25697
  return [
25678
25698
  createVNode(unref(NeonButton), {
25679
25699
  size: "md",
25680
25700
  color: "dark",
25681
25701
  "icon-left": "arrow-up-from-line",
25682
- "is-disabled": unref(isNew) || unref(isChanged) || unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved" || !unref(values).agreedStaffs || !unref(values).branches || !unref(values).decideStaffs || !unref(values).followUpStaffs || !unref(values).raiseStaffs || !unref(values).submissionStaffs || !unref(values).title || !unref(values).type || ((_b = unref(values).hasRaiseStaffIds) == null ? void 0 : _b.includes(((_a2 = unref(staff)) == null ? void 0 : _a2.id) || "")) ? true : false,
25702
+ "is-disabled": unref(isNew) || unref(isChanged) || unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved" || !unref(values).agreedStaffs || !unref(values).branches || !unref(values).decideStaffs || !unref(values).followUpStaffs || !unref(values).raiseStaffs || !unref(values).submissionStaffs || !unref(values).title || !unref(values).type || ((_b2 = unref(values).hasRaiseStaffIds) == null ? void 0 : _b2.includes(((_a2 = unref(staff)) == null ? void 0 : _a2.id) || "")) ? true : false,
25683
25703
  onClick: syncRaise
25684
25704
  }, {
25685
25705
  default: withCtx(() => [
@@ -25892,7 +25912,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
25892
25912
  };
25893
25913
  }
25894
25914
  });
25895
- const SubmissionStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$g, [["__scopeId", "data-v-10e7cda9"]]);
25915
+ const SubmissionStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$g, [["__scopeId", "data-v-e39fa184"]]);
25896
25916
  const _sfc_main$f = /* @__PURE__ */ defineComponent({
25897
25917
  __name: "SubmissionFollowUp",
25898
25918
  setup(__props) {
@@ -20648,7 +20648,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue$1.defineComponent({
20648
20648
  discardChanges
20649
20649
  } = context.useSingle();
20650
20650
  vueRouter.useRoute();
20651
- const permit2 = context.usePermit();
20651
+ context.usePermit();
20652
20652
  const { staff } = useOperasional$1();
20653
20653
  const { coords } = core.useGeolocation();
20654
20654
  vue$1.watch(isNew, setDefaultValues, { immediate: true });
@@ -20712,11 +20712,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue$1.defineComponent({
20712
20712
  modelValue: vue$1.unref(values),
20713
20713
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue$1.isRef(values) ? values.value = $event : null),
20714
20714
  field: vue$1.unref(fields).staff,
20715
- "is-disabled": !vue$1.unref(permit2).isAny([
20716
- "neu:cabangOperasional",
20717
- "neu:admin",
20718
- "neu:karyawan"
20719
- ])
20715
+ "is-disabled": vue$1.unref(values).type === "in" || vue$1.unref(values).type === "out" || vue$1.unref(values).type === "home" || vue$1.unref(values).type === "checkpoint"
20720
20716
  }, null, 8, ["modelValue", "field", "is-disabled"]),
20721
20717
  vue$1.createVNode(vue$1.unref(form.NeonField), vue$1.mergeProps({
20722
20718
  modelValue: vue$1.unref(values).note,
@@ -20741,7 +20737,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue$1.defineComponent({
20741
20737
  };
20742
20738
  }
20743
20739
  });
20744
- const CheckInExternal = /* @__PURE__ */ _export_sfc$1(_sfc_main$Y, [["__scopeId", "data-v-a0ac19e7"]]);
20740
+ const CheckInExternal = /* @__PURE__ */ _export_sfc$1(_sfc_main$Y, [["__scopeId", "data-v-44977e6b"]]);
20745
20741
  const _withScopeId$1 = (n) => (vue$1.pushScopeId("data-v-aaabd996"), n = n(), vue$1.popScopeId(), n);
20746
20742
  const _hoisted_1$j = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue$1.createElementVNode(
20747
20743
  "h4",
@@ -24025,6 +24021,7 @@ const _sfc_main$x = /* @__PURE__ */ vue$1.defineComponent({
24025
24021
  const _sfc_main$w = /* @__PURE__ */ vue$1.defineComponent({
24026
24022
  __name: "ResponsibilitySingle",
24027
24023
  setup(__props) {
24024
+ var _a, _b;
24028
24025
  const {
24029
24026
  fields,
24030
24027
  id,
@@ -24051,13 +24048,13 @@ const _sfc_main$w = /* @__PURE__ */ vue$1.defineComponent({
24051
24048
  };
24052
24049
  });
24053
24050
  const branchOptions = vue$1.computed(() => {
24054
- var _a;
24051
+ var _a2;
24055
24052
  return {
24056
24053
  filter: [
24057
24054
  {
24058
24055
  handle: "_id",
24059
24056
  operator: "in",
24060
- value: (_a = staff.value) == null ? void 0 : _a.branchIds
24057
+ value: (_a2 = staff.value) == null ? void 0 : _a2.branchIds
24061
24058
  }
24062
24059
  ]
24063
24060
  };
@@ -24073,6 +24070,19 @@ const _sfc_main$w = /* @__PURE__ */ vue$1.defineComponent({
24073
24070
  ]
24074
24071
  };
24075
24072
  });
24073
+ const branchId = ((_a = staff.value) == null ? void 0 : _a.branchIds) || [];
24074
+ const branchDisplay = ((_b = staff.value) == null ? void 0 : _b.branches) || [];
24075
+ vue$1.watch(isNew, setInitialValues, { immediate: true });
24076
+ async function setInitialValues() {
24077
+ var _a2;
24078
+ if (!isNew.value)
24079
+ return;
24080
+ await promise.PromiseUtil.wait(1e3);
24081
+ if ((_a2 = staff.value) == null ? void 0 : _a2.branchIds) {
24082
+ values.value.branchIds = [branchId[0]];
24083
+ values.value.branches = [branchDisplay[0]];
24084
+ }
24085
+ }
24076
24086
  return (_ctx, _cache) => {
24077
24087
  return vue$1.openBlock(), vue$1.createBlock(vue$1.unref(context.NeonSingle), { class: "neu-responsibility-single" }, {
24078
24088
  default: vue$1.withCtx(() => [
@@ -24198,7 +24208,7 @@ const _sfc_main$w = /* @__PURE__ */ vue$1.defineComponent({
24198
24208
  title: "Progress"
24199
24209
  }, {
24200
24210
  default: vue$1.withCtx(() => {
24201
- var _a;
24211
+ var _a2;
24202
24212
  return [
24203
24213
  vue$1.createVNode(vue$1.unref(office$1.OfficeCollectionRelated), {
24204
24214
  definition: "neu:personalia:progress",
@@ -24228,7 +24238,7 @@ const _sfc_main$w = /* @__PURE__ */ vue$1.defineComponent({
24228
24238
  "initial-values": {
24229
24239
  responsibilityIds: vue$1.unref(id),
24230
24240
  responsibilities: vue$1.unref(values),
24231
- staffIds: (_a = vue$1.unref(staff)) == null ? void 0 : _a.id,
24241
+ staffIds: (_a2 = vue$1.unref(staff)) == null ? void 0 : _a2.id,
24232
24242
  staffs: vue$1.unref(staff)
24233
24243
  }
24234
24244
  }, null, 8, ["query", "is-ready", "initial-values"])
@@ -24248,7 +24258,7 @@ const _sfc_main$w = /* @__PURE__ */ vue$1.defineComponent({
24248
24258
  };
24249
24259
  }
24250
24260
  });
24251
- const ResponsibilitySingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$w, [["__scopeId", "data-v-c8f2af1f"]]);
24261
+ const ResponsibilitySingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$w, [["__scopeId", "data-v-23c57dc8"]]);
24252
24262
  const _sfc_main$v = /* @__PURE__ */ vue$1.defineComponent({
24253
24263
  ...{
24254
24264
  name: "ResponsibilityTypeCollection"
@@ -25641,7 +25651,7 @@ const SubmissionDetailTab = /* @__PURE__ */ _export_sfc$1(_sfc_main$i, [["__scop
25641
25651
  const _sfc_main$h = /* @__PURE__ */ vue$1.defineComponent({
25642
25652
  __name: "SubmissionStaff",
25643
25653
  setup(__props) {
25644
- var _a;
25654
+ var _a, _b, _c;
25645
25655
  const {
25646
25656
  fields,
25647
25657
  id,
@@ -25715,20 +25725,30 @@ const _sfc_main$h = /* @__PURE__ */ vue$1.defineComponent({
25715
25725
  };
25716
25726
  });
25717
25727
  const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
25728
+ const branchIds = ((_b = staff.value) == null ? void 0 : _b.branchIds) || [];
25729
+ const branchDisplay = ((_c = staff.value) == null ? void 0 : _c.branches) || [];
25718
25730
  vue$1.watch(isNew, setDefaultValues, { immediate: true });
25719
25731
  async function setDefaultValues() {
25720
- var _a2;
25732
+ var _a2, _b2, _c2;
25721
25733
  if (!isNew.value)
25722
25734
  return;
25723
25735
  await promise.PromiseUtil.wait(500);
25724
25736
  const defaultValues = {
25725
25737
  submissionStaffIds: [staffId],
25726
25738
  submissionStaffs: [{ id: staffId, flag: (_a2 = staff.value) == null ? void 0 : _a2.flag }],
25739
+ branchIds: [branchIds[0]],
25740
+ branches: [branchDisplay[0]],
25727
25741
  preparedAt: (/* @__PURE__ */ new Date()).toISOString()
25728
25742
  };
25729
- values.value.submissionStaffIds = defaultValues.submissionStaffIds;
25730
- values.value.submissionStaffs = defaultValues.submissionStaffs;
25731
25743
  values.value.preparedAt = defaultValues.preparedAt;
25744
+ if ((_b2 = staff == null ? void 0 : staff.value) == null ? void 0 : _b2.id) {
25745
+ values.value.submissionStaffIds = defaultValues.submissionStaffIds;
25746
+ values.value.submissionStaffs = defaultValues.submissionStaffs;
25747
+ }
25748
+ if ((_c2 = staff == null ? void 0 : staff.value) == null ? void 0 : _c2.branchIds) {
25749
+ values.value.branchIds = defaultValues.branchIds;
25750
+ values.value.branches = defaultValues.branches;
25751
+ }
25732
25752
  }
25733
25753
  const syncRaise = async () => {
25734
25754
  var _a2;
@@ -25761,13 +25781,13 @@ const _sfc_main$h = /* @__PURE__ */ vue$1.defineComponent({
25761
25781
  default: vue$1.withCtx(() => [
25762
25782
  vue$1.unref(isReady) ? (vue$1.openBlock(), vue$1.createBlock(vue$1.unref(form.NeonField), { key: 0 }, {
25763
25783
  input: vue$1.withCtx(() => {
25764
- var _a2, _b;
25784
+ var _a2, _b2;
25765
25785
  return [
25766
25786
  vue$1.createVNode(vue$1.unref(interfaces.NeonButton), {
25767
25787
  size: "md",
25768
25788
  color: "dark",
25769
25789
  "icon-left": "arrow-up-from-line",
25770
- "is-disabled": vue$1.unref(isNew) || vue$1.unref(isChanged) || vue$1.unref(values).status === "raised" || vue$1.unref(values).status === "processed" || vue$1.unref(values).status === "approved" || vue$1.unref(values).status === "monitored" || vue$1.unref(values).status === "discontinued" || vue$1.unref(values).status === "resolved" || !vue$1.unref(values).agreedStaffs || !vue$1.unref(values).branches || !vue$1.unref(values).decideStaffs || !vue$1.unref(values).followUpStaffs || !vue$1.unref(values).raiseStaffs || !vue$1.unref(values).submissionStaffs || !vue$1.unref(values).title || !vue$1.unref(values).type || ((_b = vue$1.unref(values).hasRaiseStaffIds) == null ? void 0 : _b.includes(((_a2 = vue$1.unref(staff)) == null ? void 0 : _a2.id) || "")) ? true : false,
25790
+ "is-disabled": vue$1.unref(isNew) || vue$1.unref(isChanged) || vue$1.unref(values).status === "raised" || vue$1.unref(values).status === "processed" || vue$1.unref(values).status === "approved" || vue$1.unref(values).status === "monitored" || vue$1.unref(values).status === "discontinued" || vue$1.unref(values).status === "resolved" || !vue$1.unref(values).agreedStaffs || !vue$1.unref(values).branches || !vue$1.unref(values).decideStaffs || !vue$1.unref(values).followUpStaffs || !vue$1.unref(values).raiseStaffs || !vue$1.unref(values).submissionStaffs || !vue$1.unref(values).title || !vue$1.unref(values).type || ((_b2 = vue$1.unref(values).hasRaiseStaffIds) == null ? void 0 : _b2.includes(((_a2 = vue$1.unref(staff)) == null ? void 0 : _a2.id) || "")) ? true : false,
25771
25791
  onClick: syncRaise
25772
25792
  }, {
25773
25793
  default: vue$1.withCtx(() => [
@@ -25980,7 +26000,7 @@ const _sfc_main$h = /* @__PURE__ */ vue$1.defineComponent({
25980
26000
  };
25981
26001
  }
25982
26002
  });
25983
- const SubmissionStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$h, [["__scopeId", "data-v-10e7cda9"]]);
26003
+ const SubmissionStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$h, [["__scopeId", "data-v-e39fa184"]]);
25984
26004
  const _sfc_main$g = /* @__PURE__ */ vue$1.defineComponent({
25985
26005
  __name: "SubmissionFollowUp",
25986
26006
  setup(__props) {
@@ -20646,7 +20646,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
20646
20646
  discardChanges
20647
20647
  } = useSingle();
20648
20648
  useRoute();
20649
- const permit = usePermit();
20649
+ usePermit();
20650
20650
  const { staff } = useOperasional$1();
20651
20651
  const { coords } = useGeolocation();
20652
20652
  watch(isNew, setDefaultValues, { immediate: true });
@@ -20710,11 +20710,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
20710
20710
  modelValue: unref(values),
20711
20711
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(values) ? values.value = $event : null),
20712
20712
  field: unref(fields).staff,
20713
- "is-disabled": !unref(permit).isAny([
20714
- "neu:cabangOperasional",
20715
- "neu:admin",
20716
- "neu:karyawan"
20717
- ])
20713
+ "is-disabled": unref(values).type === "in" || unref(values).type === "out" || unref(values).type === "home" || unref(values).type === "checkpoint"
20718
20714
  }, null, 8, ["modelValue", "field", "is-disabled"]),
20719
20715
  createVNode(unref(NeonField), mergeProps({
20720
20716
  modelValue: unref(values).note,
@@ -20739,7 +20735,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
20739
20735
  };
20740
20736
  }
20741
20737
  });
20742
- const CheckInExternal = /* @__PURE__ */ _export_sfc$1(_sfc_main$Y, [["__scopeId", "data-v-a0ac19e7"]]);
20738
+ const CheckInExternal = /* @__PURE__ */ _export_sfc$1(_sfc_main$Y, [["__scopeId", "data-v-44977e6b"]]);
20743
20739
  const _withScopeId$1 = (n) => (pushScopeId("data-v-aaabd996"), n = n(), popScopeId(), n);
20744
20740
  const _hoisted_1$j = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode(
20745
20741
  "h4",
@@ -24023,6 +24019,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
24023
24019
  const _sfc_main$w = /* @__PURE__ */ defineComponent({
24024
24020
  __name: "ResponsibilitySingle",
24025
24021
  setup(__props) {
24022
+ var _a, _b;
24026
24023
  const {
24027
24024
  fields,
24028
24025
  id,
@@ -24049,13 +24046,13 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
24049
24046
  };
24050
24047
  });
24051
24048
  const branchOptions = computed(() => {
24052
- var _a;
24049
+ var _a2;
24053
24050
  return {
24054
24051
  filter: [
24055
24052
  {
24056
24053
  handle: "_id",
24057
24054
  operator: "in",
24058
- value: (_a = staff.value) == null ? void 0 : _a.branchIds
24055
+ value: (_a2 = staff.value) == null ? void 0 : _a2.branchIds
24059
24056
  }
24060
24057
  ]
24061
24058
  };
@@ -24071,6 +24068,19 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
24071
24068
  ]
24072
24069
  };
24073
24070
  });
24071
+ const branchId = ((_a = staff.value) == null ? void 0 : _a.branchIds) || [];
24072
+ const branchDisplay = ((_b = staff.value) == null ? void 0 : _b.branches) || [];
24073
+ watch(isNew, setInitialValues, { immediate: true });
24074
+ async function setInitialValues() {
24075
+ var _a2;
24076
+ if (!isNew.value)
24077
+ return;
24078
+ await PromiseUtil.wait(1e3);
24079
+ if ((_a2 = staff.value) == null ? void 0 : _a2.branchIds) {
24080
+ values.value.branchIds = [branchId[0]];
24081
+ values.value.branches = [branchDisplay[0]];
24082
+ }
24083
+ }
24074
24084
  return (_ctx, _cache) => {
24075
24085
  return openBlock(), createBlock(unref(NeonSingle), { class: "neu-responsibility-single" }, {
24076
24086
  default: withCtx(() => [
@@ -24196,7 +24206,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
24196
24206
  title: "Progress"
24197
24207
  }, {
24198
24208
  default: withCtx(() => {
24199
- var _a;
24209
+ var _a2;
24200
24210
  return [
24201
24211
  createVNode(unref(OfficeCollectionRelated), {
24202
24212
  definition: "neu:personalia:progress",
@@ -24226,7 +24236,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
24226
24236
  "initial-values": {
24227
24237
  responsibilityIds: unref(id),
24228
24238
  responsibilities: unref(values),
24229
- staffIds: (_a = unref(staff)) == null ? void 0 : _a.id,
24239
+ staffIds: (_a2 = unref(staff)) == null ? void 0 : _a2.id,
24230
24240
  staffs: unref(staff)
24231
24241
  }
24232
24242
  }, null, 8, ["query", "is-ready", "initial-values"])
@@ -24246,7 +24256,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
24246
24256
  };
24247
24257
  }
24248
24258
  });
24249
- const ResponsibilitySingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$w, [["__scopeId", "data-v-c8f2af1f"]]);
24259
+ const ResponsibilitySingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$w, [["__scopeId", "data-v-23c57dc8"]]);
24250
24260
  const _sfc_main$v = /* @__PURE__ */ defineComponent({
24251
24261
  ...{
24252
24262
  name: "ResponsibilityTypeCollection"
@@ -25639,7 +25649,7 @@ const SubmissionDetailTab = /* @__PURE__ */ _export_sfc$1(_sfc_main$i, [["__scop
25639
25649
  const _sfc_main$h = /* @__PURE__ */ defineComponent({
25640
25650
  __name: "SubmissionStaff",
25641
25651
  setup(__props) {
25642
- var _a;
25652
+ var _a, _b, _c;
25643
25653
  const {
25644
25654
  fields,
25645
25655
  id,
@@ -25713,20 +25723,30 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
25713
25723
  };
25714
25724
  });
25715
25725
  const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
25726
+ const branchIds = ((_b = staff.value) == null ? void 0 : _b.branchIds) || [];
25727
+ const branchDisplay = ((_c = staff.value) == null ? void 0 : _c.branches) || [];
25716
25728
  watch(isNew, setDefaultValues, { immediate: true });
25717
25729
  async function setDefaultValues() {
25718
- var _a2;
25730
+ var _a2, _b2, _c2;
25719
25731
  if (!isNew.value)
25720
25732
  return;
25721
25733
  await PromiseUtil.wait(500);
25722
25734
  const defaultValues = {
25723
25735
  submissionStaffIds: [staffId],
25724
25736
  submissionStaffs: [{ id: staffId, flag: (_a2 = staff.value) == null ? void 0 : _a2.flag }],
25737
+ branchIds: [branchIds[0]],
25738
+ branches: [branchDisplay[0]],
25725
25739
  preparedAt: (/* @__PURE__ */ new Date()).toISOString()
25726
25740
  };
25727
- values.value.submissionStaffIds = defaultValues.submissionStaffIds;
25728
- values.value.submissionStaffs = defaultValues.submissionStaffs;
25729
25741
  values.value.preparedAt = defaultValues.preparedAt;
25742
+ if ((_b2 = staff == null ? void 0 : staff.value) == null ? void 0 : _b2.id) {
25743
+ values.value.submissionStaffIds = defaultValues.submissionStaffIds;
25744
+ values.value.submissionStaffs = defaultValues.submissionStaffs;
25745
+ }
25746
+ if ((_c2 = staff == null ? void 0 : staff.value) == null ? void 0 : _c2.branchIds) {
25747
+ values.value.branchIds = defaultValues.branchIds;
25748
+ values.value.branches = defaultValues.branches;
25749
+ }
25730
25750
  }
25731
25751
  const syncRaise = async () => {
25732
25752
  var _a2;
@@ -25759,13 +25779,13 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
25759
25779
  default: withCtx(() => [
25760
25780
  unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
25761
25781
  input: withCtx(() => {
25762
- var _a2, _b;
25782
+ var _a2, _b2;
25763
25783
  return [
25764
25784
  createVNode(unref(NeonButton), {
25765
25785
  size: "md",
25766
25786
  color: "dark",
25767
25787
  "icon-left": "arrow-up-from-line",
25768
- "is-disabled": unref(isNew) || unref(isChanged) || unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved" || !unref(values).agreedStaffs || !unref(values).branches || !unref(values).decideStaffs || !unref(values).followUpStaffs || !unref(values).raiseStaffs || !unref(values).submissionStaffs || !unref(values).title || !unref(values).type || ((_b = unref(values).hasRaiseStaffIds) == null ? void 0 : _b.includes(((_a2 = unref(staff)) == null ? void 0 : _a2.id) || "")) ? true : false,
25788
+ "is-disabled": unref(isNew) || unref(isChanged) || unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved" || !unref(values).agreedStaffs || !unref(values).branches || !unref(values).decideStaffs || !unref(values).followUpStaffs || !unref(values).raiseStaffs || !unref(values).submissionStaffs || !unref(values).title || !unref(values).type || ((_b2 = unref(values).hasRaiseStaffIds) == null ? void 0 : _b2.includes(((_a2 = unref(staff)) == null ? void 0 : _a2.id) || "")) ? true : false,
25769
25789
  onClick: syncRaise
25770
25790
  }, {
25771
25791
  default: withCtx(() => [
@@ -25978,7 +25998,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
25978
25998
  };
25979
25999
  }
25980
26000
  });
25981
- const SubmissionStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$h, [["__scopeId", "data-v-10e7cda9"]]);
26001
+ const SubmissionStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$h, [["__scopeId", "data-v-e39fa184"]]);
25982
26002
  const _sfc_main$g = /* @__PURE__ */ defineComponent({
25983
26003
  __name: "SubmissionFollowUp",
25984
26004
  setup(__props) {
@@ -148,7 +148,7 @@
148
148
  padding-bottom: 0.5rem
149
149
  }
150
150
 
151
- .neu-checkIn-single[data-v-a0ac19e7] {
151
+ .neu-checkIn-single[data-v-44977e6b] {
152
152
  display: block
153
153
  }
154
154
 
@@ -313,7 +313,7 @@
313
313
  display: block
314
314
  }
315
315
 
316
- .neu-responsibility-single[data-v-c8f2af1f] {
316
+ .neu-responsibility-single[data-v-23c57dc8] {
317
317
  display: block
318
318
  }
319
319
 
@@ -333,7 +333,7 @@
333
333
  display: block
334
334
  }
335
335
 
336
- .neu-submission-single[data-v-10e7cda9] {
336
+ .neu-submission-single[data-v-e39fa184] {
337
337
  display: block
338
338
  }
339
339
 
package/build/module.json CHANGED
@@ -4,5 +4,5 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "1.12.1-beta.2"
7
+ "version": "1.12.2"
8
8
  }
package/build/nuxt.json CHANGED
@@ -4,5 +4,5 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "1.12.1-beta.2"
7
+ "version": "1.12.2"
8
8
  }
@@ -20562,7 +20562,7 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
20562
20562
  discardChanges
20563
20563
  } = context.useSingle();
20564
20564
  vueRouter.useRoute();
20565
- const permit2 = context.usePermit();
20565
+ context.usePermit();
20566
20566
  const { staff } = useOperasional();
20567
20567
  const { coords } = core.useGeolocation();
20568
20568
  vue.watch(isNew, setDefaultValues, { immediate: true });
@@ -20626,11 +20626,7 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
20626
20626
  modelValue: vue.unref(values),
20627
20627
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
20628
20628
  field: vue.unref(fields).staff,
20629
- "is-disabled": !vue.unref(permit2).isAny([
20630
- "neu:cabangOperasional",
20631
- "neu:admin",
20632
- "neu:karyawan"
20633
- ])
20629
+ "is-disabled": vue.unref(values).type === "in" || vue.unref(values).type === "out" || vue.unref(values).type === "home" || vue.unref(values).type === "checkpoint"
20634
20630
  }, null, 8, ["modelValue", "field", "is-disabled"]),
20635
20631
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
20636
20632
  modelValue: vue.unref(values).note,
@@ -20655,7 +20651,7 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
20655
20651
  };
20656
20652
  }
20657
20653
  });
20658
- const CheckInExternal = /* @__PURE__ */ _export_sfc$1(_sfc_main$W, [["__scopeId", "data-v-a0ac19e7"]]);
20654
+ const CheckInExternal = /* @__PURE__ */ _export_sfc$1(_sfc_main$W, [["__scopeId", "data-v-44977e6b"]]);
20659
20655
  const _withScopeId$1 = (n) => (vue.pushScopeId("data-v-aaabd996"), n = n(), vue.popScopeId(), n);
20660
20656
  const _hoisted_1$h = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode(
20661
20657
  "h4",
@@ -23939,6 +23935,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
23939
23935
  const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
23940
23936
  __name: "ResponsibilitySingle",
23941
23937
  setup(__props) {
23938
+ var _a, _b;
23942
23939
  const {
23943
23940
  fields,
23944
23941
  id,
@@ -23965,13 +23962,13 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
23965
23962
  };
23966
23963
  });
23967
23964
  const branchOptions = vue.computed(() => {
23968
- var _a;
23965
+ var _a2;
23969
23966
  return {
23970
23967
  filter: [
23971
23968
  {
23972
23969
  handle: "_id",
23973
23970
  operator: "in",
23974
- value: (_a = staff.value) == null ? void 0 : _a.branchIds
23971
+ value: (_a2 = staff.value) == null ? void 0 : _a2.branchIds
23975
23972
  }
23976
23973
  ]
23977
23974
  };
@@ -23987,6 +23984,19 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
23987
23984
  ]
23988
23985
  };
23989
23986
  });
23987
+ const branchId = ((_a = staff.value) == null ? void 0 : _a.branchIds) || [];
23988
+ const branchDisplay = ((_b = staff.value) == null ? void 0 : _b.branches) || [];
23989
+ vue.watch(isNew, setInitialValues, { immediate: true });
23990
+ async function setInitialValues() {
23991
+ var _a2;
23992
+ if (!isNew.value)
23993
+ return;
23994
+ await promise.PromiseUtil.wait(1e3);
23995
+ if ((_a2 = staff.value) == null ? void 0 : _a2.branchIds) {
23996
+ values.value.branchIds = [branchId[0]];
23997
+ values.value.branches = [branchDisplay[0]];
23998
+ }
23999
+ }
23990
24000
  return (_ctx, _cache) => {
23991
24001
  return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-responsibility-single" }, {
23992
24002
  default: vue.withCtx(() => [
@@ -24112,7 +24122,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
24112
24122
  title: "Progress"
24113
24123
  }, {
24114
24124
  default: vue.withCtx(() => {
24115
- var _a;
24125
+ var _a2;
24116
24126
  return [
24117
24127
  vue.createVNode(vue.unref(office$1.OfficeCollectionRelated), {
24118
24128
  definition: "neu:personalia:progress",
@@ -24142,7 +24152,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
24142
24152
  "initial-values": {
24143
24153
  responsibilityIds: vue.unref(id),
24144
24154
  responsibilities: vue.unref(values),
24145
- staffIds: (_a = vue.unref(staff)) == null ? void 0 : _a.id,
24155
+ staffIds: (_a2 = vue.unref(staff)) == null ? void 0 : _a2.id,
24146
24156
  staffs: vue.unref(staff)
24147
24157
  }
24148
24158
  }, null, 8, ["query", "is-ready", "initial-values"])
@@ -24162,7 +24172,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
24162
24172
  };
24163
24173
  }
24164
24174
  });
24165
- const ResponsibilitySingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$v, [["__scopeId", "data-v-c8f2af1f"]]);
24175
+ const ResponsibilitySingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$v, [["__scopeId", "data-v-23c57dc8"]]);
24166
24176
  const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
24167
24177
  ...{
24168
24178
  name: "ResponsibilityTypeCollection"
@@ -25555,7 +25565,7 @@ const SubmissionDetailTab = /* @__PURE__ */ _export_sfc$1(_sfc_main$h, [["__scop
25555
25565
  const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
25556
25566
  __name: "SubmissionStaff",
25557
25567
  setup(__props) {
25558
- var _a;
25568
+ var _a, _b, _c;
25559
25569
  const {
25560
25570
  fields,
25561
25571
  id,
@@ -25629,20 +25639,30 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
25629
25639
  };
25630
25640
  });
25631
25641
  const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
25642
+ const branchIds = ((_b = staff.value) == null ? void 0 : _b.branchIds) || [];
25643
+ const branchDisplay = ((_c = staff.value) == null ? void 0 : _c.branches) || [];
25632
25644
  vue.watch(isNew, setDefaultValues, { immediate: true });
25633
25645
  async function setDefaultValues() {
25634
- var _a2;
25646
+ var _a2, _b2, _c2;
25635
25647
  if (!isNew.value)
25636
25648
  return;
25637
25649
  await promise.PromiseUtil.wait(500);
25638
25650
  const defaultValues = {
25639
25651
  submissionStaffIds: [staffId],
25640
25652
  submissionStaffs: [{ id: staffId, flag: (_a2 = staff.value) == null ? void 0 : _a2.flag }],
25653
+ branchIds: [branchIds[0]],
25654
+ branches: [branchDisplay[0]],
25641
25655
  preparedAt: (/* @__PURE__ */ new Date()).toISOString()
25642
25656
  };
25643
- values.value.submissionStaffIds = defaultValues.submissionStaffIds;
25644
- values.value.submissionStaffs = defaultValues.submissionStaffs;
25645
25657
  values.value.preparedAt = defaultValues.preparedAt;
25658
+ if ((_b2 = staff == null ? void 0 : staff.value) == null ? void 0 : _b2.id) {
25659
+ values.value.submissionStaffIds = defaultValues.submissionStaffIds;
25660
+ values.value.submissionStaffs = defaultValues.submissionStaffs;
25661
+ }
25662
+ if ((_c2 = staff == null ? void 0 : staff.value) == null ? void 0 : _c2.branchIds) {
25663
+ values.value.branchIds = defaultValues.branchIds;
25664
+ values.value.branches = defaultValues.branches;
25665
+ }
25646
25666
  }
25647
25667
  const syncRaise = async () => {
25648
25668
  var _a2;
@@ -25675,13 +25695,13 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
25675
25695
  default: vue.withCtx(() => [
25676
25696
  vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), { key: 0 }, {
25677
25697
  input: vue.withCtx(() => {
25678
- var _a2, _b;
25698
+ var _a2, _b2;
25679
25699
  return [
25680
25700
  vue.createVNode(vue.unref(interfaces.NeonButton), {
25681
25701
  size: "md",
25682
25702
  color: "dark",
25683
25703
  "icon-left": "arrow-up-from-line",
25684
- "is-disabled": vue.unref(isNew) || vue.unref(isChanged) || 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" || !vue.unref(values).agreedStaffs || !vue.unref(values).branches || !vue.unref(values).decideStaffs || !vue.unref(values).followUpStaffs || !vue.unref(values).raiseStaffs || !vue.unref(values).submissionStaffs || !vue.unref(values).title || !vue.unref(values).type || ((_b = vue.unref(values).hasRaiseStaffIds) == null ? void 0 : _b.includes(((_a2 = vue.unref(staff)) == null ? void 0 : _a2.id) || "")) ? true : false,
25704
+ "is-disabled": vue.unref(isNew) || vue.unref(isChanged) || 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" || !vue.unref(values).agreedStaffs || !vue.unref(values).branches || !vue.unref(values).decideStaffs || !vue.unref(values).followUpStaffs || !vue.unref(values).raiseStaffs || !vue.unref(values).submissionStaffs || !vue.unref(values).title || !vue.unref(values).type || ((_b2 = vue.unref(values).hasRaiseStaffIds) == null ? void 0 : _b2.includes(((_a2 = vue.unref(staff)) == null ? void 0 : _a2.id) || "")) ? true : false,
25685
25705
  onClick: syncRaise
25686
25706
  }, {
25687
25707
  default: vue.withCtx(() => [
@@ -25894,7 +25914,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
25894
25914
  };
25895
25915
  }
25896
25916
  });
25897
- const SubmissionStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$g, [["__scopeId", "data-v-10e7cda9"]]);
25917
+ const SubmissionStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$g, [["__scopeId", "data-v-e39fa184"]]);
25898
25918
  const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
25899
25919
  __name: "SubmissionFollowUp",
25900
25920
  setup(__props) {
@@ -20560,7 +20560,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
20560
20560
  discardChanges
20561
20561
  } = useSingle();
20562
20562
  useRoute();
20563
- const permit = usePermit();
20563
+ usePermit();
20564
20564
  const { staff } = useOperasional();
20565
20565
  const { coords } = useGeolocation();
20566
20566
  watch(isNew, setDefaultValues, { immediate: true });
@@ -20624,11 +20624,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
20624
20624
  modelValue: unref(values),
20625
20625
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(values) ? values.value = $event : null),
20626
20626
  field: unref(fields).staff,
20627
- "is-disabled": !unref(permit).isAny([
20628
- "neu:cabangOperasional",
20629
- "neu:admin",
20630
- "neu:karyawan"
20631
- ])
20627
+ "is-disabled": unref(values).type === "in" || unref(values).type === "out" || unref(values).type === "home" || unref(values).type === "checkpoint"
20632
20628
  }, null, 8, ["modelValue", "field", "is-disabled"]),
20633
20629
  createVNode(unref(NeonField), mergeProps({
20634
20630
  modelValue: unref(values).note,
@@ -20653,7 +20649,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
20653
20649
  };
20654
20650
  }
20655
20651
  });
20656
- const CheckInExternal = /* @__PURE__ */ _export_sfc$1(_sfc_main$W, [["__scopeId", "data-v-a0ac19e7"]]);
20652
+ const CheckInExternal = /* @__PURE__ */ _export_sfc$1(_sfc_main$W, [["__scopeId", "data-v-44977e6b"]]);
20657
20653
  const _withScopeId$1 = (n) => (pushScopeId("data-v-aaabd996"), n = n(), popScopeId(), n);
20658
20654
  const _hoisted_1$h = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode(
20659
20655
  "h4",
@@ -23937,6 +23933,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
23937
23933
  const _sfc_main$v = /* @__PURE__ */ defineComponent({
23938
23934
  __name: "ResponsibilitySingle",
23939
23935
  setup(__props) {
23936
+ var _a, _b;
23940
23937
  const {
23941
23938
  fields,
23942
23939
  id,
@@ -23963,13 +23960,13 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
23963
23960
  };
23964
23961
  });
23965
23962
  const branchOptions = computed(() => {
23966
- var _a;
23963
+ var _a2;
23967
23964
  return {
23968
23965
  filter: [
23969
23966
  {
23970
23967
  handle: "_id",
23971
23968
  operator: "in",
23972
- value: (_a = staff.value) == null ? void 0 : _a.branchIds
23969
+ value: (_a2 = staff.value) == null ? void 0 : _a2.branchIds
23973
23970
  }
23974
23971
  ]
23975
23972
  };
@@ -23985,6 +23982,19 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
23985
23982
  ]
23986
23983
  };
23987
23984
  });
23985
+ const branchId = ((_a = staff.value) == null ? void 0 : _a.branchIds) || [];
23986
+ const branchDisplay = ((_b = staff.value) == null ? void 0 : _b.branches) || [];
23987
+ watch(isNew, setInitialValues, { immediate: true });
23988
+ async function setInitialValues() {
23989
+ var _a2;
23990
+ if (!isNew.value)
23991
+ return;
23992
+ await PromiseUtil.wait(1e3);
23993
+ if ((_a2 = staff.value) == null ? void 0 : _a2.branchIds) {
23994
+ values.value.branchIds = [branchId[0]];
23995
+ values.value.branches = [branchDisplay[0]];
23996
+ }
23997
+ }
23988
23998
  return (_ctx, _cache) => {
23989
23999
  return openBlock(), createBlock(unref(NeonSingle), { class: "neu-responsibility-single" }, {
23990
24000
  default: withCtx(() => [
@@ -24110,7 +24120,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
24110
24120
  title: "Progress"
24111
24121
  }, {
24112
24122
  default: withCtx(() => {
24113
- var _a;
24123
+ var _a2;
24114
24124
  return [
24115
24125
  createVNode(unref(OfficeCollectionRelated), {
24116
24126
  definition: "neu:personalia:progress",
@@ -24140,7 +24150,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
24140
24150
  "initial-values": {
24141
24151
  responsibilityIds: unref(id),
24142
24152
  responsibilities: unref(values),
24143
- staffIds: (_a = unref(staff)) == null ? void 0 : _a.id,
24153
+ staffIds: (_a2 = unref(staff)) == null ? void 0 : _a2.id,
24144
24154
  staffs: unref(staff)
24145
24155
  }
24146
24156
  }, null, 8, ["query", "is-ready", "initial-values"])
@@ -24160,7 +24170,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
24160
24170
  };
24161
24171
  }
24162
24172
  });
24163
- const ResponsibilitySingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$v, [["__scopeId", "data-v-c8f2af1f"]]);
24173
+ const ResponsibilitySingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$v, [["__scopeId", "data-v-23c57dc8"]]);
24164
24174
  const _sfc_main$u = /* @__PURE__ */ defineComponent({
24165
24175
  ...{
24166
24176
  name: "ResponsibilityTypeCollection"
@@ -25553,7 +25563,7 @@ const SubmissionDetailTab = /* @__PURE__ */ _export_sfc$1(_sfc_main$h, [["__scop
25553
25563
  const _sfc_main$g = /* @__PURE__ */ defineComponent({
25554
25564
  __name: "SubmissionStaff",
25555
25565
  setup(__props) {
25556
- var _a;
25566
+ var _a, _b, _c;
25557
25567
  const {
25558
25568
  fields,
25559
25569
  id,
@@ -25627,20 +25637,30 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
25627
25637
  };
25628
25638
  });
25629
25639
  const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
25640
+ const branchIds = ((_b = staff.value) == null ? void 0 : _b.branchIds) || [];
25641
+ const branchDisplay = ((_c = staff.value) == null ? void 0 : _c.branches) || [];
25630
25642
  watch(isNew, setDefaultValues, { immediate: true });
25631
25643
  async function setDefaultValues() {
25632
- var _a2;
25644
+ var _a2, _b2, _c2;
25633
25645
  if (!isNew.value)
25634
25646
  return;
25635
25647
  await PromiseUtil.wait(500);
25636
25648
  const defaultValues = {
25637
25649
  submissionStaffIds: [staffId],
25638
25650
  submissionStaffs: [{ id: staffId, flag: (_a2 = staff.value) == null ? void 0 : _a2.flag }],
25651
+ branchIds: [branchIds[0]],
25652
+ branches: [branchDisplay[0]],
25639
25653
  preparedAt: (/* @__PURE__ */ new Date()).toISOString()
25640
25654
  };
25641
- values.value.submissionStaffIds = defaultValues.submissionStaffIds;
25642
- values.value.submissionStaffs = defaultValues.submissionStaffs;
25643
25655
  values.value.preparedAt = defaultValues.preparedAt;
25656
+ if ((_b2 = staff == null ? void 0 : staff.value) == null ? void 0 : _b2.id) {
25657
+ values.value.submissionStaffIds = defaultValues.submissionStaffIds;
25658
+ values.value.submissionStaffs = defaultValues.submissionStaffs;
25659
+ }
25660
+ if ((_c2 = staff == null ? void 0 : staff.value) == null ? void 0 : _c2.branchIds) {
25661
+ values.value.branchIds = defaultValues.branchIds;
25662
+ values.value.branches = defaultValues.branches;
25663
+ }
25644
25664
  }
25645
25665
  const syncRaise = async () => {
25646
25666
  var _a2;
@@ -25673,13 +25693,13 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
25673
25693
  default: withCtx(() => [
25674
25694
  unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
25675
25695
  input: withCtx(() => {
25676
- var _a2, _b;
25696
+ var _a2, _b2;
25677
25697
  return [
25678
25698
  createVNode(unref(NeonButton), {
25679
25699
  size: "md",
25680
25700
  color: "dark",
25681
25701
  "icon-left": "arrow-up-from-line",
25682
- "is-disabled": unref(isNew) || unref(isChanged) || unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved" || !unref(values).agreedStaffs || !unref(values).branches || !unref(values).decideStaffs || !unref(values).followUpStaffs || !unref(values).raiseStaffs || !unref(values).submissionStaffs || !unref(values).title || !unref(values).type || ((_b = unref(values).hasRaiseStaffIds) == null ? void 0 : _b.includes(((_a2 = unref(staff)) == null ? void 0 : _a2.id) || "")) ? true : false,
25702
+ "is-disabled": unref(isNew) || unref(isChanged) || unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved" || !unref(values).agreedStaffs || !unref(values).branches || !unref(values).decideStaffs || !unref(values).followUpStaffs || !unref(values).raiseStaffs || !unref(values).submissionStaffs || !unref(values).title || !unref(values).type || ((_b2 = unref(values).hasRaiseStaffIds) == null ? void 0 : _b2.includes(((_a2 = unref(staff)) == null ? void 0 : _a2.id) || "")) ? true : false,
25683
25703
  onClick: syncRaise
25684
25704
  }, {
25685
25705
  default: withCtx(() => [
@@ -25892,7 +25912,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
25892
25912
  };
25893
25913
  }
25894
25914
  });
25895
- const SubmissionStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$g, [["__scopeId", "data-v-10e7cda9"]]);
25915
+ const SubmissionStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$g, [["__scopeId", "data-v-e39fa184"]]);
25896
25916
  const _sfc_main$f = /* @__PURE__ */ defineComponent({
25897
25917
  __name: "SubmissionFollowUp",
25898
25918
  setup(__props) {
@@ -148,7 +148,7 @@
148
148
  padding-bottom: 0.5rem
149
149
  }
150
150
 
151
- .neu-checkIn-single[data-v-a0ac19e7] {
151
+ .neu-checkIn-single[data-v-44977e6b] {
152
152
  display: block
153
153
  }
154
154
 
@@ -313,7 +313,7 @@
313
313
  display: block
314
314
  }
315
315
 
316
- .neu-responsibility-single[data-v-c8f2af1f] {
316
+ .neu-responsibility-single[data-v-23c57dc8] {
317
317
  display: block
318
318
  }
319
319
 
@@ -333,7 +333,7 @@
333
333
  display: block
334
334
  }
335
335
 
336
- .neu-submission-single[data-v-10e7cda9] {
336
+ .neu-submission-single[data-v-e39fa184] {
337
337
  display: block
338
338
  }
339
339
 
package/build/style.css CHANGED
@@ -148,7 +148,7 @@
148
148
  padding-bottom: 0.5rem
149
149
  }
150
150
 
151
- .neu-checkIn-single[data-v-a0ac19e7] {
151
+ .neu-checkIn-single[data-v-44977e6b] {
152
152
  display: block
153
153
  }
154
154
 
@@ -313,7 +313,7 @@
313
313
  display: block
314
314
  }
315
315
 
316
- .neu-responsibility-single[data-v-c8f2af1f] {
316
+ .neu-responsibility-single[data-v-23c57dc8] {
317
317
  display: block
318
318
  }
319
319
 
@@ -333,7 +333,7 @@
333
333
  display: block
334
334
  }
335
335
 
336
- .neu-submission-single[data-v-10e7cda9] {
336
+ .neu-submission-single[data-v-e39fa184] {
337
337
  display: block
338
338
  }
339
339
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neutron.co.id/operasional-interfaces",
3
- "version": "1.12.1-beta.2",
3
+ "version": "1.12.2",
4
4
  "description": "Interface library of Neutron Operasional.",
5
5
  "sideEffects": [
6
6
  "*.css"
@@ -94,7 +94,7 @@
94
94
  "@neon.id/office": "^1.27.0",
95
95
  "@neon.id/utils": "^1.32.0",
96
96
  "@neutron.co.id/operasional-modules": "1.11.0",
97
- "@neutron.co.id/personalia-models": "1.11.0",
97
+ "@neutron.co.id/personalia-models": "1.11.2-beta.1",
98
98
  "@nuxt/kit": "^3.8.2",
99
99
  "file-saver": "^2.0.5",
100
100
  "qr-scanner": "^1.4.2",
@@ -166,7 +166,7 @@
166
166
  "@neon.id/office": "^1.27.0",
167
167
  "@neon.id/utils": "^1.32.0",
168
168
  "@neutron.co.id/operasional-modules": "1.11.0",
169
- "@neutron.co.id/personalia-models": "1.11.0",
169
+ "@neutron.co.id/personalia-models": "1.11.2-beta.1",
170
170
  "@nuxt/kit": "^3.8.2",
171
171
  "file-saver": "^2.0.5",
172
172
  "qr-scanner": "^1.4.2",
@@ -176,5 +176,5 @@
176
176
  "publishConfig": {
177
177
  "access": "public"
178
178
  },
179
- "build": 141
179
+ "build": 143
180
180
  }