adminforth 1.4.3-next.26 → 1.4.3-next.27

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.
@@ -160,9 +160,9 @@
160
160
  </template>
161
161
  </AfTooltip>
162
162
 
163
- <template v-if="coreStore.resourceOptions?.pageInjections?.list?.customActionIcons">
163
+ <template v-if="customActionsInjection">
164
164
  <component
165
- v-for="c in coreStore.resourceOptions?.pageInjections?.list?.customActionIcons"
165
+ v-for="c in customActionsInjection"
166
166
  :is="getCustomComponent(c)"
167
167
  :meta="c.meta"
168
168
  :resource="coreStore.resource"
@@ -244,7 +244,7 @@
244
244
  </div>
245
245
  </template>
246
246
 
247
- <script setup>
247
+ <script setup lang="ts">
248
248
 
249
249
 
250
250
  import { computed, onMounted, ref, watch } from 'vue';
@@ -270,17 +270,17 @@ import AfTooltip from './AfTooltip.vue';
270
270
 
271
271
  const coreStore = useCoreStore();
272
272
 
273
-
274
- const props = defineProps([
275
- 'page',
276
- 'resource',
277
- 'rows',
278
- 'totalRows',
279
- 'pageSize',
280
- 'checkboxes',
281
- 'sort',
282
- 'noRoundings'
283
- ])
273
+ const props = defineProps<{
274
+ page: number,
275
+ resource: any,
276
+ rows: any[],
277
+ totalRows: number,
278
+ pageSize: number,
279
+ checkboxes: any[],
280
+ sort: any[],
281
+ noRoundings: boolean,
282
+ customActionsInjection: any[],
283
+ }>();
284
284
 
285
285
  // emits, update page
286
286
  const emits = defineEmits([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "1.4.3-next.26",
3
+ "version": "1.4.3-next.27",
4
4
  "description": "OpenSource Vue3 powered forth-generation admin panel",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",