@xelto.npm/xc2-lib 1.0.11 → 1.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +16 -13
- package/dist/index.esm.js +16 -13
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -55713,7 +55713,7 @@ var StyledDatePicker = styled$1(DatePicker$1, {
|
|
|
55713
55713
|
'.MuiOutlinedInput-root': {
|
|
55714
55714
|
borderRadius: 7,
|
|
55715
55715
|
color: theme.mainPallete.primary.blue,
|
|
55716
|
-
paddingRight:
|
|
55716
|
+
paddingRight: 15,
|
|
55717
55717
|
input: {
|
|
55718
55718
|
padding: '15px 0 15px 20px'
|
|
55719
55719
|
},
|
|
@@ -55730,7 +55730,7 @@ var StyledDatePicker = styled$1(DatePicker$1, {
|
|
|
55730
55730
|
}
|
|
55731
55731
|
},
|
|
55732
55732
|
'@media(min-width: 480px)': {
|
|
55733
|
-
width: fluid ? '100%' : 'min(100%,
|
|
55733
|
+
width: fluid ? '100%' : 'min(100%, 368px)',
|
|
55734
55734
|
'& label': {
|
|
55735
55735
|
transform: 'translate(20px,17px) scale(1)',
|
|
55736
55736
|
'&.Mui-focused, &.MuiFormLabel-filled': {
|
|
@@ -55739,11 +55739,6 @@ var StyledDatePicker = styled$1(DatePicker$1, {
|
|
|
55739
55739
|
},
|
|
55740
55740
|
'& label, .MuiOutlinedInput-root': {
|
|
55741
55741
|
fontSize: 21
|
|
55742
|
-
},
|
|
55743
|
-
'.MuiOutlinedInput-root': {
|
|
55744
|
-
input: {
|
|
55745
|
-
padding: '19px 0 19px 20px'
|
|
55746
|
-
}
|
|
55747
55742
|
}
|
|
55748
55743
|
},
|
|
55749
55744
|
'@media(min-width: 720px)': {
|
|
@@ -55775,6 +55770,7 @@ var StyledDatePicker = styled$1(DatePicker$1, {
|
|
|
55775
55770
|
fontSize: 16
|
|
55776
55771
|
},
|
|
55777
55772
|
'.MuiOutlinedInput-root': {
|
|
55773
|
+
paddingRight: 20,
|
|
55778
55774
|
input: {
|
|
55779
55775
|
padding: '11px 0 11px 20px'
|
|
55780
55776
|
}
|
|
@@ -55992,7 +55988,7 @@ DatePicker.propTypes = {
|
|
|
55992
55988
|
})])
|
|
55993
55989
|
};
|
|
55994
55990
|
|
|
55995
|
-
var _excluded$b = ["label", "error", "icon", "disabled", "fluid", "type", "min", "max", "small", "helperText", "value", "onChange", "onClick", "onBlur", "forwardedRef", "inputRef", "isFocused", "endAdornment"];
|
|
55991
|
+
var _excluded$b = ["label", "error", "icon", "disabled", "fluid", "type", "min", "max", "small", "helperText", "value", "onChange", "onClick", "onBlur", "forwardedRef", "inputRef", "isFocused", "endAdornment", "uppercase"];
|
|
55996
55992
|
var StyledTextField = styled$1(TextField$3, {
|
|
55997
55993
|
shouldForwardProp: function shouldForwardProp(prop) {
|
|
55998
55994
|
switch (prop) {
|
|
@@ -56213,7 +56209,7 @@ var TextField = function TextField(_ref2) {
|
|
|
56213
56209
|
_ref2$value = _ref2.value,
|
|
56214
56210
|
value = _ref2$value === void 0 ? undefined : _ref2$value,
|
|
56215
56211
|
_ref2$onChange = _ref2.onChange,
|
|
56216
|
-
|
|
56212
|
+
_onChange = _ref2$onChange === void 0 ? function () {} : _ref2$onChange,
|
|
56217
56213
|
_ref2$onClick = _ref2.onClick,
|
|
56218
56214
|
onClick = _ref2$onClick === void 0 ? function () {} : _ref2$onClick,
|
|
56219
56215
|
_ref2$onBlur = _ref2.onBlur,
|
|
@@ -56224,11 +56220,15 @@ var TextField = function TextField(_ref2) {
|
|
|
56224
56220
|
isFocused = _ref2.isFocused,
|
|
56225
56221
|
_ref2$endAdornment = _ref2.endAdornment,
|
|
56226
56222
|
endAdornment = _ref2$endAdornment === void 0 ? '' : _ref2$endAdornment,
|
|
56223
|
+
_ref2$uppercase = _ref2.uppercase,
|
|
56224
|
+
uppercase = _ref2$uppercase === void 0 ? false : _ref2$uppercase,
|
|
56227
56225
|
props = _objectWithoutProperties$1(_ref2, _excluded$b);
|
|
56228
56226
|
var parsedValue = type === 'number' ? parseFloat(value) : value;
|
|
56229
56227
|
return /*#__PURE__*/React__namespace.createElement(StyledTextField, _extends$1g({}, props, {
|
|
56230
56228
|
value: parsedValue,
|
|
56231
|
-
onChange: onChange
|
|
56229
|
+
onChange: function onChange(e) {
|
|
56230
|
+
return _onChange(uppercase ? e.target.value.toUpperCase() : e.target.value);
|
|
56231
|
+
},
|
|
56232
56232
|
onClick: onClick,
|
|
56233
56233
|
label: label,
|
|
56234
56234
|
type: type,
|
|
@@ -100263,13 +100263,16 @@ var TableRow = styled$1('tr')(function () {
|
|
|
100263
100263
|
backgroundColor: 'rgba(22, 199, 165,0.11) !important'
|
|
100264
100264
|
},
|
|
100265
100265
|
'&.highlight-green': {
|
|
100266
|
-
backgroundColor: 'rgba(
|
|
100266
|
+
backgroundColor: 'rgba(183,208,102, 1)'
|
|
100267
100267
|
},
|
|
100268
100268
|
'&.highlight-red': {
|
|
100269
|
-
backgroundColor: 'rgba(
|
|
100269
|
+
backgroundColor: 'rgba(255,113,98,1)'
|
|
100270
100270
|
},
|
|
100271
100271
|
'&.highlight-orange': {
|
|
100272
|
-
backgroundColor: 'rgba(255,166,44,
|
|
100272
|
+
backgroundColor: 'rgba(255,166,44,1)'
|
|
100273
|
+
},
|
|
100274
|
+
'&.highlight-yellow': {
|
|
100275
|
+
backgroundColor: 'rgba(255,230,92,1)'
|
|
100273
100276
|
},
|
|
100274
100277
|
'td': {
|
|
100275
100278
|
fontFamily: theme.fontFamily,
|
package/dist/index.esm.js
CHANGED
|
@@ -55693,7 +55693,7 @@ var StyledDatePicker = styled$1(DatePicker$1, {
|
|
|
55693
55693
|
'.MuiOutlinedInput-root': {
|
|
55694
55694
|
borderRadius: 7,
|
|
55695
55695
|
color: theme.mainPallete.primary.blue,
|
|
55696
|
-
paddingRight:
|
|
55696
|
+
paddingRight: 15,
|
|
55697
55697
|
input: {
|
|
55698
55698
|
padding: '15px 0 15px 20px'
|
|
55699
55699
|
},
|
|
@@ -55710,7 +55710,7 @@ var StyledDatePicker = styled$1(DatePicker$1, {
|
|
|
55710
55710
|
}
|
|
55711
55711
|
},
|
|
55712
55712
|
'@media(min-width: 480px)': {
|
|
55713
|
-
width: fluid ? '100%' : 'min(100%,
|
|
55713
|
+
width: fluid ? '100%' : 'min(100%, 368px)',
|
|
55714
55714
|
'& label': {
|
|
55715
55715
|
transform: 'translate(20px,17px) scale(1)',
|
|
55716
55716
|
'&.Mui-focused, &.MuiFormLabel-filled': {
|
|
@@ -55719,11 +55719,6 @@ var StyledDatePicker = styled$1(DatePicker$1, {
|
|
|
55719
55719
|
},
|
|
55720
55720
|
'& label, .MuiOutlinedInput-root': {
|
|
55721
55721
|
fontSize: 21
|
|
55722
|
-
},
|
|
55723
|
-
'.MuiOutlinedInput-root': {
|
|
55724
|
-
input: {
|
|
55725
|
-
padding: '19px 0 19px 20px'
|
|
55726
|
-
}
|
|
55727
55722
|
}
|
|
55728
55723
|
},
|
|
55729
55724
|
'@media(min-width: 720px)': {
|
|
@@ -55755,6 +55750,7 @@ var StyledDatePicker = styled$1(DatePicker$1, {
|
|
|
55755
55750
|
fontSize: 16
|
|
55756
55751
|
},
|
|
55757
55752
|
'.MuiOutlinedInput-root': {
|
|
55753
|
+
paddingRight: 20,
|
|
55758
55754
|
input: {
|
|
55759
55755
|
padding: '11px 0 11px 20px'
|
|
55760
55756
|
}
|
|
@@ -55972,7 +55968,7 @@ DatePicker.propTypes = {
|
|
|
55972
55968
|
})])
|
|
55973
55969
|
};
|
|
55974
55970
|
|
|
55975
|
-
var _excluded$b = ["label", "error", "icon", "disabled", "fluid", "type", "min", "max", "small", "helperText", "value", "onChange", "onClick", "onBlur", "forwardedRef", "inputRef", "isFocused", "endAdornment"];
|
|
55971
|
+
var _excluded$b = ["label", "error", "icon", "disabled", "fluid", "type", "min", "max", "small", "helperText", "value", "onChange", "onClick", "onBlur", "forwardedRef", "inputRef", "isFocused", "endAdornment", "uppercase"];
|
|
55976
55972
|
var StyledTextField = styled$1(TextField$3, {
|
|
55977
55973
|
shouldForwardProp: function shouldForwardProp(prop) {
|
|
55978
55974
|
switch (prop) {
|
|
@@ -56193,7 +56189,7 @@ var TextField = function TextField(_ref2) {
|
|
|
56193
56189
|
_ref2$value = _ref2.value,
|
|
56194
56190
|
value = _ref2$value === void 0 ? undefined : _ref2$value,
|
|
56195
56191
|
_ref2$onChange = _ref2.onChange,
|
|
56196
|
-
|
|
56192
|
+
_onChange = _ref2$onChange === void 0 ? function () {} : _ref2$onChange,
|
|
56197
56193
|
_ref2$onClick = _ref2.onClick,
|
|
56198
56194
|
onClick = _ref2$onClick === void 0 ? function () {} : _ref2$onClick,
|
|
56199
56195
|
_ref2$onBlur = _ref2.onBlur,
|
|
@@ -56204,11 +56200,15 @@ var TextField = function TextField(_ref2) {
|
|
|
56204
56200
|
isFocused = _ref2.isFocused,
|
|
56205
56201
|
_ref2$endAdornment = _ref2.endAdornment,
|
|
56206
56202
|
endAdornment = _ref2$endAdornment === void 0 ? '' : _ref2$endAdornment,
|
|
56203
|
+
_ref2$uppercase = _ref2.uppercase,
|
|
56204
|
+
uppercase = _ref2$uppercase === void 0 ? false : _ref2$uppercase,
|
|
56207
56205
|
props = _objectWithoutProperties$1(_ref2, _excluded$b);
|
|
56208
56206
|
var parsedValue = type === 'number' ? parseFloat(value) : value;
|
|
56209
56207
|
return /*#__PURE__*/React.createElement(StyledTextField, _extends$1g({}, props, {
|
|
56210
56208
|
value: parsedValue,
|
|
56211
|
-
onChange: onChange
|
|
56209
|
+
onChange: function onChange(e) {
|
|
56210
|
+
return _onChange(uppercase ? e.target.value.toUpperCase() : e.target.value);
|
|
56211
|
+
},
|
|
56212
56212
|
onClick: onClick,
|
|
56213
56213
|
label: label,
|
|
56214
56214
|
type: type,
|
|
@@ -100243,13 +100243,16 @@ var TableRow = styled$1('tr')(function () {
|
|
|
100243
100243
|
backgroundColor: 'rgba(22, 199, 165,0.11) !important'
|
|
100244
100244
|
},
|
|
100245
100245
|
'&.highlight-green': {
|
|
100246
|
-
backgroundColor: 'rgba(
|
|
100246
|
+
backgroundColor: 'rgba(183,208,102, 1)'
|
|
100247
100247
|
},
|
|
100248
100248
|
'&.highlight-red': {
|
|
100249
|
-
backgroundColor: 'rgba(
|
|
100249
|
+
backgroundColor: 'rgba(255,113,98,1)'
|
|
100250
100250
|
},
|
|
100251
100251
|
'&.highlight-orange': {
|
|
100252
|
-
backgroundColor: 'rgba(255,166,44,
|
|
100252
|
+
backgroundColor: 'rgba(255,166,44,1)'
|
|
100253
|
+
},
|
|
100254
|
+
'&.highlight-yellow': {
|
|
100255
|
+
backgroundColor: 'rgba(255,230,92,1)'
|
|
100253
100256
|
},
|
|
100254
100257
|
'td': {
|
|
100255
100258
|
fontFamily: theme.fontFamily,
|