@neutron.co.id/operasional-interfaces 1.17.34 → 1.17.35

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.
@@ -44,46 +44,55 @@ const actions = {
44
44
  iconLeft: 'pen-line',
45
45
  label: 'Disiapkan',
46
46
  color: 'base',
47
+ value: 'prepared',
47
48
  },
48
49
  raised: {
49
50
  iconLeft: 'arrow-up-from-line',
50
51
  label: 'Dinaikkan',
51
52
  color: 'dark',
53
+ value: 'raised',
52
54
  },
53
55
  waitForAudit: {
54
56
  label: 'Menunggu Pengawas Lain',
55
57
  color: '#57452fff',
56
58
  iconLeft: 'hourglass',
59
+ value: 'waitForAudit',
57
60
  },
58
61
  processed: {
59
62
  iconLeft: 'spinner',
60
63
  label: 'Diproses',
61
64
  color: 'warning',
65
+ value: 'processed',
62
66
  },
63
67
  delay: {
64
68
  iconLeft: 'circle-stop',
65
69
  label: 'Ditunda',
66
70
  color: 'danger',
71
+ value: 'delay',
67
72
  },
68
73
  approved: {
69
74
  iconLeft: 'list-check',
70
75
  label: 'Disetujui',
71
76
  color: 'success',
77
+ value: 'approved',
72
78
  },
73
79
  monitored: {
74
80
  iconLeft: 'binoculars',
75
81
  label: 'Dipantau',
76
82
  color: 'info',
83
+ value: 'monitored',
77
84
  },
78
85
  discontinued: {
79
86
  iconLeft: 'ban',
80
87
  label: 'Dihentikan',
81
88
  color: 'danger',
89
+ value: 'discontinued',
82
90
  },
83
91
  resolved: {
84
92
  iconLeft: 'file-check',
85
93
  label: 'Diselesaikan',
86
94
  color: 'success',
95
+ value: 'resolved',
87
96
  },
88
97
  } as Record<string, any>
89
98
 
@@ -270,13 +279,13 @@ watch(
270
279
  :note="submissionNote"
271
280
  :is-saving="isSaving"
272
281
  :is-disabled="
273
- values.status === 'processed' ||
274
- values.status === 'waitForAudit' ||
275
- values.status === 'approved' ||
276
- values.status === 'delay' ||
277
- values.status === 'monitored' ||
278
- values.status === 'discontinued' ||
279
- values.status === 'resolved' ||
282
+ status?.value === 'processed' ||
283
+ status?.value === 'waitForAudit' ||
284
+ status?.value === 'approved' ||
285
+ status?.value === 'delay' ||
286
+ status?.value === 'monitored' ||
287
+ status?.value === 'discontinued' ||
288
+ status?.value === 'resolved' ||
280
289
  isLoading ||
281
290
  isGetLoading
282
291
  "
@@ -24857,47 +24857,56 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
24857
24857
  prepared: {
24858
24858
  iconLeft: "pen-line",
24859
24859
  label: "Disiapkan",
24860
- color: "base"
24860
+ color: "base",
24861
+ value: "prepared"
24861
24862
  },
24862
24863
  raised: {
24863
24864
  iconLeft: "arrow-up-from-line",
24864
24865
  label: "Dinaikkan",
24865
- color: "dark"
24866
+ color: "dark",
24867
+ value: "raised"
24866
24868
  },
24867
24869
  waitForAudit: {
24868
24870
  label: "Menunggu Pengawas Lain",
24869
24871
  color: "#57452fff",
24870
- iconLeft: "hourglass"
24872
+ iconLeft: "hourglass",
24873
+ value: "waitForAudit"
24871
24874
  },
24872
24875
  processed: {
24873
24876
  iconLeft: "spinner",
24874
24877
  label: "Diproses",
24875
- color: "warning"
24878
+ color: "warning",
24879
+ value: "processed"
24876
24880
  },
24877
24881
  delay: {
24878
24882
  iconLeft: "circle-stop",
24879
24883
  label: "Ditunda",
24880
- color: "danger"
24884
+ color: "danger",
24885
+ value: "delay"
24881
24886
  },
24882
24887
  approved: {
24883
24888
  iconLeft: "list-check",
24884
24889
  label: "Disetujui",
24885
- color: "success"
24890
+ color: "success",
24891
+ value: "approved"
24886
24892
  },
24887
24893
  monitored: {
24888
24894
  iconLeft: "binoculars",
24889
24895
  label: "Dipantau",
24890
- color: "info"
24896
+ color: "info",
24897
+ value: "monitored"
24891
24898
  },
24892
24899
  discontinued: {
24893
24900
  iconLeft: "ban",
24894
24901
  label: "Dihentikan",
24895
- color: "danger"
24902
+ color: "danger",
24903
+ value: "discontinued"
24896
24904
  },
24897
24905
  resolved: {
24898
24906
  iconLeft: "file-check",
24899
24907
  label: "Diselesaikan",
24900
- color: "success"
24908
+ color: "success",
24909
+ value: "resolved"
24901
24910
  }
24902
24911
  };
24903
24912
  const status = vue.computed(() => {
@@ -25014,7 +25023,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
25014
25023
  { immediate: true }
25015
25024
  );
25016
25025
  return (_ctx, _cache) => {
25017
- var _a, _b, _c, _d, _e;
25026
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
25018
25027
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$7, [
25019
25028
  vue.createVNode(vue.unref(interfaces.NeonLabel), {
25020
25029
  text: (_a = status.value) == null ? void 0 : _a.label,
@@ -25051,13 +25060,13 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
25051
25060
  "submission-id": ((_d = vue.unref(values)) == null ? void 0 : _d.id) || "",
25052
25061
  note: submissionNote.value,
25053
25062
  "is-saving": isSaving.value,
25054
- "is-disabled": vue.unref(values).status === "processed" || vue.unref(values).status === "waitForAudit" || vue.unref(values).status === "approved" || vue.unref(values).status === "delay" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved" || vue.unref(isLoading) || isGetLoading.value,
25063
+ "is-disabled": ((_e = status.value) == null ? void 0 : _e.value) === "processed" || ((_f = status.value) == null ? void 0 : _f.value) === "waitForAudit" || ((_g = status.value) == null ? void 0 : _g.value) === "approved" || ((_h = status.value) == null ? void 0 : _h.value) === "delay" || ((_i = status.value) == null ? void 0 : _i.value) === "monitored" || ((_j = status.value) == null ? void 0 : _j.value) === "discontinued" || ((_k = status.value) == null ? void 0 : _k.value) === "resolved" || vue.unref(isLoading) || isGetLoading.value,
25055
25064
  onSave: createNote,
25056
25065
  onClose: _cache[2] || (_cache[2] = ($event) => isModalOpen.value = false)
25057
25066
  }, null, 8, ["is-active", "submission-id", "note", "is-saving", "is-disabled"]),
25058
25067
  vue.createVNode(SubmissionNoteViewModal, {
25059
25068
  "is-active": isViewModalOpen.value,
25060
- "submission-id": ((_e = vue.unref(values)) == null ? void 0 : _e.id) || "",
25069
+ "submission-id": ((_l = vue.unref(values)) == null ? void 0 : _l.id) || "",
25061
25070
  notes: submissionNotes.value,
25062
25071
  onClose: _cache[3] || (_cache[3] = ($event) => isViewModalOpen.value = false)
25063
25072
  }, null, 8, ["is-active", "submission-id", "notes"])
@@ -25065,7 +25074,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
25065
25074
  };
25066
25075
  }
25067
25076
  });
25068
- const SubmissionAction = /* @__PURE__ */ _export_sfc$1(_sfc_main$u, [["__scopeId", "data-v-c9282109"]]);
25077
+ const SubmissionAction = /* @__PURE__ */ _export_sfc$1(_sfc_main$u, [["__scopeId", "data-v-0f18839b"]]);
25069
25078
  const _hoisted_1$6 = { class: "submission-single-actions" };
25070
25079
  const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
25071
25080
  ...{ name: "SubmissionActionDecision" },
@@ -24838,47 +24838,56 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
24838
24838
  prepared: {
24839
24839
  iconLeft: "pen-line",
24840
24840
  label: "Disiapkan",
24841
- color: "base"
24841
+ color: "base",
24842
+ value: "prepared"
24842
24843
  },
24843
24844
  raised: {
24844
24845
  iconLeft: "arrow-up-from-line",
24845
24846
  label: "Dinaikkan",
24846
- color: "dark"
24847
+ color: "dark",
24848
+ value: "raised"
24847
24849
  },
24848
24850
  waitForAudit: {
24849
24851
  label: "Menunggu Pengawas Lain",
24850
24852
  color: "#57452fff",
24851
- iconLeft: "hourglass"
24853
+ iconLeft: "hourglass",
24854
+ value: "waitForAudit"
24852
24855
  },
24853
24856
  processed: {
24854
24857
  iconLeft: "spinner",
24855
24858
  label: "Diproses",
24856
- color: "warning"
24859
+ color: "warning",
24860
+ value: "processed"
24857
24861
  },
24858
24862
  delay: {
24859
24863
  iconLeft: "circle-stop",
24860
24864
  label: "Ditunda",
24861
- color: "danger"
24865
+ color: "danger",
24866
+ value: "delay"
24862
24867
  },
24863
24868
  approved: {
24864
24869
  iconLeft: "list-check",
24865
24870
  label: "Disetujui",
24866
- color: "success"
24871
+ color: "success",
24872
+ value: "approved"
24867
24873
  },
24868
24874
  monitored: {
24869
24875
  iconLeft: "binoculars",
24870
24876
  label: "Dipantau",
24871
- color: "info"
24877
+ color: "info",
24878
+ value: "monitored"
24872
24879
  },
24873
24880
  discontinued: {
24874
24881
  iconLeft: "ban",
24875
24882
  label: "Dihentikan",
24876
- color: "danger"
24883
+ color: "danger",
24884
+ value: "discontinued"
24877
24885
  },
24878
24886
  resolved: {
24879
24887
  iconLeft: "file-check",
24880
24888
  label: "Diselesaikan",
24881
- color: "success"
24889
+ color: "success",
24890
+ value: "resolved"
24882
24891
  }
24883
24892
  };
24884
24893
  const status = computed(() => {
@@ -24995,7 +25004,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
24995
25004
  { immediate: true }
24996
25005
  );
24997
25006
  return (_ctx, _cache) => {
24998
- var _a, _b, _c, _d, _e;
25007
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
24999
25008
  return openBlock(), createElementBlock("div", _hoisted_1$7, [
25000
25009
  createVNode(unref(NeonLabel), {
25001
25010
  text: (_a = status.value) == null ? void 0 : _a.label,
@@ -25032,13 +25041,13 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
25032
25041
  "submission-id": ((_d = unref(values)) == null ? void 0 : _d.id) || "",
25033
25042
  note: submissionNote.value,
25034
25043
  "is-saving": isSaving.value,
25035
- "is-disabled": unref(values).status === "processed" || unref(values).status === "waitForAudit" || unref(values).status === "approved" || unref(values).status === "delay" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved" || unref(isLoading) || isGetLoading.value,
25044
+ "is-disabled": ((_e = status.value) == null ? void 0 : _e.value) === "processed" || ((_f = status.value) == null ? void 0 : _f.value) === "waitForAudit" || ((_g = status.value) == null ? void 0 : _g.value) === "approved" || ((_h = status.value) == null ? void 0 : _h.value) === "delay" || ((_i = status.value) == null ? void 0 : _i.value) === "monitored" || ((_j = status.value) == null ? void 0 : _j.value) === "discontinued" || ((_k = status.value) == null ? void 0 : _k.value) === "resolved" || unref(isLoading) || isGetLoading.value,
25036
25045
  onSave: createNote,
25037
25046
  onClose: _cache[2] || (_cache[2] = ($event) => isModalOpen.value = false)
25038
25047
  }, null, 8, ["is-active", "submission-id", "note", "is-saving", "is-disabled"]),
25039
25048
  createVNode(SubmissionNoteViewModal, {
25040
25049
  "is-active": isViewModalOpen.value,
25041
- "submission-id": ((_e = unref(values)) == null ? void 0 : _e.id) || "",
25050
+ "submission-id": ((_l = unref(values)) == null ? void 0 : _l.id) || "",
25042
25051
  notes: submissionNotes.value,
25043
25052
  onClose: _cache[3] || (_cache[3] = ($event) => isViewModalOpen.value = false)
25044
25053
  }, null, 8, ["is-active", "submission-id", "notes"])
@@ -25046,7 +25055,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
25046
25055
  };
25047
25056
  }
25048
25057
  });
25049
- const SubmissionAction = /* @__PURE__ */ _export_sfc$1(_sfc_main$u, [["__scopeId", "data-v-c9282109"]]);
25058
+ const SubmissionAction = /* @__PURE__ */ _export_sfc$1(_sfc_main$u, [["__scopeId", "data-v-0f18839b"]]);
25050
25059
  const _hoisted_1$6 = { class: "submission-single-actions" };
25051
25060
  const _sfc_main$t = /* @__PURE__ */ defineComponent({
25052
25061
  ...{ name: "SubmissionActionDecision" },
@@ -607,7 +607,7 @@
607
607
  color: rgb(113 113 122 / var(--tw-text-opacity))
608
608
  }
609
609
 
610
- .submission-single-actions[data-v-c9282109] {
610
+ .submission-single-actions[data-v-0f18839b] {
611
611
 
612
612
  margin-right: 0.25rem;
613
613
 
@@ -617,7 +617,7 @@
617
617
 
618
618
  align-items: center
619
619
  }
620
- .submission-single-actions[data-v-c9282109] > :not([hidden]) ~ :not([hidden]) {
620
+ .submission-single-actions[data-v-0f18839b] > :not([hidden]) ~ :not([hidden]) {
621
621
 
622
622
  --tw-space-x-reverse: 0;
623
623
 
@@ -625,7 +625,7 @@
625
625
 
626
626
  margin-left: calc(0.25rem * calc(1 - var(--tw-space-x-reverse)))
627
627
  }
628
- .submission-single-actions .publication[data-v-c9282109] {
628
+ .submission-single-actions .publication[data-v-0f18839b] {
629
629
 
630
630
  display: flex;
631
631
 
@@ -633,19 +633,19 @@
633
633
 
634
634
  border-radius: 0.75rem
635
635
  }
636
- .submission-single-actions .publication .neon-label[data-v-c9282109] {
636
+ .submission-single-actions .publication .neon-label[data-v-0f18839b] {
637
637
 
638
638
  pointer-events: none;
639
639
 
640
640
  border-radius: 0px
641
641
  }
642
- .submission-single-actions .publication .neon-label[data-v-c9282109]:first-child {
642
+ .submission-single-actions .publication .neon-label[data-v-0f18839b]:first-child {
643
643
 
644
644
  border-top-left-radius: 0.75rem;
645
645
 
646
646
  border-bottom-left-radius: 0.75rem
647
647
  }
648
- .submission-single-actions .publication .neon-label[data-v-c9282109]:last-child {
648
+ .submission-single-actions .publication .neon-label[data-v-0f18839b]:last-child {
649
649
 
650
650
  border-top-right-radius: 0.75rem;
651
651
 
package/build/module.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "1.17.34",
7
+ "version": "1.17.35",
8
8
  "builder": {
9
9
  "@neon.id/module-builder": "1.8.0",
10
10
  "unbuild": "2.0.0"
package/build/nuxt.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "1.17.34",
7
+ "version": "1.17.35",
8
8
  "builder": {
9
9
  "@neon.id/module-builder": "1.8.0",
10
10
  "unbuild": "2.0.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neutron.co.id/operasional-interfaces",
3
- "version": "1.17.34",
3
+ "version": "1.17.35",
4
4
  "description": "Interface library of Neutron Operasional.",
5
5
  "sideEffects": [
6
6
  "*.css"
@@ -78,7 +78,7 @@
78
78
  "@neon.id/nuxt": "^1.5.0",
79
79
  "@neon.id/office": "1.46.0",
80
80
  "@neon.id/utils": "^1.51.0",
81
- "@neutron.co.id/operasional-modules": "1.12.28",
81
+ "@neutron.co.id/operasional-modules": "1.12.29",
82
82
  "@neutron.co.id/personalia-models": "1.13.29",
83
83
  "@nuxt/kit": "^3.12.3",
84
84
  "file-saver": "^2.0.5",
@@ -153,7 +153,7 @@
153
153
  "@neon.id/nuxt": "^1.5.0",
154
154
  "@neon.id/office": "1.46.0",
155
155
  "@neon.id/utils": "^1.51.0",
156
- "@neutron.co.id/operasional-modules": "1.12.28",
156
+ "@neutron.co.id/operasional-modules": "1.12.29",
157
157
  "@neutron.co.id/personalia-models": "1.13.29",
158
158
  "@nuxt/kit": "^3.12.3",
159
159
  "file-saver": "^2.0.5",
@@ -164,5 +164,5 @@
164
164
  "publishConfig": {
165
165
  "access": "public"
166
166
  },
167
- "build": 216
167
+ "build": 217
168
168
  }