@hostlink/nuxt-light 0.0.95 → 0.0.97

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/module.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "light",
3
3
  "configKey": "light",
4
- "version": "0.0.95"
4
+ "version": "0.0.97"
5
5
  }
@@ -339,7 +339,7 @@ const getFilterValue = () => {
339
339
 
340
340
  props.columns?.forEach((col) => {
341
341
  if (col.searchable) {
342
- if (filters.value[col.name]) {
342
+ if (filters.value[col.name] != null && filters.value[col.name] != "") {
343
343
 
344
344
  if (col.searchType == "number") {
345
345
  f[col.name] = filters.value[col.name]
@@ -452,7 +452,7 @@ const filterFn = (val, update, abort) {
452
452
  </pre>
453
453
  rows:{{ props.rows }}
454
454
  </template>
455
-
455
+
456
456
  <q-table v-bind="attrs" :row-key="rowKey" :loading="loading" :rows="rows" ref="table" @request="onRequest"
457
457
  :rows-per-page-label="$t(props.rowsPerPageLabel)" :columns="renderColumns"
458
458
  :rows-per-page-options="rowsPerPageOptions" :selection="selection" v-model:pagination="pagination" :filter="filter">
@@ -515,9 +515,8 @@ const filterFn = (val, update, abort) {
515
515
  </template>
516
516
 
517
517
  <template v-if="col.searchType == 'select'">
518
- <q-select dense v-model="filters[col.name]" @input-value="onFilters" clearable
519
- :options="col.searchOptions" @clear="onFilters" emit-value map-options
520
- :multiple="col.searchMultiple" />
518
+ <q-select dense v-model="filters[col.name]" @update:model-value="onFilters" clearable
519
+ :options="col.searchOptions" emit-value map-options :multiple="col.searchMultiple" />
521
520
 
522
521
  </template>
523
522
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hostlink/nuxt-light",
3
- "version": "0.0.95",
3
+ "version": "0.0.97",
4
4
  "description": "HostLink Nuxt Light Framework",
5
5
  "repository": "@hostlink/nuxt-light",
6
6
  "license": "MIT",