atom-nuxt 1.4.20 → 1.4.22

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/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@atomengine/atom-nuxt",
3
3
  "configKey": "atomNuxt",
4
- "version": "1.4.20",
4
+ "version": "1.4.22",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.1",
7
7
  "unbuild": "3.5.0"
@@ -7,11 +7,9 @@ import CrudFilterList from "./CrudFilterList.vue";
7
7
  import { computed, ref, watch, onMounted, onBeforeUnmount, toRaw, nextTick } from "vue";
8
8
  import { useDebounceFn } from "@vueuse/core";
9
9
  import { useListenerService } from "../composables/useListenerService";
10
- import { useDisplay } from "vuetify";
11
10
  import CrudFormDialog from "./CrudFormDialog.vue";
12
11
  import CrudErrorDisplay from "./CrudErrorDisplay.vue";
13
12
  const { parseQuery, stringifyQuery, cloneDeep } = useCrudConverters();
14
- const { mdAndUp } = useDisplay();
15
13
  const props = defineProps({
16
14
  filtersTitle: {
17
15
  type: String,
@@ -512,16 +510,11 @@ const exportAction = async () => {
512
510
  >
513
511
  </slot>
514
512
  <div :class="contentClasses">
515
- <v-row>
516
- <v-col
513
+ <div class="crud-layout-wrapper">
514
+ <div
517
515
  v-if="!hideFilters && (filters.length > 0 || isInitialLoad)"
518
- cols="12"
519
- md="auto"
520
- :style="{
521
- width: mdAndUp ? `${filtersWidth}px` : undefined,
522
- maxWidth: mdAndUp ? `${filtersWidth}px` : undefined,
523
- flex: mdAndUp ? '0 0 auto' : undefined
524
- }"
516
+ class="crud-filters-column"
517
+ :style="{ '--filters-width': `${filtersWidth}px` }"
525
518
  >
526
519
  <div>
527
520
  <Transition name="fade" mode="out-in">
@@ -543,14 +536,8 @@ const exportAction = async () => {
543
536
  </div>
544
537
  </Transition>
545
538
  </div>
546
- </v-col>
547
- <v-col
548
- cols="12"
549
- md="auto"
550
- :style="{
551
- flex: mdAndUp ? '1 1 auto' : undefined
552
- }"
553
- >
539
+ </div>
540
+ <div class="crud-content-column">
554
541
  <v-progress-linear :active="listPending && !isInitialLoad" indeterminate color="primary"></v-progress-linear>
555
542
  <div class="">
556
543
  <Transition name="fade" mode="out-in">
@@ -603,8 +590,8 @@ const exportAction = async () => {
603
590
  :length="totalPages"
604
591
  @input="getItems()"></v-pagination>
605
592
  </div>
606
- </v-col>
607
- </v-row>
593
+ </div>
594
+ </div>
608
595
  </div>
609
596
 
610
597
  <crud-form-dialog
@@ -646,5 +633,5 @@ const exportAction = async () => {
646
633
  </template>
647
634
 
648
635
  <style scoped>
649
- .fade-enter-active,.fade-leave-active{transition:opacity .3s ease}.fade-enter-from,.fade-leave-to{opacity:0}
636
+ .fade-enter-active,.fade-leave-active{transition:opacity .3s ease}.fade-enter-from,.fade-leave-to{opacity:0}.crud-layout-wrapper{display:flex;flex-wrap:wrap;gap:12px}.crud-content-column,.crud-filters-column{flex:1 1 100%}@media (min-width:960px){.crud-layout-wrapper{flex-wrap:nowrap}.crud-filters-column{flex:0 0 auto;max-width:var(--filters-width);width:var(--filters-width)}.crud-content-column{flex:1 1 auto}}
650
637
  </style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "atom-nuxt",
3
- "version": "1.4.20",
3
+ "version": "1.4.22",
4
4
  "description": "My new Nuxt module",
5
5
  "repository": "atomengine/atom-nuxt",
6
6
  "license": "MIT",