ui-kit-ck-consultant 0.5.213 → 0.5.216

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.
@@ -856,7 +856,7 @@ var Header = /*#__PURE__*/function (_React$Component) {
856
856
  return Header;
857
857
  }(React.Component);
858
858
 
859
- 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"};
860
860
 
861
861
  var Card = /*#__PURE__*/function (_React$Component) {
862
862
  _inheritsLoose(Card, _React$Component);
@@ -902,7 +902,9 @@ var Card = /*#__PURE__*/function (_React$Component) {
902
902
  _proto.render = function render() {
903
903
  return /*#__PURE__*/React.createElement("div", {
904
904
  className: classNames$1(style$b.card, this.props.className)
905
- }, this.props.imgLeft ? /*#__PURE__*/React.createElement("div", {
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", {
906
908
  style: {
907
909
  overflow: 'hidden',
908
910
  width: this.props.customWidthImgLeft || '100%'
@@ -3089,7 +3091,7 @@ var DropzoneMultiple = /*#__PURE__*/function (_React$Component) {
3089
3091
 
3090
3092
  reader.readAsDataURL(file);
3091
3093
  } else {
3092
- alert('Fichier trop volumineux');
3094
+ alert("Fichier trop volumineux - Taille maxium " + _this.props.maxFileSize + "Mo");
3093
3095
  _this.currentFile += 1;
3094
3096
 
3095
3097
  _this.nextFile(files);
@@ -3187,7 +3189,7 @@ var DropzoneMultiple = /*#__PURE__*/function (_React$Component) {
3187
3189
  className: classNames$1(style$o.dropzone_multiple_items)
3188
3190
  }), !_this2.state.files.length ? /*#__PURE__*/React.createElement("span", {
3189
3191
  className: classNames$1(style$o.background_text)
3190
- }, "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) {
3191
3193
  return _this2.getFileComponent(idx);
3192
3194
  })));
3193
3195
  });