@fixefy/fixefy-ui-components 0.0.44 → 0.0.46
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/build/{FxTag/styles/tag.styles.js → FxRaaya/FxRaaya.js} +33 -1
- package/build/{FxNotes → FxRaaya}/index.js +3 -3
- package/package.json +3 -4
- package/build/FxActionsTray/FxActionsTray.js +0 -351
- package/build/FxActionsTray/actions_tray_types.d.js +0 -4
- package/build/FxActionsTray/index.js +0 -11
- package/build/FxActionsTray/styles/actions_tray.styles.js +0 -160
- package/build/FxAggregationsBar/FxAggregations.js +0 -41
- package/build/FxAggregationsBar/aggregations_types.d.js +0 -4
- package/build/FxAggregationsBar/helpers/structureReader.js +0 -78
- package/build/FxAggregationsBar/index.js +0 -11
- package/build/FxAggregationsBar/operations/query.js +0 -73
- package/build/FxAsyncDropdown/FxAsyncDropdown.js +0 -456
- package/build/FxAsyncDropdown/async_dropdown_types.d.js +0 -4
- package/build/FxAsyncDropdown/helpers/helpers.js +0 -151
- package/build/FxAsyncDropdown/index.js +0 -11
- package/build/FxAsyncDropdown/styles/dropdown.styles.js +0 -230
- package/build/FxAvatar/FxAvatar.js +0 -145
- package/build/FxAvatar/avatar_types.d.js +0 -4
- package/build/FxAvatar/helpers/stringToColor.js +0 -23
- package/build/FxAvatar/index.js +0 -11
- package/build/FxAvatar/styles/avatar.styles.js +0 -193
- package/build/FxButton/FxButton.js +0 -106
- package/build/FxButton/index.js +0 -11
- package/build/FxButton/styles/button.styles.js +0 -24
- package/build/FxChip/FxChip.js +0 -37
- package/build/FxChip/chip_types.d.js +0 -4
- package/build/FxChip/index.js +0 -11
- package/build/FxChip/styles/chip.styles.js +0 -62
- package/build/FxIcon/FxIcon.js +0 -147
- package/build/FxIcon/content/dynamic_icon.js +0 -20
- package/build/FxIcon/content/index.js +0 -20
- package/build/FxIcon/content/lazy_icon.js +0 -137
- package/build/FxIcon/icon_types.d.js +0 -4
- package/build/FxIcon/index.js +0 -20
- package/build/FxModal/FxModal.js +0 -171
- package/build/FxModal/index.js +0 -11
- package/build/FxModal/modal_types.d.js +0 -4
- package/build/FxModal/styles/modal.style.js +0 -59
- package/build/FxNotes/FxNotes.js +0 -216
- package/build/FxNotes/helpers/stringToColor.js +0 -26
- package/build/FxNotes/note_types.d.js +0 -4
- package/build/FxNotes/operations/queries.js +0 -35
- package/build/FxNotes/styles/notes.styles.js +0 -169
- package/build/FxNumberField/FxNumberField.js +0 -109
- package/build/FxNumberField/index.js +0 -11
- package/build/FxNumberField/number_field_types.d.js +0 -4
- package/build/FxNumberField/styles/number_field.styles.js +0 -94
- package/build/FxProgressCircle/FxProgressCircle.js +0 -65
- package/build/FxProgressCircle/index.js +0 -11
- package/build/FxProgressCircle/progress_circle_types.d.js +0 -4
- package/build/FxProgressCircle/styles/progress_circle.styles.js +0 -106
- package/build/FxProgressCounter/ProgressCounter.js +0 -168
- package/build/FxProgressCounter/index.js +0 -11
- package/build/FxProgressCounter/progress_counter_types.d.js +0 -4
- package/build/FxProgressCounter/styles/progress_counter.styles.js +0 -61
- package/build/FxScore/FxScore.js +0 -207
- package/build/FxScore/index.js +0 -11
- package/build/FxScore/score_types.d.js +0 -4
- package/build/FxScore/styles/score.styles.js +0 -96
- package/build/FxShowMore/FxShowMore.js +0 -80
- package/build/FxShowMore/index.js +0 -11
- package/build/FxShowMore/show_more_types.d.js +0 -4
- package/build/FxShowMore/styles/show_more.styles.js +0 -134
- package/build/FxSlider/FxSlider.js +0 -49
- package/build/FxSlider/index.js +0 -11
- package/build/FxSlider/slider_types.d.js +0 -4
- package/build/FxStatisticsBar/FxStatisticsBar.js +0 -191
- package/build/FxStatisticsBar/index.js +0 -11
- package/build/FxStatisticsBar/statistics_bar_types.d.js +0 -4
- package/build/FxStatisticsBar/styles/statistics.styles.js +0 -98
- package/build/FxStatusBar/FxStatusBar.js +0 -143
- package/build/FxStatusBar/helpers/constants.js +0 -22
- package/build/FxStatusBar/index.js +0 -20
- package/build/FxStatusBar/status_bar_types.d.js +0 -4
- package/build/FxStatusBar/styles/statusBar.styles.js +0 -131
- package/build/FxStyledComponents/index.js +0 -311
- package/build/FxTag/FxTag.js +0 -41
- package/build/FxTag/fxtag_types.d.js +0 -4
- package/build/FxTag/index.js +0 -20
- package/build/FxTextField/FxTextField.js +0 -208
- package/build/FxTextField/index.js +0 -11
- package/build/FxTextField/text_field_types.d.js +0 -4
- package/build/FxTodo/FxTodo.js +0 -95
- package/build/FxTodo/index.js +0 -23
- package/build/FxTodo/styles/todo.styles.js +0 -183
- package/build/FxTodo/todo_types.d.js +0 -4
- package/build/FxWizard/FxWizard.js +0 -179
- package/build/FxWizard/WizardContext.js +0 -207
- package/build/FxWizard/index.js +0 -23
- package/build/FxWizard/styles/wizard.styles.js +0 -89
- package/build/FxWizard/wizard_types.d.js +0 -4
- package/build/index.js +0 -182
|
@@ -1,179 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
5
|
-
Object.defineProperty(exports, "FxWizard", {
|
|
6
|
-
enumerable: true,
|
|
7
|
-
get: function() {
|
|
8
|
-
return FxWizard;
|
|
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 _web = require("@react-spring/web");
|
|
15
|
-
const _wizardstyles = require("./styles/wizard.styles");
|
|
16
|
-
function _define_property(obj, key, value) {
|
|
17
|
-
if (key in obj) {
|
|
18
|
-
Object.defineProperty(obj, key, {
|
|
19
|
-
value: value,
|
|
20
|
-
enumerable: true,
|
|
21
|
-
configurable: true,
|
|
22
|
-
writable: true
|
|
23
|
-
});
|
|
24
|
-
} else {
|
|
25
|
-
obj[key] = value;
|
|
26
|
-
}
|
|
27
|
-
return obj;
|
|
28
|
-
}
|
|
29
|
-
function _interop_require_default(obj) {
|
|
30
|
-
return obj && obj.__esModule ? obj : {
|
|
31
|
-
default: obj
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
function _object_spread(target) {
|
|
35
|
-
for(var i = 1; i < arguments.length; i++){
|
|
36
|
-
var source = arguments[i] != null ? arguments[i] : {};
|
|
37
|
-
var ownKeys = Object.keys(source);
|
|
38
|
-
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
39
|
-
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
40
|
-
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
41
|
-
}));
|
|
42
|
-
}
|
|
43
|
-
ownKeys.forEach(function(key) {
|
|
44
|
-
_define_property(target, key, source[key]);
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
return target;
|
|
48
|
-
}
|
|
49
|
-
function ownKeys(object, enumerableOnly) {
|
|
50
|
-
var keys = Object.keys(object);
|
|
51
|
-
if (Object.getOwnPropertySymbols) {
|
|
52
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
|
53
|
-
if (enumerableOnly) {
|
|
54
|
-
symbols = symbols.filter(function(sym) {
|
|
55
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
keys.push.apply(keys, symbols);
|
|
59
|
-
}
|
|
60
|
-
return keys;
|
|
61
|
-
}
|
|
62
|
-
function _object_spread_props(target, source) {
|
|
63
|
-
source = source != null ? source : {};
|
|
64
|
-
if (Object.getOwnPropertyDescriptors) {
|
|
65
|
-
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
66
|
-
} else {
|
|
67
|
-
ownKeys(Object(source)).forEach(function(key) {
|
|
68
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
return target;
|
|
72
|
-
}
|
|
73
|
-
function _object_without_properties(source, excluded) {
|
|
74
|
-
if (source == null) return {};
|
|
75
|
-
var target = _object_without_properties_loose(source, excluded);
|
|
76
|
-
var key, i;
|
|
77
|
-
if (Object.getOwnPropertySymbols) {
|
|
78
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
79
|
-
for(i = 0; i < sourceSymbolKeys.length; i++){
|
|
80
|
-
key = sourceSymbolKeys[i];
|
|
81
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
82
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
83
|
-
target[key] = source[key];
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
return target;
|
|
87
|
-
}
|
|
88
|
-
function _object_without_properties_loose(source, excluded) {
|
|
89
|
-
if (source == null) return {};
|
|
90
|
-
var target = {};
|
|
91
|
-
var sourceKeys = Object.keys(source);
|
|
92
|
-
var key, i;
|
|
93
|
-
for(i = 0; i < sourceKeys.length; i++){
|
|
94
|
-
key = sourceKeys[i];
|
|
95
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
96
|
-
target[key] = source[key];
|
|
97
|
-
}
|
|
98
|
-
return target;
|
|
99
|
-
}
|
|
100
|
-
const Animations = {
|
|
101
|
-
rightToLeft: {
|
|
102
|
-
from: {
|
|
103
|
-
opacity: 0,
|
|
104
|
-
position: 'absolute',
|
|
105
|
-
transform: 'translate3d(20%,0,0)',
|
|
106
|
-
width: '100%'
|
|
107
|
-
},
|
|
108
|
-
enter: {
|
|
109
|
-
opacity: 1,
|
|
110
|
-
transform: 'translate3d(0%,0,0)'
|
|
111
|
-
},
|
|
112
|
-
leave: {
|
|
113
|
-
opacity: 0,
|
|
114
|
-
transform: 'translate3d(-10%,0,0)'
|
|
115
|
-
}
|
|
116
|
-
},
|
|
117
|
-
leftToRight: {
|
|
118
|
-
from: {
|
|
119
|
-
opacity: 0,
|
|
120
|
-
position: 'absolute',
|
|
121
|
-
width: '100%'
|
|
122
|
-
},
|
|
123
|
-
enter: {
|
|
124
|
-
opacity: 1,
|
|
125
|
-
transform: 'translate3d(0%,0,0)'
|
|
126
|
-
},
|
|
127
|
-
leave: {
|
|
128
|
-
opacity: 0,
|
|
129
|
-
transform: 'translate3d(20%,0,0)'
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
};
|
|
133
|
-
function FxWizard(_param) {
|
|
134
|
-
var { open, content = [], currentPage = 0, reverse = false, onCancel, title, actions, icon, componentStyles, divider = true } = _param, rest = _object_without_properties(_param, [
|
|
135
|
-
"open",
|
|
136
|
-
"content",
|
|
137
|
-
"currentPage",
|
|
138
|
-
"reverse",
|
|
139
|
-
"onCancel",
|
|
140
|
-
"title",
|
|
141
|
-
"actions",
|
|
142
|
-
"icon",
|
|
143
|
-
"componentStyles",
|
|
144
|
-
"divider"
|
|
145
|
-
]);
|
|
146
|
-
const transitions = (0, _web.useTransition)(content[currentPage], _object_spread_props(_object_spread({}, Animations[reverse ? 'leftToRight' : 'rightToLeft']), {
|
|
147
|
-
keys: null
|
|
148
|
-
}));
|
|
149
|
-
return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_wizardstyles.StyledModal, _object_spread_props(_object_spread({}, rest), {
|
|
150
|
-
title: title,
|
|
151
|
-
actions: actions,
|
|
152
|
-
icon: icon,
|
|
153
|
-
isOpen: Boolean(open),
|
|
154
|
-
isIconTitleInline: true,
|
|
155
|
-
onClose: (e)=>onCancel(e, ''),
|
|
156
|
-
children: [
|
|
157
|
-
divider && /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Divider, {
|
|
158
|
-
sx: {
|
|
159
|
-
mb: '32px',
|
|
160
|
-
mt: '16px'
|
|
161
|
-
}
|
|
162
|
-
}),
|
|
163
|
-
/*#__PURE__*/ (0, _jsxruntime.jsx)(_wizardstyles.StyledContent, {
|
|
164
|
-
style: _object_spread({}, componentStyles),
|
|
165
|
-
children: transitions((style, item)=>// @ts-ignore
|
|
166
|
-
/*#__PURE__*/ (0, _jsxruntime.jsx)(_web.animated.div, {
|
|
167
|
-
style: style,
|
|
168
|
-
children: item
|
|
169
|
-
}))
|
|
170
|
-
}),
|
|
171
|
-
divider && /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Divider, {
|
|
172
|
-
sx: {
|
|
173
|
-
mb: '8px',
|
|
174
|
-
mt: '32px'
|
|
175
|
-
}
|
|
176
|
-
})
|
|
177
|
-
]
|
|
178
|
-
}));
|
|
179
|
-
}
|
|
@@ -1,207 +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
|
-
WizardContext: function() {
|
|
13
|
-
return WizardContext;
|
|
14
|
-
},
|
|
15
|
-
WizardContextProvider: function() {
|
|
16
|
-
return WizardContextProvider;
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
const _jsxruntime = require("react/jsx-runtime");
|
|
20
|
-
const _FxWizard = require("./FxWizard");
|
|
21
|
-
const _react = /*#__PURE__*/ _interop_require_wildcard(require("react"));
|
|
22
|
-
function _define_property(obj, key, value) {
|
|
23
|
-
if (key in obj) {
|
|
24
|
-
Object.defineProperty(obj, key, {
|
|
25
|
-
value: value,
|
|
26
|
-
enumerable: true,
|
|
27
|
-
configurable: true,
|
|
28
|
-
writable: true
|
|
29
|
-
});
|
|
30
|
-
} else {
|
|
31
|
-
obj[key] = value;
|
|
32
|
-
}
|
|
33
|
-
return obj;
|
|
34
|
-
}
|
|
35
|
-
function _getRequireWildcardCache(nodeInterop) {
|
|
36
|
-
if (typeof WeakMap !== "function") return null;
|
|
37
|
-
var cacheBabelInterop = new WeakMap();
|
|
38
|
-
var cacheNodeInterop = new WeakMap();
|
|
39
|
-
return (_getRequireWildcardCache = function(nodeInterop) {
|
|
40
|
-
return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
|
|
41
|
-
})(nodeInterop);
|
|
42
|
-
}
|
|
43
|
-
function _interop_require_wildcard(obj, nodeInterop) {
|
|
44
|
-
if (!nodeInterop && obj && obj.__esModule) {
|
|
45
|
-
return obj;
|
|
46
|
-
}
|
|
47
|
-
if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
|
|
48
|
-
return {
|
|
49
|
-
default: obj
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
var cache = _getRequireWildcardCache(nodeInterop);
|
|
53
|
-
if (cache && cache.has(obj)) {
|
|
54
|
-
return cache.get(obj);
|
|
55
|
-
}
|
|
56
|
-
var newObj = {
|
|
57
|
-
__proto__: null
|
|
58
|
-
};
|
|
59
|
-
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
60
|
-
for(var key in obj){
|
|
61
|
-
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
62
|
-
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
|
|
63
|
-
if (desc && (desc.get || desc.set)) {
|
|
64
|
-
Object.defineProperty(newObj, key, desc);
|
|
65
|
-
} else {
|
|
66
|
-
newObj[key] = obj[key];
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
newObj.default = obj;
|
|
71
|
-
if (cache) {
|
|
72
|
-
cache.set(obj, newObj);
|
|
73
|
-
}
|
|
74
|
-
return newObj;
|
|
75
|
-
}
|
|
76
|
-
function _object_spread(target) {
|
|
77
|
-
for(var i = 1; i < arguments.length; i++){
|
|
78
|
-
var source = arguments[i] != null ? arguments[i] : {};
|
|
79
|
-
var ownKeys = Object.keys(source);
|
|
80
|
-
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
81
|
-
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
82
|
-
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
83
|
-
}));
|
|
84
|
-
}
|
|
85
|
-
ownKeys.forEach(function(key) {
|
|
86
|
-
_define_property(target, key, source[key]);
|
|
87
|
-
});
|
|
88
|
-
}
|
|
89
|
-
return target;
|
|
90
|
-
}
|
|
91
|
-
function ownKeys(object, enumerableOnly) {
|
|
92
|
-
var keys = Object.keys(object);
|
|
93
|
-
if (Object.getOwnPropertySymbols) {
|
|
94
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
|
95
|
-
if (enumerableOnly) {
|
|
96
|
-
symbols = symbols.filter(function(sym) {
|
|
97
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
98
|
-
});
|
|
99
|
-
}
|
|
100
|
-
keys.push.apply(keys, symbols);
|
|
101
|
-
}
|
|
102
|
-
return keys;
|
|
103
|
-
}
|
|
104
|
-
function _object_spread_props(target, source) {
|
|
105
|
-
source = source != null ? source : {};
|
|
106
|
-
if (Object.getOwnPropertyDescriptors) {
|
|
107
|
-
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
108
|
-
} else {
|
|
109
|
-
ownKeys(Object(source)).forEach(function(key) {
|
|
110
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
111
|
-
});
|
|
112
|
-
}
|
|
113
|
-
return target;
|
|
114
|
-
}
|
|
115
|
-
const WizardContext = /*#__PURE__*/ (0, _react.createContext)({});
|
|
116
|
-
const WizardContextProvider = ({ children })=>{
|
|
117
|
-
// const [pages, setPages] = useState<number>(1);
|
|
118
|
-
const [currentPage, setCurrentPage] = (0, _react.useState)(0);
|
|
119
|
-
const [open, setOpen] = (0, _react.useState)(false);
|
|
120
|
-
const [content, setContent] = (0, _react.useState)([]);
|
|
121
|
-
const [reverse, setReverse] = (0, _react.useState)(false);
|
|
122
|
-
const [options, setOptions] = (0, _react.useState)({});
|
|
123
|
-
const [modalProps, _setModalProps] = (0, _react.useState)({
|
|
124
|
-
shouldCloseOnBackdropClick: true,
|
|
125
|
-
shouldCloseOnEscapeKeyDown: true
|
|
126
|
-
});
|
|
127
|
-
const [componentStyles, setComponentStyles] = (0, _react.useState)({
|
|
128
|
-
width: '100%',
|
|
129
|
-
height: 500,
|
|
130
|
-
contain: 'content',
|
|
131
|
-
overflow: 'scroll'
|
|
132
|
-
});
|
|
133
|
-
const onCancel = (event, reason)=>{
|
|
134
|
-
console.log(event);
|
|
135
|
-
switch(reason){
|
|
136
|
-
case 'escapeKeyDown':
|
|
137
|
-
{
|
|
138
|
-
if (modalProps.shouldCloseOnEscapeKeyDown) {
|
|
139
|
-
return setOpen(false);
|
|
140
|
-
} else {
|
|
141
|
-
return;
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
case 'backdropClick':
|
|
145
|
-
{
|
|
146
|
-
if (modalProps.shouldCloseOnBackdropClick) {
|
|
147
|
-
return setOpen(false);
|
|
148
|
-
} else {
|
|
149
|
-
return;
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
default:
|
|
153
|
-
{}
|
|
154
|
-
}
|
|
155
|
-
};
|
|
156
|
-
const onOpen = ()=>{
|
|
157
|
-
setOpen(true);
|
|
158
|
-
};
|
|
159
|
-
const nextPage = ()=>{
|
|
160
|
-
console.log('nextPage');
|
|
161
|
-
};
|
|
162
|
-
const prevPage = ()=>{
|
|
163
|
-
console.log('prevPage');
|
|
164
|
-
};
|
|
165
|
-
const setModalProps = (newState)=>{
|
|
166
|
-
_setModalProps((prevState)=>_object_spread({}, prevState, newState));
|
|
167
|
-
};
|
|
168
|
-
const setPage = (page, option)=>{
|
|
169
|
-
if (option) {
|
|
170
|
-
setOptions(_object_spread({}, options, option));
|
|
171
|
-
}
|
|
172
|
-
setCurrentPage((prevCurrentPage)=>{
|
|
173
|
-
setReverse(page < prevCurrentPage);
|
|
174
|
-
return page;
|
|
175
|
-
});
|
|
176
|
-
};
|
|
177
|
-
const _state = {
|
|
178
|
-
currentPage,
|
|
179
|
-
// pages,
|
|
180
|
-
// setPages,
|
|
181
|
-
nextPage,
|
|
182
|
-
prevPage,
|
|
183
|
-
onOpen,
|
|
184
|
-
open,
|
|
185
|
-
setOpen,
|
|
186
|
-
setContent,
|
|
187
|
-
setPage,
|
|
188
|
-
options,
|
|
189
|
-
setModalProps,
|
|
190
|
-
setComponentStyles,
|
|
191
|
-
setOptions
|
|
192
|
-
};
|
|
193
|
-
return /*#__PURE__*/ (0, _jsxruntime.jsxs)(WizardContext.Provider, {
|
|
194
|
-
value: _state,
|
|
195
|
-
children: [
|
|
196
|
-
children,
|
|
197
|
-
/*#__PURE__*/ (0, _jsxruntime.jsx)(_FxWizard.FxWizard, _object_spread_props(_object_spread({}, modalProps), {
|
|
198
|
-
componentStyles: componentStyles,
|
|
199
|
-
currentPage: currentPage,
|
|
200
|
-
reverse: reverse,
|
|
201
|
-
open: open,
|
|
202
|
-
onCancel: onCancel,
|
|
203
|
-
content: content
|
|
204
|
-
}))
|
|
205
|
-
]
|
|
206
|
-
});
|
|
207
|
-
};
|
package/build/FxWizard/index.js
DELETED
|
@@ -1,23 +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
|
-
FxWizard: function() {
|
|
13
|
-
return _FxWizard.FxWizard;
|
|
14
|
-
},
|
|
15
|
-
WizardContext: function() {
|
|
16
|
-
return _WizardContext.WizardContext;
|
|
17
|
-
},
|
|
18
|
-
WizardContextProvider: function() {
|
|
19
|
-
return _WizardContext.WizardContextProvider;
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
const _FxWizard = require("./FxWizard");
|
|
23
|
-
const _WizardContext = require("./WizardContext");
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
// import React from "react";
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
function _export(target, all) {
|
|
7
|
-
for(var name in all)Object.defineProperty(target, name, {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
get: all[name]
|
|
10
|
-
});
|
|
11
|
-
}
|
|
12
|
-
_export(exports, {
|
|
13
|
-
StyledContent: function() {
|
|
14
|
-
return StyledContent;
|
|
15
|
-
},
|
|
16
|
-
StyledModal: function() {
|
|
17
|
-
return StyledModal;
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
const _material = require("@mui/material");
|
|
21
|
-
const _styles = require("@mui/material/styles");
|
|
22
|
-
const _FxModal = require("../../FxModal");
|
|
23
|
-
function _define_property(obj, key, value) {
|
|
24
|
-
if (key in obj) {
|
|
25
|
-
Object.defineProperty(obj, key, {
|
|
26
|
-
value: value,
|
|
27
|
-
enumerable: true,
|
|
28
|
-
configurable: true,
|
|
29
|
-
writable: true
|
|
30
|
-
});
|
|
31
|
-
} else {
|
|
32
|
-
obj[key] = value;
|
|
33
|
-
}
|
|
34
|
-
return obj;
|
|
35
|
-
}
|
|
36
|
-
function _object_spread(target) {
|
|
37
|
-
for(var i = 1; i < arguments.length; i++){
|
|
38
|
-
var source = arguments[i] != null ? arguments[i] : {};
|
|
39
|
-
var ownKeys = Object.keys(source);
|
|
40
|
-
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
41
|
-
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
42
|
-
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
43
|
-
}));
|
|
44
|
-
}
|
|
45
|
-
ownKeys.forEach(function(key) {
|
|
46
|
-
_define_property(target, key, source[key]);
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
return target;
|
|
50
|
-
}
|
|
51
|
-
function ownKeys(object, enumerableOnly) {
|
|
52
|
-
var keys = Object.keys(object);
|
|
53
|
-
if (Object.getOwnPropertySymbols) {
|
|
54
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
|
55
|
-
if (enumerableOnly) {
|
|
56
|
-
symbols = symbols.filter(function(sym) {
|
|
57
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
58
|
-
});
|
|
59
|
-
}
|
|
60
|
-
keys.push.apply(keys, symbols);
|
|
61
|
-
}
|
|
62
|
-
return keys;
|
|
63
|
-
}
|
|
64
|
-
function _object_spread_props(target, source) {
|
|
65
|
-
source = source != null ? source : {};
|
|
66
|
-
if (Object.getOwnPropertyDescriptors) {
|
|
67
|
-
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
68
|
-
} else {
|
|
69
|
-
ownKeys(Object(source)).forEach(function(key) {
|
|
70
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
return target;
|
|
74
|
-
}
|
|
75
|
-
const StyledContent = (0, _styles.styled)(_material.Box)``;
|
|
76
|
-
const StyledModal = (0, _styles.styled)(_FxModal.FxModal)(({ theme })=>({
|
|
77
|
-
'& #customized-dialog-title': _object_spread_props(_object_spread({}, theme.typography.h5), {
|
|
78
|
-
// @ts-ignore
|
|
79
|
-
color: theme.palette.typography.title,
|
|
80
|
-
padding: 0
|
|
81
|
-
}),
|
|
82
|
-
'& .MuiDialog-paper': {
|
|
83
|
-
maxWidth: '74% !important',
|
|
84
|
-
position: 'relative'
|
|
85
|
-
},
|
|
86
|
-
'& .MuiDialogContent-root': {
|
|
87
|
-
position: 'relative'
|
|
88
|
-
}
|
|
89
|
-
}));
|
package/build/index.js
DELETED
|
@@ -1,182 +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
|
-
ActionButtonPropsType: function() {
|
|
13
|
-
return _FxActionsTray.ActionButtonPropsType;
|
|
14
|
-
},
|
|
15
|
-
ActionsTrayPropsType: function() {
|
|
16
|
-
return _FxActionsTray.ActionsTrayPropsType;
|
|
17
|
-
},
|
|
18
|
-
AggreationsBarPropsType: function() {
|
|
19
|
-
return _FxAggregationsBar.AggreationsBarPropsType;
|
|
20
|
-
},
|
|
21
|
-
AggregationsDataPropsType: function() {
|
|
22
|
-
return _FxAggregationsBar.AggregationsDataPropsType;
|
|
23
|
-
},
|
|
24
|
-
AsyncDropdownPropsType: function() {
|
|
25
|
-
return _FxAsyncDropdown.AsyncDropdownPropsType;
|
|
26
|
-
},
|
|
27
|
-
AvatarPropsType: function() {
|
|
28
|
-
return _FxAvatar.AvatarPropsType;
|
|
29
|
-
},
|
|
30
|
-
ChipPropsType: function() {
|
|
31
|
-
return _FxChip.ChipPropsType;
|
|
32
|
-
},
|
|
33
|
-
FxActionsTray: function() {
|
|
34
|
-
return _FxActionsTray.FxActionsTray;
|
|
35
|
-
},
|
|
36
|
-
FxAggregationsBar: function() {
|
|
37
|
-
return _FxAggregationsBar.FxAggregationsBar;
|
|
38
|
-
},
|
|
39
|
-
FxAsyncDropdown: function() {
|
|
40
|
-
return _FxAsyncDropdown.FxAsyncDropdown;
|
|
41
|
-
},
|
|
42
|
-
FxAvatar: function() {
|
|
43
|
-
return _FxAvatar.FxAvatar;
|
|
44
|
-
},
|
|
45
|
-
FxButton: function() {
|
|
46
|
-
return _FxButton.FxButton;
|
|
47
|
-
},
|
|
48
|
-
FxChip: function() {
|
|
49
|
-
return _FxChip.FxChip;
|
|
50
|
-
},
|
|
51
|
-
FxIcon: function() {
|
|
52
|
-
return _FxIcon.FxIcon;
|
|
53
|
-
},
|
|
54
|
-
FxModal: function() {
|
|
55
|
-
return _FxModal.FxModal;
|
|
56
|
-
},
|
|
57
|
-
FxNotes: function() {
|
|
58
|
-
return _FxNotes.FxNotes;
|
|
59
|
-
},
|
|
60
|
-
FxNumberField: function() {
|
|
61
|
-
return _FxNumberField.FxNumberField;
|
|
62
|
-
},
|
|
63
|
-
FxProgressCircle: function() {
|
|
64
|
-
return _FxProgressCircle.FxProgressCircle;
|
|
65
|
-
},
|
|
66
|
-
FxProgressCounter: function() {
|
|
67
|
-
return _FxProgressCounter.FxProgressCounter;
|
|
68
|
-
},
|
|
69
|
-
FxScore: function() {
|
|
70
|
-
return _FxScore.FxScore;
|
|
71
|
-
},
|
|
72
|
-
FxShowMore: function() {
|
|
73
|
-
return _FxShowMore.FxShowMore;
|
|
74
|
-
},
|
|
75
|
-
FxSlider: function() {
|
|
76
|
-
return _FxSlider.FxSlider;
|
|
77
|
-
},
|
|
78
|
-
FxStatisticsBar: function() {
|
|
79
|
-
return _FxStatisticsBar.FxStatisticsBar;
|
|
80
|
-
},
|
|
81
|
-
FxStatusBar: function() {
|
|
82
|
-
return _FxStatusBar.FxStatusBar;
|
|
83
|
-
},
|
|
84
|
-
FxTag: function() {
|
|
85
|
-
return _FxTag.FxTag;
|
|
86
|
-
},
|
|
87
|
-
FxTextField: function() {
|
|
88
|
-
return _FxTextField.FxTextField;
|
|
89
|
-
},
|
|
90
|
-
FxTodo: function() {
|
|
91
|
-
return _FxTodo.FxTodo;
|
|
92
|
-
},
|
|
93
|
-
FxWizard: function() {
|
|
94
|
-
return _FxWizard.FxWizard;
|
|
95
|
-
},
|
|
96
|
-
IconPropsType: function() {
|
|
97
|
-
return _FxIcon.IconPropsType;
|
|
98
|
-
},
|
|
99
|
-
ModalPropsType: function() {
|
|
100
|
-
return _FxModal.ModalPropsType;
|
|
101
|
-
},
|
|
102
|
-
NotesPropsType: function() {
|
|
103
|
-
return _FxNotes.NotesPropsType;
|
|
104
|
-
},
|
|
105
|
-
NumberfieldPropsType: function() {
|
|
106
|
-
return _FxNumberField.NumberfieldPropsType;
|
|
107
|
-
},
|
|
108
|
-
ProgressCirclePropsType: function() {
|
|
109
|
-
return _FxProgressCircle.ProgressCirclePropsType;
|
|
110
|
-
},
|
|
111
|
-
ProgressCounterPropsType: function() {
|
|
112
|
-
return _FxProgressCounter.ProgressCounterPropsType;
|
|
113
|
-
},
|
|
114
|
-
ScorePropsType: function() {
|
|
115
|
-
return _FxScore.ScorePropsType;
|
|
116
|
-
},
|
|
117
|
-
ShowMorePropsType: function() {
|
|
118
|
-
return _FxShowMore.ShowMorePropsType;
|
|
119
|
-
},
|
|
120
|
-
SliderPropsType: function() {
|
|
121
|
-
return _FxSlider.SliderPropsType;
|
|
122
|
-
},
|
|
123
|
-
StatisticsPropsType: function() {
|
|
124
|
-
return _FxStatisticsBar.StatisticsPropsType;
|
|
125
|
-
},
|
|
126
|
-
StatusBarPropsType: function() {
|
|
127
|
-
return _FxStatusBar.StatusBarPropsType;
|
|
128
|
-
},
|
|
129
|
-
TagPropsType: function() {
|
|
130
|
-
return _FxTag.TagPropsType;
|
|
131
|
-
},
|
|
132
|
-
TextFieldPropsType: function() {
|
|
133
|
-
return _FxTextField.TextFieldPropsType;
|
|
134
|
-
},
|
|
135
|
-
TodoPropsType: function() {
|
|
136
|
-
return _FxTodo.TodoPropsType;
|
|
137
|
-
},
|
|
138
|
-
WizardContext: function() {
|
|
139
|
-
return _FxWizard.WizardContext;
|
|
140
|
-
},
|
|
141
|
-
WizardContextProvider: function() {
|
|
142
|
-
return _FxWizard.WizardContextProvider;
|
|
143
|
-
},
|
|
144
|
-
WizardPropsType: function() {
|
|
145
|
-
return _FxWizard.WizardPropsType;
|
|
146
|
-
}
|
|
147
|
-
});
|
|
148
|
-
const _FxActionsTray = require("./FxActionsTray");
|
|
149
|
-
const _FxAggregationsBar = require("./FxAggregationsBar");
|
|
150
|
-
const _FxAsyncDropdown = require("./FxAsyncDropdown");
|
|
151
|
-
const _FxAvatar = require("./FxAvatar");
|
|
152
|
-
const _FxButton = require("./FxButton");
|
|
153
|
-
const _FxChip = require("./FxChip");
|
|
154
|
-
const _FxIcon = require("./FxIcon");
|
|
155
|
-
const _FxModal = require("./FxModal");
|
|
156
|
-
const _FxNotes = require("./FxNotes");
|
|
157
|
-
const _FxNumberField = require("./FxNumberField");
|
|
158
|
-
const _FxProgressCircle = require("./FxProgressCircle");
|
|
159
|
-
const _FxProgressCounter = require("./FxProgressCounter");
|
|
160
|
-
const _FxScore = require("./FxScore");
|
|
161
|
-
const _FxShowMore = require("./FxShowMore");
|
|
162
|
-
const _FxSlider = require("./FxSlider");
|
|
163
|
-
const _FxStatisticsBar = require("./FxStatisticsBar");
|
|
164
|
-
const _FxStatusBar = require("./FxStatusBar");
|
|
165
|
-
const _FxTag = require("./FxTag");
|
|
166
|
-
const _FxTextField = require("./FxTextField");
|
|
167
|
-
const _FxTodo = require("./FxTodo");
|
|
168
|
-
const _FxWizard = require("./FxWizard");
|
|
169
|
-
_export_star(require("./FxStyledComponents"), exports);
|
|
170
|
-
function _export_star(from, to) {
|
|
171
|
-
Object.keys(from).forEach(function(k) {
|
|
172
|
-
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
|
|
173
|
-
Object.defineProperty(to, k, {
|
|
174
|
-
enumerable: true,
|
|
175
|
-
get: function() {
|
|
176
|
-
return from[k];
|
|
177
|
-
}
|
|
178
|
-
});
|
|
179
|
-
}
|
|
180
|
-
});
|
|
181
|
-
return from;
|
|
182
|
-
}
|