@neutron.co.id/operasional-modules 1.12.25 → 1.12.27

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.
@@ -12,7 +12,11 @@ export const SubmissionCollectionView = ResourceUtil.createCollection({
12
12
  definition: "neu:personalia:submission",
13
13
  single: {
14
14
  peeks: ["page"]
15
- }
15
+ },
16
+ columns: [
17
+ "title"
18
+ ],
19
+ excludes: ["create", "click", "delete", "search", "sort", "filter", "openAsPage", "display"]
16
20
  });
17
21
  export const SubmissionSingleView = ResourceUtil.createSingle({
18
22
  name: "default",
@@ -509,11 +513,21 @@ export const SubmissionCollectionSupervisorView = ResourceUtil.createCollection(
509
513
  const { supervisedStaffIds } = useOperasionalStore();
510
514
  return Query.define({
511
515
  filter: [
512
- { handle: "followUpStaffIds", operator: "in", value: supervisedStaffIds },
516
+ {
517
+ handle: "followUpStaffIds",
518
+ operator: "in",
519
+ value: supervisedStaffIds
520
+ },
513
521
  {
514
522
  handle: "status",
515
523
  operator: "in",
516
- value: ["approved", "delay", "monitored", "discontinued", "resolved"]
524
+ value: [
525
+ "approved",
526
+ "delay",
527
+ "monitored",
528
+ "discontinued",
529
+ "resolved"
530
+ ]
517
531
  }
518
532
  ],
519
533
  sort: [{ handle: "createdAt", direction: "descending" }]
@@ -603,12 +617,7 @@ function getForDecisionActions() {
603
617
  return isNew.value || isChanged.value || values.value.status === "prepared" || values.value.status === "raised" || (values.value.agreedStaffIds?.includes(staff.value?.id || "") ?? false);
604
618
  });
605
619
  const goBack = () => {
606
- const referrer = document.referrer || "";
607
- if (referrer.includes("/neu-pengajuan")) {
608
- window.history.back();
609
- } else {
610
- window.location.reload();
611
- }
620
+ window.location.reload();
612
621
  };
613
622
  const syncDelay = async () => {
614
623
  await executeOne("delaySubmission", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neutron.co.id/operasional-modules",
3
- "version": "1.12.25",
3
+ "version": "1.12.27",
4
4
  "description": "Modules of Neutron Operasional.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "contributors": [
@@ -48,7 +48,7 @@
48
48
  "@neon.id/interfaces": "^1.57.0",
49
49
  "@neon.id/office": "1.46.0",
50
50
  "@neon.id/query": "^1.12.0",
51
- "@neutron.co.id/personalia-models": "1.13.22",
51
+ "@neutron.co.id/personalia-models": "1.13.23",
52
52
  "pretty-bytes": "^6.1.1",
53
53
  "vue": "^3.4.31"
54
54
  },
@@ -78,12 +78,12 @@
78
78
  "@neon.id/interfaces": "^1.57.0",
79
79
  "@neon.id/office": "1.46.0",
80
80
  "@neon.id/query": "^1.12.0",
81
- "@neutron.co.id/personalia-models": "1.13.22",
81
+ "@neutron.co.id/personalia-models": "1.13.23",
82
82
  "@nuxt/kit": "^3.12.3",
83
83
  "pretty-bytes": "^6.1.1"
84
84
  },
85
85
  "publishConfig": {
86
86
  "access": "public"
87
87
  },
88
- "build": 123
88
+ "build": 125
89
89
  }