@hipay/hipay-material-ui 2.0.0-beta.65 → 2.0.0-beta.66
Sign up to get free protection for your applications and to get access to all the features.
- package/HiAlertModal/HiAlertModal.js +5 -5
- package/HiAppBar/HiAppBar.js +3 -3
- package/HiBreadcrumb/HiStepConnector.js +3 -3
- package/HiCell/CellText.js +3 -3
- package/HiCheckbox/HiCheckbox.js +3 -3
- package/HiChip/HiChipSwitch.js +5 -5
- package/HiDatePicker/HiDatePicker.js +17 -17
- package/HiDatePicker/Overlays/MonthPickerOverlay.js +3 -3
- package/HiDatePicker/Overlays/TimePickerOverlay.js +4 -4
- package/HiDatePicker/Overlays/YearPickerOverlay.js +3 -3
- package/HiDotsStepper/HiDotsStepper.js +4 -4
- package/HiForm/HiAddressField.js +7 -7
- package/HiForm/HiEmailField.js +3 -3
- package/HiForm/HiFormControl.js +6 -6
- package/HiForm/HiInput.js +11 -11
- package/HiForm/HiPasswordField.js +3 -3
- package/HiForm/HiSearchField.js +5 -5
- package/HiForm/HiTextField.js +5 -5
- package/HiMap/HiMap.js +6 -6
- package/HiMap/HiMapExpand.js +4 -4
- package/HiNotice/HiKPI.js +3 -3
- package/HiSelect/HiDynamicSelect.js +7 -7
- package/HiSelect/HiNestedSelect.js +12 -12
- package/HiSelect/HiNestedSelectContent.js +9 -9
- package/HiSelect/HiSelect.js +23 -19
- package/HiSelect/HiSelectContent.js +13 -13
- package/HiSelect/HiSelectInput.js +7 -7
- package/HiSelect/HiSuggestSelect.js +6 -6
- package/HiSelectableList/HiSelectableList.js +3 -5
- package/HiSelectableList/HiSelectableListItem.js +4 -4
- package/HiTable/HiTable.js +3 -3
- package/HiTable/HiTableRow.js +3 -3
- package/README.md +8 -0
- package/es/HiSelect/HiSelect.js +4 -0
- package/es/HiSelectableList/HiSelectableList.js +3 -5
- package/package.json +2 -4
- package/umd/hipay-material-ui.development.js +45968 -40722
- package/umd/hipay-material-ui.production.min.js +1 -1
@@ -19,10 +19,10 @@ var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime
|
|
19
19
|
|
20
20
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
21
21
|
|
22
|
-
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
23
|
-
|
24
22
|
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
|
25
23
|
|
24
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
25
|
+
|
26
26
|
var _react = _interopRequireDefault(require("react"));
|
27
27
|
|
28
28
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
@@ -123,9 +123,9 @@ function (_React$PureComponent) {
|
|
123
123
|
}
|
124
124
|
};
|
125
125
|
|
126
|
-
_this.handleOnClose = _this.handleOnClose.bind((0, _assertThisInitialized2.default)(
|
127
|
-
_this.handleClickCancel = _this.handleClickCancel.bind((0, _assertThisInitialized2.default)(
|
128
|
-
_this.handleClickSubmit = _this.handleClickSubmit.bind((0, _assertThisInitialized2.default)(
|
126
|
+
_this.handleOnClose = _this.handleOnClose.bind((0, _assertThisInitialized2.default)(_this));
|
127
|
+
_this.handleClickCancel = _this.handleClickCancel.bind((0, _assertThisInitialized2.default)(_this));
|
128
|
+
_this.handleClickSubmit = _this.handleClickSubmit.bind((0, _assertThisInitialized2.default)(_this));
|
129
129
|
return _this;
|
130
130
|
} // Appelé au clic du bouton d'annulation
|
131
131
|
|
package/HiAppBar/HiAppBar.js
CHANGED
@@ -21,10 +21,10 @@ var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime
|
|
21
21
|
|
22
22
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
23
23
|
|
24
|
-
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
25
|
-
|
26
24
|
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
|
27
25
|
|
26
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
27
|
+
|
28
28
|
var _react = _interopRequireDefault(require("react"));
|
29
29
|
|
30
30
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
@@ -88,7 +88,7 @@ function (_React$Component) {
|
|
88
88
|
_this.state = {
|
89
89
|
collapsed: false
|
90
90
|
};
|
91
|
-
_this.handleCollapse = _this.handleCollapse.bind((0, _assertThisInitialized2.default)(
|
91
|
+
_this.handleCollapse = _this.handleCollapse.bind((0, _assertThisInitialized2.default)(_this));
|
92
92
|
return _this;
|
93
93
|
}
|
94
94
|
|
@@ -21,10 +21,10 @@ var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime
|
|
21
21
|
|
22
22
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
23
23
|
|
24
|
-
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
25
|
-
|
26
24
|
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
|
27
25
|
|
26
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
27
|
+
|
28
28
|
var _react = _interopRequireDefault(require("react"));
|
29
29
|
|
30
30
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
@@ -80,7 +80,7 @@ function (_React$PureComponent) {
|
|
80
80
|
_this.state = {
|
81
81
|
height: 800
|
82
82
|
};
|
83
|
-
_this.updateWindowDimensions = _this.updateWindowDimensions.bind((0, _assertThisInitialized2.default)(
|
83
|
+
_this.updateWindowDimensions = _this.updateWindowDimensions.bind((0, _assertThisInitialized2.default)(_this));
|
84
84
|
return _this;
|
85
85
|
}
|
86
86
|
|
package/HiCell/CellText.js
CHANGED
@@ -17,10 +17,10 @@ var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime
|
|
17
17
|
|
18
18
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
19
19
|
|
20
|
-
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
21
|
-
|
22
20
|
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
|
23
21
|
|
22
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
23
|
+
|
24
24
|
var _react = _interopRequireDefault(require("react"));
|
25
25
|
|
26
26
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
@@ -62,7 +62,7 @@ function (_React$Component) {
|
|
62
62
|
(0, _classCallCheck2.default)(this, CellText);
|
63
63
|
_this = (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(CellText).call(this, props));
|
64
64
|
_this.cellText = null;
|
65
|
-
_this.buildEllipsis = _this.buildEllipsis.bind((0, _assertThisInitialized2.default)(
|
65
|
+
_this.buildEllipsis = _this.buildEllipsis.bind((0, _assertThisInitialized2.default)(_this));
|
66
66
|
return _this;
|
67
67
|
}
|
68
68
|
/**
|
package/HiCheckbox/HiCheckbox.js
CHANGED
@@ -21,10 +21,10 @@ var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime
|
|
21
21
|
|
22
22
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
23
23
|
|
24
|
-
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
25
|
-
|
26
24
|
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
|
27
25
|
|
26
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
27
|
+
|
28
28
|
var _react = _interopRequireDefault(require("react"));
|
29
29
|
|
30
30
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
@@ -82,7 +82,7 @@ function (_React$PureComponent) {
|
|
82
82
|
|
83
83
|
(0, _classCallCheck2.default)(this, HiCheckbox);
|
84
84
|
_this = (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(HiCheckbox).call(this, props));
|
85
|
-
_this.handleChange = _this.handleChange.bind((0, _assertThisInitialized2.default)(
|
85
|
+
_this.handleChange = _this.handleChange.bind((0, _assertThisInitialized2.default)(_this));
|
86
86
|
return _this;
|
87
87
|
}
|
88
88
|
/**
|
package/HiChip/HiChipSwitch.js
CHANGED
@@ -17,10 +17,10 @@ var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime
|
|
17
17
|
|
18
18
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
19
19
|
|
20
|
-
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
21
|
-
|
22
20
|
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
|
23
21
|
|
22
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
23
|
+
|
24
24
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
25
25
|
|
26
26
|
var _react = _interopRequireDefault(require("react"));
|
@@ -166,9 +166,9 @@ function (_React$PureComponent) {
|
|
166
166
|
}
|
167
167
|
};
|
168
168
|
|
169
|
-
_this.handleClickSelection = _this.handleClickSelection.bind((0, _assertThisInitialized2.default)(
|
170
|
-
_this.handleKeyDown = _this.handleKeyDown.bind((0, _assertThisInitialized2.default)(
|
171
|
-
_this.handleKeyDownSelection = _this.handleKeyDownSelection.bind((0, _assertThisInitialized2.default)(
|
169
|
+
_this.handleClickSelection = _this.handleClickSelection.bind((0, _assertThisInitialized2.default)(_this));
|
170
|
+
_this.handleKeyDown = _this.handleKeyDown.bind((0, _assertThisInitialized2.default)(_this));
|
171
|
+
_this.handleKeyDownSelection = _this.handleKeyDownSelection.bind((0, _assertThisInitialized2.default)(_this));
|
172
172
|
return _this;
|
173
173
|
}
|
174
174
|
|
@@ -23,10 +23,10 @@ var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime
|
|
23
23
|
|
24
24
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
25
25
|
|
26
|
-
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
27
|
-
|
28
26
|
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
|
29
27
|
|
28
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
29
|
+
|
30
30
|
var _react = _interopRequireDefault(require("react"));
|
31
31
|
|
32
32
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
@@ -86,21 +86,21 @@ function (_React$Component) {
|
|
86
86
|
currentMonth: props.value ? props.value : new Date(today.year(), today.month(), today.date(), today.hours(), today.minutes(), today.seconds(), today.milliseconds())
|
87
87
|
}; // this.formatDate = this.formatDate.bind(this);
|
88
88
|
|
89
|
-
_this.handleCalendarClick = _this.handleCalendarClick.bind((0, _assertThisInitialized2.default)(
|
90
|
-
_this.handleClockClick = _this.handleClockClick.bind((0, _assertThisInitialized2.default)(
|
91
|
-
_this.handleMonthClick = _this.handleMonthClick.bind((0, _assertThisInitialized2.default)(
|
92
|
-
_this.handleYearClick = _this.handleYearClick.bind((0, _assertThisInitialized2.default)(
|
93
|
-
_this.handleDayChange = _this.handleDayChange.bind((0, _assertThisInitialized2.default)(
|
94
|
-
_this.handleCurrentMonthChange = _this.handleCurrentMonthChange.bind((0, _assertThisInitialized2.default)(
|
95
|
-
_this.handleReset = _this.handleReset.bind((0, _assertThisInitialized2.default)(
|
96
|
-
_this.handleTimeChange = _this.handleTimeChange.bind((0, _assertThisInitialized2.default)(
|
97
|
-
_this.openPanel = _this.openPanel.bind((0, _assertThisInitialized2.default)(
|
98
|
-
_this.renderCaption = _this.renderCaption.bind((0, _assertThisInitialized2.default)(
|
99
|
-
_this.renderOverlay = _this.renderOverlay.bind((0, _assertThisInitialized2.default)(
|
100
|
-
_this.renderMonthPickerOverlay = _this.renderMonthPickerOverlay.bind((0, _assertThisInitialized2.default)(
|
101
|
-
_this.renderTimePickerOverlay = _this.renderTimePickerOverlay.bind((0, _assertThisInitialized2.default)(
|
102
|
-
_this.renderYearPickerOverlay = _this.renderYearPickerOverlay.bind((0, _assertThisInitialized2.default)(
|
103
|
-
_this.handleInputChange = _this.handleInputChange.bind((0, _assertThisInitialized2.default)(
|
89
|
+
_this.handleCalendarClick = _this.handleCalendarClick.bind((0, _assertThisInitialized2.default)(_this));
|
90
|
+
_this.handleClockClick = _this.handleClockClick.bind((0, _assertThisInitialized2.default)(_this));
|
91
|
+
_this.handleMonthClick = _this.handleMonthClick.bind((0, _assertThisInitialized2.default)(_this));
|
92
|
+
_this.handleYearClick = _this.handleYearClick.bind((0, _assertThisInitialized2.default)(_this));
|
93
|
+
_this.handleDayChange = _this.handleDayChange.bind((0, _assertThisInitialized2.default)(_this));
|
94
|
+
_this.handleCurrentMonthChange = _this.handleCurrentMonthChange.bind((0, _assertThisInitialized2.default)(_this));
|
95
|
+
_this.handleReset = _this.handleReset.bind((0, _assertThisInitialized2.default)(_this));
|
96
|
+
_this.handleTimeChange = _this.handleTimeChange.bind((0, _assertThisInitialized2.default)(_this));
|
97
|
+
_this.openPanel = _this.openPanel.bind((0, _assertThisInitialized2.default)(_this));
|
98
|
+
_this.renderCaption = _this.renderCaption.bind((0, _assertThisInitialized2.default)(_this));
|
99
|
+
_this.renderOverlay = _this.renderOverlay.bind((0, _assertThisInitialized2.default)(_this));
|
100
|
+
_this.renderMonthPickerOverlay = _this.renderMonthPickerOverlay.bind((0, _assertThisInitialized2.default)(_this));
|
101
|
+
_this.renderTimePickerOverlay = _this.renderTimePickerOverlay.bind((0, _assertThisInitialized2.default)(_this));
|
102
|
+
_this.renderYearPickerOverlay = _this.renderYearPickerOverlay.bind((0, _assertThisInitialized2.default)(_this));
|
103
|
+
_this.handleInputChange = _this.handleInputChange.bind((0, _assertThisInitialized2.default)(_this));
|
104
104
|
return _this;
|
105
105
|
}
|
106
106
|
|
@@ -19,10 +19,10 @@ var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime
|
|
19
19
|
|
20
20
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
21
21
|
|
22
|
-
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
23
|
-
|
24
22
|
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
|
25
23
|
|
24
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
25
|
+
|
26
26
|
var _react = _interopRequireDefault(require("react"));
|
27
27
|
|
28
28
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
@@ -42,7 +42,7 @@ function (_React$Component) {
|
|
42
42
|
(0, _classCallCheck2.default)(this, MonthPickerOverlay);
|
43
43
|
_this = (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(MonthPickerOverlay).call(this));
|
44
44
|
_this.months = [];
|
45
|
-
_this.handleMonthClick = _this.handleMonthClick.bind((0, _assertThisInitialized2.default)(
|
45
|
+
_this.handleMonthClick = _this.handleMonthClick.bind((0, _assertThisInitialized2.default)(_this));
|
46
46
|
_this.months = props.localeUtils ? props.localeUtils.getMonths(props.children.props.locale) : props.children.props.localeUtils.getMonths(props.children.props.locale);
|
47
47
|
return _this;
|
48
48
|
}
|
@@ -17,10 +17,10 @@ var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime
|
|
17
17
|
|
18
18
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
19
19
|
|
20
|
-
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
21
|
-
|
22
20
|
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
|
23
21
|
|
22
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
23
|
+
|
24
24
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
25
25
|
|
26
26
|
var _react = _interopRequireDefault(require("react"));
|
@@ -135,8 +135,8 @@ function (_React$Component) {
|
|
135
135
|
_this = (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(TimePickerOverlay).call(this, props));
|
136
136
|
_this.hours = Array.from(Array(24).keys());
|
137
137
|
_this.minutes = Array.from(Array(60).keys());
|
138
|
-
_this.handleHourClick = _this.handleHourClick.bind((0, _assertThisInitialized2.default)(
|
139
|
-
_this.handleMinuteClick = _this.handleMinuteClick.bind((0, _assertThisInitialized2.default)(
|
138
|
+
_this.handleHourClick = _this.handleHourClick.bind((0, _assertThisInitialized2.default)(_this));
|
139
|
+
_this.handleMinuteClick = _this.handleMinuteClick.bind((0, _assertThisInitialized2.default)(_this));
|
140
140
|
return _this;
|
141
141
|
}
|
142
142
|
|
@@ -19,10 +19,10 @@ var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime
|
|
19
19
|
|
20
20
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
21
21
|
|
22
|
-
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
23
|
-
|
24
22
|
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
|
25
23
|
|
24
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
25
|
+
|
26
26
|
var _react = _interopRequireDefault(require("react"));
|
27
27
|
|
28
28
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
@@ -42,7 +42,7 @@ function (_React$Component) {
|
|
42
42
|
(0, _classCallCheck2.default)(this, YearPickerOverlay);
|
43
43
|
_this = (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(YearPickerOverlay).call(this, props));
|
44
44
|
_this.years = [];
|
45
|
-
_this.handleYearClick = _this.handleYearClick.bind((0, _assertThisInitialized2.default)(
|
45
|
+
_this.handleYearClick = _this.handleYearClick.bind((0, _assertThisInitialized2.default)(_this));
|
46
46
|
var minDate = props.minimumDate;
|
47
47
|
|
48
48
|
if (!minDate) {
|
@@ -15,10 +15,10 @@ var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime
|
|
15
15
|
|
16
16
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
17
17
|
|
18
|
-
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
19
|
-
|
20
18
|
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
|
21
19
|
|
20
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
21
|
+
|
22
22
|
var _react = _interopRequireDefault(require("react"));
|
23
23
|
|
24
24
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
@@ -74,8 +74,8 @@ function (_React$PureComponent) {
|
|
74
74
|
_this.props.onChange(nextStep);
|
75
75
|
};
|
76
76
|
|
77
|
-
_this.handleClick = _this.handleClick.bind((0, _assertThisInitialized2.default)(
|
78
|
-
_this.handleNavigation = _this.handleNavigation.bind((0, _assertThisInitialized2.default)(
|
77
|
+
_this.handleClick = _this.handleClick.bind((0, _assertThisInitialized2.default)(_this));
|
78
|
+
_this.handleNavigation = _this.handleNavigation.bind((0, _assertThisInitialized2.default)(_this));
|
79
79
|
return _this;
|
80
80
|
}
|
81
81
|
|
package/HiForm/HiAddressField.js
CHANGED
@@ -19,10 +19,10 @@ var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime
|
|
19
19
|
|
20
20
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
21
21
|
|
22
|
-
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
23
|
-
|
24
22
|
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
|
25
23
|
|
24
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
25
|
+
|
26
26
|
var _react = _interopRequireDefault(require("react"));
|
27
27
|
|
28
28
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
@@ -62,7 +62,7 @@ function (_React$Component) {
|
|
62
62
|
type: 'icon',
|
63
63
|
key: prediction.id
|
64
64
|
});
|
65
|
-
}, (0, _assertThisInitialized2.default)(
|
65
|
+
}, (0, _assertThisInitialized2.default)(_this));
|
66
66
|
|
67
67
|
_this.setState({
|
68
68
|
options: options,
|
@@ -75,10 +75,10 @@ function (_React$Component) {
|
|
75
75
|
options: [],
|
76
76
|
isExact: false
|
77
77
|
};
|
78
|
-
_this.handleSearch = _this.handleSearch.bind((0, _assertThisInitialized2.default)(
|
79
|
-
_this.handleSelect = _this.handleSelect.bind((0, _assertThisInitialized2.default)(
|
80
|
-
_this.handleReset = _this.handleReset.bind((0, _assertThisInitialized2.default)(
|
81
|
-
_this.displaySuggestions = _this.displaySuggestions.bind((0, _assertThisInitialized2.default)(
|
78
|
+
_this.handleSearch = _this.handleSearch.bind((0, _assertThisInitialized2.default)(_this));
|
79
|
+
_this.handleSelect = _this.handleSelect.bind((0, _assertThisInitialized2.default)(_this));
|
80
|
+
_this.handleReset = _this.handleReset.bind((0, _assertThisInitialized2.default)(_this));
|
81
|
+
_this.displaySuggestions = _this.displaySuggestions.bind((0, _assertThisInitialized2.default)(_this));
|
82
82
|
return _this;
|
83
83
|
}
|
84
84
|
|
package/HiForm/HiEmailField.js
CHANGED
@@ -19,10 +19,10 @@ var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime
|
|
19
19
|
|
20
20
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
21
21
|
|
22
|
-
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
23
|
-
|
24
22
|
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
|
25
23
|
|
24
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
25
|
+
|
26
26
|
var _react = _interopRequireDefault(require("react"));
|
27
27
|
|
28
28
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
@@ -57,7 +57,7 @@ function (_React$Component) {
|
|
57
57
|
}
|
58
58
|
};
|
59
59
|
|
60
|
-
_this.handleBlur = _this.handleBlur.bind((0, _assertThisInitialized2.default)(
|
60
|
+
_this.handleBlur = _this.handleBlur.bind((0, _assertThisInitialized2.default)(_this));
|
61
61
|
return _this;
|
62
62
|
}
|
63
63
|
|
package/HiForm/HiFormControl.js
CHANGED
@@ -19,10 +19,10 @@ var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime
|
|
19
19
|
|
20
20
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
21
21
|
|
22
|
-
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
23
|
-
|
24
22
|
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
|
25
23
|
|
24
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
25
|
+
|
26
26
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
27
27
|
|
28
28
|
var _react = _interopRequireDefault(require("react"));
|
@@ -200,10 +200,10 @@ function (_React$PureComponent) {
|
|
200
200
|
focused: false,
|
201
201
|
hovered: false
|
202
202
|
};
|
203
|
-
_this.handleHelperClick = _this.handleHelperClick.bind((0, _assertThisInitialized2.default)(
|
204
|
-
_this.handleKeyDown = _this.handleKeyDown.bind((0, _assertThisInitialized2.default)(
|
205
|
-
_this.handleFocus = _this.handleFocus.bind((0, _assertThisInitialized2.default)(
|
206
|
-
_this.handleHover = _this.handleHover.bind((0, _assertThisInitialized2.default)(
|
203
|
+
_this.handleHelperClick = _this.handleHelperClick.bind((0, _assertThisInitialized2.default)(_this));
|
204
|
+
_this.handleKeyDown = _this.handleKeyDown.bind((0, _assertThisInitialized2.default)(_this));
|
205
|
+
_this.handleFocus = _this.handleFocus.bind((0, _assertThisInitialized2.default)(_this));
|
206
|
+
_this.handleHover = _this.handleHover.bind((0, _assertThisInitialized2.default)(_this));
|
207
207
|
return _this;
|
208
208
|
}
|
209
209
|
|
package/HiForm/HiInput.js
CHANGED
@@ -17,10 +17,10 @@ var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime
|
|
17
17
|
|
18
18
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
19
19
|
|
20
|
-
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
21
|
-
|
22
20
|
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
|
23
21
|
|
22
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
23
|
+
|
24
24
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
25
25
|
|
26
26
|
var _react = _interopRequireDefault(require("react"));
|
@@ -193,15 +193,15 @@ function (_React$PureComponent) {
|
|
193
193
|
_this.state = {
|
194
194
|
focused: false
|
195
195
|
};
|
196
|
-
_this.handleChange = _this.handleChange.bind((0, _assertThisInitialized2.default)(
|
197
|
-
_this.handleFocus = _this.handleFocus.bind((0, _assertThisInitialized2.default)(
|
198
|
-
_this.handleDivClick = _this.handleDivClick.bind((0, _assertThisInitialized2.default)(
|
199
|
-
_this.handleBlur = _this.handleBlur.bind((0, _assertThisInitialized2.default)(
|
200
|
-
_this.handleReset = _this.handleReset.bind((0, _assertThisInitialized2.default)(
|
201
|
-
_this.handleMouseEnter = _this.handleMouseEnter.bind((0, _assertThisInitialized2.default)(
|
202
|
-
_this.handleMouseLeave = _this.handleMouseLeave.bind((0, _assertThisInitialized2.default)(
|
203
|
-
_this.getInputElement = _this.getInputElement.bind((0, _assertThisInitialized2.default)(
|
204
|
-
_this.handleOverlayRef = _this.handleOverlayRef.bind((0, _assertThisInitialized2.default)(
|
196
|
+
_this.handleChange = _this.handleChange.bind((0, _assertThisInitialized2.default)(_this));
|
197
|
+
_this.handleFocus = _this.handleFocus.bind((0, _assertThisInitialized2.default)(_this));
|
198
|
+
_this.handleDivClick = _this.handleDivClick.bind((0, _assertThisInitialized2.default)(_this));
|
199
|
+
_this.handleBlur = _this.handleBlur.bind((0, _assertThisInitialized2.default)(_this));
|
200
|
+
_this.handleReset = _this.handleReset.bind((0, _assertThisInitialized2.default)(_this));
|
201
|
+
_this.handleMouseEnter = _this.handleMouseEnter.bind((0, _assertThisInitialized2.default)(_this));
|
202
|
+
_this.handleMouseLeave = _this.handleMouseLeave.bind((0, _assertThisInitialized2.default)(_this));
|
203
|
+
_this.getInputElement = _this.getInputElement.bind((0, _assertThisInitialized2.default)(_this));
|
204
|
+
_this.handleOverlayRef = _this.handleOverlayRef.bind((0, _assertThisInitialized2.default)(_this));
|
205
205
|
return _this;
|
206
206
|
}
|
207
207
|
|
@@ -21,10 +21,10 @@ var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime
|
|
21
21
|
|
22
22
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
23
23
|
|
24
|
-
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
25
|
-
|
26
24
|
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
|
27
25
|
|
26
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
27
|
+
|
28
28
|
var _react = _interopRequireDefault(require("react"));
|
29
29
|
|
30
30
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
@@ -66,7 +66,7 @@ function (_React$Component) {
|
|
66
66
|
_this.state = {
|
67
67
|
showText: false
|
68
68
|
};
|
69
|
-
_this.handlePasswordToggle = _this.handlePasswordToggle.bind((0, _assertThisInitialized2.default)(
|
69
|
+
_this.handlePasswordToggle = _this.handlePasswordToggle.bind((0, _assertThisInitialized2.default)(_this));
|
70
70
|
return _this;
|
71
71
|
}
|
72
72
|
|
package/HiForm/HiSearchField.js
CHANGED
@@ -19,10 +19,10 @@ var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime
|
|
19
19
|
|
20
20
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
21
21
|
|
22
|
-
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
23
|
-
|
24
22
|
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
|
25
23
|
|
24
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
25
|
+
|
26
26
|
var _react = _interopRequireDefault(require("react"));
|
27
27
|
|
28
28
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
@@ -48,9 +48,9 @@ function (_React$Component) {
|
|
48
48
|
_this.state = {
|
49
49
|
inputValue: ''
|
50
50
|
};
|
51
|
-
_this.filterOnProperties = _this.filterOnProperties.bind((0, _assertThisInitialized2.default)(
|
52
|
-
_this.handleChange = _this.handleChange.bind((0, _assertThisInitialized2.default)(
|
53
|
-
_this.handleReset = _this.handleReset.bind((0, _assertThisInitialized2.default)(
|
51
|
+
_this.filterOnProperties = _this.filterOnProperties.bind((0, _assertThisInitialized2.default)(_this));
|
52
|
+
_this.handleChange = _this.handleChange.bind((0, _assertThisInitialized2.default)(_this));
|
53
|
+
_this.handleReset = _this.handleReset.bind((0, _assertThisInitialized2.default)(_this));
|
54
54
|
return _this;
|
55
55
|
}
|
56
56
|
|
package/HiForm/HiTextField.js
CHANGED
@@ -17,10 +17,10 @@ var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime
|
|
17
17
|
|
18
18
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
19
19
|
|
20
|
-
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
21
|
-
|
22
20
|
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
|
23
21
|
|
22
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
23
|
+
|
24
24
|
var _react = _interopRequireDefault(require("react"));
|
25
25
|
|
26
26
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
@@ -52,9 +52,9 @@ function (_React$PureComponent) {
|
|
52
52
|
_this.state = {
|
53
53
|
nbChars: props.value ? props.value.length : 0
|
54
54
|
};
|
55
|
-
_this.handleBlur = _this.handleBlur.bind((0, _assertThisInitialized2.default)(
|
56
|
-
_this.handleChange = _this.handleChange.bind((0, _assertThisInitialized2.default)(
|
57
|
-
_this.handleFocus = _this.handleFocus.bind((0, _assertThisInitialized2.default)(
|
55
|
+
_this.handleBlur = _this.handleBlur.bind((0, _assertThisInitialized2.default)(_this));
|
56
|
+
_this.handleChange = _this.handleChange.bind((0, _assertThisInitialized2.default)(_this));
|
57
|
+
_this.handleFocus = _this.handleFocus.bind((0, _assertThisInitialized2.default)(_this));
|
58
58
|
return _this;
|
59
59
|
}
|
60
60
|
|
package/HiMap/HiMap.js
CHANGED
@@ -15,10 +15,10 @@ var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime
|
|
15
15
|
|
16
16
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
17
17
|
|
18
|
-
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
19
|
-
|
20
18
|
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
|
21
19
|
|
20
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
21
|
+
|
22
22
|
var _react = _interopRequireDefault(require("react"));
|
23
23
|
|
24
24
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
@@ -150,10 +150,10 @@ function (_React$PureComponent) {
|
|
150
150
|
loaded: false,
|
151
151
|
zoom: 16
|
152
152
|
};
|
153
|
-
_this.handleClickZoomIn = _this.handleClickZoomIn.bind((0, _assertThisInitialized2.default)(
|
154
|
-
_this.handleScrollZoom = _this.handleScrollZoom.bind((0, _assertThisInitialized2.default)(
|
155
|
-
_this.handleClickZoomOut = _this.handleClickZoomOut.bind((0, _assertThisInitialized2.default)(
|
156
|
-
_this.handleCenter = _this.handleCenter.bind((0, _assertThisInitialized2.default)(
|
153
|
+
_this.handleClickZoomIn = _this.handleClickZoomIn.bind((0, _assertThisInitialized2.default)(_this));
|
154
|
+
_this.handleScrollZoom = _this.handleScrollZoom.bind((0, _assertThisInitialized2.default)(_this));
|
155
|
+
_this.handleClickZoomOut = _this.handleClickZoomOut.bind((0, _assertThisInitialized2.default)(_this));
|
156
|
+
_this.handleCenter = _this.handleCenter.bind((0, _assertThisInitialized2.default)(_this));
|
157
157
|
return _this;
|
158
158
|
} // Loads the libraries once the component mounted to avoid error caused by server-cli rendering.
|
159
159
|
|
package/HiMap/HiMapExpand.js
CHANGED
@@ -17,10 +17,10 @@ var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime
|
|
17
17
|
|
18
18
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
19
19
|
|
20
|
-
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
21
|
-
|
22
20
|
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
|
23
21
|
|
22
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
23
|
+
|
24
24
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
25
25
|
|
26
26
|
var _react = _interopRequireDefault(require("react"));
|
@@ -108,8 +108,8 @@ function (_React$PureComponent) {
|
|
108
108
|
addressNotFound: false,
|
109
109
|
expanded: false
|
110
110
|
};
|
111
|
-
_this.handleAddressNotFound = _this.handleAddressNotFound.bind((0, _assertThisInitialized2.default)(
|
112
|
-
_this.handleExpand = _this.handleExpand.bind((0, _assertThisInitialized2.default)(
|
111
|
+
_this.handleAddressNotFound = _this.handleAddressNotFound.bind((0, _assertThisInitialized2.default)(_this));
|
112
|
+
_this.handleExpand = _this.handleExpand.bind((0, _assertThisInitialized2.default)(_this));
|
113
113
|
return _this;
|
114
114
|
}
|
115
115
|
|
package/HiNotice/HiKPI.js
CHANGED
@@ -17,10 +17,10 @@ var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime
|
|
17
17
|
|
18
18
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
19
19
|
|
20
|
-
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
21
|
-
|
22
20
|
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
|
23
21
|
|
22
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
23
|
+
|
24
24
|
var _react = _interopRequireDefault(require("react"));
|
25
25
|
|
26
26
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
@@ -126,7 +126,7 @@ function (_React$Component) {
|
|
126
126
|
};
|
127
127
|
};
|
128
128
|
|
129
|
-
_this.handleClick = _this.handleClick.bind((0, _assertThisInitialized2.default)(
|
129
|
+
_this.handleClick = _this.handleClick.bind((0, _assertThisInitialized2.default)(_this));
|
130
130
|
return _this;
|
131
131
|
}
|
132
132
|
|
@@ -21,10 +21,10 @@ var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime
|
|
21
21
|
|
22
22
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
23
23
|
|
24
|
-
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
25
|
-
|
26
24
|
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
|
27
25
|
|
26
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
27
|
+
|
28
28
|
var _react = _interopRequireDefault(require("react"));
|
29
29
|
|
30
30
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
@@ -80,7 +80,7 @@ function (_React$PureComponent) {
|
|
80
80
|
return id !== item.id;
|
81
81
|
}), item);
|
82
82
|
} else {
|
83
|
-
onChange(event, (0, _toConsumableArray2.default)(value)
|
83
|
+
onChange(event, [].concat((0, _toConsumableArray2.default)(value), [item.id]), item);
|
84
84
|
}
|
85
85
|
};
|
86
86
|
|
@@ -91,14 +91,14 @@ function (_React$PureComponent) {
|
|
91
91
|
var _this$props2 = _this.props,
|
92
92
|
nextPage = _this$props2.nextPage,
|
93
93
|
translations = _this$props2.translations;
|
94
|
-
var itemList = (0, _toConsumableArray2.default)(options.length === 0 && !loading ? [{
|
94
|
+
var itemList = [].concat((0, _toConsumableArray2.default)(options.length === 0 && !loading ? [{
|
95
95
|
id: '_no_result',
|
96
96
|
type: 'text',
|
97
97
|
disabled: true,
|
98
98
|
centered: true,
|
99
99
|
hideCheckbox: true,
|
100
100
|
label: translations.no_result_match
|
101
|
-
}] : [])
|
101
|
+
}] : []), (0, _toConsumableArray2.default)(options), (0, _toConsumableArray2.default)(!loading && nextPage === 'manual' ? [{
|
102
102
|
id: '_next_page',
|
103
103
|
type: 'button',
|
104
104
|
centered: true,
|
@@ -117,8 +117,8 @@ function (_React$PureComponent) {
|
|
117
117
|
};
|
118
118
|
};
|
119
119
|
|
120
|
-
_this.handleScrollReachBottom = _this.handleScrollReachBottom.bind((0, _assertThisInitialized2.default)(
|
121
|
-
_this.handleSelect = _this.handleSelect.bind((0, _assertThisInitialized2.default)(
|
120
|
+
_this.handleScrollReachBottom = _this.handleScrollReachBottom.bind((0, _assertThisInitialized2.default)(_this));
|
121
|
+
_this.handleSelect = _this.handleSelect.bind((0, _assertThisInitialized2.default)(_this));
|
122
122
|
return _this;
|
123
123
|
}
|
124
124
|
|