@signalplus/params-about 0.1.50 → 0.1.51

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.
Files changed (2) hide show
  1. package/lib/es/index.js +4 -4
  2. package/package.json +1 -1
package/lib/es/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Bundle of @signalplus/params-about
3
3
  * Generated: 2022-04-29
4
- * Version: 0.1.50
4
+ * Version: 0.1.51
5
5
  * License: MIT
6
6
  * Author: 2631541504@qq.com
7
7
  */
@@ -283,8 +283,8 @@ function numRangeValidator(val, enableEmpty) {
283
283
  function expiryValidator(val, enableEmpty) {
284
284
  var error = emptyValidator(val, enableEmpty);
285
285
  if (error) return error;
286
- var $val = dayjs(val.replace(/([a-zA-Z]+)/, ' $1 '), 'DD MMM YY').format('DDMMMYY').toUpperCase();
287
- if ($val !== val) return 'Out of format';
286
+ var $val = dayjs(val.replace(/([a-zA-Z]+)/, ' $1 '), 'D MMM YY').format('DMMMYY').toUpperCase();
287
+ if ($val !== val && "0".concat($val) !== val) return 'Out of format';
288
288
  return '';
289
289
  }
290
290
  function expiriesValidator(val) {
@@ -1803,7 +1803,7 @@ var ParamValueEditorModalEl = /*#__PURE__*/function (_PureComponent2) {
1803
1803
  value: function render() {
1804
1804
  return /*#__PURE__*/React.createElement(Modal, {
1805
1805
  key: String(this.state.visible),
1806
- width: 640,
1806
+ width: 690,
1807
1807
  title: 'Edit Value',
1808
1808
  closable: false,
1809
1809
  visible: this.state.visible,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signalplus/params-about",
3
- "version": "0.1.50",
3
+ "version": "0.1.51",
4
4
  "description": "A description for the module",
5
5
  "main": "./lib/umd/index.js",
6
6
  "module": "./lib/es/index.js",