@neutron.co.id/operasional-interfaces 1.14.2 → 1.14.4-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.
@@ -12325,21 +12325,22 @@ const _hoisted_1$q = {
12325
12325
  };
12326
12326
  const _hoisted_2$j = { class: "mt-2" };
12327
12327
  const _hoisted_3$b = { class: "mt-2" };
12328
- const _hoisted_4$a = {
12329
- key: 6,
12330
- class: "grid gap-2 sm:grid-cols-2"
12331
- };
12332
- const _hoisted_5$9 = { class: "text-right text-fg-subdued text-sm" };
12333
- const _hoisted_6$9 = {
12328
+ const _hoisted_4$a = { key: 6 };
12329
+ const _hoisted_5$9 = {
12334
12330
  key: 7,
12335
12331
  class: "grid gap-2 sm:grid-cols-2"
12336
12332
  };
12337
- const _hoisted_7$8 = { class: "text-right text-fg-subdued text-sm" };
12338
- const _hoisted_8$8 = {
12333
+ const _hoisted_6$9 = { class: "text-right text-fg-subdued text-sm" };
12334
+ const _hoisted_7$8 = {
12339
12335
  key: 8,
12340
12336
  class: "grid gap-2 sm:grid-cols-2"
12341
12337
  };
12342
- const _hoisted_9$8 = { class: "text-right text-fg-subdued text-sm" };
12338
+ const _hoisted_8$8 = { class: "text-right text-fg-subdued text-sm" };
12339
+ const _hoisted_9$8 = {
12340
+ key: 9,
12341
+ class: "grid gap-2 sm:grid-cols-2"
12342
+ };
12343
+ const _hoisted_10$8 = { class: "text-right text-fg-subdued text-sm" };
12343
12344
  const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
12344
12345
  __name: "AttendanceStaff",
12345
12346
  setup(__props) {
@@ -12565,49 +12566,15 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
12565
12566
  "is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved" || vue.unref(values).status == "rejected",
12566
12567
  "onUpdate:modelValue": onStartedAtUpdate
12567
12568
  }), null, 16, ["model-value", "is-disabled"])),
12568
- vue.createVNode(vue.unref(interfaces.NeonDivider), {
12569
- "is-dashed": "",
12570
- label: "Tanggal ini digunakan hanya untuk Generate Absensi",
12571
- class: "divider"
12572
- }),
12573
- vue.createVNode(_component_NeonFields, { md: "grid-cols-3" }, {
12574
- default: vue.withCtx(() => [
12575
- vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
12576
- modelValue: vue.unref(values).startedAt,
12577
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).startedAt = $event)
12578
- }, vue.unref(fields).startedAt, {
12579
- "is-disabled": vue.unref(values).status == "approved" || vue.unref(values).isGenerate === true
12580
- }), null, 16, ["modelValue", "is-disabled"]),
12581
- vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
12582
- modelValue: vue.unref(values).endedAt,
12583
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).endedAt = $event)
12584
- }, vue.unref(fields).endedAt, {
12585
- "is-disabled": vue.unref(values).status == "approved" || vue.unref(values).isGenerate === true
12586
- }), null, 16, ["modelValue", "is-disabled"]),
12587
- vue.createVNode(vue.unref(interfaces.NeonButton), {
12588
- "icon-left": "bolt",
12589
- label: "Generate",
12590
- color: "success",
12591
- class: "mt-12",
12592
- size: "xs",
12593
- "is-loading": vue.unref(isLoading),
12594
- "is-disabled": vue.unref(values).status !== "approved" || vue.unref(values).isGenerate === true,
12595
- "is-rounded": "",
12596
- onClick: generate
12597
- }, null, 8, ["is-loading", "is-disabled"])
12598
- ]),
12599
- _: 1
12600
- /* STABLE */
12601
- }),
12602
12569
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
12603
12570
  modelValue: vue.unref(values).type,
12604
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.unref(values).type = $event)
12571
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).type = $event)
12605
12572
  }, vue.unref(fields).type, {
12606
12573
  "is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved" || vue.unref(values).status == "rejected"
12607
12574
  }), null, 16, ["modelValue", "is-disabled"]),
12608
12575
  vue.createVNode(vue.unref(office$1.OfficeRelation), {
12609
12576
  modelValue: vue.unref(values),
12610
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.isRef(values) ? values.value = $event : null),
12577
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.isRef(values) ? values.value = $event : null),
12611
12578
  field: vue.unref(fields).decideStaff,
12612
12579
  query: vue.unref(query.Query).define(staffOptions.value),
12613
12580
  "is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved" || vue.unref(values).status == "rejected"
@@ -12615,14 +12582,14 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
12615
12582
  vue.unref(values).type == "leave" ? (vue.openBlock(), vue.createBlock(vue.unref(office$1.OfficeRelation), {
12616
12583
  key: 2,
12617
12584
  modelValue: vue.unref(values),
12618
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.isRef(values) ? values.value = $event : null),
12585
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
12619
12586
  field: vue.unref(fields).delegateStaffs,
12620
12587
  "is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved" || vue.unref(values).status == "rejected"
12621
12588
  }, null, 8, ["modelValue", "field", "is-disabled"])) : vue.createCommentVNode("v-if", true),
12622
12589
  vue.unref(isNew) || vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
12623
12590
  key: 3,
12624
12591
  modelValue: vue.unref(values).notes,
12625
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).notes = $event)
12592
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).notes = $event)
12626
12593
  }, vue.unref(fields).notes), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
12627
12594
  vue.unref(values).type ? (vue.openBlock(), vue.createBlock(vue.unref(interfaces.NeonDivider), {
12628
12595
  key: 4,
@@ -12632,10 +12599,58 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
12632
12599
  vue.unref(values).type == "dayOff" || vue.unref(values).type == "sick" || vue.unref(values).type == "permission" || vue.unref(values).type == "leave" ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
12633
12600
  key: 5,
12634
12601
  modelValue: vue.unref(values).submittedAt,
12635
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).submittedAt = $event)
12602
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(values).submittedAt = $event)
12636
12603
  }, vue.unref(fields).submittedAt, { "is-disabled": "" }), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
12604
+ vue.unref(values).type == "sick" || vue.unref(values).type == "leave" || vue.unref(values).type == "permission" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$a, [
12605
+ vue.createVNode(vue.unref(interfaces.NeonDivider), {
12606
+ "is-dashed": "",
12607
+ label: "Tanggal ini digunakan hanya untuk Generate Absensi",
12608
+ class: "divider"
12609
+ }),
12610
+ vue.createVNode(_component_NeonFields, { md: "grid-cols-3" }, {
12611
+ default: vue.withCtx(() => [
12612
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
12613
+ modelValue: vue.unref(values).startedAt,
12614
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).startedAt = $event)
12615
+ }, {
12616
+ handle: "startedAt",
12617
+ name: "Tanggal Mulai",
12618
+ options: {
12619
+ note: "Tanggal mulai absensi."
12620
+ }
12621
+ }, {
12622
+ "is-disabled": vue.unref(values).status == "approved" || vue.unref(values).isGenerate === true
12623
+ }), null, 16, ["modelValue", "is-disabled"]),
12624
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
12625
+ modelValue: vue.unref(values).endedAt,
12626
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).endedAt = $event)
12627
+ }, {
12628
+ handle: "endedAt",
12629
+ name: "Tanggal Selesai",
12630
+ options: {
12631
+ note: "Tanggal selesai absensi."
12632
+ }
12633
+ }, {
12634
+ "is-disabled": vue.unref(values).status == "approved" || vue.unref(values).isGenerate === true
12635
+ }), null, 16, ["modelValue", "is-disabled"]),
12636
+ vue.createVNode(vue.unref(interfaces.NeonButton), {
12637
+ "icon-left": "bolt",
12638
+ label: "Generate",
12639
+ color: "success",
12640
+ class: "mt-12",
12641
+ size: "xs",
12642
+ "is-loading": vue.unref(isLoading),
12643
+ "is-disabled": vue.unref(values).status !== "approved" || vue.unref(values).isGenerate === true,
12644
+ "is-rounded": "",
12645
+ onClick: generate
12646
+ }, null, 8, ["is-loading", "is-disabled"])
12647
+ ]),
12648
+ _: 1
12649
+ /* STABLE */
12650
+ })
12651
+ ])) : vue.createCommentVNode("v-if", true),
12637
12652
  vue.createCommentVNode(" EARLY GO HOME "),
12638
- vue.unref(values).type == "homeEarly" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$a, [
12653
+ vue.unref(values).type == "homeEarly" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$9, [
12639
12654
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
12640
12655
  modelValue: vue.unref(values).startedAt,
12641
12656
  "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).startedAt = $event)
@@ -12678,7 +12693,7 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
12678
12693
  }, null, 8, ["modelValue", "is-loading", "is-disabled"]),
12679
12694
  vue.createElementVNode(
12680
12695
  "div",
12681
- _hoisted_5$9,
12696
+ _hoisted_6$9,
12682
12697
  vue.toDisplayString(duration.value),
12683
12698
  1
12684
12699
  /* TEXT */
@@ -12689,7 +12704,7 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
12689
12704
  }, 16, ["modelValue"])
12690
12705
  ])) : vue.createCommentVNode("v-if", true),
12691
12706
  vue.createCommentVNode(" COME TOO LATE "),
12692
- vue.unref(values).type == "comeLate" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$9, [
12707
+ vue.unref(values).type == "comeLate" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$8, [
12693
12708
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
12694
12709
  modelValue: vue.unref(values).startedAt,
12695
12710
  "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => vue.unref(values).startedAt = $event)
@@ -12732,7 +12747,7 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
12732
12747
  }, null, 8, ["modelValue", "is-loading", "is-disabled"]),
12733
12748
  vue.createElementVNode(
12734
12749
  "div",
12735
- _hoisted_7$8,
12750
+ _hoisted_8$8,
12736
12751
  vue.toDisplayString(duration.value),
12737
12752
  1
12738
12753
  /* TEXT */
@@ -12743,7 +12758,7 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
12743
12758
  }, 16, ["modelValue"])
12744
12759
  ])) : vue.createCommentVNode("v-if", true),
12745
12760
  vue.createCommentVNode(" TIMEOUT "),
12746
- vue.unref(values).type == "timeout" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$8, [
12761
+ vue.unref(values).type == "timeout" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$8, [
12747
12762
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
12748
12763
  modelValue: vue.unref(values).startedAt,
12749
12764
  "onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => vue.unref(values).startedAt = $event)
@@ -12786,7 +12801,7 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
12786
12801
  }, null, 8, ["modelValue", "is-loading", "is-disabled"]),
12787
12802
  vue.createElementVNode(
12788
12803
  "div",
12789
- _hoisted_9$8,
12804
+ _hoisted_10$8,
12790
12805
  vue.toDisplayString(duration.value),
12791
12806
  1
12792
12807
  /* TEXT */
@@ -12815,26 +12830,27 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
12815
12830
  };
12816
12831
  }
12817
12832
  });
12818
- const AttendanceStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$_, [["__scopeId", "data-v-7951838f"]]);
12833
+ const AttendanceStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$_, [["__scopeId", "data-v-04e65bc4"]]);
12819
12834
  const _hoisted_1$p = { class: "flex flex-wrap" };
12820
12835
  const _hoisted_2$i = { class: "mt-2" };
12821
12836
  const _hoisted_3$a = { class: "mt-2" };
12822
12837
  const _hoisted_4$9 = { class: "mt-2" };
12823
- const _hoisted_5$8 = {
12824
- key: 4,
12825
- class: "grid gap-2 sm:grid-cols-2"
12826
- };
12827
- const _hoisted_6$8 = { class: "text-right text-fg-subdued text-sm" };
12828
- const _hoisted_7$7 = {
12838
+ const _hoisted_5$8 = { key: 4 };
12839
+ const _hoisted_6$8 = {
12829
12840
  key: 5,
12830
12841
  class: "grid gap-2 sm:grid-cols-2"
12831
12842
  };
12832
- const _hoisted_8$7 = { class: "text-right text-fg-subdued text-sm" };
12833
- const _hoisted_9$7 = {
12843
+ const _hoisted_7$7 = { class: "text-right text-fg-subdued text-sm" };
12844
+ const _hoisted_8$7 = {
12834
12845
  key: 6,
12835
12846
  class: "grid gap-2 sm:grid-cols-2"
12836
12847
  };
12837
- const _hoisted_10$7 = { class: "text-right text-fg-subdued text-sm" };
12848
+ const _hoisted_9$7 = { class: "text-right text-fg-subdued text-sm" };
12849
+ const _hoisted_10$7 = {
12850
+ key: 7,
12851
+ class: "grid gap-2 sm:grid-cols-2"
12852
+ };
12853
+ const _hoisted_11$7 = { class: "text-right text-fg-subdued text-sm" };
12838
12854
  const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
12839
12855
  __name: "AttendanceSupervisor",
12840
12856
  setup(__props) {
@@ -13053,42 +13069,9 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
13053
13069
  "is-disabled": vue.unref(values).status == "approved" || vue.unref(values).status == "rejected",
13054
13070
  "onUpdate:modelValue": onStartedAtUpdate
13055
13071
  }), null, 16, ["model-value", "is-disabled"])),
13056
- vue.createVNode(vue.unref(interfaces.NeonDivider), {
13057
- label: "Tanggal ini digunakan hanya untuk Generate Absensi",
13058
- class: "divider"
13059
- }),
13060
- vue.createVNode(_component_NeonFields, { md: "grid-cols-3" }, {
13061
- default: vue.withCtx(() => [
13062
- vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
13063
- modelValue: vue.unref(values).startedAt,
13064
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).startedAt = $event)
13065
- }, vue.unref(fields).startedAt, {
13066
- "is-disabled": vue.unref(values).isGenerate === true
13067
- }), null, 16, ["modelValue", "is-disabled"]),
13068
- vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
13069
- modelValue: vue.unref(values).endedAt,
13070
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).endedAt = $event)
13071
- }, vue.unref(fields).endedAt, {
13072
- "is-disabled": vue.unref(values).isGenerate === true
13073
- }), null, 16, ["modelValue", "is-disabled"]),
13074
- vue.createVNode(vue.unref(interfaces.NeonButton), {
13075
- "icon-left": "bolt",
13076
- label: "Generate",
13077
- color: "success",
13078
- class: "mt-12",
13079
- size: "xs",
13080
- "is-loading": vue.unref(isLoading),
13081
- "is-disabled": vue.unref(values).status !== "approved" || vue.unref(values).isGenerate === true,
13082
- "is-rounded": "",
13083
- onClick: generate
13084
- }, null, 8, ["is-loading", "is-disabled"])
13085
- ]),
13086
- _: 1
13087
- /* STABLE */
13088
- }),
13089
13072
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
13090
13073
  modelValue: vue.unref(values).type,
13091
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.unref(values).type = $event)
13074
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).type = $event)
13092
13075
  }, vue.unref(fields).type, {
13093
13076
  "is-disabled": vue.unref(values).status == "approved" || vue.unref(values).status == "rejected"
13094
13077
  }), null, 16, ["modelValue", "is-disabled"]),
@@ -13102,14 +13085,14 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
13102
13085
  vue.unref(values).type == "leave" ? (vue.openBlock(), vue.createBlock(vue.unref(office$1.OfficeRelation), {
13103
13086
  key: 0,
13104
13087
  modelValue: vue.unref(values),
13105
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.isRef(values) ? values.value = $event : null),
13088
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.isRef(values) ? values.value = $event : null),
13106
13089
  field: vue.unref(fields).delegateStaffs,
13107
13090
  "is-disabled": vue.unref(values).status == "approved" || vue.unref(values).status == "rejected"
13108
13091
  }, null, 8, ["modelValue", "field", "is-disabled"])) : vue.createCommentVNode("v-if", true),
13109
13092
  vue.unref(isNew) || vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
13110
13093
  key: 1,
13111
13094
  modelValue: vue.unref(values).notes,
13112
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(values).notes = $event)
13095
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.unref(values).notes = $event)
13113
13096
  }, vue.unref(fields).notes), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
13114
13097
  vue.unref(values).type ? (vue.openBlock(), vue.createBlock(vue.unref(interfaces.NeonDivider), {
13115
13098
  key: 2,
@@ -13119,10 +13102,58 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
13119
13102
  vue.unref(values).type == "dayOff" || vue.unref(values).type == "sick" || vue.unref(values).type == "permission" || vue.unref(values).type == "leave" ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
13120
13103
  key: 3,
13121
13104
  modelValue: vue.unref(values).submittedAt,
13122
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).submittedAt = $event)
13105
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).submittedAt = $event)
13123
13106
  }, vue.unref(fields).submittedAt, { "is-disabled": "" }), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
13107
+ vue.unref(values).type == "sick" || vue.unref(values).type == "leave" || vue.unref(values).type == "permission" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$8, [
13108
+ vue.createVNode(vue.unref(interfaces.NeonDivider), {
13109
+ "is-dashed": "",
13110
+ label: "Tanggal ini digunakan hanya untuk Generate Absensi",
13111
+ class: "divider"
13112
+ }),
13113
+ vue.createVNode(_component_NeonFields, { md: "grid-cols-3" }, {
13114
+ default: vue.withCtx(() => [
13115
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
13116
+ modelValue: vue.unref(values).startedAt,
13117
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(values).startedAt = $event)
13118
+ }, {
13119
+ handle: "startedAt",
13120
+ name: "Tanggal Mulai",
13121
+ options: {
13122
+ note: "Tanggal mulai absensi."
13123
+ }
13124
+ }, {
13125
+ "is-disabled": vue.unref(values).status == "approved" || vue.unref(values).isGenerate === true
13126
+ }), null, 16, ["modelValue", "is-disabled"]),
13127
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
13128
+ modelValue: vue.unref(values).endedAt,
13129
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).endedAt = $event)
13130
+ }, {
13131
+ handle: "endedAt",
13132
+ name: "Tanggal Selesai",
13133
+ options: {
13134
+ note: "Tanggal selesai absensi."
13135
+ }
13136
+ }, {
13137
+ "is-disabled": vue.unref(values).status == "approved" || vue.unref(values).isGenerate === true
13138
+ }), null, 16, ["modelValue", "is-disabled"]),
13139
+ vue.createVNode(vue.unref(interfaces.NeonButton), {
13140
+ "icon-left": "bolt",
13141
+ label: "Generate",
13142
+ color: "success",
13143
+ class: "mt-12",
13144
+ size: "xs",
13145
+ "is-loading": vue.unref(isLoading),
13146
+ "is-disabled": vue.unref(values).status !== "approved" || vue.unref(values).isGenerate === true,
13147
+ "is-rounded": "",
13148
+ onClick: generate
13149
+ }, null, 8, ["is-loading", "is-disabled"])
13150
+ ]),
13151
+ _: 1
13152
+ /* STABLE */
13153
+ })
13154
+ ])) : vue.createCommentVNode("v-if", true),
13124
13155
  vue.createCommentVNode(" EARLY GO HOME "),
13125
- vue.unref(values).type == "homeEarly" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$8, [
13156
+ vue.unref(values).type == "homeEarly" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$8, [
13126
13157
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
13127
13158
  modelValue: vue.unref(values).startedAt,
13128
13159
  "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).startedAt = $event)
@@ -13163,7 +13194,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
13163
13194
  }, null, 8, ["modelValue", "is-loading"]),
13164
13195
  vue.createElementVNode(
13165
13196
  "div",
13166
- _hoisted_6$8,
13197
+ _hoisted_7$7,
13167
13198
  vue.toDisplayString(reverseDuration.value),
13168
13199
  1
13169
13200
  /* TEXT */
@@ -13174,7 +13205,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
13174
13205
  }, 16, ["modelValue"])
13175
13206
  ])) : vue.createCommentVNode("v-if", true),
13176
13207
  vue.createCommentVNode(" COME TOO LATE "),
13177
- vue.unref(values).type == "comeLate" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$7, [
13208
+ vue.unref(values).type == "comeLate" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$7, [
13178
13209
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
13179
13210
  modelValue: vue.unref(values).startedAt,
13180
13211
  "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => vue.unref(values).startedAt = $event)
@@ -13215,7 +13246,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
13215
13246
  }, null, 8, ["modelValue", "is-loading"]),
13216
13247
  vue.createElementVNode(
13217
13248
  "div",
13218
- _hoisted_8$7,
13249
+ _hoisted_9$7,
13219
13250
  vue.toDisplayString(duration.value),
13220
13251
  1
13221
13252
  /* TEXT */
@@ -13226,7 +13257,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
13226
13257
  }, 16, ["modelValue"])
13227
13258
  ])) : vue.createCommentVNode("v-if", true),
13228
13259
  vue.createCommentVNode(" TIMEOUT "),
13229
- vue.unref(values).type == "timeout" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$7, [
13260
+ vue.unref(values).type == "timeout" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_10$7, [
13230
13261
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
13231
13262
  modelValue: vue.unref(values).startedAt,
13232
13263
  "onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => vue.unref(values).startedAt = $event)
@@ -13267,7 +13298,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
13267
13298
  }, null, 8, ["modelValue", "is-loading"]),
13268
13299
  vue.createElementVNode(
13269
13300
  "div",
13270
- _hoisted_10$7,
13301
+ _hoisted_11$7,
13271
13302
  vue.toDisplayString(duration.value),
13272
13303
  1
13273
13304
  /* TEXT */
@@ -13296,7 +13327,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
13296
13327
  };
13297
13328
  }
13298
13329
  });
13299
- const AttendanceSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$Z, [["__scopeId", "data-v-ff0ad0fa"]]);
13330
+ const AttendanceSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$Z, [["__scopeId", "data-v-608a3ac5"]]);
13300
13331
  const _withScopeId$2 = (n) => (vue.pushScopeId("data-v-c329f979"), n = n(), vue.popScopeId(), n);
13301
13332
  const _hoisted_1$o = { id: "view-checkIns" };
13302
13333
  const _hoisted_2$h = { class: "summary" };
@@ -17752,10 +17783,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
17752
17783
  onSubmit: vue.unref(saveOne)
17753
17784
  }, {
17754
17785
  default: vue.withCtx(() => [
17755
- vue.createVNode(vue.unref(form.NeonFields), {
17756
- md: "grid-cols-4",
17757
- title: "Situasi"
17758
- }, {
17786
+ vue.createVNode(vue.unref(form.NeonFields), { title: "Situasi" }, {
17759
17787
  default: vue.withCtx(() => [
17760
17788
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
17761
17789
  modelValue: vue.unref(values).situationStatus,
@@ -17773,14 +17801,19 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
17773
17801
  vue.createVNode(vue.unref(office$1.OfficeRelation), {
17774
17802
  modelValue: vue.unref(values),
17775
17803
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.isRef(values) ? values.value = $event : null),
17776
- field: vue.unref(fields).situationType
17777
- }, null, 8, ["modelValue", "field"]),
17804
+ field: vue.unref(fields).situationType,
17805
+ query: vue.unref(query.Query).define({
17806
+ filter: {
17807
+ branchIds: { $in: vue.unref(values).branchIds }
17808
+ }
17809
+ })
17810
+ }, null, 8, ["modelValue", "field", "query"]),
17778
17811
  vue.createVNode(vue.unref(office$1.OfficeRelation), {
17779
17812
  modelValue: vue.unref(values),
17780
17813
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
17781
17814
  field: vue.unref(fields).situationReportedBy
17782
17815
  }, null, 8, ["modelValue", "field"]),
17783
- vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-4" }, {
17816
+ vue.createVNode(vue.unref(form.NeonFields), null, {
17784
17817
  default: vue.withCtx(() => [
17785
17818
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
17786
17819
  modelValue: vue.unref(values).situationDescription,
@@ -17790,7 +17823,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
17790
17823
  _: 1
17791
17824
  /* STABLE */
17792
17825
  }),
17793
- vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-4" }, {
17826
+ vue.createVNode(vue.unref(form.NeonFields), null, {
17794
17827
  default: vue.withCtx(() => [
17795
17828
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
17796
17829
  modelValue: vue.unref(values).urgentSituationDate,
@@ -17805,10 +17838,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
17805
17838
  "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.isRef(values) ? values.value = $event : null),
17806
17839
  field: vue.unref(fields).situationRelatedBy
17807
17840
  }, null, 8, ["modelValue", "field"]),
17808
- vue.createVNode(vue.unref(form.NeonFields), {
17809
- md: "grid-cols-4",
17810
- title: "Suportif"
17811
- }, {
17841
+ vue.createVNode(vue.unref(form.NeonFields), { title: "Suportif" }, {
17812
17842
  default: vue.withCtx(() => [
17813
17843
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
17814
17844
  modelValue: vue.unref(values).supportiveStatus,
@@ -17823,7 +17853,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
17823
17853
  "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.isRef(values) ? values.value = $event : null),
17824
17854
  field: vue.unref(fields).situationSupportedBy
17825
17855
  }, null, 8, ["modelValue", "field"]),
17826
- vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-4" }, {
17856
+ vue.createVNode(vue.unref(form.NeonFields), null, {
17827
17857
  default: vue.withCtx(() => [
17828
17858
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
17829
17859
  modelValue: vue.unref(values).situationResponse,
@@ -17902,7 +17932,7 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
17902
17932
  onSubmit: vue.unref(saveOne)
17903
17933
  }, {
17904
17934
  default: vue.withCtx(() => [
17905
- vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-4" }, {
17935
+ vue.createVNode(vue.unref(form.NeonFields), null, {
17906
17936
  default: vue.withCtx(() => [
17907
17937
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
17908
17938
  modelValue: vue.unref(values).situationTypeName,