x25 3.0.0 → 17.0.0
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/Account/Load.js +75 -0
- package/Account/actions.js +15 -0
- package/Account/index.js +20 -0
- package/Account/reducer.js +122 -0
- package/Account/request.js +44 -0
- package/Async/InitModule.js +190 -0
- package/Async/RouteLoading.js +64 -0
- package/Async/SimulatedException.js +44 -0
- package/Async/index.js +95 -0
- package/Async/types.js +1 -0
- package/Company/Load.js +82 -0
- package/Company/actions.js +15 -0
- package/Company/index.js +20 -0
- package/Company/reducer.js +165 -0
- package/Company/request.js +36 -0
- package/Company/util.js +10 -0
- package/Header/AccountOptionsContainer.js +144 -0
- package/Header/AdminSelectCompany.js +109 -0
- package/Header/ClientSelectCompany.js +104 -0
- package/Header/Header.js +127 -0
- package/Header/HeaderContainer.js +39 -0
- package/Header/Logo.js +30 -0
- package/Header/LogoutButton.js +39 -0
- package/Header/index.js +19 -0
- package/Header/request.js +26 -0
- package/Header/types.js +1 -0
- package/Header/util.js +58 -0
- package/Inputs/Business/BankAccount.js +48 -0
- package/Inputs/Business/BankName.js +49 -0
- package/Inputs/Business/CifField.js +112 -0
- package/Inputs/Business/CifFieldContainer.js +157 -0
- package/Inputs/Business/Email.js +37 -0
- package/Inputs/Business/NidField.js +91 -0
- package/Inputs/Business/Phone.js +37 -0
- package/Inputs/Business/index.js +34 -0
- package/Inputs/Business/request.js +39 -0
- package/Inputs/CaptchaBox.js +151 -0
- package/Inputs/DateInput.js +172 -0
- package/Inputs/DateTemplate.js +200 -0
- package/Inputs/DelayInputChange.js +135 -0
- package/Inputs/FocusTemplate.js +47 -0
- package/Inputs/InputTemplate.js +78 -0
- package/Inputs/LabelTemplate.js +59 -0
- package/Inputs/NumericInput.js +139 -0
- package/Inputs/NumericTemplate.js +148 -0
- package/Inputs/Selects/County.js +29 -0
- package/Inputs/Selects/Custom.js +56 -0
- package/Inputs/Selects/Simple.js +75 -0
- package/Inputs/Selects/index.js +52 -0
- package/Inputs/SimpleInput.js +42 -0
- package/Inputs/SimpleTextarea.js +47 -0
- package/Inputs/TextareaTemplate.js +55 -0
- package/Inputs/Tooltip.js +82 -0
- package/Inputs/index.js +185 -0
- package/Messages/Error.js +106 -0
- package/Messages/Loading.js +68 -0
- package/Messages/index.js +29 -0
- package/Modal/Delete.js +240 -0
- package/Modal/Root.js +81 -0
- package/Modal/SimpleModal.js +57 -0
- package/Modal/actions.js +10 -0
- package/Modal/getComponent.js +42 -0
- package/Modal/index.js +22 -0
- package/Modal/reducer.js +53 -0
- package/Modal/types.js +7 -0
- package/Modal/util.js +17 -0
- package/Payment/EstimatePrice/Description.js +92 -0
- package/Payment/EstimatePrice/PayBox.js +220 -0
- package/Payment/EstimatePrice/index.js +92 -0
- package/Payment/EstimatePrice/util.js +21 -0
- package/Payment/MobilpayForm.js +86 -0
- package/Payment/Modal/BankTransfer.js +233 -0
- package/Payment/Modal/CompanyValability.js +28 -0
- package/Payment/Modal/DoneForm.js +222 -0
- package/Payment/Modal/PaymentDone.js +53 -0
- package/Payment/Modal/index.js +27 -0
- package/Payment/actions.js +23 -0
- package/{src/Payment → Payment}/codes.js +19 -16
- package/Payment/index.js +141 -0
- package/Payment/request.js +49 -0
- package/Payment/types.js +1 -0
- package/Payment/util.js +50 -0
- package/Payment/validate.js +23 -0
- package/Sidebar.js +156 -0
- package/Things.js +53 -0
- package/actions.js +73 -0
- package/config.js +10 -0
- package/dev/ErrorBoundary.js +109 -0
- package/dev/TheError.js +113 -0
- package/dev/index.js +132 -0
- package/dev/types.js +1 -0
- package/package.json +13 -13
- package/prod/SentryErrorBoundary.js +150 -0
- package/reducer/captchas.js +51 -0
- package/reducer/counties.js +57 -0
- package/reducer/index.js +38 -0
- package/reducer/module.js +48 -0
- package/style/index.css +1 -0
- package/style/sidebar.css +1 -0
- package/types.js +1 -0
- package/utility/calendar.js +45 -0
- package/utility/date.js +111 -0
- package/utility/index.js +125 -0
- package/utility/language.js +20 -0
- package/utility/mql.js +6 -0
- package/utility/normalize-test.js +54 -0
- package/utility/normalize.js +108 -0
- package/utility/numbers.js +93 -0
- package/utility/numeric.js +103 -0
- package/utility/others.js +142 -0
- package/utility/strings-test.js +216 -0
- package/utility/strings.js +85 -0
- package/utility/validation/common.js +278 -0
- package/utility/validation/index.js +110 -0
- package/utility/validation/specific.js +14 -0
- package/utility/validation/validate/bank-test.js +41 -0
- package/utility/validation/validate/bank.js +176 -0
- package/utility/validation/validate/cif-test.js +37 -0
- package/utility/validation/validate/cif.js +44 -0
- package/utility/validation/validate/cnp-test.js +68 -0
- package/utility/validation/validate/cnp.js +193 -0
- package/{src/utility → utility}/validation/validate/date.js +61 -73
- package/utility/validation/validate/email-test.js +30 -0
- package/utility/validation/validate/email.js +11 -0
- package/utility/validation/validate/index.js +65 -0
- package/.eslintignore +0 -2
- package/.eslintrc.json +0 -275
- package/.flowconfig +0 -23
- package/conf/dev.js +0 -19
- package/conf/dist.js +0 -19
- package/conf/polyfills/tempPolyfills.js +0 -7
- package/src/Account/Load.jsx +0 -79
- package/src/Account/actions.js +0 -10
- package/src/Account/index.js +0 -11
- package/src/Account/reducer.js +0 -139
- package/src/Account/request.js +0 -36
- package/src/Async/InitModule.jsx +0 -114
- package/src/Async/RouteLoading.jsx +0 -52
- package/src/Async/SimulatedException.jsx +0 -19
- package/src/Async/index.jsx +0 -75
- package/src/Async/types.js +0 -39
- package/src/Company/Load.jsx +0 -84
- package/src/Company/actions.js +0 -10
- package/src/Company/index.js +0 -11
- package/src/Company/reducer.js +0 -201
- package/src/Company/request.js +0 -30
- package/src/Company/util.js +0 -7
- package/src/Header/AccountOptionsContainer.jsx +0 -124
- package/src/Header/AdminSelectCompany.jsx +0 -101
- package/src/Header/ClientSelectCompany.jsx +0 -90
- package/src/Header/Header.jsx +0 -120
- package/src/Header/HeaderContainer.jsx +0 -30
- package/src/Header/Logo.jsx +0 -16
- package/src/Header/LogoutButton.jsx +0 -34
- package/src/Header/index.jsx +0 -9
- package/src/Header/request.js +0 -28
- package/src/Header/types.js +0 -6
- package/src/Header/util.jsx +0 -61
- package/src/Inputs/Business/BankAccount.jsx +0 -39
- package/src/Inputs/Business/BankName.jsx +0 -40
- package/src/Inputs/Business/CifField.jsx +0 -93
- package/src/Inputs/Business/CifFieldContainer.jsx +0 -142
- package/src/Inputs/Business/Email.jsx +0 -23
- package/src/Inputs/Business/NidField.jsx +0 -77
- package/src/Inputs/Business/Phone.jsx +0 -23
- package/src/Inputs/Business/index.js +0 -16
- package/src/Inputs/Business/request.js +0 -39
- package/src/Inputs/CaptchaBox.jsx +0 -131
- package/src/Inputs/DateInput.jsx +0 -188
- package/src/Inputs/DateTemplate.jsx +0 -213
- package/src/Inputs/DelayInputChange.jsx +0 -130
- package/src/Inputs/FocusTemplate.jsx +0 -41
- package/src/Inputs/InputTemplate.jsx +0 -79
- package/src/Inputs/LabelTemplate.jsx +0 -47
- package/src/Inputs/NumericInput.jsx +0 -142
- package/src/Inputs/NumericTemplate.jsx +0 -155
- package/src/Inputs/Selects/County.jsx +0 -19
- package/src/Inputs/Selects/Custom.jsx +0 -55
- package/src/Inputs/Selects/Simple.jsx +0 -73
- package/src/Inputs/Selects/index.jsx +0 -37
- package/src/Inputs/SimpleInput.jsx +0 -40
- package/src/Inputs/SimpleTextarea.jsx +0 -55
- package/src/Inputs/TextareaTemplate.jsx +0 -57
- package/src/Inputs/Tooltip.jsx +0 -61
- package/src/Inputs/index.js +0 -22
- package/src/Messages/Error.jsx +0 -83
- package/src/Messages/Loading.jsx +0 -43
- package/src/Messages/index.jsx +0 -4
- package/src/Modal/Delete.jsx +0 -237
- package/src/Modal/Root.jsx +0 -57
- package/src/Modal/SimpleModal.jsx +0 -47
- package/src/Modal/actions.js +0 -7
- package/src/Modal/getComponent.jsx +0 -32
- package/src/Modal/index.jsx +0 -12
- package/src/Modal/reducer.js +0 -40
- package/src/Modal/types.js +0 -6
- package/src/Modal/util.js +0 -15
- package/src/Payment/EstimatePrice/Description.jsx +0 -101
- package/src/Payment/EstimatePrice/PayBox.jsx +0 -173
- package/src/Payment/EstimatePrice/index.jsx +0 -63
- package/src/Payment/EstimatePrice/util.js +0 -15
- package/src/Payment/MobilpayForm.jsx +0 -77
- package/src/Payment/Modal/BankTransfer.jsx +0 -129
- package/src/Payment/Modal/CompanyValability.jsx +0 -14
- package/src/Payment/Modal/DoneForm.jsx +0 -209
- package/src/Payment/Modal/PaymentDone.jsx +0 -27
- package/src/Payment/Modal/index.js +0 -13
- package/src/Payment/actions.jsx +0 -22
- package/src/Payment/index.jsx +0 -124
- package/src/Payment/request.js +0 -50
- package/src/Payment/types.js +0 -14
- package/src/Payment/util.jsx +0 -52
- package/src/Payment/validate.js +0 -25
- package/src/Sidebar.jsx +0 -158
- package/src/Things.jsx +0 -35
- package/src/actions.js +0 -36
- package/src/config.js +0 -7
- package/src/dev/ErrorBoundary.jsx +0 -98
- package/src/dev/TheError.jsx +0 -87
- package/src/dev/index.js +0 -127
- package/src/dev/types.js +0 -10
- package/src/prod/SentryErrorBoundary.jsx +0 -98
- package/src/reducer/captchas.js +0 -44
- package/src/reducer/counties.js +0 -46
- package/src/reducer/index.js +0 -25
- package/src/reducer/module.jsx +0 -43
- package/src/style/.sass-lint.yml +0 -84
- package/src/style/.stylelintrc.json +0 -161
- package/src/style/_fancy-text.scss +0 -37
- package/src/style/_fix_bootstrap_placeholder_color.scss +0 -14
- package/src/style/_header-company.scss +0 -69
- package/src/style/_inputs.scss +0 -12
- package/src/style/_minimal.scss +0 -31
- package/src/style/_navigation.scss +0 -24
- package/src/style/_others.scss +0 -79
- package/src/style/index.scss +0 -7
- package/src/style/sidebar/_animations.scss +0 -21
- package/src/style/sidebar/_dark-theme.scss +0 -77
- package/src/style/sidebar/_scroll.scss +0 -37
- package/src/style/sidebar/_structure.scss +0 -299
- package/src/style/sidebar.scss +0 -4
- package/src/types.js +0 -31
- package/src/utility/calendar.js +0 -39
- package/src/utility/date.js +0 -100
- package/src/utility/index.js +0 -12
- package/src/utility/language.js +0 -17
- package/src/utility/mql.js +0 -3
- package/src/utility/normalize-test.js +0 -58
- package/src/utility/normalize.js +0 -119
- package/src/utility/numbers.js +0 -87
- package/src/utility/numeric.js +0 -114
- package/src/utility/others.jsx +0 -160
- package/src/utility/strings-test.js +0 -136
- package/src/utility/strings.js +0 -80
- package/src/utility/validation/common.js +0 -360
- package/src/utility/validation/index.js +0 -70
- package/src/utility/validation/specific.js +0 -9
- package/src/utility/validation/validate/bank-test.js +0 -129
- package/src/utility/validation/validate/bank.js +0 -176
- package/src/utility/validation/validate/cif-test.js +0 -105
- package/src/utility/validation/validate/cif.js +0 -44
- package/src/utility/validation/validate/cnp-test.js +0 -216
- package/src/utility/validation/validate/cnp.js +0 -261
- package/src/utility/validation/validate/email-test.js +0 -36
- package/src/utility/validation/validate/email.js +0 -6
- package/src/utility/validation/validate/index.js +0 -7
- package/webpack.config.js +0 -90
- package/x25.wiki/Account.md +0 -41
- package/x25.wiki/Company.md +0 -39
- package/x25.wiki/Header.md +0 -21
- package/x25.wiki/Home.md +0 -1
- package/x25.wiki/Inputs.md +0 -33
- package/x25.wiki/Messages.md +0 -27
- package/x25.wiki/Payment.md +0 -42
package/Modal/Delete.js
ADDED
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
|
|
7
|
+
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
|
8
|
+
|
|
9
|
+
var _react = require("react");
|
|
10
|
+
|
|
11
|
+
var _react2 = _interopRequireDefault(_react);
|
|
12
|
+
|
|
13
|
+
var _reactRedux = require("react-redux");
|
|
14
|
+
|
|
15
|
+
var _reactstrap = require("reactstrap");
|
|
16
|
+
|
|
17
|
+
var _utility = require("../utility");
|
|
18
|
+
|
|
19
|
+
var _actions = require("./actions");
|
|
20
|
+
|
|
21
|
+
var actions = _interopRequireWildcard(_actions);
|
|
22
|
+
|
|
23
|
+
var _actions2 = require("../actions");
|
|
24
|
+
|
|
25
|
+
var x25Actions = _interopRequireWildcard(_actions2);
|
|
26
|
+
|
|
27
|
+
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
|
|
28
|
+
|
|
29
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
30
|
+
|
|
31
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
32
|
+
|
|
33
|
+
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
|
34
|
+
|
|
35
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
|
36
|
+
/* eslint-disable handle-callback-err, react/forbid-component-props, no-console */
|
|
37
|
+
|
|
38
|
+
var languageMessage = _utility.language.message,
|
|
39
|
+
label = _utility.language.label;
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
var mapDispatchToProps = function mapDispatchToProps(dispatch) {
|
|
43
|
+
return {
|
|
44
|
+
closeModal: function closeModal() {
|
|
45
|
+
dispatch(actions.hideModal());
|
|
46
|
+
},
|
|
47
|
+
showError: function showError(errMessage) {
|
|
48
|
+
dispatch(x25Actions.notifyError(errMessage));
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
var Confirm = function (_React$Component) {
|
|
54
|
+
_inherits(Confirm, _React$Component);
|
|
55
|
+
|
|
56
|
+
function Confirm(props) {
|
|
57
|
+
_classCallCheck(this, Confirm);
|
|
58
|
+
|
|
59
|
+
var _this = _possibleConstructorReturn(this, (Confirm.__proto__ || Object.getPrototypeOf(Confirm)).call(this, props));
|
|
60
|
+
|
|
61
|
+
var that = _this;
|
|
62
|
+
|
|
63
|
+
_this.state = {
|
|
64
|
+
isPerforming: false
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
_this.handleConfirmButton = function (node) {
|
|
68
|
+
_this.field = node;
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
_this.focusConfirmButton = function () {
|
|
72
|
+
return setTimeout(function () {
|
|
73
|
+
var focusButton = _this.props.focusButton;
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
if (focusButton) {
|
|
77
|
+
setTimeout(function () {
|
|
78
|
+
var field = _this.field;
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
if (field && field !== null) {
|
|
82
|
+
field.focus();
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
_this.startPerforming = function (cb) {
|
|
90
|
+
_this.setState({
|
|
91
|
+
isPerforming: true
|
|
92
|
+
}, cb);
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
_this.endPerforming = function (cb) {
|
|
96
|
+
return _this.setState({
|
|
97
|
+
isPerforming: false
|
|
98
|
+
}, function () {
|
|
99
|
+
|
|
100
|
+
/* eslint-disable callback-return */
|
|
101
|
+
|
|
102
|
+
that.focusConfirmButton();
|
|
103
|
+
|
|
104
|
+
if (typeof cb === "function") {
|
|
105
|
+
cb();
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
var startPerforming = _this.startPerforming,
|
|
111
|
+
endPerforming = _this.endPerforming;
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
_this.handleConfirmation = function () {
|
|
115
|
+
var _this$props = _this.props,
|
|
116
|
+
request = _this$props.request,
|
|
117
|
+
onSuccess = _this$props.onSuccess,
|
|
118
|
+
closeModal = _this$props.closeModal,
|
|
119
|
+
errMessage = _this$props.errMessage,
|
|
120
|
+
showError = _this$props.showError,
|
|
121
|
+
isResponseValid = _this$props.isResponseValid;
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
startPerforming(function () {
|
|
125
|
+
request().then(function (response) {
|
|
126
|
+
var _isResponseValid = isResponseValid(response),
|
|
127
|
+
valid = _isResponseValid.valid,
|
|
128
|
+
error = _isResponseValid.error;
|
|
129
|
+
|
|
130
|
+
if (valid) {
|
|
131
|
+
closeModal();
|
|
132
|
+
onSuccess(response);
|
|
133
|
+
} else {
|
|
134
|
+
endPerforming();
|
|
135
|
+
showError(error);
|
|
136
|
+
}
|
|
137
|
+
}).catch(function (exception) {
|
|
138
|
+
endPerforming();
|
|
139
|
+
showError(errMessage);
|
|
140
|
+
// eslint-disable
|
|
141
|
+
console.log("exception", exception);
|
|
142
|
+
});
|
|
143
|
+
});
|
|
144
|
+
};
|
|
145
|
+
return _this;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/* eslint-disable max-statements */
|
|
149
|
+
|
|
150
|
+
_createClass(Confirm, [{
|
|
151
|
+
key: "componentDidMount",
|
|
152
|
+
value: function componentDidMount() {
|
|
153
|
+
this.focusConfirmButton();
|
|
154
|
+
}
|
|
155
|
+
}, {
|
|
156
|
+
key: "shouldComponentUpdate",
|
|
157
|
+
value: function shouldComponentUpdate(nextProps, nextState) {
|
|
158
|
+
return this.props.cancelButtonLabel !== nextProps.cancelButtonLabel || this.props.confirmButtonLabel !== nextProps.confirmButtonLabel || this.props.focusButton !== nextProps.focusButton || this.props.title !== nextProps.title || this.props.confirmButtonColor !== nextProps.confirmButtonColor || this.state.isPerforming !== nextState.isPerforming;
|
|
159
|
+
}
|
|
160
|
+
}, {
|
|
161
|
+
key: "render",
|
|
162
|
+
value: function render() {
|
|
163
|
+
var isPerforming = this.state.isPerforming;
|
|
164
|
+
var _props = this.props,
|
|
165
|
+
cancelButtonLabel = _props.cancelButtonLabel,
|
|
166
|
+
confirmButtonLabel = _props.confirmButtonLabel,
|
|
167
|
+
message = _props.message,
|
|
168
|
+
title = _props.title,
|
|
169
|
+
confirmButtonColor = _props.confirmButtonColor,
|
|
170
|
+
closeModal = _props.closeModal;
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
var getConfirmButtonText = function getConfirmButtonText() {
|
|
174
|
+
if (isPerforming) {
|
|
175
|
+
return _react2.default.createElement(
|
|
176
|
+
"span",
|
|
177
|
+
null,
|
|
178
|
+
_react2.default.createElement("i", { className: "fa fa-refresh fa-spin fa-fw" }),
|
|
179
|
+
" Așteaptă"
|
|
180
|
+
);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
return confirmButtonLabel;
|
|
184
|
+
};
|
|
185
|
+
|
|
186
|
+
return _react2.default.createElement(
|
|
187
|
+
_reactstrap.Modal,
|
|
188
|
+
{ autoFocus: !this.props.focusButton, isOpen: true, toggle: closeModal, zIndex: "1061" },
|
|
189
|
+
_react2.default.createElement(
|
|
190
|
+
_reactstrap.ModalHeader,
|
|
191
|
+
{ toggle: closeModal },
|
|
192
|
+
title
|
|
193
|
+
),
|
|
194
|
+
_react2.default.createElement(
|
|
195
|
+
_reactstrap.ModalBody,
|
|
196
|
+
null,
|
|
197
|
+
message
|
|
198
|
+
),
|
|
199
|
+
_react2.default.createElement(
|
|
200
|
+
_reactstrap.ModalFooter,
|
|
201
|
+
null,
|
|
202
|
+
_react2.default.createElement(
|
|
203
|
+
_reactstrap.Button,
|
|
204
|
+
{ className: "me-1", color: "secondary", onClick: closeModal },
|
|
205
|
+
cancelButtonLabel
|
|
206
|
+
),
|
|
207
|
+
_react2.default.createElement(
|
|
208
|
+
"button",
|
|
209
|
+
{
|
|
210
|
+
className: "btn " + (confirmButtonColor ? "btn-" + confirmButtonColor : ""),
|
|
211
|
+
disabled: isPerforming,
|
|
212
|
+
onClick: this.handleConfirmation,
|
|
213
|
+
ref: this.handleConfirmButton,
|
|
214
|
+
type: "button" },
|
|
215
|
+
getConfirmButtonText()
|
|
216
|
+
)
|
|
217
|
+
)
|
|
218
|
+
);
|
|
219
|
+
}
|
|
220
|
+
}]);
|
|
221
|
+
|
|
222
|
+
return Confirm;
|
|
223
|
+
}(_react2.default.Component);
|
|
224
|
+
|
|
225
|
+
Confirm.defaultProps = {
|
|
226
|
+
errMessage: languageMessage.failPerform,
|
|
227
|
+
title: label.confirmation,
|
|
228
|
+
cancelButtonLabel: label.cancel,
|
|
229
|
+
confirmButtonColor: "danger",
|
|
230
|
+
confirmButtonLabel: label.remove,
|
|
231
|
+
focusButton: true,
|
|
232
|
+
|
|
233
|
+
isResponseValid: function isResponseValid(response) {
|
|
234
|
+
return {
|
|
235
|
+
valid: response === "",
|
|
236
|
+
error: response
|
|
237
|
+
};
|
|
238
|
+
}
|
|
239
|
+
};
|
|
240
|
+
exports.default = (0, _reactRedux.connect)(null, mapDispatchToProps)(Confirm);
|
package/Modal/Root.js
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
|
|
7
|
+
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
8
|
+
|
|
9
|
+
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
|
10
|
+
|
|
11
|
+
var _reactRedux = require("react-redux");
|
|
12
|
+
|
|
13
|
+
var _react = require("react");
|
|
14
|
+
|
|
15
|
+
var _react2 = _interopRequireDefault(_react);
|
|
16
|
+
|
|
17
|
+
var _getComponent = require("./getComponent");
|
|
18
|
+
|
|
19
|
+
var _getComponent2 = _interopRequireDefault(_getComponent);
|
|
20
|
+
|
|
21
|
+
var _reducer = require("./reducer");
|
|
22
|
+
|
|
23
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
24
|
+
|
|
25
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
26
|
+
|
|
27
|
+
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
|
28
|
+
|
|
29
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
|
30
|
+
|
|
31
|
+
var mapStateToProps = function mapStateToProps(state) {
|
|
32
|
+
return {
|
|
33
|
+
list: _reducer.selectors.getModals(state)
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
var ModalRoot = function (_React$Component) {
|
|
38
|
+
_inherits(ModalRoot, _React$Component);
|
|
39
|
+
|
|
40
|
+
function ModalRoot() {
|
|
41
|
+
_classCallCheck(this, ModalRoot);
|
|
42
|
+
|
|
43
|
+
return _possibleConstructorReturn(this, (ModalRoot.__proto__ || Object.getPrototypeOf(ModalRoot)).apply(this, arguments));
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
_createClass(ModalRoot, [{
|
|
47
|
+
key: "shouldComponentUpdate",
|
|
48
|
+
value: function shouldComponentUpdate(nextProps) {
|
|
49
|
+
return this.props.list !== nextProps.list;
|
|
50
|
+
}
|
|
51
|
+
}, {
|
|
52
|
+
key: "render",
|
|
53
|
+
value: function render() {
|
|
54
|
+
var list = this.props.list;
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
if (list.size === 0) {
|
|
58
|
+
return null;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return list.map(function (current, index) {
|
|
62
|
+
var modalType = current.get("type"),
|
|
63
|
+
Component = (0, _getComponent2.default)(modalType);
|
|
64
|
+
|
|
65
|
+
if (typeof Component === "undefined") {
|
|
66
|
+
return _react2.default.createElement(
|
|
67
|
+
"div",
|
|
68
|
+
null,
|
|
69
|
+
"No MODAL component for the type [" + modalType + "] in Modal/components.jsx"
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
return _react2.default.createElement(Component, _extends({ key: index }, current.get("props").toJS()));
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
}]);
|
|
77
|
+
|
|
78
|
+
return ModalRoot;
|
|
79
|
+
}(_react2.default.Component);
|
|
80
|
+
|
|
81
|
+
exports.default = (0, _reactRedux.connect)(mapStateToProps)(ModalRoot);
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
|
|
7
|
+
var _reactRedux = require("react-redux");
|
|
8
|
+
|
|
9
|
+
var _react = require("react");
|
|
10
|
+
|
|
11
|
+
var _react2 = _interopRequireDefault(_react);
|
|
12
|
+
|
|
13
|
+
var _reactstrap = require("reactstrap");
|
|
14
|
+
|
|
15
|
+
var _actions = require("./actions");
|
|
16
|
+
|
|
17
|
+
var _utility = require("../utility");
|
|
18
|
+
|
|
19
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
20
|
+
|
|
21
|
+
var mapDispatchToProps = function mapDispatchToProps(dispatch, _ref) {
|
|
22
|
+
var cbHideModal = _ref.cbHideModal;
|
|
23
|
+
return {
|
|
24
|
+
hideModal: function hideModal() {
|
|
25
|
+
(0, _utility.delay)().then(function () {
|
|
26
|
+
dispatch((0, _actions.hideModal)());
|
|
27
|
+
}).then(function () {
|
|
28
|
+
if (typeof cbHideModal === "function") {
|
|
29
|
+
cbHideModal();
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
var SimpleModal = function SimpleModal(_ref2) {
|
|
37
|
+
var hideModal = _ref2.hideModal,
|
|
38
|
+
children = _ref2.children,
|
|
39
|
+
size = _ref2.size,
|
|
40
|
+
title = _ref2.title;
|
|
41
|
+
return _react2.default.createElement(
|
|
42
|
+
_reactstrap.Modal,
|
|
43
|
+
{ autoFocus: true, isOpen: true, size: size, toggle: hideModal, zIndex: "1061" },
|
|
44
|
+
_react2.default.createElement(
|
|
45
|
+
_reactstrap.ModalHeader,
|
|
46
|
+
{ toggle: hideModal },
|
|
47
|
+
title
|
|
48
|
+
),
|
|
49
|
+
_react2.default.createElement(
|
|
50
|
+
_reactstrap.ModalBody,
|
|
51
|
+
null,
|
|
52
|
+
children
|
|
53
|
+
)
|
|
54
|
+
);
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
exports.default = (0, _reactRedux.connect)(null, mapDispatchToProps)(SimpleModal);
|
package/Modal/actions.js
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
|
|
7
|
+
var _react = require("react");
|
|
8
|
+
|
|
9
|
+
var _react2 = _interopRequireDefault(_react);
|
|
10
|
+
|
|
11
|
+
var _util = require("./util");
|
|
12
|
+
|
|
13
|
+
var _Messages = require("../Messages");
|
|
14
|
+
|
|
15
|
+
var _SimpleModal = require("./SimpleModal");
|
|
16
|
+
|
|
17
|
+
var _SimpleModal2 = _interopRequireDefault(_SimpleModal);
|
|
18
|
+
|
|
19
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
20
|
+
|
|
21
|
+
var NothingSelected = function NothingSelected() {
|
|
22
|
+
return _react2.default.createElement(
|
|
23
|
+
_SimpleModal2.default,
|
|
24
|
+
{ title: "Not registred" },
|
|
25
|
+
_react2.default.createElement(_Messages.ErrorMessage, {
|
|
26
|
+
message: "Please define a modal component in Modal/components.jsx"
|
|
27
|
+
})
|
|
28
|
+
);
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
/* eslint-disable complexity */
|
|
32
|
+
var getComponent = function getComponent(type) {
|
|
33
|
+
var AutoModal = (0, _util.getModal)(type);
|
|
34
|
+
|
|
35
|
+
if (AutoModal !== null) {
|
|
36
|
+
return AutoModal;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
return NothingSelected;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
exports.default = getComponent;
|
package/Modal/index.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.SimpleModal = exports.Delete = exports.injectModals = undefined;
|
|
7
|
+
|
|
8
|
+
var _Delete = require("./Delete");
|
|
9
|
+
|
|
10
|
+
var _Delete2 = _interopRequireDefault(_Delete);
|
|
11
|
+
|
|
12
|
+
var _SimpleModal = require("./SimpleModal");
|
|
13
|
+
|
|
14
|
+
var _SimpleModal2 = _interopRequireDefault(_SimpleModal);
|
|
15
|
+
|
|
16
|
+
var _util = require("./util");
|
|
17
|
+
|
|
18
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19
|
+
|
|
20
|
+
exports.injectModals = _util.injectModals;
|
|
21
|
+
exports.Delete = _Delete2.default;
|
|
22
|
+
exports.SimpleModal = _SimpleModal2.default;
|
package/Modal/reducer.js
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.selectors = undefined;
|
|
7
|
+
|
|
8
|
+
var _immutable = require("immutable");
|
|
9
|
+
|
|
10
|
+
var Immutable = _interopRequireWildcard(_immutable);
|
|
11
|
+
|
|
12
|
+
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
|
|
13
|
+
|
|
14
|
+
var initialState = Immutable.List();
|
|
15
|
+
|
|
16
|
+
var showModal = function showModal(state, _ref) {
|
|
17
|
+
var _ref$payload = _ref.payload,
|
|
18
|
+
modalType = _ref$payload.modalType,
|
|
19
|
+
modalProps = _ref$payload.modalProps;
|
|
20
|
+
return state.push(Immutable.Map({
|
|
21
|
+
type: modalType,
|
|
22
|
+
props: Immutable.Map(modalProps)
|
|
23
|
+
}));
|
|
24
|
+
},
|
|
25
|
+
hideModal = function hideModal(state) {
|
|
26
|
+
return state.pop();
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
var reducer = function reducer() {
|
|
30
|
+
var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : initialState;
|
|
31
|
+
var action = arguments[1];
|
|
32
|
+
|
|
33
|
+
switch (action.type) {
|
|
34
|
+
case "SHOW_MODAL":
|
|
35
|
+
return showModal(state, action);
|
|
36
|
+
|
|
37
|
+
case "HIDE_MODAL":
|
|
38
|
+
return hideModal(state);
|
|
39
|
+
|
|
40
|
+
default:
|
|
41
|
+
return state;
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
var getModals = function getModals(state) {
|
|
46
|
+
return state.get("modal") || Immutable.List();
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
var selectors = exports.selectors = {
|
|
50
|
+
getModals: getModals
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
exports.default = reducer;
|
package/Modal/types.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _react = require("react");
|
|
4
|
+
|
|
5
|
+
var React = _interopRequireWildcard(_react);
|
|
6
|
+
|
|
7
|
+
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
|
package/Modal/util.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
|
|
7
|
+
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
8
|
+
|
|
9
|
+
var all = {};
|
|
10
|
+
|
|
11
|
+
var injectModals = exports.injectModals = function injectModals(newModals) {
|
|
12
|
+
all = _extends({}, all, newModals);
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
var getModal = exports.getModal = function getModal(type) {
|
|
16
|
+
return all[type];
|
|
17
|
+
};
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
|
|
7
|
+
var _react = require("react");
|
|
8
|
+
|
|
9
|
+
var _react2 = _interopRequireDefault(_react);
|
|
10
|
+
|
|
11
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
12
|
+
|
|
13
|
+
var Description = function Description() {
|
|
14
|
+
return _react2.default.createElement(
|
|
15
|
+
"div",
|
|
16
|
+
{ className: "" },
|
|
17
|
+
_react2.default.createElement(
|
|
18
|
+
"div",
|
|
19
|
+
{ className: "pricing-header px-3 py-3 pt-md-5 pb-md-4 mx-auto text-center" },
|
|
20
|
+
_react2.default.createElement(
|
|
21
|
+
"h1",
|
|
22
|
+
null,
|
|
23
|
+
_react2.default.createElement(
|
|
24
|
+
"svg",
|
|
25
|
+
{
|
|
26
|
+
"aria-hidden": "true",
|
|
27
|
+
"data-icon": "file-invoice-dollar",
|
|
28
|
+
"data-prefix": "fas", focusable: "false", role: "img", style: {
|
|
29
|
+
width: "2em"
|
|
30
|
+
},
|
|
31
|
+
viewBox: "0 0 600 600",
|
|
32
|
+
xmlns: "http://www.w3.org/2000/svg" },
|
|
33
|
+
_react2.default.createElement(
|
|
34
|
+
"g",
|
|
35
|
+
null,
|
|
36
|
+
_react2.default.createElement(
|
|
37
|
+
"g",
|
|
38
|
+
null,
|
|
39
|
+
_react2.default.createElement(
|
|
40
|
+
"g",
|
|
41
|
+
null,
|
|
42
|
+
_react2.default.createElement("path", { d: "M118.033,127.717h117.73c4.645,0,8.411-3.766,8.411-8.411c0-4.645-3.766-8.412-8.411-8.412h-117.73\r c-4.645,0-8.411,3.766-8.411,8.412C109.622,123.951,113.388,127.717,118.033,127.717z" }),
|
|
43
|
+
_react2.default.createElement("path", { d: "M302.104,157.821h-184.07c-4.645,0-8.411,3.766-8.411,8.412s3.766,8.411,8.411,8.411h184.07\r c4.645,0,8.411-3.766,8.411-8.411S306.749,157.821,302.104,157.821z" }),
|
|
44
|
+
_react2.default.createElement("path", { d: "M118.033,221.569h117.73c4.645,0,8.411-3.766,8.411-8.412c0-4.645-3.766-8.411-8.411-8.411h-117.73\r c-4.645,0-8.411,3.766-8.411,8.411C109.622,217.803,113.388,221.569,118.033,221.569z" }),
|
|
45
|
+
_react2.default.createElement("path", { d: "M287.613,366.171H108.608c-4.645,0-8.411,3.766-8.411,8.412v52.641c0,4.645,3.766,8.411,8.411,8.411h179.005\r c4.645,0,8.412-3.766,8.412-8.411v-52.641C296.025,369.937,292.26,366.171,287.613,366.171z M279.202,418.813H117.02v-35.819\r h162.182V418.813z" }),
|
|
46
|
+
_react2.default.createElement("path", { d: "M118.033,268.495h65.793c4.645,0,8.412-3.766,8.412-8.412c0-4.645-3.766-8.411-8.412-8.411h-65.793\r c-4.645,0-8.411,3.766-8.411,8.411C109.622,264.729,113.388,268.495,118.033,268.495z" }),
|
|
47
|
+
_react2.default.createElement("path", { d: "M118.033,315.421h117.73c4.645,0,8.411-3.766,8.411-8.412c0-4.645-3.766-8.411-8.411-8.411h-117.73\r c-4.645,0-8.411,3.766-8.411,8.411C109.622,311.655,113.388,315.421,118.033,315.421z" }),
|
|
48
|
+
_react2.default.createElement("path", { d: "M302.104,63.967h-184.07c-4.645,0-8.411,3.766-8.411,8.412c0,4.645,3.766,8.411,8.411,8.411h184.07\r c4.645,0,8.411-3.766,8.411-8.411C310.515,67.733,306.749,63.967,302.104,63.967z" }),
|
|
49
|
+
_react2.default.createElement("path", { d: "M358.442,315.421h36.213c4.645,0,8.411-3.766,8.411-8.412c0-4.645-3.766-8.411-8.411-8.411h-36.213\r c-4.645,0-8.411,3.766-8.411,8.411C350.03,311.655,353.796,315.421,358.442,315.421z" }),
|
|
50
|
+
_react2.default.createElement("path", { d: "M382.093,391.813v-14.915c2.649,0.688,5.397,1.864,8.145,3.337c1.079,0.59,2.258,0.884,3.435,0.884\r c3.728,0,6.672-2.845,6.672-6.574c0-2.943-1.668-4.808-3.533-5.888c-4.219-2.355-8.93-3.924-14.228-4.709v-1.374\r c0-2.844-2.258-5.102-5.103-5.102c-2.845,0-5.102,2.258-5.102,5.102v1.179c-12.365,1.276-20.608,8.537-20.608,19.33\r c0,11.679,6.967,17.075,21.097,20.902v15.603c-4.514-0.981-8.438-2.845-12.56-5.494c-1.178-0.785-2.551-1.276-3.828-1.276\r c-3.827,0-6.771,2.845-6.771,6.672c0,2.65,1.276,4.612,3.337,5.888c5.789,3.532,12.364,5.986,19.332,6.868v5.299\r c0,2.844,2.257,5.103,5.102,5.103c2.845,0,5.103-2.259,5.103-5.103v-5.202c12.364-1.374,20.802-8.438,20.802-19.428\r C403.386,401.921,397.008,395.836,382.093,391.813z M372.869,389.263c-5.397-1.964-6.771-4.024-6.771-7.066\r c0-3.14,2.06-5.496,6.771-6.183V389.263z M382.093,420.075v-13.639c5.299,1.864,6.967,4.022,6.967,7.26\r C389.061,417.229,386.705,419.388,382.093,420.075z" }),
|
|
51
|
+
_react2.default.createElement("path", { d: "M358.442,80.79h36.213c4.645,0,8.411-3.766,8.411-8.411c0-4.645-3.766-8.412-8.411-8.412h-36.213\r c-4.645,0-8.411,3.766-8.411,8.412C350.03,77.024,353.796,80.79,358.442,80.79z" }),
|
|
52
|
+
_react2.default.createElement("path", { d: "M358.442,268.495h36.213c4.645,0,8.411-3.766,8.411-8.412c0-4.645-3.766-8.411-8.411-8.411h-36.213\r c-4.645,0-8.411,3.766-8.411,8.411C350.03,264.729,353.796,268.495,358.442,268.495z" }),
|
|
53
|
+
_react2.default.createElement("path", { d: "M429.771,0H82.224C68.309,0,56.989,11.32,56.989,25.235V491.26c0,11.324,7.087,19.232,17.234,19.232\r c3.287,0,6.647-0.865,9.986-2.569l17.684-9.031c2.783-1.421,6.849-2.236,11.157-2.236c4.308,0,8.375,0.815,11.157,2.235\r l17.684,9.032c5.147,2.629,11.827,4.076,18.808,4.076c6.98,0,13.66-1.448,18.808-4.077l17.686-9.032\r c2.781-1.421,6.847-2.236,11.155-2.236c4.308,0,8.376,0.815,11.158,2.236l17.684,9.032c5.148,2.629,11.827,4.076,18.808,4.076\r c6.98,0,13.66-1.448,18.808-4.077l17.686-9.032c2.781-1.421,6.847-2.236,11.155-2.236c4.308,0,8.376,0.815,11.158,2.236\r l17.684,9.032c5.147,2.629,11.827,4.076,18.808,4.076c6.982,0,13.66-1.448,18.808-4.077l17.684-9.031\r c2.783-1.421,6.849-2.236,11.157-2.236c4.308,0,8.375,0.815,11.157,2.235l17.684,9.032c3.339,1.705,6.698,2.569,9.985,2.569\r h0.001c5.081,0,9.627-2.085,12.802-5.87c2.899-3.457,4.431-8.077,4.431-13.362V25.231C455.005,11.32,443.685,0,429.771,0z\r M438.182,491.26c0,1.32-0.25,2.092-0.41,2.409c-0.274,0-1.048-0.071-2.335-0.729l-17.683-9.032\r c-5.148-2.629-11.827-4.076-18.808-4.076c-6.98,0-13.66,1.448-18.808,4.077l-17.684,9.031c-2.783,1.421-6.849,2.236-11.157,2.236\r c-4.308,0-8.375-0.815-11.157-2.235l-17.683-9.032c-5.148-2.629-11.828-4.077-18.809-4.077c-6.982,0-13.66,1.448-18.807,4.077\r l-17.684,9.031c-2.783,1.421-6.849,2.236-11.157,2.236c-4.308,0-8.375-0.815-11.157-2.235l-17.684-9.032\r c-5.148-2.629-11.828-4.077-18.809-4.077s-13.66,1.448-18.807,4.077l-17.684,9.031c-2.783,1.421-6.849,2.236-11.157,2.236\r c-4.308,0-8.375-0.815-11.157-2.235l-17.684-9.032c-5.148-2.629-11.827-4.076-18.808-4.076c-6.98,0-13.66,1.448-18.808,4.077\r l-17.684,9.031c-1.289,0.658-2.063,0.729-2.335,0.729H74.22c-0.16-0.317-0.41-1.089-0.41-2.409l0.003-466.027\r c0-4.639,3.774-8.412,8.412-8.412h347.547c4.638,0,8.411,3.773,8.411,8.412V491.26z" }),
|
|
54
|
+
_react2.default.createElement("path", { d: "M358.442,221.569h36.213c4.645,0,8.411-3.766,8.411-8.412c0-4.645-3.766-8.411-8.411-8.411h-36.213\r c-4.645,0-8.411,3.766-8.411,8.411C350.03,217.803,353.796,221.569,358.442,221.569z" }),
|
|
55
|
+
_react2.default.createElement("path", { d: "M358.442,127.717h36.213c4.645,0,8.411-3.766,8.411-8.411c0-4.645-3.766-8.412-8.411-8.412h-36.213\r c-4.645,0-8.411,3.766-8.411,8.412C350.03,123.951,353.796,127.717,358.442,127.717z" }),
|
|
56
|
+
_react2.default.createElement("path", { d: "M358.442,174.644h36.213c4.645,0,8.411-3.766,8.411-8.411s-3.766-8.412-8.411-8.412h-36.213\r c-4.645,0-8.411,3.766-8.411,8.412S353.796,174.644,358.442,174.644z" })
|
|
57
|
+
)
|
|
58
|
+
)
|
|
59
|
+
),
|
|
60
|
+
_react2.default.createElement("g", null),
|
|
61
|
+
_react2.default.createElement("g", null),
|
|
62
|
+
_react2.default.createElement("g", null),
|
|
63
|
+
_react2.default.createElement("g", null),
|
|
64
|
+
_react2.default.createElement("g", null),
|
|
65
|
+
_react2.default.createElement("g", null),
|
|
66
|
+
_react2.default.createElement("g", null),
|
|
67
|
+
_react2.default.createElement("g", null),
|
|
68
|
+
_react2.default.createElement("g", null),
|
|
69
|
+
_react2.default.createElement("g", null),
|
|
70
|
+
_react2.default.createElement("g", null),
|
|
71
|
+
_react2.default.createElement("g", null),
|
|
72
|
+
_react2.default.createElement("g", null),
|
|
73
|
+
_react2.default.createElement("g", null),
|
|
74
|
+
_react2.default.createElement("g", null)
|
|
75
|
+
)
|
|
76
|
+
),
|
|
77
|
+
_react2.default.createElement(
|
|
78
|
+
"h2",
|
|
79
|
+
null,
|
|
80
|
+
"Facturare"
|
|
81
|
+
),
|
|
82
|
+
_react2.default.createElement(
|
|
83
|
+
"p",
|
|
84
|
+
{ className: "lead" },
|
|
85
|
+
"\n Bucur\u0103te de avantajele factur\u0103rii online"
|
|
86
|
+
)
|
|
87
|
+
)
|
|
88
|
+
);
|
|
89
|
+
};
|
|
90
|
+
/* eslint-disable max-len */
|
|
91
|
+
|
|
92
|
+
exports.default = Description;
|