"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.FiltersPanelSearchNoResults = void 0;
var _designSystem = require("@wix/design-system");
var _react = _interopRequireDefault(require("react"));
var _mobxReactLite = require("mobx-react-lite");
var _react2 = require("@wix/bex-core/react");
var _jsxFileName = "/home/builduser/work/843658b9f44192f0/packages/cairo/dist/cjs/components/FiltersPanel/FiltersPanelSearchNoResults.tsx";
function _FiltersPanelSearchNoResults({
  state
}) {
  const {
    translate: t
  } = (0, _react2.useWixPatternsContainer)();
  return /*#__PURE__*/_react.default.createElement(_designSystem.Box, {
    dataHook: "filters-panel-search-no-results",
    direction: "vertical",
    align: "center",
    verticalAlign: "middle",
    gap: "SP2",
    padding: "SP6 SP3",
    __self: this,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 18,
      columnNumber: 5
    }
  }, /*#__PURE__*/_react.default.createElement(_designSystem.Text, {
    dataHook: "filters-panel-search-no-results-title",
    size: "small",
    secondary: true,
    __self: this,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 26,
      columnNumber: 7
    }
  }, t('cairo.filtersPanel.search.noResults.title', {
    term: state.searchValue.trim()
  })), /*#__PURE__*/_react.default.createElement(_designSystem.TextButton, {
    dataHook: "filters-panel-search-clear-button",
    size: "small",
    onClick: () => state.clearSearch(),
    __self: this,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 35,
      columnNumber: 7
    }
  }, t('cairo.filtersPanel.search.clearButton')));
}
const FiltersPanelSearchNoResults = exports.FiltersPanelSearchNoResults = (0, _mobxReactLite.observer)(_FiltersPanelSearchNoResults);
//# sourceMappingURL=FiltersPanelSearchNoResults.js.map