shineout 3.8.0-beta.46 → 3.8.0-beta.47
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/cjs/index.js +1 -1
- package/dist/shineout.js +14 -8
- package/dist/shineout.js.map +1 -1
- package/dist/shineout.min.js +1 -1
- package/dist/shineout.min.js.map +1 -1
- package/esm/index.js +1 -1
- package/package.json +5 -5
package/cjs/index.js
CHANGED
|
@@ -522,5 +522,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
522
522
|
// 此文件由脚本自动生成,请勿直接修改。
|
|
523
523
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
524
524
|
var _default = exports.default = {
|
|
525
|
-
version: '3.8.0-beta.
|
|
525
|
+
version: '3.8.0-beta.47'
|
|
526
526
|
};
|
package/dist/shineout.js
CHANGED
|
@@ -12386,7 +12386,7 @@ var handleStyle = function handleStyle(style) {
|
|
|
12386
12386
|
};
|
|
12387
12387
|
/* harmony default export */ var jss_style_handleStyle = (handleStyle);
|
|
12388
12388
|
;// CONCATENATED MODULE: ../shineout-style/src/version.ts
|
|
12389
|
-
/* harmony default export */ var version = ('3.8.0-beta.
|
|
12389
|
+
/* harmony default export */ var version = ('3.8.0-beta.47');
|
|
12390
12390
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
12391
12391
|
|
|
12392
12392
|
|
|
@@ -21815,10 +21815,10 @@ var messageStyle = objectSpread2_default()(objectSpread2_default()({
|
|
|
21815
21815
|
},
|
|
21816
21816
|
itemDismissed: {
|
|
21817
21817
|
' [data-soui-position="bottom-left"] &': {
|
|
21818
|
-
animation: "$left-out ".concat(message_animationDuration, " ease-in-out")
|
|
21818
|
+
animation: "$left-out ".concat(message_animationDuration, " ease-in-out forwards")
|
|
21819
21819
|
},
|
|
21820
21820
|
' [data-soui-position="bottom-right"] &': {
|
|
21821
|
-
animation: "$right-out ".concat(message_animationDuration, " ease-in-out")
|
|
21821
|
+
animation: "$right-out ".concat(message_animationDuration, " ease-in-out forwards")
|
|
21822
21822
|
}
|
|
21823
21823
|
},
|
|
21824
21824
|
itemShow: {
|
|
@@ -43617,7 +43617,9 @@ function useFormControl(props) {
|
|
|
43617
43617
|
var errors = arguments.length > 1 ? arguments[1] : undefined;
|
|
43618
43618
|
var severErrors = arguments.length > 2 ? arguments[2] : undefined;
|
|
43619
43619
|
if (!name) return;
|
|
43620
|
-
|
|
43620
|
+
// 加入defaultValue的判断,让其只对 https://github.com/sheinsight/shineout-next/pull/742 的场景生效
|
|
43621
|
+
// 如果不加入defaultValue的判断,会导致 8ea43144-36a5-403a-9147-59d54087a110 的问题
|
|
43622
|
+
if (isArray(name) && defaultValue !== undefined) {
|
|
43621
43623
|
var _value = getValue(name, formValue);
|
|
43622
43624
|
var _error = getError(name, errors, severErrors);
|
|
43623
43625
|
if (_error !== errorState) {
|
|
@@ -54546,7 +54548,8 @@ var useNumberFormat = function useNumberFormat(props) {
|
|
|
54546
54548
|
_props$step = props.step,
|
|
54547
54549
|
step = _props$step === void 0 ? 1 : _props$step,
|
|
54548
54550
|
cancelBlurChange = props.cancelBlurChange,
|
|
54549
|
-
disabled = props.disabled
|
|
54551
|
+
disabled = props.disabled,
|
|
54552
|
+
coin = props.coin;
|
|
54550
54553
|
var getStringValue = function getStringValue(value) {
|
|
54551
54554
|
if (value === undefined) return value;
|
|
54552
54555
|
if (typeof value === 'number') {
|
|
@@ -54665,6 +54668,7 @@ var useNumberFormat = function useNumberFormat(props) {
|
|
|
54665
54668
|
numType: numType,
|
|
54666
54669
|
integerLimit: integerLimit,
|
|
54667
54670
|
digits: digits,
|
|
54671
|
+
coin: coin,
|
|
54668
54672
|
onChange: onNumberChange,
|
|
54669
54673
|
onBlur: onNumberBlur,
|
|
54670
54674
|
onFocus: props.onFocus,
|
|
@@ -54678,7 +54682,7 @@ var useNumberFormat = function useNumberFormat(props) {
|
|
|
54678
54682
|
;// CONCATENATED MODULE: ../base/src/input/input-number.tsx
|
|
54679
54683
|
|
|
54680
54684
|
|
|
54681
|
-
var input_number_excluded = ["jssStyle", "hideArrow", "numType", "integerLimit", "digits", "min", "max", "step", "allowNull"],
|
|
54685
|
+
var input_number_excluded = ["jssStyle", "hideArrow", "numType", "integerLimit", "digits", "min", "max", "step", "allowNull", "coin"],
|
|
54682
54686
|
input_number_excluded2 = ["onMinus", "onPlus"];
|
|
54683
54687
|
|
|
54684
54688
|
|
|
@@ -54700,6 +54704,7 @@ var InputNumber = function InputNumber(props) {
|
|
|
54700
54704
|
max = commonProps.max,
|
|
54701
54705
|
step = commonProps.step,
|
|
54702
54706
|
allowNull = commonProps.allowNull,
|
|
54707
|
+
coin = commonProps.coin,
|
|
54703
54708
|
restProps = objectWithoutProperties_default()(commonProps, input_number_excluded);
|
|
54704
54709
|
var inputStyle = jssStyle === null || jssStyle === void 0 || (_jssStyle$input = jssStyle.input) === null || _jssStyle$input === void 0 ? void 0 : _jssStyle$input.call(jssStyle);
|
|
54705
54710
|
var numberFormatParams = {
|
|
@@ -54711,7 +54716,8 @@ var InputNumber = function InputNumber(props) {
|
|
|
54711
54716
|
min: min,
|
|
54712
54717
|
max: max,
|
|
54713
54718
|
step: step,
|
|
54714
|
-
allowNull: allowNull
|
|
54719
|
+
allowNull: allowNull,
|
|
54720
|
+
coin: coin
|
|
54715
54721
|
};
|
|
54716
54722
|
var _useInputNumber = use_input_number(objectSpread2_default()({
|
|
54717
54723
|
value: commonProps.value,
|
|
@@ -73000,7 +73006,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
73000
73006
|
|
|
73001
73007
|
|
|
73002
73008
|
/* harmony default export */ var src_0 = ({
|
|
73003
|
-
version: '3.8.0-beta.
|
|
73009
|
+
version: '3.8.0-beta.47'
|
|
73004
73010
|
});
|
|
73005
73011
|
}();
|
|
73006
73012
|
/******/ return __webpack_exports__;
|