@ix_waterford/lib 1.0.68 → 1.0.70
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
|
-
//
|
|
175
|
+
// 1775927964526
|
|
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
|
-
//
|
|
203
|
+
// 1775927964527
|
|
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
|
-
//
|
|
231
|
+
// 1775927964527
|
|
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
|
-
//
|
|
259
|
+
// 1775927964528
|
|
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 (
|
|
@@ -7447,11 +7447,22 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
7447
7447
|
/* import */ var _multiSearch__rspack_import_2 = __webpack_require__("./src/components/multiSearch/multiSearch.tsx");
|
|
7448
7448
|
/* provided dependency */ var $ReactRefreshRuntime$ = __webpack_require__("./node_modules/@rspack/plugin-react-refresh/client/reactRefresh.js");
|
|
7449
7449
|
|
|
7450
|
+
var _s = $RefreshSig$();
|
|
7450
7451
|
|
|
7451
7452
|
|
|
7452
7453
|
const MultiSearchFieldComponent = (param)=>{
|
|
7453
|
-
let { field = '', value =
|
|
7454
|
-
|
|
7454
|
+
let { field = '', value = null, options = [], onSearch = ()=>{} } = param;
|
|
7455
|
+
_s();
|
|
7456
|
+
const normalizedValue = (0,react__rspack_import_1.useMemo)(()=>{
|
|
7457
|
+
if (Array.isArray(value)) return value;
|
|
7458
|
+
return !value ? options.map((param)=>{
|
|
7459
|
+
let { value } = param;
|
|
7460
|
+
return value;
|
|
7461
|
+
}) : [];
|
|
7462
|
+
}, [
|
|
7463
|
+
options,
|
|
7464
|
+
value
|
|
7465
|
+
]);
|
|
7455
7466
|
return /*#__PURE__*/ (0,react_jsx_dev_runtime__rspack_import_0.jsxDEV)(_multiSearch__rspack_import_2["default"], {
|
|
7456
7467
|
field: field,
|
|
7457
7468
|
value: normalizedValue,
|
|
@@ -7459,10 +7470,11 @@ const MultiSearchFieldComponent = (param)=>{
|
|
|
7459
7470
|
onSearch: onSearch
|
|
7460
7471
|
}, void 0, false, {
|
|
7461
7472
|
fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/header/searchFields/MultiSearchField.tsx",
|
|
7462
|
-
lineNumber:
|
|
7473
|
+
lineNumber: 32,
|
|
7463
7474
|
columnNumber: 5
|
|
7464
7475
|
}, undefined);
|
|
7465
7476
|
};
|
|
7477
|
+
_s(MultiSearchFieldComponent, "sAheK19jueGu3C7Ht3rVgtLI/pc=");
|
|
7466
7478
|
_c = MultiSearchFieldComponent;
|
|
7467
7479
|
MultiSearchFieldComponent.displayName = 'MultiSearchField';
|
|
7468
7480
|
const MultiSearchField = /*#__PURE__*/ react__rspack_import_1["default"].memo(MultiSearchFieldComponent);
|