@fixefy/fixefy-ui-components 0.3.31 → 0.3.34
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/FxActionButton/FxActionButton.d.ts +7 -0
- package/dist/FxActionButton/FxActionButton.js +82 -0
- package/dist/FxActionButton/index.d.ts +1 -0
- package/dist/FxActionButton/index.js +11 -0
- package/dist/FxActionsTray/styles/actions_tray.styles.d.ts +8 -0
- package/dist/FxActionsTray/styles/actions_tray.styles.js +159 -0
- package/dist/FxButtonModalWithComponent/FxButtonModalWithComponent.d.ts +3 -2
- package/dist/FxButtonModalWithComponent/FxButtonModalWithComponent.js +3 -2
- package/dist/FxFilterActionButton/FxFilterActionButton.d.ts +7 -0
- package/dist/FxFilterActionButton/FxFilterActionButton.js +82 -0
- package/dist/FxFilterActionButton/index.d.ts +1 -0
- package/dist/FxFilterActionButton/index.js +11 -0
- package/dist/FxFilterSortButton/FxFilterSortButton.d.ts +7 -0
- package/dist/FxFilterSortButton/FxFilterSortButton.js +82 -0
- package/dist/FxFilterSortButton/index.d.ts +1 -0
- package/dist/FxFilterSortButton/index.js +11 -0
- package/dist/FxModalWithButton/FxModalWithButton.d.ts +10 -0
- package/dist/FxModalWithButton/FxModalWithButton.js +131 -0
- package/dist/FxModalWithButton/index.d.ts +1 -0
- package/dist/FxModalWithButton/index.js +11 -0
- package/dist/FxModalWithComponent/FxModalWithComponent.d.ts +11 -0
- package/dist/FxModalWithComponent/FxModalWithComponent.js +102 -0
- package/dist/FxModalWithComponent/index.d.ts +1 -0
- package/dist/FxModalWithComponent/index.js +11 -0
- package/dist/FxModalWithMenu/FxModalWithMenu.d.ts +14 -0
- package/dist/FxModalWithMenu/FxModalWithMenu.js +114 -0
- package/dist/FxModalWithMenu/index.d.ts +1 -0
- package/dist/FxModalWithMenu/index.js +11 -0
- package/dist/FxPopper/styles/makeStyles.d.ts +16 -0
- package/dist/FxPopper/styles/makeStyles.js +23 -0
- package/dist/FxWizard/FxWizard/FxWizard.d.ts +6 -0
- package/dist/FxWizard/FxWizard/FxWizard.js +42 -0
- package/dist/FxWizard/FxWizard/index.d.ts +2 -0
- package/dist/FxWizard/FxWizard/index.js +19 -0
- package/dist/FxWizard/FxWizard/utils/envHelpers.d.ts +1 -0
- package/dist/FxWizard/FxWizard/utils/envHelpers.js +35 -0
- package/dist/FxWizard/FxWizard/utils/index.d.ts +1 -0
- package/dist/FxWizard/FxWizard/utils/index.js +18 -0
- package/dist/FxWizard/pages/wizard/[step].d.ts +9 -0
- package/dist/FxWizard/pages/wizard/[step].js +112 -0
- package/dist/FxWizard/pages/wizard/index.d.ts +1 -0
- package/dist/FxWizard/pages/wizard/index.js +18 -0
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -4
- package/dist/src/FxActionsTray/FxActionsTray.js +351 -0
- package/dist/src/FxActionsTray/index.js +19 -0
- package/dist/src/FxActionsTray/styles/actions_tray.styles.js +159 -0
- package/dist/src/FxAggregationsBar/FxAggregations.js +41 -0
- package/dist/src/FxAggregationsBar/helpers/structureReader.js +78 -0
- package/dist/src/FxAggregationsBar/index.js +22 -0
- package/dist/src/FxAggregationsBar/operations/query.js +73 -0
- package/dist/src/FxAsyncDropdown/FxAsyncDropdown.js +628 -0
- package/dist/src/FxAsyncDropdown/helpers/helpers.js +161 -0
- package/dist/src/FxAsyncDropdown/index.js +25 -0
- package/dist/src/FxAsyncDropdown/styles/dropdown.styles.js +228 -0
- package/dist/src/FxAvatar/FxAvatar.js +145 -0
- package/dist/src/FxAvatar/helpers/stringToColor.js +23 -0
- package/dist/src/FxAvatar/index.js +22 -0
- package/dist/src/FxAvatar/styles/avatar.styles.js +192 -0
- package/dist/src/FxButton/FxButton.js +106 -0
- package/dist/src/FxButton/index.js +19 -0
- package/dist/src/FxButton/styles/button.styles.js +23 -0
- package/dist/src/FxChip/FxChip.js +45 -0
- package/dist/src/FxChip/index.js +19 -0
- package/dist/src/FxChip/styles/chip.styles.js +61 -0
- package/dist/src/FxFilterSortButton/FxFilterSortButton.js +82 -0
- package/dist/src/FxFilterSortButton/index.js +11 -0
- package/dist/src/FxIcon/FxIcon.js +107 -0
- package/dist/src/FxIcon/content/dynamic_icon.js +20 -0
- package/dist/src/FxIcon/content/index.js +20 -0
- package/dist/src/FxIcon/content/lazy_icon.js +137 -0
- package/dist/{FxCheckbox → src/FxIcon}/index.js +3 -3
- package/dist/src/FxModal/FxModal.js +170 -0
- package/dist/src/FxModal/index.js +19 -0
- package/dist/src/FxModal/styles/modal.style.js +59 -0
- package/dist/src/FxModalWithButton/FxModalWithButton.js +94 -0
- package/dist/src/FxModalWithButton/index.js +11 -0
- package/dist/src/FxNotes/FxNotes.js +216 -0
- package/dist/src/FxNotes/helpers/stringToColor.js +26 -0
- package/dist/src/FxNotes/index.js +22 -0
- package/dist/src/FxNotes/operations/queries.js +35 -0
- package/dist/src/FxNotes/styles/notes.styles.js +168 -0
- package/dist/src/FxNumberField/FxNumberField.js +109 -0
- package/dist/src/FxNumberField/index.js +19 -0
- package/dist/src/FxNumberField/styles/number_field.styles.js +94 -0
- package/dist/src/FxProgressCircle/FxProgressCircle.js +65 -0
- package/dist/src/FxProgressCircle/index.js +19 -0
- package/dist/src/FxProgressCircle/styles/progress_circle.styles.js +106 -0
- package/dist/src/FxProgressCounter/ProgressCounter.js +168 -0
- package/dist/src/FxProgressCounter/index.js +19 -0
- package/dist/src/FxProgressCounter/styles/progress_counter.styles.js +61 -0
- package/dist/src/FxScore/FxScore.js +207 -0
- package/dist/src/FxScore/index.js +19 -0
- package/dist/src/FxScore/styles/score.styles.js +97 -0
- package/dist/src/FxShowMore/FxShowMore.js +80 -0
- package/dist/src/FxShowMore/index.js +19 -0
- package/dist/src/FxShowMore/styles/show_more.styles.js +134 -0
- package/dist/src/FxSlider/FxSlider.js +49 -0
- package/dist/src/FxSlider/index.js +19 -0
- package/dist/src/FxStatisticsBar/FxStatisticsBar.js +191 -0
- package/dist/src/FxStatisticsBar/index.js +19 -0
- package/dist/src/FxStatisticsBar/styles/statistics.styles.js +98 -0
- package/dist/src/FxStatusBar/FxStatusBar.js +143 -0
- package/dist/src/FxStatusBar/helpers/constants.js +22 -0
- package/dist/src/FxStatusBar/index.js +22 -0
- package/dist/src/FxStatusBar/styles/statusBar.styles.js +131 -0
- package/dist/src/FxStyledComponents/index.js +310 -0
- package/dist/src/FxTag/FxTag.js +41 -0
- package/dist/src/FxTag/index.js +19 -0
- package/dist/src/FxTag/styles/tag.styles.js +100 -0
- package/dist/src/FxTextField/FxTextField.js +208 -0
- package/dist/src/FxTextField/index.js +19 -0
- package/dist/src/FxTodo/FxTodo.js +95 -0
- package/dist/src/FxTodo/index.js +22 -0
- package/dist/src/FxTodo/styles/todo.styles.js +183 -0
- package/dist/src/index.js +215 -0
- package/package.json +1 -1
- package/dist/FxCheckbox/FxCheckbox.d.ts +0 -9
- package/dist/FxCheckbox/FxCheckbox.js +0 -76
- package/dist/FxCheckbox/index.d.ts +0 -1
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "FxTodo", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return FxTodo;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
const _jsxruntime = require("react/jsx-runtime");
|
|
12
|
+
const _react = /*#__PURE__*/ _interop_require_default(require("react"));
|
|
13
|
+
const _image = /*#__PURE__*/ _interop_require_default(require("next/image"));
|
|
14
|
+
const _FxAvatar = require("../FxAvatar");
|
|
15
|
+
const _material = require("@mui/material");
|
|
16
|
+
const _fixefyuiutils = require("@fixefy/fixefy-ui-utils");
|
|
17
|
+
const _todostyles = require("./styles/todo.styles");
|
|
18
|
+
function _interop_require_default(obj) {
|
|
19
|
+
return obj && obj.__esModule ? obj : {
|
|
20
|
+
default: obj
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
function FxTodo({ todo }) {
|
|
24
|
+
return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_todostyles.TodoCard, {
|
|
25
|
+
children: [
|
|
26
|
+
/*#__PURE__*/ (0, _jsxruntime.jsxs)(_todostyles.TodoCardHeader, {
|
|
27
|
+
children: [
|
|
28
|
+
/*#__PURE__*/ (0, _jsxruntime.jsxs)(_todostyles.TodoCardPriority, {
|
|
29
|
+
priority: todo.priority,
|
|
30
|
+
children: [
|
|
31
|
+
/*#__PURE__*/ (0, _jsxruntime.jsx)(_image.default, {
|
|
32
|
+
alt: todo.title,
|
|
33
|
+
width: 16,
|
|
34
|
+
height: 16,
|
|
35
|
+
loader: ()=>(0, _fixefyuiutils.imageLoader)({
|
|
36
|
+
root: 'https://cdn-dev.fixefy.me/',
|
|
37
|
+
src: 'invoices/severity_low.svg'
|
|
38
|
+
}),
|
|
39
|
+
src: `invoices/severity_${todo.priority}.svg`,
|
|
40
|
+
onLoad: ()=>console.log('loaded'),
|
|
41
|
+
onError: (e)=>console.log('error:', e)
|
|
42
|
+
}),
|
|
43
|
+
(0, _fixefyuiutils.titleCase)(todo.priority)
|
|
44
|
+
]
|
|
45
|
+
}),
|
|
46
|
+
todo.isNew && /*#__PURE__*/ (0, _jsxruntime.jsx)(_todostyles.TodoCardTag, {
|
|
47
|
+
children: "New"
|
|
48
|
+
})
|
|
49
|
+
]
|
|
50
|
+
}),
|
|
51
|
+
/*#__PURE__*/ (0, _jsxruntime.jsxs)(_todostyles.TodoCardContent, {
|
|
52
|
+
children: [
|
|
53
|
+
/*#__PURE__*/ (0, _jsxruntime.jsx)("p", {
|
|
54
|
+
children: (0, _fixefyuiutils.titleCase)(todo.title)
|
|
55
|
+
}),
|
|
56
|
+
/*#__PURE__*/ (0, _jsxruntime.jsx)("span", {
|
|
57
|
+
children: (0, _fixefyuiutils.titleCase)(todo.description)
|
|
58
|
+
}),
|
|
59
|
+
todo.actionTitle && /*#__PURE__*/ (0, _jsxruntime.jsx)(_todostyles.TodoCardContentButton, {
|
|
60
|
+
size: "small",
|
|
61
|
+
onClick: todo.action ? todo.action : ()=>{},
|
|
62
|
+
children: todo.actionTitle
|
|
63
|
+
})
|
|
64
|
+
]
|
|
65
|
+
}),
|
|
66
|
+
/*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Divider, {
|
|
67
|
+
sx: {
|
|
68
|
+
mb: '16px'
|
|
69
|
+
}
|
|
70
|
+
}),
|
|
71
|
+
/*#__PURE__*/ (0, _jsxruntime.jsxs)(_todostyles.TodoCardFooter, {
|
|
72
|
+
children: [
|
|
73
|
+
/*#__PURE__*/ (0, _jsxruntime.jsxs)(_todostyles.TodoCardFooterDueDate, {
|
|
74
|
+
children: [
|
|
75
|
+
/*#__PURE__*/ (0, _jsxruntime.jsx)("span", {
|
|
76
|
+
children: "Due Date"
|
|
77
|
+
}),
|
|
78
|
+
/*#__PURE__*/ (0, _jsxruntime.jsx)("p", {
|
|
79
|
+
children: (0, _fixefyuiutils.normalizeTimestamp)(todo.created_date, {
|
|
80
|
+
dateOnly: true,
|
|
81
|
+
format: 'dd.mm.yyyy'
|
|
82
|
+
})
|
|
83
|
+
})
|
|
84
|
+
]
|
|
85
|
+
}),
|
|
86
|
+
/*#__PURE__*/ (0, _jsxruntime.jsx)(_FxAvatar.FxAvatar, {
|
|
87
|
+
max: 4,
|
|
88
|
+
isEditable: todo.isUserEditable,
|
|
89
|
+
users: todo.users
|
|
90
|
+
})
|
|
91
|
+
]
|
|
92
|
+
})
|
|
93
|
+
]
|
|
94
|
+
});
|
|
95
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
FxTodo: function() {
|
|
13
|
+
return _FxTodo.FxTodo;
|
|
14
|
+
},
|
|
15
|
+
TodoItemType: function() {
|
|
16
|
+
return _FxTodo.TodoItemType;
|
|
17
|
+
},
|
|
18
|
+
TodoPropsType: function() {
|
|
19
|
+
return _FxTodo.TodoPropsType;
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
const _FxTodo = require("./FxTodo");
|
|
@@ -0,0 +1,183 @@
|
|
|
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
|
+
TodoCard: function() {
|
|
13
|
+
return TodoCard;
|
|
14
|
+
},
|
|
15
|
+
TodoCardContent: function() {
|
|
16
|
+
return TodoCardContent;
|
|
17
|
+
},
|
|
18
|
+
TodoCardContentButton: function() {
|
|
19
|
+
return TodoCardContentButton;
|
|
20
|
+
},
|
|
21
|
+
TodoCardFooter: function() {
|
|
22
|
+
return TodoCardFooter;
|
|
23
|
+
},
|
|
24
|
+
TodoCardFooterDueDate: function() {
|
|
25
|
+
return TodoCardFooterDueDate;
|
|
26
|
+
},
|
|
27
|
+
TodoCardHeader: function() {
|
|
28
|
+
return TodoCardHeader;
|
|
29
|
+
},
|
|
30
|
+
TodoCardPriority: function() {
|
|
31
|
+
return TodoCardPriority;
|
|
32
|
+
},
|
|
33
|
+
TodoCardTag: function() {
|
|
34
|
+
return TodoCardTag;
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
const _styles = require("@mui/material/styles");
|
|
38
|
+
const _FxButton = require("../../FxButton");
|
|
39
|
+
function _define_property(obj, key, value) {
|
|
40
|
+
if (key in obj) {
|
|
41
|
+
Object.defineProperty(obj, key, {
|
|
42
|
+
value: value,
|
|
43
|
+
enumerable: true,
|
|
44
|
+
configurable: true,
|
|
45
|
+
writable: true
|
|
46
|
+
});
|
|
47
|
+
} else {
|
|
48
|
+
obj[key] = value;
|
|
49
|
+
}
|
|
50
|
+
return obj;
|
|
51
|
+
}
|
|
52
|
+
function _object_spread(target) {
|
|
53
|
+
for(var i = 1; i < arguments.length; i++){
|
|
54
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
|
55
|
+
var ownKeys = Object.keys(source);
|
|
56
|
+
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
57
|
+
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
58
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
59
|
+
}));
|
|
60
|
+
}
|
|
61
|
+
ownKeys.forEach(function(key) {
|
|
62
|
+
_define_property(target, key, source[key]);
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
return target;
|
|
66
|
+
}
|
|
67
|
+
function ownKeys(object, enumerableOnly) {
|
|
68
|
+
var keys = Object.keys(object);
|
|
69
|
+
if (Object.getOwnPropertySymbols) {
|
|
70
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
71
|
+
if (enumerableOnly) {
|
|
72
|
+
symbols = symbols.filter(function(sym) {
|
|
73
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
keys.push.apply(keys, symbols);
|
|
77
|
+
}
|
|
78
|
+
return keys;
|
|
79
|
+
}
|
|
80
|
+
function _object_spread_props(target, source) {
|
|
81
|
+
source = source != null ? source : {};
|
|
82
|
+
if (Object.getOwnPropertyDescriptors) {
|
|
83
|
+
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
84
|
+
} else {
|
|
85
|
+
ownKeys(Object(source)).forEach(function(key) {
|
|
86
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
return target;
|
|
90
|
+
}
|
|
91
|
+
const TodoCard = (0, _styles.styled)('div')(({ theme })=>({
|
|
92
|
+
background: theme.palette.common.white,
|
|
93
|
+
borderRadius: 8,
|
|
94
|
+
padding: 16,
|
|
95
|
+
marginBottom: 4
|
|
96
|
+
}));
|
|
97
|
+
const TodoCardHeader = (0, _styles.styled)('div')(({})=>({
|
|
98
|
+
display: 'flex',
|
|
99
|
+
alignItems: 'center',
|
|
100
|
+
justifyContent: 'space-between',
|
|
101
|
+
marginBottom: 16
|
|
102
|
+
}));
|
|
103
|
+
const TodoCardPriority = (0, _styles.styled)('div')(({ theme, priority })=>_object_spread_props(_object_spread({
|
|
104
|
+
display: 'flex',
|
|
105
|
+
alignItems: 'center',
|
|
106
|
+
justifyContent: 'center'
|
|
107
|
+
}, theme.typography.table), {
|
|
108
|
+
color: theme.palette.priority[priority],
|
|
109
|
+
['& img']: {
|
|
110
|
+
marginRight: 4
|
|
111
|
+
}
|
|
112
|
+
}));
|
|
113
|
+
const TodoCardTag = (0, _styles.styled)('div')(({ theme })=>_object_spread_props(_object_spread({}, theme.typography.table), {
|
|
114
|
+
color: theme.palette.common.white,
|
|
115
|
+
width: 42,
|
|
116
|
+
height: 18,
|
|
117
|
+
background: '#6FCF97',
|
|
118
|
+
borderRadius: 50,
|
|
119
|
+
display: 'flex',
|
|
120
|
+
alignItems: 'center',
|
|
121
|
+
justifyContent: 'center'
|
|
122
|
+
}));
|
|
123
|
+
const TodoCardContent = (0, _styles.styled)('div')(({ theme })=>({
|
|
124
|
+
display: 'flex',
|
|
125
|
+
alignItems: 'flex-start',
|
|
126
|
+
justifyContent: 'space-between',
|
|
127
|
+
flexDirection: 'column',
|
|
128
|
+
marginBottom: 16,
|
|
129
|
+
['& p']: {
|
|
130
|
+
fontStyle: 'normal',
|
|
131
|
+
fontSize: 14,
|
|
132
|
+
letterSpacing: '0.15px',
|
|
133
|
+
color: theme.palette.typography.title,
|
|
134
|
+
fontWeight: 700,
|
|
135
|
+
lineHeight: '16px',
|
|
136
|
+
margin: 0
|
|
137
|
+
},
|
|
138
|
+
['& span']: {
|
|
139
|
+
fontStyle: 'normal',
|
|
140
|
+
fontSize: 14,
|
|
141
|
+
letterSpacing: '0.15px',
|
|
142
|
+
color: theme.palette.typography.title,
|
|
143
|
+
fontWeight: 400,
|
|
144
|
+
lineHeight: '20px',
|
|
145
|
+
marginBottom: 16
|
|
146
|
+
}
|
|
147
|
+
}));
|
|
148
|
+
const TodoCardContentButton = (0, _styles.styled)(_FxButton.FxButton)(({ theme })=>_object_spread_props(_object_spread({}, theme.typography.button), {
|
|
149
|
+
color: '#568793',
|
|
150
|
+
fontSize: 12,
|
|
151
|
+
maxHeight: 32,
|
|
152
|
+
minHeight: 32,
|
|
153
|
+
paddingLeft: 12,
|
|
154
|
+
paddingRight: 12
|
|
155
|
+
}));
|
|
156
|
+
const TodoCardFooter = (0, _styles.styled)('div')(({})=>({
|
|
157
|
+
display: 'flex',
|
|
158
|
+
alignItems: 'center',
|
|
159
|
+
justifyContent: 'space-between',
|
|
160
|
+
flexDirection: 'row'
|
|
161
|
+
}));
|
|
162
|
+
const TodoCardFooterDueDate = (0, _styles.styled)('div')(({ theme })=>({
|
|
163
|
+
display: 'flex',
|
|
164
|
+
alignItems: 'flex-start',
|
|
165
|
+
flexDirection: 'column',
|
|
166
|
+
['& p']: {
|
|
167
|
+
fontWeight: 'normal',
|
|
168
|
+
fontStyle: 'normal',
|
|
169
|
+
fontSize: 11,
|
|
170
|
+
lineHeight: '16px',
|
|
171
|
+
letterSpacing: '0.1px',
|
|
172
|
+
color: theme.palette.typography.title,
|
|
173
|
+
margin: 0
|
|
174
|
+
},
|
|
175
|
+
['& span']: {
|
|
176
|
+
fontWeight: 'normal',
|
|
177
|
+
fontStyle: 'normal',
|
|
178
|
+
fontSize: 14,
|
|
179
|
+
lineHeight: '24px',
|
|
180
|
+
letterSpacing: '0.15px',
|
|
181
|
+
color: theme.palette.statistics.label
|
|
182
|
+
}
|
|
183
|
+
}));
|
|
@@ -0,0 +1,215 @@
|
|
|
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
|
+
ActionsTrayPropsType: function() {
|
|
13
|
+
return _FxActionsTray.ActionsTrayPropsType;
|
|
14
|
+
},
|
|
15
|
+
AggreationsBarPropsType: function() {
|
|
16
|
+
return _FxAggregationsBar.AggreationsBarPropsType;
|
|
17
|
+
},
|
|
18
|
+
AggregationsDataPropsType: function() {
|
|
19
|
+
return _FxAggregationsBar.AggregationsDataPropsType;
|
|
20
|
+
},
|
|
21
|
+
AsyncDropdownPropsType: function() {
|
|
22
|
+
return _FxAsyncDropdown.AsyncDropdownPropsType;
|
|
23
|
+
},
|
|
24
|
+
AvatarPropsType: function() {
|
|
25
|
+
return _FxAvatar.AvatarPropsType;
|
|
26
|
+
},
|
|
27
|
+
BackgroundColorsType: function() {
|
|
28
|
+
return _FxAvatar.BackgroundColorsType;
|
|
29
|
+
},
|
|
30
|
+
Bars: function() {
|
|
31
|
+
return _FxStyledComponents.Bars;
|
|
32
|
+
},
|
|
33
|
+
BoldValue: function() {
|
|
34
|
+
return _FxStyledComponents.BoldValue;
|
|
35
|
+
},
|
|
36
|
+
ButtonPropsType: function() {
|
|
37
|
+
return _FxButton.ButtonPropsType;
|
|
38
|
+
},
|
|
39
|
+
Card: function() {
|
|
40
|
+
return _FxStyledComponents.Card;
|
|
41
|
+
},
|
|
42
|
+
ChipPropsType: function() {
|
|
43
|
+
return _FxChip.ChipPropsType;
|
|
44
|
+
},
|
|
45
|
+
DataWrapper: function() {
|
|
46
|
+
return _FxStyledComponents.DataWrapper;
|
|
47
|
+
},
|
|
48
|
+
FxActionsTray: function() {
|
|
49
|
+
return _FxActionsTray.FxActionsTray;
|
|
50
|
+
},
|
|
51
|
+
FxAggregationsBar: function() {
|
|
52
|
+
return _FxAggregationsBar.FxAggregationsBar;
|
|
53
|
+
},
|
|
54
|
+
FxAsyncDropdown: function() {
|
|
55
|
+
return _FxAsyncDropdown.FxAsyncDropdown;
|
|
56
|
+
},
|
|
57
|
+
FxAvatar: function() {
|
|
58
|
+
return _FxAvatar.FxAvatar;
|
|
59
|
+
},
|
|
60
|
+
FxButton: function() {
|
|
61
|
+
return _FxButton.FxButton;
|
|
62
|
+
},
|
|
63
|
+
FxChip: function() {
|
|
64
|
+
return _FxChip.FxChip;
|
|
65
|
+
},
|
|
66
|
+
FxFilterSortButton: function() {
|
|
67
|
+
return _FxFilterSortButton.FxFilterSortButton;
|
|
68
|
+
},
|
|
69
|
+
FxIcon: function() {
|
|
70
|
+
return _FxIcon.FxIcon;
|
|
71
|
+
},
|
|
72
|
+
FxModal: function() {
|
|
73
|
+
return _FxModal.FxModal;
|
|
74
|
+
},
|
|
75
|
+
FxModalWithButton: function() {
|
|
76
|
+
return _FxModalWithButton.FxModalWithButton;
|
|
77
|
+
},
|
|
78
|
+
FxNotes: function() {
|
|
79
|
+
return _FxNotes.FxNotes;
|
|
80
|
+
},
|
|
81
|
+
FxNumberField: function() {
|
|
82
|
+
return _FxNumberField.FxNumberField;
|
|
83
|
+
},
|
|
84
|
+
FxProgressCircle: function() {
|
|
85
|
+
return _FxProgressCircle.FxProgressCircle;
|
|
86
|
+
},
|
|
87
|
+
FxProgressCounter: function() {
|
|
88
|
+
return _FxProgressCounter.FxProgressCounter;
|
|
89
|
+
},
|
|
90
|
+
FxScore: function() {
|
|
91
|
+
return _FxScore.FxScore;
|
|
92
|
+
},
|
|
93
|
+
FxShowMore: function() {
|
|
94
|
+
return _FxShowMore.FxShowMore;
|
|
95
|
+
},
|
|
96
|
+
FxSlider: function() {
|
|
97
|
+
return _FxSlider.FxSlider;
|
|
98
|
+
},
|
|
99
|
+
FxStatisticsBar: function() {
|
|
100
|
+
return _FxStatisticsBar.FxStatisticsBar;
|
|
101
|
+
},
|
|
102
|
+
FxStatusBar: function() {
|
|
103
|
+
return _FxStatusBar.FxStatusBar;
|
|
104
|
+
},
|
|
105
|
+
FxTag: function() {
|
|
106
|
+
return _FxTag.FxTag;
|
|
107
|
+
},
|
|
108
|
+
FxTextField: function() {
|
|
109
|
+
return _FxTextField.FxTextField;
|
|
110
|
+
},
|
|
111
|
+
FxTodo: function() {
|
|
112
|
+
return _FxTodo.FxTodo;
|
|
113
|
+
},
|
|
114
|
+
Label: function() {
|
|
115
|
+
return _FxStyledComponents.Label;
|
|
116
|
+
},
|
|
117
|
+
Link: function() {
|
|
118
|
+
return _FxStyledComponents.Link;
|
|
119
|
+
},
|
|
120
|
+
ModalPropsType: function() {
|
|
121
|
+
return _FxModal.ModalPropsType;
|
|
122
|
+
},
|
|
123
|
+
NoteCreateInput: function() {
|
|
124
|
+
return _FxNotes.NoteCreateInput;
|
|
125
|
+
},
|
|
126
|
+
NotesPropsType: function() {
|
|
127
|
+
return _FxNotes.NotesPropsType;
|
|
128
|
+
},
|
|
129
|
+
NumberfieldPropsType: function() {
|
|
130
|
+
return _FxNumberField.NumberfieldPropsType;
|
|
131
|
+
},
|
|
132
|
+
Option: function() {
|
|
133
|
+
return _FxAsyncDropdown.Option;
|
|
134
|
+
},
|
|
135
|
+
Options: function() {
|
|
136
|
+
return _FxStatusBar.Options;
|
|
137
|
+
},
|
|
138
|
+
PageHeader: function() {
|
|
139
|
+
return _FxStyledComponents.PageHeader;
|
|
140
|
+
},
|
|
141
|
+
PageTitle: function() {
|
|
142
|
+
return _FxStyledComponents.PageTitle;
|
|
143
|
+
},
|
|
144
|
+
ProgressCirclePropsType: function() {
|
|
145
|
+
return _FxProgressCircle.ProgressCirclePropsType;
|
|
146
|
+
},
|
|
147
|
+
ProgressCounterPropsType: function() {
|
|
148
|
+
return _FxProgressCounter.ProgressCounterPropsType;
|
|
149
|
+
},
|
|
150
|
+
ScorePropsType: function() {
|
|
151
|
+
return _FxScore.ScorePropsType;
|
|
152
|
+
},
|
|
153
|
+
ShowMore: function() {
|
|
154
|
+
return _FxStyledComponents.ShowMore;
|
|
155
|
+
},
|
|
156
|
+
ShowMoreContainer: function() {
|
|
157
|
+
return _FxStyledComponents.ShowMoreContainer;
|
|
158
|
+
},
|
|
159
|
+
ShowMorePropsType: function() {
|
|
160
|
+
return _FxShowMore.ShowMorePropsType;
|
|
161
|
+
},
|
|
162
|
+
SliderPropsType: function() {
|
|
163
|
+
return _FxSlider.SliderPropsType;
|
|
164
|
+
},
|
|
165
|
+
StatisticsPropsType: function() {
|
|
166
|
+
return _FxStatisticsBar.StatisticsPropsType;
|
|
167
|
+
},
|
|
168
|
+
StatusBarPropsType: function() {
|
|
169
|
+
return _FxStatusBar.StatusBarPropsType;
|
|
170
|
+
},
|
|
171
|
+
StylesOptions: function() {
|
|
172
|
+
return _FxAsyncDropdown.StylesOptions;
|
|
173
|
+
},
|
|
174
|
+
TagPropsType: function() {
|
|
175
|
+
return _FxTag.TagPropsType;
|
|
176
|
+
},
|
|
177
|
+
Text: function() {
|
|
178
|
+
return _FxStyledComponents.Text;
|
|
179
|
+
},
|
|
180
|
+
TextFieldPropsType: function() {
|
|
181
|
+
return _FxTextField.TextFieldPropsType;
|
|
182
|
+
},
|
|
183
|
+
TodoItemType: function() {
|
|
184
|
+
return _FxTodo.TodoItemType;
|
|
185
|
+
},
|
|
186
|
+
TodoPropsType: function() {
|
|
187
|
+
return _FxTodo.TodoPropsType;
|
|
188
|
+
},
|
|
189
|
+
Value: function() {
|
|
190
|
+
return _FxStyledComponents.Value;
|
|
191
|
+
}
|
|
192
|
+
});
|
|
193
|
+
const _FxActionsTray = require("./FxActionsTray");
|
|
194
|
+
const _FxAggregationsBar = require("./FxAggregationsBar");
|
|
195
|
+
const _FxAsyncDropdown = require("./FxAsyncDropdown");
|
|
196
|
+
const _FxAvatar = require("./FxAvatar");
|
|
197
|
+
const _FxButton = require("./FxButton");
|
|
198
|
+
const _FxFilterSortButton = require("./FxFilterSortButton");
|
|
199
|
+
const _FxChip = require("./FxChip");
|
|
200
|
+
const _FxIcon = require("./FxIcon");
|
|
201
|
+
const _FxModal = require("./FxModal");
|
|
202
|
+
const _FxModalWithButton = require("./FxModalWithButton");
|
|
203
|
+
const _FxNotes = require("./FxNotes");
|
|
204
|
+
const _FxNumberField = require("./FxNumberField");
|
|
205
|
+
const _FxProgressCircle = require("./FxProgressCircle");
|
|
206
|
+
const _FxProgressCounter = require("./FxProgressCounter");
|
|
207
|
+
const _FxScore = require("./FxScore");
|
|
208
|
+
const _FxShowMore = require("./FxShowMore");
|
|
209
|
+
const _FxSlider = require("./FxSlider");
|
|
210
|
+
const _FxStatisticsBar = require("./FxStatisticsBar");
|
|
211
|
+
const _FxStatusBar = require("./FxStatusBar");
|
|
212
|
+
const _FxTag = require("./FxTag");
|
|
213
|
+
const _FxTextField = require("./FxTextField");
|
|
214
|
+
const _FxTodo = require("./FxTodo");
|
|
215
|
+
const _FxStyledComponents = require("./FxStyledComponents");
|
package/package.json
CHANGED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
5
|
-
Object.defineProperty(exports, "FxCheckbox", {
|
|
6
|
-
enumerable: true,
|
|
7
|
-
get: function() {
|
|
8
|
-
return FxCheckbox;
|
|
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 _FxIcon = require("../FxIcon");
|
|
15
|
-
function _interop_require_default(obj) {
|
|
16
|
-
return obj && obj.__esModule ? obj : {
|
|
17
|
-
default: obj
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
const FxCheckbox = ({ label, value, checked, width, height, onChange })=>{
|
|
21
|
-
const handleChange = (val)=>{
|
|
22
|
-
onChange(val);
|
|
23
|
-
};
|
|
24
|
-
return /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Box, {
|
|
25
|
-
sx: {
|
|
26
|
-
width: '100%',
|
|
27
|
-
display: 'flex',
|
|
28
|
-
gap: 10,
|
|
29
|
-
'& > *': {
|
|
30
|
-
flex: 1
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
children: /*#__PURE__*/ (0, _jsxruntime.jsxs)(_material.Box, {
|
|
34
|
-
sx: {
|
|
35
|
-
display: 'flex',
|
|
36
|
-
borderRadius: '5px',
|
|
37
|
-
border: '1px solid #F0F0F0',
|
|
38
|
-
width: width || '50%',
|
|
39
|
-
height: height || '40px',
|
|
40
|
-
minHeight: '40px',
|
|
41
|
-
margin: 0,
|
|
42
|
-
alignItems: 'center'
|
|
43
|
-
},
|
|
44
|
-
children: [
|
|
45
|
-
/*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Checkbox, {
|
|
46
|
-
onChange: ()=>{
|
|
47
|
-
handleChange(value);
|
|
48
|
-
},
|
|
49
|
-
sx: {
|
|
50
|
-
padding: '7px'
|
|
51
|
-
},
|
|
52
|
-
icon: /*#__PURE__*/ (0, _jsxruntime.jsx)(_FxIcon.FxIcon, {
|
|
53
|
-
icon: "reports/radio_button_unchecked.svg",
|
|
54
|
-
width: 16,
|
|
55
|
-
height: 16
|
|
56
|
-
}),
|
|
57
|
-
checkedIcon: /*#__PURE__*/ (0, _jsxruntime.jsx)(_FxIcon.FxIcon, {
|
|
58
|
-
icon: "reports/radio_button_checked.svg",
|
|
59
|
-
width: 16,
|
|
60
|
-
height: 16
|
|
61
|
-
}),
|
|
62
|
-
checked: checked
|
|
63
|
-
}),
|
|
64
|
-
' ',
|
|
65
|
-
/*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Box, {
|
|
66
|
-
children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Typography, {
|
|
67
|
-
sx: {
|
|
68
|
-
lineHeight: 3
|
|
69
|
-
},
|
|
70
|
-
children: label
|
|
71
|
-
})
|
|
72
|
-
})
|
|
73
|
-
]
|
|
74
|
-
})
|
|
75
|
-
});
|
|
76
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { FxCheckbox } from './FxCheckbox';
|