tsv2-library 1.0.61-alpha.136 → 1.0.61-alpha.139

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.
@@ -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
+ };
@@ -26,10 +26,10 @@ import useLoadingStore from './components/v2/Loading/store/loading.store';
26
26
  import Tooltip from '../node_modules/primevue/tooltip';
27
27
  import Focus from './directives/v-focus';
28
28
  import VueHtmlToPaper from './plugins/VueHtmlToPaper';
29
- 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, TSDialogCoordinate, 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, TSInputURL, TSLoading, TSMenu, TSMultiSelect, TSOverlayPanel, TSPaginator, TSProgressBar, TSSteps, TSTabMenu, TSTagType, TSTextarea, TSTimeline, TSToast, TSTransactionRoles, TSTree, TSTreeSearchInput, TSUserWithIcon, TSValidatorMessage } from './components/v2';
29
+ 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, 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';
30
30
  declare const TSi18n: import("vue-i18n").I18n<{}, {}, {}, string, false>;
31
31
  declare const _default: {
32
32
  install: (app: App) => void;
33
33
  };
34
34
  export default _default;
35
- 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, TSDialogCoordinate, 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, 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, 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, eventBus, extendEventBus, Presets, };
35
+ 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, 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, 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, eventBus, extendEventBus, Presets, };
@@ -0,0 +1,39 @@
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
+ }
25
+
26
+ /**
27
+ * **Animation**
28
+ *
29
+ * _Animation is a lottie animation wrapper._
30
+ *
31
+ * @group Component
32
+ */
33
+ declare class Animation extends ClassComponent<
34
+ AnimationProps,
35
+ unknown,
36
+ unknown
37
+ > {}
38
+
39
+ export default Animation;
@@ -9,9 +9,9 @@ export interface DataTableColumnConfig {
9
9
 
10
10
  export interface CustomColumnProps {
11
11
  tableId: string;
12
- tableKey: string;
13
- tableName: string;
14
- tableData: Data[] | undefined;
12
+ tableKey?: string;
13
+ tableName?: string;
14
+ tableData?: Data[];
15
15
  defaultColumns: TableColumn[];
16
16
  visibleColumns: TableColumn[];
17
17
  /**
@@ -170,7 +170,7 @@ export type TableColumn = {
170
170
  fixed?: boolean;
171
171
  visible?: boolean;
172
172
  /**
173
- * Wether the column is checked by default, only for Custom Report Table
173
+ * Whether the column is checked by default
174
174
  * @default true
175
175
  */
176
176
  checkedByDefault?: boolean;
@@ -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;
@@ -89,6 +89,7 @@ export interface DialogCoordinateProps {
89
89
  customMarkers?: CustomMarker[];
90
90
  inputMarkerConfig?: MarkerConfig;
91
91
  type: 'input' | 'detail';
92
+ card?: boolean;
92
93
  }
93
94
 
94
95
  export interface CustomMarker {
@@ -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
+ * ![TSVue](https://ik.imagekit.io/kurniadev/TS-HEAD-BLACK.png)
17
+ *
18
+ * @group components
19
+ */
20
+ declare class FailedLoad extends ClassComponent<
21
+ unknown,
22
+ unknown,
23
+ FailedLoadEmits
24
+ > {}
25
+
26
+ export default FailedLoad;
@@ -112,6 +112,7 @@ export type TSVueIcons =
112
112
  | 'qr-scan-line'
113
113
  | 'recycle-bin'
114
114
  | 'refresh'
115
+ | 'reload'
115
116
  | 'replace-tag'
116
117
  | 'report-tag'
117
118
  | 'repair-ticketing'
@@ -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';
@@ -46,6 +47,7 @@ import TSDialogReportTag from './DialogReportTag/DialogReportTag.vue';
46
47
  import TSDialogSelectTree from './DialogSelectTree/DialogSelectTree.vue';
47
48
  import TSDialogSelectUser from './DialogSelectUser/DialogSelectUser.vue';
48
49
  import TSDisposalReport from './DisposalReport/DisposalReport.vue';
50
+ import TSFailedLoad from './FailedLoad/FailedLoad.vue';
49
51
  import TSFilterContainer from './FilterContainer/FilterContainer.vue';
50
52
  import TSFileUpload from './FileUpload/FileUpload.vue';
51
53
  import TSForm from './Form/Form.vue';
@@ -84,4 +86,4 @@ import TSTree from './Tree/Tree.vue';
84
86
  import TSTreeSearchInput from './TreeSearchInput/TreeSearchInput.vue';
85
87
  import TSUserWithIcon from './UserWithIcon/UserWithIcon.vue';
86
88
  import TSValidatorMessage from './ValidatorMessage/ValidatorMessage.vue';
87
- 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, TSDialogCoordinate, 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, };
89
+ 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, 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, };