@hipay/hipay-material-ui 3.15.3-beta.0 → 3.15.3-beta.1
Sign up to get free protection for your applications and to get access to all the features.
- package/HiAccordion/HiAccordion.js +3 -4
- package/HiAccordion/index.js +1 -2
- package/HiAccordionActions/HiAccordionActions.js +1 -2
- package/HiAccordionActions/index.js +1 -2
- package/HiAccordionSummary/HiAccordionSummary.js +1 -2
- package/HiAccordionSummary/index.js +1 -2
- package/HiAlertModal/HiAlertModal.js +3 -4
- package/HiAlertModal/index.js +1 -2
- package/HiAppBar/HiAppBar.js +3 -5
- package/HiAvatar/HiAvatar.js +1 -2
- package/HiBadge/HiBadge.js +4 -7
- package/HiBreadcrumb/HiBreadcrumb.js +1 -2
- package/HiBreadcrumb/HiStep.js +3 -5
- package/HiBreadcrumb/HiStepConnector.js +4 -7
- package/HiBreadcrumb/HiStepContent.js +3 -5
- package/HiBreadcrumb/HiStepIcon.js +6 -9
- package/HiBreadcrumb/HiStepLabel.js +5 -8
- package/HiBreadcrumb/HiStepper.js +3 -5
- package/HiButton/HiButton.js +4 -6
- package/HiButton/index.js +1 -2
- package/HiCell/CellAddress.js +3 -5
- package/HiCell/CellDate.js +3 -5
- package/HiCell/CellHiddenContent.js +4 -6
- package/HiCell/CellIcon.js +3 -5
- package/HiCell/CellImage.js +3 -5
- package/HiCell/CellNumeric.js +3 -5
- package/HiCell/CellPinToAction.js +3 -5
- package/HiCell/CellRate.js +5 -8
- package/HiCell/CellSentinel.js +3 -5
- package/HiCell/CellSentinelScore.js +4 -7
- package/HiCell/CellText.js +3 -5
- package/HiCell/CellTextStyled.js +1 -2
- package/HiCheckbox/HiCheckbox.js +4 -7
- package/HiChip/HiChip.js +2 -4
- package/HiChip/HiChipSwitch.js +5 -8
- package/HiColoredLabel/HiColoredLabel.js +10 -13
- package/HiDatePicker/Caption.js +3 -5
- package/HiDatePicker/HiDatePicker.js +2 -3
- package/HiDatePicker/HiDatePickerMobile.js +1 -2
- package/HiDatePicker/HiDateRangePicker.js +4 -6
- package/HiDatePicker/HiDateRangeSelector.js +4 -7
- package/HiDatePicker/ListPicker.js +3 -5
- package/HiDatePicker/NavBar.js +3 -5
- package/HiDatePicker/Overlays/CustomOverlayLayout.js +4 -7
- package/HiDatePicker/Overlays/CustomOverlayLayoutWithoutFooter.js +4 -7
- package/HiDatePicker/Overlays/MonthPickerOverlay.js +1 -2
- package/HiDatePicker/Overlays/Overlay.js +4 -7
- package/HiDatePicker/Overlays/TimePickerOverlay.js +3 -5
- package/HiDatePicker/Overlays/YearPickerOverlay.js +1 -2
- package/HiDatePicker/Weekday.js +1 -2
- package/HiDatePicker/hiLocaleUtils.js +1 -2
- package/HiDatePicker/stylesheet.js +2 -3
- package/HiDialog/HiDialog.js +3 -4
- package/HiDotsStepper/HiDot.js +3 -5
- package/HiDotsStepper/HiDotsStepper.js +3 -5
- package/HiExpansionPanel/HiExpansionPanel.js +3 -4
- package/HiExpansionPanel/index.js +1 -2
- package/HiForm/HiAddressField.js +1 -2
- package/HiForm/HiEmailField.js +1 -2
- package/HiForm/HiFormControl.js +4 -7
- package/HiForm/HiFormLabel.js +3 -5
- package/HiForm/HiInput.js +8 -14
- package/HiForm/HiPasswordField.js +3 -5
- package/HiForm/HiSearchField.js +1 -2
- package/HiForm/HiSlider.js +3 -5
- package/HiForm/HiTextField.js +1 -2
- package/HiForm/HiUpload.js +6 -10
- package/HiForm/HiUploadField.js +1 -2
- package/HiForm/HiUploadInput.js +5 -8
- package/HiIcon/HiIcon.js +4 -6
- package/HiIconButton/HiIconButton.js +2 -4
- package/HiListItemLink/HiListItemLink.js +1 -2
- package/HiLoader/HiLoader.js +2 -3
- package/HiNotice/HiKPI.js +4 -7
- package/HiNotice/HiKPINotice.js +2 -3
- package/HiPagination/HiPagination.js +1 -2
- package/HiPaymentMeans/HiPaymentMeans.js +7 -12
- package/HiPdfReader/HiPdfReader.js +3 -5
- package/HiPin/HiPin.js +3 -6
- package/HiRadio/HiRadio.js +3 -5
- package/HiScrollStepper/HiScrollStepper.js +3 -4
- package/HiSelect/HiDynamicSelect.js +1 -2
- package/HiSelect/HiDynamicSelectField.js +2 -4
- package/HiSelect/HiNestedSelect.js +4 -7
- package/HiSelect/HiNestedSelectContent.js +2 -4
- package/HiSelect/HiNestedSelectField.js +2 -4
- package/HiSelect/HiSelect.js +5 -8
- package/HiSelect/HiSelectContent.js +4 -7
- package/HiSelect/HiSelectField.js +2 -4
- package/HiSelect/HiSelectInput.js +6 -10
- package/HiSelect/HiSelectMobile.js +2 -4
- package/HiSelect/HiSuggestSelect.js +3 -5
- package/HiSelect/HiSuggestSelectField.js +2 -4
- package/HiSelect/index.js +2 -2
- package/HiSelectableList/HiSelectableList.js +5 -7
- package/HiSelectableList/HiSelectableListHierarchic.js +3 -5
- package/HiSelectableList/HiSelectableListItem.js +8 -12
- package/HiStepper/DefaultIndicator.js +1 -2
- package/HiStepper/HiStep.js +3 -4
- package/HiStepper/HiStepper.js +1 -2
- package/HiSwitch/HiSwitch.js +4 -7
- package/HiSwitch/HiSwitchState.js +5 -8
- package/HiTable/HiCellBuilder.js +3 -4
- package/HiTable/HiTable.js +3 -4
- package/HiTable/HiTableBody.js +1 -2
- package/HiTable/HiTableHeader.js +4 -5
- package/HiTable/HiTableRow.js +5 -7
- package/HiTable/constants.js +46 -91
- package/es/HiAccordion/HiAccordion.js +3 -4
- package/es/HiAccordion/index.js +1 -2
- package/es/HiAccordionActions/HiAccordionActions.js +1 -2
- package/es/HiAccordionActions/index.js +1 -2
- package/es/HiAccordionSummary/HiAccordionSummary.js +1 -2
- package/es/HiAccordionSummary/index.js +1 -2
- package/es/HiAlertModal/HiAlertModal.js +3 -4
- package/es/HiAlertModal/index.js +1 -2
- package/es/HiAppBar/HiAppBar.js +3 -5
- package/es/HiAvatar/HiAvatar.js +1 -2
- package/es/HiBadge/HiBadge.js +4 -7
- package/es/HiBreadcrumb/HiBreadcrumb.js +1 -2
- package/es/HiBreadcrumb/HiStep.js +3 -5
- package/es/HiBreadcrumb/HiStepConnector.js +4 -7
- package/es/HiBreadcrumb/HiStepContent.js +3 -5
- package/es/HiBreadcrumb/HiStepIcon.js +6 -9
- package/es/HiBreadcrumb/HiStepLabel.js +5 -8
- package/es/HiBreadcrumb/HiStepper.js +3 -5
- package/es/HiButton/HiButton.js +4 -6
- package/es/HiButton/index.js +1 -2
- package/es/HiCell/CellAddress.js +3 -5
- package/es/HiCell/CellDate.js +3 -5
- package/es/HiCell/CellHiddenContent.js +4 -6
- package/es/HiCell/CellIcon.js +3 -5
- package/es/HiCell/CellImage.js +3 -5
- package/es/HiCell/CellNumeric.js +3 -5
- package/es/HiCell/CellPinToAction.js +3 -5
- package/es/HiCell/CellRate.js +5 -8
- package/es/HiCell/CellSentinel.js +3 -5
- package/es/HiCell/CellSentinelScore.js +4 -7
- package/es/HiCell/CellText.js +3 -5
- package/es/HiCell/CellTextStyled.js +1 -2
- package/es/HiCheckbox/HiCheckbox.js +4 -7
- package/es/HiChip/HiChip.js +2 -4
- package/es/HiChip/HiChipSwitch.js +5 -8
- package/es/HiColoredLabel/HiColoredLabel.js +10 -13
- package/es/HiDatePicker/Caption.js +3 -5
- package/es/HiDatePicker/HiDatePicker.js +2 -3
- package/es/HiDatePicker/HiDatePickerMobile.js +1 -2
- package/es/HiDatePicker/HiDateRangePicker.js +4 -6
- package/es/HiDatePicker/HiDateRangeSelector.js +4 -7
- package/es/HiDatePicker/ListPicker.js +3 -5
- package/es/HiDatePicker/NavBar.js +3 -5
- package/es/HiDatePicker/Overlays/CustomOverlayLayout.js +4 -7
- package/es/HiDatePicker/Overlays/CustomOverlayLayoutWithoutFooter.js +4 -7
- package/es/HiDatePicker/Overlays/MonthPickerOverlay.js +1 -2
- package/es/HiDatePicker/Overlays/Overlay.js +4 -7
- package/es/HiDatePicker/Overlays/TimePickerOverlay.js +3 -5
- package/es/HiDatePicker/Overlays/YearPickerOverlay.js +1 -2
- package/es/HiDatePicker/Weekday.js +1 -2
- package/es/HiDatePicker/hiLocaleUtils.js +1 -2
- package/es/HiDatePicker/stylesheet.js +2 -3
- package/es/HiDialog/HiDialog.js +3 -4
- package/es/HiDotsStepper/HiDot.js +3 -5
- package/es/HiDotsStepper/HiDotsStepper.js +3 -5
- package/es/HiExpansionPanel/HiExpansionPanel.js +3 -4
- package/es/HiExpansionPanel/index.js +1 -2
- package/es/HiForm/HiAddressField.js +1 -2
- package/es/HiForm/HiEmailField.js +1 -2
- package/es/HiForm/HiFormControl.js +4 -7
- package/es/HiForm/HiFormLabel.js +3 -5
- package/es/HiForm/HiInput.js +8 -14
- package/es/HiForm/HiPasswordField.js +3 -5
- package/es/HiForm/HiSearchField.js +1 -2
- package/es/HiForm/HiSlider.js +3 -5
- package/es/HiForm/HiTextField.js +1 -2
- package/es/HiForm/HiUpload.js +6 -10
- package/es/HiForm/HiUploadField.js +1 -2
- package/es/HiForm/HiUploadInput.js +5 -8
- package/es/HiIcon/HiIcon.js +4 -6
- package/es/HiIconButton/HiIconButton.js +2 -4
- package/es/HiListItemLink/HiListItemLink.js +1 -2
- package/es/HiLoader/HiLoader.js +2 -3
- package/es/HiNotice/HiKPI.js +4 -7
- package/es/HiNotice/HiKPINotice.js +2 -3
- package/es/HiPagination/HiPagination.js +1 -2
- package/es/HiPaymentMeans/HiPaymentMeans.js +7 -12
- package/es/HiPdfReader/HiPdfReader.js +3 -5
- package/es/HiPin/HiPin.js +3 -6
- package/es/HiRadio/HiRadio.js +3 -5
- package/es/HiScrollStepper/HiScrollStepper.js +3 -4
- package/es/HiSelect/HiDynamicSelect.js +1 -2
- package/es/HiSelect/HiDynamicSelectField.js +2 -4
- package/es/HiSelect/HiNestedSelect.js +4 -7
- package/es/HiSelect/HiNestedSelectContent.js +2 -4
- package/es/HiSelect/HiNestedSelectField.js +2 -4
- package/es/HiSelect/HiSelect.js +5 -8
- package/es/HiSelect/HiSelectContent.js +4 -7
- package/es/HiSelect/HiSelectField.js +2 -4
- package/es/HiSelect/HiSelectInput.js +6 -10
- package/es/HiSelect/HiSelectMobile.js +2 -4
- package/es/HiSelect/HiSuggestSelect.js +3 -5
- package/es/HiSelect/HiSuggestSelectField.js +2 -4
- package/es/HiSelect/index.js +2 -2
- package/es/HiSelectableList/HiSelectableList.js +5 -7
- package/es/HiSelectableList/HiSelectableListHierarchic.js +3 -5
- package/es/HiSelectableList/HiSelectableListItem.js +8 -12
- package/es/HiStepper/DefaultIndicator.js +1 -2
- package/es/HiStepper/HiStep.js +3 -4
- package/es/HiStepper/HiStepper.js +1 -2
- package/es/HiSwitch/HiSwitch.js +4 -7
- package/es/HiSwitch/HiSwitchState.js +5 -8
- package/es/HiTable/HiCellBuilder.js +3 -4
- package/es/HiTable/HiTable.js +3 -4
- package/es/HiTable/HiTableBody.js +1 -2
- package/es/HiTable/HiTableHeader.js +4 -5
- package/es/HiTable/HiTableRow.js +5 -7
- package/es/HiTable/constants.js +46 -91
- package/es/hi-svg-icons/HiAccount.js +1 -2
- package/es/hi-svg-icons/HiActivity.js +1 -2
- package/es/hi-svg-icons/HiAll.js +1 -2
- package/es/hi-svg-icons/HiBilling.js +1 -2
- package/es/hi-svg-icons/HiBriefcaseRescue.js +1 -2
- package/es/hi-svg-icons/HiBusiness.js +1 -2
- package/es/hi-svg-icons/HiCatalog.js +1 -2
- package/es/hi-svg-icons/HiCustomer.js +1 -2
- package/es/hi-svg-icons/HiDownload.js +1 -2
- package/es/hi-svg-icons/HiFinance.js +1 -2
- package/es/hi-svg-icons/HiFinanceMenu.js +1 -2
- package/es/hi-svg-icons/HiHostedPaymentPage.js +1 -2
- package/es/hi-svg-icons/HiHostedPaymentPageMenu.js +1 -2
- package/es/hi-svg-icons/HiIntegration.js +1 -2
- package/es/hi-svg-icons/HiIntegrationMenu.js +1 -2
- package/es/hi-svg-icons/HiIntelligence.js +1 -2
- package/es/hi-svg-icons/HiIntelligenceMenu.js +1 -2
- package/es/hi-svg-icons/HiInvoice.js +1 -2
- package/es/hi-svg-icons/HiInvoiceMenu.js +1 -2
- package/es/hi-svg-icons/HiLogoRounded.js +1 -2
- package/es/hi-svg-icons/HiOrder.js +1 -2
- package/es/hi-svg-icons/HiPaymentOrder.js +1 -2
- package/es/hi-svg-icons/HiPermission.js +1 -2
- package/es/hi-svg-icons/HiPriceGrid.js +1 -2
- package/es/hi-svg-icons/HiPrivate.js +1 -2
- package/es/hi-svg-icons/HiRoute.js +1 -2
- package/es/hi-svg-icons/HiRouteMenu.js +1 -2
- package/es/hi-svg-icons/HiRouteSwitch.js +1 -2
- package/es/hi-svg-icons/HiRouteSwitchMenu.js +1 -2
- package/es/hi-svg-icons/HiSettlement.js +1 -2
- package/es/hi-svg-icons/HiSizeLarge.js +1 -2
- package/es/hi-svg-icons/HiSizeMedium.js +1 -2
- package/es/hi-svg-icons/HiSizeSmall.js +1 -2
- package/es/hi-svg-icons/HiStore.js +1 -2
- package/es/hi-svg-icons/HiStoreMenu.js +1 -2
- package/es/hi-svg-icons/HiTransaction.js +1 -2
- package/es/hi-svg-icons/HiTransactionMenu.js +1 -2
- package/es/hi-svg-icons/HiUser.js +1 -2
- package/es/hi-svg-icons/HiVendor.js +1 -2
- package/es/hi-svg-icons/HiWidget.js +1 -2
- package/es/hi-svg-images/HiLogo.js +1 -2
- package/es/hi-svg-images/HiLogoWhite.js +1 -2
- package/es/styles/MuiThemeProvider.js +4 -6
- package/es/styles/createBreakpoints.js +1 -2
- package/es/styles/createMixins.js +4 -5
- package/es/styles/createMuiTheme.js +1 -2
- package/es/styles/createPalette.js +2 -4
- package/es/styles/getStylesCreator.js +1 -2
- package/es/styles/getThemeProps.js +1 -2
- package/es/styles/jssPreset.js +1 -2
- package/es/styles/makeStyles.js +2 -3
- package/es/styles/mergeClasses.js +1 -2
- package/es/styles/shadows.js +1 -2
- package/es/styles/shape.js +1 -2
- package/es/styles/spacing.js +1 -2
- package/es/styles/themeListener.js +2 -4
- package/es/styles/transitions.js +7 -13
- package/es/styles/withStyles.js +2 -3
- package/es/styles/zIndex.js +1 -2
- package/es/test-utils/getClasses.js +1 -2
- package/es/theme/palette.js +2 -3
- package/es/theme/typography.js +2 -3
- package/es/theme.js +2 -3
- package/es/transitions/utils.js +1 -2
- package/es/utils/exactProp.js +2 -4
- package/es/withMobileDialog/withMobileDialog.js +1 -2
- package/hi-svg-icons/HiAccount.js +1 -2
- package/hi-svg-icons/HiActivity.js +1 -2
- package/hi-svg-icons/HiAll.js +1 -2
- package/hi-svg-icons/HiBilling.js +1 -2
- package/hi-svg-icons/HiBriefcaseRescue.js +1 -2
- package/hi-svg-icons/HiBusiness.js +1 -2
- package/hi-svg-icons/HiCatalog.js +1 -2
- package/hi-svg-icons/HiCustomer.js +1 -2
- package/hi-svg-icons/HiDownload.js +1 -2
- package/hi-svg-icons/HiFinance.js +1 -2
- package/hi-svg-icons/HiFinanceMenu.js +1 -2
- package/hi-svg-icons/HiHostedPaymentPage.js +1 -2
- package/hi-svg-icons/HiHostedPaymentPageMenu.js +1 -2
- package/hi-svg-icons/HiIntegration.js +1 -2
- package/hi-svg-icons/HiIntegrationMenu.js +1 -2
- package/hi-svg-icons/HiIntelligence.js +1 -2
- package/hi-svg-icons/HiIntelligenceMenu.js +1 -2
- package/hi-svg-icons/HiInvoice.js +1 -2
- package/hi-svg-icons/HiInvoiceMenu.js +1 -2
- package/hi-svg-icons/HiLogoRounded.js +1 -2
- package/hi-svg-icons/HiOrder.js +1 -2
- package/hi-svg-icons/HiPaymentOrder.js +1 -2
- package/hi-svg-icons/HiPermission.js +1 -2
- package/hi-svg-icons/HiPriceGrid.js +1 -2
- package/hi-svg-icons/HiPrivate.js +1 -2
- package/hi-svg-icons/HiRoute.js +1 -2
- package/hi-svg-icons/HiRouteMenu.js +1 -2
- package/hi-svg-icons/HiRouteSwitch.js +1 -2
- package/hi-svg-icons/HiRouteSwitchMenu.js +1 -2
- package/hi-svg-icons/HiSettlement.js +1 -2
- package/hi-svg-icons/HiSizeLarge.js +1 -2
- package/hi-svg-icons/HiSizeMedium.js +1 -2
- package/hi-svg-icons/HiSizeSmall.js +1 -2
- package/hi-svg-icons/HiStore.js +1 -2
- package/hi-svg-icons/HiStoreMenu.js +1 -2
- package/hi-svg-icons/HiTransaction.js +1 -2
- package/hi-svg-icons/HiTransactionMenu.js +1 -2
- package/hi-svg-icons/HiUser.js +1 -2
- package/hi-svg-icons/HiVendor.js +1 -2
- package/hi-svg-icons/HiWidget.js +1 -2
- package/hi-svg-images/HiLogo.js +1 -2
- package/hi-svg-images/HiLogoWhite.js +1 -2
- package/package.json +2 -2
- package/styles/MuiThemeProvider.js +4 -6
- package/styles/createBreakpoints.js +1 -2
- package/styles/createMixins.js +4 -5
- package/styles/createMuiTheme.js +1 -2
- package/styles/createPalette.js +2 -4
- package/styles/getStylesCreator.js +1 -2
- package/styles/getThemeProps.js +1 -2
- package/styles/jssPreset.js +1 -2
- package/styles/makeStyles.js +2 -3
- package/styles/mergeClasses.js +1 -2
- package/styles/shadows.js +1 -2
- package/styles/shape.js +1 -2
- package/styles/spacing.js +1 -2
- package/styles/themeListener.js +2 -4
- package/styles/transitions.js +7 -13
- package/styles/withStyles.js +2 -3
- package/styles/zIndex.js +1 -2
- package/test-utils/getClasses.js +1 -2
- package/theme/palette.js +2 -3
- package/theme/typography.js +2 -3
- package/theme.js +2 -3
- package/transitions/utils.js +1 -2
- package/utils/exactProp.js +2 -4
- package/withMobileDialog/withMobileDialog.js +1 -2
@@ -15,14 +15,13 @@ var _react = _interopRequireDefault(require("react"));
|
|
15
15
|
var _withStyles = _interopRequireDefault(require("@mui/styles/withStyles"));
|
16
16
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
17
17
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
18
|
-
var styles = function styles() {
|
18
|
+
var styles = exports.styles = function styles() {
|
19
19
|
return {
|
20
20
|
root: {
|
21
21
|
width: '100%'
|
22
22
|
}
|
23
23
|
};
|
24
24
|
};
|
25
|
-
exports.styles = styles;
|
26
25
|
var HiStepper = /*#__PURE__*/function (_React$PureComponent) {
|
27
26
|
(0, _inherits2.default)(HiStepper, _React$PureComponent);
|
28
27
|
var _super = _createSuper(HiStepper);
|
@@ -54,8 +53,7 @@ var HiStepper = /*#__PURE__*/function (_React$PureComponent) {
|
|
54
53
|
HiStepper.defaultProps = {
|
55
54
|
activeStep: 0
|
56
55
|
};
|
57
|
-
var _default = (0, _withStyles.default)(styles, {
|
56
|
+
var _default = exports.default = (0, _withStyles.default)(styles, {
|
58
57
|
hiComponent: true,
|
59
58
|
name: 'MuiHiStepper'
|
60
|
-
})(HiStepper);
|
61
|
-
exports.default = _default;
|
59
|
+
})(HiStepper);
|
package/es/HiButton/HiButton.js
CHANGED
@@ -12,9 +12,9 @@ var _react = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _Button = _interopRequireDefault(require("@mui/material/Button"));
|
13
13
|
var _styles = require("@mui/material/styles");
|
14
14
|
var _makeStyles = _interopRequireDefault(require("@mui/styles/makeStyles"));
|
15
|
-
function _getRequireWildcardCache(
|
16
|
-
function _interopRequireWildcard(
|
17
|
-
var useStyles = (0, _makeStyles.default)(function (theme) {
|
15
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
16
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
17
|
+
var useStyles = exports.useStyles = (0, _makeStyles.default)(function (theme) {
|
18
18
|
return {
|
19
19
|
root: {},
|
20
20
|
// a style rule
|
@@ -125,7 +125,6 @@ var useStyles = (0, _makeStyles.default)(function (theme) {
|
|
125
125
|
* HiButton
|
126
126
|
* Inherited from Button
|
127
127
|
*/
|
128
|
-
exports.useStyles = useStyles;
|
129
128
|
var HiButton = _react.default.forwardRef(function (props, ref) {
|
130
129
|
var disableElevation = props.disableElevation,
|
131
130
|
variant = props.variant,
|
@@ -165,5 +164,4 @@ HiButton.defaultProps = {
|
|
165
164
|
variant: 'text',
|
166
165
|
color: 'neutral'
|
167
166
|
};
|
168
|
-
var _default = HiButton;
|
169
|
-
exports.default = _default;
|
167
|
+
var _default = exports.default = HiButton;
|
package/es/HiButton/index.js
CHANGED
package/es/HiCell/CellAddress.js
CHANGED
@@ -14,7 +14,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
14
14
|
var _withStyles = _interopRequireDefault(require("@mui/styles/withStyles"));
|
15
15
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
16
16
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
17
|
-
var styles = function styles() {
|
17
|
+
var styles = exports.styles = function styles() {
|
18
18
|
return {
|
19
19
|
rightEllipsisSpan: {
|
20
20
|
overflow: 'hidden',
|
@@ -31,7 +31,6 @@ var styles = function styles() {
|
|
31
31
|
* - sinon on affiche la ville et le pays
|
32
32
|
* - tous les champs définis sont affichés dans le tooltip
|
33
33
|
*/
|
34
|
-
exports.styles = styles;
|
35
34
|
var CellAddress = /*#__PURE__*/function (_React$PureComponent) {
|
36
35
|
(0, _inherits2.default)(CellAddress, _React$PureComponent);
|
37
36
|
var _super = _createSuper(CellAddress);
|
@@ -75,7 +74,6 @@ var CellAddress = /*#__PURE__*/function (_React$PureComponent) {
|
|
75
74
|
CellAddress.defaultProps = {
|
76
75
|
view: 'l'
|
77
76
|
};
|
78
|
-
var _default = (0, _withStyles.default)(styles, {
|
77
|
+
var _default = exports.default = (0, _withStyles.default)(styles, {
|
79
78
|
name: 'HmuiCellAddress'
|
80
|
-
})(CellAddress);
|
81
|
-
exports.default = _default;
|
79
|
+
})(CellAddress);
|
package/es/HiCell/CellDate.js
CHANGED
@@ -15,7 +15,7 @@ var _momentTimezone = _interopRequireDefault(require("moment-timezone"));
|
|
15
15
|
var _withStyles = _interopRequireDefault(require("@mui/styles/withStyles"));
|
16
16
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
17
17
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
18
|
-
var styles = {
|
18
|
+
var styles = exports.styles = {
|
19
19
|
rightEllipsisSpan: {
|
20
20
|
display: 'inline-block',
|
21
21
|
overflow: 'hidden',
|
@@ -31,7 +31,6 @@ var styles = {
|
|
31
31
|
/**
|
32
32
|
* Cette cellule permet d'afficher une date en fonction de la locale de l'utilisateur
|
33
33
|
*/
|
34
|
-
exports.styles = styles;
|
35
34
|
var CellDate = /*#__PURE__*/function (_React$PureComponent) {
|
36
35
|
(0, _inherits2.default)(CellDate, _React$PureComponent);
|
37
36
|
var _super = _createSuper(CellDate);
|
@@ -79,7 +78,6 @@ CellDate.defaultProps = {
|
|
79
78
|
locale: 'en',
|
80
79
|
view: 'm'
|
81
80
|
};
|
82
|
-
var _default = (0, _withStyles.default)(styles, {
|
81
|
+
var _default = exports.default = (0, _withStyles.default)(styles, {
|
83
82
|
name: 'HmuiCellDate'
|
84
|
-
})(CellDate);
|
85
|
-
exports.default = _default;
|
83
|
+
})(CellDate);
|
@@ -13,9 +13,9 @@ var _makeStyles = _interopRequireDefault(require("@mui/styles/makeStyles"));
|
|
13
13
|
var _classnames = _interopRequireDefault(require("classnames"));
|
14
14
|
var _VisibilityRounded = _interopRequireDefault(require("@mui/icons-material/VisibilityRounded"));
|
15
15
|
var _VisibilityOffRounded = _interopRequireDefault(require("@mui/icons-material/VisibilityOffRounded"));
|
16
|
-
function _getRequireWildcardCache(
|
17
|
-
function _interopRequireWildcard(
|
18
|
-
var useStyles = (0, _makeStyles.default)(function (theme) {
|
16
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
17
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
18
|
+
var useStyles = exports.useStyles = (0, _makeStyles.default)(function (theme) {
|
19
19
|
return {
|
20
20
|
root: {
|
21
21
|
display: 'flex',
|
@@ -41,7 +41,6 @@ var useStyles = (0, _makeStyles.default)(function (theme) {
|
|
41
41
|
iconDisable: {}
|
42
42
|
};
|
43
43
|
});
|
44
|
-
exports.useStyles = useStyles;
|
45
44
|
var CellHiddenContent = function CellHiddenContent(props) {
|
46
45
|
var _props$value = props.value,
|
47
46
|
value = _props$value === void 0 ? null : _props$value;
|
@@ -79,5 +78,4 @@ var CellHiddenContent = function CellHiddenContent(props) {
|
|
79
78
|
onClick: handleClick
|
80
79
|
}, content);
|
81
80
|
};
|
82
|
-
var _default = CellHiddenContent;
|
83
|
-
exports.default = _default;
|
81
|
+
var _default = exports.default = CellHiddenContent;
|
package/es/HiCell/CellIcon.js
CHANGED
@@ -16,7 +16,7 @@ var _HiIcon = _interopRequireDefault(require("../HiIcon"));
|
|
16
16
|
var _HiIconButton = _interopRequireDefault(require("../HiIconButton"));
|
17
17
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
18
18
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
19
|
-
var styles = {
|
19
|
+
var styles = exports.styles = {
|
20
20
|
icon: {
|
21
21
|
float: 'left'
|
22
22
|
},
|
@@ -40,7 +40,6 @@ var styles = {
|
|
40
40
|
* Cette cellule permet d'afficher une icône et un label (optionnel).
|
41
41
|
* En vue small (s) elle affiche uniquement l'icône avec une largeur fixe.
|
42
42
|
*/
|
43
|
-
exports.styles = styles;
|
44
43
|
var CellIcon = /*#__PURE__*/function (_React$PureComponent) {
|
45
44
|
(0, _inherits2.default)(CellIcon, _React$PureComponent);
|
46
45
|
var _super = _createSuper(CellIcon);
|
@@ -103,7 +102,6 @@ CellIcon.defaultProps = {
|
|
103
102
|
view: 'm',
|
104
103
|
color: 'neutral'
|
105
104
|
};
|
106
|
-
var _default = (0, _withStyles.default)(styles, {
|
105
|
+
var _default = exports.default = (0, _withStyles.default)(styles, {
|
107
106
|
name: 'HmuiCellIcon'
|
108
|
-
})(CellIcon);
|
109
|
-
exports.default = _default;
|
107
|
+
})(CellIcon);
|
package/es/HiCell/CellImage.js
CHANGED
@@ -14,7 +14,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
14
14
|
var _withStyles = _interopRequireDefault(require("@mui/styles/withStyles"));
|
15
15
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
16
16
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
17
|
-
var styles = function styles() {
|
17
|
+
var styles = exports.styles = function styles() {
|
18
18
|
return {
|
19
19
|
img: {
|
20
20
|
height: 'auto',
|
@@ -32,7 +32,6 @@ var styles = function styles() {
|
|
32
32
|
}
|
33
33
|
};
|
34
34
|
};
|
35
|
-
exports.styles = styles;
|
36
35
|
var handleError = function handleError(fallbackImage) {
|
37
36
|
return function (e) {
|
38
37
|
if (fallbackImage) {
|
@@ -89,7 +88,6 @@ CellImage.defaultProps = {
|
|
89
88
|
size: 24,
|
90
89
|
view: 's'
|
91
90
|
};
|
92
|
-
var _default = (0, _withStyles.default)(styles, {
|
91
|
+
var _default = exports.default = (0, _withStyles.default)(styles, {
|
93
92
|
name: 'HmuiCellImage'
|
94
|
-
})(CellImage);
|
95
|
-
exports.default = _default;
|
93
|
+
})(CellImage);
|
package/es/HiCell/CellNumeric.js
CHANGED
@@ -16,7 +16,7 @@ var _helpers = require("../utils/helpers");
|
|
16
16
|
var _HiButton = _interopRequireDefault(require("../HiButton"));
|
17
17
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
18
18
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
19
|
-
var styles = function styles() {
|
19
|
+
var styles = exports.styles = function styles() {
|
20
20
|
return {
|
21
21
|
wrapper: {
|
22
22
|
textAlign: 'right'
|
@@ -30,7 +30,6 @@ var styles = function styles() {
|
|
30
30
|
/**
|
31
31
|
* Cette cellule permet d'afficher un volume ou un montant avec devise
|
32
32
|
*/
|
33
|
-
exports.styles = styles;
|
34
33
|
var CellNumeric = /*#__PURE__*/function (_React$PureComponent) {
|
35
34
|
(0, _inherits2.default)(CellNumeric, _React$PureComponent);
|
36
35
|
var _super = _createSuper(CellNumeric);
|
@@ -81,7 +80,6 @@ CellNumeric.defaultProps = {
|
|
81
80
|
view: 'm',
|
82
81
|
locale: 'en'
|
83
82
|
};
|
84
|
-
var _default = (0, _withStyles.default)(styles, {
|
83
|
+
var _default = exports.default = (0, _withStyles.default)(styles, {
|
85
84
|
name: 'HmuiCellNumeric'
|
86
|
-
})(CellNumeric);
|
87
|
-
exports.default = _default;
|
85
|
+
})(CellNumeric);
|
@@ -15,7 +15,7 @@ var _withStyles = _interopRequireDefault(require("@mui/styles/withStyles"));
|
|
15
15
|
var _HiPin = _interopRequireDefault(require("../HiPin"));
|
16
16
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
17
17
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
18
|
-
var styles = {
|
18
|
+
var styles = exports.styles = {
|
19
19
|
wrapperLeft: {
|
20
20
|
maxWidth: '100%',
|
21
21
|
display: 'inline-flex'
|
@@ -31,7 +31,6 @@ var styles = {
|
|
31
31
|
/**
|
32
32
|
* Cette cellule permet d'afficher un pin avec callback (optionnel).
|
33
33
|
*/
|
34
|
-
exports.styles = styles;
|
35
34
|
var _ref = /*#__PURE__*/_react.default.createElement(_HiPin.default, null, "0");
|
36
35
|
var CellPinToAction = /*#__PURE__*/function (_React$PureComponent) {
|
37
36
|
(0, _inherits2.default)(CellPinToAction, _React$PureComponent);
|
@@ -70,7 +69,6 @@ CellPinToAction.defaultProps = {
|
|
70
69
|
color: "primary",
|
71
70
|
align: "left"
|
72
71
|
};
|
73
|
-
var _default = (0, _withStyles.default)(styles, {
|
72
|
+
var _default = exports.default = (0, _withStyles.default)(styles, {
|
74
73
|
name: 'HmuiCellPin'
|
75
|
-
})(CellPinToAction);
|
76
|
-
exports.default = _default;
|
74
|
+
})(CellPinToAction);
|
package/es/HiCell/CellRate.js
CHANGED
@@ -20,7 +20,7 @@ var _helpers = require("../utils/helpers");
|
|
20
20
|
var _withStyles = _interopRequireDefault(require("@mui/styles/withStyles"));
|
21
21
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
22
22
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
23
|
-
var styles = function styles(theme) {
|
23
|
+
var styles = exports.styles = function styles(theme) {
|
24
24
|
return {
|
25
25
|
flexContent: {
|
26
26
|
display: 'flex',
|
@@ -62,7 +62,6 @@ var styles = function styles(theme) {
|
|
62
62
|
* Cette cellule permet d'afficher un pourcentage
|
63
63
|
* avec une icône d'évolution (optionnelle) et un indicateur du type de données représentées (optionnel)
|
64
64
|
*/
|
65
|
-
exports.styles = styles;
|
66
65
|
var CellRate = /*#__PURE__*/function (_React$PureComponent) {
|
67
66
|
(0, _inherits2.default)(CellRate, _React$PureComponent);
|
68
67
|
var _super = _createSuper(CellRate);
|
@@ -73,7 +72,6 @@ var CellRate = /*#__PURE__*/function (_React$PureComponent) {
|
|
73
72
|
(0, _createClass2.default)(CellRate, [{
|
74
73
|
key: "render",
|
75
74
|
value: function render() {
|
76
|
-
var _classNames, _classNames2;
|
77
75
|
var _this$props = this.props,
|
78
76
|
classes = _this$props.classes,
|
79
77
|
value = _this$props.value,
|
@@ -92,12 +90,12 @@ var CellRate = /*#__PURE__*/function (_React$PureComponent) {
|
|
92
90
|
break;
|
93
91
|
case 'up':
|
94
92
|
trendIcon = /*#__PURE__*/_react.default.createElement(_ArrowTopRight.default, {
|
95
|
-
className: (0, _classnames.default)(classes.trendChipIcon, (
|
93
|
+
className: (0, _classnames.default)(classes.trendChipIcon, (0, _defineProperty2.default)((0, _defineProperty2.default)({}, classes.success, isPositive), classes.error, !isPositive))
|
96
94
|
});
|
97
95
|
break;
|
98
96
|
case 'down':
|
99
97
|
trendIcon = /*#__PURE__*/_react.default.createElement(_ArrowBottomRight.default, {
|
100
|
-
className: (0, _classnames.default)(classes.trendChipIcon, (
|
98
|
+
className: (0, _classnames.default)(classes.trendChipIcon, (0, _defineProperty2.default)((0, _defineProperty2.default)({}, classes.success, !isPositive), classes.error, isPositive))
|
101
99
|
});
|
102
100
|
break;
|
103
101
|
default:
|
@@ -121,7 +119,6 @@ CellRate.defaultProps = {
|
|
121
119
|
isPositive: true,
|
122
120
|
locale: 'en'
|
123
121
|
};
|
124
|
-
var _default = (0, _withStyles.default)(styles, {
|
122
|
+
var _default = exports.default = (0, _withStyles.default)(styles, {
|
125
123
|
name: 'HmuiCellRate'
|
126
|
-
})(CellRate);
|
127
|
-
exports.default = _default;
|
124
|
+
})(CellRate);
|
@@ -15,7 +15,7 @@ var _HiColoredLabel = _interopRequireDefault(require("../HiColoredLabel"));
|
|
15
15
|
var _withStyles = _interopRequireDefault(require("@mui/styles/withStyles"));
|
16
16
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
17
17
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
18
|
-
var styles = {
|
18
|
+
var styles = exports.styles = {
|
19
19
|
flexContent: {
|
20
20
|
display: 'flex',
|
21
21
|
justifyContent: 'flex-end'
|
@@ -26,7 +26,6 @@ var styles = {
|
|
26
26
|
/**
|
27
27
|
* Cette cellule permet d'afficher le résultat de Sentinel (score & fraudResult & smartDecision)
|
28
28
|
*/
|
29
|
-
exports.styles = styles;
|
30
29
|
var CellSentinel = /*#__PURE__*/function (_React$PureComponent) {
|
31
30
|
(0, _inherits2.default)(CellSentinel, _React$PureComponent);
|
32
31
|
var _super = _createSuper(CellSentinel);
|
@@ -68,7 +67,6 @@ CellSentinel.defaultProps = {
|
|
68
67
|
active: false,
|
69
68
|
outlined: false
|
70
69
|
};
|
71
|
-
var _default = (0, _withStyles.default)(styles, {
|
70
|
+
var _default = exports.default = (0, _withStyles.default)(styles, {
|
72
71
|
name: 'HmuiCellSentinel'
|
73
|
-
})(CellSentinel);
|
74
|
-
exports.default = _default;
|
72
|
+
})(CellSentinel);
|
@@ -15,15 +15,14 @@ var _HiColoredLabel = _interopRequireDefault(require("../HiColoredLabel"));
|
|
15
15
|
var _withStyles = _interopRequireDefault(require("@mui/styles/withStyles"));
|
16
16
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
17
17
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
18
|
-
var styles = {
|
18
|
+
var styles = exports.styles = {
|
19
19
|
flexContent: {
|
20
20
|
display: 'flex',
|
21
21
|
justifyContent: 'flex-end'
|
22
22
|
},
|
23
23
|
label: {}
|
24
24
|
};
|
25
|
-
exports.
|
26
|
-
var sentinelColorById = {
|
25
|
+
var sentinelColorById = exports.sentinelColorById = {
|
27
26
|
NOT_LAUNCHED: '#737373',
|
28
27
|
ACCEPTED: '#00AF01',
|
29
28
|
AUTHENTICATE: '#484A4B',
|
@@ -38,7 +37,6 @@ var sentinelColorById = {
|
|
38
37
|
/**
|
39
38
|
* Cette cellule permet d'afficher le résultat de Sentinel (score & fraudResult & smartDecision)
|
40
39
|
*/
|
41
|
-
exports.sentinelColorById = sentinelColorById;
|
42
40
|
var CellSentinelScore = /*#__PURE__*/function (_React$PureComponent) {
|
43
41
|
(0, _inherits2.default)(CellSentinelScore, _React$PureComponent);
|
44
42
|
var _super = _createSuper(CellSentinelScore);
|
@@ -71,7 +69,6 @@ var CellSentinelScore = /*#__PURE__*/function (_React$PureComponent) {
|
|
71
69
|
CellSentinelScore.defaultProps = {
|
72
70
|
active: false
|
73
71
|
};
|
74
|
-
var _default = (0, _withStyles.default)(styles, {
|
72
|
+
var _default = exports.default = (0, _withStyles.default)(styles, {
|
75
73
|
name: 'HmuiCellSentinelScore'
|
76
|
-
})(CellSentinelScore);
|
77
|
-
exports.default = _default;
|
74
|
+
})(CellSentinelScore);
|
package/es/HiCell/CellText.js
CHANGED
@@ -17,7 +17,7 @@ var _withStyles = _interopRequireDefault(require("@mui/styles/withStyles"));
|
|
17
17
|
var _HiColoredLabel = _interopRequireDefault(require("../HiColoredLabel"));
|
18
18
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
19
19
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
20
|
-
var styles = {
|
20
|
+
var styles = exports.styles = {
|
21
21
|
leftEllipsisSpan: {
|
22
22
|
display: 'inline-block',
|
23
23
|
overflow: 'hidden',
|
@@ -37,7 +37,6 @@ var styles = {
|
|
37
37
|
whiteSpace: 'pre'
|
38
38
|
}
|
39
39
|
};
|
40
|
-
exports.styles = styles;
|
41
40
|
var CellText = /*#__PURE__*/function (_React$Component) {
|
42
41
|
(0, _inherits2.default)(CellText, _React$Component);
|
43
42
|
var _super = _createSuper(CellText);
|
@@ -195,7 +194,6 @@ var CellText = /*#__PURE__*/function (_React$Component) {
|
|
195
194
|
}]);
|
196
195
|
return CellText;
|
197
196
|
}(_react.default.Component);
|
198
|
-
var _default = (0, _withStyles.default)(styles, {
|
197
|
+
var _default = exports.default = (0, _withStyles.default)(styles, {
|
199
198
|
name: 'HmuiCellText'
|
200
|
-
})(CellText);
|
201
|
-
exports.default = _default;
|
199
|
+
})(CellText);
|
@@ -23,7 +23,7 @@ var _HiIcon = _interopRequireDefault(require("../HiIcon"));
|
|
23
23
|
var _classnames = _interopRequireDefault(require("classnames"));
|
24
24
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
25
25
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } // @inheritedComponent Checkbox
|
26
|
-
var styles = function styles(theme) {
|
26
|
+
var styles = exports.styles = function styles(theme) {
|
27
27
|
return {
|
28
28
|
root: {
|
29
29
|
marginRight: 4,
|
@@ -55,7 +55,6 @@ var styles = function styles(theme) {
|
|
55
55
|
}
|
56
56
|
};
|
57
57
|
};
|
58
|
-
exports.styles = styles;
|
59
58
|
var HiCheckbox = /*#__PURE__*/function (_React$PureComponent) {
|
60
59
|
(0, _inherits2.default)(HiCheckbox, _React$PureComponent);
|
61
60
|
var _super = _createSuper(HiCheckbox);
|
@@ -87,7 +86,6 @@ var HiCheckbox = /*#__PURE__*/function (_React$PureComponent) {
|
|
87
86
|
}, {
|
88
87
|
key: "render",
|
89
88
|
value: function render() {
|
90
|
-
var _classNames;
|
91
89
|
var _this$props = this.props,
|
92
90
|
classes = _this$props.classes,
|
93
91
|
color = _this$props.color,
|
@@ -120,7 +118,7 @@ var HiCheckbox = /*#__PURE__*/function (_React$PureComponent) {
|
|
120
118
|
return /*#__PURE__*/_react.default.createElement(_Checkbox.default, (0, _extends2.default)({
|
121
119
|
classes: {
|
122
120
|
root: classes.root,
|
123
|
-
checked: (0, _classnames.default)(classes.checked, (
|
121
|
+
checked: (0, _classnames.default)(classes.checked, (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, classes.checkedPrimary, color === 'primary' || color === 'inherit'), classes.checkedSecondary, color === 'secondary'), classes.checkedPositive, color === 'success'), classes.checkedNegative, color === 'error'), classes.checkedMiddle, color === 'warning'), classes.checkedNeutral, color === 'neutral')),
|
124
122
|
disabled: classes.disabled
|
125
123
|
},
|
126
124
|
style: iconStyles,
|
@@ -152,8 +150,7 @@ HiCheckbox.defaultProps = {
|
|
152
150
|
size: 20,
|
153
151
|
icon: 'check_box_outline_blank'
|
154
152
|
};
|
155
|
-
var _default = (0, _withStyles.default)(styles, {
|
153
|
+
var _default = exports.default = (0, _withStyles.default)(styles, {
|
156
154
|
hiComponent: true,
|
157
155
|
name: 'HmuiHiCheckbox'
|
158
|
-
})(HiCheckbox);
|
159
|
-
exports.default = _default;
|
156
|
+
})(HiCheckbox);
|
package/es/HiChip/HiChip.js
CHANGED
@@ -109,7 +109,6 @@ var handleKeyDown = function handleKeyDown(e, fn) {
|
|
109
109
|
}
|
110
110
|
};
|
111
111
|
var HiChip = function HiChip(props) {
|
112
|
-
var _classNames2;
|
113
112
|
var className = props.className,
|
114
113
|
fallbackImage = props.fallbackImage,
|
115
114
|
icon = props.icon,
|
@@ -180,7 +179,7 @@ var HiChip = function HiChip(props) {
|
|
180
179
|
return /*#__PURE__*/_react.default.createElement("div", {
|
181
180
|
id: id,
|
182
181
|
role: 'button',
|
183
|
-
className: (0, _classnames.default)(classes.root, className, (
|
182
|
+
className: (0, _classnames.default)(classes.root, className, (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, classes.leftNavigation, onPrevious), classes.rightNavigation, onNext), classes.deletable, onDelete), classes.leftIcon, icon)),
|
184
183
|
title: title,
|
185
184
|
onClick: onClick,
|
186
185
|
onKeyDown: onKeyDown,
|
@@ -242,5 +241,4 @@ var HiChip = function HiChip(props) {
|
|
242
241
|
tabIndex: 0
|
243
242
|
}));
|
244
243
|
};
|
245
|
-
var _default = HiChip;
|
246
|
-
exports.default = _default;
|
244
|
+
var _default = exports.default = HiChip;
|
@@ -22,7 +22,7 @@ var _styles = require("@mui/material/styles");
|
|
22
22
|
var _withStyles = _interopRequireDefault(require("@mui/styles/withStyles"));
|
23
23
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
24
24
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
25
|
-
var styles = function styles(theme) {
|
25
|
+
var styles = exports.styles = function styles(theme) {
|
26
26
|
return {
|
27
27
|
root: (0, _objectSpread2.default)({}, theme.typography.body3, {
|
28
28
|
display: 'inline-flex',
|
@@ -98,7 +98,6 @@ var styles = function styles(theme) {
|
|
98
98
|
}
|
99
99
|
};
|
100
100
|
};
|
101
|
-
exports.styles = styles;
|
102
101
|
var HiChipSwitch = /*#__PURE__*/function (_React$PureComponent) {
|
103
102
|
(0, _inherits2.default)(HiChipSwitch, _React$PureComponent);
|
104
103
|
var _super = _createSuper(HiChipSwitch);
|
@@ -155,8 +154,7 @@ var HiChipSwitch = /*#__PURE__*/function (_React$PureComponent) {
|
|
155
154
|
}, {
|
156
155
|
key: "render",
|
157
156
|
value: function render() {
|
158
|
-
var
|
159
|
-
_this2 = this;
|
157
|
+
var _this2 = this;
|
160
158
|
var _this$props2 = this.props,
|
161
159
|
id = _this$props2.id,
|
162
160
|
label = _this$props2.label,
|
@@ -181,7 +179,7 @@ var HiChipSwitch = /*#__PURE__*/function (_React$PureComponent) {
|
|
181
179
|
}
|
182
180
|
return /*#__PURE__*/_react.default.createElement("div", {
|
183
181
|
id: id,
|
184
|
-
className: (0, _classnames.default)(classes.root, (
|
182
|
+
className: (0, _classnames.default)(classes.root, (0, _defineProperty2.default)((0, _defineProperty2.default)({}, classes.active, !!active), classes.inactive, !active)),
|
185
183
|
onClick: onClick,
|
186
184
|
role: "button",
|
187
185
|
tabIndex: "0",
|
@@ -208,8 +206,7 @@ HiChipSwitch.defaultProps = {
|
|
208
206
|
selection: null,
|
209
207
|
selectionTitle: ''
|
210
208
|
};
|
211
|
-
var _default = (0, _withStyles.default)(styles, {
|
209
|
+
var _default = exports.default = (0, _withStyles.default)(styles, {
|
212
210
|
hiComponent: true,
|
213
211
|
name: 'HmuiHiChipSwitch'
|
214
|
-
})(HiChipSwitch);
|
215
|
-
exports.default = _default;
|
212
|
+
})(HiChipSwitch);
|
@@ -14,7 +14,7 @@ var _classnames = _interopRequireDefault(require("classnames"));
|
|
14
14
|
var _styles = require("@mui/material/styles");
|
15
15
|
var _withStyles = _interopRequireDefault(require("@mui/styles/withStyles"));
|
16
16
|
var _helpers = require("../utils/helpers");
|
17
|
-
var styles = function styles(theme) {
|
17
|
+
var styles = exports.styles = function styles(theme) {
|
18
18
|
return {
|
19
19
|
root: {
|
20
20
|
display: 'inline-block',
|
@@ -46,17 +46,17 @@ var styles = function styles(theme) {
|
|
46
46
|
backgroundColor: (0, _styles.alpha)(theme.palette.secondary.main, 0.08)
|
47
47
|
},
|
48
48
|
/* Styles applied to the root element if `color="positive"`. */
|
49
|
-
|
49
|
+
colorSuccess: {
|
50
50
|
color: theme.palette.success.main,
|
51
51
|
backgroundColor: (0, _styles.alpha)(theme.palette.success.main, 0.08)
|
52
52
|
},
|
53
53
|
/* Styles applied to the root element if `color="negative"`. */
|
54
|
-
|
54
|
+
colorError: {
|
55
55
|
color: theme.palette.error.main,
|
56
56
|
backgroundColor: (0, _styles.alpha)(theme.palette.error.main, 0.08)
|
57
57
|
},
|
58
58
|
/* Styles applied to the root element if `color="warning"`. */
|
59
|
-
|
59
|
+
colorWarning: {
|
60
60
|
color: theme.palette.warning.main,
|
61
61
|
backgroundColor: (0, _styles.alpha)(theme.palette.warning.main, 0.08)
|
62
62
|
},
|
@@ -84,17 +84,17 @@ var styles = function styles(theme) {
|
|
84
84
|
backgroundColor: theme.palette.secondary.main
|
85
85
|
},
|
86
86
|
/* Styles applied to the root element if `color="success"`. */
|
87
|
-
|
87
|
+
activeColorSuccess: {
|
88
88
|
color: theme.palette.success.contrastText,
|
89
89
|
backgroundColor: theme.palette.success.main
|
90
90
|
},
|
91
91
|
/* Styles applied to the root element if `color="negative"`. */
|
92
|
-
|
92
|
+
activeColorError: {
|
93
93
|
color: theme.palette.error.contrastText,
|
94
94
|
backgroundColor: theme.palette.error.main
|
95
95
|
},
|
96
96
|
/* Styles applied to the root element if `color="warning"`. */
|
97
|
-
|
97
|
+
activeColorWarning: {
|
98
98
|
color: theme.palette.warning.contrastText,
|
99
99
|
backgroundColor: theme.palette.warning.main
|
100
100
|
},
|
@@ -119,9 +119,7 @@ var styles = function styles(theme) {
|
|
119
119
|
*
|
120
120
|
* Label with background color & text color
|
121
121
|
*/
|
122
|
-
exports.styles = styles;
|
123
122
|
function HiColoredLabel(props) {
|
124
|
-
var _classNames;
|
125
123
|
var classes = props.classes,
|
126
124
|
className = props.className,
|
127
125
|
fontSize = props.fontSize,
|
@@ -137,7 +135,7 @@ function HiColoredLabel(props) {
|
|
137
135
|
var isHiColor = ['primary', 'secondary', 'success', 'error', 'warning', 'neutral', 'info'].includes(color);
|
138
136
|
var isHexColor = !isHiColor && /(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(color);
|
139
137
|
return /*#__PURE__*/_react.default.createElement("div", (0, _extends2.default)({
|
140
|
-
className: (0, _classnames.default)(classes.root, (
|
138
|
+
className: (0, _classnames.default)(classes.root, (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, classes.color, !active), classes.activeColor, active), classes.outlined, outlined), classes["activeColor".concat((0, _helpers.capitalize)(color))], active && isHiColor), classes["color".concat((0, _helpers.capitalize)(color))], !active && isHiColor), classes.body1, fontSize >= 15), classes.body2, fontSize === 14), classes.body3, fontSize === 13), classes.body4, fontSize === 12), classes.body5, fontSize <= 11), className),
|
141
139
|
style: (0, _objectSpread2.default)({}, style, {}, isHexColor && {
|
142
140
|
backgroundColor: active ? color : (0, _styles.alpha)(color, 0.08),
|
143
141
|
color: active ? theme.palette.getContrastText(color) : color
|
@@ -152,9 +150,8 @@ HiColoredLabel.defaultProps = {
|
|
152
150
|
fontSize: 15,
|
153
151
|
outlined: false
|
154
152
|
};
|
155
|
-
var _default = (0, _withStyles.default)(styles, {
|
153
|
+
var _default = exports.default = (0, _withStyles.default)(styles, {
|
156
154
|
hiComponent: true,
|
157
155
|
withTheme: true,
|
158
156
|
name: 'HmuiHiColoredLabel'
|
159
|
-
})(HiColoredLabel);
|
160
|
-
exports.default = _default;
|
157
|
+
})(HiColoredLabel);
|