@neutron.co.id/operasional-interfaces 1.14.2 → 1.14.3-beta.1

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.
@@ -12306,21 +12306,22 @@ const _hoisted_1$q = {
12306
12306
  };
12307
12307
  const _hoisted_2$j = { class: "mt-2" };
12308
12308
  const _hoisted_3$b = { class: "mt-2" };
12309
- const _hoisted_4$a = {
12310
- key: 6,
12311
- class: "grid gap-2 sm:grid-cols-2"
12312
- };
12313
- const _hoisted_5$9 = { class: "text-right text-fg-subdued text-sm" };
12314
- const _hoisted_6$9 = {
12309
+ const _hoisted_4$a = { key: 6 };
12310
+ const _hoisted_5$9 = {
12315
12311
  key: 7,
12316
12312
  class: "grid gap-2 sm:grid-cols-2"
12317
12313
  };
12318
- const _hoisted_7$8 = { class: "text-right text-fg-subdued text-sm" };
12319
- const _hoisted_8$8 = {
12314
+ const _hoisted_6$9 = { class: "text-right text-fg-subdued text-sm" };
12315
+ const _hoisted_7$8 = {
12320
12316
  key: 8,
12321
12317
  class: "grid gap-2 sm:grid-cols-2"
12322
12318
  };
12323
- const _hoisted_9$8 = { class: "text-right text-fg-subdued text-sm" };
12319
+ const _hoisted_8$8 = { class: "text-right text-fg-subdued text-sm" };
12320
+ const _hoisted_9$8 = {
12321
+ key: 9,
12322
+ class: "grid gap-2 sm:grid-cols-2"
12323
+ };
12324
+ const _hoisted_10$8 = { class: "text-right text-fg-subdued text-sm" };
12324
12325
  const _sfc_main$_ = /* @__PURE__ */ defineComponent({
12325
12326
  __name: "AttendanceStaff",
12326
12327
  setup(__props) {
@@ -12546,49 +12547,15 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
12546
12547
  "is-disabled": unref(values).status == "notApproved" || unref(values).status == "approved" || unref(values).status == "rejected",
12547
12548
  "onUpdate:modelValue": onStartedAtUpdate
12548
12549
  }), null, 16, ["model-value", "is-disabled"])),
12549
- createVNode(unref(NeonDivider), {
12550
- "is-dashed": "",
12551
- label: "Tanggal ini digunakan hanya untuk Generate Absensi",
12552
- class: "divider"
12553
- }),
12554
- createVNode(_component_NeonFields, { md: "grid-cols-3" }, {
12555
- default: withCtx(() => [
12556
- createVNode(unref(NeonField), mergeProps({
12557
- modelValue: unref(values).startedAt,
12558
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(values).startedAt = $event)
12559
- }, unref(fields).startedAt, {
12560
- "is-disabled": unref(values).status == "approved" || unref(values).isGenerate === true
12561
- }), null, 16, ["modelValue", "is-disabled"]),
12562
- createVNode(unref(NeonField), mergeProps({
12563
- modelValue: unref(values).endedAt,
12564
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => unref(values).endedAt = $event)
12565
- }, unref(fields).endedAt, {
12566
- "is-disabled": unref(values).status == "approved" || unref(values).isGenerate === true
12567
- }), null, 16, ["modelValue", "is-disabled"]),
12568
- createVNode(unref(NeonButton), {
12569
- "icon-left": "bolt",
12570
- label: "Generate",
12571
- color: "success",
12572
- class: "mt-12",
12573
- size: "xs",
12574
- "is-loading": unref(isLoading),
12575
- "is-disabled": unref(values).status !== "approved" || unref(values).isGenerate === true,
12576
- "is-rounded": "",
12577
- onClick: generate
12578
- }, null, 8, ["is-loading", "is-disabled"])
12579
- ]),
12580
- _: 1
12581
- /* STABLE */
12582
- }),
12583
12550
  createVNode(unref(NeonField), mergeProps({
12584
12551
  modelValue: unref(values).type,
12585
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => unref(values).type = $event)
12552
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(values).type = $event)
12586
12553
  }, unref(fields).type, {
12587
12554
  "is-disabled": unref(values).status == "notApproved" || unref(values).status == "approved" || unref(values).status == "rejected"
12588
12555
  }), null, 16, ["modelValue", "is-disabled"]),
12589
12556
  createVNode(unref(OfficeRelation), {
12590
12557
  modelValue: unref(values),
12591
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => isRef(values) ? values.value = $event : null),
12558
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => isRef(values) ? values.value = $event : null),
12592
12559
  field: unref(fields).decideStaff,
12593
12560
  query: unref(Query).define(staffOptions.value),
12594
12561
  "is-disabled": unref(values).status == "notApproved" || unref(values).status == "approved" || unref(values).status == "rejected"
@@ -12596,14 +12563,14 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
12596
12563
  unref(values).type == "leave" ? (openBlock(), createBlock(unref(OfficeRelation), {
12597
12564
  key: 2,
12598
12565
  modelValue: unref(values),
12599
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => isRef(values) ? values.value = $event : null),
12566
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(values) ? values.value = $event : null),
12600
12567
  field: unref(fields).delegateStaffs,
12601
12568
  "is-disabled": unref(values).status == "notApproved" || unref(values).status == "approved" || unref(values).status == "rejected"
12602
12569
  }, null, 8, ["modelValue", "field", "is-disabled"])) : createCommentVNode("v-if", true),
12603
12570
  unref(isNew) || unref(isReady) ? (openBlock(), createBlock(unref(NeonField), mergeProps({
12604
12571
  key: 3,
12605
12572
  modelValue: unref(values).notes,
12606
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(values).notes = $event)
12573
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => unref(values).notes = $event)
12607
12574
  }, unref(fields).notes), null, 16, ["modelValue"])) : createCommentVNode("v-if", true),
12608
12575
  unref(values).type ? (openBlock(), createBlock(unref(NeonDivider), {
12609
12576
  key: 4,
@@ -12613,10 +12580,58 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
12613
12580
  unref(values).type == "dayOff" || unref(values).type == "sick" || unref(values).type == "permission" || unref(values).type == "leave" ? (openBlock(), createBlock(unref(NeonField), mergeProps({
12614
12581
  key: 5,
12615
12582
  modelValue: unref(values).submittedAt,
12616
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).submittedAt = $event)
12583
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => unref(values).submittedAt = $event)
12617
12584
  }, unref(fields).submittedAt, { "is-disabled": "" }), null, 16, ["modelValue"])) : createCommentVNode("v-if", true),
12585
+ unref(values).type == "sick" || unref(values).type == "leave" || unref(values).type == "permission" ? (openBlock(), createElementBlock("div", _hoisted_4$a, [
12586
+ createVNode(unref(NeonDivider), {
12587
+ "is-dashed": "",
12588
+ label: "Tanggal ini digunakan hanya untuk Generate Absensi",
12589
+ class: "divider"
12590
+ }),
12591
+ createVNode(_component_NeonFields, { md: "grid-cols-3" }, {
12592
+ default: withCtx(() => [
12593
+ createVNode(unref(NeonField), mergeProps({
12594
+ modelValue: unref(values).startedAt,
12595
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(values).startedAt = $event)
12596
+ }, {
12597
+ handle: "startedAt",
12598
+ name: "Tanggal Mulai",
12599
+ options: {
12600
+ note: "Tanggal mulai absensi."
12601
+ }
12602
+ }, {
12603
+ "is-disabled": unref(values).status == "approved" || unref(values).isGenerate === true
12604
+ }), null, 16, ["modelValue", "is-disabled"]),
12605
+ createVNode(unref(NeonField), mergeProps({
12606
+ modelValue: unref(values).endedAt,
12607
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).endedAt = $event)
12608
+ }, {
12609
+ handle: "endedAt",
12610
+ name: "Tanggal Selesai",
12611
+ options: {
12612
+ note: "Tanggal selesai absensi."
12613
+ }
12614
+ }, {
12615
+ "is-disabled": unref(values).status == "approved" || unref(values).isGenerate === true
12616
+ }), null, 16, ["modelValue", "is-disabled"]),
12617
+ createVNode(unref(NeonButton), {
12618
+ "icon-left": "bolt",
12619
+ label: "Generate",
12620
+ color: "success",
12621
+ class: "mt-12",
12622
+ size: "xs",
12623
+ "is-loading": unref(isLoading),
12624
+ "is-disabled": unref(values).status !== "approved" || unref(values).isGenerate === true,
12625
+ "is-rounded": "",
12626
+ onClick: generate
12627
+ }, null, 8, ["is-loading", "is-disabled"])
12628
+ ]),
12629
+ _: 1
12630
+ /* STABLE */
12631
+ })
12632
+ ])) : createCommentVNode("v-if", true),
12618
12633
  createCommentVNode(" EARLY GO HOME "),
12619
- unref(values).type == "homeEarly" ? (openBlock(), createElementBlock("div", _hoisted_4$a, [
12634
+ unref(values).type == "homeEarly" ? (openBlock(), createElementBlock("div", _hoisted_5$9, [
12620
12635
  createVNode(unref(NeonField), mergeProps({
12621
12636
  modelValue: unref(values).startedAt,
12622
12637
  "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(values).startedAt = $event)
@@ -12659,7 +12674,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
12659
12674
  }, null, 8, ["modelValue", "is-loading", "is-disabled"]),
12660
12675
  createElementVNode(
12661
12676
  "div",
12662
- _hoisted_5$9,
12677
+ _hoisted_6$9,
12663
12678
  toDisplayString(duration.value),
12664
12679
  1
12665
12680
  /* TEXT */
@@ -12670,7 +12685,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
12670
12685
  }, 16, ["modelValue"])
12671
12686
  ])) : createCommentVNode("v-if", true),
12672
12687
  createCommentVNode(" COME TOO LATE "),
12673
- unref(values).type == "comeLate" ? (openBlock(), createElementBlock("div", _hoisted_6$9, [
12688
+ unref(values).type == "comeLate" ? (openBlock(), createElementBlock("div", _hoisted_7$8, [
12674
12689
  createVNode(unref(NeonField), mergeProps({
12675
12690
  modelValue: unref(values).startedAt,
12676
12691
  "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => unref(values).startedAt = $event)
@@ -12713,7 +12728,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
12713
12728
  }, null, 8, ["modelValue", "is-loading", "is-disabled"]),
12714
12729
  createElementVNode(
12715
12730
  "div",
12716
- _hoisted_7$8,
12731
+ _hoisted_8$8,
12717
12732
  toDisplayString(duration.value),
12718
12733
  1
12719
12734
  /* TEXT */
@@ -12724,7 +12739,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
12724
12739
  }, 16, ["modelValue"])
12725
12740
  ])) : createCommentVNode("v-if", true),
12726
12741
  createCommentVNode(" TIMEOUT "),
12727
- unref(values).type == "timeout" ? (openBlock(), createElementBlock("div", _hoisted_8$8, [
12742
+ unref(values).type == "timeout" ? (openBlock(), createElementBlock("div", _hoisted_9$8, [
12728
12743
  createVNode(unref(NeonField), mergeProps({
12729
12744
  modelValue: unref(values).startedAt,
12730
12745
  "onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => unref(values).startedAt = $event)
@@ -12767,7 +12782,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
12767
12782
  }, null, 8, ["modelValue", "is-loading", "is-disabled"]),
12768
12783
  createElementVNode(
12769
12784
  "div",
12770
- _hoisted_9$8,
12785
+ _hoisted_10$8,
12771
12786
  toDisplayString(duration.value),
12772
12787
  1
12773
12788
  /* TEXT */
@@ -12796,26 +12811,27 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
12796
12811
  };
12797
12812
  }
12798
12813
  });
12799
- const AttendanceStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$_, [["__scopeId", "data-v-7951838f"]]);
12814
+ const AttendanceStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$_, [["__scopeId", "data-v-04e65bc4"]]);
12800
12815
  const _hoisted_1$p = { class: "flex flex-wrap" };
12801
12816
  const _hoisted_2$i = { class: "mt-2" };
12802
12817
  const _hoisted_3$a = { class: "mt-2" };
12803
12818
  const _hoisted_4$9 = { class: "mt-2" };
12804
- const _hoisted_5$8 = {
12805
- key: 4,
12806
- class: "grid gap-2 sm:grid-cols-2"
12807
- };
12808
- const _hoisted_6$8 = { class: "text-right text-fg-subdued text-sm" };
12809
- const _hoisted_7$7 = {
12819
+ const _hoisted_5$8 = { key: 4 };
12820
+ const _hoisted_6$8 = {
12810
12821
  key: 5,
12811
12822
  class: "grid gap-2 sm:grid-cols-2"
12812
12823
  };
12813
- const _hoisted_8$7 = { class: "text-right text-fg-subdued text-sm" };
12814
- const _hoisted_9$7 = {
12824
+ const _hoisted_7$7 = { class: "text-right text-fg-subdued text-sm" };
12825
+ const _hoisted_8$7 = {
12815
12826
  key: 6,
12816
12827
  class: "grid gap-2 sm:grid-cols-2"
12817
12828
  };
12818
- const _hoisted_10$7 = { class: "text-right text-fg-subdued text-sm" };
12829
+ const _hoisted_9$7 = { class: "text-right text-fg-subdued text-sm" };
12830
+ const _hoisted_10$7 = {
12831
+ key: 7,
12832
+ class: "grid gap-2 sm:grid-cols-2"
12833
+ };
12834
+ const _hoisted_11$7 = { class: "text-right text-fg-subdued text-sm" };
12819
12835
  const _sfc_main$Z = /* @__PURE__ */ defineComponent({
12820
12836
  __name: "AttendanceSupervisor",
12821
12837
  setup(__props) {
@@ -13034,42 +13050,9 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
13034
13050
  "is-disabled": unref(values).status == "approved" || unref(values).status == "rejected",
13035
13051
  "onUpdate:modelValue": onStartedAtUpdate
13036
13052
  }), null, 16, ["model-value", "is-disabled"])),
13037
- createVNode(unref(NeonDivider), {
13038
- label: "Tanggal ini digunakan hanya untuk Generate Absensi",
13039
- class: "divider"
13040
- }),
13041
- createVNode(_component_NeonFields, { md: "grid-cols-3" }, {
13042
- default: withCtx(() => [
13043
- createVNode(unref(NeonField), mergeProps({
13044
- modelValue: unref(values).startedAt,
13045
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(values).startedAt = $event)
13046
- }, unref(fields).startedAt, {
13047
- "is-disabled": unref(values).isGenerate === true
13048
- }), null, 16, ["modelValue", "is-disabled"]),
13049
- createVNode(unref(NeonField), mergeProps({
13050
- modelValue: unref(values).endedAt,
13051
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => unref(values).endedAt = $event)
13052
- }, unref(fields).endedAt, {
13053
- "is-disabled": unref(values).isGenerate === true
13054
- }), null, 16, ["modelValue", "is-disabled"]),
13055
- createVNode(unref(NeonButton), {
13056
- "icon-left": "bolt",
13057
- label: "Generate",
13058
- color: "success",
13059
- class: "mt-12",
13060
- size: "xs",
13061
- "is-loading": unref(isLoading),
13062
- "is-disabled": unref(values).status !== "approved" || unref(values).isGenerate === true,
13063
- "is-rounded": "",
13064
- onClick: generate
13065
- }, null, 8, ["is-loading", "is-disabled"])
13066
- ]),
13067
- _: 1
13068
- /* STABLE */
13069
- }),
13070
13053
  createVNode(unref(NeonField), mergeProps({
13071
13054
  modelValue: unref(values).type,
13072
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => unref(values).type = $event)
13055
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(values).type = $event)
13073
13056
  }, unref(fields).type, {
13074
13057
  "is-disabled": unref(values).status == "approved" || unref(values).status == "rejected"
13075
13058
  }), null, 16, ["modelValue", "is-disabled"]),
@@ -13083,14 +13066,14 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
13083
13066
  unref(values).type == "leave" ? (openBlock(), createBlock(unref(OfficeRelation), {
13084
13067
  key: 0,
13085
13068
  modelValue: unref(values),
13086
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => isRef(values) ? values.value = $event : null),
13069
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => isRef(values) ? values.value = $event : null),
13087
13070
  field: unref(fields).delegateStaffs,
13088
13071
  "is-disabled": unref(values).status == "approved" || unref(values).status == "rejected"
13089
13072
  }, null, 8, ["modelValue", "field", "is-disabled"])) : createCommentVNode("v-if", true),
13090
13073
  unref(isNew) || unref(isReady) ? (openBlock(), createBlock(unref(NeonField), mergeProps({
13091
13074
  key: 1,
13092
13075
  modelValue: unref(values).notes,
13093
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => unref(values).notes = $event)
13076
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => unref(values).notes = $event)
13094
13077
  }, unref(fields).notes), null, 16, ["modelValue"])) : createCommentVNode("v-if", true),
13095
13078
  unref(values).type ? (openBlock(), createBlock(unref(NeonDivider), {
13096
13079
  key: 2,
@@ -13100,10 +13083,58 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
13100
13083
  unref(values).type == "dayOff" || unref(values).type == "sick" || unref(values).type == "permission" || unref(values).type == "leave" ? (openBlock(), createBlock(unref(NeonField), mergeProps({
13101
13084
  key: 3,
13102
13085
  modelValue: unref(values).submittedAt,
13103
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(values).submittedAt = $event)
13086
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => unref(values).submittedAt = $event)
13104
13087
  }, unref(fields).submittedAt, { "is-disabled": "" }), null, 16, ["modelValue"])) : createCommentVNode("v-if", true),
13088
+ unref(values).type == "sick" || unref(values).type == "leave" || unref(values).type == "permission" ? (openBlock(), createElementBlock("div", _hoisted_5$8, [
13089
+ createVNode(unref(NeonDivider), {
13090
+ "is-dashed": "",
13091
+ label: "Tanggal ini digunakan hanya untuk Generate Absensi",
13092
+ class: "divider"
13093
+ }),
13094
+ createVNode(_component_NeonFields, { md: "grid-cols-3" }, {
13095
+ default: withCtx(() => [
13096
+ createVNode(unref(NeonField), mergeProps({
13097
+ modelValue: unref(values).startedAt,
13098
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => unref(values).startedAt = $event)
13099
+ }, {
13100
+ handle: "startedAt",
13101
+ name: "Tanggal Mulai",
13102
+ options: {
13103
+ note: "Tanggal mulai absensi."
13104
+ }
13105
+ }, {
13106
+ "is-disabled": unref(values).status == "approved" || unref(values).isGenerate === true
13107
+ }), null, 16, ["modelValue", "is-disabled"]),
13108
+ createVNode(unref(NeonField), mergeProps({
13109
+ modelValue: unref(values).endedAt,
13110
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(values).endedAt = $event)
13111
+ }, {
13112
+ handle: "endedAt",
13113
+ name: "Tanggal Selesai",
13114
+ options: {
13115
+ note: "Tanggal selesai absensi."
13116
+ }
13117
+ }, {
13118
+ "is-disabled": unref(values).status == "approved" || unref(values).isGenerate === true
13119
+ }), null, 16, ["modelValue", "is-disabled"]),
13120
+ createVNode(unref(NeonButton), {
13121
+ "icon-left": "bolt",
13122
+ label: "Generate",
13123
+ color: "success",
13124
+ class: "mt-12",
13125
+ size: "xs",
13126
+ "is-loading": unref(isLoading),
13127
+ "is-disabled": unref(values).status !== "approved" || unref(values).isGenerate === true,
13128
+ "is-rounded": "",
13129
+ onClick: generate
13130
+ }, null, 8, ["is-loading", "is-disabled"])
13131
+ ]),
13132
+ _: 1
13133
+ /* STABLE */
13134
+ })
13135
+ ])) : createCommentVNode("v-if", true),
13105
13136
  createCommentVNode(" EARLY GO HOME "),
13106
- unref(values).type == "homeEarly" ? (openBlock(), createElementBlock("div", _hoisted_5$8, [
13137
+ unref(values).type == "homeEarly" ? (openBlock(), createElementBlock("div", _hoisted_6$8, [
13107
13138
  createVNode(unref(NeonField), mergeProps({
13108
13139
  modelValue: unref(values).startedAt,
13109
13140
  "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(values).startedAt = $event)
@@ -13144,7 +13175,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
13144
13175
  }, null, 8, ["modelValue", "is-loading"]),
13145
13176
  createElementVNode(
13146
13177
  "div",
13147
- _hoisted_6$8,
13178
+ _hoisted_7$7,
13148
13179
  toDisplayString(reverseDuration.value),
13149
13180
  1
13150
13181
  /* TEXT */
@@ -13155,7 +13186,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
13155
13186
  }, 16, ["modelValue"])
13156
13187
  ])) : createCommentVNode("v-if", true),
13157
13188
  createCommentVNode(" COME TOO LATE "),
13158
- unref(values).type == "comeLate" ? (openBlock(), createElementBlock("div", _hoisted_7$7, [
13189
+ unref(values).type == "comeLate" ? (openBlock(), createElementBlock("div", _hoisted_8$7, [
13159
13190
  createVNode(unref(NeonField), mergeProps({
13160
13191
  modelValue: unref(values).startedAt,
13161
13192
  "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => unref(values).startedAt = $event)
@@ -13196,7 +13227,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
13196
13227
  }, null, 8, ["modelValue", "is-loading"]),
13197
13228
  createElementVNode(
13198
13229
  "div",
13199
- _hoisted_8$7,
13230
+ _hoisted_9$7,
13200
13231
  toDisplayString(duration.value),
13201
13232
  1
13202
13233
  /* TEXT */
@@ -13207,7 +13238,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
13207
13238
  }, 16, ["modelValue"])
13208
13239
  ])) : createCommentVNode("v-if", true),
13209
13240
  createCommentVNode(" TIMEOUT "),
13210
- unref(values).type == "timeout" ? (openBlock(), createElementBlock("div", _hoisted_9$7, [
13241
+ unref(values).type == "timeout" ? (openBlock(), createElementBlock("div", _hoisted_10$7, [
13211
13242
  createVNode(unref(NeonField), mergeProps({
13212
13243
  modelValue: unref(values).startedAt,
13213
13244
  "onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => unref(values).startedAt = $event)
@@ -13248,7 +13279,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
13248
13279
  }, null, 8, ["modelValue", "is-loading"]),
13249
13280
  createElementVNode(
13250
13281
  "div",
13251
- _hoisted_10$7,
13282
+ _hoisted_11$7,
13252
13283
  toDisplayString(duration.value),
13253
13284
  1
13254
13285
  /* TEXT */
@@ -13277,7 +13308,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
13277
13308
  };
13278
13309
  }
13279
13310
  });
13280
- const AttendanceSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$Z, [["__scopeId", "data-v-ff0ad0fa"]]);
13311
+ const AttendanceSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$Z, [["__scopeId", "data-v-608a3ac5"]]);
13281
13312
  const _withScopeId$2 = (n) => (pushScopeId("data-v-c329f979"), n = n(), popScopeId(), n);
13282
13313
  const _hoisted_1$o = { id: "view-checkIns" };
13283
13314
  const _hoisted_2$h = { class: "summary" };
@@ -17733,10 +17764,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
17733
17764
  onSubmit: unref(saveOne)
17734
17765
  }, {
17735
17766
  default: withCtx(() => [
17736
- createVNode(unref(NeonFields), {
17737
- md: "grid-cols-4",
17738
- title: "Situasi"
17739
- }, {
17767
+ createVNode(unref(NeonFields), { title: "Situasi" }, {
17740
17768
  default: withCtx(() => [
17741
17769
  createVNode(unref(NeonField), mergeProps({
17742
17770
  modelValue: unref(values).situationStatus,
@@ -17754,14 +17782,19 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
17754
17782
  createVNode(unref(OfficeRelation), {
17755
17783
  modelValue: unref(values),
17756
17784
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => isRef(values) ? values.value = $event : null),
17757
- field: unref(fields).situationType
17758
- }, null, 8, ["modelValue", "field"]),
17785
+ field: unref(fields).situationType,
17786
+ query: unref(Query).define({
17787
+ filter: {
17788
+ branchIds: { $in: unref(values).branchIds }
17789
+ }
17790
+ })
17791
+ }, null, 8, ["modelValue", "field", "query"]),
17759
17792
  createVNode(unref(OfficeRelation), {
17760
17793
  modelValue: unref(values),
17761
17794
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(values) ? values.value = $event : null),
17762
17795
  field: unref(fields).situationReportedBy
17763
17796
  }, null, 8, ["modelValue", "field"]),
17764
- createVNode(unref(NeonFields), { md: "grid-cols-4" }, {
17797
+ createVNode(unref(NeonFields), null, {
17765
17798
  default: withCtx(() => [
17766
17799
  createVNode(unref(NeonField), mergeProps({
17767
17800
  modelValue: unref(values).situationDescription,
@@ -17771,7 +17804,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
17771
17804
  _: 1
17772
17805
  /* STABLE */
17773
17806
  }),
17774
- createVNode(unref(NeonFields), { md: "grid-cols-4" }, {
17807
+ createVNode(unref(NeonFields), null, {
17775
17808
  default: withCtx(() => [
17776
17809
  createVNode(unref(NeonField), mergeProps({
17777
17810
  modelValue: unref(values).urgentSituationDate,
@@ -17786,10 +17819,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
17786
17819
  "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => isRef(values) ? values.value = $event : null),
17787
17820
  field: unref(fields).situationRelatedBy
17788
17821
  }, null, 8, ["modelValue", "field"]),
17789
- createVNode(unref(NeonFields), {
17790
- md: "grid-cols-4",
17791
- title: "Suportif"
17792
- }, {
17822
+ createVNode(unref(NeonFields), { title: "Suportif" }, {
17793
17823
  default: withCtx(() => [
17794
17824
  createVNode(unref(NeonField), mergeProps({
17795
17825
  modelValue: unref(values).supportiveStatus,
@@ -17804,7 +17834,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
17804
17834
  "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => isRef(values) ? values.value = $event : null),
17805
17835
  field: unref(fields).situationSupportedBy
17806
17836
  }, null, 8, ["modelValue", "field"]),
17807
- createVNode(unref(NeonFields), { md: "grid-cols-4" }, {
17837
+ createVNode(unref(NeonFields), null, {
17808
17838
  default: withCtx(() => [
17809
17839
  createVNode(unref(NeonField), mergeProps({
17810
17840
  modelValue: unref(values).situationResponse,
@@ -17883,7 +17913,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
17883
17913
  onSubmit: unref(saveOne)
17884
17914
  }, {
17885
17915
  default: withCtx(() => [
17886
- createVNode(unref(NeonFields), { md: "grid-cols-4" }, {
17916
+ createVNode(unref(NeonFields), null, {
17887
17917
  default: withCtx(() => [
17888
17918
  createVNode(unref(NeonField), mergeProps({
17889
17919
  modelValue: unref(values).situationTypeName,
@@ -77,11 +77,11 @@
77
77
  display: block
78
78
  }
79
79
 
80
- .neu-attendance-single[data-v-7951838f] {
80
+ .neu-attendance-single[data-v-04e65bc4] {
81
81
  display: block
82
82
  }
83
83
 
84
- .neu-attendance-single[data-v-ff0ad0fa] {
84
+ .neu-attendance-single[data-v-608a3ac5] {
85
85
  display: block
86
86
  }
87
87
 
package/build/module.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "1.14.2",
7
+ "version": "1.14.3-beta.1",
8
8
  "builder": {
9
9
  "@neon.id/module-builder": "1.8.0",
10
10
  "unbuild": "2.0.0"
package/build/nuxt.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "1.14.2",
7
+ "version": "1.14.3-beta.1",
8
8
  "builder": {
9
9
  "@neon.id/module-builder": "1.8.0",
10
10
  "unbuild": "2.0.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neutron.co.id/operasional-interfaces",
3
- "version": "1.14.2",
3
+ "version": "1.14.3-beta.1",
4
4
  "description": "Interface library of Neutron Operasional.",
5
5
  "sideEffects": [
6
6
  "*.css"
@@ -76,8 +76,8 @@
76
76
  "@neon.id/nuxt": "^1.5.0",
77
77
  "@neon.id/office": "^1.39.0",
78
78
  "@neon.id/utils": "^1.51.0",
79
- "@neutron.co.id/operasional-modules": "1.12.0",
80
- "@neutron.co.id/personalia-models": "1.13.1",
79
+ "@neutron.co.id/operasional-modules": "1.12.1",
80
+ "@neutron.co.id/personalia-models": "1.13.3-beta.1",
81
81
  "@nuxt/kit": "^3.12.3",
82
82
  "file-saver": "^2.0.5",
83
83
  "qr-scanner": "^1.4.2",
@@ -145,8 +145,8 @@
145
145
  "@neon.id/nuxt": "^1.5.0",
146
146
  "@neon.id/office": "^1.39.0",
147
147
  "@neon.id/utils": "^1.51.0",
148
- "@neutron.co.id/operasional-modules": "1.12.0",
149
- "@neutron.co.id/personalia-models": "1.13.1",
148
+ "@neutron.co.id/operasional-modules": "1.12.1",
149
+ "@neutron.co.id/personalia-models": "1.13.3-beta.1",
150
150
  "@nuxt/kit": "^3.12.3",
151
151
  "file-saver": "^2.0.5",
152
152
  "qr-scanner": "^1.4.2",
@@ -156,5 +156,5 @@
156
156
  "publishConfig": {
157
157
  "access": "public"
158
158
  },
159
- "build": 156
159
+ "build": 157
160
160
  }