tsv2-library 1.1.1-dev-alpha.9 → 1.1.1-dev-alpha.10

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,12 +12,21 @@ export type Label = {
12
12
  * Props for DialogSelectAsset component
13
13
  */
14
14
  export interface DialogPrintLabelProps {
15
- selectedData: Partial<
16
- Pick<AssetTableData, 'name' | 'category' | 'purchaseDate'>
15
+ selectedData: Pick<
16
+ AssetTableData,
17
+ '_id' | 'name' | 'category' | 'purchaseDate'
17
18
  >[];
18
19
  visible: boolean;
19
20
  }
20
21
 
22
+ /**
23
+ * Emits for DialogSelectAsset component
24
+ */
25
+ export type DialogPrintLabelEmits = {
26
+ 'printed': [];
27
+ 'update:visible': [state: boolean];
28
+ };
29
+
21
30
  /**
22
31
  * TSVue - DialogPrintLabel
23
32
  *
@@ -4,6 +4,8 @@ export type TransactionRoles = Addon & {
4
4
  transfer: boolean;
5
5
  disposal: boolean;
6
6
  registration: boolean;
7
+ damage: boolean;
8
+ missing: boolean;
7
9
  };
8
10
 
9
11
  export type Addon = {
@@ -26,5 +26,6 @@ declare const _default: {
26
26
  }) | undefined) => Promise<AxiosResponse<any, any, {}>>;
27
27
  scanAsset: (tag: string) => Promise<AxiosResponse<any, any, {}>>;
28
28
  getAssetMaps: (params?: GetAssetMapParams | undefined) => Promise<AxiosResponse<GetAssetMapResponse, any, {}>>;
29
+ printLabel: (assets: string[]) => Promise<AxiosResponse<any, any, {}>>;
29
30
  };
30
31
  export default _default;