@dolusoft/query-table 3.15.0 → 3.16.0

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.
@@ -2885,7 +2885,8 @@ function useQueryTable(options) {
2885
2885
  id: column.field,
2886
2886
  accessorFn: (row) => valueAt(row, column.field),
2887
2887
  enableSorting: column.sortable !== false,
2888
- filterType: columnTypeOf(column)
2888
+ filterType: columnTypeOf(column),
2889
+ filterDefaultCondition: column.filterDefaultCondition
2889
2890
  })));
2890
2891
  const columnVisibility = computed(() => Object.fromEntries(columns().map((column) => [column.field, !column.hide])));
2891
2892
  const columnOrder = computed(() => columns().map((column) => column.field));
@@ -4762,8 +4763,9 @@ var query_table_default = /* @__PURE__ */ defineComponent({
4762
4763
  * - `date` and `datetime`: one rule with the trimmed text as its value; the
4763
4764
  * text is not validated, as the input already gives an ISO date.
4764
4765
  *
4765
- * `condition` is the one picked in the filter menu; without it the column
4766
- * type's default applies (`Contains` for text, `Equal` otherwise). Empty or
4766
+ * `condition` is the one picked in the filter menu; without it the column's
4767
+ * `filterDefaultCondition` applies (C-117), else the type's default
4768
+ * (`Contains` for text, `Equal` otherwise). Empty or
4767
4769
  * blank text, and text that is only operators (`*`, `!`, `!*`), gives `[]`.
4768
4770
  * Invalid input never throws. Pure: no Vue, no DOM; the column is not written.
4769
4771
  * The grammar is the protocol's (`@dolusoft/query-protocol`).