@fixefy/fixefy-ui-components 0.3.74 → 0.3.78

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 (205) hide show
  1. package/dist/FxActionsTray/FxActionsTray.js +17 -12
  2. package/dist/FxActionsTray/styles/actionsTray.style.d.ts +3 -5
  3. package/dist/FxAggregationsBar/helpers/structureReader.js +6 -4
  4. package/dist/FxAsyncDropdown/FxAsyncDropdown.js +18 -10
  5. package/dist/FxAsyncDropdown/components/CheckboxIcon.js +8 -6
  6. package/dist/FxAsyncDropdown/components/ChipOption.d.ts +1 -1
  7. package/dist/FxAsyncDropdown/components/DeleteButton.js +2 -2
  8. package/dist/FxAsyncDropdown/components/LogoOption.d.ts +1 -1
  9. package/dist/FxAsyncDropdown/components/LogoOption.js +7 -6
  10. package/dist/FxAsyncDropdown/components/TextOption.d.ts +1 -1
  11. package/dist/FxAsyncDropdown/components/TextOption.js +7 -6
  12. package/dist/FxAsyncDropdown/styles/dropdown.styles.js +2 -2
  13. package/dist/FxAvatar/helpers/stringToColor.js +2 -2
  14. package/dist/FxAvatar/styles/avatar.styles.js +77 -36
  15. package/dist/FxButton/styles/button.styles.js +8 -3
  16. package/dist/FxButtonModalWithComponent/FxButtonModalWithComponent.d.ts +1 -1
  17. package/dist/FxButtonModalWithComponent/FxButtonModalWithComponent.js +11 -4
  18. package/dist/FxButtonModalWithMenu/FxButtonModalWithMenu.d.ts +1 -1
  19. package/dist/FxButtonModalWithMenu/FxButtonModalWithMenu.js +11 -4
  20. package/dist/FxChip/FxChip.js +2 -2
  21. package/dist/FxChip/styles/chip.styles.js +11 -6
  22. package/dist/FxDatesProgress/FxDatesProgress.js +8 -7
  23. package/dist/FxDatesProgress/styles/progress.styles.js +8 -2
  24. package/dist/FxGeneralModal/FxGeneralModal.js +12 -5
  25. package/dist/FxGridEmptyState/FxGridEmptyState.js +7 -6
  26. package/dist/FxGridError/FxGridError.js +8 -7
  27. package/dist/FxIcon/FxIcon.d.ts +1 -1
  28. package/dist/FxIcon/FxIcon.js +5 -4
  29. package/dist/FxIcon/content/index.d.ts +2 -2
  30. package/dist/FxIcon/content/lazy_icon.d.ts +1 -1
  31. package/dist/FxIcon/content/lazy_icon.js +4 -3
  32. package/dist/FxMenuItemWithIcon/FxMenuItemWithIcon.js +6 -4
  33. package/dist/FxModal/FxModal.js +4 -3
  34. package/dist/FxModal/styles/modal.style.js +12 -5
  35. package/dist/FxNotes/FxNotes.js +2 -2
  36. package/dist/FxNotes/helpers/stringToColor.js +2 -2
  37. package/dist/FxNotes/styles/notes.styles.js +2 -2
  38. package/dist/FxNumberField/FxNumberField.js +1 -2
  39. package/dist/FxNumberField/styles/number_field.styles.d.ts +1 -1
  40. package/dist/FxNumberField/styles/number_field.styles.js +7 -2
  41. package/dist/FxObjStaticDropdown/FxObjStaticDropdown.js +27 -16
  42. package/dist/FxObjStaticDropdown/styles/dropdown.styles.js +2 -2
  43. package/dist/FxPopper/Popper.d.ts +2 -1
  44. package/dist/FxPopper/Popper.js +11 -6
  45. package/dist/FxPopper/PopperWithOutside.d.ts +1 -1
  46. package/dist/FxPopper/PopperWithOutside.js +4 -3
  47. package/dist/FxPopper/styles/popper.styles.js +1 -1
  48. package/dist/FxProgressCircle/styles/progress_circle.styles.js +12 -12
  49. package/dist/FxProgressCounter/ProgressCounter.js +10 -9
  50. package/dist/FxProgressCounter/styles/progress_counter.styles.js +12 -7
  51. package/dist/FxScore/FxScore.js +19 -11
  52. package/dist/FxScore/styles/score.styles.d.ts +1 -1
  53. package/dist/FxScore/styles/score.styles.js +7 -2
  54. package/dist/FxShowMore/FxShowMore.js +2 -2
  55. package/dist/FxShowMore/styles/show_more.styles.js +16 -7
  56. package/dist/FxSlider/FxSlider.js +2 -2
  57. package/dist/FxStatisticsBar/FxStatisticsBar.js +12 -6
  58. package/dist/FxStatisticsBar/styles/statistics.styles.d.ts +1 -1
  59. package/dist/FxStatisticsBar/styles/statistics.styles.js +7 -2
  60. package/dist/FxStatusBar/FxStatusBar.js +7 -2
  61. package/dist/FxStatusBar/styles/statusBar.styles.js +22 -15
  62. package/dist/FxStrStaticDropdown/FxStrStaticDropdown.js +26 -16
  63. package/dist/FxStrStaticDropdown/styles/dropdown.styles.js +2 -2
  64. package/dist/FxStyledButton/FxStyledButton.d.ts +2 -2
  65. package/dist/FxStyledButton/FxStyledButton.js +4 -3
  66. package/dist/FxStyledComponents/index.d.ts +1 -1
  67. package/dist/FxStyledComponents/index.js +32 -23
  68. package/dist/FxSwitch/FxSwitch.d.ts +6 -0
  69. package/dist/{src/FxButton/FxButton.js → FxSwitch/FxSwitch.js} +5 -5
  70. package/dist/FxSwitch/index.d.ts +1 -0
  71. package/dist/{src/FxChip → FxSwitch}/index.js +5 -5
  72. package/dist/FxSwitch/styles/switch.styles.d.ts +1 -0
  73. package/dist/FxSwitch/styles/switch.styles.js +42 -0
  74. package/dist/FxTabs/FxTabs.js +13 -9
  75. package/dist/FxTag/FxTag.js +2 -2
  76. package/dist/FxTag/index.d.ts +1 -1
  77. package/dist/FxTag/styles/tag.styles.js +10 -4
  78. package/dist/FxTextField/FxTextField.d.ts +1 -1
  79. package/dist/FxTextField/FxTextField.js +10 -7
  80. package/dist/FxTodo/FxTodo.js +5 -5
  81. package/dist/FxToggleButtons/FxToggleButtons.js +6 -5
  82. package/dist/FxUserImage/FxUserImage.js +7 -3
  83. package/dist/index.d.ts +1 -1
  84. package/dist/index.js +3 -3
  85. package/package.json +31 -29
  86. package/dist/FxActionButton/FxActionButton.d.ts +0 -7
  87. package/dist/FxActionButton/FxActionButton.js +0 -82
  88. package/dist/FxActionButton/index.d.ts +0 -1
  89. package/dist/FxActionButton/index.js +0 -11
  90. package/dist/FxActionsTray/styles/actions_tray.styles.d.ts +0 -8
  91. package/dist/FxActionsTray/styles/actions_tray.styles.js +0 -159
  92. package/dist/FxAsyncDropdown/useDropdownStore.d.ts +0 -2
  93. package/dist/FxAsyncDropdown/useDropdownStore.js +0 -57
  94. package/dist/FxFilterActionButton/FxFilterActionButton.d.ts +0 -7
  95. package/dist/FxFilterActionButton/FxFilterActionButton.js +0 -82
  96. package/dist/FxFilterActionButton/index.d.ts +0 -1
  97. package/dist/FxFilterActionButton/index.js +0 -11
  98. package/dist/FxFilterSortButton/FxFilterSortButton.d.ts +0 -7
  99. package/dist/FxFilterSortButton/FxFilterSortButton.js +0 -82
  100. package/dist/FxFilterSortButton/index.d.ts +0 -1
  101. package/dist/FxFilterSortButton/index.js +0 -11
  102. package/dist/FxModalWithButton/FxModalWithButton.d.ts +0 -10
  103. package/dist/FxModalWithButton/FxModalWithButton.js +0 -131
  104. package/dist/FxModalWithButton/index.d.ts +0 -1
  105. package/dist/FxModalWithButton/index.js +0 -11
  106. package/dist/FxModalWithComponent/FxModalWithComponent.d.ts +0 -11
  107. package/dist/FxModalWithComponent/FxModalWithComponent.js +0 -102
  108. package/dist/FxModalWithComponent/index.d.ts +0 -1
  109. package/dist/FxModalWithComponent/index.js +0 -11
  110. package/dist/FxModalWithMenu/FxModalWithMenu.d.ts +0 -14
  111. package/dist/FxModalWithMenu/FxModalWithMenu.js +0 -114
  112. package/dist/FxModalWithMenu/index.d.ts +0 -1
  113. package/dist/FxModalWithMenu/index.js +0 -11
  114. package/dist/FxPopper/styles/makeStyles.d.ts +0 -16
  115. package/dist/FxPopper/styles/makeStyles.js +0 -23
  116. package/dist/FxStaticDropdown/FxStaticDropdown.d.ts +0 -24
  117. package/dist/FxStaticDropdown/FxStaticDropdown.js +0 -368
  118. package/dist/FxStaticDropdown/helpers/helpers.d.ts +0 -2
  119. package/dist/FxStaticDropdown/helpers/helpers.js +0 -22
  120. package/dist/FxStaticDropdown/index.d.ts +0 -1
  121. package/dist/FxStaticDropdown/index.js +0 -11
  122. package/dist/FxStaticDropdown/styles/dropdown.styles.d.ts +0 -3
  123. package/dist/FxStaticDropdown/styles/dropdown.styles.js +0 -190
  124. package/dist/FxWizard/FxWizard/FxWizard.d.ts +0 -6
  125. package/dist/FxWizard/FxWizard/FxWizard.js +0 -42
  126. package/dist/FxWizard/FxWizard/index.d.ts +0 -2
  127. package/dist/FxWizard/FxWizard/index.js +0 -19
  128. package/dist/FxWizard/FxWizard/utils/envHelpers.d.ts +0 -1
  129. package/dist/FxWizard/FxWizard/utils/envHelpers.js +0 -35
  130. package/dist/FxWizard/FxWizard/utils/index.d.ts +0 -1
  131. package/dist/FxWizard/FxWizard/utils/index.js +0 -18
  132. package/dist/FxWizard/pages/wizard/[step].d.ts +0 -9
  133. package/dist/FxWizard/pages/wizard/[step].js +0 -112
  134. package/dist/FxWizard/pages/wizard/index.d.ts +0 -1
  135. package/dist/FxWizard/pages/wizard/index.js +0 -18
  136. package/dist/src/FxActionsTray/FxActionsTray.js +0 -351
  137. package/dist/src/FxActionsTray/index.js +0 -19
  138. package/dist/src/FxActionsTray/styles/actions_tray.styles.js +0 -159
  139. package/dist/src/FxAggregationsBar/FxAggregations.js +0 -41
  140. package/dist/src/FxAggregationsBar/helpers/structureReader.js +0 -78
  141. package/dist/src/FxAggregationsBar/index.js +0 -22
  142. package/dist/src/FxAggregationsBar/operations/query.js +0 -73
  143. package/dist/src/FxAsyncDropdown/FxAsyncDropdown.js +0 -628
  144. package/dist/src/FxAsyncDropdown/helpers/helpers.js +0 -161
  145. package/dist/src/FxAsyncDropdown/index.js +0 -25
  146. package/dist/src/FxAsyncDropdown/styles/dropdown.styles.js +0 -228
  147. package/dist/src/FxAvatar/FxAvatar.js +0 -145
  148. package/dist/src/FxAvatar/helpers/stringToColor.js +0 -23
  149. package/dist/src/FxAvatar/index.js +0 -22
  150. package/dist/src/FxAvatar/styles/avatar.styles.js +0 -192
  151. package/dist/src/FxButton/index.js +0 -19
  152. package/dist/src/FxButton/styles/button.styles.js +0 -23
  153. package/dist/src/FxChip/FxChip.js +0 -45
  154. package/dist/src/FxChip/styles/chip.styles.js +0 -61
  155. package/dist/src/FxFilterSortButton/FxFilterSortButton.js +0 -82
  156. package/dist/src/FxFilterSortButton/index.js +0 -11
  157. package/dist/src/FxIcon/FxIcon.js +0 -107
  158. package/dist/src/FxIcon/content/dynamic_icon.js +0 -20
  159. package/dist/src/FxIcon/content/index.js +0 -20
  160. package/dist/src/FxIcon/content/lazy_icon.js +0 -137
  161. package/dist/src/FxIcon/index.js +0 -11
  162. package/dist/src/FxModal/FxModal.js +0 -170
  163. package/dist/src/FxModal/index.js +0 -19
  164. package/dist/src/FxModal/styles/modal.style.js +0 -59
  165. package/dist/src/FxModalWithButton/FxModalWithButton.js +0 -94
  166. package/dist/src/FxModalWithButton/index.js +0 -11
  167. package/dist/src/FxNotes/FxNotes.js +0 -216
  168. package/dist/src/FxNotes/helpers/stringToColor.js +0 -26
  169. package/dist/src/FxNotes/index.js +0 -22
  170. package/dist/src/FxNotes/operations/queries.js +0 -35
  171. package/dist/src/FxNotes/styles/notes.styles.js +0 -168
  172. package/dist/src/FxNumberField/FxNumberField.js +0 -109
  173. package/dist/src/FxNumberField/index.js +0 -19
  174. package/dist/src/FxNumberField/styles/number_field.styles.js +0 -94
  175. package/dist/src/FxProgressCircle/FxProgressCircle.js +0 -65
  176. package/dist/src/FxProgressCircle/index.js +0 -19
  177. package/dist/src/FxProgressCircle/styles/progress_circle.styles.js +0 -106
  178. package/dist/src/FxProgressCounter/ProgressCounter.js +0 -168
  179. package/dist/src/FxProgressCounter/index.js +0 -19
  180. package/dist/src/FxProgressCounter/styles/progress_counter.styles.js +0 -61
  181. package/dist/src/FxScore/FxScore.js +0 -207
  182. package/dist/src/FxScore/index.js +0 -19
  183. package/dist/src/FxScore/styles/score.styles.js +0 -97
  184. package/dist/src/FxShowMore/FxShowMore.js +0 -80
  185. package/dist/src/FxShowMore/index.js +0 -19
  186. package/dist/src/FxShowMore/styles/show_more.styles.js +0 -134
  187. package/dist/src/FxSlider/FxSlider.js +0 -49
  188. package/dist/src/FxSlider/index.js +0 -19
  189. package/dist/src/FxStatisticsBar/FxStatisticsBar.js +0 -191
  190. package/dist/src/FxStatisticsBar/index.js +0 -19
  191. package/dist/src/FxStatisticsBar/styles/statistics.styles.js +0 -98
  192. package/dist/src/FxStatusBar/FxStatusBar.js +0 -143
  193. package/dist/src/FxStatusBar/helpers/constants.js +0 -22
  194. package/dist/src/FxStatusBar/index.js +0 -22
  195. package/dist/src/FxStatusBar/styles/statusBar.styles.js +0 -131
  196. package/dist/src/FxStyledComponents/index.js +0 -310
  197. package/dist/src/FxTag/FxTag.js +0 -41
  198. package/dist/src/FxTag/index.js +0 -19
  199. package/dist/src/FxTag/styles/tag.styles.js +0 -100
  200. package/dist/src/FxTextField/FxTextField.js +0 -208
  201. package/dist/src/FxTextField/index.js +0 -19
  202. package/dist/src/FxTodo/FxTodo.js +0 -95
  203. package/dist/src/FxTodo/index.js +0 -22
  204. package/dist/src/FxTodo/styles/todo.styles.js +0 -183
  205. package/dist/src/index.js +0 -215
@@ -1,159 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", {
3
- value: true
4
- });
5
- function _export(target, all) {
6
- for(var name in all)Object.defineProperty(target, name, {
7
- enumerable: true,
8
- get: all[name]
9
- });
10
- }
11
- _export(exports, {
12
- ActionBtn: function() {
13
- return ActionBtn;
14
- },
15
- ActionTitle: function() {
16
- return ActionTitle;
17
- },
18
- ChargesCount: function() {
19
- return ChargesCount;
20
- },
21
- ChargesTitle: function() {
22
- return ChargesTitle;
23
- },
24
- Close: function() {
25
- return Close;
26
- },
27
- Container: function() {
28
- return Container;
29
- },
30
- Divider: function() {
31
- return Divider;
32
- },
33
- TitleWrapper: function() {
34
- return TitleWrapper;
35
- }
36
- });
37
- const _FxButton = require("../../FxButton");
38
- const _material = require("@mui/material");
39
- const _styles = require("@mui/material/styles");
40
- function _define_property(obj, key, value) {
41
- if (key in obj) {
42
- Object.defineProperty(obj, key, {
43
- value: value,
44
- enumerable: true,
45
- configurable: true,
46
- writable: true
47
- });
48
- } else {
49
- obj[key] = value;
50
- }
51
- return obj;
52
- }
53
- function _object_spread(target) {
54
- for(var i = 1; i < arguments.length; i++){
55
- var source = arguments[i] != null ? arguments[i] : {};
56
- var ownKeys = Object.keys(source);
57
- if (typeof Object.getOwnPropertySymbols === "function") {
58
- ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
59
- return Object.getOwnPropertyDescriptor(source, sym).enumerable;
60
- }));
61
- }
62
- ownKeys.forEach(function(key) {
63
- _define_property(target, key, source[key]);
64
- });
65
- }
66
- return target;
67
- }
68
- function ownKeys(object, enumerableOnly) {
69
- var keys = Object.keys(object);
70
- if (Object.getOwnPropertySymbols) {
71
- var symbols = Object.getOwnPropertySymbols(object);
72
- if (enumerableOnly) {
73
- symbols = symbols.filter(function(sym) {
74
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
75
- });
76
- }
77
- keys.push.apply(keys, symbols);
78
- }
79
- return keys;
80
- }
81
- function _object_spread_props(target, source) {
82
- source = source != null ? source : {};
83
- if (Object.getOwnPropertyDescriptors) {
84
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
85
- } else {
86
- ownKeys(Object(source)).forEach(function(key) {
87
- Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
88
- });
89
- }
90
- return target;
91
- }
92
- const filterPrimary = 'invert(46%) sepia(48%) saturate(297%) hue-rotate(145deg) brightness(97%) contrast(90%)';
93
- const Container = (0, _styles.styled)('div')(({ theme })=>({
94
- display: 'flex',
95
- alignItems: 'center',
96
- justifyContent: 'space-between',
97
- background: theme.palette.common.white,
98
- border: '1px solid #C6DDE2',
99
- boxShadow: '0px 0px 10px rgba(86, 135, 147, 0.2)',
100
- borderRadius: 8,
101
- padding: '16px 24px',
102
- height: 38,
103
- width: 'fit-content',
104
- margin: 4
105
- }));
106
- const ChargesCount = (0, _styles.styled)(_material.Typography)(({ theme })=>_object_spread_props(_object_spread({}, theme.typography.table), {
107
- color: theme.palette.typography.title,
108
- fontWeight: 700,
109
- marginRight: 4
110
- }));
111
- const ChargesTitle = (0, _styles.styled)(_material.Typography)(({ theme })=>_object_spread_props(_object_spread({}, theme.typography.table), {
112
- color: theme.palette.typography.title
113
- }));
114
- const Close = (0, _styles.styled)(_material.Typography)(({ theme })=>_object_spread_props(_object_spread({}, theme.typography.body1), {
115
- color: theme.palette.primary['500'],
116
- textTransform: 'uppercase',
117
- fontWeight: 600,
118
- letterSpacing: '0.5px',
119
- cursor: 'pointer'
120
- }));
121
- const TitleWrapper = (0, _styles.styled)('div')(({})=>({
122
- display: 'flex',
123
- alignItems: 'center',
124
- justifyContent: 'center'
125
- }));
126
- const Divider = (0, _styles.styled)('div')(({ theme })=>({
127
- width: 1,
128
- height: '100%',
129
- background: theme.palette.greyscale.contrastText,
130
- marginRight: 24,
131
- marginLeft: 24
132
- }));
133
- const ActionBtn = (0, _styles.styled)(_FxButton.FxButton)(({ theme, type })=>({
134
- height: 40,
135
- maxHeight: 40,
136
- borderRadius: 100,
137
- padding: '8px 16px',
138
- color: type ? theme.palette.common.white : theme.palette.primary['500'],
139
- borderColor: type ? theme.palette.score[type] : theme.palette.primary['500'],
140
- background: type ? theme.palette.score[type] : theme.palette.common.white,
141
- marginRight: 8,
142
- ['& img']: {
143
- filter: type ? 'none' : filterPrimary
144
- },
145
- ['&:hover']: {
146
- background: type ? theme.palette.score[type] : theme.palette.common.white,
147
- color: type ? theme.palette.common.white : theme.palette.primary['500'],
148
- borderColor: type ? theme.palette.score[type] : theme.palette.primary['500']
149
- }
150
- }));
151
- const ActionTitle = (0, _styles.styled)('span')(({ theme })=>_object_spread_props(_object_spread({}, theme.typography.body1), {
152
- color: 'inherit',
153
- textTransform: 'uppercase',
154
- fontWeight: 600,
155
- letterSpacing: '0.5px',
156
- cursor: 'pointer',
157
- marginLeft: 4,
158
- marginTop: 2
159
- }));
@@ -1,41 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", {
3
- value: true
4
- });
5
- Object.defineProperty(exports, "FxAggregationsBar", {
6
- enumerable: true,
7
- get: function() {
8
- return FxAggregationsBar;
9
- }
10
- });
11
- const _jsxruntime = require("react/jsx-runtime");
12
- const _react = /*#__PURE__*/ _interop_require_default(require("react"));
13
- const _Stack = /*#__PURE__*/ _interop_require_default(require("@mui/material/Stack"));
14
- const _structureReader = require("./helpers/structureReader");
15
- function _interop_require_default(obj) {
16
- return obj && obj.__esModule ? obj : {
17
- default: obj
18
- };
19
- }
20
- const FxAggregationsBar = (props)=>{
21
- const { structure, minWidth, mb, filter, initialValues } = props;
22
- const { children, extended } = structure;
23
- const { variables } = extended;
24
- const { collapsed } = variables;
25
- return /*#__PURE__*/ (0, _jsxruntime.jsx)(_Stack.default, {
26
- direction: "row",
27
- spacing: 1.5,
28
- sx: {
29
- mb: mb ? mb : 0,
30
- ['& div']: {
31
- minWidth: minWidth
32
- },
33
- ['& > span']: {
34
- minWidth: minWidth
35
- }
36
- },
37
- children: children.map((child)=>{
38
- return (0, _structureReader.structureReader)(child, filter, collapsed, initialValues);
39
- })
40
- });
41
- };
@@ -1,78 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", {
3
- value: true
4
- });
5
- Object.defineProperty(exports, "structureReader", {
6
- enumerable: true,
7
- get: function() {
8
- return structureReader;
9
- }
10
- });
11
- const _jsxruntime = require("react/jsx-runtime");
12
- const _react = /*#__PURE__*/ _interop_require_default(require("react"));
13
- const _material = require("@mui/material");
14
- const _FxScore = require("../../FxScore");
15
- const _FxStatisticsBar = require("../../FxStatisticsBar");
16
- const _FxProgressCounter = require("../../FxProgressCounter");
17
- function _interop_require_default(obj) {
18
- return obj && obj.__esModule ? obj : {
19
- default: obj
20
- };
21
- }
22
- const structureReader = (structure, filter, collapsed, initialValues)=>{
23
- const { extended, type } = structure;
24
- switch(type){
25
- case 'aggregations_primary_container':
26
- return structure.children.map((child, index)=>{
27
- var _child_input_type, _child_input_type1, _extended_variables;
28
- return ((_child_input_type = child.input_type) === null || _child_input_type === void 0 ? void 0 : _child_input_type.value) === 'percentage' ? /*#__PURE__*/ (0, _jsxruntime.jsx)(_FxScore.FxScore, {
29
- structure: child,
30
- filter: filter,
31
- value: initialValues === null || initialValues === void 0 ? void 0 : initialValues.score
32
- }, index) : ((_child_input_type1 = child.input_type) === null || _child_input_type1 === void 0 ? void 0 : _child_input_type1.value) === 'progress' ? /*#__PURE__*/ (0, _jsxruntime.jsx)(_FxProgressCounter.FxProgressCounter, {
33
- structure: child,
34
- filter: filter,
35
- values: initialValues
36
- }, index) : /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Box, {
37
- sx: {
38
- display: 'flex',
39
- justifyContent: 'center',
40
- alignItems: 'center',
41
- width: 'fit-content',
42
- padding: 2,
43
- borderRadius: 2,
44
- backgroundColor: (extended === null || extended === void 0 ? void 0 : (_extended_variables = extended.variables) === null || _extended_variables === void 0 ? void 0 : _extended_variables.bg) || '#FFFFFF'
45
- },
46
- children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_FxStatisticsBar.FxStatisticsBar, {
47
- structure: child,
48
- filter: filter,
49
- collapsed: collapsed,
50
- value: initialValues ? initialValues[child.extended.object_path] : null
51
- }, index)
52
- });
53
- });
54
- case 'aggregations_secondary_container':
55
- var _extended_variables;
56
- return /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Stack, {
57
- direction: "row",
58
- divider: /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Divider, {
59
- orientation: "vertical",
60
- flexItem: true
61
- }),
62
- spacing: 2,
63
- sx: {
64
- backgroundColor: (extended === null || extended === void 0 ? void 0 : (_extended_variables = extended.variables) === null || _extended_variables === void 0 ? void 0 : _extended_variables.bg) || '#FFFFFF',
65
- borderRadius: '8px',
66
- padding: '24px 16px'
67
- },
68
- children: structure.children.map((child, index)=>{
69
- return /*#__PURE__*/ (0, _jsxruntime.jsx)(_FxStatisticsBar.FxStatisticsBar, {
70
- structure: child,
71
- filter: filter,
72
- collapsed: collapsed,
73
- value: initialValues ? initialValues[child.extended.object_path] : null
74
- }, index);
75
- })
76
- });
77
- }
78
- };
@@ -1,22 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", {
3
- value: true
4
- });
5
- function _export(target, all) {
6
- for(var name in all)Object.defineProperty(target, name, {
7
- enumerable: true,
8
- get: all[name]
9
- });
10
- }
11
- _export(exports, {
12
- AggreationsBarPropsType: function() {
13
- return _FxAggregations.AggreationsBarPropsType;
14
- },
15
- AggregationsDataPropsType: function() {
16
- return _FxAggregations.AggregationsDataPropsType;
17
- },
18
- FxAggregationsBar: function() {
19
- return _FxAggregations.FxAggregationsBar;
20
- }
21
- });
22
- const _FxAggregations = require("./FxAggregations");
@@ -1,73 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", {
3
- value: true
4
- });
5
- Object.defineProperty(exports, "STRUCTURES", {
6
- enumerable: true,
7
- get: function() {
8
- return STRUCTURES;
9
- }
10
- });
11
- const _graphqltag = require("graphql-tag");
12
- const STRUCTURES = (0, _graphqltag.gql)`
13
- query STRUCTURES {
14
- structure(where: { name: "aggregations_invoice" }) {
15
- _id
16
- bundle_name
17
- name
18
- title
19
- type
20
- input_type {
21
- name
22
- value
23
- }
24
- readable_id
25
- extended {
26
- format
27
- gql_operation
28
- title_path
29
- object_path
30
- filter
31
- variables
32
- }
33
- children(sort: { index: 1 }) {
34
- _id
35
- name
36
- title
37
- type
38
- input_type {
39
- name
40
- value
41
- }
42
- readable_id
43
- extended {
44
- format
45
- gql_operation
46
- title_path
47
- object_path
48
- filter
49
- variables
50
- }
51
- children(sort: { index: 1 }) {
52
- _id
53
- name
54
- title
55
- type
56
- input_type {
57
- name
58
- value
59
- }
60
- readable_id
61
- extended {
62
- format
63
- gql_operation
64
- title_path
65
- object_path
66
- filter
67
- variables
68
- }
69
- }
70
- }
71
- }
72
- }
73
- `;