@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.
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
- // 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
  };
@@ -6569,6 +6566,7 @@ const defaultFieldMappings = {
6569
6566
  'AVATAR_LABEL': (param)=>{
6570
6567
  let { handleRowDataClick = ()=>{}, data = {}, col } = param;
6571
6568
  const fieldValue = data[(col === null || col === void 0 ? void 0 : col.field) || ''];
6569
+ const avatarUrl = typeof data.avatar_url === 'string' ? data.avatar_url : '';
6572
6570
  const isActive = data.is_active;
6573
6571
  const showLink = (col === null || col === void 0 ? void 0 : col.showLink) || false;
6574
6572
  const isEligible = data.is_eligible || false;
@@ -6588,21 +6586,22 @@ const defaultFieldMappings = {
6588
6586
  className: `activeDot ${isActive ? 'active' : isEligible ? 'eligible' : 'inactive'}`
6589
6587
  }, void 0, false, {
6590
6588
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6591
- lineNumber: 33,
6589
+ lineNumber: 34,
6592
6590
  columnNumber: 57
6593
6591
  }, undefined)
6594
6592
  }, void 0, false, {
6595
6593
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6596
- lineNumber: 33,
6594
+ lineNumber: 34,
6597
6595
  columnNumber: 21
6598
6596
  }, undefined),
6599
6597
  /*#__PURE__*/ (0,react_jsx_dev_runtime__rspack_import_0.jsxDEV)(_avatarTitle__rspack_import_6["default"], {
6598
+ img: avatarUrl,
6600
6599
  background: `${(0,_utils_global__rspack_import_4.getColorFromId)(fieldValue || null)}50`,
6601
6600
  color: `${(0,_utils_global__rspack_import_4.getColorFromId)(fieldValue || null)}`,
6602
6601
  name: `${fieldValue}`
6603
6602
  }, void 0, false, {
6604
6603
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6605
- lineNumber: 34,
6604
+ lineNumber: 35,
6606
6605
  columnNumber: 17
6607
6606
  }, undefined),
6608
6607
  /*#__PURE__*/ (0,react_jsx_dev_runtime__rspack_import_0.jsxDEV)(_mui_material__rspack_import_2.Box, {
@@ -6615,23 +6614,23 @@ const defaultFieldMappings = {
6615
6614
  children: (0,_utils_global__rspack_import_4.strEllipsis)(fieldValue)
6616
6615
  }, void 0, false, {
6617
6616
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6618
- lineNumber: 41,
6617
+ lineNumber: 43,
6619
6618
  columnNumber: 25
6620
6619
  }, undefined)
6621
6620
  }, void 0, false, {
6622
6621
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6623
- lineNumber: 40,
6622
+ lineNumber: 42,
6624
6623
  columnNumber: 21
6625
6624
  }, undefined)
6626
6625
  }, void 0, false, {
6627
6626
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6628
- lineNumber: 39,
6627
+ lineNumber: 41,
6629
6628
  columnNumber: 17
6630
6629
  }, undefined)
6631
6630
  ]
6632
6631
  }, void 0, true, {
6633
6632
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6634
- lineNumber: 30,
6633
+ lineNumber: 31,
6635
6634
  columnNumber: 13
6636
6635
  }, undefined);
6637
6636
  },
@@ -6647,12 +6646,12 @@ const defaultFieldMappings = {
6647
6646
  children: data[(col === null || col === void 0 ? void 0 : col.field) || '']
6648
6647
  }, void 0, false, {
6649
6648
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6650
- lineNumber: 50,
6649
+ lineNumber: 52,
6651
6650
  columnNumber: 17
6652
6651
  }, undefined)
6653
6652
  }, void 0, false, {
6654
6653
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6655
- lineNumber: 49,
6654
+ lineNumber: 51,
6656
6655
  columnNumber: 13
6657
6656
  }, undefined);
6658
6657
  },
@@ -6665,7 +6664,7 @@ const defaultFieldMappings = {
6665
6664
  size: "small"
6666
6665
  }, void 0, false, {
6667
6666
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6668
- lineNumber: 57,
6667
+ lineNumber: 59,
6669
6668
  columnNumber: 13
6670
6669
  }, undefined);
6671
6670
  },
@@ -6677,7 +6676,7 @@ const defaultFieldMappings = {
6677
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 || ''
6678
6677
  }, void 0, false, {
6679
6678
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6680
- lineNumber: 68,
6679
+ lineNumber: 70,
6681
6680
  columnNumber: 13
6682
6681
  }, undefined);
6683
6682
  },
@@ -6689,7 +6688,7 @@ const defaultFieldMappings = {
6689
6688
  children: (0,_utils_date__rspack_import_8.formatDate)(data[(col === null || col === void 0 ? void 0 : col.field) || ''], 'MMMM D, YYYY') || nullFieldText || ''
6690
6689
  }, void 0, false, {
6691
6690
  fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/defaultMappings.tsx",
6692
- lineNumber: 76,
6691
+ lineNumber: 78,
6693
6692
  columnNumber: 13
6694
6693
  }, undefined);
6695
6694
  }
@@ -8660,7 +8659,8 @@ const Style = (param)=>{
8660
8659
  background: '#FCFCFE',
8661
8660
  borderRadius: '10px 10px 0px 0px',
8662
8661
  padding: '10px 15px 7px',
8663
- marginRight: '10px'
8662
+ marginRight: '10px',
8663
+ height: '48px'
8664
8664
  },
8665
8665
  '& .tab-badge': {
8666
8666
  background: theme.palette.secondary.main,