adminforth 2.26.0-next.23 → 2.26.0-next.25
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.d.ts.map +1 -1
- package/dist/index.js +18 -31
- package/dist/index.js.map +1 -1
- package/dist/modules/restApi.d.ts.map +1 -1
- package/dist/modules/restApi.js +11 -21
- package/dist/modules/restApi.js.map +1 -1
- package/dist/modules/utils.d.ts +6 -0
- package/dist/modules/utils.d.ts.map +1 -1
- package/dist/modules/utils.js +13 -0
- package/dist/modules/utils.js.map +1 -1
- package/dist/spa/src/components/ResourceListTable.vue +271 -124
- package/dist/spa/src/views/ListView.vue +4 -38
- package/package.json +1 -1
- package/dist/spa/src/components/ResourceListTableVirtual.vue +0 -789
|
@@ -120,8 +120,8 @@
|
|
|
120
120
|
:resource="coreStore.resource"
|
|
121
121
|
:adminUser="coreStore.adminUser"
|
|
122
122
|
/>
|
|
123
|
-
<
|
|
124
|
-
v-if="
|
|
123
|
+
<ResourceListTable
|
|
124
|
+
v-if="!coreStore.isResourceFetching"
|
|
125
125
|
:resource="coreStore.resource"
|
|
126
126
|
:rows="rows"
|
|
127
127
|
:page="page"
|
|
@@ -153,44 +153,11 @@
|
|
|
153
153
|
:tableRowReplaceInjection="Array.isArray(coreStore.resourceOptions?.pageInjections?.list?.tableRowReplace)
|
|
154
154
|
? coreStore.resourceOptions.pageInjections.list.tableRowReplace[0]
|
|
155
155
|
: coreStore.resourceOptions?.pageInjections?.list?.tableRowReplace || undefined"
|
|
156
|
+
|
|
156
157
|
:container-height="1100"
|
|
157
158
|
:item-height="52.5"
|
|
158
159
|
:buffer-size="listBufferSize"
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
<ResourceListTable
|
|
162
|
-
v-else-if="!coreStore.isResourceFetching"
|
|
163
|
-
:resource="coreStore.resource"
|
|
164
|
-
:rows="rows"
|
|
165
|
-
:page="page"
|
|
166
|
-
@update:page="page = $event"
|
|
167
|
-
@update:sort="sort = $event"
|
|
168
|
-
@update:checkboxes="checkboxes = $event"
|
|
169
|
-
@update:records="getListInner"
|
|
170
|
-
:sort="sort"
|
|
171
|
-
:pageSize="pageSize"
|
|
172
|
-
:totalRows="totalRows"
|
|
173
|
-
:checkboxes="checkboxes"
|
|
174
|
-
:customActionsInjection="Array.isArray(coreStore.resourceOptions?.pageInjections?.list?.customActionIcons)
|
|
175
|
-
? coreStore.resourceOptions.pageInjections.list.customActionIcons
|
|
176
|
-
: coreStore.resourceOptions?.pageInjections?.list?.customActionIcons
|
|
177
|
-
? [coreStore.resourceOptions.pageInjections.list.customActionIcons]
|
|
178
|
-
: []
|
|
179
|
-
"
|
|
180
|
-
:tableBodyStartInjection="Array.isArray(coreStore.resourceOptions?.pageInjections?.list?.tableBodyStart)
|
|
181
|
-
? coreStore.resourceOptions.pageInjections.list.tableBodyStart
|
|
182
|
-
: coreStore.resourceOptions?.pageInjections?.list?.tableBodyStart
|
|
183
|
-
? [coreStore.resourceOptions.pageInjections.list.tableBodyStart]
|
|
184
|
-
: []
|
|
185
|
-
"
|
|
186
|
-
:customActionIconsThreeDotsMenuItems="Array.isArray(coreStore.resourceOptions?.pageInjections?.list?.customActionIconsThreeDotsMenuItems)
|
|
187
|
-
? coreStore.resourceOptions.pageInjections.list.customActionIconsThreeDotsMenuItems
|
|
188
|
-
: coreStore.resourceOptions?.pageInjections?.list?.customActionIconsThreeDotsMenuItems
|
|
189
|
-
? [coreStore.resourceOptions.pageInjections.list.customActionIconsThreeDotsMenuItems]
|
|
190
|
-
: []"
|
|
191
|
-
:tableRowReplaceInjection="Array.isArray(coreStore.resourceOptions?.pageInjections?.list?.tableRowReplace)
|
|
192
|
-
? coreStore.resourceOptions.pageInjections.list.tableRowReplace[0]
|
|
193
|
-
: coreStore.resourceOptions?.pageInjections?.list?.tableRowReplace || undefined"
|
|
160
|
+
:isVirtualScrollEnabled="isVirtualScrollEnabled"
|
|
194
161
|
/>
|
|
195
162
|
|
|
196
163
|
<component
|
|
@@ -206,7 +173,6 @@
|
|
|
206
173
|
|
|
207
174
|
<script setup lang="ts">
|
|
208
175
|
import BreadcrumbsWithButtons from '@/components/BreadcrumbsWithButtons.vue';
|
|
209
|
-
import ResourceListTableVirtual from '@/components/ResourceListTableVirtual.vue';
|
|
210
176
|
import ResourceListTable from '@/components/ResourceListTable.vue';
|
|
211
177
|
import { useCoreStore } from '@/stores/core';
|
|
212
178
|
import { useFiltersStore } from '@/stores/filters';
|