quasar-factory-lib 0.1.0 → 0.1.1
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/quasar-factory-lib.js +13 -8
- package/dist/quasar-factory-lib.umd.cjs +2 -2
- package/package.json +1 -1
- package/src/components/Table/Table.vue +2 -2
- package/src/components/Table/utils/infiniteScroll.ts +1 -0
- package/src/layouts/PdaLayout.vue +4 -2
- package/src/layouts/PdaLayoutVueCompositionApi.vue +625 -0
|
@@ -13000,15 +13000,17 @@ const q0 = xn({
|
|
|
13000
13000
|
},
|
|
13001
13001
|
smallDevice(e) {
|
|
13002
13002
|
e ? this.dragAndDropDelay = 200 : this.dragAndDropDelay = 0;
|
|
13003
|
+
}
|
|
13004
|
+
/* showSkeleton (val: boolean): void {
|
|
13005
|
+
if (!val) {
|
|
13006
|
+
this.handleInfiniteScrollTableCompositionAPi()
|
|
13007
|
+
}
|
|
13003
13008
|
},
|
|
13004
|
-
|
|
13005
|
-
e || this.handleInfiniteScrollTableCompositionAPi();
|
|
13006
|
-
},
|
|
13007
|
-
"$q.screen.width"() {
|
|
13009
|
+
'$q.screen.width' (): void {
|
|
13008
13010
|
setTimeout(() => {
|
|
13009
|
-
this.handleInfiniteScrollTableCompositionAPi()
|
|
13010
|
-
}, 500)
|
|
13011
|
-
}
|
|
13011
|
+
this.handleInfiniteScrollTableCompositionAPi()
|
|
13012
|
+
}, 500)
|
|
13013
|
+
} */
|
|
13012
13014
|
},
|
|
13013
13015
|
mounted() {
|
|
13014
13016
|
this.getAdvancedFilterColumns();
|
|
@@ -18254,7 +18256,10 @@ const mS = {
|
|
|
18254
18256
|
const o = t ? "q-table__grid-content" : "q-table__middle scroll", a = t ? "Grid" : "Table", l = document.getElementsByClassName(o), r = l.length > 0 ? l[0] : window, i = (s) => {
|
|
18255
18257
|
console.log(n, "totalPage");
|
|
18256
18258
|
const { scrollHeight: c, scrollTop: u, clientHeight: f } = s.target;
|
|
18257
|
-
Math.abs(c - f - u) < 1
|
|
18259
|
+
if (Math.abs(c - f - u) < 1) {
|
|
18260
|
+
debugger;
|
|
18261
|
+
console.log(`[${a}] You are at the bottom!`, n), n++;
|
|
18262
|
+
}
|
|
18258
18263
|
};
|
|
18259
18264
|
window.removeEventListener("scroll", i), r.removeEventListener("scroll", i), r.addEventListener("scroll", i);
|
|
18260
18265
|
});
|