shared-ritm 1.3.133 → 1.3.136
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 +5 -5
- package/dist/shared-ritm.umd.js +3 -3
- package/dist/types/api/types/Api_Controls.d.ts +1 -0
- package/package.json +1 -1
- package/src/api/services/UserService.ts +1 -1
- package/src/api/types/Api_Controls.ts +113 -112
- package/src/common/app-table/AppTable.vue +324 -313
- package/src/common/app-table/AppTableLayout.vue +23 -2
- package/src/common/app-table/components/TableSearch.vue +7 -0
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
:slots="slots"
|
|
20
20
|
:hide-pagination="hidePagination"
|
|
21
21
|
v-on="props.tableEvents"
|
|
22
|
-
@update:
|
|
22
|
+
@update:selected-rows="rows => emit('update:selectedRows', rows)"
|
|
23
23
|
>
|
|
24
24
|
<template v-for="name in cellSlotsNames" :key="name" #[name]="{ cellProps }">
|
|
25
25
|
<slot :name="name" :row="cellProps.row" />
|
|
@@ -105,11 +105,12 @@ const isActionsSlot = computed(() => 'actions' in slots)
|
|
|
105
105
|
|
|
106
106
|
.search-input {
|
|
107
107
|
flex: 1;
|
|
108
|
+
border-radius: 6px;
|
|
108
109
|
}
|
|
109
110
|
|
|
110
111
|
::v-deep(.q-btn) {
|
|
111
112
|
flex-shrink: 0;
|
|
112
|
-
border-radius:
|
|
113
|
+
border-radius: 6px;
|
|
113
114
|
background: #fff;
|
|
114
115
|
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
|
|
115
116
|
color: #3f8cff;
|
|
@@ -134,4 +135,24 @@ const isActionsSlot = computed(() => 'actions' in slots)
|
|
|
134
135
|
.loader-spinner {
|
|
135
136
|
z-index: 11;
|
|
136
137
|
}
|
|
138
|
+
@media (min-width: 768px) and (max-width: 1024px) {
|
|
139
|
+
.table-layout {
|
|
140
|
+
height: 100%;
|
|
141
|
+
display: grid;
|
|
142
|
+
grid-template-rows: auto 1fr auto;
|
|
143
|
+
gap: 12px;
|
|
144
|
+
}
|
|
145
|
+
.table-controls {
|
|
146
|
+
gap: 8px;
|
|
147
|
+
|
|
148
|
+
.search-input {
|
|
149
|
+
height: 44px;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
::v-deep(.q-btn) {
|
|
153
|
+
height: 44px;
|
|
154
|
+
width: 44px;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
137
158
|
</style>
|