@jtekt/iss-query-filters

2,358
Install
npm install @jtekt/iss-query-filters
Latest Version:0.4.5
Vue:3
License:MIT
Last Updated:Sep 28, 2026
Links: Repository  ·  npm
Maintainer: moreillon

@jtekt/iss-query-filters

License: MIT

A reusable QueryFilter component built with Vue 3 + Vuetify 3.

It lets users build nested AND/OR filter trees and outputs a query object via v-model.

Install

npm install @jtekt/iss-query-filters
# peer deps
npm install vue vuetify

Usage

// main.ts
import { createApp } from "vue";
import App from "./App.vue";

import "vuetify/styles";
import { createVuetify } from "vuetify";

import { QueryFilterPlugin } from "@jtekt/iss-query-filters";

// NOTE: Starting version 0.3.0, it's not necessary to import style.css
import "@jtekt/iss-query-filters/style.css";

const vuetify = createVuetify();

createApp(App).use(vuetify).use(QueryFilterPlugin).mount("#app");
<script setup lang="ts">
import { ref } from "vue";

const query = ref<Record<string, any>>({});
const loading = ref(false);
</script>

<template>
  <QueryFilter
    v-model="query"
    :fields="['_id', 'description', 'title']"
    :loading="loading"
  />
</template>

QueryFilter-without-limitField

show-limit-field

Controls whether the Limit field is displayed in the QueryFilter component.

Use this when your page does not already manage pagination or items-per-page.
If your table or data list already handles page size, keep this set to false to avoid duplicate limit controls.

Type: boolean
Default: false

// It can also be imported it directly as a component not plugin
import { QueryFilter } from "@jtekt/iss-query-filters";

<QueryFilter
  v-model="query"
  :fields="['_id', 'description', 'title']"
  :loading="loading"
  :show-limit-field="true"
/>

QueryFilter-with-limitField

query will contain keys like from, to, limit, regex, and filter (JSON string with your nested AND/OR Mongo-like query).

License

This project is licensed under the MIT License - see the LICENSE file for details.

Related Packages

@jtekt/vuetify-auth

Simple authentication plugin for Vue 3, Vue router and Vuetify with built-in:

3,798

Version History

Version Released Vue License
0.4.5 >=3.3.0 <5.0.0 MIT
0.4.4 >=3.3.0 <5.0.0 MIT
0.4.1 >=3.3.0 <4.0.0 MIT
0.4.0 >=3.3.0 <4.0.0
0.3.0 >=3.3.0 <4.0.0