@ix_waterford/lib 1.0.89 → 1.0.90

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
- // 1778232415571
175
+ // 1778234068712
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
- // 1778232415573
203
+ // 1778234068714
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
- // 1778232415572
231
+ // 1778234068713
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
- // 1778232415573
259
+ // 1778234068713
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 (
@@ -6566,6 +6566,7 @@ const defaultFieldMappings = {
6566
6566
  'AVATAR_LABEL': (param)=>{
6567
6567
  let { handleRowDataClick = ()=>{}, data = {}, col } = param;
6568
6568
  const fieldValue = data[(col === null || col === void 0 ? void 0 : col.field) || ''];
6569
+ const avatarUrl = typeof data.avatar_url === 'string' ? data.avatar_url : '';
6569
6570
  const isActive = data.is_active;
6570
6571
  const showLink = (col === null || col === void 0 ? void 0 : col.showLink) || false;
6571
6572
  const isEligible = data.is_eligible || false;
@@ -6585,21 +6586,22 @@ const defaultFieldMappings = {
6585
6586
  className: `activeDot ${isActive ? 'active' : isEligible ? 'eligible' : 'inactive'}`
6586
6587
  }, void 0, false, {
6587
6588
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6588
- lineNumber: 33,
6589
+ lineNumber: 34,
6589
6590
  columnNumber: 57
6590
6591
  }, undefined)
6591
6592
  }, void 0, false, {
6592
6593
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6593
- lineNumber: 33,
6594
+ lineNumber: 34,
6594
6595
  columnNumber: 21
6595
6596
  }, undefined),
6596
6597
  /*#__PURE__*/ (0,react_jsx_dev_runtime__rspack_import_0.jsxDEV)(_avatarTitle__rspack_import_6["default"], {
6598
+ img: avatarUrl,
6597
6599
  background: `${(0,_utils_global__rspack_import_4.getColorFromId)(fieldValue || null)}50`,
6598
6600
  color: `${(0,_utils_global__rspack_import_4.getColorFromId)(fieldValue || null)}`,
6599
6601
  name: `${fieldValue}`
6600
6602
  }, void 0, false, {
6601
6603
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6602
- lineNumber: 34,
6604
+ lineNumber: 35,
6603
6605
  columnNumber: 17
6604
6606
  }, undefined),
6605
6607
  /*#__PURE__*/ (0,react_jsx_dev_runtime__rspack_import_0.jsxDEV)(_mui_material__rspack_import_2.Box, {
@@ -6612,23 +6614,23 @@ const defaultFieldMappings = {
6612
6614
  children: (0,_utils_global__rspack_import_4.strEllipsis)(fieldValue)
6613
6615
  }, void 0, false, {
6614
6616
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6615
- lineNumber: 41,
6617
+ lineNumber: 43,
6616
6618
  columnNumber: 25
6617
6619
  }, undefined)
6618
6620
  }, void 0, false, {
6619
6621
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6620
- lineNumber: 40,
6622
+ lineNumber: 42,
6621
6623
  columnNumber: 21
6622
6624
  }, undefined)
6623
6625
  }, void 0, false, {
6624
6626
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6625
- lineNumber: 39,
6627
+ lineNumber: 41,
6626
6628
  columnNumber: 17
6627
6629
  }, undefined)
6628
6630
  ]
6629
6631
  }, void 0, true, {
6630
6632
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6631
- lineNumber: 30,
6633
+ lineNumber: 31,
6632
6634
  columnNumber: 13
6633
6635
  }, undefined);
6634
6636
  },
@@ -6644,12 +6646,12 @@ const defaultFieldMappings = {
6644
6646
  children: data[(col === null || col === void 0 ? void 0 : col.field) || '']
6645
6647
  }, void 0, false, {
6646
6648
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6647
- lineNumber: 50,
6649
+ lineNumber: 52,
6648
6650
  columnNumber: 17
6649
6651
  }, undefined)
6650
6652
  }, void 0, false, {
6651
6653
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6652
- lineNumber: 49,
6654
+ lineNumber: 51,
6653
6655
  columnNumber: 13
6654
6656
  }, undefined);
6655
6657
  },
@@ -6662,7 +6664,7 @@ const defaultFieldMappings = {
6662
6664
  size: "small"
6663
6665
  }, void 0, false, {
6664
6666
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6665
- lineNumber: 57,
6667
+ lineNumber: 59,
6666
6668
  columnNumber: 13
6667
6669
  }, undefined);
6668
6670
  },
@@ -6674,7 +6676,7 @@ const defaultFieldMappings = {
6674
6676
  children: (0,_utils_date__rspack_import_8.formatDate)(data[(col === null || col === void 0 ? void 0 : col.field) || ''], 'MMMM D, YYYY [at] hh:mm A') || nullFieldText || ''
6675
6677
  }, void 0, false, {
6676
6678
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6677
- lineNumber: 68,
6679
+ lineNumber: 70,
6678
6680
  columnNumber: 13
6679
6681
  }, undefined);
6680
6682
  },
@@ -6686,7 +6688,7 @@ const defaultFieldMappings = {
6686
6688
  children: (0,_utils_date__rspack_import_8.formatDate)(data[(col === null || col === void 0 ? void 0 : col.field) || ''], 'MMMM D, YYYY') || nullFieldText || ''
6687
6689
  }, void 0, false, {
6688
6690
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6689
- lineNumber: 76,
6691
+ lineNumber: 78,
6690
6692
  columnNumber: 13
6691
6693
  }, undefined);
6692
6694
  }