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

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tsv2-library",
3
3
  "author": "fixedassetv2-fe",
4
- "version": "1.1.1-dev-alpha.10",
4
+ "version": "1.1.1-dev-alpha.12",
5
5
  "license": "ISC",
6
6
  "homepage": "https://github.com/fixedassetv2-fe/tsv2-library#readme",
7
7
  "repository": {
@@ -15,6 +15,7 @@ export type AssetFilterFields =
15
15
  | 'measurement'
16
16
  | 'lastScannedAt'
17
17
  | 'warrantyStatus'
18
+ | 'labelStatus'
18
19
  | 'customField';
19
20
 
20
21
  export interface AssetFilterQuery extends QueryParams {
@@ -32,6 +33,7 @@ export interface AssetFilterQuery extends QueryParams {
32
33
  group?: string[];
33
34
  lastScannedAt?: number[];
34
35
  linkedAssetCount?: number[];
36
+ labelStatus?: string[];
35
37
  }
36
38
 
37
39
  export interface AssetFilterProps {
@@ -1,6 +1,7 @@
1
1
  import { DefineComponent, Slot } from 'vue';
2
2
  import { FilterOption } from '@/types/filterOption.type';
3
3
  import { FilterField } from '@/types/filterField.type';
4
+ import { AssetColField } from 'v2/AssetTable/columns/assetColumns';
4
5
 
5
6
  export interface DialogSelectAssetFilterModels {
6
7
  assetName?: string[];
@@ -119,6 +120,7 @@ export interface Asset {
119
120
  assetImage?: 'string';
120
121
  image?: 'string';
121
122
  firstImage?: string;
123
+ labelStatus?: 'Printed' | 'Not Printed';
122
124
  }
123
125
 
124
126
  export type QueryParams = {
@@ -140,6 +142,10 @@ export interface DialogSelectAssetProps {
140
142
  * @default true
141
143
  */
142
144
  withButton?: boolean;
145
+ /**
146
+ * Define the columns to show
147
+ */
148
+ showColumns?: AssetColField[];
143
149
  /**
144
150
  * Dialog visibility model when not using default button.
145
151
  */
@@ -106,6 +106,7 @@ export type TSVueIcons =
106
106
  | 'pencil'
107
107
  | 'phone-line'
108
108
  | 'printer'
109
+ | 'price-tag-2-line'
109
110
  | 'price-tag-3-line'
110
111
  | 'pushpin-2-line'
111
112
  | 'pushpin-fill'