tsv2-library 1.0.61-alpha.11 → 1.0.61-alpha.13

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.
@@ -1,9 +1,14 @@
1
1
  import type { PropType as __PropType } from 'vue';
2
+ import { ReportSourceType } from '../../../dto/missing.dto';
2
3
  declare const _sfc_main: import("vue").DefineComponent<{
3
4
  id: {
4
5
  type: __PropType<string>;
5
6
  required: true;
6
7
  };
8
+ reportSource: {
9
+ type: __PropType<ReportSourceType>;
10
+ required: true;
11
+ };
7
12
  trackingId: {
8
13
  type: __PropType<string | undefined>;
9
14
  required: false;
@@ -38,6 +43,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
38
43
  type: __PropType<string>;
39
44
  required: true;
40
45
  };
46
+ reportSource: {
47
+ type: __PropType<ReportSourceType>;
48
+ required: true;
49
+ };
41
50
  trackingId: {
42
51
  type: __PropType<string | undefined>;
43
52
  required: false;
@@ -1,3 +1,5 @@
1
1
  export type ReportMissingBody = {
2
2
  notes: string;
3
+ reportSource: ReportSourceType;
3
4
  };
5
+ export type ReportSourceType = 'Available Asset' | 'Audit Asset' | 'Borrowed Asset' | 'Assigned Asset' | 'Tracking Asset' | 'Maintenance Asset';
@@ -14,7 +14,7 @@ export default {
14
14
  }),
15
15
  container: ({ props }) => ({
16
16
  class: [
17
- 'border-0 border-l-4 mt-6',
17
+ 'border-l-4 mt-6',
18
18
  'rounded-[7px] w-full',
19
19
  'shadow-lg',
20
20
  // Colors
@@ -14966,7 +14966,7 @@ const gne = {
14966
14966
  }),
14967
14967
  container: ({ props: e }) => ({
14968
14968
  class: [
14969
- "border-0 border-l-4 mt-6",
14969
+ "border-l-4 mt-6",
14970
14970
  "rounded-[7px] w-full",
14971
14971
  "shadow-lg",
14972
14972
  // Colors
@@ -72507,6 +72507,7 @@ const Ip = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOgAAAAqCAYAAAC5iRfHAA
72507
72507
  __name: "DialogReportMissing",
72508
72508
  props: {
72509
72509
  id: {},
72510
+ reportSource: {},
72510
72511
  trackingId: {},
72511
72512
  visible: { type: Boolean },
72512
72513
  permanentlyMissing: { type: Boolean },
@@ -72524,7 +72525,8 @@ const Ip = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOgAAAAqCAYAAAC5iRfHAA
72524
72525
  try {
72525
72526
  n(!0);
72526
72527
  const m = {
72527
- notes: h.formValues.notes
72528
+ notes: h.formValues.notes,
72529
+ reportSource: i.reportSource
72528
72530
  }, p = i.permanentlyMissing ? "Success, asset has been reported as permanently missing." : "Success, missing asset has been reported.";
72529
72531
  if (i.submitWithoutApi)
72530
72532
  r.add({ message: i.successMessage ?? p }), a("reported", m), a("update:visible", !1);