quasar-factory-lib 0.1.11 → 0.1.13

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.
@@ -66,9 +66,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
66
66
  dataCy: string;
67
67
  icon: string;
68
68
  persistent: boolean;
69
+ btnColor: string;
69
70
  iconColor: string;
70
71
  iconSize: string;
71
- btnColor: string;
72
72
  btnLabel: string;
73
73
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
74
74
  export default _default;
@@ -1,5 +1,5 @@
1
+ declare const qTableSort: {
2
+ sortMethod<T extends Record<string, unknown>>(rows: T[], sortBy: keyof T, descending: boolean, values?: (keyof T)[]): T[];
3
+ sortDates<T extends Record<string, unknown>>(sortBy: keyof T, descending: boolean, rowsFlat: T[]): void;
4
+ };
1
5
  export default qTableSort;
2
- declare namespace qTableSort {
3
- function sortMethod(rows: any, sortBy: any, descending: any, values?: any[]): any[];
4
- function sortDates(sortBy: any, descending: any, rowsFlat: any): void;
5
- }
@@ -4,11 +4,11 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
4
4
  store: import("pinia").Store<"tableStore", {
5
5
  filterValue: import("@vueuse/shared").RemovableRef<string>;
6
6
  lastFilterValue: import("@vueuse/shared").RemovableRef<string>;
7
- visiblecolumns: import("@vueuse/shared").RemovableRef<never[]>;
7
+ visiblecolumns: import("@vueuse/shared").RemovableRef<string[]>;
8
8
  prepared: import("@vueuse/shared").RemovableRef<boolean>;
9
9
  user: import("@vueuse/shared").RemovableRef<{}>;
10
10
  }, {}, {
11
- setFilterValue(val: any): void;
11
+ setFilterValue(val: string): void;
12
12
  cleanTableFilter(): void;
13
13
  }>;
14
14
  tableStyle: string;
@@ -67,9 +67,9 @@ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import
67
67
  dataCy: string;
68
68
  icon: string;
69
69
  persistent: boolean;
70
+ btnColor: string;
70
71
  iconColor: string;
71
72
  iconSize: string;
72
- btnColor: string;
73
73
  btnLabel: string;
74
74
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
75
75
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -4,11 +4,11 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
4
4
  store: import("pinia").Store<"tableStore", {
5
5
  filterValue: import("@vueuse/shared").RemovableRef<string>;
6
6
  lastFilterValue: import("@vueuse/shared").RemovableRef<string>;
7
- visiblecolumns: import("@vueuse/shared").RemovableRef<never[]>;
7
+ visiblecolumns: import("@vueuse/shared").RemovableRef<string[]>;
8
8
  prepared: import("@vueuse/shared").RemovableRef<boolean>;
9
9
  user: import("@vueuse/shared").RemovableRef<{}>;
10
10
  }, {}, {
11
- setFilterValue(val: any): void;
11
+ setFilterValue(val: string): void;
12
12
  cleanTableFilter(): void;
13
13
  }>;
14
14
  tableStyle: string;
@@ -14223,7 +14223,7 @@ function Qy(e, t, n, o, a, l) {
14223
14223
  _: 1
14224
14224
  });
14225
14225
  }
14226
- const Xy = /* @__PURE__ */ Ge(Gy, [["render", Qy], ["__scopeId", "data-v-ec7386a2"]]), Zy = {
14226
+ const Xy = /* @__PURE__ */ Ge(Gy, [["render", Qy]]), Zy = {
14227
14227
  install(e) {
14228
14228
  kn(e, "SkeletonAreas", Xy);
14229
14229
  }
@@ -14413,7 +14413,7 @@ const r1 = /* @__PURE__ */ Ge(a1, [["render", l1]]), i1 = {
14413
14413
  };
14414
14414
  function u1(e, t, n, o, a, l) {
14415
14415
  return Y(), We("div", null, [
14416
- O(Bn, { class: "my-card fixed-center" }, {
14416
+ O(Bn, { class: "form-create-task fixed-center" }, {
14417
14417
  default: V(() => [
14418
14418
  O(Vt, null, {
14419
14419
  default: V(() => [
@@ -14466,7 +14466,7 @@ function u1(e, t, n, o, a, l) {
14466
14466
  })
14467
14467
  ]);
14468
14468
  }
14469
- const c1 = /* @__PURE__ */ Ge(s1, [["render", u1], ["__scopeId", "data-v-46c58271"]]), d1 = {
14469
+ const c1 = /* @__PURE__ */ Ge(s1, [["render", u1]]), d1 = {
14470
14470
  install(e) {
14471
14471
  kn(e, "SkeletonFormCreateTask", c1);
14472
14472
  }
@@ -18609,7 +18609,7 @@ const LS = {
18609
18609
  e.$nextTick(() => {
18610
18610
  const t = e.smallDevice ? "q-table__grid-content" : "q-table__middle scroll", n = e.smallDevice ? "Grid" : "Table", o = document.getElementsByClassName(t), a = o.length > 0 ? o[0] : window, l = (r) => {
18611
18611
  const { scrollHeight: i, scrollTop: s, clientHeight: c } = r.target;
18612
- Math.abs(i - c - s) < 1 && (console.log(`[${n}] You are at the bottom!`, e.$refs.table.totalPage), e.$refs.table.totalPage++);
18612
+ Math.abs(i - c - s) <= 1 && (console.log(`[${n}] You are at the bottom!`, e.$refs.table.totalPage), e.$refs.table.totalPage++);
18613
18613
  };
18614
18614
  window.removeEventListener("scroll", l), a.removeEventListener("scroll", l), a.addEventListener("scroll", l);
18615
18615
  });
@@ -18619,7 +18619,7 @@ const LS = {
18619
18619
  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) => {
18620
18620
  console.log(n, "totalPage");
18621
18621
  const { scrollHeight: c, scrollTop: u, clientHeight: f } = s.target;
18622
- if (Math.abs(c - f - u) < 1) {
18622
+ if (Math.abs(c - f - u) <= 1) {
18623
18623
  debugger;
18624
18624
  console.log(`[${a}] You are at the bottom!`, n), n++;
18625
18625
  }
@@ -18638,7 +18638,7 @@ const LS = {
18638
18638
  l.scrollTop + l.clientHeight >= l.scrollHeight && (console.log("[Grid] You are at the bottom!"), e.$refs.table.totalPage++);
18639
18639
  else {
18640
18640
  const { scrollHeight: c, scrollTop: u, clientHeight: f } = s;
18641
- Math.abs(c - f - u) < 1 && (console.log("[Table] You are at the bottom!"), e.$refs.table.totalPage++);
18641
+ Math.abs(c - f - u) <= 1 && (console.log("[Table] You are at the bottom!"), e.$refs.table.totalPage++);
18642
18642
  }
18643
18643
  };
18644
18644
  window.removeEventListener("scroll", r), l.removeEventListener("scroll", r), l.addEventListener("scroll", r);