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