@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
@@ -12,7 +12,12 @@ 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
14
  const _actionsTraystyle = require("./styles/actionsTray.style");
15
- const _material = require("@mui/material");
15
+ const _Box = /*#__PURE__*/ _interop_require_default(require("@mui/material/Box"));
16
+ const _Divider = /*#__PURE__*/ _interop_require_default(require("@mui/material/Divider"));
17
+ const _Paper = /*#__PURE__*/ _interop_require_default(require("@mui/material/Paper"));
18
+ const _Slide = /*#__PURE__*/ _interop_require_default(require("@mui/material/Slide"));
19
+ const _Typography = /*#__PURE__*/ _interop_require_default(require("@mui/material/Typography"));
20
+ const _Button = /*#__PURE__*/ _interop_require_default(require("@mui/material/Button"));
16
21
  const _pluralize = /*#__PURE__*/ _interop_require_default(require("pluralize"));
17
22
  const _FxIcon = require("../FxIcon");
18
23
  function _interop_require_default(obj) {
@@ -26,32 +31,32 @@ const FxActionsTray = ({ ctx, entityType = 'item', show = false, actions = [], o
26
31
  const selectedCount = selectAll === true && ultraSelectAll === true ? totalCount : selection.length;
27
32
  return /*#__PURE__*/ (0, _jsxruntime.jsx)("div", {
28
33
  className: classes.container,
29
- children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Slide, {
34
+ children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_Slide.default, {
30
35
  direction: "up",
31
36
  in: show,
32
37
  mountOnEnter: true,
33
38
  unmountOnExit: true,
34
39
  timeout: 400,
35
- children: /*#__PURE__*/ (0, _jsxruntime.jsxs)(_material.Paper, {
40
+ children: /*#__PURE__*/ (0, _jsxruntime.jsxs)(_Paper.default, {
36
41
  elevation: 4,
37
42
  className: classes.paper,
38
43
  children: [
39
44
  /*#__PURE__*/ (0, _jsxruntime.jsxs)("div", {
40
45
  className: classes.selected,
41
46
  children: [
42
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Typography, {
47
+ /*#__PURE__*/ (0, _jsxruntime.jsx)(_Typography.default, {
43
48
  sx: {
44
49
  fontWeight: 700,
45
50
  marginRight: '7px'
46
51
  },
47
52
  children: selectedCount
48
53
  }),
49
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Typography, {
54
+ /*#__PURE__*/ (0, _jsxruntime.jsx)(_Typography.default, {
50
55
  children: `${(0, _pluralize.default)(entityType, selectedCount)} selected`
51
56
  })
52
57
  ]
53
58
  }),
54
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Divider, {
59
+ /*#__PURE__*/ (0, _jsxruntime.jsx)(_Divider.default, {
55
60
  className: classes.divider,
56
61
  orientation: "vertical"
57
62
  }),
@@ -65,14 +70,14 @@ const FxActionsTray = ({ ctx, entityType = 'item', show = false, actions = [], o
65
70
  onClick: onClick
66
71
  }, index))
67
72
  }),
68
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Divider, {
73
+ /*#__PURE__*/ (0, _jsxruntime.jsx)(_Divider.default, {
69
74
  className: classes.divider,
70
75
  orientation: "vertical"
71
76
  }),
72
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Button, {
77
+ /*#__PURE__*/ (0, _jsxruntime.jsx)(_Button.default, {
73
78
  className: classes.close,
74
79
  onClick: onClose,
75
- children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Typography, {
80
+ children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_Typography.default, {
76
81
  textAlign: 'center',
77
82
  children: (0, _fixefyuiutils.titleCase)('close')
78
83
  })
@@ -82,13 +87,13 @@ const FxActionsTray = ({ ctx, entityType = 'item', show = false, actions = [], o
82
87
  })
83
88
  });
84
89
  };
85
- const ActionButton = ({ title, name, icon, classes, onClick })=>/*#__PURE__*/ (0, _jsxruntime.jsxs)(_material.Button, {
90
+ const ActionButton = ({ title, name, icon, classes, onClick })=>/*#__PURE__*/ (0, _jsxruntime.jsxs)(_Button.default, {
86
91
  id: name,
87
92
  className: classes.actionButton,
88
93
  title: (0, _fixefyuiutils.titleCase)(title),
89
94
  onClick: (event)=>onClick(event, name),
90
95
  children: [
91
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Box, {
96
+ /*#__PURE__*/ (0, _jsxruntime.jsx)(_Box.default, {
92
97
  width: '16px',
93
98
  height: '16px',
94
99
  children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_FxIcon.FxIcon, {
@@ -97,7 +102,7 @@ const ActionButton = ({ title, name, icon, classes, onClick })=>/*#__PURE__*/ (0
97
102
  icon: `actions/${icon}.svg`
98
103
  })
99
104
  }),
100
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Typography, {
105
+ /*#__PURE__*/ (0, _jsxruntime.jsx)(_Typography.default, {
101
106
  children: (0, _fixefyuiutils.titleCase)(title)
102
107
  })
103
108
  ]
@@ -10,7 +10,9 @@ Object.defineProperty(exports, "structureReader", {
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 _Stack = /*#__PURE__*/ _interop_require_default(require("@mui/material/Stack"));
15
+ const _Divider = /*#__PURE__*/ _interop_require_default(require("@mui/material/Divider"));
14
16
  const _FxScore = require("../../FxScore");
15
17
  const _FxStatisticsBar = require("../../FxStatisticsBar");
16
18
  const _FxProgressCounter = require("../../FxProgressCounter");
@@ -33,7 +35,7 @@ const structureReader = (structure, filter, collapsed, initialValues)=>{
33
35
  structure: child,
34
36
  filter: filter,
35
37
  values: initialValues
36
- }, index) : /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Box, {
38
+ }, index) : /*#__PURE__*/ (0, _jsxruntime.jsx)(_Box.default, {
37
39
  sx: {
38
40
  display: 'flex',
39
41
  justifyContent: 'center',
@@ -53,9 +55,9 @@ const structureReader = (structure, filter, collapsed, initialValues)=>{
53
55
  });
54
56
  case 'aggregations_secondary_container':
55
57
  var _extended_variables;
56
- return /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Stack, {
58
+ return /*#__PURE__*/ (0, _jsxruntime.jsx)(_Stack.default, {
57
59
  direction: "row",
58
- divider: /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Divider, {
60
+ divider: /*#__PURE__*/ (0, _jsxruntime.jsx)(_Divider.default, {
59
61
  orientation: "vertical",
60
62
  flexItem: true
61
63
  }),
@@ -10,12 +10,15 @@ Object.defineProperty(exports, "FxAsyncDropdown", {
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 _Button = /*#__PURE__*/ _interop_require_default(require("@mui/material/Button"));
14
+ const _CircularProgress = /*#__PURE__*/ _interop_require_default(require("@mui/material/CircularProgress"));
15
+ const _Box = /*#__PURE__*/ _interop_require_default(require("@mui/material/Box"));
16
+ const _Stack = /*#__PURE__*/ _interop_require_default(require("@mui/material/Stack"));
14
17
  const _FxIcon = require("../FxIcon");
15
18
  const _graphqltag = require("graphql-tag");
16
19
  const _dropdownstyles = require("./styles/dropdown.styles");
17
20
  const _helpers = require("./helpers/helpers");
18
- const _client = require("@apollo/client");
21
+ const _hooks = require("@apollo/client/react/hooks");
19
22
  const _nookies = require("nookies");
20
23
  const _components = require("./components");
21
24
  function _define_property(obj, key, value) {
@@ -31,6 +34,11 @@ function _define_property(obj, key, value) {
31
34
  }
32
35
  return obj;
33
36
  }
37
+ function _interop_require_default(obj) {
38
+ return obj && obj.__esModule ? obj : {
39
+ default: obj
40
+ };
41
+ }
34
42
  function _getRequireWildcardCache(nodeInterop) {
35
43
  if (typeof WeakMap !== "function") return null;
36
44
  var cacheBabelInterop = new WeakMap();
@@ -156,7 +164,7 @@ const FxAsyncDropdown = (props)=>{
156
164
  setPage((prevPage)=>prevPage + 1);
157
165
  setPrevPage((prevPage)=>prevPage + 1);
158
166
  };
159
- const [fetch, { data, loading }] = (0, _client.useLazyQuery)((0, _graphqltag.gql)(gqlQuery), _object_spread_props(_object_spread({}, fetcher.queryOptions), {
167
+ const [fetch, { data, loading }] = (0, _hooks.useLazyQuery)((0, _graphqltag.gql)(gqlQuery), _object_spread_props(_object_spread({}, fetcher.queryOptions), {
160
168
  variables: {
161
169
  where: getWhere(),
162
170
  skip: page * pageSize - pageSize,
@@ -164,7 +172,7 @@ const FxAsyncDropdown = (props)=>{
164
172
  sort: sort || {}
165
173
  }
166
174
  }));
167
- const [defaultValueFetch, { data: defaultValueData }] = (0, _client.useLazyQuery)((0, _graphqltag.gql)(gqlQuery), _object_spread_props(_object_spread({}, fetcher.queryOptions), {
175
+ const [defaultValueFetch, { data: defaultValueData }] = (0, _hooks.useLazyQuery)((0, _graphqltag.gql)(gqlQuery), _object_spread_props(_object_spread({}, fetcher.queryOptions), {
168
176
  variables: {
169
177
  where: defaultValueWhere,
170
178
  sort: sort || {}
@@ -401,14 +409,14 @@ const FxAsyncDropdown = (props)=>{
401
409
  }
402
410
  };
403
411
  const getDisplayedValuesMultiple = ()=>{
404
- return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_material.Stack, {
412
+ return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_Stack.default, {
405
413
  direction: 'row',
406
414
  sx: {
407
415
  display: 'flex',
408
416
  justifyContent: 'space-between'
409
417
  },
410
418
  children: [
411
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Stack, {
419
+ /*#__PURE__*/ (0, _jsxruntime.jsx)(_Stack.default, {
412
420
  direction: 'row',
413
421
  sx: {
414
422
  overflow: 'hidden',
@@ -420,7 +428,7 @@ const FxAsyncDropdown = (props)=>{
420
428
  return getSingleOptionFromListOrDisplayed(item, 'displayed');
421
429
  }))
422
430
  }),
423
- (displayed === null || displayed === void 0 ? void 0 : displayed.length) > 0 && /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Box, {
431
+ (displayed === null || displayed === void 0 ? void 0 : displayed.length) > 0 && /*#__PURE__*/ (0, _jsxruntime.jsx)(_Box.default, {
424
432
  sx: {
425
433
  minWidth: '20px',
426
434
  maxWidth: '20px',
@@ -446,7 +454,7 @@ const FxAsyncDropdown = (props)=>{
446
454
  return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_dropdownstyles.Root, {
447
455
  style: rootStylesOverride,
448
456
  children: [
449
- /*#__PURE__*/ (0, _jsxruntime.jsxs)(_material.Box, {
457
+ /*#__PURE__*/ (0, _jsxruntime.jsxs)(_Box.default, {
450
458
  children: [
451
459
  getCurrentValues(),
452
460
  /*#__PURE__*/ (0, _jsxruntime.jsxs)(_dropdownstyles.InputWrapper, {
@@ -465,7 +473,7 @@ const FxAsyncDropdown = (props)=>{
465
473
  }
466
474
  }),
467
475
  loading && /*#__PURE__*/ (0, _jsxruntime.jsx)(_dropdownstyles.Loading, {
468
- children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.CircularProgress, {})
476
+ children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_CircularProgress.default, {})
469
477
  })
470
478
  ]
471
479
  })
@@ -476,7 +484,7 @@ const FxAsyncDropdown = (props)=>{
476
484
  children: [
477
485
  displayListOptions(),
478
486
  !isLastPage && /*#__PURE__*/ (0, _jsxruntime.jsx)("li", {
479
- children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Button, {
487
+ children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_Button.default, {
480
488
  onClick: ()=>{
481
489
  setReason('loaded more');
482
490
  loadMore();
@@ -10,22 +10,24 @@ Object.defineProperty(exports, "CheckboxIcon", {
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");
14
- const _iconsmaterial = require("@mui/icons-material");
13
+ const _Checkbox = /*#__PURE__*/ _interop_require_default(require("@mui/material/Checkbox"));
14
+ const _styles = require("@mui/material/styles");
15
+ const _CheckBoxOutlineBlank = /*#__PURE__*/ _interop_require_default(require("@mui/icons-material/CheckBoxOutlineBlank"));
16
+ const _CheckBox = /*#__PURE__*/ _interop_require_default(require("@mui/icons-material/CheckBox"));
15
17
  function _interop_require_default(obj) {
16
18
  return obj && obj.__esModule ? obj : {
17
19
  default: obj
18
20
  };
19
21
  }
20
- const uncheckedIcon = /*#__PURE__*/ (0, _jsxruntime.jsx)(_iconsmaterial.CheckBoxOutlineBlank, {
22
+ const uncheckedIcon = /*#__PURE__*/ (0, _jsxruntime.jsx)(_CheckBoxOutlineBlank.default, {
21
23
  fontSize: "small"
22
24
  });
23
- const checkedIcon = /*#__PURE__*/ (0, _jsxruntime.jsx)(_iconsmaterial.CheckBox, {
25
+ const checkedIcon = /*#__PURE__*/ (0, _jsxruntime.jsx)(_CheckBox.default, {
24
26
  fontSize: "small"
25
27
  });
26
28
  const CheckboxIcon = ({ checked })=>{
27
- const theme = (0, _material.useTheme)();
28
- return /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Checkbox, {
29
+ const theme = (0, _styles.useTheme)();
30
+ return /*#__PURE__*/ (0, _jsxruntime.jsx)(_Checkbox.default, {
29
31
  icon: uncheckedIcon,
30
32
  checked: checked,
31
33
  checkedIcon: checkedIcon,
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  export declare const ChipOption: ({ option, curValue, modal, fetchedProps, displayed, setDisplayed }: {
3
3
  option: any;
4
4
  curValue: any;
5
- modal: 'displayed' | 'list';
5
+ modal: "displayed" | "list";
6
6
  fetchedProps: any;
7
7
  displayed: any;
8
8
  setDisplayed: any;
@@ -10,7 +10,7 @@ Object.defineProperty(exports, "DeleteButton", {
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
14
  const _helpers = require("../helpers/helpers");
15
15
  function _interop_require_default(obj) {
16
16
  return obj && obj.__esModule ? obj : {
@@ -22,7 +22,7 @@ const DeleteButton = ({ option, isDisplay, fetchedProps, displayed, setDisplayed
22
22
  const isDisplayButton = isDisplay && (multiple && (displayed === null || displayed === void 0 ? void 0 : displayed.length) > 0 || !multiple && displayed[search_path] === (0, _helpers.getOption)(option, title_path));
23
23
  switch(isDisplayButton){
24
24
  case true:
25
- return /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Box, {
25
+ return /*#__PURE__*/ (0, _jsxruntime.jsx)(_Box.default, {
26
26
  sx: {
27
27
  margin: '0 5px'
28
28
  },
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  export declare const LogoOption: ({ option, curValue, modal, fetchedProps, displayed, setDisplayed }: {
3
3
  option: any;
4
4
  curValue: any;
5
- modal: 'displayed' | 'list';
5
+ modal: "displayed" | "list";
6
6
  fetchedProps: any;
7
7
  displayed: any;
8
8
  setDisplayed: any;
@@ -11,8 +11,9 @@ Object.defineProperty(exports, "LogoOption", {
11
11
  const _jsxruntime = require("react/jsx-runtime");
12
12
  const _react = /*#__PURE__*/ _interop_require_default(require("react"));
13
13
  const _FxIcon = require("../../FxIcon");
14
- const _material = require("@mui/material");
15
- const _styles = require("@mui/styles");
14
+ const _Box = /*#__PURE__*/ _interop_require_default(require("@mui/material/Box"));
15
+ const _Typography = /*#__PURE__*/ _interop_require_default(require("@mui/material/Typography"));
16
+ const _styles = require("@mui/material/styles");
16
17
  const _helpers = require("../helpers/helpers");
17
18
  const _fixefyhooks = require("@fixefy/fixefy-hooks");
18
19
  const _DeleteButton = require("./DeleteButton");
@@ -24,7 +25,7 @@ function _interop_require_default(obj) {
24
25
  }
25
26
  const LogoOption = ({ option, curValue, modal, fetchedProps, displayed, setDisplayed })=>{
26
27
  const theme = (0, _styles.useTheme)();
27
- return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_material.Box, {
28
+ return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_Box.default, {
28
29
  sx: {
29
30
  display: 'flex',
30
31
  justifyContent: 'space-between',
@@ -34,7 +35,7 @@ const LogoOption = ({ option, curValue, modal, fetchedProps, displayed, setDispl
34
35
  cursor: 'pointer'
35
36
  },
36
37
  children: [
37
- /*#__PURE__*/ (0, _jsxruntime.jsxs)(_material.Box, {
38
+ /*#__PURE__*/ (0, _jsxruntime.jsxs)(_Box.default, {
38
39
  sx: {
39
40
  width: '100%',
40
41
  display: 'flex',
@@ -47,14 +48,14 @@ const LogoOption = ({ option, curValue, modal, fetchedProps, displayed, setDispl
47
48
  option: option,
48
49
  fetchedProps: fetchedProps
49
50
  }),
50
- /*#__PURE__*/ (0, _jsxruntime.jsxs)(_material.Box, {
51
+ /*#__PURE__*/ (0, _jsxruntime.jsxs)(_Box.default, {
51
52
  sx: {
52
53
  display: 'flex',
53
54
  justifyContent: 'space-between',
54
55
  width: '100%'
55
56
  },
56
57
  children: [
57
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Typography, {
58
+ /*#__PURE__*/ (0, _jsxruntime.jsx)(_Typography.default, {
58
59
  variant: "subtitle2",
59
60
  color: theme.palette.typography.title,
60
61
  children: (0, _helpers.titleCase)(curValue)
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  export declare const TextOption: ({ option, curValue, modal, fetchedProps, displayed, setDisplayed }: {
3
3
  option: any;
4
4
  curValue: any;
5
- modal: 'displayed' | 'list';
5
+ modal: "displayed" | "list";
6
6
  fetchedProps: any;
7
7
  displayed: any;
8
8
  setDisplayed: any;
@@ -10,8 +10,9 @@ Object.defineProperty(exports, "TextOption", {
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");
14
- const _styles = require("@mui/styles");
13
+ const _Box = /*#__PURE__*/ _interop_require_default(require("@mui/material/Box"));
14
+ const _Typography = /*#__PURE__*/ _interop_require_default(require("@mui/material/Typography"));
15
+ const _styles = require("@mui/material/styles");
15
16
  const _helpers = require("../helpers/helpers");
16
17
  const _DeleteButton = require("./DeleteButton");
17
18
  const _ChosenIcon = require("./ChosenIcon");
@@ -22,7 +23,7 @@ function _interop_require_default(obj) {
22
23
  }
23
24
  const TextOption = ({ option, curValue, modal, fetchedProps, displayed, setDisplayed })=>{
24
25
  const theme = (0, _styles.useTheme)();
25
- return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_material.Box, {
26
+ return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_Box.default, {
26
27
  sx: {
27
28
  display: 'flex',
28
29
  justifyContent: 'space-between',
@@ -32,7 +33,7 @@ const TextOption = ({ option, curValue, modal, fetchedProps, displayed, setDispl
32
33
  cursor: 'pointer'
33
34
  },
34
35
  children: [
35
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Box, {
36
+ /*#__PURE__*/ (0, _jsxruntime.jsx)(_Box.default, {
36
37
  sx: {
37
38
  width: '100%',
38
39
  display: 'flex',
@@ -40,14 +41,14 @@ const TextOption = ({ option, curValue, modal, fetchedProps, displayed, setDispl
40
41
  gap: 1,
41
42
  alignItems: 'center'
42
43
  },
43
- children: /*#__PURE__*/ (0, _jsxruntime.jsxs)(_material.Box, {
44
+ children: /*#__PURE__*/ (0, _jsxruntime.jsxs)(_Box.default, {
44
45
  sx: {
45
46
  display: 'flex',
46
47
  justifyContent: 'space-between',
47
48
  width: '100%'
48
49
  },
49
50
  children: [
50
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Typography, {
51
+ /*#__PURE__*/ (0, _jsxruntime.jsx)(_Typography.default, {
51
52
  variant: "subtitle2",
52
53
  color: theme.palette.typography.title,
53
54
  children: (0, _helpers.titleCase)(curValue)
@@ -196,11 +196,11 @@ const StyledListBox = (0, _styles.styled)('ul')(({ theme })=>{
196
196
  ['& li:hover']: {
197
197
  backgroundColor: '#F6F9FA'
198
198
  },
199
- ["& li[aria-selected='true']"]: {
199
+ ['& li[aria-selected=\'true\']']: {
200
200
  fontWeight: 900,
201
201
  backgroundColor: '#F6F9FA'
202
202
  },
203
- ["& li[data-focus='true']"]: {
203
+ ['& li[data-focus=\'true\']']: {
204
204
  backgroundColor: '#F6F9FA',
205
205
  cursor: 'pointer',
206
206
  ['& svg ']: {
@@ -11,13 +11,13 @@ Object.defineProperty(exports, "stringToColor", {
11
11
  const stringToColor = (string, callBack)=>{
12
12
  let hash = 0;
13
13
  let color = '#';
14
- /* eslint-disable no-bitwise */ for(let i = 0; i < string.length; i += 1){
14
+ for(let i = 0; i < string.length; i += 1){
15
15
  hash = string.charCodeAt(i) + ((hash << 5) - hash);
16
16
  }
17
17
  for(let i = 0; i < 3; i += 1){
18
18
  const value = hash >> i * 8 & 0xff;
19
19
  color += `00${value.toString(16)}`.substr(-2);
20
20
  }
21
- /* eslint-enable no-bitwise */ callBack && callBack(color);
21
+ callBack && callBack(color);
22
22
  return color;
23
23
  };
@@ -31,8 +31,8 @@ _export(exports, {
31
31
  const _jsxruntime = require("react/jsx-runtime");
32
32
  const _react = /*#__PURE__*/ _interop_require_default(require("react"));
33
33
  const _styles = require("@mui/material/styles");
34
- const _material = require("@mui/material");
35
- const _Tooltip = /*#__PURE__*/ _interop_require_default(require("@mui/material/Tooltip"));
34
+ const _Avatar = /*#__PURE__*/ _interop_require_default(require("@mui/material/Avatar"));
35
+ const _Tooltip = /*#__PURE__*/ _interop_require_wildcard(require("@mui/material/Tooltip"));
36
36
  const _EditOutlined = /*#__PURE__*/ _interop_require_default(require("@mui/icons-material/EditOutlined"));
37
37
  function _define_property(obj, key, value) {
38
38
  if (key in obj) {
@@ -52,6 +52,47 @@ function _interop_require_default(obj) {
52
52
  default: obj
53
53
  };
54
54
  }
55
+ function _getRequireWildcardCache(nodeInterop) {
56
+ if (typeof WeakMap !== "function") return null;
57
+ var cacheBabelInterop = new WeakMap();
58
+ var cacheNodeInterop = new WeakMap();
59
+ return (_getRequireWildcardCache = function(nodeInterop) {
60
+ return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
61
+ })(nodeInterop);
62
+ }
63
+ function _interop_require_wildcard(obj, nodeInterop) {
64
+ if (!nodeInterop && obj && obj.__esModule) {
65
+ return obj;
66
+ }
67
+ if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
68
+ return {
69
+ default: obj
70
+ };
71
+ }
72
+ var cache = _getRequireWildcardCache(nodeInterop);
73
+ if (cache && cache.has(obj)) {
74
+ return cache.get(obj);
75
+ }
76
+ var newObj = {
77
+ __proto__: null
78
+ };
79
+ var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
80
+ for(var key in obj){
81
+ if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
82
+ var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
83
+ if (desc && (desc.get || desc.set)) {
84
+ Object.defineProperty(newObj, key, desc);
85
+ } else {
86
+ newObj[key] = obj[key];
87
+ }
88
+ }
89
+ }
90
+ newObj.default = obj;
91
+ if (cache) {
92
+ cache.set(obj, newObj);
93
+ }
94
+ return newObj;
95
+ }
55
96
  function _object_spread(target) {
56
97
  for(var i = 1; i < arguments.length; i++){
57
98
  var source = arguments[i] != null ? arguments[i] : {};
@@ -118,49 +159,49 @@ function _object_without_properties_loose(source, excluded) {
118
159
  }
119
160
  return target;
120
161
  }
121
- const AvatarWrapper = (0, _styles.styled)("div")(()=>({
122
- display: "flex",
123
- alignItems: "center",
124
- justifyContent: "space-between",
125
- flexDirection: "row"
162
+ const AvatarWrapper = (0, _styles.styled)('div')(()=>({
163
+ display: 'flex',
164
+ alignItems: 'center',
165
+ justifyContent: 'space-between',
166
+ flexDirection: 'row'
126
167
  }));
127
- const AvatarGroup = (0, _styles.styled)("div")(()=>({
128
- display: "flex",
129
- alignItems: "center",
130
- justifyContent: "space-between",
131
- flexDirection: "row",
132
- "&>:first-of-type": {
168
+ const AvatarGroup = (0, _styles.styled)('div')(()=>({
169
+ display: 'flex',
170
+ alignItems: 'center',
171
+ justifyContent: 'space-between',
172
+ flexDirection: 'row',
173
+ '&>:first-of-type': {
133
174
  marginLeft: 0
134
175
  }
135
176
  }));
136
- const StyledAvatar = (0, _styles.styled)(_material.Avatar)(({ theme })=>({
177
+ const StyledAvatar = (0, _styles.styled)(_Avatar.default)(({ theme })=>({
137
178
  width: 32,
138
179
  height: 32,
139
180
  border: `2px solid ${theme.palette.common.white}`,
140
- marginLeft: "-8px",
141
- fontFamily: "Open Sans",
142
- fontStyle: "normal",
143
- fontWeight: "normal",
181
+ marginLeft: '-8px',
182
+ fontFamily: 'Open Sans',
183
+ fontStyle: 'normal',
184
+ fontWeight: 'normal',
144
185
  fontSize: 14,
145
- lineHeight: "20px",
146
- letterSpacing: "0.15px"
186
+ lineHeight: '20px',
187
+ letterSpacing: '0.15px'
147
188
  }));
148
- const StyledMoreAvatar = (0, _styles.styled)(_material.Avatar)(({ theme })=>({
189
+ const StyledMoreAvatar = (0, _styles.styled)(_Avatar.default)(({ theme })=>({
149
190
  width: 32,
150
191
  height: 32,
151
192
  border: `2px solid ${theme.palette.common.white}`,
152
- marginLeft: "-8px",
153
- fontFamily: "Open Sans",
154
- fontStyle: "normal",
155
- fontWeight: "normal",
193
+ marginLeft: '-8px',
194
+ fontFamily: 'Open Sans',
195
+ fontStyle: 'normal',
196
+ fontWeight: 'normal',
156
197
  fontSize: 11,
157
- lineHeight: "16px",
158
- letterSpacing: "0.1px",
198
+ lineHeight: '16px',
199
+ letterSpacing: '0.1px',
159
200
  color: theme.palette.greyscale.dark,
160
201
  backgroundColor: theme.palette.greyscale.light
161
202
  }));
162
203
  const EditIcon = (0, _styles.styled)(_EditOutlined.default)(({ theme })=>({
163
- cursor: "pointer",
204
+ cursor: 'pointer',
164
205
  color: theme.palette.primary.light
165
206
  }));
166
207
  const FxTooltip = (0, _styles.styled)((_param)=>{
@@ -175,18 +216,18 @@ const FxTooltip = (0, _styles.styled)((_param)=>{
175
216
  }
176
217
  }));
177
218
  })(({ theme })=>({
178
- [`& .${_material.tooltipClasses.arrow}`]: {
219
+ [`& .${_Tooltip.tooltipClasses.arrow}`]: {
179
220
  color: theme.palette.primary.main
180
221
  },
181
- [`& .${_material.tooltipClasses.tooltip}`]: {
222
+ [`& .${_Tooltip.tooltipClasses.tooltip}`]: {
182
223
  backgroundColor: theme.palette.primary.main,
183
224
  padding: 12,
184
- fontFamily: "Open Sans",
185
- fontStyle: "normal",
186
- fontWeight: "normal",
225
+ fontFamily: 'Open Sans',
226
+ fontStyle: 'normal',
227
+ fontWeight: 'normal',
187
228
  fontSize: 14,
188
- lineHeight: "20px",
189
- textAlign: "center",
190
- letterSpacing: "0.15px"
229
+ lineHeight: '20px',
230
+ textAlign: 'center',
231
+ letterSpacing: '0.15px'
191
232
  }
192
233
  }));
@@ -8,10 +8,15 @@ Object.defineProperty(exports, "ButtonStyled", {
8
8
  return ButtonStyled;
9
9
  }
10
10
  });
11
- const _material = require("@mui/material");
11
+ const _Button = /*#__PURE__*/ _interop_require_default(require("@mui/material/Button"));
12
12
  const _styles = require("@mui/material/styles");
13
- const ButtonStyled = (0, _styles.styled)(_material.Button)(({ theme, variant })=>{
14
- const border = variant === 'text' ? `0px solid #0000` : `1px solid ${theme.palette.primary.main}`;
13
+ function _interop_require_default(obj) {
14
+ return obj && obj.__esModule ? obj : {
15
+ default: obj
16
+ };
17
+ }
18
+ const ButtonStyled = (0, _styles.styled)(_Button.default)(({ theme, variant })=>{
19
+ const border = variant === 'text' ? '0px solid #0000' : `1px solid ${theme.palette.primary.main}`;
15
20
  return {
16
21
  border,
17
22
  minHeight: '40px',
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  export declare const FxButtonModalWithComponent: ({ btnType, btnValue, modalData, onClick, disabled, startIcon, endIcon, sx, iconSize, }: {
3
- btnType?: 'text' | 'icon';
3
+ btnType?: "text" | "icon";
4
4
  btnValue?: string;
5
5
  modalData: any;
6
6
  onClick?: any;