ui-kit-ck-consultant 0.5.212 → 0.5.215
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/index.css +30 -13
- package/dist/index.js +12 -6
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +12 -6
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
@@ -276,6 +276,7 @@ var FormInput = /*#__PURE__*/function (_React$Component) {
|
|
276
276
|
}, "*") : '') : '', /*#__PURE__*/React.createElement("div", {
|
277
277
|
className: style$2.form_input_container_icon
|
278
278
|
}, /*#__PURE__*/React.createElement("div", null, this.props.children), /*#__PURE__*/React.createElement("input", {
|
279
|
+
style: this.props.styleInput,
|
279
280
|
className: style$2.form_input_icon,
|
280
281
|
type: this.props.type,
|
281
282
|
placeholder: this.props.placeholder,
|
@@ -299,6 +300,7 @@ var FormInput = /*#__PURE__*/function (_React$Component) {
|
|
299
300
|
}, this.props.title, ' ', this.props.required ? /*#__PURE__*/React.createElement("span", {
|
300
301
|
className: "red"
|
301
302
|
}, "*") : '') : '', /*#__PURE__*/React.createElement("input", {
|
303
|
+
style: this.props.styleInput,
|
302
304
|
className: style$2.form_input,
|
303
305
|
type: this.props.type,
|
304
306
|
placeholder: this.props.placeholder,
|
@@ -384,9 +386,10 @@ var FormSelect = /*#__PURE__*/function (_React$Component) {
|
|
384
386
|
}, this.props.title, ' ', this.props.required ? /*#__PURE__*/React.createElement("span", {
|
385
387
|
className: "red"
|
386
388
|
}, "*") : '') : '', this.props.ignore !== true ? /*#__PURE__*/React.createElement("select", {
|
389
|
+
style: this.props.styleInput,
|
387
390
|
className: style$5.form_select,
|
388
391
|
onChange: this.props.onChange,
|
389
|
-
value: this.props.value ? this.props.value :
|
392
|
+
value: this.props.value ? this.props.value : 'DEFAULT',
|
390
393
|
name: this.props.name,
|
391
394
|
required: this.props.required,
|
392
395
|
disabled: this.props.disabled,
|
@@ -401,9 +404,10 @@ var FormSelect = /*#__PURE__*/function (_React$Component) {
|
|
401
404
|
disabled: element.disabled ? element.disabled : false
|
402
405
|
}, element.text);
|
403
406
|
}) : '') : /*#__PURE__*/React.createElement("select", {
|
407
|
+
style: this.props.styleInput,
|
404
408
|
className: style$5.form_select,
|
405
409
|
onChange: this.props.onChange,
|
406
|
-
value: this.props.value ? this.props.value :
|
410
|
+
value: this.props.value ? this.props.value : 'DEFAULT',
|
407
411
|
name: this.props.name,
|
408
412
|
required: this.props.required,
|
409
413
|
disabled: this.props.disabled
|
@@ -852,7 +856,7 @@ var Header = /*#__PURE__*/function (_React$Component) {
|
|
852
856
|
return Header;
|
853
857
|
}(React.Component);
|
854
858
|
|
855
|
-
var style$b = {"card":"_4T5PO","card_tabs":"_3qz0v","card_loader_container":"_1zFpZ","loader_element":"_2rKrR","loader":"_8eH6Y","grow":"_19crY","card_top_border":"_1ItWX","card_header":"_HBqZI","card_tabs_header":"_3iUeb","card_header_left":"_2KSuY","card_tabs_header_left":"_3euMf","card_tabs_header_active":"_3UmBd","card_header_right":"_2KPnI","card_header_action":"_dmCgN","card_header_action_disable":"_1XS9q","card_body":"_8DE3p","card_tabs_body":"_3UyXH","card_color":"_2D119","card_color_left":"_1OCk3","card_color_image_left":"_199hf","card_color_center":"_11M7t","card_color_right":"_ZiFPm","card_statistics":"_29tu3","card_statistics_body":"_1b4T4","card_statistics_icon":"_1dkwV"};
|
859
|
+
var style$b = {"card":"_4T5PO","card_tabs":"_3qz0v","card_loader_container":"_1zFpZ","loader_element":"_2rKrR","loader":"_8eH6Y","grow":"_19crY","card_disabled":"_3BnES","card_top_border":"_1ItWX","card_header":"_HBqZI","card_tabs_header":"_3iUeb","card_header_left":"_2KSuY","card_tabs_header_left":"_3euMf","card_tabs_header_active":"_3UmBd","card_header_right":"_2KPnI","card_header_action":"_dmCgN","card_header_action_disable":"_1XS9q","card_body":"_8DE3p","card_tabs_body":"_3UyXH","card_color":"_2D119","card_color_left":"_1OCk3","card_color_image_left":"_199hf","card_color_center":"_11M7t","card_color_right":"_ZiFPm","card_statistics":"_29tu3","card_statistics_body":"_1b4T4","card_statistics_icon":"_1dkwV"};
|
856
860
|
|
857
861
|
var Card = /*#__PURE__*/function (_React$Component) {
|
858
862
|
_inheritsLoose(Card, _React$Component);
|
@@ -898,7 +902,9 @@ var Card = /*#__PURE__*/function (_React$Component) {
|
|
898
902
|
_proto.render = function render() {
|
899
903
|
return /*#__PURE__*/React.createElement("div", {
|
900
904
|
className: classNames$1(style$b.card, this.props.className)
|
901
|
-
}, this.props.
|
905
|
+
}, this.props.disabled ? /*#__PURE__*/React.createElement("div", {
|
906
|
+
className: classNames$1(style$b.card_disabled)
|
907
|
+
}) : null, this.props.imgLeft ? /*#__PURE__*/React.createElement("div", {
|
902
908
|
style: {
|
903
909
|
overflow: 'hidden',
|
904
910
|
width: this.props.customWidthImgLeft || '100%'
|
@@ -3085,7 +3091,7 @@ var DropzoneMultiple = /*#__PURE__*/function (_React$Component) {
|
|
3085
3091
|
|
3086
3092
|
reader.readAsDataURL(file);
|
3087
3093
|
} else {
|
3088
|
-
alert(
|
3094
|
+
alert("Fichier trop volumineux - Taille maxium " + _this.props.maxFileSize + "Mo");
|
3089
3095
|
_this.currentFile += 1;
|
3090
3096
|
|
3091
3097
|
_this.nextFile(files);
|
@@ -3183,7 +3189,7 @@ var DropzoneMultiple = /*#__PURE__*/function (_React$Component) {
|
|
3183
3189
|
className: classNames$1(style$o.dropzone_multiple_items)
|
3184
3190
|
}), !_this2.state.files.length ? /*#__PURE__*/React.createElement("span", {
|
3185
3191
|
className: classNames$1(style$o.background_text)
|
3186
|
-
}, "Glisser et d\xE9poser vos fichiers ou cliquer pour en s\xE9lectionner...", ' ', _this2.props.extensions ? "Formats accept\xE9s : " + _this2.props.extensions.join(', ') : '') : null, /*#__PURE__*/React.createElement("input", getInputProps()), _this2.state.files.map(function (file, idx) {
|
3192
|
+
}, "Glisser et d\xE9poser vos fichiers ou cliquer pour en s\xE9lectionner...", ' ', _this2.props.extensions ? "Formats accept\xE9s : " + _this2.props.extensions.join(', ') : '', "$", _this2.props.maxFileSize ? " - Taille maximale " + _this2.props.maxFileSize + "Mo" : '') : null, /*#__PURE__*/React.createElement("input", getInputProps()), _this2.state.files.map(function (file, idx) {
|
3187
3193
|
return _this2.getFileComponent(idx);
|
3188
3194
|
})));
|
3189
3195
|
});
|