@economic/taco 2.58.2-EC-64961.13 → 2.58.2-EC-64961.14

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/taco.cjs CHANGED
@@ -43331,7 +43331,7 @@ function getComparatorText(comparator, texts, column) {
43331
43331
  }
43332
43332
  const querySelector = "filter-value";
43333
43333
  function FilterValue(props) {
43334
- var _a;
43334
+ var _a, _b;
43335
43335
  const { column, comparator, onChange: handleChange, value } = props;
43336
43336
  const { texts } = useLocalization();
43337
43337
  if (comparator === TableFilterComparator.IsEmpty || comparator === TableFilterComparator.IsNotEmpty) {
@@ -43352,7 +43352,7 @@ function FilterValue(props) {
43352
43352
  }
43353
43353
  );
43354
43354
  }
43355
- if (((_a = column.columnDef.meta) == null ? void 0 : _a.dataType) === "datetime") {
43355
+ if (((_a = column.columnDef.meta) == null ? void 0 : _a.dataType) === "datetime" || ((_b = column.columnDef.meta) == null ? void 0 : _b.dataType) === "date") {
43356
43356
  return /* @__PURE__ */ React.createElement("div", { className: "flex flex-grow items-center gap-2" }, /* @__PURE__ */ React.createElement(
43357
43357
  Control,
43358
43358
  {
@@ -43426,7 +43426,7 @@ function Control(props) {
43426
43426
  ),
43427
43427
  { ["data-query-selector"]: querySelector, className: "focus:yt-focus" }
43428
43428
  );
43429
- } else if (controlRenderer === "datepicker" || dataType === "datetime") {
43429
+ } else if (controlRenderer === "datepicker" || dataType === "datetime" || dataType === "date") {
43430
43430
  return /* @__PURE__ */ React.createElement(Datepicker, { ...attributes, onChange: (event) => onChange(event.detail), value });
43431
43431
  } else if (controlRenderer === "switch") {
43432
43432
  return /* @__PURE__ */ React.createElement(Switch$1, { ...attributes, className: "m-1.5", checked: Boolean(value), onChange });