quasar-factory-lib 0.1.19 → 0.1.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/components/Table/Table.vue.d.ts +7 -0
- package/dist/layouts/PdaLayout.vue.d.ts +27 -269
- package/dist/pages/TablePage.vue.d.ts +7 -0
- package/dist/quasar-factory-lib.js +386 -379
- package/dist/quasar-factory-lib.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/Table/Table.vue +30 -14
- package/src/components/Table/css/table.css +4 -0
- package/src/layouts/PdaLayout.vue +125 -753
- package/src/layouts/PdaLayoutVueCompositionApi.vue +9 -4
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
-->
|
|
35
35
|
<q-page-container>
|
|
36
36
|
<q-page>
|
|
37
|
-
<
|
|
37
|
+
<DraggableQTable
|
|
38
38
|
ref="tableRef"
|
|
39
39
|
:rows="rows"
|
|
40
40
|
:columns="columns"
|
|
@@ -81,14 +81,14 @@
|
|
|
81
81
|
<script setup lang="ts">
|
|
82
82
|
import { useQuasar } from 'quasar'
|
|
83
83
|
import TaskNavBar from '../components/TaskNavBar/TaskNavBar.vue'
|
|
84
|
-
import
|
|
84
|
+
import DraggableQTable from '../components/Table/DraggableQTable.vue'
|
|
85
85
|
import NavBarSkeleton from '../components/NavBarSkeleton/NavBarSkeleton.vue'
|
|
86
86
|
import TableRowsCounter from'../components/TableRowsCounter/TableRowsCounter.vue'
|
|
87
87
|
// import AlertLabelsWithError from '../components/AlertLabelsWithError/AlertLabelsWithError.vue'
|
|
88
88
|
import setTableHeight from '../components/Table/utils/setTableHeight'
|
|
89
89
|
// import infiniteScroll from '../components/Table/utils/infiniteScroll'
|
|
90
90
|
import { tableStore } from '../store/table.js'
|
|
91
|
-
import { ref, computed, onMounted, watch } from 'vue'
|
|
91
|
+
import { ref, computed, onMounted, watch, nextTick } from 'vue'
|
|
92
92
|
|
|
93
93
|
interface TableInterface {
|
|
94
94
|
toggleSearchVisibility: (obj: object)=> void
|
|
@@ -579,9 +579,14 @@ import { ref, computed, onMounted, watch } from 'vue'
|
|
|
579
579
|
showSkeleton.value = true
|
|
580
580
|
rows.value = rowsData.value
|
|
581
581
|
setTimeout(()=> {
|
|
582
|
-
|
|
582
|
+
showSkeleton.value = false
|
|
583
583
|
|
|
584
584
|
}, 1000)
|
|
585
|
+
nextTick(() => {
|
|
586
|
+
if(tableRef.value) {
|
|
587
|
+
tableRef.value.enableDragAndDrop = true
|
|
588
|
+
}
|
|
589
|
+
})
|
|
585
590
|
}
|
|
586
591
|
function onUpdateBasicCheckboxValue (rows: object []) {
|
|
587
592
|
console.log(rows, 'onUpdateBasicCheckboxValue')
|