@neutron.co.id/operasional-interfaces 1.6.2 → 1.6.3

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.mjs CHANGED
@@ -21,7 +21,7 @@ import { ComponentUtil } from "@neon.id/utils/component";
21
21
  import Scanner from "qr-scanner";
22
22
  import { models as models$2 } from "@neutron.co.id/personalia-models";
23
23
  import { CatatSketchPad } from "@neon.id/catat-interfaces";
24
- const _hoisted_1$b = { class: "xxx-button" };
24
+ const _hoisted_1$d = { class: "xxx-button" };
25
25
  const _sfc_main$v = /* @__PURE__ */ defineComponent({
26
26
  ...{ name: "XxxButton" },
27
27
  __name: "XxxButton",
@@ -33,14 +33,14 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
33
33
  },
34
34
  setup(__props) {
35
35
  return (_ctx, _cache) => {
36
- return openBlock(), createElementBlock("div", _hoisted_1$b, [
36
+ return openBlock(), createElementBlock("div", _hoisted_1$d, [
37
37
  createVNode(unref(NeonButton), { label: "XXX" })
38
38
  ]);
39
39
  };
40
40
  }
41
41
  });
42
- const _hoisted_1$a = { class: "operasional-identitas" };
43
- const _hoisted_2$6 = {
42
+ const _hoisted_1$c = { class: "operasional-identitas" };
43
+ const _hoisted_2$8 = {
44
44
  key: 2,
45
45
  class: "section"
46
46
  };
@@ -299,7 +299,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
299
299
  candidateId.value = null;
300
300
  }
301
301
  return (_ctx, _cache) => {
302
- return openBlock(), createElementBlock("div", _hoisted_1$a, [
302
+ return openBlock(), createElementBlock("div", _hoisted_1$c, [
303
303
  state.value === "connect" ? (openBlock(), createBlock(unref(IdentitasConnect), {
304
304
  key: 0,
305
305
  user: user.value,
@@ -351,7 +351,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
351
351
  _: 1
352
352
  /* STABLE */
353
353
  }, 8, ["initial-values", "is-loading", "errors"])) : createCommentVNode("v-if", true),
354
- user.value && onDelegate ? (openBlock(), createElementBlock("div", _hoisted_2$6, [
354
+ user.value && onDelegate ? (openBlock(), createElementBlock("div", _hoisted_2$8, [
355
355
  createVNode(unref(NeonDivider), {
356
356
  "is-dashed": "",
357
357
  label: "Delegasi",
@@ -542,11 +542,11 @@ function mitt(n) {
542
542
  }
543
543
  const bus = mitt();
544
544
  const _withScopeId$2 = (n) => (pushScopeId("data-v-533df021"), n = n(), popScopeId(), n);
545
- const _hoisted_1$9 = { id: "view-checkIns" };
546
- const _hoisted_2$5 = { class: "summary" };
547
- const _hoisted_3$1 = { class: "wrapper" };
548
- const _hoisted_4$1 = { class: "header" };
549
- const _hoisted_5 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode(
545
+ const _hoisted_1$b = { id: "view-checkIns" };
546
+ const _hoisted_2$7 = { class: "summary" };
547
+ const _hoisted_3$3 = { class: "wrapper" };
548
+ const _hoisted_4$2 = { class: "header" };
549
+ const _hoisted_5$1 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode(
550
550
  "div",
551
551
  { class: "start" },
552
552
  [
@@ -698,14 +698,14 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
698
698
  return (_ctx, _cache) => {
699
699
  const _component_CheckInSingleExternalView = resolveComponent("CheckInSingleExternalView");
700
700
  const _component_CheckInCollection = resolveComponent("CheckInCollection");
701
- return openBlock(), createElementBlock("div", _hoisted_1$9, [
701
+ return openBlock(), createElementBlock("div", _hoisted_1$b, [
702
702
  createVNode(unref(OfficeContent), {
703
703
  icon: "barcode-read",
704
704
  title: "Presensi",
705
705
  "is-expanded": ""
706
706
  }, {
707
707
  "header-detail": withCtx(() => [
708
- createElementVNode("div", _hoisted_2$5, [
708
+ createElementVNode("div", _hoisted_2$7, [
709
709
  createVNode(unref(NeonSlider), {
710
710
  "per-view": 2,
711
711
  gap: 16,
@@ -819,7 +819,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
819
819
  ])
820
820
  ]),
821
821
  default: withCtx(() => [
822
- createElementVNode("div", _hoisted_3$1, [
822
+ createElementVNode("div", _hoisted_3$3, [
823
823
  createVNode(unref(NeonCollectionContext), {
824
824
  definition: "neu:tempat:checkIn",
825
825
  scope: "_checkIns",
@@ -834,8 +834,8 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
834
834
  "is-main": ""
835
835
  }, {
836
836
  default: withCtx(() => [
837
- createElementVNode("div", _hoisted_4$1, [
838
- _hoisted_5,
837
+ createElementVNode("div", _hoisted_4$2, [
838
+ _hoisted_5$1,
839
839
  createElementVNode("div", _hoisted_6, [
840
840
  createVNode(unref(OfficeCollectionQuery), { displays: ["table"] }, {
841
841
  default: withCtx(() => [
@@ -863,7 +863,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
863
863
  });
864
864
  const CheckInPresenceCollection_vue_vue_type_style_index_0_scoped_533df021_lang = "";
865
865
  const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-533df021"]]);
866
- const _hoisted_1$8 = { class: "grid gap-4 sm:grid-cols-2" };
866
+ const _hoisted_1$a = { class: "grid gap-4 sm:grid-cols-2" };
867
867
  const _sfc_main$s = /* @__PURE__ */ defineComponent({
868
868
  __name: "CheckInSingle",
869
869
  setup(__props) {
@@ -922,7 +922,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
922
922
  field: unref(fields).building,
923
923
  "is-disabled": ""
924
924
  }, null, 8, ["modelValue", "field"]),
925
- createElementVNode("div", _hoisted_1$8, [
925
+ createElementVNode("div", _hoisted_1$a, [
926
926
  createVNode(unref(NeonField), mergeProps({
927
927
  modelValue: unref(values).type,
928
928
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(values).type = $event)
@@ -963,7 +963,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
963
963
  });
964
964
  const CheckInSingle_vue_vue_type_style_index_0_scoped_2e2803fb_lang = "";
965
965
  const CheckInSingle = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-2e2803fb"]]);
966
- const _hoisted_1$7 = { class: "grid gap-4 sm:grid-cols-2" };
966
+ const _hoisted_1$9 = { class: "grid gap-4 sm:grid-cols-2" };
967
967
  const _sfc_main$r = /* @__PURE__ */ defineComponent({
968
968
  __name: "CheckInExternal",
969
969
  setup(__props) {
@@ -1030,7 +1030,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
1030
1030
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(values) ? values.value = $event : null),
1031
1031
  field: unref(fields).building
1032
1032
  }, null, 8, ["modelValue", "field"])) : createCommentVNode("v-if", true),
1033
- createElementVNode("div", _hoisted_1$7, [
1033
+ createElementVNode("div", _hoisted_1$9, [
1034
1034
  createVNode(unref(NeonField), mergeProps({
1035
1035
  modelValue: unref(values).type,
1036
1036
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(values).type = $event)
@@ -1074,14 +1074,14 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
1074
1074
  const CheckInExternal_vue_vue_type_style_index_0_scoped_9c4a435e_lang = "";
1075
1075
  const CheckInExternal = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-9c4a435e"]]);
1076
1076
  const _withScopeId$1 = (n) => (pushScopeId("data-v-d23b6de5"), n = n(), popScopeId(), n);
1077
- const _hoisted_1$6 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode(
1077
+ const _hoisted_1$8 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode(
1078
1078
  "h4",
1079
1079
  { align: "center" },
1080
1080
  "Aktifkan kamera untuk scan QR Code",
1081
1081
  -1
1082
1082
  /* HOISTED */
1083
1083
  ));
1084
- const _hoisted_2$4 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode(
1084
+ const _hoisted_2$6 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode(
1085
1085
  "p",
1086
1086
  { align: "center" },
1087
1087
  [
@@ -1117,8 +1117,8 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
1117
1117
  onClose: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
1118
1118
  }, {
1119
1119
  default: withCtx(() => [
1120
- _hoisted_1$6,
1121
- _hoisted_2$4,
1120
+ _hoisted_1$8,
1121
+ _hoisted_2$6,
1122
1122
  createVNode(unref(NeonButton), {
1123
1123
  "is-full": "",
1124
1124
  size: "md",
@@ -1146,7 +1146,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
1146
1146
  });
1147
1147
  const CheckInAccess_vue_vue_type_style_index_0_scoped_d23b6de5_lang = "";
1148
1148
  const CheckInAccess = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-d23b6de5"]]);
1149
- const _hoisted_1$5 = { class: "buttons" };
1149
+ const _hoisted_1$7 = { class: "buttons" };
1150
1150
  const _sfc_main$p = /* @__PURE__ */ defineComponent({
1151
1151
  __name: "CheckInScanError",
1152
1152
  setup(__props) {
@@ -1160,7 +1160,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
1160
1160
  default: withCtx(() => [
1161
1161
  createVNode(unref(NeonSheet), null, {
1162
1162
  footer: withCtx(() => [
1163
- createElementVNode("div", _hoisted_1$5, [
1163
+ createElementVNode("div", _hoisted_1$7, [
1164
1164
  createVNode(unref(NeonButton), {
1165
1165
  "is-full": "",
1166
1166
  "is-rounded": "",
@@ -1195,22 +1195,22 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
1195
1195
  }
1196
1196
  });
1197
1197
  const _withScopeId = (n) => (pushScopeId("data-v-ef426ef3"), n = n(), popScopeId(), n);
1198
- const _hoisted_1$4 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
1198
+ const _hoisted_1$6 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
1199
1199
  "div",
1200
1200
  { class: "invalid-message" },
1201
1201
  "Invalid Code!",
1202
1202
  -1
1203
1203
  /* HOISTED */
1204
1204
  ));
1205
- const _hoisted_2$3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
1205
+ const _hoisted_2$5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
1206
1206
  "div",
1207
1207
  null,
1208
1208
  null,
1209
1209
  -1
1210
1210
  /* HOISTED */
1211
1211
  ));
1212
- const _hoisted_3 = ["onClick"];
1213
- const _hoisted_4 = { class: "mr-2 text-sm" };
1212
+ const _hoisted_3$2 = ["onClick"];
1213
+ const _hoisted_4$1 = { class: "mr-2 text-sm" };
1214
1214
  const _sfc_main$o = /* @__PURE__ */ defineComponent({
1215
1215
  __name: "CheckInScanner",
1216
1216
  emits: ["start", "stop", "scanned", "close"],
@@ -1356,15 +1356,15 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
1356
1356
  class: "inner",
1357
1357
  onClick: switchCamera
1358
1358
  }, [
1359
- _hoisted_1$4,
1360
- _hoisted_2$3,
1359
+ _hoisted_1$6,
1360
+ _hoisted_2$5,
1361
1361
  createElementVNode("div", {
1362
1362
  class: "button-switch",
1363
1363
  onClick: withModifiers(switchCamera, ["stop"])
1364
1364
  }, [
1365
1365
  createElementVNode(
1366
1366
  "div",
1367
- _hoisted_4,
1367
+ _hoisted_4$1,
1368
1368
  toDisplayString(currentCamera.value),
1369
1369
  1
1370
1370
  /* TEXT */
@@ -1375,7 +1375,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
1375
1375
  size: "sm",
1376
1376
  "is-disabled": !canSwitch.value
1377
1377
  }, null, 8, ["is-disabled"])
1378
- ], 8, _hoisted_3)
1378
+ ], 8, _hoisted_3$2)
1379
1379
  ])
1380
1380
  ],
1381
1381
  2
@@ -1394,7 +1394,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
1394
1394
  });
1395
1395
  const CheckInScanner_vue_vue_type_style_index_0_scoped_ef426ef3_lang = "";
1396
1396
  const CheckInScanner = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-ef426ef3"]]);
1397
- const _hoisted_1$3 = /* @__PURE__ */ createElementVNode(
1397
+ const _hoisted_1$5 = /* @__PURE__ */ createElementVNode(
1398
1398
  "h3",
1399
1399
  { align: "center" },
1400
1400
  "Presensi Berhasil!",
@@ -1421,7 +1421,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
1421
1421
  onClose: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
1422
1422
  }, {
1423
1423
  default: withCtx(() => [
1424
- _hoisted_1$3
1424
+ _hoisted_1$5
1425
1425
  ]),
1426
1426
  _: 1
1427
1427
  /* STABLE */
@@ -1470,8 +1470,8 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
1470
1470
  };
1471
1471
  }
1472
1472
  });
1473
- const _hoisted_1$2 = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
1474
- const _hoisted_2$2 = { class: "grid gap-4 sm:grid-cols-2" };
1473
+ const _hoisted_1$4 = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
1474
+ const _hoisted_2$4 = { class: "grid gap-4 sm:grid-cols-2" };
1475
1475
  const _sfc_main$k = /* @__PURE__ */ defineComponent({
1476
1476
  __name: "StaffSingle",
1477
1477
  setup(__props) {
@@ -1509,7 +1509,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
1509
1509
  onSubmit: unref(saveOne)
1510
1510
  }, {
1511
1511
  default: withCtx(() => [
1512
- createElementVNode("div", _hoisted_1$2, [
1512
+ createElementVNode("div", _hoisted_1$4, [
1513
1513
  createVNode(unref(NeonField), mergeProps({
1514
1514
  modelValue: unref(values).name,
1515
1515
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(values).name = $event)
@@ -1519,7 +1519,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
1519
1519
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(values).nik = $event)
1520
1520
  }, unref(fields).nik), null, 16, ["modelValue"])
1521
1521
  ]),
1522
- createElementVNode("div", _hoisted_2$2, [
1522
+ createElementVNode("div", _hoisted_2$4, [
1523
1523
  createVNode(unref(NeonField), mergeProps({
1524
1524
  modelValue: unref(values).birthPlace,
1525
1525
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => unref(values).birthPlace = $event)
@@ -1624,8 +1624,8 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
1624
1624
  });
1625
1625
  const StaffSingle_vue_vue_type_style_index_0_scoped_0cf4cd99_lang = "";
1626
1626
  const StaffSingle = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-0cf4cd99"]]);
1627
- const _hoisted_1$1 = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
1628
- const _hoisted_2$1 = { class: "grid gap-4 sm:grid-cols-2" };
1627
+ const _hoisted_1$3 = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
1628
+ const _hoisted_2$3 = { class: "grid gap-4 sm:grid-cols-2" };
1629
1629
  const _sfc_main$j = /* @__PURE__ */ defineComponent({
1630
1630
  __name: "StaffOperasional",
1631
1631
  setup(__props) {
@@ -1663,7 +1663,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
1663
1663
  onSubmit: unref(saveOne)
1664
1664
  }, {
1665
1665
  default: withCtx(() => [
1666
- createElementVNode("div", _hoisted_1$1, [
1666
+ createElementVNode("div", _hoisted_1$3, [
1667
1667
  createVNode(unref(NeonField), mergeProps({
1668
1668
  modelValue: unref(values).name,
1669
1669
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(values).name = $event)
@@ -1673,7 +1673,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
1673
1673
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(values).nik = $event)
1674
1674
  }, unref(fields).nik), null, 16, ["modelValue"])
1675
1675
  ]),
1676
- createElementVNode("div", _hoisted_2$1, [
1676
+ createElementVNode("div", _hoisted_2$3, [
1677
1677
  createVNode(unref(NeonField), mergeProps({
1678
1678
  modelValue: unref(values).birthPlace,
1679
1679
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => unref(values).birthPlace = $event)
@@ -2457,8 +2457,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
2457
2457
  }
2458
2458
  });
2459
2459
  const TaskModel = models$2.TaskModel;
2460
- const _hoisted_1 = { key: 0 };
2461
- const _hoisted_2 = { key: 1 };
2460
+ const _hoisted_1$2 = { key: 0 };
2461
+ const _hoisted_2$2 = { key: 1 };
2462
2462
  const _sfc_main$b = /* @__PURE__ */ defineComponent({
2463
2463
  ...{ name: "TaskWorkButton" },
2464
2464
  __name: "TaskWorkButton",
@@ -2552,7 +2552,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
2552
2552
  Fragment,
2553
2553
  null,
2554
2554
  [
2555
- onHandleTaskWork.value.onStartTaskWorking ? (openBlock(), createElementBlock("div", _hoisted_1, [
2555
+ onHandleTaskWork.value.onStartTaskWorking ? (openBlock(), createElementBlock("div", _hoisted_1$2, [
2556
2556
  createVNode(unref(NeonButton), {
2557
2557
  "is-rounded": true,
2558
2558
  size: "sm",
@@ -2562,7 +2562,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
2562
2562
  onClick: onClickHandlerStartTaskWork
2563
2563
  })
2564
2564
  ])) : createCommentVNode("v-if", true),
2565
- onHandleTaskWork.value.onFinishedTaskWorking ? (openBlock(), createElementBlock("div", _hoisted_2, [
2565
+ onHandleTaskWork.value.onFinishedTaskWorking ? (openBlock(), createElementBlock("div", _hoisted_2$2, [
2566
2566
  createVNode(unref(NeonButton), {
2567
2567
  "is-rounded": true,
2568
2568
  size: "sm",
@@ -3460,21 +3460,15 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
3460
3460
  createVNode(unref(NeonField), mergeProps({
3461
3461
  modelValue: unref(values).preparedAt,
3462
3462
  "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(values).preparedAt = $event)
3463
- }, unref(fields).preparedAt, {
3464
- "is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
3465
- }), null, 16, ["modelValue", "is-disabled"]),
3463
+ }, unref(fields).preparedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
3466
3464
  createVNode(unref(NeonField), mergeProps({
3467
3465
  modelValue: unref(values).raisedAt,
3468
3466
  "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(values).raisedAt = $event)
3469
- }, unref(fields).raisedAt, {
3470
- "is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
3471
- }), null, 16, ["modelValue", "is-disabled"]),
3467
+ }, unref(fields).raisedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
3472
3468
  createVNode(unref(NeonField), mergeProps({
3473
3469
  modelValue: unref(values).processedAt,
3474
3470
  "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => unref(values).processedAt = $event)
3475
- }, unref(fields).processedAt, {
3476
- "is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
3477
- }), null, 16, ["modelValue", "is-disabled"]),
3471
+ }, unref(fields).processedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
3478
3472
  createVNode(unref(NeonDivider), {
3479
3473
  "is-dashed": "",
3480
3474
  label: "Nominal"
@@ -3551,8 +3545,8 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
3551
3545
  };
3552
3546
  }
3553
3547
  });
3554
- const SubmissionStaff_vue_vue_type_style_index_0_scoped_af256a74_lang = "";
3555
- const SubmissionStaff = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-af256a74"]]);
3548
+ const SubmissionStaff_vue_vue_type_style_index_0_scoped_62cdd107_lang = "";
3549
+ const SubmissionStaff = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-62cdd107"]]);
3556
3550
  const _sfc_main$4 = /* @__PURE__ */ defineComponent({
3557
3551
  __name: "SubmissionFollowUp",
3558
3552
  setup(__props) {
@@ -3745,6 +3739,11 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
3745
3739
  });
3746
3740
  const SubmissionFollowUp_vue_vue_type_style_index_0_scoped_6fd14e52_lang = "";
3747
3741
  const SubmissionFollowUp = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-6fd14e52"]]);
3742
+ const _hoisted_1$1 = { class: "flex flex-wrap" };
3743
+ const _hoisted_2$1 = { class: "mt-2" };
3744
+ const _hoisted_3$1 = { class: "mt-2" };
3745
+ const _hoisted_4 = { class: "mt-2" };
3746
+ const _hoisted_5 = { class: "mt-2" };
3748
3747
  const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3749
3748
  __name: "SubmissionAudit",
3750
3749
  setup(__props) {
@@ -3849,8 +3848,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3849
3848
  onSubmit: unref(saveOne)
3850
3849
  }, {
3851
3850
  default: withCtx(() => [
3852
- createVNode(unref(NeonFields), { md: "grid-cols-4" }, {
3853
- default: withCtx(() => [
3851
+ createElementVNode("div", _hoisted_1$1, [
3852
+ createElementVNode("div", _hoisted_2$1, [
3854
3853
  unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
3855
3854
  input: withCtx(() => [
3856
3855
  createVNode(unref(NeonButton), {
@@ -3869,8 +3868,11 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3869
3868
  ]),
3870
3869
  _: 1
3871
3870
  /* STABLE */
3872
- })) : createCommentVNode("v-if", true),
3873
- unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 1 }, {
3871
+ })) : createCommentVNode("v-if", true)
3872
+ ]),
3873
+ createTextVNode("    "),
3874
+ createElementVNode("div", _hoisted_3$1, [
3875
+ unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
3874
3876
  input: withCtx(() => [
3875
3877
  createVNode(unref(NeonButton), {
3876
3878
  size: "md",
@@ -3888,8 +3890,11 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3888
3890
  ]),
3889
3891
  _: 1
3890
3892
  /* STABLE */
3891
- })) : createCommentVNode("v-if", true),
3892
- unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 2 }, {
3893
+ })) : createCommentVNode("v-if", true)
3894
+ ]),
3895
+ createTextVNode("    "),
3896
+ createElementVNode("div", _hoisted_4, [
3897
+ unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
3893
3898
  input: withCtx(() => [
3894
3899
  createVNode(unref(NeonButton), {
3895
3900
  size: "md",
@@ -3907,8 +3912,11 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3907
3912
  ]),
3908
3913
  _: 1
3909
3914
  /* STABLE */
3910
- })) : createCommentVNode("v-if", true),
3911
- unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 3 }, {
3915
+ })) : createCommentVNode("v-if", true)
3916
+ ]),
3917
+ createTextVNode("    "),
3918
+ createElementVNode("div", _hoisted_5, [
3919
+ unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
3912
3920
  input: withCtx(() => [
3913
3921
  createVNode(unref(NeonButton), {
3914
3922
  size: "md",
@@ -3927,10 +3935,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3927
3935
  _: 1
3928
3936
  /* STABLE */
3929
3937
  })) : createCommentVNode("v-if", true)
3930
- ]),
3931
- _: 1
3932
- /* STABLE */
3933
- }),
3938
+ ])
3939
+ ]),
3934
3940
  createVNode(unref(NeonField), mergeProps({
3935
3941
  modelValue: unref(values).title,
3936
3942
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(values).title = $event)
@@ -4001,21 +4007,15 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
4001
4007
  createVNode(unref(NeonField), mergeProps({
4002
4008
  modelValue: unref(values).preparedAt,
4003
4009
  "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(values).preparedAt = $event)
4004
- }, unref(fields).preparedAt, {
4005
- "is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
4006
- }), null, 16, ["modelValue", "is-disabled"]),
4010
+ }, unref(fields).preparedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
4007
4011
  createVNode(unref(NeonField), mergeProps({
4008
4012
  modelValue: unref(values).raisedAt,
4009
4013
  "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(values).raisedAt = $event)
4010
- }, unref(fields).raisedAt, {
4011
- "is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
4012
- }), null, 16, ["modelValue", "is-disabled"]),
4014
+ }, unref(fields).raisedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
4013
4015
  createVNode(unref(NeonField), mergeProps({
4014
4016
  modelValue: unref(values).processedAt,
4015
4017
  "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => unref(values).processedAt = $event)
4016
- }, unref(fields).processedAt, {
4017
- "is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
4018
- }), null, 16, ["modelValue", "is-disabled"]),
4018
+ }, unref(fields).processedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
4019
4019
  createVNode(unref(NeonDivider), {
4020
4020
  "is-dashed": "",
4021
4021
  label: "Nominal"
@@ -4092,8 +4092,11 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
4092
4092
  };
4093
4093
  }
4094
4094
  });
4095
- const SubmissionAudit_vue_vue_type_style_index_0_scoped_cf27d98b_lang = "";
4096
- const SubmissionAudit = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-cf27d98b"]]);
4095
+ const SubmissionAudit_vue_vue_type_style_index_0_scoped_1e7eba36_lang = "";
4096
+ const SubmissionAudit = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-1e7eba36"]]);
4097
+ const _hoisted_1 = { class: "flex flex-wrap" };
4098
+ const _hoisted_2 = { class: "mt-2" };
4099
+ const _hoisted_3 = { class: "mt-2" };
4097
4100
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
4098
4101
  __name: "SubmissionDecision",
4099
4102
  setup(__props) {
@@ -4157,21 +4160,23 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
4157
4160
  immediate: true
4158
4161
  }
4159
4162
  );
4160
- const syncDelay = () => {
4163
+ const syncDelay = async () => {
4161
4164
  var _a2;
4162
- executeOne("delaySubmission", {
4165
+ await executeOne("delaySubmission", {
4163
4166
  submissionId: id.value,
4164
4167
  staffId: (_a2 = staff.value) == null ? void 0 : _a2.id
4165
4168
  });
4166
- syncOne();
4169
+ await syncOne();
4170
+ window.location.href = "/pengajuan/waiting-decision-submission";
4167
4171
  };
4168
- const syncApproved = () => {
4172
+ const syncApproved = async () => {
4169
4173
  var _a2;
4170
- executeOne("approvedSubmission", {
4174
+ await executeOne("approvedSubmission", {
4171
4175
  submissionId: id.value,
4172
4176
  staffId: (_a2 = staff.value) == null ? void 0 : _a2.id
4173
4177
  });
4174
- syncOne();
4178
+ await syncOne();
4179
+ window.location.href = "/pengajuan/waiting-decision-submission";
4175
4180
  };
4176
4181
  const appStore = useAppStore();
4177
4182
  const objectDef = computed(
@@ -4198,50 +4203,57 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
4198
4203
  onSubmit: unref(saveOne)
4199
4204
  }, {
4200
4205
  default: withCtx(() => [
4201
- unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
4202
- input: withCtx(() => {
4203
- var _a2, _b;
4204
- return [
4205
- createVNode(unref(NeonButton), {
4206
- size: "md",
4207
- color: "danger",
4208
- "icon-left": "circle-stop",
4209
- "is-disabled": unref(isNew) || unref(values).status === "prepared" || unref(values).status === "raised" || ((_b = unref(values).delayStaffIds) == null ? void 0 : _b.includes(((_a2 = unref(staff)) == null ? void 0 : _a2.id) || "")) ? true : false,
4210
- onClick: syncDelay
4211
- }, {
4212
- default: withCtx(() => [
4213
- createTextVNode("Ditunda")
4214
- ]),
4215
- _: 1
4216
- /* STABLE */
4217
- }, 8, ["is-disabled"])
4218
- ];
4219
- }),
4220
- _: 1
4221
- /* STABLE */
4222
- })) : createCommentVNode("v-if", true),
4223
- unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 1 }, {
4224
- input: withCtx(() => {
4225
- var _a2, _b;
4226
- return [
4227
- createVNode(unref(NeonButton), {
4228
- size: "md",
4229
- color: "success",
4230
- "icon-left": "list-check",
4231
- "is-disabled": unref(isNew) || unref(values).status === "prepared" || unref(values).status === "raised" || ((_b = unref(values).agreedStaffIds) == null ? void 0 : _b.includes(((_a2 = unref(staff)) == null ? void 0 : _a2.id) || "")) ? true : false,
4232
- onClick: syncApproved
4233
- }, {
4234
- default: withCtx(() => [
4235
- createTextVNode("Disetujui")
4236
- ]),
4237
- _: 1
4238
- /* STABLE */
4239
- }, 8, ["is-disabled"])
4240
- ];
4241
- }),
4242
- _: 1
4243
- /* STABLE */
4244
- })) : createCommentVNode("v-if", true),
4206
+ createElementVNode("div", _hoisted_1, [
4207
+ createElementVNode("div", _hoisted_2, [
4208
+ unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
4209
+ input: withCtx(() => {
4210
+ var _a2, _b;
4211
+ return [
4212
+ createVNode(unref(NeonButton), {
4213
+ size: "md",
4214
+ color: "danger",
4215
+ "icon-left": "circle-stop",
4216
+ "is-disabled": unref(isNew) || unref(values).status === "prepared" || unref(values).status === "raised" || ((_b = unref(values).delayStaffIds) == null ? void 0 : _b.includes(((_a2 = unref(staff)) == null ? void 0 : _a2.id) || "")) ? true : false,
4217
+ onClick: syncDelay
4218
+ }, {
4219
+ default: withCtx(() => [
4220
+ createTextVNode("Ditunda")
4221
+ ]),
4222
+ _: 1
4223
+ /* STABLE */
4224
+ }, 8, ["is-disabled"])
4225
+ ];
4226
+ }),
4227
+ _: 1
4228
+ /* STABLE */
4229
+ })) : createCommentVNode("v-if", true)
4230
+ ]),
4231
+ createTextVNode("    "),
4232
+ createElementVNode("div", _hoisted_3, [
4233
+ unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
4234
+ input: withCtx(() => {
4235
+ var _a2, _b;
4236
+ return [
4237
+ createVNode(unref(NeonButton), {
4238
+ size: "md",
4239
+ color: "success",
4240
+ "icon-left": "list-check",
4241
+ "is-disabled": unref(isNew) || unref(values).status === "prepared" || unref(values).status === "raised" || ((_b = unref(values).agreedStaffIds) == null ? void 0 : _b.includes(((_a2 = unref(staff)) == null ? void 0 : _a2.id) || "")) ? true : false,
4242
+ onClick: syncApproved
4243
+ }, {
4244
+ default: withCtx(() => [
4245
+ createTextVNode("Disetujui")
4246
+ ]),
4247
+ _: 1
4248
+ /* STABLE */
4249
+ }, 8, ["is-disabled"])
4250
+ ];
4251
+ }),
4252
+ _: 1
4253
+ /* STABLE */
4254
+ })) : createCommentVNode("v-if", true)
4255
+ ])
4256
+ ]),
4245
4257
  createVNode(unref(NeonField), mergeProps({
4246
4258
  modelValue: unref(values).title,
4247
4259
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(values).title = $event)
@@ -4312,21 +4324,15 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
4312
4324
  createVNode(unref(NeonField), mergeProps({
4313
4325
  modelValue: unref(values).preparedAt,
4314
4326
  "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(values).preparedAt = $event)
4315
- }, unref(fields).preparedAt, {
4316
- "is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "delay" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
4317
- }), null, 16, ["modelValue", "is-disabled"]),
4327
+ }, unref(fields).preparedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
4318
4328
  createVNode(unref(NeonField), mergeProps({
4319
4329
  modelValue: unref(values).raisedAt,
4320
4330
  "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(values).raisedAt = $event)
4321
- }, unref(fields).raisedAt, {
4322
- "is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "delay" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
4323
- }), null, 16, ["modelValue", "is-disabled"]),
4331
+ }, unref(fields).raisedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
4324
4332
  createVNode(unref(NeonField), mergeProps({
4325
4333
  modelValue: unref(values).processedAt,
4326
4334
  "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => unref(values).processedAt = $event)
4327
- }, unref(fields).processedAt, {
4328
- "is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "delay" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
4329
- }), null, 16, ["modelValue", "is-disabled"]),
4335
+ }, unref(fields).processedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
4330
4336
  createVNode(unref(NeonDivider), {
4331
4337
  "is-dashed": "",
4332
4338
  label: "Nominal"
@@ -4403,8 +4409,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
4403
4409
  };
4404
4410
  }
4405
4411
  });
4406
- const SubmissionDecision_vue_vue_type_style_index_0_scoped_17856177_lang = "";
4407
- const SubmissionDecision = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-17856177"]]);
4412
+ const SubmissionDecision_vue_vue_type_style_index_0_scoped_845d6773_lang = "";
4413
+ const SubmissionDecision = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-845d6773"]]);
4408
4414
  const SubmissionTypeModel = models$2.SubmissionTypeModel;
4409
4415
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
4410
4416
  ...{