@tanstack/svelte-table 8.7.2 → 8.7.4

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.
@@ -13,7 +13,7 @@ export * from '@tanstack/table-core';
13
13
  import { SvelteComponent, init, safe_not_equal, text, claim_text, insert_hydration, set_data, noop, detach, create_ssr_component, escape, validate_component, create_component, claim_component, mount_component, transition_in, transition_out, destroy_component } from 'svelte/internal';
14
14
  import { readable, get, writable, derived } from 'svelte/store';
15
15
 
16
- /* packages/svelte-table/src/placeholder.svelte generated by Svelte v3.54.0 */
16
+ /* packages/svelte-table/src/placeholder.svelte generated by Svelte v3.55.0 */
17
17
 
18
18
  function create_fragment$1(ctx) {
19
19
  let t;
@@ -13,7 +13,7 @@ export * from '@tanstack/table-core';
13
13
  import { SvelteComponent, init, safe_not_equal, text, claim_text, insert_hydration, set_data, noop, detach, create_ssr_component, escape, validate_component, create_component, claim_component, mount_component, transition_in, transition_out, destroy_component } from 'svelte/internal';
14
14
  import { readable, get, writable, derived } from 'svelte/store';
15
15
 
16
- /* packages/svelte-table/src/placeholder.svelte generated by Svelte v3.54.0 */
16
+ /* packages/svelte-table/src/placeholder.svelte generated by Svelte v3.55.0 */
17
17
 
18
18
  function create_fragment$1(ctx) {
19
19
  let t;
@@ -14,7 +14,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
14
14
 
15
15
  var internal = require('svelte/internal');
16
16
 
17
- /* packages/svelte-table/src/placeholder.svelte generated by Svelte v3.54.0 */
17
+ /* packages/svelte-table/src/placeholder.svelte generated by Svelte v3.55.0 */
18
18
 
19
19
  function create_fragment(ctx) {
20
20
  let t;
@@ -1046,8 +1046,9 @@
1046
1046
  },
1047
1047
  getFilterFn: () => {
1048
1048
  var _table$options$filter;
1049
- return isFunction(column.columnDef.filterFn) ? column.columnDef.filterFn : column.columnDef.filterFn === 'auto' ? column.getAutoFilterFn() : // @ts-ignore
1050
- (_table$options$filter = table.options.filterFns?.[column.columnDef.filterFn]) != null ? _table$options$filter : filterFns[column.columnDef.filterFn];
1049
+ return isFunction(column.columnDef.filterFn) ? column.columnDef.filterFn : column.columnDef.filterFn === 'auto' ? column.getAutoFilterFn()
1050
+ // @ts-ignore
1051
+ : (_table$options$filter = table.options.filterFns?.[column.columnDef.filterFn]) != null ? _table$options$filter : filterFns[column.columnDef.filterFn];
1051
1052
  },
1052
1053
  getCanFilter: () => {
1053
1054
  var _column$columnDef$ena, _table$options$enable, _table$options$enable2;
@@ -1135,8 +1136,9 @@
1135
1136
  const {
1136
1137
  globalFilterFn: globalFilterFn
1137
1138
  } = table.options;
1138
- return isFunction(globalFilterFn) ? globalFilterFn : globalFilterFn === 'auto' ? table.getGlobalAutoFilterFn() : // @ts-ignore
1139
- (_table$options$filter2 = table.options.filterFns?.[globalFilterFn]) != null ? _table$options$filter2 : filterFns[globalFilterFn];
1139
+ return isFunction(globalFilterFn) ? globalFilterFn : globalFilterFn === 'auto' ? table.getGlobalAutoFilterFn()
1140
+ // @ts-ignore
1141
+ : (_table$options$filter2 = table.options.filterFns?.[globalFilterFn]) != null ? _table$options$filter2 : filterFns[globalFilterFn];
1140
1142
  },
1141
1143
  setColumnFilters: updater => {
1142
1144
  const leafColumns = table.getAllLeafColumns();
@@ -3559,7 +3561,7 @@
3559
3561
  });
3560
3562
  }
3561
3563
 
3562
- /* packages/svelte-table/src/placeholder.svelte generated by Svelte v3.54.0 */
3564
+ /* packages/svelte-table/src/placeholder.svelte generated by Svelte v3.55.0 */
3563
3565
 
3564
3566
  function create_fragment$1(ctx) {
3565
3567
  let t;