atom-nuxt 1.4.19 → 1.4.21
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
|
@@ -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,15 +510,11 @@ const exportAction = async () => {
|
|
|
512
510
|
>
|
|
513
511
|
</slot>
|
|
514
512
|
<div :class="contentClasses">
|
|
515
|
-
<
|
|
516
|
-
<
|
|
513
|
+
<div class="crud-layout-wrapper">
|
|
514
|
+
<div
|
|
517
515
|
v-if="!hideFilters && (filters.length > 0 || isInitialLoad)"
|
|
518
|
-
|
|
519
|
-
:style="{
|
|
520
|
-
width: mdAndUp ? `${filtersWidth}px` : undefined,
|
|
521
|
-
maxWidth: mdAndUp ? `${filtersWidth}px` : undefined,
|
|
522
|
-
flex: mdAndUp ? '0 0 auto' : undefined
|
|
523
|
-
}"
|
|
516
|
+
class="crud-filters-column"
|
|
517
|
+
:style="{ '--filters-width': `${filtersWidth}px` }"
|
|
524
518
|
>
|
|
525
519
|
<div>
|
|
526
520
|
<Transition name="fade" mode="out-in">
|
|
@@ -542,13 +536,8 @@ const exportAction = async () => {
|
|
|
542
536
|
</div>
|
|
543
537
|
</Transition>
|
|
544
538
|
</div>
|
|
545
|
-
</
|
|
546
|
-
<
|
|
547
|
-
cols="12"
|
|
548
|
-
:style="{
|
|
549
|
-
flex: mdAndUp ? '1 1 auto' : undefined
|
|
550
|
-
}"
|
|
551
|
-
>
|
|
539
|
+
</div>
|
|
540
|
+
<div class="crud-content-column">
|
|
552
541
|
<v-progress-linear :active="listPending && !isInitialLoad" indeterminate color="primary"></v-progress-linear>
|
|
553
542
|
<div class="">
|
|
554
543
|
<Transition name="fade" mode="out-in">
|
|
@@ -601,8 +590,8 @@ const exportAction = async () => {
|
|
|
601
590
|
:length="totalPages"
|
|
602
591
|
@input="getItems()"></v-pagination>
|
|
603
592
|
</div>
|
|
604
|
-
</
|
|
605
|
-
</
|
|
593
|
+
</div>
|
|
594
|
+
</div>
|
|
606
595
|
</div>
|
|
607
596
|
|
|
608
597
|
<crud-form-dialog
|
|
@@ -644,5 +633,5 @@ const exportAction = async () => {
|
|
|
644
633
|
</template>
|
|
645
634
|
|
|
646
635
|
<style scoped>
|
|
647
|
-
.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}}
|
|
648
637
|
</style>
|