@ai-matrx/design-system 0.44.5 → 0.44.6

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.
@@ -46763,6 +46763,7 @@ function MatrxDataTableCore({
46763
46763
  const appendDefaultsToSourceProcessing = appendQuery !== null && sourceProcessing === void 0;
46764
46764
  const sourceColumnFilterOwnership = sourceProcessing?.columnFilters;
46765
46765
  const sourceOwnsColumnFilters = appendDefaultsToSourceProcessing ? true : sourceColumnFilterOwnership === "source" || typeof sourceColumnFilterOwnership === "object" && sourceColumnFilterOwnership.source.length > 0;
46766
+ const remoteQueryUsesLocalColumnFilters = remoteQuery !== null && sourceColumnFilterOwnership === "local";
46766
46767
  const sourceOwnsSort = appendQuery !== null && sourceProcessing === void 0 ? true : sourceProcessing?.sort === "source";
46767
46768
  const sourceOwnsIntelligentSearch = sourceProcessing?.intelligentSearch === "source";
46768
46769
  const sourceOwnsSearch = remoteQuery?.mode === "controlled" || appendQuery !== null && sourceProcessing === void 0 || sourceProcessing?.search === "source" || sourceOwnsIntelligentSearch;
@@ -47431,7 +47432,7 @@ function MatrxDataTableCore({
47431
47432
  [columns, data, toolbar?.intelligentSearch?.roles, toolbar?.intelligentSearch?.scopes]
47432
47433
  );
47433
47434
  const processed = useMemo9(() => {
47434
- if (remoteQuery && !appendUsesLocalProcessing) return data;
47435
+ if (remoteQuery && !appendUsesLocalProcessing && !remoteQueryUsesLocalColumnFilters) return data;
47435
47436
  if (processLocalRows) {
47436
47437
  return processLocalRows(data, {
47437
47438
  page,
@@ -47487,6 +47488,7 @@ function MatrxDataTableCore({
47487
47488
  pageSize,
47488
47489
  remoteQuery,
47489
47490
  appendUsesLocalProcessing,
47491
+ remoteQueryUsesLocalColumnFilters,
47490
47492
  sourceOwnsColumnFilters,
47491
47493
  sourceOwnsSort,
47492
47494
  sourceOwnsSearch,
@@ -48053,7 +48055,7 @@ function MatrxDataTableCore({
48053
48055
  }
48054
48056
  resetToolbarFacets(toolbar?.facets);
48055
48057
  };
48056
- const renderedEmptyState = remoteQuery === null && data.length > 0 && hasActiveFilters ? {
48058
+ const renderedEmptyState = (remoteQuery === null || remoteQueryUsesLocalColumnFilters) && data.length > 0 && hasActiveFilters ? {
48057
48059
  title: "No matching rows",
48058
48060
  description: "No rows match the current search or filters.",
48059
48061
  action: /* @__PURE__ */ jsx43(Button, { type: "button", variant: "outline", size: "sm", onClick: clearAllFilters, children: "Clear filters" }),