@fixefy/fixefy-ui-components 0.3.30 → 0.3.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/FxCheckbox/FxCheckbox.d.ts +9 -0
- package/dist/FxCheckbox/FxCheckbox.js +76 -0
- package/dist/FxCheckbox/index.d.ts +1 -0
- package/dist/{src/FxIcon → FxCheckbox}/index.js +3 -3
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4 -0
- package/package.json +1 -1
- package/dist/FxActionButton/FxActionButton.d.ts +0 -7
- package/dist/FxActionButton/FxActionButton.js +0 -82
- package/dist/FxActionButton/index.d.ts +0 -1
- package/dist/FxActionButton/index.js +0 -11
- package/dist/FxActionsTray/styles/actions_tray.styles.d.ts +0 -8
- package/dist/FxActionsTray/styles/actions_tray.styles.js +0 -159
- package/dist/FxFilterActionButton/FxFilterActionButton.d.ts +0 -7
- package/dist/FxFilterActionButton/FxFilterActionButton.js +0 -82
- package/dist/FxFilterActionButton/index.d.ts +0 -1
- package/dist/FxFilterActionButton/index.js +0 -11
- package/dist/FxFilterSortButton/FxFilterSortButton.d.ts +0 -7
- package/dist/FxFilterSortButton/FxFilterSortButton.js +0 -82
- package/dist/FxFilterSortButton/index.d.ts +0 -1
- package/dist/FxFilterSortButton/index.js +0 -11
- package/dist/FxModalWithButton/FxModalWithButton.d.ts +0 -10
- package/dist/FxModalWithButton/FxModalWithButton.js +0 -131
- package/dist/FxModalWithButton/index.d.ts +0 -1
- package/dist/FxModalWithButton/index.js +0 -11
- package/dist/FxModalWithComponent/FxModalWithComponent.d.ts +0 -11
- package/dist/FxModalWithComponent/FxModalWithComponent.js +0 -102
- package/dist/FxModalWithComponent/index.d.ts +0 -1
- package/dist/FxModalWithComponent/index.js +0 -11
- package/dist/FxModalWithMenu/FxModalWithMenu.d.ts +0 -14
- package/dist/FxModalWithMenu/FxModalWithMenu.js +0 -114
- package/dist/FxModalWithMenu/index.d.ts +0 -1
- package/dist/FxModalWithMenu/index.js +0 -11
- package/dist/FxPopper/styles/makeStyles.d.ts +0 -16
- package/dist/FxPopper/styles/makeStyles.js +0 -23
- package/dist/FxWizard/FxWizard/FxWizard.d.ts +0 -6
- package/dist/FxWizard/FxWizard/FxWizard.js +0 -42
- package/dist/FxWizard/FxWizard/index.d.ts +0 -2
- package/dist/FxWizard/FxWizard/index.js +0 -19
- package/dist/FxWizard/FxWizard/utils/envHelpers.d.ts +0 -1
- package/dist/FxWizard/FxWizard/utils/envHelpers.js +0 -35
- package/dist/FxWizard/FxWizard/utils/index.d.ts +0 -1
- package/dist/FxWizard/FxWizard/utils/index.js +0 -18
- package/dist/FxWizard/pages/wizard/[step].d.ts +0 -9
- package/dist/FxWizard/pages/wizard/[step].js +0 -112
- package/dist/FxWizard/pages/wizard/index.d.ts +0 -1
- package/dist/FxWizard/pages/wizard/index.js +0 -18
- package/dist/src/FxActionsTray/FxActionsTray.js +0 -351
- package/dist/src/FxActionsTray/index.js +0 -19
- package/dist/src/FxActionsTray/styles/actions_tray.styles.js +0 -159
- package/dist/src/FxAggregationsBar/FxAggregations.js +0 -41
- package/dist/src/FxAggregationsBar/helpers/structureReader.js +0 -78
- package/dist/src/FxAggregationsBar/index.js +0 -22
- package/dist/src/FxAggregationsBar/operations/query.js +0 -73
- package/dist/src/FxAsyncDropdown/FxAsyncDropdown.js +0 -628
- package/dist/src/FxAsyncDropdown/helpers/helpers.js +0 -161
- package/dist/src/FxAsyncDropdown/index.js +0 -25
- package/dist/src/FxAsyncDropdown/styles/dropdown.styles.js +0 -228
- package/dist/src/FxAvatar/FxAvatar.js +0 -145
- package/dist/src/FxAvatar/helpers/stringToColor.js +0 -23
- package/dist/src/FxAvatar/index.js +0 -22
- package/dist/src/FxAvatar/styles/avatar.styles.js +0 -192
- package/dist/src/FxButton/FxButton.js +0 -106
- package/dist/src/FxButton/index.js +0 -19
- package/dist/src/FxButton/styles/button.styles.js +0 -23
- package/dist/src/FxChip/FxChip.js +0 -45
- package/dist/src/FxChip/index.js +0 -19
- package/dist/src/FxChip/styles/chip.styles.js +0 -61
- package/dist/src/FxFilterSortButton/FxFilterSortButton.js +0 -82
- package/dist/src/FxFilterSortButton/index.js +0 -11
- package/dist/src/FxIcon/FxIcon.js +0 -107
- package/dist/src/FxIcon/content/dynamic_icon.js +0 -20
- package/dist/src/FxIcon/content/index.js +0 -20
- package/dist/src/FxIcon/content/lazy_icon.js +0 -137
- package/dist/src/FxModal/FxModal.js +0 -170
- package/dist/src/FxModal/index.js +0 -19
- package/dist/src/FxModal/styles/modal.style.js +0 -59
- package/dist/src/FxModalWithButton/FxModalWithButton.js +0 -94
- package/dist/src/FxModalWithButton/index.js +0 -11
- package/dist/src/FxNotes/FxNotes.js +0 -216
- package/dist/src/FxNotes/helpers/stringToColor.js +0 -26
- package/dist/src/FxNotes/index.js +0 -22
- package/dist/src/FxNotes/operations/queries.js +0 -35
- package/dist/src/FxNotes/styles/notes.styles.js +0 -168
- package/dist/src/FxNumberField/FxNumberField.js +0 -109
- package/dist/src/FxNumberField/index.js +0 -19
- package/dist/src/FxNumberField/styles/number_field.styles.js +0 -94
- package/dist/src/FxProgressCircle/FxProgressCircle.js +0 -65
- package/dist/src/FxProgressCircle/index.js +0 -19
- package/dist/src/FxProgressCircle/styles/progress_circle.styles.js +0 -106
- package/dist/src/FxProgressCounter/ProgressCounter.js +0 -168
- package/dist/src/FxProgressCounter/index.js +0 -19
- package/dist/src/FxProgressCounter/styles/progress_counter.styles.js +0 -61
- package/dist/src/FxScore/FxScore.js +0 -207
- package/dist/src/FxScore/index.js +0 -19
- package/dist/src/FxScore/styles/score.styles.js +0 -97
- package/dist/src/FxShowMore/FxShowMore.js +0 -80
- package/dist/src/FxShowMore/index.js +0 -19
- package/dist/src/FxShowMore/styles/show_more.styles.js +0 -134
- package/dist/src/FxSlider/FxSlider.js +0 -49
- package/dist/src/FxSlider/index.js +0 -19
- package/dist/src/FxStatisticsBar/FxStatisticsBar.js +0 -191
- package/dist/src/FxStatisticsBar/index.js +0 -19
- package/dist/src/FxStatisticsBar/styles/statistics.styles.js +0 -98
- package/dist/src/FxStatusBar/FxStatusBar.js +0 -143
- package/dist/src/FxStatusBar/helpers/constants.js +0 -22
- package/dist/src/FxStatusBar/index.js +0 -22
- package/dist/src/FxStatusBar/styles/statusBar.styles.js +0 -131
- package/dist/src/FxStyledComponents/index.js +0 -310
- package/dist/src/FxTag/FxTag.js +0 -41
- package/dist/src/FxTag/index.js +0 -19
- package/dist/src/FxTag/styles/tag.styles.js +0 -100
- package/dist/src/FxTextField/FxTextField.js +0 -208
- package/dist/src/FxTextField/index.js +0 -19
- package/dist/src/FxTodo/FxTodo.js +0 -95
- package/dist/src/FxTodo/index.js +0 -22
- package/dist/src/FxTodo/styles/todo.styles.js +0 -183
- package/dist/src/index.js +0 -215
|
@@ -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
|
-
`;
|