@omniaz/vue-component-library 0.2.16 → 0.2.18

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.
@@ -49,6 +49,7 @@ declare const _default: <T extends RowType>(__VLS_props: {
49
49
  saveState?: string | null;
50
50
  disableCheckAll?: boolean;
51
51
  rowKeyMapper?: (row: T) => string;
52
+ disableFrontEndFiltering?: boolean;
52
53
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
53
54
  slots: Partial<Record<string, (_: {
54
55
  row: T;
@@ -128,6 +129,7 @@ declare const _default: <T extends RowType>(__VLS_props: {
128
129
  saveState?: string | null;
129
130
  disableCheckAll?: boolean;
130
131
  rowKeyMapper?: (row: T) => string;
132
+ disableFrontEndFiltering?: boolean;
131
133
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
132
134
  expose(exposed: {
133
135
  reloadAjax: () => Promise<void>;
@@ -211,6 +213,7 @@ declare const _default: <T extends RowType>(__VLS_props: {
211
213
  saveState?: string | null;
212
214
  disableCheckAll?: boolean;
213
215
  rowKeyMapper?: (row: T) => string;
216
+ disableFrontEndFiltering?: boolean;
214
217
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
215
218
  expose(exposed: {
216
219
  reloadAjax: () => Promise<void>;
@@ -60512,7 +60512,8 @@ const JEe = /* @__PURE__ */ fn({
60512
60512
  expanded: { type: Boolean },
60513
60513
  disableCheckAll: { type: Boolean },
60514
60514
  searchable: { type: Boolean },
60515
- rowKeyMapper: { type: [Function, null], default: null }
60515
+ rowKeyMapper: { type: [Function, null], default: null },
60516
+ disableFrontEndFiltering: { type: Boolean }
60516
60517
  },
60517
60518
  emits: ["rowsSelected", "orderChanged", "filtersChanged", "ajaxError", "massDeleteSuccess", "massDeleteError", "exportStarted", "exportSuccess"],
60518
60519
  setup(t, { expose: e, emit: n }) {
@@ -60530,7 +60531,7 @@ const JEe = /* @__PURE__ */ fn({
60530
60531
  }), I = Ee(() => {
60531
60532
  var le, xe;
60532
60533
  let re = P.value;
60533
- return S.value && ((le = r.data) != null && le.length) && Object.entries(w.value).forEach(([ve, Ie]) => {
60534
+ return S.value && ((le = r.data) != null && le.length) && !r.disableFrontEndFiltering && Object.entries(w.value).forEach(([ve, Ie]) => {
60534
60535
  re = re.filter((W) => {
60535
60536
  var J, ae;
60536
60537
  if (typeof W[ve] == "string")