evas-vue-filter-plugin
Evas Vue Filter Plugin
Vue plugin adding filter contract for ORM evas-vue-store-plugin
install
npm i evas-vue-filter-plugin
Models syntax
export class User {
setFields() {
return {
nameIn: this.array(this.string()).wheres('name').condition('in'),
nameDesc: this.boolean().orders('name'),
page: this.number(1).page(),
limit: this.number(10).options([10, 20]).limit(),
}
}
}
Add plugin
const app = createApp(App /** root component */).use(EvasVueFilter, {
filters: { User }, // filter models
})
@prodvair
Related Packages
@opengis/filter
A flexible and extensible filter component system for Vue 3. Ideal for building...
10,212
0
Version History
| Version | Released | License |
|---|---|---|
| 1.0.3 | CC-BY-4.0 | |
| 1.0.2 | CC-BY-4.0 | |
| 1.0.1 | CC-BY-4.0 | |
| 1.0.0 | CC-BY-4.0 |