@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.
@@ -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 (
@@ -6722,6 +6722,7 @@ const defaultFieldMappings = {
6722
6722
  'AVATAR_LABEL': (param)=>{
6723
6723
  let { handleRowDataClick = ()=>{}, data = {}, col } = param;
6724
6724
  const fieldValue = data[(col === null || col === void 0 ? void 0 : col.field) || ''];
6725
+ const avatarUrl = typeof data.avatar_url === 'string' ? data.avatar_url : '';
6725
6726
  const isActive = data.is_active;
6726
6727
  const showLink = (col === null || col === void 0 ? void 0 : col.showLink) || false;
6727
6728
  const isEligible = data.is_eligible || false;
@@ -6741,21 +6742,22 @@ const defaultFieldMappings = {
6741
6742
  className: `activeDot ${isActive ? 'active' : isEligible ? 'eligible' : 'inactive'}`
6742
6743
  }, void 0, false, {
6743
6744
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6744
- lineNumber: 33,
6745
+ lineNumber: 34,
6745
6746
  columnNumber: 57
6746
6747
  }, undefined)
6747
6748
  }, void 0, false, {
6748
6749
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6749
- lineNumber: 33,
6750
+ lineNumber: 34,
6750
6751
  columnNumber: 21
6751
6752
  }, undefined),
6752
6753
  /*#__PURE__*/ (0,react_jsx_dev_runtime__rspack_import_0.jsxDEV)(_avatarTitle__rspack_import_6["default"], {
6754
+ img: avatarUrl,
6753
6755
  background: `${(0,_utils_global__rspack_import_4.getColorFromId)(fieldValue || null)}50`,
6754
6756
  color: `${(0,_utils_global__rspack_import_4.getColorFromId)(fieldValue || null)}`,
6755
6757
  name: `${fieldValue}`
6756
6758
  }, void 0, false, {
6757
6759
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6758
- lineNumber: 34,
6760
+ lineNumber: 35,
6759
6761
  columnNumber: 17
6760
6762
  }, undefined),
6761
6763
  /*#__PURE__*/ (0,react_jsx_dev_runtime__rspack_import_0.jsxDEV)(_mui_material__rspack_import_2.Box, {
@@ -6768,23 +6770,23 @@ const defaultFieldMappings = {
6768
6770
  children: (0,_utils_global__rspack_import_4.strEllipsis)(fieldValue)
6769
6771
  }, void 0, false, {
6770
6772
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6771
- lineNumber: 41,
6773
+ lineNumber: 43,
6772
6774
  columnNumber: 25
6773
6775
  }, undefined)
6774
6776
  }, void 0, false, {
6775
6777
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6776
- lineNumber: 40,
6778
+ lineNumber: 42,
6777
6779
  columnNumber: 21
6778
6780
  }, undefined)
6779
6781
  }, void 0, false, {
6780
6782
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6781
- lineNumber: 39,
6783
+ lineNumber: 41,
6782
6784
  columnNumber: 17
6783
6785
  }, undefined)
6784
6786
  ]
6785
6787
  }, void 0, true, {
6786
6788
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6787
- lineNumber: 30,
6789
+ lineNumber: 31,
6788
6790
  columnNumber: 13
6789
6791
  }, undefined);
6790
6792
  },
@@ -6800,12 +6802,12 @@ const defaultFieldMappings = {
6800
6802
  children: data[(col === null || col === void 0 ? void 0 : col.field) || '']
6801
6803
  }, void 0, false, {
6802
6804
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6803
- lineNumber: 50,
6805
+ lineNumber: 52,
6804
6806
  columnNumber: 17
6805
6807
  }, undefined)
6806
6808
  }, void 0, false, {
6807
6809
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6808
- lineNumber: 49,
6810
+ lineNumber: 51,
6809
6811
  columnNumber: 13
6810
6812
  }, undefined);
6811
6813
  },
@@ -6818,7 +6820,7 @@ const defaultFieldMappings = {
6818
6820
  size: "small"
6819
6821
  }, void 0, false, {
6820
6822
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6821
- lineNumber: 57,
6823
+ lineNumber: 59,
6822
6824
  columnNumber: 13
6823
6825
  }, undefined);
6824
6826
  },
@@ -6830,7 +6832,7 @@ const defaultFieldMappings = {
6830
6832
  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 || ''
6831
6833
  }, void 0, false, {
6832
6834
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6833
- lineNumber: 68,
6835
+ lineNumber: 70,
6834
6836
  columnNumber: 13
6835
6837
  }, undefined);
6836
6838
  },
@@ -6842,7 +6844,7 @@ const defaultFieldMappings = {
6842
6844
  children: (0,_utils_date__rspack_import_8.formatDate)(data[(col === null || col === void 0 ? void 0 : col.field) || ''], 'MMMM D, YYYY') || nullFieldText || ''
6843
6845
  }, void 0, false, {
6844
6846
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6845
- lineNumber: 76,
6847
+ lineNumber: 78,
6846
6848
  columnNumber: 13
6847
6849
  }, undefined);
6848
6850
  }