shared-ritm 1.2.54 → 1.2.56
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/index.css +1 -1
- package/dist/shared-ritm.es.js +4 -4
- package/dist/shared-ritm.umd.js +2 -2
- package/dist/types/api/types/Api_Controls.d.ts +10 -10
- package/package.json +1 -1
- package/src/api/types/Api_Controls.ts +72 -72
- package/src/common/app-table/AppTable.vue +244 -241
- package/src/common/app-table/AppTableLayout.vue +104 -104
|
@@ -21,7 +21,7 @@ export interface ControlMeta {
|
|
|
21
21
|
totalPages: number;
|
|
22
22
|
currentPage: number;
|
|
23
23
|
}
|
|
24
|
-
export
|
|
24
|
+
export type FiltersValue = {
|
|
25
25
|
users?: {
|
|
26
26
|
users: Api_User_Dto[];
|
|
27
27
|
};
|
|
@@ -34,18 +34,18 @@ export interface FiltersValue {
|
|
|
34
34
|
status?: {
|
|
35
35
|
status: boolean;
|
|
36
36
|
};
|
|
37
|
-
}
|
|
38
|
-
export
|
|
37
|
+
};
|
|
38
|
+
export type Api_Instrument_Dto = {
|
|
39
39
|
id: string;
|
|
40
40
|
name: string;
|
|
41
41
|
storage_id?: string;
|
|
42
|
-
}
|
|
43
|
-
export
|
|
42
|
+
};
|
|
43
|
+
export type Api_Warehouse_Dto = {
|
|
44
44
|
id: string;
|
|
45
45
|
invoice_ref_key: string;
|
|
46
46
|
inventory_number: string;
|
|
47
|
-
instrument:
|
|
48
|
-
}
|
|
47
|
+
instrument: Api_Instrument_Dto[];
|
|
48
|
+
};
|
|
49
49
|
export type Api_ControlLogs_Dto = {
|
|
50
50
|
id: string;
|
|
51
51
|
automatically: string;
|
|
@@ -55,9 +55,9 @@ export type Api_ControlLogs_Dto = {
|
|
|
55
55
|
controller: Api_User_Dto[];
|
|
56
56
|
user: Api_User_Dto[];
|
|
57
57
|
frame: Api_ControlZones_Dto[];
|
|
58
|
-
warehouse:
|
|
58
|
+
warehouse: Api_Warehouse_Dto[];
|
|
59
59
|
};
|
|
60
|
-
export type
|
|
60
|
+
export type Api_New_Items = {
|
|
61
61
|
title: string;
|
|
62
62
|
inventory_numbers: string;
|
|
63
63
|
storage_id: string;
|
|
@@ -65,5 +65,5 @@ export type New_Items = {
|
|
|
65
65
|
export type Api_ManualEntry_Dto = {
|
|
66
66
|
user: string;
|
|
67
67
|
items?: string[];
|
|
68
|
-
new_items?:
|
|
68
|
+
new_items?: Api_New_Items[];
|
|
69
69
|
};
|
package/package.json
CHANGED
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
export type Api_User_Dto = {
|
|
2
|
-
id: string
|
|
3
|
-
full_name: string
|
|
4
|
-
}
|
|
5
|
-
export type Api_ControlZones_Dto = {
|
|
6
|
-
id: string
|
|
7
|
-
name: string
|
|
8
|
-
inventory_number: string
|
|
9
|
-
uuid: string
|
|
10
|
-
controller_zone: string
|
|
11
|
-
users?: Api_User_Dto[]
|
|
12
|
-
}
|
|
13
|
-
export type ControlsParams = {
|
|
14
|
-
search?: string
|
|
15
|
-
page?: number
|
|
16
|
-
filter?: Record<string, string[]>
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export interface ControlMeta {
|
|
20
|
-
total: number
|
|
21
|
-
perPage: number
|
|
22
|
-
totalPages: number
|
|
23
|
-
currentPage: number
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export
|
|
27
|
-
users?: {
|
|
28
|
-
users: Api_User_Dto[]
|
|
29
|
-
}
|
|
30
|
-
controller?: {
|
|
31
|
-
controller: Api_User_Dto[]
|
|
32
|
-
}
|
|
33
|
-
responsible?: {
|
|
34
|
-
responsible: Api_User_Dto[]
|
|
35
|
-
}
|
|
36
|
-
status?: {
|
|
37
|
-
status: boolean
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
export
|
|
41
|
-
id: string
|
|
42
|
-
name: string
|
|
43
|
-
storage_id?: string
|
|
44
|
-
}
|
|
45
|
-
export
|
|
46
|
-
id: string
|
|
47
|
-
invoice_ref_key: string
|
|
48
|
-
inventory_number: string
|
|
49
|
-
instrument:
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export type Api_ControlLogs_Dto = {
|
|
53
|
-
id: string
|
|
54
|
-
automatically: string
|
|
55
|
-
in_zone: string
|
|
56
|
-
uuid: string
|
|
57
|
-
controller_zone: string
|
|
58
|
-
controller: Api_User_Dto[]
|
|
59
|
-
user: Api_User_Dto[]
|
|
60
|
-
frame: Api_ControlZones_Dto[]
|
|
61
|
-
warehouse:
|
|
62
|
-
}
|
|
63
|
-
export type
|
|
64
|
-
title: string
|
|
65
|
-
inventory_numbers: string
|
|
66
|
-
storage_id: string
|
|
67
|
-
}
|
|
68
|
-
export type Api_ManualEntry_Dto = {
|
|
69
|
-
user: string
|
|
70
|
-
items?: string[]
|
|
71
|
-
new_items?:
|
|
72
|
-
}
|
|
1
|
+
export type Api_User_Dto = {
|
|
2
|
+
id: string
|
|
3
|
+
full_name: string
|
|
4
|
+
}
|
|
5
|
+
export type Api_ControlZones_Dto = {
|
|
6
|
+
id: string
|
|
7
|
+
name: string
|
|
8
|
+
inventory_number: string
|
|
9
|
+
uuid: string
|
|
10
|
+
controller_zone: string
|
|
11
|
+
users?: Api_User_Dto[]
|
|
12
|
+
}
|
|
13
|
+
export type ControlsParams = {
|
|
14
|
+
search?: string
|
|
15
|
+
page?: number
|
|
16
|
+
filter?: Record<string, string[]>
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export interface ControlMeta {
|
|
20
|
+
total: number
|
|
21
|
+
perPage: number
|
|
22
|
+
totalPages: number
|
|
23
|
+
currentPage: number
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export type FiltersValue = {
|
|
27
|
+
users?: {
|
|
28
|
+
users: Api_User_Dto[]
|
|
29
|
+
}
|
|
30
|
+
controller?: {
|
|
31
|
+
controller: Api_User_Dto[]
|
|
32
|
+
}
|
|
33
|
+
responsible?: {
|
|
34
|
+
responsible: Api_User_Dto[]
|
|
35
|
+
}
|
|
36
|
+
status?: {
|
|
37
|
+
status: boolean
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
export type Api_Instrument_Dto = {
|
|
41
|
+
id: string
|
|
42
|
+
name: string
|
|
43
|
+
storage_id?: string
|
|
44
|
+
}
|
|
45
|
+
export type Api_Warehouse_Dto = {
|
|
46
|
+
id: string
|
|
47
|
+
invoice_ref_key: string
|
|
48
|
+
inventory_number: string
|
|
49
|
+
instrument: Api_Instrument_Dto[]
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export type Api_ControlLogs_Dto = {
|
|
53
|
+
id: string
|
|
54
|
+
automatically: string
|
|
55
|
+
in_zone: string
|
|
56
|
+
uuid: string
|
|
57
|
+
controller_zone: string
|
|
58
|
+
controller: Api_User_Dto[]
|
|
59
|
+
user: Api_User_Dto[]
|
|
60
|
+
frame: Api_ControlZones_Dto[]
|
|
61
|
+
warehouse: Api_Warehouse_Dto[]
|
|
62
|
+
}
|
|
63
|
+
export type Api_New_Items = {
|
|
64
|
+
title: string
|
|
65
|
+
inventory_numbers: string
|
|
66
|
+
storage_id: string
|
|
67
|
+
}
|
|
68
|
+
export type Api_ManualEntry_Dto = {
|
|
69
|
+
user: string
|
|
70
|
+
items?: string[]
|
|
71
|
+
new_items?: Api_New_Items[]
|
|
72
|
+
}
|