tsv2-library 1.0.64 → 1.0.66
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/loading-table-fa-8b779ca8.js +4 -0
- package/dist/src/build-entry.d.ts +5 -3
- package/dist/src/components/v2/Animation/Animation.vue.d.ts +40 -0
- package/dist/src/components/v2/AssetAttribute/UrlFormat.vue.d.ts +22 -0
- package/dist/src/components/v2/CustomColumn/ColumnList.vue.d.ts +4 -0
- package/dist/src/components/v2/CustomColumn/CustomColumn.vue.d.ts +23 -1
- package/dist/src/components/v2/CustomColumn/DialogColumnSetup.vue.d.ts +4 -0
- package/dist/src/components/v2/DataTable/DataTable.vue.d.ts +16 -6
- package/dist/src/components/v2/Dialog/Dialog.vue.d.ts +1 -0
- package/dist/src/components/v2/DialogConfirm/DialogConfirm.vue.d.ts +5 -0
- package/dist/src/components/v2/DialogCoordinate/AssetList.vue.d.ts +4 -0
- package/dist/src/components/v2/DialogCoordinate/AssetListFilter.vue.d.ts +4 -0
- package/dist/src/components/v2/DialogCoordinate/CoordinateHeader.vue.d.ts +4 -0
- package/dist/src/components/v2/DialogCoordinate/DialogCoordinate.vue.d.ts +24 -0
- package/dist/src/components/v2/DialogCoordinate/MapSearch.vue.d.ts +4 -2
- package/dist/src/components/v2/DialogCoordinate/Marker.vue.d.ts +13 -0
- package/dist/src/components/v2/DialogCoordinate/PopupDetail.vue.d.ts +13 -0
- package/dist/src/components/v2/DialogForm/DialogForm.vue.d.ts +11 -0
- package/dist/src/components/v2/FailedLoad/FailedLoad.vue.d.ts +26 -0
- package/dist/src/components/v2/FilterAssetValue/FilterAssetValue.vue.d.ts +20 -0
- package/dist/src/components/v2/FilterCustomField/FilterCustomField.vue.d.ts +17 -0
- package/dist/src/components/v2/Icon/Icon.vue.d.ts +10 -0
- package/dist/src/components/v2/ImageCompressor/ImageCompressor.vue.d.ts +1 -1
- package/dist/src/components/v2/InputCoordinate/InputCoordinate.vue.d.ts +9 -3
- package/dist/src/components/v2/InputPhoneNumber/InputPhoneNumber.vue.d.ts +1 -0
- package/dist/src/components/v2/InputText/InputText.vue.d.ts +1 -1
- package/dist/src/components/v2/InputURL/InputURL.vue.d.ts +1 -0
- package/dist/src/components/v2/LazyLoadTrigger/LazyLoadTrigger.vue.d.ts +4 -0
- package/dist/src/components/v2/Textarea/Textarea.vue.d.ts +1 -0
- package/dist/src/components/v2/TransactionRoles/TransactionRoles.vue.d.ts +2 -0
- package/dist/src/components/v2/index.d.ts +6 -1
- package/dist/src/dto/assets.dto.d.ts +15 -0
- package/dist/src/event-bus/index.d.ts +8 -0
- package/dist/src/event-bus/mitt.d.ts +26 -0
- package/dist/src/presets/datatable/index.js +1 -1
- package/dist/src/services/assetName.service.d.ts +1 -2
- package/dist/src/services/assets.service.d.ts +6 -2
- package/dist/src/services/column.service.d.ts +13 -0
- package/dist/src/services/settingsAttribute.service.d.ts +8 -0
- package/dist/src/store/assetAttribute.store.d.ts +12 -0
- package/dist/src/store/index.d.ts +1 -0
- package/dist/src/types/assets.type.d.ts +24 -6
- package/dist/src/types/filterField.type.d.ts +35 -0
- package/dist/src/types/settingsAttribute.type.d.ts +28 -0
- package/dist/src/utils/customMarker.util.d.ts +64 -0
- package/dist/src/utils/debounce.util.d.ts +1 -0
- package/dist/src/utils/googleMapLoader.util.d.ts +1 -0
- package/dist/src/utils/index.d.ts +3 -2
- package/dist/src/utils/role.util.d.ts +1 -1
- package/dist/src/utils/textFormater.util.d.ts +5 -0
- package/dist/src/utils/toast.util.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/tsv2-library.es.js +14206 -9773
- package/dist/tsv2-library.umd.js +7 -7
- package/package.json +3 -1
- package/src/components/v2/Animation/Animation.vue.d.ts +40 -0
- package/src/components/v2/CustomColumn/CustomColumn.vue.d.ts +23 -1
- package/src/components/v2/DataTable/DataTable.vue.d.ts +16 -6
- package/src/components/v2/Dialog/Dialog.vue.d.ts +1 -0
- package/src/components/v2/DialogConfirm/DialogConfirm.vue.d.ts +5 -0
- package/src/components/v2/DialogCoordinate/DialogCoordinate.vue.d.ts +24 -0
- package/src/components/v2/DialogForm/DialogForm.vue.d.ts +11 -0
- package/src/components/v2/FailedLoad/FailedLoad.vue.d.ts +26 -0
- package/src/components/v2/FilterAssetValue/FilterAssetValue.vue.d.ts +20 -0
- package/src/components/v2/FilterCustomField/FilterCustomField.vue.d.ts +17 -0
- package/src/components/v2/Icon/Icon.vue.d.ts +10 -0
- package/src/components/v2/ImageCompressor/ImageCompressor.vue.d.ts +1 -1
- package/src/components/v2/InputCoordinate/InputCoordinate.vue.d.ts +9 -3
- package/src/components/v2/InputPhoneNumber/InputPhoneNumber.vue.d.ts +1 -0
- package/src/components/v2/InputText/InputText.vue.d.ts +1 -1
- package/src/components/v2/InputURL/InputURL.vue.d.ts +1 -0
- package/src/components/v2/Textarea/Textarea.vue.d.ts +1 -0
- package/src/components/v2/TransactionRoles/TransactionRoles.vue.d.ts +2 -0
- package/src/module.d.ts +3 -0
- package/src/presets/datatable/index.js +1 -1
- package/src/services/assets.service.ts +40 -1
- package/src/services/column.service.ts +42 -0
- package/src/services/settingsAttribute.service.ts +41 -0
- package/dist/src/components/v2/DataTable/store/dataTable.store.d.ts +0 -22
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const loadingTableFa = "data:application/octet-stream;base64,UEsDBBQAAAAIAGghblre6w2+fgAAALUAAAANAAAAbWFuaWZlc3QuanNvbo2NMQ7CMAxF7+KZFJymiHTqBTgBYjDEgqA0QYlBQlXvjidmtv+k9/QXeHNtsWQYAWEDN85cSUpVnkKRVEQib3/LPNqE3a6z6tJL7v+JOc4ketJgPC0Qgzbsnb/YgY2jKxrXD2g8Um9wbwOjswoHTZ+JPscSWItc6kwJ1vP6BVBLAwQUAAAACABoIW5aWWWigx8DAABSGAAANAAAAGFuaW1hdGlvbnMvZTk0OWIyNWUtNGFjMS00MzUxLTkxYTMtMTYyZGUxNDI5MWE4Lmpzb27tWF1vmzAU/SvIzzSyzUeAt03t9rKHSZv2EvWBJaRBJSEC9lFF/e8719jEgXRa1xKpUdQWiK997rnHvieoO/aTJSyYTCdCMJctK5aE3GX5liW4lbhFwmW/WCJiiYEVHniEh80ayz6V6SLf3DnXZVNj8WKxUKvSus4wkMxuXVakD1lFz7sunG9wB2jzwBJfIwHBB0KN9IjcY8GOlXRJ2wEFkNPAbzzySRhOAQ6Ambh9BM99xPM8HeEUaVgiAwDjswww8N8oXtyiCE4jOxoKLGDMzrFUCMxGEYo4agVxqpgiHBHIebwkxUUlJABDRPFQo7TYKkUIX7qBz12OvA2mz7h7FSoMNQJYjFDYrvgfk3SVqiT8IIn+0OJ3GXt6WOyMLhInAVckQPWWOLMrGfluLBWskqmbqM7A09vvWleziS5+hhuJOd3VbKrWxtY04CjWNds7UjKj7TRw8XvkLFkstCKhVoS0Qy7oVq/Sbdb2FPUQu6vQOjlAqMm61mJZQR11KLdAE+PP7Ip1JPWEdoMp6CGoevOmKPJtnTmf02blkEmsNxh9d/3+xvmWzZuycr4QIefK0TMxZQUey7SoM1UesVkSm/kg2cSLvNj3/VBO4wAfoyCKpBfI2BcS+rZUfCNztxQCtaGg7TfU/B1cjTF9yIviONWPVbpd5XOQpTlHmTYkZ08WfUwt3XrneK8b9VZfdbClLd0Le9QiwqfLnBIoBoaLSJv6kIwljVLja5Vu6mVZrRmdqYM9JY02qBUGMNd9qnXUzXhEwPLH9kA3Kmv/deHR10eNw4ibgiJdD6wfOXrW741l/QJ29wrWDxo96/ct4NNYvylFcDmi9XeVUpJnWL/Rw2L3BqzfaHoa69faDqzfaHex/ov1n7n1I1fP+uVY1q9ftF7m/BKEe85v3uBO5/w6YczH831Tp8rxF9s38JYOe1pvwPA155P4vdF04PdGuYvfX/z+zP0eRt/ze2Ixit8TlRf7vQDTvt9bwKfxe51wGo3n96ZOleMZr/lGjD23N2D6mvNJTL8TdmD6QxYX07+Y/jmYPuLrtLpv/81/+/gHUEsBAhQAFAAAAAgAaCFuWt7rDb5+AAAAtQAAAA0AAAAAAAAAAAAAAAAAAAAAAG1hbmlmZXN0Lmpzb25QSwECFAAUAAAACABoIW5aWWWigx8DAABSGAAANAAAAAAAAAAAAAAAAACpAAAAYW5pbWF0aW9ucy9lOTQ5YjI1ZS00YWMxLTQzNTEtOTFhMy0xNjJkZTE0MjkxYTguanNvblBLBQYAAAAAAgACAJ0AAAAaBAAAAAA=";
|
|
2
|
+
export {
|
|
3
|
+
loadingTableFa as default
|
|
4
|
+
};
|
|
@@ -19,16 +19,18 @@ interface TSFormContext<T> {
|
|
|
19
19
|
declare const useForm: <T>() => TSFormContext<T>;
|
|
20
20
|
declare const useField: <T>(path: MaybeRefOrGetter<string>, rules?: MaybeRef<RuleExpression<T>>, opts?: Partial<FieldOptions<T>> | undefined) => FieldContext<T>;
|
|
21
21
|
import Presets from './presets';
|
|
22
|
-
import { handleTokenExpiration, exportToExcel, formatGoDate, formatDate, getUserLocale, formatDateReadable, formatUserName, formatVowelSoundLabel, getImageURL, downloadFile, isObjectEmpty, useToast, listenSidebarChanges, unListenSidebarChanges, getCurrency, formatCurrency, getHostName, getBaseURL, useI18n, getNestedProperyValue, getSeverityByAssetStatus, clearStorage, forceLogout, reLogin, isValidJSONString, buildBodyParams, formatLogResponseData, getTransactionRole, getSystemRole, hasSystemRole, hasTransactionRole, checkRouteAccess, hasApprovalRole, hasManagerRole, hasAnyManagerRole, hasMonitoringReportRole, hasAnyMonitoringReportRole, hasStaffRole, hasAccessToAssetDetail } from './utils';
|
|
22
|
+
import { handleTokenExpiration, exportToExcel, formatGoDate, formatDate, getUserLocale, formatAssetValue, formatDateReadable, formatUserName, formatVowelSoundLabel, getImageURL, downloadFile, isObjectEmpty, useToast, listenSidebarChanges, unListenSidebarChanges, getCurrency, formatCurrency, getHostName, getBaseURL, useI18n, getNestedProperyValue, getSeverityByAssetStatus, clearStorage, forceLogout, reLogin, isValidJSONString, buildBodyParams, formatLogResponseData, googleMapLoader, getTransactionRole, getSystemRole, hasSystemRole, hasTransactionRole, checkRouteAccess, hasApprovalRole, hasManagerRole, hasAnyManagerRole, hasMonitoringReportRole, hasAnyMonitoringReportRole, hasStaffRole, hasAccessToAssetDetail } from './utils';
|
|
23
|
+
import { default as eventBus, extendEventBus } from './event-bus';
|
|
23
24
|
import { flattenTreeNodeChildren, parseNodeKeys, filterNodeKeys } from './components/v2/Tree/helpers';
|
|
24
25
|
import useLoadingStore from './components/v2/Loading/store/loading.store';
|
|
26
|
+
import { useAssetAttributeStore } from './store';
|
|
25
27
|
import Tooltip from '../node_modules/primevue/tooltip';
|
|
26
28
|
import Focus from './directives/v-focus';
|
|
27
29
|
import VueHtmlToPaper from './plugins/VueHtmlToPaper';
|
|
28
|
-
import { DialogDamageLog, DialogMissingLog, DialogTransferLog, TSAssetInfo, TSApproverInfo, TSBadge, TSBadgeGroup, TSBreadcrumb, TSButton, TSButtonAddByScan, TSButtonBulkAction, TSButtonCopy, TSButtonDownload, TSButtonFilter, TSButtonLogHistory, TSButtonRadio, TSButtonViewLog, TSButtonScan, TSButtonSearchByScan, TSButtonSearch, TSButtonSync, TSButtonSelectTree, TSButtonSelectUser, TSButtonToggle, TSCalendar, TSCard, TSCarousel, TSCheckbox, TSCustomColumn, TSDataTable, TSDatePicker, TSDayPicker, TSDialog, TSDialogApprovalList, TSDialogAssetNameDetail, TSDialogConfirm, TSDialogForm, TSDialogLinkedAsset, TSDialogPrintQR, TSDialogReportDamage, TSDialogReportMissing, TSDialogReportTag, TSDialogSelectTree, TSDialogSelectAsset, TSDialogSelectUser, TSDisposalReport, TSDropdown, TSFilterContainer, TSFileUpload, TSForm, TSIcon, TSImage, TSImageCompressor, TSInlineMessage, TSInputBadge, TSInputCurrency, TSInputCurrencyReference, TSInputEmail, TSInputNumber, TSInputOTP, TSInputPassword, TSInputPhoneNumber, TSInputRangeNumber, TSInputSearch, TSInputText, TSInputURL, TSLoading, TSMenu, TSMultiSelect, TSOverlayPanel, TSPaginator, TSProgressBar, TSSteps, TSTabMenu, TSTagType, TSTextarea, TSTimeline, TSToast, TSTransactionRoles, TSTree, TSTreeSearchInput, TSUserWithIcon, TSValidatorMessage } from './components/v2';
|
|
30
|
+
import { DialogDamageLog, DialogMissingLog, DialogTransferLog, TSAnimation, TSAssetInfo, TSApproverInfo, TSBadge, TSBadgeGroup, TSBreadcrumb, TSButton, TSButtonAddByScan, TSButtonBulkAction, TSButtonCopy, TSButtonDownload, TSButtonFilter, TSButtonLogHistory, TSButtonRadio, TSButtonViewLog, TSButtonScan, TSButtonSearchByScan, TSButtonSearch, TSButtonSync, TSButtonSelectTree, TSButtonSelectUser, TSButtonToggle, TSCalendar, TSCard, TSCarousel, TSCheckbox, TSCustomColumn, TSDataTable, TSDatePicker, TSDayPicker, TSDialog, TSDialogApprovalList, TSDialogAssetNameDetail, TSDialogConfirm, TSDialogCoordinate, TSDialogForm, TSDialogLinkedAsset, TSDialogPrintQR, TSDialogReportDamage, TSDialogReportMissing, TSDialogReportTag, TSDialogSelectTree, TSDialogSelectAsset, TSDialogSelectUser, TSDisposalReport, TSDropdown, TSFailedLoad, TSFilterContainer, TSFilterAssetValue, TSFilterCustomField, TSFileUpload, TSForm, TSIcon, TSImage, TSImageCompressor, TSInlineMessage, TSInputBadge, TSInputCurrency, TSInputCurrencyReference, TSInputCoordinate, TSInputEmail, TSInputNumber, TSInputOTP, TSInputPassword, TSInputPhoneNumber, TSInputRangeNumber, TSInputSearch, TSInputText, TSInputURL, TSLoading, TSMenu, TSMultiSelect, TSOverlayPanel, TSPaginator, TSProgressBar, TSSteps, TSTabMenu, TSTagType, TSTextarea, TSTimeline, TSToast, TSTransactionRoles, TSTree, TSTreeSearchInput, TSUserWithIcon, TSValidatorMessage } from './components/v2';
|
|
29
31
|
declare const TSi18n: import("vue-i18n").I18n<{}, {}, {}, string, false>;
|
|
30
32
|
declare const _default: {
|
|
31
33
|
install: (app: App) => void;
|
|
32
34
|
};
|
|
33
35
|
export default _default;
|
|
34
|
-
export { LibConfig, TSToastService, TSi18n, VueHtmlToPaper, Tooltip, Focus, DialogDamageLog, DialogMissingLog, DialogTransferLog, TSAssetInfo, TSApproverInfo, TSBadge, TSBadgeGroup, TSBreadcrumb, TSButton, TSButtonAddByScan, TSButtonBulkAction, TSButtonCopy, TSButtonDownload, TSButtonFilter, TSButtonLogHistory, TSButtonRadio, TSButtonViewLog, TSButtonScan, TSButtonSearch, TSButtonSearchByScan, TSButtonSelectTree, TSButtonSelectUser, TSButtonSync, TSButtonToggle, TSCalendar, TSCard, TSCarousel, TSCheckbox, TSCustomColumn, TSDatePicker, TSDataTable, TSDayPicker, TSDialog, TSDialogApprovalList, TSDialogAssetNameDetail, TSDialogConfirm, TSDialogForm, TSDialogLinkedAsset, TSDialogPrintQR, TSDialogReportDamage, TSDialogReportMissing, TSDialogReportTag, TSDialogSelectTree, TSDialogSelectAsset, TSDialogSelectUser, TSDisposalReport, TSDropdown, TSFilterContainer, TSFileUpload, TSForm, TSIcon, TSImage, TSImageCompressor, TSInlineMessage, TSInputBadge, TSInputCurrency, TSInputCurrencyReference, TSInputEmail, TSInputNumber, TSInputOTP, TSInputPassword, TSInputPhoneNumber, TSInputRangeNumber, TSInputText, TSInputSearch, TSInputURL, TSLoading, TSMenu, TSMultiSelect, TSOverlayPanel, TSPaginator, TSProgressBar, TSSteps, TSTabMenu, TSTagType, TSTextarea, TSTimeline, TSToast, TSTransactionRoles, TSTree, TSTreeSearchInput, TSUserWithIcon, TSValidatorMessage, handleTokenExpiration, exportToExcel, formatGoDate, formatDate, getUserLocale, formatDateReadable, formatUserName, formatVowelSoundLabel, getImageURL, downloadFile, isObjectEmpty, useToast, listenSidebarChanges, unListenSidebarChanges, getCurrency, formatCurrency, getHostName, getBaseURL, useI18n, useForm, useField, getNestedProperyValue, getSeverityByAssetStatus, clearStorage, forceLogout, reLogin, isValidJSONString, buildBodyParams, formatLogResponseData, getTransactionRole, getSystemRole, hasSystemRole, hasTransactionRole, checkRouteAccess, hasApprovalRole, hasManagerRole, hasAnyManagerRole, hasMonitoringReportRole, hasAnyMonitoringReportRole, hasStaffRole, hasAccessToAssetDetail, flattenTreeNodeChildren, parseNodeKeys, filterNodeKeys, TreeAPI, RoutineAPI, DisposalAPI, RoutineServices, AssetsServices, AssetNameService, AssetBrandService, DisposalServices, FilterMatchMode, useLoadingStore, Presets, };
|
|
36
|
+
export { LibConfig, TSToastService, TSi18n, VueHtmlToPaper, Tooltip, Focus, DialogDamageLog, DialogMissingLog, DialogTransferLog, TSAnimation, TSAssetInfo, TSApproverInfo, TSBadge, TSBadgeGroup, TSBreadcrumb, TSButton, TSButtonAddByScan, TSButtonBulkAction, TSButtonCopy, TSButtonDownload, TSButtonFilter, TSButtonLogHistory, TSButtonRadio, TSButtonViewLog, TSButtonScan, TSButtonSearch, TSButtonSearchByScan, TSButtonSelectTree, TSButtonSelectUser, TSButtonSync, TSButtonToggle, TSCalendar, TSCard, TSCarousel, TSCheckbox, TSCustomColumn, TSDatePicker, TSDataTable, TSDayPicker, TSDialog, TSDialogApprovalList, TSDialogAssetNameDetail, TSDialogConfirm, TSDialogCoordinate, TSDialogForm, TSDialogLinkedAsset, TSDialogPrintQR, TSDialogReportDamage, TSDialogReportMissing, TSDialogReportTag, TSDialogSelectTree, TSDialogSelectAsset, TSDialogSelectUser, TSDisposalReport, TSDropdown, TSFailedLoad, TSFilterContainer, TSFilterAssetValue, TSFilterCustomField, TSFileUpload, TSForm, TSIcon, TSImage, TSImageCompressor, TSInlineMessage, TSInputBadge, TSInputCurrency, TSInputCurrencyReference, TSInputCoordinate, TSInputEmail, TSInputNumber, TSInputOTP, TSInputPassword, TSInputPhoneNumber, TSInputRangeNumber, TSInputText, TSInputSearch, TSInputURL, TSLoading, TSMenu, TSMultiSelect, TSOverlayPanel, TSPaginator, TSProgressBar, TSSteps, TSTabMenu, TSTagType, TSTextarea, TSTimeline, TSToast, TSTransactionRoles, TSTree, TSTreeSearchInput, TSUserWithIcon, TSValidatorMessage, handleTokenExpiration, exportToExcel, formatGoDate, formatDate, getUserLocale, formatAssetValue, formatDateReadable, formatUserName, formatVowelSoundLabel, getImageURL, downloadFile, isObjectEmpty, useToast, listenSidebarChanges, unListenSidebarChanges, getCurrency, formatCurrency, getHostName, getBaseURL, useI18n, useForm, useField, getNestedProperyValue, getSeverityByAssetStatus, clearStorage, forceLogout, reLogin, isValidJSONString, buildBodyParams, formatLogResponseData, googleMapLoader, getTransactionRole, getSystemRole, hasSystemRole, hasTransactionRole, checkRouteAccess, hasApprovalRole, hasManagerRole, hasAnyManagerRole, hasMonitoringReportRole, hasAnyMonitoringReportRole, hasStaffRole, hasAccessToAssetDetail, flattenTreeNodeChildren, parseNodeKeys, filterNodeKeys, TreeAPI, RoutineAPI, DisposalAPI, RoutineServices, AssetsServices, AssetNameService, AssetBrandService, DisposalServices, FilterMatchMode, useLoadingStore, useAssetAttributeStore, eventBus, extendEventBus, Presets, };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { Config } from '@lottiefiles/dotlottie-web';
|
|
2
|
+
|
|
3
|
+
import { ClassComponent } from '../ts-helpers';
|
|
4
|
+
|
|
5
|
+
export interface AnimationDefaultConfig {
|
|
6
|
+
libPath: 'supplyasset' | 'workspace' | 'admin';
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export interface AnimationProps {
|
|
10
|
+
animation: 'loading-table-fa';
|
|
11
|
+
/**
|
|
12
|
+
* @default true
|
|
13
|
+
*/
|
|
14
|
+
autoplay?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* @default true
|
|
17
|
+
*/
|
|
18
|
+
loop?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Custom configurations for the animation
|
|
21
|
+
* Reference: https://developers.lottiefiles.com/docs/dotlottie-player/dotlottie-web/api/config/
|
|
22
|
+
*/
|
|
23
|
+
customConfig?: Partial<Config>;
|
|
24
|
+
canvasStyle?: string;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* **Animation**
|
|
29
|
+
*
|
|
30
|
+
* _Animation is a lottie animation wrapper._
|
|
31
|
+
*
|
|
32
|
+
* @group Component
|
|
33
|
+
*/
|
|
34
|
+
declare class Animation extends ClassComponent<
|
|
35
|
+
AnimationProps,
|
|
36
|
+
unknown,
|
|
37
|
+
unknown
|
|
38
|
+
> {}
|
|
39
|
+
|
|
40
|
+
export default Animation;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { PropType as __PropType } from 'vue';
|
|
2
|
+
import { CustomField } from '../../../types/settingsAttribute.type';
|
|
3
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
+
data: {
|
|
5
|
+
type: __PropType<CustomField>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
value: {
|
|
9
|
+
type: __PropType<string>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
data: {
|
|
14
|
+
type: __PropType<CustomField>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
value: {
|
|
18
|
+
type: __PropType<string>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
}>>, {}, {}>;
|
|
22
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<any, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, Readonly<any>, {} | {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
}, {}>;
|
|
4
|
+
export default _sfc_main;
|
|
@@ -1,8 +1,27 @@
|
|
|
1
|
+
import { TableColumn } from '../DataTable/DataTable.vue.d';
|
|
1
2
|
import { ClassComponent } from '../ts-helpers';
|
|
2
3
|
|
|
4
|
+
export type DragableColumn = TableColumn & { order?: number };
|
|
5
|
+
|
|
6
|
+
export interface DataTableColumnConfig {
|
|
7
|
+
field: string;
|
|
8
|
+
pinned: boolean;
|
|
9
|
+
width: number | string;
|
|
10
|
+
visible: boolean;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export type CustomColumnEmits = {
|
|
14
|
+
'update:visibleColumns': [columns: TableColumn[]];
|
|
15
|
+
'update:reorderColumns': [columns: TableColumn[]];
|
|
16
|
+
};
|
|
17
|
+
|
|
3
18
|
export interface CustomColumnProps {
|
|
4
19
|
tableId: string;
|
|
20
|
+
tableKey?: string;
|
|
21
|
+
tableName?: string;
|
|
22
|
+
tableData?: Data[];
|
|
5
23
|
defaultColumns: TableColumn[];
|
|
24
|
+
defaultReorderColumns?: TableColumn[];
|
|
6
25
|
visibleColumns: TableColumn[];
|
|
7
26
|
/**
|
|
8
27
|
* The maximum column count allowed
|
|
@@ -12,7 +31,10 @@ export interface CustomColumnProps {
|
|
|
12
31
|
type?: 'menu' | 'flat';
|
|
13
32
|
}
|
|
14
33
|
|
|
15
|
-
declare class CustomColumn extends ClassComponent<
|
|
34
|
+
declare class CustomColumn extends ClassComponent<
|
|
35
|
+
CustomColumnProps,
|
|
36
|
+
CustomColumnEmits
|
|
37
|
+
> {
|
|
16
38
|
/**
|
|
17
39
|
* Method to show custom column menu.
|
|
18
40
|
*/
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<any, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, Readonly<any>, {} | {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
}, {}>;
|
|
4
|
+
export default _sfc_main;
|
|
@@ -5,15 +5,23 @@ import { ClassComponent } from '../ts-helpers';
|
|
|
5
5
|
|
|
6
6
|
type Data = Record<string, any>;
|
|
7
7
|
|
|
8
|
-
export type QueryParams =
|
|
9
|
-
[key: string]: unknown;
|
|
10
|
-
};
|
|
8
|
+
export type QueryParams = Partial<Record<string, unknown>>;
|
|
11
9
|
|
|
12
|
-
export type FetchResponse = {
|
|
13
|
-
data:
|
|
10
|
+
export type FetchResponse<T = Data> = {
|
|
11
|
+
data: T[];
|
|
14
12
|
totalRecords: number;
|
|
15
13
|
};
|
|
16
14
|
|
|
15
|
+
export type TableFetchResponse<T = Data> = {
|
|
16
|
+
message: string;
|
|
17
|
+
data: FetchResponse<T>;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export type ShortFetchResponse<T = Data> = {
|
|
21
|
+
message: string;
|
|
22
|
+
data: T;
|
|
23
|
+
};
|
|
24
|
+
|
|
17
25
|
export type TableCellComponent = {
|
|
18
26
|
component: string | Component;
|
|
19
27
|
props?: object;
|
|
@@ -149,6 +157,8 @@ export type TableColumn = {
|
|
|
149
157
|
reorderable?: boolean;
|
|
150
158
|
/**
|
|
151
159
|
* Make the column cannot reordered by disabled dragability.
|
|
160
|
+
* Unlike `reorderable`, the column will still appear in the column visibility
|
|
161
|
+
* overlay if this is set to false.
|
|
152
162
|
*/
|
|
153
163
|
dragable?: boolean;
|
|
154
164
|
/**
|
|
@@ -158,7 +168,7 @@ export type TableColumn = {
|
|
|
158
168
|
fixed?: boolean;
|
|
159
169
|
visible?: boolean;
|
|
160
170
|
/**
|
|
161
|
-
*
|
|
171
|
+
* Whether the column is checked by default
|
|
162
172
|
* @default true
|
|
163
173
|
*/
|
|
164
174
|
checkedByDefault?: boolean;
|
|
@@ -30,6 +30,11 @@ export interface DialogConfirmProps {
|
|
|
30
30
|
* @default 'Yes, Continue'
|
|
31
31
|
*/
|
|
32
32
|
confirmLabel?: string;
|
|
33
|
+
/**
|
|
34
|
+
* The label of the cancel button.
|
|
35
|
+
* @default 'Cancel' | 'Close'
|
|
36
|
+
*/
|
|
37
|
+
cancelLabel?: string;
|
|
33
38
|
/**
|
|
34
39
|
* Pass true to disabled button confirm
|
|
35
40
|
*/
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<any, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, Readonly<any>, {} | {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
}, {}>;
|
|
4
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "apply"[], "apply", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
2
|
+
onApply?: ((...args: any[]) => any) | undefined;
|
|
3
|
+
}, {}, {}>;
|
|
4
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<any, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, Readonly<any>, {} | {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
}, {}>;
|
|
4
|
+
export default _sfc_main;
|
|
@@ -39,6 +39,10 @@ export interface LatLngValue {
|
|
|
39
39
|
lng: number | null;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
+
export interface CoordinateValue extends LatLngValue {
|
|
43
|
+
address?: string;
|
|
44
|
+
}
|
|
45
|
+
|
|
42
46
|
export type InputMapMode = 'click' | 'drag' | 'center';
|
|
43
47
|
|
|
44
48
|
export type MarkerConfig =
|
|
@@ -74,3 +78,23 @@ export interface MapFocusConfig {
|
|
|
74
78
|
featureType: google.maps.FeatureType;
|
|
75
79
|
featureStyleOptions: google.maps.FeatureStyleOptions;
|
|
76
80
|
}
|
|
81
|
+
|
|
82
|
+
export interface DialogCoordinateProps {
|
|
83
|
+
value?: LatLngValue & { _id?: string };
|
|
84
|
+
center?: [number, number];
|
|
85
|
+
zoom?: number;
|
|
86
|
+
mode?: InputMapMode;
|
|
87
|
+
colorScheme?: 'LIGHT' | 'DARK';
|
|
88
|
+
mapOptions?: google.maps.MapOptions;
|
|
89
|
+
customMarkers?: CustomMarker[];
|
|
90
|
+
inputMarkerConfig?: MarkerConfig;
|
|
91
|
+
type: 'input' | 'detail';
|
|
92
|
+
card?: boolean;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export interface CustomMarker {
|
|
96
|
+
lat: number;
|
|
97
|
+
lng: number;
|
|
98
|
+
title?: string;
|
|
99
|
+
desc?: string;
|
|
100
|
+
}
|
|
@@ -4,10 +4,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
4
4
|
type: __PropType<google.maps.Map>;
|
|
5
5
|
required: true;
|
|
6
6
|
};
|
|
7
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
7
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "searched"[], "searched", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
8
|
map: {
|
|
9
9
|
type: __PropType<google.maps.Map>;
|
|
10
10
|
required: true;
|
|
11
11
|
};
|
|
12
|
-
}
|
|
12
|
+
}>> & {
|
|
13
|
+
onSearched?: ((...args: any[]) => any) | undefined;
|
|
14
|
+
}, {}, {}>;
|
|
13
15
|
export default _sfc_main;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { PropType as __PropType } from 'vue';
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
+
type: {
|
|
4
|
+
type: __PropType<"detail" | "input">;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
+
type: {
|
|
9
|
+
type: __PropType<"detail" | "input">;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
}>>, {}, {}>;
|
|
13
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { PropType as __PropType } from 'vue';
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
+
assetId: {
|
|
4
|
+
type: __PropType<string>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
+
assetId: {
|
|
9
|
+
type: __PropType<string>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
}>>, {}, {}>;
|
|
13
|
+
export default _sfc_main;
|
|
@@ -122,6 +122,17 @@ export interface DialogFormProps extends FormProps {
|
|
|
122
122
|
* The severity will determine the dialog icons and color scheme.
|
|
123
123
|
*/
|
|
124
124
|
severity?: 'success' | 'danger' | 'primary';
|
|
125
|
+
maskClass?: string | string[];
|
|
126
|
+
/**
|
|
127
|
+
* Whether to automatically manage layering.
|
|
128
|
+
* @defaultValue true
|
|
129
|
+
*/
|
|
130
|
+
autoZIndex?: boolean | undefined;
|
|
131
|
+
/**
|
|
132
|
+
* Base zIndex value to use in layering.
|
|
133
|
+
* @defaultValue 0
|
|
134
|
+
*/
|
|
135
|
+
baseZIndex?: number | undefined;
|
|
125
136
|
}
|
|
126
137
|
|
|
127
138
|
export interface ConfirmSlots {
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ClassComponent } from '../ts-helpers';
|
|
2
|
+
|
|
3
|
+
export interface FailedLoadEmits {
|
|
4
|
+
/**
|
|
5
|
+
* Emitted when the "Try again" button is clicked.
|
|
6
|
+
*/
|
|
7
|
+
retry: () => void;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* **TSVue v2 - FailedLoad**
|
|
12
|
+
*
|
|
13
|
+
* _FailedLoad is a component used to display a standardized error message when data loading fails, providing a retry mechanism._
|
|
14
|
+
*
|
|
15
|
+
* --- ---
|
|
16
|
+
* 
|
|
17
|
+
*
|
|
18
|
+
* @group components
|
|
19
|
+
*/
|
|
20
|
+
declare class FailedLoad extends ClassComponent<
|
|
21
|
+
unknown,
|
|
22
|
+
unknown,
|
|
23
|
+
FailedLoadEmits
|
|
24
|
+
> {}
|
|
25
|
+
|
|
26
|
+
export default FailedLoad;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { DefineComponent } from 'vue';
|
|
2
|
+
import { QueryParams } from '../DataTable/DataTable.vue.d';
|
|
3
|
+
|
|
4
|
+
export interface FilterAssetAttributeProps {
|
|
5
|
+
/**
|
|
6
|
+
* The filter object.
|
|
7
|
+
*/
|
|
8
|
+
filter: QueryParams;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export type FilterAssetAttributeEmits = {
|
|
12
|
+
updateFields: [];
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
declare const FilterAssetValue: DefineComponent<
|
|
16
|
+
FilterAssetAttributeProps,
|
|
17
|
+
FilterAssetAttributeEmits
|
|
18
|
+
>;
|
|
19
|
+
|
|
20
|
+
export default FilterAssetValue;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DefineComponent } from 'vue';
|
|
2
|
+
import {
|
|
3
|
+
FilterAssetAttributeProps,
|
|
4
|
+
FilterAssetAttributeEmits,
|
|
5
|
+
} from '../FilterAssetValue/FilterAssetValue.vue.d';
|
|
6
|
+
import { FilterField } from '../../../types/filterField.type';
|
|
7
|
+
|
|
8
|
+
export interface FilterCustomFieldProps extends FilterAssetAttributeProps {
|
|
9
|
+
customFieldFetchOptionFn: FilterField<QueryParams>['fetchOptionFn'];
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
declare const FilterCustomField: DefineComponent<
|
|
13
|
+
FilterCustomFieldProps,
|
|
14
|
+
FilterAssetAttributeEmits
|
|
15
|
+
>;
|
|
16
|
+
|
|
17
|
+
export default FilterCustomField;
|
|
@@ -20,10 +20,12 @@ export type TSVueIcons =
|
|
|
20
20
|
| 'arrow-left-right'
|
|
21
21
|
| 'arrow-right'
|
|
22
22
|
| 'arrow-right-fill'
|
|
23
|
+
| 'asset'
|
|
23
24
|
| 'asset-view'
|
|
24
25
|
| 'asset-name-view'
|
|
25
26
|
| 'assignment'
|
|
26
27
|
| 'audit'
|
|
28
|
+
| 'award-fill'
|
|
27
29
|
| 'bell'
|
|
28
30
|
| 'bell-alert'
|
|
29
31
|
| 'borrow'
|
|
@@ -79,8 +81,12 @@ export type TSVueIcons =
|
|
|
79
81
|
| 'image-add'
|
|
80
82
|
| 'indeterminate-circle-fill'
|
|
81
83
|
| 'info'
|
|
84
|
+
| 'infrared-thermometer'
|
|
85
|
+
| 'layout-grid-line'
|
|
82
86
|
| 'link-unlink-m'
|
|
83
87
|
| 'list-settings-line'
|
|
88
|
+
| 'list-check'
|
|
89
|
+
| 'list-check-2'
|
|
84
90
|
| 'loader-4'
|
|
85
91
|
| 'logout-box-r-line'
|
|
86
92
|
| 'mail-open-line'
|
|
@@ -88,6 +94,7 @@ export type TSVueIcons =
|
|
|
88
94
|
| 'map-2-line'
|
|
89
95
|
| 'map-pin-line'
|
|
90
96
|
| 'menu-line'
|
|
97
|
+
| 'menu-fold'
|
|
91
98
|
| 'menu-unfold'
|
|
92
99
|
| 'more'
|
|
93
100
|
| 'move-to'
|
|
@@ -105,10 +112,12 @@ export type TSVueIcons =
|
|
|
105
112
|
| 'qr-scan-line'
|
|
106
113
|
| 'recycle-bin'
|
|
107
114
|
| 'refresh'
|
|
115
|
+
| 'reload'
|
|
108
116
|
| 'replace-tag'
|
|
109
117
|
| 'report-tag'
|
|
110
118
|
| 'repair-ticketing'
|
|
111
119
|
| 'rfid'
|
|
120
|
+
| 'save-line'
|
|
112
121
|
| 'search'
|
|
113
122
|
| 'search-eye'
|
|
114
123
|
| 'settings'
|
|
@@ -129,6 +138,7 @@ export type TSVueIcons =
|
|
|
129
138
|
| 'user'
|
|
130
139
|
| 'user-add-line'
|
|
131
140
|
| 'user-follow-line'
|
|
141
|
+
| 'user-unfollow-line'
|
|
132
142
|
| 'user-search'
|
|
133
143
|
| 'user-settings'
|
|
134
144
|
| 'verification';
|
|
@@ -132,7 +132,7 @@ export type ImageCompressorEmits = {
|
|
|
132
132
|
/**
|
|
133
133
|
* On apply the image cropper.
|
|
134
134
|
*/
|
|
135
|
-
'apply': [value: ImageCompressorPayload];
|
|
135
|
+
'apply': [value: ImageCompressorPayload, index?: number];
|
|
136
136
|
'update:defaultImage': [index?: number];
|
|
137
137
|
/**
|
|
138
138
|
* Emits on every changes in `field.value`
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { DefineComponent } from 'vue';
|
|
2
2
|
import { Nullable } from '../ts-helpers';
|
|
3
|
-
import {
|
|
3
|
+
import { CoordinateValue } from '../DialogCoordinate/DialogCoordinate.vue.d';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* InputCoordinate component props
|
|
7
7
|
*/
|
|
8
8
|
export interface InputCoordinateProps {
|
|
9
|
-
modelValue?: Nullable<
|
|
9
|
+
modelValue?: Nullable<CoordinateValue>;
|
|
10
10
|
/**
|
|
11
11
|
* Disabled state for both input fields.
|
|
12
12
|
*/
|
|
@@ -37,13 +37,19 @@ export interface InputCoordinateProps {
|
|
|
37
37
|
* It is rarely use, this component has handled the validator message.
|
|
38
38
|
*/
|
|
39
39
|
validatorMessage?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Wether to show the input or not.
|
|
42
|
+
*
|
|
43
|
+
* @default true
|
|
44
|
+
*/
|
|
45
|
+
showInput?: boolean;
|
|
40
46
|
}
|
|
41
47
|
|
|
42
48
|
/**
|
|
43
49
|
* InputCoordinate component emits
|
|
44
50
|
*/
|
|
45
51
|
export type InputCoordinateEmits = {
|
|
46
|
-
'update:modelValue': [payload?: Nullable<
|
|
52
|
+
'update:modelValue': [payload?: Nullable<CoordinateValue>];
|
|
47
53
|
};
|
|
48
54
|
|
|
49
55
|
/**
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "visible"[], "visible", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
2
|
+
onVisible?: ((...args: any[]) => any) | undefined;
|
|
3
|
+
}, {}, {}>;
|
|
4
|
+
export default _sfc_main;
|
|
@@ -3,11 +3,13 @@ export type TransactionRoles = Addon & {
|
|
|
3
3
|
assignment: boolean;
|
|
4
4
|
transfer: boolean;
|
|
5
5
|
disposal: boolean;
|
|
6
|
+
registration: boolean;
|
|
6
7
|
};
|
|
7
8
|
|
|
8
9
|
export type Addon = {
|
|
9
10
|
repairTicketing: boolean;
|
|
10
11
|
maintenance: boolean;
|
|
12
|
+
map: boolean;
|
|
11
13
|
tracking: boolean;
|
|
12
14
|
audit: boolean;
|
|
13
15
|
assetControl: boolean;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import DialogTransferLog from './DialogTransferLog/DialogTransferLog.vue';
|
|
2
2
|
import DialogDamageLog from './DialogDamageLog/DialogDamageLog.vue';
|
|
3
3
|
import DialogMissingLog from './DialogMissingLog/DialogMissingLog.vue';
|
|
4
|
+
import TSAnimation from './Animation/Animation.vue';
|
|
4
5
|
import TSAssetInfo from './AssetInfo/AssetInfo.vue';
|
|
5
6
|
import TSApproverInfo from './ApproverInfo/ApproverInfo.vue';
|
|
6
7
|
import TSBadge from './Badge/Badge.vue';
|
|
@@ -36,6 +37,7 @@ import TSDialog from './Dialog/Dialog.vue';
|
|
|
36
37
|
import TSDialogApprovalList from './DialogApprovalList/DialogApprovalList.vue';
|
|
37
38
|
import TSDialogAssetNameDetail from './DialogAssetNameDetail/DialogAssetNameDetail.vue';
|
|
38
39
|
import TSDialogConfirm from './DialogConfirm/DialogConfirm.vue';
|
|
40
|
+
import TSDialogCoordinate from './DialogCoordinate/DialogCoordinate.vue';
|
|
39
41
|
import TSDialogForm from './DialogForm/DialogForm.vue';
|
|
40
42
|
import TSDialogLinkedAsset from './DialogLinkedAsset/DialogLinkedAsset.vue';
|
|
41
43
|
import TSDialogPrintQR from './DialogPrintQR/DialogPrintQR.vue';
|
|
@@ -45,7 +47,10 @@ import TSDialogReportTag from './DialogReportTag/DialogReportTag.vue';
|
|
|
45
47
|
import TSDialogSelectTree from './DialogSelectTree/DialogSelectTree.vue';
|
|
46
48
|
import TSDialogSelectUser from './DialogSelectUser/DialogSelectUser.vue';
|
|
47
49
|
import TSDisposalReport from './DisposalReport/DisposalReport.vue';
|
|
50
|
+
import TSFailedLoad from './FailedLoad/FailedLoad.vue';
|
|
48
51
|
import TSFilterContainer from './FilterContainer/FilterContainer.vue';
|
|
52
|
+
import TSFilterAssetValue from './FilterAssetValue/FilterAssetValue.vue';
|
|
53
|
+
import TSFilterCustomField from './FilterCustomField/FilterCustomField.vue';
|
|
49
54
|
import TSFileUpload from './FileUpload/FileUpload.vue';
|
|
50
55
|
import TSForm from './Form/Form.vue';
|
|
51
56
|
import TSIcon from './Icon/Icon.vue';
|
|
@@ -83,4 +88,4 @@ import TSTree from './Tree/Tree.vue';
|
|
|
83
88
|
import TSTreeSearchInput from './TreeSearchInput/TreeSearchInput.vue';
|
|
84
89
|
import TSUserWithIcon from './UserWithIcon/UserWithIcon.vue';
|
|
85
90
|
import TSValidatorMessage from './ValidatorMessage/ValidatorMessage.vue';
|
|
86
|
-
export { DialogTransferLog, DialogDamageLog, DialogMissingLog, TSAssetInfo, TSApproverInfo, TSBadge, TSBadgeGroup, TSBreadcrumb, TSButton, TSButtonAddByScan, TSButtonBulkAction, TSButtonCopy, TSButtonDownload, TSButtonFilter, TSButtonLogHistory, TSButtonRadio, TSButtonViewLog, TSButtonScan, TSButtonSearch, TSButtonSearchByScan, TSButtonSelectTree, TSButtonSelectUser, TSButtonSync, TSButtonToggle, TSCalendar, TSCard, TSCarousel, TSCheckbox, TSCustomColumn, TSDataTable, TSDatePicker, TSDayPicker, TSDialog, TSDialogApprovalList, TSDialogAssetNameDetail, TSDialogConfirm, TSDialogForm, TSDialogLinkedAsset, TSDialogPrintQR, TSDialogReportDamage, TSDialogReportMissing, TSDialogReportTag, TSDialogSelectTree, TSDialogSelectAsset, TSDialogSelectUser, TSDisposalReport, TSDropdown, TSFilterContainer, TSFileUpload, TSForm, TSIcon, TSImage, TSImageCompressor, TSInlineMessage, TSInputBadge, TSInputCurrency, TSInputCurrencyReference, TSInputCoordinate, TSInputEmail, TSInputNumber, TSInputOTP, TSInputPassword, TSInputPhoneNumber, TSInputRangeNumber, TSInputSearch, TSInputText, TSInputTextArea, TSInputURL, TSLoading, TSMenu, TSMultiSelect, TSOverlayPanel, TSPaginator, TSProgressBar, TSSteps, TSTabMenu, TSTagType, TSTextarea, TSTimeline, TSToast, TSTransactionRoles, TSTree, TSTreeSearchInput, TSUserWithIcon, TSValidatorMessage, };
|
|
91
|
+
export { DialogTransferLog, DialogDamageLog, DialogMissingLog, TSAnimation, TSAssetInfo, TSApproverInfo, TSBadge, TSBadgeGroup, TSBreadcrumb, TSButton, TSButtonAddByScan, TSButtonBulkAction, TSButtonCopy, TSButtonDownload, TSButtonFilter, TSButtonLogHistory, TSButtonRadio, TSButtonViewLog, TSButtonScan, TSButtonSearch, TSButtonSearchByScan, TSButtonSelectTree, TSButtonSelectUser, TSButtonSync, TSButtonToggle, TSCalendar, TSCard, TSCarousel, TSCheckbox, TSCustomColumn, TSDataTable, TSDatePicker, TSDayPicker, TSDialog, TSDialogApprovalList, TSDialogAssetNameDetail, TSDialogConfirm, TSDialogCoordinate, TSDialogForm, TSDialogLinkedAsset, TSDialogPrintQR, TSDialogReportDamage, TSDialogReportMissing, TSDialogReportTag, TSDialogSelectTree, TSDialogSelectAsset, TSDialogSelectUser, TSDisposalReport, TSDropdown, TSFailedLoad, TSFilterContainer, TSFilterAssetValue, TSFilterCustomField, TSFileUpload, TSForm, TSIcon, TSImage, TSImageCompressor, TSInlineMessage, TSInputBadge, TSInputCurrency, TSInputCurrencyReference, TSInputCoordinate, TSInputEmail, TSInputNumber, TSInputOTP, TSInputPassword, TSInputPhoneNumber, TSInputRangeNumber, TSInputSearch, TSInputText, TSInputTextArea, TSInputURL, TSLoading, TSMenu, TSMultiSelect, TSOverlayPanel, TSPaginator, TSProgressBar, TSSteps, TSTabMenu, TSTagType, TSTextarea, TSTimeline, TSToast, TSTransactionRoles, TSTree, TSTreeSearchInput, TSUserWithIcon, TSValidatorMessage, };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AssetMap } from '../types/assets.type';
|
|
1
2
|
import { DataTableParams } from '../types/dataTable.type';
|
|
2
3
|
import { DialogSelectAssetFilterModels } from '../components/v2/DialogSelectAsset/DialogSelectAsset.vue.d';
|
|
3
4
|
export type DialogSelectAssetFilterQueryParams = Partial<Record<keyof DialogSelectAssetFilterModels, string>>;
|
|
@@ -7,6 +8,8 @@ export type GetAllAssetsQueryParams = DataTableParams & DialogSelectAssetFilterQ
|
|
|
7
8
|
excludeId?: string;
|
|
8
9
|
tag?: string;
|
|
9
10
|
maintenanceAuditStatus?: string[];
|
|
11
|
+
coordinate?: boolean;
|
|
12
|
+
map?: boolean[];
|
|
10
13
|
};
|
|
11
14
|
export type GetAvailableAssetsQueryParams = DataTableParams & DialogSelectAssetFilterQueryParams & {
|
|
12
15
|
search?: string;
|
|
@@ -24,6 +27,18 @@ export interface GetLinkedAssetFamiliesResponse {
|
|
|
24
27
|
message: string;
|
|
25
28
|
data: Datum[];
|
|
26
29
|
}
|
|
30
|
+
export interface GetAssetMapResponse {
|
|
31
|
+
status: number;
|
|
32
|
+
message: string;
|
|
33
|
+
data: AssetMap[];
|
|
34
|
+
}
|
|
35
|
+
export interface GetAssetMapParams {
|
|
36
|
+
east?: number;
|
|
37
|
+
west?: number;
|
|
38
|
+
north?: number;
|
|
39
|
+
south?: number;
|
|
40
|
+
search?: string;
|
|
41
|
+
}
|
|
27
42
|
interface Datum {
|
|
28
43
|
_id: string;
|
|
29
44
|
parent: Parent;
|