@fixefy/fixefy-ui-components 0.3.73 → 0.3.75

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.
Files changed (197) hide show
  1. package/dist/FxActionsTray/FxActionsTray.js +17 -12
  2. package/dist/FxAggregationsBar/helpers/structureReader.js +6 -4
  3. package/dist/FxAsyncDropdown/FxAsyncDropdown.js +18 -10
  4. package/dist/FxAsyncDropdown/components/CheckboxIcon.js +8 -6
  5. package/dist/FxAsyncDropdown/components/ChipOption.d.ts +1 -1
  6. package/dist/FxAsyncDropdown/components/DeleteButton.js +2 -2
  7. package/dist/FxAsyncDropdown/components/LogoOption.d.ts +1 -1
  8. package/dist/FxAsyncDropdown/components/LogoOption.js +7 -6
  9. package/dist/FxAsyncDropdown/components/TextOption.d.ts +1 -1
  10. package/dist/FxAsyncDropdown/components/TextOption.js +7 -6
  11. package/dist/FxAsyncDropdown/styles/dropdown.styles.js +2 -2
  12. package/dist/FxAvatar/helpers/stringToColor.js +2 -2
  13. package/dist/FxAvatar/styles/avatar.styles.js +77 -36
  14. package/dist/FxButton/styles/button.styles.js +8 -3
  15. package/dist/FxButtonModalWithComponent/FxButtonModalWithComponent.d.ts +1 -1
  16. package/dist/FxButtonModalWithComponent/FxButtonModalWithComponent.js +18 -4
  17. package/dist/FxButtonModalWithMenu/FxButtonModalWithMenu.d.ts +1 -1
  18. package/dist/FxButtonModalWithMenu/FxButtonModalWithMenu.js +11 -4
  19. package/dist/FxChip/FxChip.js +2 -2
  20. package/dist/FxChip/styles/chip.styles.js +11 -6
  21. package/dist/FxDatesProgress/FxDatesProgress.js +8 -7
  22. package/dist/FxDatesProgress/styles/progress.styles.js +8 -2
  23. package/dist/FxGeneralModal/FxGeneralModal.js +12 -5
  24. package/dist/FxGridEmptyState/FxGridEmptyState.js +7 -6
  25. package/dist/FxGridError/FxGridError.js +8 -7
  26. package/dist/FxIcon/FxIcon.d.ts +1 -1
  27. package/dist/FxIcon/FxIcon.js +5 -4
  28. package/dist/FxIcon/content/index.d.ts +2 -2
  29. package/dist/FxIcon/content/lazy_icon.d.ts +1 -1
  30. package/dist/FxIcon/content/lazy_icon.js +4 -3
  31. package/dist/FxMenuItemWithIcon/FxMenuItemWithIcon.js +6 -4
  32. package/dist/FxModal/FxModal.js +4 -3
  33. package/dist/FxModal/styles/modal.style.js +12 -5
  34. package/dist/FxNotes/FxNotes.js +2 -2
  35. package/dist/FxNotes/helpers/stringToColor.js +2 -2
  36. package/dist/FxNotes/styles/notes.styles.js +2 -2
  37. package/dist/FxNumberField/FxNumberField.js +1 -2
  38. package/dist/FxNumberField/styles/number_field.styles.js +7 -2
  39. package/dist/FxObjStaticDropdown/FxObjStaticDropdown.js +27 -16
  40. package/dist/FxObjStaticDropdown/styles/dropdown.styles.js +2 -2
  41. package/dist/FxPopper/Popper.d.ts +2 -1
  42. package/dist/FxPopper/Popper.js +11 -6
  43. package/dist/FxPopper/PopperWithOutside.d.ts +1 -1
  44. package/dist/FxPopper/PopperWithOutside.js +4 -3
  45. package/dist/FxPopper/styles/popper.styles.js +1 -1
  46. package/dist/FxProgressCircle/styles/progress_circle.styles.js +12 -12
  47. package/dist/FxProgressCounter/ProgressCounter.js +10 -9
  48. package/dist/FxProgressCounter/styles/progress_counter.styles.js +12 -7
  49. package/dist/FxScore/FxScore.js +19 -11
  50. package/dist/FxScore/styles/score.styles.js +7 -2
  51. package/dist/FxShowMore/FxShowMore.js +2 -2
  52. package/dist/FxShowMore/styles/show_more.styles.js +16 -7
  53. package/dist/FxSlider/FxSlider.js +2 -2
  54. package/dist/FxStatisticsBar/FxStatisticsBar.js +12 -6
  55. package/dist/FxStatisticsBar/styles/statistics.styles.js +7 -2
  56. package/dist/FxStatusBar/FxStatusBar.js +7 -2
  57. package/dist/FxStatusBar/styles/statusBar.styles.js +22 -15
  58. package/dist/FxStrStaticDropdown/FxStrStaticDropdown.js +26 -16
  59. package/dist/FxStrStaticDropdown/styles/dropdown.styles.js +2 -2
  60. package/dist/FxStyledButton/FxStyledButton.d.ts +2 -2
  61. package/dist/FxStyledButton/FxStyledButton.js +4 -3
  62. package/dist/FxStyledComponents/index.d.ts +1 -1
  63. package/dist/FxStyledComponents/index.js +32 -23
  64. package/dist/FxTabs/FxTabs.js +13 -9
  65. package/dist/FxTag/FxTag.js +2 -2
  66. package/dist/FxTag/index.d.ts +1 -1
  67. package/dist/FxTag/styles/tag.styles.js +10 -4
  68. package/dist/FxTextField/FxTextField.d.ts +1 -1
  69. package/dist/FxTextField/FxTextField.js +10 -7
  70. package/dist/FxTodo/FxTodo.js +5 -5
  71. package/dist/FxToggleButtons/FxToggleButtons.js +6 -5
  72. package/dist/FxUserImage/FxUserImage.js +7 -3
  73. package/dist/index.d.ts +1 -1
  74. package/dist/index.js +3 -3
  75. package/package.json +31 -30
  76. package/dist/FxActionButton/FxActionButton.d.ts +0 -7
  77. package/dist/FxActionButton/FxActionButton.js +0 -82
  78. package/dist/FxActionButton/index.d.ts +0 -1
  79. package/dist/FxActionButton/index.js +0 -11
  80. package/dist/FxActionsTray/styles/actions_tray.styles.d.ts +0 -8
  81. package/dist/FxActionsTray/styles/actions_tray.styles.js +0 -159
  82. package/dist/FxAsyncDropdown/useDropdownStore.d.ts +0 -2
  83. package/dist/FxAsyncDropdown/useDropdownStore.js +0 -57
  84. package/dist/FxFilterActionButton/FxFilterActionButton.d.ts +0 -7
  85. package/dist/FxFilterActionButton/FxFilterActionButton.js +0 -82
  86. package/dist/FxFilterActionButton/index.d.ts +0 -1
  87. package/dist/FxFilterActionButton/index.js +0 -11
  88. package/dist/FxFilterSortButton/FxFilterSortButton.d.ts +0 -7
  89. package/dist/FxFilterSortButton/FxFilterSortButton.js +0 -82
  90. package/dist/FxFilterSortButton/index.d.ts +0 -1
  91. package/dist/FxFilterSortButton/index.js +0 -11
  92. package/dist/FxModalWithButton/FxModalWithButton.d.ts +0 -10
  93. package/dist/FxModalWithButton/FxModalWithButton.js +0 -131
  94. package/dist/FxModalWithButton/index.d.ts +0 -1
  95. package/dist/FxModalWithButton/index.js +0 -11
  96. package/dist/FxModalWithComponent/FxModalWithComponent.d.ts +0 -11
  97. package/dist/FxModalWithComponent/FxModalWithComponent.js +0 -102
  98. package/dist/FxModalWithComponent/index.d.ts +0 -1
  99. package/dist/FxModalWithComponent/index.js +0 -11
  100. package/dist/FxModalWithMenu/FxModalWithMenu.d.ts +0 -14
  101. package/dist/FxModalWithMenu/FxModalWithMenu.js +0 -114
  102. package/dist/FxModalWithMenu/index.d.ts +0 -1
  103. package/dist/FxModalWithMenu/index.js +0 -11
  104. package/dist/FxPopper/styles/makeStyles.d.ts +0 -16
  105. package/dist/FxPopper/styles/makeStyles.js +0 -23
  106. package/dist/FxStaticDropdown/FxStaticDropdown.d.ts +0 -24
  107. package/dist/FxStaticDropdown/FxStaticDropdown.js +0 -368
  108. package/dist/FxStaticDropdown/helpers/helpers.d.ts +0 -2
  109. package/dist/FxStaticDropdown/helpers/helpers.js +0 -22
  110. package/dist/FxStaticDropdown/index.d.ts +0 -1
  111. package/dist/FxStaticDropdown/index.js +0 -11
  112. package/dist/FxStaticDropdown/styles/dropdown.styles.d.ts +0 -3
  113. package/dist/FxStaticDropdown/styles/dropdown.styles.js +0 -190
  114. package/dist/FxWizard/FxWizard/FxWizard.d.ts +0 -6
  115. package/dist/FxWizard/FxWizard/FxWizard.js +0 -42
  116. package/dist/FxWizard/FxWizard/index.d.ts +0 -2
  117. package/dist/FxWizard/FxWizard/index.js +0 -19
  118. package/dist/FxWizard/FxWizard/utils/envHelpers.d.ts +0 -1
  119. package/dist/FxWizard/FxWizard/utils/envHelpers.js +0 -35
  120. package/dist/FxWizard/FxWizard/utils/index.d.ts +0 -1
  121. package/dist/FxWizard/FxWizard/utils/index.js +0 -18
  122. package/dist/FxWizard/pages/wizard/[step].d.ts +0 -9
  123. package/dist/FxWizard/pages/wizard/[step].js +0 -112
  124. package/dist/FxWizard/pages/wizard/index.d.ts +0 -1
  125. package/dist/FxWizard/pages/wizard/index.js +0 -18
  126. package/dist/src/FxActionsTray/FxActionsTray.js +0 -351
  127. package/dist/src/FxActionsTray/index.js +0 -19
  128. package/dist/src/FxActionsTray/styles/actions_tray.styles.js +0 -159
  129. package/dist/src/FxAggregationsBar/FxAggregations.js +0 -41
  130. package/dist/src/FxAggregationsBar/helpers/structureReader.js +0 -78
  131. package/dist/src/FxAggregationsBar/index.js +0 -22
  132. package/dist/src/FxAggregationsBar/operations/query.js +0 -73
  133. package/dist/src/FxAsyncDropdown/FxAsyncDropdown.js +0 -628
  134. package/dist/src/FxAsyncDropdown/helpers/helpers.js +0 -161
  135. package/dist/src/FxAsyncDropdown/index.js +0 -25
  136. package/dist/src/FxAsyncDropdown/styles/dropdown.styles.js +0 -228
  137. package/dist/src/FxAvatar/FxAvatar.js +0 -145
  138. package/dist/src/FxAvatar/helpers/stringToColor.js +0 -23
  139. package/dist/src/FxAvatar/index.js +0 -22
  140. package/dist/src/FxAvatar/styles/avatar.styles.js +0 -192
  141. package/dist/src/FxButton/FxButton.js +0 -106
  142. package/dist/src/FxButton/index.js +0 -19
  143. package/dist/src/FxButton/styles/button.styles.js +0 -23
  144. package/dist/src/FxChip/FxChip.js +0 -45
  145. package/dist/src/FxChip/index.js +0 -19
  146. package/dist/src/FxChip/styles/chip.styles.js +0 -61
  147. package/dist/src/FxFilterSortButton/FxFilterSortButton.js +0 -82
  148. package/dist/src/FxFilterSortButton/index.js +0 -11
  149. package/dist/src/FxIcon/FxIcon.js +0 -107
  150. package/dist/src/FxIcon/content/dynamic_icon.js +0 -20
  151. package/dist/src/FxIcon/content/index.js +0 -20
  152. package/dist/src/FxIcon/content/lazy_icon.js +0 -137
  153. package/dist/src/FxIcon/index.js +0 -11
  154. package/dist/src/FxModal/FxModal.js +0 -170
  155. package/dist/src/FxModal/index.js +0 -19
  156. package/dist/src/FxModal/styles/modal.style.js +0 -59
  157. package/dist/src/FxModalWithButton/FxModalWithButton.js +0 -94
  158. package/dist/src/FxModalWithButton/index.js +0 -11
  159. package/dist/src/FxNotes/FxNotes.js +0 -216
  160. package/dist/src/FxNotes/helpers/stringToColor.js +0 -26
  161. package/dist/src/FxNotes/index.js +0 -22
  162. package/dist/src/FxNotes/operations/queries.js +0 -35
  163. package/dist/src/FxNotes/styles/notes.styles.js +0 -168
  164. package/dist/src/FxNumberField/FxNumberField.js +0 -109
  165. package/dist/src/FxNumberField/index.js +0 -19
  166. package/dist/src/FxNumberField/styles/number_field.styles.js +0 -94
  167. package/dist/src/FxProgressCircle/FxProgressCircle.js +0 -65
  168. package/dist/src/FxProgressCircle/index.js +0 -19
  169. package/dist/src/FxProgressCircle/styles/progress_circle.styles.js +0 -106
  170. package/dist/src/FxProgressCounter/ProgressCounter.js +0 -168
  171. package/dist/src/FxProgressCounter/index.js +0 -19
  172. package/dist/src/FxProgressCounter/styles/progress_counter.styles.js +0 -61
  173. package/dist/src/FxScore/FxScore.js +0 -207
  174. package/dist/src/FxScore/index.js +0 -19
  175. package/dist/src/FxScore/styles/score.styles.js +0 -97
  176. package/dist/src/FxShowMore/FxShowMore.js +0 -80
  177. package/dist/src/FxShowMore/index.js +0 -19
  178. package/dist/src/FxShowMore/styles/show_more.styles.js +0 -134
  179. package/dist/src/FxSlider/FxSlider.js +0 -49
  180. package/dist/src/FxSlider/index.js +0 -19
  181. package/dist/src/FxStatisticsBar/FxStatisticsBar.js +0 -191
  182. package/dist/src/FxStatisticsBar/index.js +0 -19
  183. package/dist/src/FxStatisticsBar/styles/statistics.styles.js +0 -98
  184. package/dist/src/FxStatusBar/FxStatusBar.js +0 -143
  185. package/dist/src/FxStatusBar/helpers/constants.js +0 -22
  186. package/dist/src/FxStatusBar/index.js +0 -22
  187. package/dist/src/FxStatusBar/styles/statusBar.styles.js +0 -131
  188. package/dist/src/FxStyledComponents/index.js +0 -310
  189. package/dist/src/FxTag/FxTag.js +0 -41
  190. package/dist/src/FxTag/index.js +0 -19
  191. package/dist/src/FxTag/styles/tag.styles.js +0 -100
  192. package/dist/src/FxTextField/FxTextField.js +0 -208
  193. package/dist/src/FxTextField/index.js +0 -19
  194. package/dist/src/FxTodo/FxTodo.js +0 -95
  195. package/dist/src/FxTodo/index.js +0 -22
  196. package/dist/src/FxTodo/styles/todo.styles.js +0 -183
  197. package/dist/src/index.js +0 -215
@@ -10,8 +10,15 @@ Object.defineProperty(exports, "FxButtonModalWithComponent", {
10
10
  });
11
11
  const _jsxruntime = require("react/jsx-runtime");
12
12
  const _react = /*#__PURE__*/ _interop_require_wildcard(require("react"));
13
- const _material = require("@mui/material");
13
+ const _Fade = /*#__PURE__*/ _interop_require_default(require("@mui/material/Fade"));
14
+ const _Menu = /*#__PURE__*/ _interop_require_default(require("@mui/material/Menu"));
15
+ const _Box = /*#__PURE__*/ _interop_require_default(require("@mui/material/Box"));
14
16
  const _FxStyledButton = require("../FxStyledButton");
17
+ function _interop_require_default(obj) {
18
+ return obj && obj.__esModule ? obj : {
19
+ default: obj
20
+ };
21
+ }
15
22
  function _getRequireWildcardCache(nodeInterop) {
16
23
  if (typeof WeakMap !== "function") return null;
17
24
  var cacheBabelInterop = new WeakMap();
@@ -75,7 +82,7 @@ const FxButtonModalWithComponent = ({ btnType = 'text', btnValue, modalData, onC
75
82
  }, [
76
83
  btnValue
77
84
  ]);
78
- return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_material.Box, {
85
+ return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_Box.default, {
79
86
  children: [
80
87
  /*#__PURE__*/ (0, _jsxruntime.jsx)(_FxStyledButton.FxStyledButton, {
81
88
  sx: sx,
@@ -87,15 +94,22 @@ const FxButtonModalWithComponent = ({ btnType = 'text', btnValue, modalData, onC
87
94
  disabled: disabled,
88
95
  iconSize: iconSize || 20
89
96
  }),
90
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Menu, {
97
+ /*#__PURE__*/ (0, _jsxruntime.jsx)(_Menu.default, {
91
98
  id: "fade-menu",
92
99
  MenuListProps: {
93
100
  'aria-labelledby': 'fade-button'
94
101
  },
102
+ sx: {
103
+ '& .MuiList-root': {
104
+ padding: 0,
105
+ paddingTop: 0,
106
+ paddingBottom: 0
107
+ }
108
+ },
95
109
  anchorEl: AnchorEl,
96
110
  open: isOpen,
97
111
  onClose: handleClose,
98
- TransitionComponent: _material.Fade,
112
+ TransitionComponent: _Fade.default,
99
113
  children: isOpen && modalData
100
114
  })
101
115
  ]
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  export declare const FxButtonModalWithMenu: ({ btnType, btnValue, modalData, onClick, disabled, startIcon, endIcon, shouldShowModal, buttonSx, menuItemSx, iconSize, }: {
3
- btnType?: 'text' | 'icon';
3
+ btnType?: "text" | "icon";
4
4
  btnValue?: string;
5
5
  modalData: any;
6
6
  onClick?: any;
@@ -10,9 +10,16 @@ Object.defineProperty(exports, "FxButtonModalWithMenu", {
10
10
  });
11
11
  const _jsxruntime = require("react/jsx-runtime");
12
12
  const _react = /*#__PURE__*/ _interop_require_wildcard(require("react"));
13
- const _material = require("@mui/material");
13
+ const _Fade = /*#__PURE__*/ _interop_require_default(require("@mui/material/Fade"));
14
+ const _Menu = /*#__PURE__*/ _interop_require_default(require("@mui/material/Menu"));
15
+ const _Box = /*#__PURE__*/ _interop_require_default(require("@mui/material/Box"));
14
16
  const _FxMenuItemWithIcon = require("../FxMenuItemWithIcon");
15
17
  const _FxStyledButton = require("../FxStyledButton");
18
+ function _interop_require_default(obj) {
19
+ return obj && obj.__esModule ? obj : {
20
+ default: obj
21
+ };
22
+ }
16
23
  function _getRequireWildcardCache(nodeInterop) {
17
24
  if (typeof WeakMap !== "function") return null;
18
25
  var cacheBabelInterop = new WeakMap();
@@ -76,7 +83,7 @@ const FxButtonModalWithMenu = ({ btnType = 'text', btnValue, modalData, onClick,
76
83
  }, [
77
84
  btnValue
78
85
  ]);
79
- return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_material.Box, {
86
+ return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_Box.default, {
80
87
  children: [
81
88
  /*#__PURE__*/ (0, _jsxruntime.jsx)(_FxStyledButton.FxStyledButton, {
82
89
  sx: buttonSx,
@@ -88,7 +95,7 @@ const FxButtonModalWithMenu = ({ btnType = 'text', btnValue, modalData, onClick,
88
95
  iconSize: iconSize || 20,
89
96
  disabled: disabled
90
97
  }),
91
- shouldShowModal && /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Menu, {
98
+ shouldShowModal && /*#__PURE__*/ (0, _jsxruntime.jsx)(_Menu.default, {
92
99
  id: "fade-menu",
93
100
  MenuListProps: {
94
101
  'aria-labelledby': 'fade-button',
@@ -99,7 +106,7 @@ const FxButtonModalWithMenu = ({ btnType = 'text', btnValue, modalData, onClick,
99
106
  anchorEl: AnchorEl,
100
107
  open: isOpen,
101
108
  onClose: handleClose,
102
- TransitionComponent: _material.Fade,
109
+ TransitionComponent: _Fade.default,
103
110
  children: isOpen && (modalData === null || modalData === void 0 ? void 0 : modalData.map((item, i)=>{
104
111
  return /*#__PURE__*/ (0, _jsxruntime.jsx)(_FxMenuItemWithIcon.FxMenuItemWithIcon, {
105
112
  icon: item.icon,
@@ -11,7 +11,7 @@ Object.defineProperty(exports, "FxChip", {
11
11
  const _jsxruntime = require("react/jsx-runtime");
12
12
  const _react = /*#__PURE__*/ _interop_require_default(require("react"));
13
13
  const _fixefyuiutils = require("@fixefy/fixefy-ui-utils");
14
- const _iconsmaterial = require("@mui/icons-material");
14
+ const _CloseRounded = /*#__PURE__*/ _interop_require_default(require("@mui/icons-material/CloseRounded"));
15
15
  const _chipstyles = require("./styles/chip.styles");
16
16
  const _FxIcon = require("../FxIcon");
17
17
  function _interop_require_default(obj) {
@@ -37,7 +37,7 @@ const FxChip = (props)=>{
37
37
  variant: variant,
38
38
  onClick: onClick,
39
39
  onDelete: onDelete,
40
- deleteIcon: onDelete ? /*#__PURE__*/ (0, _jsxruntime.jsx)(_iconsmaterial.CloseRounded, {
40
+ deleteIcon: onDelete ? /*#__PURE__*/ (0, _jsxruntime.jsx)(_CloseRounded.default, {
41
41
  sx: {
42
42
  width: 11,
43
43
  height: 11
@@ -25,9 +25,14 @@ _export(exports, {
25
25
  return StatusChipStyled;
26
26
  }
27
27
  });
28
- const _material = require("@mui/material");
28
+ const _Chip = /*#__PURE__*/ _interop_require_default(require("@mui/material/Chip"));
29
29
  const _styles = require("@mui/material/styles");
30
- const ScoreChipStyled = (0, _styles.styled)(_material.Chip)(({ theme, scoreLabel, minimized })=>{
30
+ function _interop_require_default(obj) {
31
+ return obj && obj.__esModule ? obj : {
32
+ default: obj
33
+ };
34
+ }
35
+ const ScoreChipStyled = (0, _styles.styled)(_Chip.default)(({ theme, scoreLabel, minimized })=>{
31
36
  const color = theme.palette.score[scoreLabel];
32
37
  return {
33
38
  height: 20,
@@ -43,7 +48,7 @@ const ScoreChipStyled = (0, _styles.styled)(_material.Chip)(({ theme, scoreLabel
43
48
  }
44
49
  };
45
50
  });
46
- const StatusChipStyled = (0, _styles.styled)(_material.Chip)(({ theme, status, variant })=>{
51
+ const StatusChipStyled = (0, _styles.styled)(_Chip.default)(({ theme, status, variant })=>{
47
52
  let backgroundColor, border, labelColor;
48
53
  if (theme.palette.status[status]) {
49
54
  if (variant === 'filled') {
@@ -68,7 +73,7 @@ const StatusChipStyled = (0, _styles.styled)(_material.Chip)(({ theme, status, v
68
73
  border: `1px solid ${border}`
69
74
  };
70
75
  });
71
- const PriorityChipStyled = (0, _styles.styled)(_material.Chip)(({ theme, status })=>{
76
+ const PriorityChipStyled = (0, _styles.styled)(_Chip.default)(({ theme, status })=>{
72
77
  var _theme_palette_chipPriority_status, _theme_palette_chipPriority, _theme_palette, _theme_palette_chipPriority_status1, _theme_palette_chipPriority1, _theme_palette1, _theme_palette_chipPriority_status2, _theme_palette_chipPriority2, _theme_palette2;
73
78
  var _theme_palette_chipPriority_status_background;
74
79
  const backgroundColor = (_theme_palette_chipPriority_status_background = theme === null || theme === void 0 ? void 0 : (_theme_palette = theme.palette) === null || _theme_palette === void 0 ? void 0 : (_theme_palette_chipPriority = _theme_palette.chipPriority) === null || _theme_palette_chipPriority === void 0 ? void 0 : (_theme_palette_chipPriority_status = _theme_palette_chipPriority[status]) === null || _theme_palette_chipPriority_status === void 0 ? void 0 : _theme_palette_chipPriority_status.background) !== null && _theme_palette_chipPriority_status_background !== void 0 ? _theme_palette_chipPriority_status_background : '#F6F9FA';
@@ -90,7 +95,7 @@ const PriorityChipStyled = (0, _styles.styled)(_material.Chip)(({ theme, status
90
95
  border: `1px solid ${border}`
91
96
  };
92
97
  });
93
- const RecoChipStyled = (0, _styles.styled)(_material.Chip)(({ theme, status })=>{
98
+ const RecoChipStyled = (0, _styles.styled)(_Chip.default)(({ theme, status })=>{
94
99
  var _theme_palette_recoState_status, _theme_palette_recoState, _theme_palette, _theme_palette_recoState_status1, _theme_palette_recoState1, _theme_palette1, _theme_palette_recoState_status2, _theme_palette_recoState2, _theme_palette2;
95
100
  var _theme_palette_recoState_status_background;
96
101
  const backgroundColor = (_theme_palette_recoState_status_background = theme === null || theme === void 0 ? void 0 : (_theme_palette = theme.palette) === null || _theme_palette === void 0 ? void 0 : (_theme_palette_recoState = _theme_palette.recoState) === null || _theme_palette_recoState === void 0 ? void 0 : (_theme_palette_recoState_status = _theme_palette_recoState[status]) === null || _theme_palette_recoState_status === void 0 ? void 0 : _theme_palette_recoState_status.background) !== null && _theme_palette_recoState_status_background !== void 0 ? _theme_palette_recoState_status_background : '#8B9092';
@@ -112,7 +117,7 @@ const RecoChipStyled = (0, _styles.styled)(_material.Chip)(({ theme, status })=>
112
117
  border: `1px solid ${border}`
113
118
  };
114
119
  });
115
- const DimensionChipStyled = (0, _styles.styled)(_material.Chip)(({ minimized })=>{
120
+ const DimensionChipStyled = (0, _styles.styled)(_Chip.default)(({ minimized })=>{
116
121
  return {
117
122
  height: '36px',
118
123
  minWidth: minimized ? 35 : 80,
@@ -13,42 +13,43 @@ const _react = /*#__PURE__*/ _interop_require_default(require("react"));
13
13
  const _FxStyledComponents = require("../FxStyledComponents");
14
14
  const _progressstyles = require("./styles/progress.styles");
15
15
  const _fixefyuiutils = require("@fixefy/fixefy-ui-utils");
16
- const _material = require("@mui/material");
16
+ const _Box = /*#__PURE__*/ _interop_require_default(require("@mui/material/Box"));
17
+ const _Typography = /*#__PURE__*/ _interop_require_default(require("@mui/material/Typography"));
17
18
  function _interop_require_default(obj) {
18
19
  return obj && obj.__esModule ? obj : {
19
20
  default: obj
20
21
  };
21
22
  }
22
23
  const FxDatesProgress = ({ start, end, progressValue, width, height })=>{
23
- return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_material.Box, {
24
+ return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_Box.default, {
24
25
  sx: {
25
26
  width: width || '199px',
26
27
  height: height || '44px'
27
28
  },
28
29
  children: [
29
- /*#__PURE__*/ (0, _jsxruntime.jsxs)(_material.Box, {
30
+ /*#__PURE__*/ (0, _jsxruntime.jsxs)(_Box.default, {
30
31
  sx: {
31
32
  display: 'flex',
32
33
  justifyContent: 'space-between',
33
34
  mb: 1
34
35
  },
35
36
  children: [
36
- /*#__PURE__*/ (0, _jsxruntime.jsxs)(_material.Box, {
37
+ /*#__PURE__*/ (0, _jsxruntime.jsxs)(_Box.default, {
37
38
  children: [
38
39
  /*#__PURE__*/ (0, _jsxruntime.jsx)(_FxStyledComponents.Label, {
39
40
  children: (0, _fixefyuiutils.titleCase)(start.label)
40
41
  }),
41
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Typography, {
42
+ /*#__PURE__*/ (0, _jsxruntime.jsx)(_Typography.default, {
42
43
  children: start.value || (0, _fixefyuiutils.titleCase)(start.placeholder)
43
44
  })
44
45
  ]
45
46
  }),
46
- /*#__PURE__*/ (0, _jsxruntime.jsxs)(_material.Box, {
47
+ /*#__PURE__*/ (0, _jsxruntime.jsxs)(_Box.default, {
47
48
  children: [
48
49
  /*#__PURE__*/ (0, _jsxruntime.jsx)(_FxStyledComponents.Label, {
49
50
  children: (0, _fixefyuiutils.titleCase)(end.label)
50
51
  }),
51
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Typography, {
52
+ /*#__PURE__*/ (0, _jsxruntime.jsx)(_Typography.default, {
52
53
  children: end.value || (0, _fixefyuiutils.titleCase)(end.placeholder)
53
54
  })
54
55
  ]
@@ -8,8 +8,14 @@ Object.defineProperty(exports, "Progress", {
8
8
  return Progress;
9
9
  }
10
10
  });
11
- const _material = require("@mui/material");
12
- const Progress = (0, _material.styled)(_material.LinearProgress)(({ theme })=>({
11
+ const _LinearProgress = /*#__PURE__*/ _interop_require_default(require("@mui/material/LinearProgress"));
12
+ const _styles = require("@mui/material/styles");
13
+ function _interop_require_default(obj) {
14
+ return obj && obj.__esModule ? obj : {
15
+ default: obj
16
+ };
17
+ }
18
+ const Progress = (0, _styles.styled)(_LinearProgress.default)(({ theme })=>({
13
19
  borderRadius: '20px',
14
20
  backgroundColor: '#E7EEF0',
15
21
  '& .MuiLinearProgress-barColorPrimary': {
@@ -10,7 +10,14 @@ Object.defineProperty(exports, "FxGeneralModal", {
10
10
  });
11
11
  const _jsxruntime = require("react/jsx-runtime");
12
12
  const _react = /*#__PURE__*/ _interop_require_wildcard(require("react"));
13
- const _material = require("@mui/material");
13
+ const _Fade = /*#__PURE__*/ _interop_require_default(require("@mui/material/Fade"));
14
+ const _Menu = /*#__PURE__*/ _interop_require_default(require("@mui/material/Menu"));
15
+ const _Box = /*#__PURE__*/ _interop_require_default(require("@mui/material/Box"));
16
+ function _interop_require_default(obj) {
17
+ return obj && obj.__esModule ? obj : {
18
+ default: obj
19
+ };
20
+ }
14
21
  function _getRequireWildcardCache(nodeInterop) {
15
22
  if (typeof WeakMap !== "function") return null;
16
23
  var cacheBabelInterop = new WeakMap();
@@ -78,13 +85,13 @@ const FxGeneralModal = ({ buttonComponent, modalComponent, onClick, closeOnButto
78
85
  }, [
79
86
  buttonComponent
80
87
  ]);
81
- return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_material.Box, {
88
+ return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_Box.default, {
82
89
  children: [
83
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Box, {
90
+ /*#__PURE__*/ (0, _jsxruntime.jsx)(_Box.default, {
84
91
  onClick: handleClick,
85
92
  children: buttonComponent
86
93
  }),
87
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Menu, {
94
+ /*#__PURE__*/ (0, _jsxruntime.jsx)(_Menu.default, {
88
95
  id: "fade-menu",
89
96
  MenuListProps: {
90
97
  'aria-labelledby': 'fade-button'
@@ -92,7 +99,7 @@ const FxGeneralModal = ({ buttonComponent, modalComponent, onClick, closeOnButto
92
99
  anchorEl: AnchorEl,
93
100
  open: isOpen,
94
101
  onClose: handleClose,
95
- TransitionComponent: _material.Fade,
102
+ TransitionComponent: _Fade.default,
96
103
  children: isOpen && modalComponent
97
104
  })
98
105
  ]
@@ -10,7 +10,8 @@ Object.defineProperty(exports, "FxGridEmptyState", {
10
10
  });
11
11
  const _jsxruntime = require("react/jsx-runtime");
12
12
  const _react = /*#__PURE__*/ _interop_require_default(require("react"));
13
- const _material = require("@mui/material");
13
+ const _Box = /*#__PURE__*/ _interop_require_default(require("@mui/material/Box"));
14
+ const _Typography = /*#__PURE__*/ _interop_require_default(require("@mui/material/Typography"));
14
15
  const _FxIcon = require("../FxIcon");
15
16
  function _interop_require_default(obj) {
16
17
  return obj && obj.__esModule ? obj : {
@@ -18,7 +19,7 @@ function _interop_require_default(obj) {
18
19
  };
19
20
  }
20
21
  const FxGridEmptyState = ()=>{
21
- return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_material.Box, {
22
+ return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_Box.default, {
22
23
  sx: {
23
24
  width: '100%',
24
25
  height: '100%',
@@ -31,7 +32,7 @@ const FxGridEmptyState = ()=>{
31
32
  height: 415,
32
33
  icon: 'general/hexagon_bottom.svg'
33
34
  }),
34
- /*#__PURE__*/ (0, _jsxruntime.jsxs)(_material.Box, {
35
+ /*#__PURE__*/ (0, _jsxruntime.jsxs)(_Box.default, {
35
36
  display: 'flex',
36
37
  flexDirection: 'column',
37
38
  sx: {
@@ -46,7 +47,7 @@ const FxGridEmptyState = ()=>{
46
47
  height: 250,
47
48
  icon: 'table/table_no_results.svg'
48
49
  }),
49
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Box, {
50
+ /*#__PURE__*/ (0, _jsxruntime.jsx)(_Box.default, {
50
51
  sx: {
51
52
  width: '100%',
52
53
  height: '100%',
@@ -57,10 +58,10 @@ const FxGridEmptyState = ()=>{
57
58
  flexDirection: 'column',
58
59
  margin: 'auto'
59
60
  },
60
- children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Box, {
61
+ children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_Box.default, {
61
62
  display: 'flex',
62
63
  flexDirection: 'column',
63
- children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Typography, {
64
+ children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_Typography.default, {
64
65
  variant: "h5",
65
66
  children: "There is currently no data to display."
66
67
  })
@@ -10,7 +10,8 @@ Object.defineProperty(exports, "FxGridError", {
10
10
  });
11
11
  const _jsxruntime = require("react/jsx-runtime");
12
12
  const _react = /*#__PURE__*/ _interop_require_default(require("react"));
13
- const _material = require("@mui/material");
13
+ const _Box = /*#__PURE__*/ _interop_require_default(require("@mui/material/Box"));
14
+ const _Typography = /*#__PURE__*/ _interop_require_default(require("@mui/material/Typography"));
14
15
  const _FxIcon = require("../FxIcon");
15
16
  function _interop_require_default(obj) {
16
17
  return obj && obj.__esModule ? obj : {
@@ -18,7 +19,7 @@ function _interop_require_default(obj) {
18
19
  };
19
20
  }
20
21
  const FxGridError = ({ header, message, image, textSx, imageHeight, imageWidth })=>{
21
- return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_material.Box, {
22
+ return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_Box.default, {
22
23
  sx: {
23
24
  width: '100%',
24
25
  height: '100%',
@@ -31,7 +32,7 @@ const FxGridError = ({ header, message, image, textSx, imageHeight, imageWidth }
31
32
  height: 415,
32
33
  icon: 'general/hexagon_bottom.svg'
33
34
  }),
34
- /*#__PURE__*/ (0, _jsxruntime.jsxs)(_material.Box, {
35
+ /*#__PURE__*/ (0, _jsxruntime.jsxs)(_Box.default, {
35
36
  display: 'flex',
36
37
  flexDirection: 'column',
37
38
  sx: {
@@ -46,7 +47,7 @@ const FxGridError = ({ header, message, image, textSx, imageHeight, imageWidth }
46
47
  height: imageHeight || 412,
47
48
  icon: image || 'general/bot_with_bubble.svg'
48
49
  }),
49
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Box, {
50
+ /*#__PURE__*/ (0, _jsxruntime.jsx)(_Box.default, {
50
51
  sx: {
51
52
  width: '100%',
52
53
  height: '100%',
@@ -57,7 +58,7 @@ const FxGridError = ({ header, message, image, textSx, imageHeight, imageWidth }
57
58
  flexDirection: 'column',
58
59
  margin: 'auto'
59
60
  },
60
- children: /*#__PURE__*/ (0, _jsxruntime.jsxs)(_material.Box, {
61
+ children: /*#__PURE__*/ (0, _jsxruntime.jsxs)(_Box.default, {
61
62
  display: 'flex',
62
63
  flexDirection: 'column',
63
64
  sx: textSx || {
@@ -65,11 +66,11 @@ const FxGridError = ({ header, message, image, textSx, imageHeight, imageWidth }
65
66
  marginTop: '40px'
66
67
  },
67
68
  children: [
68
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Typography, {
69
+ /*#__PURE__*/ (0, _jsxruntime.jsx)(_Typography.default, {
69
70
  variant: "h5",
70
71
  children: header || 'Something went wrong on our end.'
71
72
  }),
72
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Typography, {
73
+ /*#__PURE__*/ (0, _jsxruntime.jsx)(_Typography.default, {
73
74
  variant: "subtitle2",
74
75
  children: message || 'Please try again later.'
75
76
  })
@@ -3,7 +3,7 @@ export declare const FxIcon: ({ icon, width, height, onClick, variant, fontSize,
3
3
  width: number;
4
4
  height: number;
5
5
  onClick?: () => void;
6
- variant?: 'circular' | 'rounded' | 'square';
6
+ variant?: "circular" | "rounded" | "square";
7
7
  fontSize?: number;
8
8
  background?: string;
9
9
  initials?: string;
@@ -10,7 +10,8 @@ Object.defineProperty(exports, "FxIcon", {
10
10
  });
11
11
  const _jsxruntime = require("react/jsx-runtime");
12
12
  const _react = /*#__PURE__*/ _interop_require_wildcard(require("react"));
13
- const _material = require("@mui/material");
13
+ const _Avatar = /*#__PURE__*/ _interop_require_default(require("@mui/material/Avatar"));
14
+ const _Typography = /*#__PURE__*/ _interop_require_default(require("@mui/material/Typography"));
14
15
  const _fixefyuiutils = require("@fixefy/fixefy-ui-utils");
15
16
  const _image = /*#__PURE__*/ _interop_require_default(require("next/image"));
16
17
  function _interop_require_default(obj) {
@@ -63,14 +64,14 @@ const PublicIcon = ({ icon, width, height, onClick, variant, fontSize, backgroun
63
64
  const [isError, setError] = (0, _react.useState)(false);
64
65
  const handleError = (isError)=>setError(isError);
65
66
  if (isError) {
66
- return /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Avatar, {
67
+ return /*#__PURE__*/ (0, _jsxruntime.jsx)(_Avatar.default, {
67
68
  variant: variant || 'rounded',
68
69
  sx: {
69
70
  background: background || '#bdbdbd',
70
71
  width,
71
72
  height
72
73
  },
73
- children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Typography, {
74
+ children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_Typography.default, {
74
75
  fontSize: fontSize || 29,
75
76
  fontWeight: 600,
76
77
  children: initials || (0, _fixefyuiutils.toInitials)(icon)
@@ -81,7 +82,7 @@ const PublicIcon = ({ icon, width, height, onClick, variant, fontSize, backgroun
81
82
  alt: "",
82
83
  width: width,
83
84
  height: height,
84
- loader: ()=>//@ts-ignore
85
+ loader: ()=>//@ts-expect-error imageLoader is OK
85
86
  (0, _fixefyuiutils.imageLoader)({
86
87
  src: icon
87
88
  }),
@@ -1,2 +1,2 @@
1
- export { DynamicIcon } from "./dynamic_icon";
2
- export { LazyIcon } from "./lazy_icon";
1
+ export { DynamicIcon } from './dynamic_icon';
2
+ export { LazyIcon } from './lazy_icon';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { SxProps } from '@mui/system';
2
+ import { SxProps } from '@mui/material/styles';
3
3
  export declare const LazyIcon: ({ icon, width, height, }: {
4
4
  icon: string;
5
5
  width?: number | `${number}`;
@@ -10,7 +10,8 @@ Object.defineProperty(exports, "LazyIcon", {
10
10
  });
11
11
  const _jsxruntime = require("react/jsx-runtime");
12
12
  const _react = /*#__PURE__*/ _interop_require_wildcard(require("react"));
13
- const _material = require("@mui/material");
13
+ const _Avatar = /*#__PURE__*/ _interop_require_default(require("@mui/material/Avatar"));
14
+ const _Typography = /*#__PURE__*/ _interop_require_default(require("@mui/material/Typography"));
14
15
  const _fixefyuiutils = require("@fixefy/fixefy-ui-utils");
15
16
  const _image = /*#__PURE__*/ _interop_require_default(require("next/image"));
16
17
  function _interop_require_default(obj) {
@@ -63,8 +64,8 @@ const LazyIcon = ({ icon, width, height })=>{
63
64
  const [isError, setError] = (0, _react.useState)(false);
64
65
  const handleError = (isError)=>setError(isError);
65
66
  if (isError) {
66
- return /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Avatar, {
67
- children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Typography, {
67
+ return /*#__PURE__*/ (0, _jsxruntime.jsx)(_Avatar.default, {
68
+ children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_Typography.default, {
68
69
  fontSize: 29,
69
70
  fontWeight: 600,
70
71
  children: (0, _fixefyuiutils.toInitials)(icon)
@@ -10,7 +10,9 @@ Object.defineProperty(exports, "FxMenuItemWithIcon", {
10
10
  });
11
11
  const _jsxruntime = require("react/jsx-runtime");
12
12
  const _react = /*#__PURE__*/ _interop_require_default(require("react"));
13
- const _material = require("@mui/material");
13
+ const _ListItemIcon = /*#__PURE__*/ _interop_require_default(require("@mui/material/ListItemIcon"));
14
+ const _ListItemText = /*#__PURE__*/ _interop_require_default(require("@mui/material/ListItemText"));
15
+ const _MenuItem = /*#__PURE__*/ _interop_require_default(require("@mui/material/MenuItem"));
14
16
  const _fixefyuiutils = require("@fixefy/fixefy-ui-utils");
15
17
  const _FxIcon = require("../FxIcon");
16
18
  function _define_property(obj, key, value) {
@@ -47,7 +49,7 @@ function _object_spread(target) {
47
49
  return target;
48
50
  }
49
51
  const FxMenuItemWithIcon = ({ title, icon, onClick, sx = {} })=>{
50
- return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_material.MenuItem, {
52
+ return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_MenuItem.default, {
51
53
  sx: {
52
54
  width: '197px',
53
55
  display: 'flex',
@@ -62,14 +64,14 @@ const FxMenuItemWithIcon = ({ title, icon, onClick, sx = {} })=>{
62
64
  onClick: onClick ? onClick : null,
63
65
  value: title,
64
66
  children: [
65
- icon && /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.ListItemIcon, {
67
+ icon && /*#__PURE__*/ (0, _jsxruntime.jsx)(_ListItemIcon.default, {
66
68
  children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_FxIcon.FxIcon, {
67
69
  width: 16,
68
70
  height: 16,
69
71
  icon: icon
70
72
  })
71
73
  }),
72
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.ListItemText, {
74
+ /*#__PURE__*/ (0, _jsxruntime.jsx)(_ListItemText.default, {
73
75
  secondary: (0, _fixefyuiutils.titleCase)(title),
74
76
  secondaryTypographyProps: _object_spread({
75
77
  fontSize: '14px',
@@ -10,7 +10,8 @@ Object.defineProperty(exports, "FxModal", {
10
10
  });
11
11
  const _jsxruntime = require("react/jsx-runtime");
12
12
  const _react = /*#__PURE__*/ _interop_require_default(require("react"));
13
- const _material = require("@mui/material");
13
+ const _Box = /*#__PURE__*/ _interop_require_default(require("@mui/material/Box"));
14
+ const _DialogContent = /*#__PURE__*/ _interop_require_default(require("@mui/material/DialogContent"));
14
15
  const _modalstyle = require("./styles/modal.style");
15
16
  function _define_property(obj, key, value) {
16
17
  if (key in obj) {
@@ -113,7 +114,7 @@ const FxInlineDialogTitle = (props)=>{
113
114
  }));
114
115
  };
115
116
  const IconTitle = ({ icon, title, inline })=>{
116
- const renderObject = inline ? /*#__PURE__*/ (0, _jsxruntime.jsxs)(_material.Box, {
117
+ const renderObject = inline ? /*#__PURE__*/ (0, _jsxruntime.jsxs)(_Box.default, {
117
118
  sx: {
118
119
  display: 'flex',
119
120
  alignItems: 'center'
@@ -158,7 +159,7 @@ const FxModal = (_param)=>{
158
159
  title: title,
159
160
  inline: isIconTitleInline
160
161
  }),
161
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.DialogContent, {
162
+ /*#__PURE__*/ (0, _jsxruntime.jsx)(_DialogContent.default, {
162
163
  children: children
163
164
  }),
164
165
  actions && /*#__PURE__*/ (0, _jsxruntime.jsx)(_modalstyle.DialogActionsStyled, {
@@ -23,8 +23,15 @@ _export(exports, {
23
23
  }
24
24
  });
25
25
  const _styles = require("@mui/material/styles");
26
- const _material = require("@mui/material");
27
- const FxDialog = (0, _styles.styled)(_material.Dialog)(()=>({
26
+ const _Dialog = /*#__PURE__*/ _interop_require_default(require("@mui/material/Dialog"));
27
+ const _DialogActions = /*#__PURE__*/ _interop_require_default(require("@mui/material/DialogActions"));
28
+ const _DialogTitle = /*#__PURE__*/ _interop_require_default(require("@mui/material/DialogTitle"));
29
+ function _interop_require_default(obj) {
30
+ return obj && obj.__esModule ? obj : {
31
+ default: obj
32
+ };
33
+ }
34
+ const FxDialog = (0, _styles.styled)(_Dialog.default)(()=>({
28
35
  '& .MuiDialog-paper': {
29
36
  borderRadius: 8,
30
37
  padding: '24px',
@@ -42,18 +49,18 @@ const FxDialog = (0, _styles.styled)(_material.Dialog)(()=>({
42
49
  padding: 0
43
50
  }
44
51
  }));
45
- const StyledDialogTitle = (0, _styles.styled)(_material.DialogTitle)(()=>({
52
+ const StyledDialogTitle = (0, _styles.styled)(_DialogTitle.default)(()=>({
46
53
  fontSize: 14,
47
54
  fontWeight: 900,
48
55
  margin: '8px 0'
49
56
  }));
50
- const StyledInlineDialogTitle = (0, _styles.styled)(_material.DialogTitle)(()=>({
57
+ const StyledInlineDialogTitle = (0, _styles.styled)(_DialogTitle.default)(()=>({
51
58
  fontSize: 19,
52
59
  fontWeight: 600,
53
60
  color: '#568793',
54
61
  margin: '8px 16px',
55
62
  padding: 0
56
63
  }));
57
- const DialogActionsStyled = (0, _styles.styled)(_material.DialogActions)(({})=>({
64
+ const DialogActionsStyled = (0, _styles.styled)(_DialogActions.default)(({})=>({
58
65
  justifyContent: 'flex-start'
59
66
  }));
@@ -12,7 +12,7 @@ const _jsxruntime = require("react/jsx-runtime");
12
12
  const _react = /*#__PURE__*/ _interop_require_wildcard(require("react"));
13
13
  const _notesstyles = require("./styles/notes.styles");
14
14
  const _queries = require("./operations/queries");
15
- const _client = require("@apollo/client");
15
+ const _hooks = require("@apollo/client/react/hooks");
16
16
  const _stringToColor = require("./helpers/stringToColor");
17
17
  const _fixefyuiutils = require("@fixefy/fixefy-ui-utils");
18
18
  function _define_property(obj, key, value) {
@@ -113,7 +113,7 @@ const FxNotes = ({ notes, onChange, onSend })=>{
113
113
  const [backgroundcolors, setBackgroundColors] = (0, _react.useState)({});
114
114
  // const [anchorEl] = React.useState<HTMLButtonElement | null>(null)
115
115
  const inputRef = (0, _react.useRef)();
116
- const { data } = (0, _client.useQuery)(_queries.ME);
116
+ const { data } = (0, _hooks.useQuery)(_queries.ME);
117
117
  const { me } = data;
118
118
  // const handleClick = (event: React.MouseEvent<HTMLButtonElement>) => {
119
119
  // setAnchorEl(event.currentTarget)
@@ -14,13 +14,13 @@ const stringToColor = (string, callBack)=>{
14
14
  if (!string) {
15
15
  return '#000';
16
16
  }
17
- /* eslint-disable no-bitwise */ for(let i = 0; i < string.length; i += 1){
17
+ for(let i = 0; i < string.length; i += 1){
18
18
  hash = string.charCodeAt(i) + ((hash << 5) - hash);
19
19
  }
20
20
  for(let i = 0; i < 3; i += 1){
21
21
  const value = hash >> i * 8 & 0xff;
22
22
  color += `00${value.toString(16)}`.substr(-2);
23
23
  }
24
- /* eslint-enable no-bitwise */ callBack && callBack(color);
24
+ callBack && callBack(color);
25
25
  return color;
26
26
  };