tsv2-library 0.2.1 → 0.2.3
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 +7 -1
- package/dist/src/components/v2/Badge/Badge.vue.d.ts +10 -2
- package/dist/src/components/v2/DataTable/DataTable.vue.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/tsv2-library.es.js +39922 -39892
- package/package.json +1 -1
- package/src/components/v2/Badge/Badge.vue.d.ts +10 -2
- package/src/components/v2/DataTable/DataTable.vue.d.ts +1 -0
- package/src/presets/tabmenu/index.js +1 -0
|
@@ -6,6 +6,12 @@ import DisposalServices, { API as DisposalAPI } from './services/disposal.servic
|
|
|
6
6
|
import { FilterMatchMode } from '../node_modules/primevue/api';
|
|
7
7
|
import { API as TreeAPI } from './services/tree.service';
|
|
8
8
|
import RoutineServices, { API as RoutineAPI } from './services/routine.service';
|
|
9
|
+
import { FormContext } from 'vee-validate';
|
|
10
|
+
interface TSFormContext<T> {
|
|
11
|
+
values: T;
|
|
12
|
+
handleSubmit: FormContext['handleSubmit'];
|
|
13
|
+
}
|
|
14
|
+
declare const useForm: <T>() => TSFormContext<T>;
|
|
9
15
|
import { handleTokenExpiration, exportToExcel, formatDate, formatDateReadable, formatUserName, formatVowelSoundLabel, getImageURL, isObjectEmpty, useToast, listenSidebarChanges, unListenSidebarChanges, getCurrency, formatCurrency, getHostName, getBaseURL, useI18n } from './utils';
|
|
10
16
|
import { flattenTreeNodeChildren, parseNodeKeys, filterNodeKeys } from './components/v2/Tree/helpers';
|
|
11
17
|
import useLoadingStore from './components/v2/Loading/store/loading.store';
|
|
@@ -17,4 +23,4 @@ declare const _default: {
|
|
|
17
23
|
install: (app: App) => void;
|
|
18
24
|
};
|
|
19
25
|
export default _default;
|
|
20
|
-
export { LibConfig, TSToastService, VueHtmlToPaper, Tooltip, Focus, 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, TSDataTable, 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, formatDate, formatDateReadable, formatUserName, formatVowelSoundLabel, getImageURL, isObjectEmpty, useToast, listenSidebarChanges, unListenSidebarChanges, getCurrency, formatCurrency, getHostName, getBaseURL, useI18n, flattenTreeNodeChildren, parseNodeKeys, filterNodeKeys, TreeAPI, RoutineAPI, DisposalAPI, RoutineServices, AssetsServices, DisposalServices, FilterMatchMode, useLoadingStore, };
|
|
26
|
+
export { LibConfig, TSToastService, VueHtmlToPaper, Tooltip, Focus, 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, TSDataTable, 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, formatDate, formatDateReadable, formatUserName, formatVowelSoundLabel, getImageURL, isObjectEmpty, useToast, listenSidebarChanges, unListenSidebarChanges, getCurrency, formatCurrency, getHostName, getBaseURL, useI18n, useForm, flattenTreeNodeChildren, parseNodeKeys, filterNodeKeys, TreeAPI, RoutineAPI, DisposalAPI, RoutineServices, AssetsServices, DisposalServices, FilterMatchMode, useLoadingStore, };
|
|
@@ -8,6 +8,10 @@ export interface BadgeProps {
|
|
|
8
8
|
* The text to be displayed.
|
|
9
9
|
*/
|
|
10
10
|
label: string;
|
|
11
|
+
/**
|
|
12
|
+
* Wether the badge text is editable.
|
|
13
|
+
*/
|
|
14
|
+
editable?: boolean;
|
|
11
15
|
/**
|
|
12
16
|
* Sets the severity level for styling purposes.
|
|
13
17
|
*/
|
|
@@ -30,8 +34,12 @@ export interface BadgeProps {
|
|
|
30
34
|
* Emits for Badge component
|
|
31
35
|
*/
|
|
32
36
|
export type BadgeEmits = {
|
|
33
|
-
remove: [];
|
|
34
|
-
|
|
37
|
+
'remove': [];
|
|
38
|
+
/**
|
|
39
|
+
* Emits when the text is edited.
|
|
40
|
+
* Only available when props.editable=true
|
|
41
|
+
*/
|
|
42
|
+
'update:label': [label: string | null];
|
|
35
43
|
};
|
|
36
44
|
|
|
37
45
|
/**
|