tsv2-library 1.0.61-alpha.116 → 1.0.61-alpha.118
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/TransactionRoles/TransactionRoles.vue.d.ts +1 -0
- package/dist/src/dto/assets.dto.d.ts +1 -0
- package/dist/src/presets/paginator/index.js +1 -1
- package/dist/src/types/assets.type.d.ts +1 -0
- package/dist/src/utils/index.d.ts +2 -2
- package/dist/src/utils/textFormater.util.d.ts +3 -0
- package/dist/style.css +1 -1
- package/dist/tsv2-library.es.js +69 -35
- package/dist/tsv2-library.umd.js +7 -7
- package/package.json +1 -1
- package/src/components/v2/TransactionRoles/TransactionRoles.vue.d.ts +1 -0
- package/src/presets/paginator/index.js +1 -1
|
@@ -9,6 +9,7 @@ export type GetAllAssetsQueryParams = DataTableParams & DialogSelectAssetFilterQ
|
|
|
9
9
|
tag?: string;
|
|
10
10
|
maintenanceAuditStatus?: string[];
|
|
11
11
|
coordinate?: boolean;
|
|
12
|
+
map?: boolean[];
|
|
12
13
|
};
|
|
13
14
|
export type GetAvailableAssetsQueryParams = DataTableParams & DialogSelectAssetFilterQueryParams & {
|
|
14
15
|
search?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { formatUserName, formatVowelSoundLabel } from './textFormater.util';
|
|
1
|
+
import { formatUserName, formatVowelSoundLabel, formatDisplayAssetId, formatDisplayAssetName } from './textFormater.util';
|
|
2
2
|
import handleTokenExpiration from './handleTokenExpiration.util';
|
|
3
3
|
import exportToExcel from './exportToExcel.util';
|
|
4
4
|
import { formatGoDate, formatDate, formatDateReadable, getUserLocale } from './date.util';
|
|
@@ -19,4 +19,4 @@ import { formatLogResponseData } from './changelog.util';
|
|
|
19
19
|
import { googleMapLoader } from './googleMapLoader.util';
|
|
20
20
|
declare const isObjectEmpty: (object: object) => boolean;
|
|
21
21
|
declare const getNestedProperyValue: (object: object, property: string) => string | boolean | number | object;
|
|
22
|
-
export { isObjectEmpty, getNestedProperyValue, handleTokenExpiration, getImageURL, downloadFile, formatUserName, formatVowelSoundLabel, exportToExcel, formatGoDate, formatDate, getUserLocale, formatDateReadable, useToast, listenSidebarChanges, unListenSidebarChanges, getCurrency, formatCurrency, getBaseURL, getHostName, useI18n, getSeverityByAssetStatus, clearStorage, forceLogout, reLogin, isValidJSONString, buildBodyParams, formatLogResponseData, googleMapLoader, getTransactionRole, getSystemRole, hasSystemRole, hasTransactionRole, checkRouteAccess, hasApprovalRole, hasManagerRole, hasAnyManagerRole, hasMonitoringReportRole, hasAnyMonitoringReportRole, hasStaffRole, hasAccessToAssetDetail, };
|
|
22
|
+
export { isObjectEmpty, getNestedProperyValue, handleTokenExpiration, getImageURL, downloadFile, formatUserName, formatVowelSoundLabel, formatDisplayAssetId, formatDisplayAssetName, exportToExcel, formatGoDate, formatDate, getUserLocale, formatDateReadable, useToast, listenSidebarChanges, unListenSidebarChanges, getCurrency, formatCurrency, getBaseURL, getHostName, useI18n, getSeverityByAssetStatus, clearStorage, forceLogout, reLogin, isValidJSONString, buildBodyParams, formatLogResponseData, googleMapLoader, getTransactionRole, getSystemRole, hasSystemRole, hasTransactionRole, checkRouteAccess, hasApprovalRole, hasManagerRole, hasAnyManagerRole, hasMonitoringReportRole, hasAnyMonitoringReportRole, hasStaffRole, hasAccessToAssetDetail, };
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
import { Asset } from '../types/assets.type';
|
|
1
2
|
export declare const formatVowelSoundLabel: (label?: string) => string;
|
|
2
3
|
export declare const formatUserName: (name?: string) => string;
|
|
3
4
|
export declare const formatTagCode: (tagCode?: string) => string;
|
|
5
|
+
export declare const formatDisplayAssetName: (asset: Asset) => string;
|
|
6
|
+
export declare const formatDisplayAssetId: (asset: Asset) => string;
|
|
4
7
|
export default formatUserName;
|