@ix_waterford/lib 1.0.88 → 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
- // 1778221138723
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
- // 1778221138724
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
- // 1778221138724
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
- // 1778221138725
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 (
@@ -4703,7 +4703,7 @@ __webpack_require__.d(__webpack_exports__, {
4703
4703
 
4704
4704
 
4705
4705
  const Dialog = (param)=>{
4706
- let { open = false, onClose = ()=>{}, title = '', actions, children, showCloseButton = true, maxWidth = 'sm', fullWidth = true, fullScreen = false, scroll = 'paper', disableBackdropClick = false, disableEscapeKeyDown = false, ...restProps } = param;
4706
+ let { open = false, onClose = ()=>{}, title = '', actions, children, showCloseButton = true, maxWidth = 'sm', fullWidth = true, fullScreen = false, scroll = 'paper', padding = '24px', disableBackdropClick = false, disableEscapeKeyDown = false, ...restProps } = param;
4707
4707
  const handleClose = (event, reason)=>{
4708
4708
  if (disableBackdropClick && reason === 'backdropClick') return;
4709
4709
  if (disableEscapeKeyDown && reason === 'escapeKeyDown') return;
@@ -4717,7 +4717,6 @@ const Dialog = (param)=>{
4717
4717
  fullScreen: fullScreen,
4718
4718
  scroll: scroll,
4719
4719
  ...restProps,
4720
- className: `${fullScreen ? 'fullScreenDialog' : ''}`,
4721
4720
  children: [
4722
4721
  title && /*#__PURE__*/ (0,react_jsx_dev_runtime__rspack_import_0.jsxDEV)(_mui_material__rspack_import_1.DialogTitle, {
4723
4722
  className: "dialog-title",
@@ -4728,38 +4727,41 @@ const Dialog = (param)=>{
4728
4727
  onClick: (e)=>onClose(e, 'escapeKeyDown'),
4729
4728
  children: /*#__PURE__*/ (0,react_jsx_dev_runtime__rspack_import_0.jsxDEV)(_assets_svg__rspack_import_2.CloseIcon, {}, void 0, false, {
4730
4729
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/dialog/dialog.tsx",
4731
- lineNumber: 70,
4730
+ lineNumber: 71,
4732
4731
  columnNumber: 15
4733
4732
  }, undefined)
4734
4733
  }, void 0, false, {
4735
4734
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/dialog/dialog.tsx",
4736
- lineNumber: 66,
4735
+ lineNumber: 67,
4737
4736
  columnNumber: 13
4738
4737
  }, undefined)
4739
4738
  ]
4740
4739
  }, void 0, true, {
4741
4740
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/dialog/dialog.tsx",
4742
- lineNumber: 63,
4741
+ lineNumber: 64,
4743
4742
  columnNumber: 9
4744
4743
  }, undefined),
4745
4744
  children && /*#__PURE__*/ (0,react_jsx_dev_runtime__rspack_import_0.jsxDEV)(_mui_material__rspack_import_1.DialogContent, {
4745
+ style: {
4746
+ padding: padding
4747
+ },
4746
4748
  children: children
4747
4749
  }, void 0, false, {
4748
4750
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/dialog/dialog.tsx",
4749
- lineNumber: 75,
4751
+ lineNumber: 76,
4750
4752
  columnNumber: 20
4751
4753
  }, undefined),
4752
4754
  actions && /*#__PURE__*/ (0,react_jsx_dev_runtime__rspack_import_0.jsxDEV)(_mui_material__rspack_import_1.DialogActions, {
4753
4755
  children: actions
4754
4756
  }, void 0, false, {
4755
4757
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/dialog/dialog.tsx",
4756
- lineNumber: 76,
4758
+ lineNumber: 77,
4757
4759
  columnNumber: 19
4758
4760
  }, undefined)
4759
4761
  ]
4760
4762
  }, void 0, true, {
4761
4763
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/dialog/dialog.tsx",
4762
- lineNumber: 52,
4764
+ lineNumber: 54,
4763
4765
  columnNumber: 5
4764
4766
  }, undefined);
4765
4767
  };
@@ -4784,18 +4786,13 @@ __webpack_require__.d(__webpack_exports__, {
4784
4786
  const Style = (param)=>{
4785
4787
  let { theme } = param;
4786
4788
  return {
4787
- "& .fullScreenDialog": {
4788
- "& .MuiPaper-root": {
4789
- borderRadius: "0px"
4790
- }
4791
- },
4792
- "& .MuiPaper-root": {
4793
- borderRadius: "16px"
4789
+ '& .MuiPaper-root': {
4790
+ borderRadius: '16px'
4794
4791
  },
4795
- "& .dialog-title": {
4796
- display: "flex",
4797
- alignItems: "center",
4798
- justifyContent: "space-between",
4792
+ '& .dialog-title': {
4793
+ display: 'flex',
4794
+ alignItems: 'center',
4795
+ justifyContent: 'space-between',
4799
4796
  color: theme.palette.text.primary
4800
4797
  }
4801
4798
  };
@@ -6725,6 +6722,7 @@ const defaultFieldMappings = {
6725
6722
  'AVATAR_LABEL': (param)=>{
6726
6723
  let { handleRowDataClick = ()=>{}, data = {}, col } = param;
6727
6724
  const fieldValue = data[(col === null || col === void 0 ? void 0 : col.field) || ''];
6725
+ const avatarUrl = typeof data.avatar_url === 'string' ? data.avatar_url : '';
6728
6726
  const isActive = data.is_active;
6729
6727
  const showLink = (col === null || col === void 0 ? void 0 : col.showLink) || false;
6730
6728
  const isEligible = data.is_eligible || false;
@@ -6744,21 +6742,22 @@ const defaultFieldMappings = {
6744
6742
  className: `activeDot ${isActive ? 'active' : isEligible ? 'eligible' : 'inactive'}`
6745
6743
  }, void 0, false, {
6746
6744
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6747
- lineNumber: 33,
6745
+ lineNumber: 34,
6748
6746
  columnNumber: 57
6749
6747
  }, undefined)
6750
6748
  }, void 0, false, {
6751
6749
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6752
- lineNumber: 33,
6750
+ lineNumber: 34,
6753
6751
  columnNumber: 21
6754
6752
  }, undefined),
6755
6753
  /*#__PURE__*/ (0,react_jsx_dev_runtime__rspack_import_0.jsxDEV)(_avatarTitle__rspack_import_6["default"], {
6754
+ img: avatarUrl,
6756
6755
  background: `${(0,_utils_global__rspack_import_4.getColorFromId)(fieldValue || null)}50`,
6757
6756
  color: `${(0,_utils_global__rspack_import_4.getColorFromId)(fieldValue || null)}`,
6758
6757
  name: `${fieldValue}`
6759
6758
  }, void 0, false, {
6760
6759
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6761
- lineNumber: 34,
6760
+ lineNumber: 35,
6762
6761
  columnNumber: 17
6763
6762
  }, undefined),
6764
6763
  /*#__PURE__*/ (0,react_jsx_dev_runtime__rspack_import_0.jsxDEV)(_mui_material__rspack_import_2.Box, {
@@ -6771,23 +6770,23 @@ const defaultFieldMappings = {
6771
6770
  children: (0,_utils_global__rspack_import_4.strEllipsis)(fieldValue)
6772
6771
  }, void 0, false, {
6773
6772
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6774
- lineNumber: 41,
6773
+ lineNumber: 43,
6775
6774
  columnNumber: 25
6776
6775
  }, undefined)
6777
6776
  }, void 0, false, {
6778
6777
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6779
- lineNumber: 40,
6778
+ lineNumber: 42,
6780
6779
  columnNumber: 21
6781
6780
  }, undefined)
6782
6781
  }, void 0, false, {
6783
6782
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6784
- lineNumber: 39,
6783
+ lineNumber: 41,
6785
6784
  columnNumber: 17
6786
6785
  }, undefined)
6787
6786
  ]
6788
6787
  }, void 0, true, {
6789
6788
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6790
- lineNumber: 30,
6789
+ lineNumber: 31,
6791
6790
  columnNumber: 13
6792
6791
  }, undefined);
6793
6792
  },
@@ -6803,12 +6802,12 @@ const defaultFieldMappings = {
6803
6802
  children: data[(col === null || col === void 0 ? void 0 : col.field) || '']
6804
6803
  }, void 0, false, {
6805
6804
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6806
- lineNumber: 50,
6805
+ lineNumber: 52,
6807
6806
  columnNumber: 17
6808
6807
  }, undefined)
6809
6808
  }, void 0, false, {
6810
6809
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6811
- lineNumber: 49,
6810
+ lineNumber: 51,
6812
6811
  columnNumber: 13
6813
6812
  }, undefined);
6814
6813
  },
@@ -6821,7 +6820,7 @@ const defaultFieldMappings = {
6821
6820
  size: "small"
6822
6821
  }, void 0, false, {
6823
6822
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6824
- lineNumber: 57,
6823
+ lineNumber: 59,
6825
6824
  columnNumber: 13
6826
6825
  }, undefined);
6827
6826
  },
@@ -6833,7 +6832,7 @@ const defaultFieldMappings = {
6833
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 || ''
6834
6833
  }, void 0, false, {
6835
6834
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6836
- lineNumber: 68,
6835
+ lineNumber: 70,
6837
6836
  columnNumber: 13
6838
6837
  }, undefined);
6839
6838
  },
@@ -6845,7 +6844,7 @@ const defaultFieldMappings = {
6845
6844
  children: (0,_utils_date__rspack_import_8.formatDate)(data[(col === null || col === void 0 ? void 0 : col.field) || ''], 'MMMM D, YYYY') || nullFieldText || ''
6846
6845
  }, void 0, false, {
6847
6846
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6848
- lineNumber: 76,
6847
+ lineNumber: 78,
6849
6848
  columnNumber: 13
6850
6849
  }, undefined);
6851
6850
  }
@@ -8816,7 +8815,8 @@ const Style = (param)=>{
8816
8815
  background: '#FCFCFE',
8817
8816
  borderRadius: '10px 10px 0px 0px',
8818
8817
  padding: '10px 15px 7px',
8819
- marginRight: '10px'
8818
+ marginRight: '10px',
8819
+ height: '48px'
8820
8820
  },
8821
8821
  '& .tab-badge': {
8822
8822
  background: theme.palette.secondary.main,