@ix_waterford/lib 1.0.67 → 1.0.69

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/index.js CHANGED
@@ -172,7 +172,7 @@ __webpack_require__.r(__webpack_exports__);
172
172
  if(true) {
173
173
  (function() {
174
174
  var localsJsonString = undefined;
175
- // 1775907101935
175
+ // 1775907713565
176
176
  var cssReload = (__webpack_require__("./node_modules/@rspack/core/dist/cssExtractHmr.js")/* .cssReload */.cssReload)(module.id, {});
177
177
  // only invalidate when locals change
178
178
  if (
@@ -200,7 +200,7 @@ __webpack_require__.r(__webpack_exports__);
200
200
  if(true) {
201
201
  (function() {
202
202
  var localsJsonString = undefined;
203
- // 1775907101936
203
+ // 1775907713566
204
204
  var cssReload = (__webpack_require__("./node_modules/@rspack/core/dist/cssExtractHmr.js")/* .cssReload */.cssReload)(module.id, {});
205
205
  // only invalidate when locals change
206
206
  if (
@@ -228,7 +228,7 @@ __webpack_require__.r(__webpack_exports__);
228
228
  if(true) {
229
229
  (function() {
230
230
  var localsJsonString = undefined;
231
- // 1775907101936
231
+ // 1775907713568
232
232
  var cssReload = (__webpack_require__("./node_modules/@rspack/core/dist/cssExtractHmr.js")/* .cssReload */.cssReload)(module.id, {});
233
233
  // only invalidate when locals change
234
234
  if (
@@ -256,7 +256,7 @@ __webpack_require__.r(__webpack_exports__);
256
256
  if(true) {
257
257
  (function() {
258
258
  var localsJsonString = undefined;
259
- // 1775907101937
259
+ // 1775907713567
260
260
  var cssReload = (__webpack_require__("./node_modules/@rspack/core/dist/cssExtractHmr.js")/* .cssReload */.cssReload)(module.id, {});
261
261
  // only invalidate when locals change
262
262
  if (
@@ -7278,7 +7278,7 @@ const SearchBar = /*#__PURE__*/ react__rspack_import_1["default"].memo(_c = (pro
7278
7278
  const { headers = [], searchObj = {}, handleSearch = ()=>{}, showCheckbox = false } = props;
7279
7279
  const renderSearchField = (item)=>{
7280
7280
  var _item_customSearch, _item_customSearch1, _item_customSearch2;
7281
- const fieldValue = searchObj[item.field];
7281
+ const fieldValue = searchObj[item.field] || '';
7282
7282
  if (item.searchable) {
7283
7283
  return /*#__PURE__*/ (0,react_jsx_dev_runtime__rspack_import_0.jsxDEV)(_searchFields__rspack_import_3.TextSearchField, {
7284
7284
  field: item.field,
@@ -7330,7 +7330,7 @@ const SearchBar = /*#__PURE__*/ react__rspack_import_1["default"].memo(_c = (pro
7330
7330
  if (((_item_customSearch2 = item.customSearch) === null || _item_customSearch2 === void 0 ? void 0 : _item_customSearch2.field) === 'DATE_RANGE') {
7331
7331
  return /*#__PURE__*/ (0,react_jsx_dev_runtime__rspack_import_0.jsxDEV)(_searchFields__rspack_import_6.DateSearchField, {
7332
7332
  field: item.field,
7333
- value: fieldValue,
7333
+ value: fieldValue || null,
7334
7334
  onSearch: (value)=>handleSearch({
7335
7335
  ...searchObj,
7336
7336
  [item.field]: value