shared-ritm 1.2.53 → 1.2.55

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.
@@ -35,16 +35,16 @@ export interface FiltersValue {
35
35
  status: boolean;
36
36
  };
37
37
  }
38
- export interface Instrument_Dto {
38
+ export interface Api_Instrument_Dto {
39
39
  id: string;
40
40
  name: string;
41
41
  storage_id?: string;
42
42
  }
43
- export interface Warehouse_Dto {
43
+ export interface Api_Warehouse_Dto {
44
44
  id: string;
45
45
  invoice_ref_key: string;
46
46
  inventory_number: string;
47
- instrument: Instrument_Dto[];
47
+ instrument: Api_Instrument_Dto[];
48
48
  }
49
49
  export type Api_ControlLogs_Dto = {
50
50
  id: 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: Warehouse_Dto[];
58
+ warehouse: Api_Warehouse_Dto[];
59
59
  };
60
- export type New_Items = {
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?: New_Items[];
68
+ new_items?: Api_New_Items[];
69
69
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shared-ritm",
3
- "version": "1.2.53",
3
+ "version": "1.2.55",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist",
@@ -37,16 +37,16 @@ export interface FiltersValue {
37
37
  status: boolean
38
38
  }
39
39
  }
40
- export interface Instrument_Dto {
40
+ export interface Api_Instrument_Dto {
41
41
  id: string
42
42
  name: string
43
43
  storage_id?: string
44
44
  }
45
- export interface Warehouse_Dto {
45
+ export interface Api_Warehouse_Dto {
46
46
  id: string
47
47
  invoice_ref_key: string
48
48
  inventory_number: string
49
- instrument: Instrument_Dto[]
49
+ instrument: Api_Instrument_Dto[]
50
50
  }
51
51
 
52
52
  export type Api_ControlLogs_Dto = {
@@ -58,9 +58,9 @@ export type Api_ControlLogs_Dto = {
58
58
  controller: Api_User_Dto[]
59
59
  user: Api_User_Dto[]
60
60
  frame: Api_ControlZones_Dto[]
61
- warehouse: Warehouse_Dto[]
61
+ warehouse: Api_Warehouse_Dto[]
62
62
  }
63
- export type New_Items = {
63
+ export type Api_New_Items = {
64
64
  title: string
65
65
  inventory_numbers: string
66
66
  storage_id: string
@@ -68,5 +68,5 @@ export type New_Items = {
68
68
  export type Api_ManualEntry_Dto = {
69
69
  user: string
70
70
  items?: string[]
71
- new_items?: New_Items[]
71
+ new_items?: Api_New_Items[]
72
72
  }
@@ -97,9 +97,12 @@ watch(
97
97
  >
98
98
  <filter-icon class="q-mr-xs" />
99
99
  <span>{{ col.label }}</span>
100
- <template v-if="col.filterType === 'multi' && columnFilters.value[col.name]?.length">
101
- <div class="label-length">- {{ columnFilters.value[col.name]?.length }}</div>
102
- </template>
100
+ <div
101
+ v-if="['multi', 'single'].includes(col.filterType) && columnFilters.value[col.name]?.length"
102
+ class="label-length"
103
+ >
104
+ - {{ col.filterType === 'multi' ? columnFilters.value[col.name]?.length : 1 }}
105
+ </div>
103
106
  </div>
104
107
  <div v-else>{{ col.label }}</div>
105
108