tsv2-library 1.1.8 → 1.1.10
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/AssetTable/columns/assetColumns.d.ts +1 -1
- package/dist/src/components/v2/DialogPrintLabel/DialogPrintLabel.vue.d.ts +31 -0
- package/dist/src/components/v2/DialogPrintLabel/PrintLabel.vue.d.ts +30 -0
- package/dist/src/components/v2/index.d.ts +2 -1
- package/dist/style.css +1 -1
- package/dist/tsv2-library.es.js +1809 -1358
- package/dist/tsv2-library.umd.js +4 -4
- package/package.json +1 -1
- package/src/components/v2/DialogPrintLabel/DialogPrintLabel.vue.d.ts +31 -0
|
@@ -30,10 +30,10 @@ import Focus from './directives/v-focus';
|
|
|
30
30
|
import VueHtmlToPaper from './plugins/VueHtmlToPaper';
|
|
31
31
|
import { ASSET_COL_FIELDS, assetValueColumns, assetValueColumnsWithDefault, customFieldColumns, defaultAssetColumns } from './components/v2/AssetTable/columns/assetColumns';
|
|
32
32
|
import { parseAssetStaticFilter, formatAssetValue } from './components/v2/AssetTable/helpers';
|
|
33
|
-
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, TSDayOfYearPicker, TSDialog, TSDialogApprovalList, TSDialogAssetNameDetail, TSDialogConfirm, TSDialogCoordinate, TSDialogDataLocked, TSDialogForm, TSDialogLinkedAsset, TSDialogPrintQR, TSDialogReportDamage, TSDialogReportMissing, TSDialogReportTag, TSDialogSelectAssetName, TSDialogSelectTree, TSDialogSelectAsset, TSDialogSelectUser, TSDisposalReport, TSDropdown, TSFailedLoad, TSFilterContainer, TSAssetFilters, 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';
|
|
33
|
+
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, TSDayOfYearPicker, TSDialog, TSDialogApprovalList, TSDialogAssetNameDetail, TSDialogConfirm, TSDialogCoordinate, TSDialogDataLocked, TSDialogForm, TSDialogLinkedAsset, TSDialogPrintQR, TSDialogPrintLabel, TSDialogReportDamage, TSDialogReportMissing, TSDialogReportTag, TSDialogSelectAssetName, TSDialogSelectTree, TSDialogSelectAsset, TSDialogSelectUser, TSDisposalReport, TSDropdown, TSFailedLoad, TSFilterContainer, TSAssetFilters, 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';
|
|
34
34
|
declare const TSi18n: import("vue-i18n").I18n<{}, {}, {}, string, false>;
|
|
35
35
|
declare const _default: {
|
|
36
36
|
install: (app: App) => void;
|
|
37
37
|
};
|
|
38
38
|
export default _default;
|
|
39
|
-
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, TSDayOfYearPicker, TSDialog, TSDialogApprovalList, TSDialogAssetNameDetail, TSDialogConfirm, TSDialogCoordinate, TSDialogDataLocked, TSDialogForm, TSDialogLinkedAsset, TSDialogPrintQR, TSDialogReportDamage, TSDialogReportMissing, TSDialogReportTag, TSDialogSelectAssetName, TSDialogSelectTree, TSDialogSelectAsset, TSDialogSelectUser, TSDisposalReport, TSDropdown, TSFailedLoad, TSFilterContainer, TSAssetFilters, 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, getVisibleColumns, getTransactionRole, getSystemRole, hasSystemRole, hasTransactionRole, checkRouteAccess, hasApprovalRole, hasManagerRole, hasAnyManagerRole, hasMonitoringReportRole, hasAnyMonitoringReportRole, hasStaffRole, hasAccessToAssetDetail, flattenTreeNodeChildren, parseNodeKeys, filterNodeKeys, TreeAPI, RoutineAPI, DisposalAPI, RoutineServices, AssetsServices, AssetNameService, AssetBrandService, DataLockService, DisposalServices, FilterMatchMode, useLoadingStore, useAssetTableStore, eventBus, extendEventBus, Presets, ASSET_COL_FIELDS, assetValueColumns, assetValueColumnsWithDefault, customFieldColumns, defaultAssetColumns, parseAssetStaticFilter, };
|
|
39
|
+
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, TSDayOfYearPicker, TSDialog, TSDialogApprovalList, TSDialogAssetNameDetail, TSDialogConfirm, TSDialogCoordinate, TSDialogDataLocked, TSDialogForm, TSDialogLinkedAsset, TSDialogPrintQR, TSDialogPrintLabel, TSDialogReportDamage, TSDialogReportMissing, TSDialogReportTag, TSDialogSelectAssetName, TSDialogSelectTree, TSDialogSelectAsset, TSDialogSelectUser, TSDisposalReport, TSDropdown, TSFailedLoad, TSFilterContainer, TSAssetFilters, 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, getVisibleColumns, getTransactionRole, getSystemRole, hasSystemRole, hasTransactionRole, checkRouteAccess, hasApprovalRole, hasManagerRole, hasAnyManagerRole, hasMonitoringReportRole, hasAnyMonitoringReportRole, hasStaffRole, hasAccessToAssetDetail, flattenTreeNodeChildren, parseNodeKeys, filterNodeKeys, TreeAPI, RoutineAPI, DisposalAPI, RoutineServices, AssetsServices, AssetNameService, AssetBrandService, DataLockService, DisposalServices, FilterMatchMode, useLoadingStore, useAssetTableStore, eventBus, extendEventBus, Presets, ASSET_COL_FIELDS, assetValueColumns, assetValueColumnsWithDefault, customFieldColumns, defaultAssetColumns, parseAssetStaticFilter, };
|
|
@@ -2,6 +2,6 @@ import { TableColumn } from '../../DataTable/DataTable.vue.d';
|
|
|
2
2
|
export declare const ASSET_COL_FIELDS: readonly ["assetImage", "name.nameWithSequence", "aliasName", "assetId", "group.name", "category.name", "brand.name", "model.name", "tagType", "measurement.name", "maintenanceStatus", "auditStatus", "transactions", "coordinates", "address", "warrantyStatus", "lastScannedAt", "linkedAssetCount"];
|
|
3
3
|
export type AssetColField = (typeof ASSET_COL_FIELDS)[number];
|
|
4
4
|
export declare const assetValueColumns: import("vue").Ref<TableColumn[], TableColumn[]>, assetValueColumnsWithDefault: import("vue").Ref<TableColumn[], TableColumn[]>, customFieldColumns: import("vue").Ref<TableColumn[], TableColumn[]>;
|
|
5
|
-
export declare const defaultAssetColumns: import("vue").ComputedRef<Record<"tagType" | "transactions" | "assetImage" | "name.nameWithSequence" | "aliasName" | "
|
|
5
|
+
export declare const defaultAssetColumns: import("vue").ComputedRef<Record<"tagType" | "assetId" | "transactions" | "assetImage" | "name.nameWithSequence" | "aliasName" | "group.name" | "category.name" | "brand.name" | "model.name" | "measurement.name" | "maintenanceStatus" | "auditStatus" | "coordinates" | "address" | "warrantyStatus" | "lastScannedAt" | "linkedAssetCount", TableColumn & {
|
|
6
6
|
field: AssetColField;
|
|
7
7
|
}>>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { AssetTableData } from '../../../types/assets.type';
|
|
2
|
+
import { DefineComponent } from 'vue';
|
|
3
|
+
|
|
4
|
+
export type Label = {
|
|
5
|
+
assetName?: string;
|
|
6
|
+
code?: string;
|
|
7
|
+
category?: string;
|
|
8
|
+
purchaseDate?: number;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Props for DialogSelectAsset component
|
|
13
|
+
*/
|
|
14
|
+
export interface DialogPrintLabelProps {
|
|
15
|
+
selectedData: Partial<
|
|
16
|
+
Pick<AssetTableData, 'name' | 'assetId' | 'category' | 'purchaseDate'>
|
|
17
|
+
>[];
|
|
18
|
+
visible: boolean;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* TSVue - DialogPrintLabel
|
|
23
|
+
*
|
|
24
|
+
* --- ---
|
|
25
|
+
* 
|
|
26
|
+
*
|
|
27
|
+
* @group components
|
|
28
|
+
*/
|
|
29
|
+
declare const DialogPrintLabel: DefineComponent<DialogPrintLabelProps>;
|
|
30
|
+
|
|
31
|
+
export default DialogPrintLabel;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { PropType as __PropType } from 'vue';
|
|
2
|
+
import { Label } from '../DialogPrintLabel/DialogPrintLabel.vue.d';
|
|
3
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
+
labelSize: {
|
|
5
|
+
type: __PropType<"small" | "large">;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
label: {
|
|
9
|
+
type: __PropType<Label>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
addBorder: {
|
|
13
|
+
type: __PropType<boolean | undefined>;
|
|
14
|
+
required: false;
|
|
15
|
+
};
|
|
16
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
+
labelSize: {
|
|
18
|
+
type: __PropType<"small" | "large">;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
label: {
|
|
22
|
+
type: __PropType<Label>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
addBorder: {
|
|
26
|
+
type: __PropType<boolean | undefined>;
|
|
27
|
+
required: false;
|
|
28
|
+
};
|
|
29
|
+
}>>, {}, {}>;
|
|
30
|
+
export default _sfc_main;
|
|
@@ -43,6 +43,7 @@ import TSDialogDataLocked from './DialogDataLocked/DialogDataLocked.vue';
|
|
|
43
43
|
import TSDialogForm from './DialogForm/DialogForm.vue';
|
|
44
44
|
import TSDialogLinkedAsset from './DialogLinkedAsset/DialogLinkedAsset.vue';
|
|
45
45
|
import TSDialogPrintQR from './DialogPrintQR/DialogPrintQR.vue';
|
|
46
|
+
import TSDialogPrintLabel from './DialogPrintLabel/DialogPrintLabel.vue';
|
|
46
47
|
import TSDialogReportDamage from './DialogReportDamage/DialogReportDamage.vue';
|
|
47
48
|
import TSDialogReportMissing from './DialogReportMissing/DialogReportMissing.vue';
|
|
48
49
|
import TSDialogReportTag from './DialogReportTag/DialogReportTag.vue';
|
|
@@ -90,4 +91,4 @@ import TSTree from './Tree/Tree.vue';
|
|
|
90
91
|
import TSTreeSearchInput from './TreeSearchInput/TreeSearchInput.vue';
|
|
91
92
|
import TSUserWithIcon from './UserWithIcon/UserWithIcon.vue';
|
|
92
93
|
import TSValidatorMessage from './ValidatorMessage/ValidatorMessage.vue';
|
|
93
|
-
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, TSDayOfYearPicker, TSDialog, TSDialogApprovalList, TSDialogAssetNameDetail, TSDialogConfirm, TSDialogCoordinate, TSDialogDataLocked, TSDialogForm, TSDialogLinkedAsset, TSDialogPrintQR, TSDialogReportDamage, TSDialogReportMissing, TSDialogReportTag, TSDialogSelectAssetName, TSDialogSelectTree, TSDialogSelectAsset, TSDialogSelectUser, TSDisposalReport, TSDropdown, TSFailedLoad, TSFilterContainer, TSAssetFilters, 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, };
|
|
94
|
+
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, TSDayOfYearPicker, TSDialog, TSDialogApprovalList, TSDialogAssetNameDetail, TSDialogConfirm, TSDialogCoordinate, TSDialogDataLocked, TSDialogForm, TSDialogLinkedAsset, TSDialogPrintQR, TSDialogPrintLabel, TSDialogReportDamage, TSDialogReportMissing, TSDialogReportTag, TSDialogSelectAssetName, TSDialogSelectTree, TSDialogSelectAsset, TSDialogSelectUser, TSDisposalReport, TSDropdown, TSFailedLoad, TSFilterContainer, TSAssetFilters, 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, };
|