tsv2-library 1.0.61-alpha.137 → 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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tsv2-library",
3
3
  "author": "fixedassetv2-fe",
4
- "version": "1.0.61-alpha.137",
4
+ "version": "1.0.61-alpha.139",
5
5
  "license": "ISC",
6
6
  "homepage": "https://github.com/fixedassetv2-fe/tsv2-library#readme",
7
7
  "repository": {
@@ -40,6 +40,7 @@
40
40
  "dependencies": {
41
41
  "@googlemaps/js-api-loader": "^2.0.2",
42
42
  "@googlemaps/markerclusterer": "^2.6.2",
43
+ "@lottiefiles/dotlottie-web": "^0.61.0",
43
44
  "@types/google.maps": "^3.58.1",
44
45
  "@types/lodash": "^4.17.7",
45
46
  "@vueuse/core": "^10.7.2",
@@ -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,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'