tsv2-library 0.1.97 → 0.1.98

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,5 +1,5 @@
1
1
  import type { PropType as __PropType } from 'vue';
2
- type Field = 'brand' | 'model' | 'group';
2
+ type Field = 'brand' | 'model' | 'group' | 'status';
3
3
  declare const _sfc_main: import("vue").DefineComponent<{
4
4
  id: {
5
5
  type: __PropType<string>;
@@ -0,0 +1,2 @@
1
+ export type Severities = 'success' | 'danger' | 'warning' | 'dark' | 'primary';
2
+ export declare const getSeverityByAssetStatus: (status?: string) => Severities;
@@ -8,6 +8,7 @@ import { getCurrency, formatCurrency } from './currency.util';
8
8
  import { unListenSidebarChanges, listenSidebarChanges } from './listenSidebarChanges.util';
9
9
  import { getBaseURL, getHostName } from './getBaseURL.util';
10
10
  import useI18n from './tanslation.util';
11
+ import { getSeverityByAssetStatus } from './getSeverityByAssetStatus.util';
11
12
  declare const isObjectEmpty: (object: object) => boolean;
12
13
  declare const getNestedProperyValue: (object: object, property: string) => string | boolean | number | object;
13
- export { isObjectEmpty, getNestedProperyValue, handleTokenExpiration, getImageURL, formatUserName, formatVowelSoundLabel, exportToExcel, formatDate, formatDateReadable, useToast, listenSidebarChanges, unListenSidebarChanges, getCurrency, formatCurrency, getBaseURL, getHostName, useI18n, };
14
+ export { isObjectEmpty, getNestedProperyValue, handleTokenExpiration, getImageURL, formatUserName, formatVowelSoundLabel, exportToExcel, formatDate, formatDateReadable, useToast, listenSidebarChanges, unListenSidebarChanges, getCurrency, formatCurrency, getBaseURL, getHostName, useI18n, getSeverityByAssetStatus, };