@hipay/hipay-material-ui 2.0.0-beta.60 → 2.0.0-beta.62
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/CHANGELOG.md +126 -0
- package/HiDatePicker/HiDatePicker.js +37 -12
- package/HiDatePicker/HiDateRangePicker.js +71 -57
- package/HiDatePicker/HiDateRangeSelector.js +34 -20
- package/HiDatePicker/stylesheet.js +32 -17
- package/HiSelect/HiSelect.js +489 -607
- package/HiSelect/index.js +41 -3
- package/HiSelectableList/HiSelectableList.js +68 -3
- package/HiSelectableList/HiSelectableListItem.js +22 -10
- package/README.md +15 -0
- package/es/HiDatePicker/HiDatePicker.js +30 -10
- package/es/HiDatePicker/HiDateRangePicker.js +38 -21
- package/es/HiDatePicker/HiDateRangeSelector.js +24 -13
- package/es/HiDatePicker/stylesheet.js +32 -17
- package/es/{HiSelectNew → HiSelect}/HiNestedSelect.js +1 -1
- package/es/{HiSelectNew → HiSelect}/HiNestedSelectContent.js +1 -1
- package/es/HiSelect/HiSelect.js +441 -564
- package/es/{HiSelectNew → HiSelect}/HiSelectContent.js +1 -1
- package/es/HiSelect/index.js +4 -1
- package/es/HiSelectableList/HiSelectableList.js +65 -4
- package/es/HiSelectableList/HiSelectableListItem.js +18 -10
- package/es/styles/createPalette.js +1 -1
- package/es/utils/helpers.js +9 -1
- package/index.es.js +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/styles/createPalette.js +1 -1
- package/umd/hipay-material-ui.development.js +7860 -7749
- package/umd/hipay-material-ui.production.min.js +2 -2
- package/utils/helpers.js +9 -1
- package/HiSelect/SelectInput.js +0 -369
- package/HiSelectNew/HiSelect.js +0 -929
- package/HiSelectNew/HiSelectField.js +0 -146
- package/HiSelectNew/index.js +0 -69
- package/es/HiSelect/SelectInput.js +0 -321
- package/es/HiSelectNew/HiSelect.js +0 -852
- package/es/HiSelectNew/HiSelectField.js +0 -111
- package/es/HiSelectNew/index.js +0 -6
- /package/{HiSelectNew → HiSelect}/HiDynamicSelect.js +0 -0
- /package/{HiSelectNew → HiSelect}/HiDynamicSelectField.js +0 -0
- /package/{HiSelectNew → HiSelect}/HiNestedSelect.js +0 -0
- /package/{HiSelectNew → HiSelect}/HiNestedSelectContent.js +0 -0
- /package/{HiSelectNew → HiSelect}/HiNestedSelectField.js +0 -0
- /package/{HiSelectNew → HiSelect}/HiSelectContent.js +0 -0
- /package/{HiSelectNew → HiSelect}/HiSelectInput.js +0 -0
- /package/es/{HiSelectNew → HiSelect}/HiDynamicSelect.js +0 -0
- /package/es/{HiSelectNew → HiSelect}/HiDynamicSelectField.js +0 -0
- /package/es/{HiSelectNew → HiSelect}/HiNestedSelectField.js +0 -0
- /package/es/{HiSelectNew → HiSelect}/HiSelectInput.js +0 -0
@@ -1,111 +0,0 @@
|
|
1
|
-
import _extends from "@babel/runtime/helpers/extends";
|
2
|
-
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
3
|
-
// @inheritedComponent HiSelect
|
4
|
-
import React from 'react';
|
5
|
-
import PropTypes from 'prop-types';
|
6
|
-
import HiFormControl from '../HiForm/HiFormControl';
|
7
|
-
import HiSelect from './HiSelect';
|
8
|
-
/**
|
9
|
-
* Champs input pour formulaire
|
10
|
-
*/
|
11
|
-
|
12
|
-
class HiSelectField extends React.PureComponent {
|
13
|
-
render() {
|
14
|
-
const _this$props = this.props,
|
15
|
-
{
|
16
|
-
label,
|
17
|
-
required,
|
18
|
-
disabled,
|
19
|
-
error,
|
20
|
-
errorText,
|
21
|
-
helperText,
|
22
|
-
helperIcon,
|
23
|
-
id,
|
24
|
-
name,
|
25
|
-
value,
|
26
|
-
options,
|
27
|
-
type,
|
28
|
-
multiple,
|
29
|
-
iconAll,
|
30
|
-
checkbox,
|
31
|
-
searchable,
|
32
|
-
translations,
|
33
|
-
className
|
34
|
-
} = _this$props,
|
35
|
-
others = _objectWithoutProperties(_this$props, ["label", "required", "disabled", "error", "errorText", "helperText", "helperIcon", "id", "name", "value", "options", "type", "multiple", "iconAll", "checkbox", "searchable", "translations", "className"]);
|
36
|
-
|
37
|
-
return React.createElement(HiFormControl, {
|
38
|
-
id: id,
|
39
|
-
label: label,
|
40
|
-
required: required,
|
41
|
-
disabled: disabled,
|
42
|
-
error: error,
|
43
|
-
errorText: errorText,
|
44
|
-
helperText: helperText,
|
45
|
-
helperIcon: helperIcon,
|
46
|
-
className: className
|
47
|
-
}, React.createElement(HiSelect, _extends({
|
48
|
-
id: id,
|
49
|
-
name: name,
|
50
|
-
value: value,
|
51
|
-
options: options,
|
52
|
-
type: type,
|
53
|
-
multiple: multiple,
|
54
|
-
iconAll: iconAll,
|
55
|
-
checkbox: checkbox,
|
56
|
-
searchable: searchable,
|
57
|
-
translations: translations,
|
58
|
-
disabled: disabled,
|
59
|
-
error: error
|
60
|
-
}, others)));
|
61
|
-
}
|
62
|
-
|
63
|
-
}
|
64
|
-
|
65
|
-
HiSelectField.propTypes = process.env.NODE_ENV !== "production" ? {
|
66
|
-
/**
|
67
|
-
* Surcharge des styles
|
68
|
-
*/
|
69
|
-
className: PropTypes.string,
|
70
|
-
|
71
|
-
/**
|
72
|
-
* Si `true`, l'input sera inactif.
|
73
|
-
*/
|
74
|
-
disabled: PropTypes.bool,
|
75
|
-
|
76
|
-
/**
|
77
|
-
* Si `true`, le champs sera en erreur.
|
78
|
-
*/
|
79
|
-
error: PropTypes.bool,
|
80
|
-
|
81
|
-
/**
|
82
|
-
* Texte de l'erreur
|
83
|
-
*/
|
84
|
-
errorText: PropTypes.string,
|
85
|
-
|
86
|
-
/**
|
87
|
-
* Si "true", le texte d'aide s'affichera seulement au clic sur l'icône "Information"
|
88
|
-
*/
|
89
|
-
helperIcon: PropTypes.bool,
|
90
|
-
|
91
|
-
/**
|
92
|
-
* Texte de l'aide
|
93
|
-
*/
|
94
|
-
helperText: PropTypes.string,
|
95
|
-
|
96
|
-
/**
|
97
|
-
* id de l'élément input
|
98
|
-
*/
|
99
|
-
id: PropTypes.string.isRequired,
|
100
|
-
|
101
|
-
/**
|
102
|
-
* Label du champs
|
103
|
-
*/
|
104
|
-
label: PropTypes.string,
|
105
|
-
|
106
|
-
/**
|
107
|
-
* true si champs obligatoire
|
108
|
-
*/
|
109
|
-
required: PropTypes.bool
|
110
|
-
} : {};
|
111
|
-
export default HiSelectField;
|
package/es/HiSelectNew/index.js
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
export { default } from './HiSelect';
|
2
|
-
export { default as HiNestedSelect } from './HiNestedSelect';
|
3
|
-
export { default as HiSelectField } from './HiSelectField';
|
4
|
-
export { default as HiSelectInput } from './HiSelectInput';
|
5
|
-
export { default as HiSelectContent } from './HiSelectContent';
|
6
|
-
export { default as HiNestedSelectContent, findFinalItemRecursively, getRecursiveFinalItemIdList } from './HiNestedSelectContent';
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|