tsv2-library 1.0.61-alpha.84 → 1.0.61-alpha.89
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/build-entry.d.ts +2 -2
- package/dist/src/components/v2/InputCurrency/InputCurrency.vue.d.ts +5 -0
- package/dist/src/components/v2/InputCurrencyReference/InputCurrencyReference.vue.d.ts +153 -0
- package/dist/src/components/v2/index.d.ts +2 -1
- package/dist/src/services/assets.service.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/tsv2-library.es.js +868 -800
- package/dist/tsv2-library.umd.js +6 -6
- package/package.json +1 -1
- package/src/components/v2/InputCurrency/InputCurrency.vue.d.ts +5 -0
- package/src/services/assets.service.ts +3 -5
|
@@ -25,10 +25,10 @@ import useLoadingStore from './components/v2/Loading/store/loading.store';
|
|
|
25
25
|
import Tooltip from '../node_modules/primevue/tooltip';
|
|
26
26
|
import Focus from './directives/v-focus';
|
|
27
27
|
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, 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';
|
|
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';
|
|
29
29
|
declare const TSi18n: import("vue-i18n").I18n<{}, {}, {}, string, false>;
|
|
30
30
|
declare const _default: {
|
|
31
31
|
install: (app: App) => void;
|
|
32
32
|
};
|
|
33
33
|
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, 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, 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, };
|
|
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, 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, };
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import type { PropType as __PropType } from 'vue';
|
|
2
|
+
import type { CurrencyValue } from '../InputCurrency/InputCurrency.vue.d';
|
|
3
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
+
modelValue: {
|
|
5
|
+
type: __PropType<CurrencyValue | undefined>;
|
|
6
|
+
required: false;
|
|
7
|
+
};
|
|
8
|
+
value: {
|
|
9
|
+
type: __PropType<number | undefined>;
|
|
10
|
+
required: false;
|
|
11
|
+
};
|
|
12
|
+
label: {
|
|
13
|
+
type: __PropType<string | undefined>;
|
|
14
|
+
required: false;
|
|
15
|
+
};
|
|
16
|
+
max: {
|
|
17
|
+
type: __PropType<number | undefined>;
|
|
18
|
+
required: false;
|
|
19
|
+
};
|
|
20
|
+
useValidator: {
|
|
21
|
+
type: __PropType<boolean | undefined>;
|
|
22
|
+
required: false;
|
|
23
|
+
};
|
|
24
|
+
fieldName: {
|
|
25
|
+
type: __PropType<string | undefined>;
|
|
26
|
+
required: false;
|
|
27
|
+
};
|
|
28
|
+
mandatory: {
|
|
29
|
+
type: __PropType<boolean | undefined>;
|
|
30
|
+
required: false;
|
|
31
|
+
};
|
|
32
|
+
validatorMessage: {
|
|
33
|
+
type: __PropType<string | undefined>;
|
|
34
|
+
required: false;
|
|
35
|
+
};
|
|
36
|
+
invalid: {
|
|
37
|
+
type: __PropType<boolean | undefined>;
|
|
38
|
+
required: false;
|
|
39
|
+
};
|
|
40
|
+
placeholder: {
|
|
41
|
+
type: __PropType<string | undefined>;
|
|
42
|
+
required: false;
|
|
43
|
+
};
|
|
44
|
+
disabled: {
|
|
45
|
+
type: __PropType<boolean | undefined>;
|
|
46
|
+
required: false;
|
|
47
|
+
};
|
|
48
|
+
showButtons: {
|
|
49
|
+
type: __PropType<boolean | undefined>;
|
|
50
|
+
required: false;
|
|
51
|
+
};
|
|
52
|
+
size: {
|
|
53
|
+
type: __PropType<"small" | "normal" | "full" | undefined>;
|
|
54
|
+
required: false;
|
|
55
|
+
};
|
|
56
|
+
mode: {
|
|
57
|
+
type: __PropType<"decimal" | "currency" | undefined>;
|
|
58
|
+
required: false;
|
|
59
|
+
};
|
|
60
|
+
useGrouping: {
|
|
61
|
+
type: __PropType<boolean | undefined>;
|
|
62
|
+
required: false;
|
|
63
|
+
};
|
|
64
|
+
fieldInfo: {
|
|
65
|
+
type: __PropType<string | undefined>;
|
|
66
|
+
required: false;
|
|
67
|
+
};
|
|
68
|
+
inputnNumberId: {
|
|
69
|
+
type: __PropType<string | undefined>;
|
|
70
|
+
required: false;
|
|
71
|
+
};
|
|
72
|
+
selectable: {
|
|
73
|
+
type: __PropType<boolean | undefined>;
|
|
74
|
+
required: false;
|
|
75
|
+
};
|
|
76
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "input")[], "update:modelValue" | "input", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
77
|
+
modelValue: {
|
|
78
|
+
type: __PropType<CurrencyValue | undefined>;
|
|
79
|
+
required: false;
|
|
80
|
+
};
|
|
81
|
+
value: {
|
|
82
|
+
type: __PropType<number | undefined>;
|
|
83
|
+
required: false;
|
|
84
|
+
};
|
|
85
|
+
label: {
|
|
86
|
+
type: __PropType<string | undefined>;
|
|
87
|
+
required: false;
|
|
88
|
+
};
|
|
89
|
+
max: {
|
|
90
|
+
type: __PropType<number | undefined>;
|
|
91
|
+
required: false;
|
|
92
|
+
};
|
|
93
|
+
useValidator: {
|
|
94
|
+
type: __PropType<boolean | undefined>;
|
|
95
|
+
required: false;
|
|
96
|
+
};
|
|
97
|
+
fieldName: {
|
|
98
|
+
type: __PropType<string | undefined>;
|
|
99
|
+
required: false;
|
|
100
|
+
};
|
|
101
|
+
mandatory: {
|
|
102
|
+
type: __PropType<boolean | undefined>;
|
|
103
|
+
required: false;
|
|
104
|
+
};
|
|
105
|
+
validatorMessage: {
|
|
106
|
+
type: __PropType<string | undefined>;
|
|
107
|
+
required: false;
|
|
108
|
+
};
|
|
109
|
+
invalid: {
|
|
110
|
+
type: __PropType<boolean | undefined>;
|
|
111
|
+
required: false;
|
|
112
|
+
};
|
|
113
|
+
placeholder: {
|
|
114
|
+
type: __PropType<string | undefined>;
|
|
115
|
+
required: false;
|
|
116
|
+
};
|
|
117
|
+
disabled: {
|
|
118
|
+
type: __PropType<boolean | undefined>;
|
|
119
|
+
required: false;
|
|
120
|
+
};
|
|
121
|
+
showButtons: {
|
|
122
|
+
type: __PropType<boolean | undefined>;
|
|
123
|
+
required: false;
|
|
124
|
+
};
|
|
125
|
+
size: {
|
|
126
|
+
type: __PropType<"small" | "normal" | "full" | undefined>;
|
|
127
|
+
required: false;
|
|
128
|
+
};
|
|
129
|
+
mode: {
|
|
130
|
+
type: __PropType<"decimal" | "currency" | undefined>;
|
|
131
|
+
required: false;
|
|
132
|
+
};
|
|
133
|
+
useGrouping: {
|
|
134
|
+
type: __PropType<boolean | undefined>;
|
|
135
|
+
required: false;
|
|
136
|
+
};
|
|
137
|
+
fieldInfo: {
|
|
138
|
+
type: __PropType<string | undefined>;
|
|
139
|
+
required: false;
|
|
140
|
+
};
|
|
141
|
+
inputnNumberId: {
|
|
142
|
+
type: __PropType<string | undefined>;
|
|
143
|
+
required: false;
|
|
144
|
+
};
|
|
145
|
+
selectable: {
|
|
146
|
+
type: __PropType<boolean | undefined>;
|
|
147
|
+
required: false;
|
|
148
|
+
};
|
|
149
|
+
}>> & {
|
|
150
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
151
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
152
|
+
}, {}, {}>;
|
|
153
|
+
export default _sfc_main;
|
|
@@ -54,6 +54,7 @@ import TSImageCompressor from './ImageCompressor/ImageCompressor.vue';
|
|
|
54
54
|
import TSInlineMessage from './InlineMessage/InlineMessage.vue';
|
|
55
55
|
import TSInputBadge from './InputBadge/InputBadge.vue';
|
|
56
56
|
import TSInputCurrency from './InputCurrency/InputCurrency.vue';
|
|
57
|
+
import TSInputCurrencyReference from './InputCurrencyReference/InputCurrencyReference.vue';
|
|
57
58
|
import TSInputEmail from './InputEmail/InputEmail.vue';
|
|
58
59
|
import TSInputNumber from './InputNumber/InputNumber.vue';
|
|
59
60
|
import TSInputOTP from './InputOTP/InputOTP.vue';
|
|
@@ -81,4 +82,4 @@ import TSTree from './Tree/Tree.vue';
|
|
|
81
82
|
import TSTreeSearchInput from './TreeSearchInput/TreeSearchInput.vue';
|
|
82
83
|
import TSUserWithIcon from './UserWithIcon/UserWithIcon.vue';
|
|
83
84
|
import TSValidatorMessage from './ValidatorMessage/ValidatorMessage.vue';
|
|
84
|
-
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, 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, };
|
|
85
|
+
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, 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, };
|
|
@@ -9,7 +9,7 @@ export declare const API: ({ headers, params, }?: ServiceOptions) => AxiosInstan
|
|
|
9
9
|
declare const _default: {
|
|
10
10
|
getAllAssets: (params: GetAllAssetsQueryParams) => Promise<AxiosResponse<any, any>>;
|
|
11
11
|
getAvailableAssets: (params: GetAvailableAssetsQueryParams) => Promise<AxiosResponse<any, any>>;
|
|
12
|
-
|
|
12
|
+
postAssetAvailableList: (params?: GetAllAssetsQueryParams | GetAvailableAssetsQueryParams | undefined) => Promise<AxiosResponse<any, any>>;
|
|
13
13
|
getAssetsById: (_id: string, params: GetAvailableAssetsQueryParams) => Promise<AxiosResponse<any, any>>;
|
|
14
14
|
getAssetDetail: (id: string, params?: GetAssetDetailParams | undefined) => Promise<AxiosResponse<any, any>>;
|
|
15
15
|
matchAssetWithTag: (id: string, tag?: string | undefined) => Promise<AxiosResponse<any, any>>;
|