tsv2-library 1.0.61-beta.52 → 1.0.61-beta.53
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/dist/src/components/v2/AssetTable/AssetFilters.vue.d.ts +0 -2
- package/dist/src/types/assets.type.d.ts +23 -16
- package/dist/src/utils/textFormater.util.d.ts +2 -2
- package/dist/tsv2-library.es.js +1371 -1305
- package/dist/tsv2-library.umd.js +7 -7
- package/package.json +1 -1
- package/src/components/v2/AssetTable/AssetFilters.vue.d.ts +0 -2
|
@@ -117,34 +117,41 @@ export interface AssetCoordinate {
|
|
|
117
117
|
latitude: number;
|
|
118
118
|
}
|
|
119
119
|
export interface AssetGroup {
|
|
120
|
-
_id
|
|
121
|
-
name
|
|
122
|
-
fullPath
|
|
123
|
-
code
|
|
120
|
+
_id?: string;
|
|
121
|
+
name?: string;
|
|
122
|
+
fullPath?: string;
|
|
123
|
+
code?: string;
|
|
124
124
|
}
|
|
125
125
|
export interface AssetTableData {
|
|
126
126
|
_id: string;
|
|
127
127
|
assetImage?: string;
|
|
128
|
-
name
|
|
128
|
+
name?: AssetName;
|
|
129
129
|
aliasName?: string;
|
|
130
|
-
assetId
|
|
131
|
-
assetStatus
|
|
132
|
-
group
|
|
133
|
-
brand
|
|
134
|
-
model
|
|
135
|
-
category
|
|
136
|
-
tagType
|
|
137
|
-
measurement
|
|
130
|
+
assetId?: string;
|
|
131
|
+
assetStatus?: string;
|
|
132
|
+
group?: AssetGroup;
|
|
133
|
+
brand?: AssetFieldObject;
|
|
134
|
+
model?: AssetFieldObject;
|
|
135
|
+
category?: AssetFieldObject;
|
|
136
|
+
tagType?: string;
|
|
137
|
+
measurement?: AssetFieldObject;
|
|
138
138
|
maintenanceStatus?: string;
|
|
139
139
|
auditStatus?: string;
|
|
140
|
-
transactions
|
|
140
|
+
transactions?: TransactionPolicyType;
|
|
141
141
|
coordinates?: AssetCoordinate;
|
|
142
142
|
address?: string;
|
|
143
|
-
warrantyStatus
|
|
143
|
+
warrantyStatus?: string;
|
|
144
144
|
lastScannedAt?: string;
|
|
145
|
-
linkedAssetCount
|
|
145
|
+
linkedAssetCount?: number;
|
|
146
146
|
purchaseDate?: string;
|
|
147
147
|
purchase?: AssetPurchase;
|
|
148
148
|
customFields?: Record<string, AssetCustomField>;
|
|
149
149
|
assetValues?: Record<string, AssetValue>;
|
|
150
150
|
}
|
|
151
|
+
export interface AssetTableDataPrint extends Omit<AssetTableData, 'coordinates' | 'linkedAssetCount' | 'transactions'> {
|
|
152
|
+
coordinates?: string;
|
|
153
|
+
maintenanceAuditStatus?: ('In Maintenance' | 'In Audit' | 'None')[];
|
|
154
|
+
linkedAssetCount?: string;
|
|
155
|
+
transactions?: number;
|
|
156
|
+
rawTransactions?: TransactionPolicyType;
|
|
157
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Asset, AssetTableData } from '../types/assets.type';
|
|
2
|
-
export declare const formatAssetValue: (each: AssetTableData) =>
|
|
1
|
+
import { Asset, AssetTableData, AssetTableDataPrint } from '../types/assets.type';
|
|
2
|
+
export declare const formatAssetValue: (each: AssetTableData) => AssetTableDataPrint;
|
|
3
3
|
export declare const formatVowelSoundLabel: (label?: string) => string;
|
|
4
4
|
export declare const formatUserName: (name?: string) => string;
|
|
5
5
|
export declare const formatTagCode: (tagCode?: string) => string;
|