taro-ui 3.1.0-beta.4 → 3.1.0-beta.5

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 (38) hide show
  1. package/dist/index.esm.js +554 -515
  2. package/dist/index.esm.js.map +1 -1
  3. package/dist/index.js +554 -515
  4. package/dist/index.js.map +1 -1
  5. package/dist/style/components/avatar.scss +3 -3
  6. package/dist/style/components/button.scss +2 -2
  7. package/dist/style/components/curtain.scss +3 -3
  8. package/dist/style/components/flex.scss +1 -1
  9. package/dist/style/components/progress.scss +3 -3
  10. package/dist/style/components/range.scss +2 -2
  11. package/dist/style/components/search-bar.scss +1 -1
  12. package/dist/style/components/tag.scss +2 -2
  13. package/dist/style/components/timeline.scss +3 -3
  14. package/dist/style/components/toast.scss +1 -1
  15. package/lib/components/calendar/common/plugins.js +7 -8
  16. package/lib/components/calendar/common/plugins.js.map +1 -1
  17. package/lib/components/icon/index.js +1 -1
  18. package/lib/components/icon/index.js.map +1 -1
  19. package/lib/components/image-picker/index.js +4 -1
  20. package/lib/components/image-picker/index.js.map +1 -1
  21. package/lib/components/indexes/index.js +1 -1
  22. package/lib/components/indexes/index.js.map +1 -1
  23. package/lib/components/input/index.js +8 -5
  24. package/lib/components/input/index.js.map +1 -1
  25. package/lib/components/input-number/index.js +1 -1
  26. package/lib/components/range/index.js +3 -2
  27. package/lib/components/range/index.js.map +1 -1
  28. package/lib/components/swipe-action/index.js +2 -2
  29. package/lib/components/swipe-action/index.js.map +1 -1
  30. package/lib/components/tabs/index.js +1 -1
  31. package/lib/components/tabs/index.js.map +1 -1
  32. package/package.json +15 -13
  33. package/rn/components/flex/item/index.scss +1 -1
  34. package/types/base.d.ts +2 -2
  35. package/types/calendar.d.ts +2 -2
  36. package/types/input.d.ts +1 -1
  37. package/types/message.d.ts +6 -0
  38. package/types/swipe-action.d.ts +1 -1
package/dist/index.esm.js CHANGED
@@ -2,7 +2,7 @@ import React, { Component } from 'react';
2
2
  import { View, Text, OpenData, Image, Button, Switch, ScrollView, Form, Label, Input, Textarea, Slider, MovableArea, MovableView, Swiper, SwiperItem, Picker } from '@tarojs/components';
3
3
  import Taro from '@tarojs/taro';
4
4
 
5
- /*! *****************************************************************************
5
+ /******************************************************************************
6
6
  Copyright (c) Microsoft Corporation.
7
7
 
8
8
  Permission to use, copy, modify, and/or distribute this software for any
@@ -76,9 +76,9 @@ function createCommonjsModule(fn, module) {
76
76
 
77
77
  var classnames = createCommonjsModule(function (module) {
78
78
  /*!
79
- Copyright (c) 2018 Jed Watson.
80
- Licensed under the MIT License (MIT), see
81
- http://jedwatson.github.io/classnames
79
+ Copyright (c) 2018 Jed Watson.
80
+ Licensed under the MIT License (MIT), see
81
+ http://jedwatson.github.io/classnames
82
82
  */
83
83
  /* global define */
84
84
 
@@ -105,14 +105,15 @@ var classnames = createCommonjsModule(function (module) {
105
105
  }
106
106
  }
107
107
  } else if (argType === 'object') {
108
- if (arg.toString === Object.prototype.toString) {
109
- for (var key in arg) {
110
- if (hasOwn.call(arg, key) && arg[key]) {
111
- classes.push(key);
112
- }
113
- }
114
- } else {
108
+ if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
115
109
  classes.push(arg.toString());
110
+ continue;
111
+ }
112
+
113
+ for (var key in arg) {
114
+ if (hasOwn.call(arg, key) && arg[key]) {
115
+ classes.push(key);
116
+ }
116
117
  }
117
118
  }
118
119
  }
@@ -481,16 +482,22 @@ var objectAssign = shouldUseNative() ? Object.assign : function (target, source)
481
482
  * LICENSE file in the root directory of this source tree.
482
483
  */
483
484
 
484
- var ReactPropTypesSecret$1 = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
485
+ var ReactPropTypesSecret$2 = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
486
+
487
+ var ReactPropTypesSecret_1 = ReactPropTypesSecret$2;
488
+
489
+ var has$2 = Function.call.bind(Object.prototype.hasOwnProperty);
490
+
491
+ var ReactPropTypesSecret$1 = ReactPropTypesSecret_1;
485
492
 
486
- var ReactPropTypesSecret_1 = ReactPropTypesSecret$1;
493
+ var has$1 = has$2;
487
494
 
488
495
  var printWarning$1 = function() {};
489
496
 
490
497
  if (process.env.NODE_ENV !== 'production') {
491
- var ReactPropTypesSecret = ReactPropTypesSecret_1;
498
+ var ReactPropTypesSecret = ReactPropTypesSecret$1;
492
499
  var loggedTypeFailures = {};
493
- var has$1 = Function.call.bind(Object.prototype.hasOwnProperty);
500
+ var has = has$1;
494
501
 
495
502
  printWarning$1 = function(text) {
496
503
  var message = 'Warning: ' + text;
@@ -502,7 +509,7 @@ if (process.env.NODE_ENV !== 'production') {
502
509
  // This error was thrown as a convenience so that you can use this stack
503
510
  // to find the callsite that caused this warning to fire.
504
511
  throw new Error(message);
505
- } catch (x) {}
512
+ } catch (x) { /**/ }
506
513
  };
507
514
  }
508
515
 
@@ -517,10 +524,10 @@ if (process.env.NODE_ENV !== 'production') {
517
524
  * @param {?Function} getStack Returns the component stack.
518
525
  * @private
519
526
  */
520
- function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
527
+ function checkPropTypes$1(typeSpecs, values, location, componentName, getStack) {
521
528
  if (process.env.NODE_ENV !== 'production') {
522
529
  for (var typeSpecName in typeSpecs) {
523
- if (has$1(typeSpecs, typeSpecName)) {
530
+ if (has(typeSpecs, typeSpecName)) {
524
531
  var error;
525
532
  // Prop type validation may throw. In case they do, we don't want to
526
533
  // fail the render phase where it didn't fail before. So we log it.
@@ -531,7 +538,8 @@ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
531
538
  if (typeof typeSpecs[typeSpecName] !== 'function') {
532
539
  var err = Error(
533
540
  (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
534
- 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'
541
+ 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
542
+ 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
535
543
  );
536
544
  err.name = 'Invariant Violation';
537
545
  throw err;
@@ -571,15 +579,16 @@ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
571
579
  *
572
580
  * @private
573
581
  */
574
- checkPropTypes.resetWarningCache = function() {
582
+ checkPropTypes$1.resetWarningCache = function() {
575
583
  if (process.env.NODE_ENV !== 'production') {
576
584
  loggedTypeFailures = {};
577
585
  }
578
586
  };
579
587
 
580
- var checkPropTypes_1 = checkPropTypes;
588
+ var checkPropTypes_1 = checkPropTypes$1;
589
+
590
+ var checkPropTypes = checkPropTypes_1;
581
591
 
582
- var has = Function.call.bind(Object.prototype.hasOwnProperty);
583
592
  var printWarning = function() {};
584
593
 
585
594
  if (process.env.NODE_ENV !== 'production') {
@@ -680,6 +689,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
680
689
  // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
681
690
  var ReactPropTypes = {
682
691
  array: createPrimitiveTypeChecker('array'),
692
+ bigint: createPrimitiveTypeChecker('bigint'),
683
693
  bool: createPrimitiveTypeChecker('boolean'),
684
694
  func: createPrimitiveTypeChecker('function'),
685
695
  number: createPrimitiveTypeChecker('number'),
@@ -725,8 +735,9 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
725
735
  * is prohibitively expensive if they are created too often, such as what
726
736
  * happens in oneOfType() for any type before the one that matched.
727
737
  */
728
- function PropTypeError(message) {
738
+ function PropTypeError(message, data) {
729
739
  this.message = message;
740
+ this.data = data && typeof data === 'object' ? data: {};
730
741
  this.stack = '';
731
742
  }
732
743
  // Make `instanceof Error` still work for returned errors.
@@ -741,7 +752,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
741
752
  componentName = componentName || ANONYMOUS;
742
753
  propFullName = propFullName || propName;
743
754
 
744
- if (secret !== ReactPropTypesSecret_1) {
755
+ if (secret !== ReactPropTypesSecret$1) {
745
756
  if (throwOnDirectAccess) {
746
757
  // New behavior only for users of `prop-types` package
747
758
  var err = new Error(
@@ -761,7 +772,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
761
772
  ) {
762
773
  printWarning(
763
774
  'You are manually calling a React.PropTypes validation ' +
764
- 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
775
+ 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
765
776
  'and will throw in the standalone `prop-types` package. ' +
766
777
  'You may be seeing this warning due to a third-party PropTypes ' +
767
778
  'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
@@ -800,7 +811,10 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
800
811
  // 'of type `object`'.
801
812
  var preciseType = getPreciseType(propValue);
802
813
 
803
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));
814
+ return new PropTypeError(
815
+ 'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),
816
+ {expectedType: expectedType}
817
+ );
804
818
  }
805
819
  return null;
806
820
  }
@@ -822,7 +836,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
822
836
  return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));
823
837
  }
824
838
  for (var i = 0; i < propValue.length; i++) {
825
- var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret_1);
839
+ var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret$1);
826
840
  if (error instanceof Error) {
827
841
  return error;
828
842
  }
@@ -914,8 +928,8 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
914
928
  return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));
915
929
  }
916
930
  for (var key in propValue) {
917
- if (has(propValue, key)) {
918
- var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret_1);
931
+ if (has$1(propValue, key)) {
932
+ var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret$1);
919
933
  if (error instanceof Error) {
920
934
  return error;
921
935
  }
@@ -944,14 +958,19 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
944
958
  }
945
959
 
946
960
  function validate(props, propName, componentName, location, propFullName) {
961
+ var expectedTypes = [];
947
962
  for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
948
963
  var checker = arrayOfTypeCheckers[i];
949
- if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret_1) == null) {
964
+ var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret$1);
965
+ if (checkerResult == null) {
950
966
  return null;
951
967
  }
968
+ if (checkerResult.data && has$1(checkerResult.data, 'expectedType')) {
969
+ expectedTypes.push(checkerResult.data.expectedType);
970
+ }
952
971
  }
953
-
954
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));
972
+ var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';
973
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
955
974
  }
956
975
  return createChainableTypeChecker(validate);
957
976
  }
@@ -966,6 +985,13 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
966
985
  return createChainableTypeChecker(validate);
967
986
  }
968
987
 
988
+ function invalidValidatorError(componentName, location, propFullName, key, type) {
989
+ return new PropTypeError(
990
+ (componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
991
+ 'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
992
+ );
993
+ }
994
+
969
995
  function createShapeTypeChecker(shapeTypes) {
970
996
  function validate(props, propName, componentName, location, propFullName) {
971
997
  var propValue = props[propName];
@@ -975,10 +1001,10 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
975
1001
  }
976
1002
  for (var key in shapeTypes) {
977
1003
  var checker = shapeTypes[key];
978
- if (!checker) {
979
- continue;
1004
+ if (typeof checker !== 'function') {
1005
+ return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
980
1006
  }
981
- var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret_1);
1007
+ var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret$1);
982
1008
  if (error) {
983
1009
  return error;
984
1010
  }
@@ -995,19 +1021,21 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
995
1021
  if (propType !== 'object') {
996
1022
  return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
997
1023
  }
998
- // We need to check all keys in case some are required but missing from
999
- // props.
1024
+ // We need to check all keys in case some are required but missing from props.
1000
1025
  var allKeys = objectAssign({}, props[propName], shapeTypes);
1001
1026
  for (var key in allKeys) {
1002
1027
  var checker = shapeTypes[key];
1028
+ if (has$1(shapeTypes, key) && typeof checker !== 'function') {
1029
+ return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
1030
+ }
1003
1031
  if (!checker) {
1004
1032
  return new PropTypeError(
1005
1033
  'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
1006
1034
  '\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
1007
- '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
1035
+ '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
1008
1036
  );
1009
1037
  }
1010
- var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret_1);
1038
+ var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret$1);
1011
1039
  if (error) {
1012
1040
  return error;
1013
1041
  }
@@ -1149,8 +1177,8 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
1149
1177
  return propValue.constructor.name;
1150
1178
  }
1151
1179
 
1152
- ReactPropTypes.checkPropTypes = checkPropTypes_1;
1153
- ReactPropTypes.resetWarningCache = checkPropTypes_1.resetWarningCache;
1180
+ ReactPropTypes.checkPropTypes = checkPropTypes;
1181
+ ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
1154
1182
  ReactPropTypes.PropTypes = ReactPropTypes;
1155
1183
 
1156
1184
  return ReactPropTypes;
@@ -1162,7 +1190,7 @@ emptyFunctionWithReset.resetWarningCache = emptyFunction;
1162
1190
 
1163
1191
  var factoryWithThrowingShims = function() {
1164
1192
  function shim(props, propName, componentName, location, propFullName, secret) {
1165
- if (secret === ReactPropTypesSecret_1) {
1193
+ if (secret === ReactPropTypesSecret$1) {
1166
1194
  // It is still safe when called from React.
1167
1195
  return;
1168
1196
  }
@@ -1180,6 +1208,7 @@ var factoryWithThrowingShims = function() {
1180
1208
  // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
1181
1209
  var ReactPropTypes = {
1182
1210
  array: shim,
1211
+ bigint: shim,
1183
1212
  bool: shim,
1184
1213
  func: shim,
1185
1214
  number: shim,
@@ -1208,6 +1237,10 @@ var factoryWithThrowingShims = function() {
1208
1237
  return ReactPropTypes;
1209
1238
  };
1210
1239
 
1240
+ var require$$1 = factoryWithTypeCheckers;
1241
+
1242
+ var require$$2 = factoryWithThrowingShims;
1243
+
1211
1244
  var propTypes = createCommonjsModule(function (module) {
1212
1245
  /**
1213
1246
  * Copyright (c) 2013-present, Facebook, Inc.
@@ -1222,14 +1255,16 @@ if (process.env.NODE_ENV !== 'production') {
1222
1255
  // By explicitly using `prop-types` you are opting into new development behavior.
1223
1256
  // http://fb.me/prop-types-in-prod
1224
1257
  var throwOnDirectAccess = true;
1225
- module.exports = factoryWithTypeCheckers(ReactIs.isElement, throwOnDirectAccess);
1258
+ module.exports = require$$1(ReactIs.isElement, throwOnDirectAccess);
1226
1259
  } else {
1227
1260
  // By explicitly using `prop-types` you are opting into new production behavior.
1228
1261
  // http://fb.me/prop-types-in-prod
1229
- module.exports = factoryWithThrowingShims();
1262
+ module.exports = require$$2();
1230
1263
  }
1231
1264
  });
1232
1265
 
1266
+ var PropTypes = propTypes;
1267
+
1233
1268
  var AtActionSheetBody = /** @class */ (function (_super) {
1234
1269
  __extends(AtActionSheetBody, _super);
1235
1270
  function AtActionSheetBody() {
@@ -1265,7 +1300,7 @@ var AtActionSheetFooter = /** @class */ (function (_super) {
1265
1300
  return AtActionSheetFooter;
1266
1301
  }(React.Component));
1267
1302
  AtActionSheetFooter.propTypes = {
1268
- onClick: propTypes.func
1303
+ onClick: PropTypes.func
1269
1304
  };
1270
1305
 
1271
1306
  var AtActionSheetHeader = /** @class */ (function (_super) {
@@ -1340,11 +1375,11 @@ AtActionSheet.defaultProps = {
1340
1375
  isOpened: false
1341
1376
  };
1342
1377
  AtActionSheet.propTypes = {
1343
- title: propTypes.string,
1344
- onClose: propTypes.func,
1345
- onCancel: propTypes.func,
1346
- isOpened: propTypes.bool.isRequired,
1347
- cancelText: propTypes.string
1378
+ title: PropTypes.string,
1379
+ onClose: PropTypes.func,
1380
+ onCancel: PropTypes.func,
1381
+ isOpened: PropTypes.bool.isRequired,
1382
+ cancelText: PropTypes.string
1348
1383
  };
1349
1384
 
1350
1385
  var AtActionSheetItem = /** @class */ (function (_super) {
@@ -1365,7 +1400,7 @@ var AtActionSheetItem = /** @class */ (function (_super) {
1365
1400
  return AtActionSheetItem;
1366
1401
  }(React.Component));
1367
1402
  AtActionSheetItem.propTypes = {
1368
- onClick: propTypes.func
1403
+ onClick: PropTypes.func
1369
1404
  };
1370
1405
 
1371
1406
  var ENV$4 = Taro.getEnv();
@@ -1582,8 +1617,8 @@ AtLoading.defaultProps = {
1582
1617
  color: ''
1583
1618
  };
1584
1619
  AtLoading.propTypes = {
1585
- size: propTypes.oneOfType([propTypes.string, propTypes.number]),
1586
- color: propTypes.oneOfType([propTypes.string, propTypes.number])
1620
+ size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
1621
+ color: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
1587
1622
  };
1588
1623
 
1589
1624
  var AtActivityIndicator = /** @class */ (function (_super) {
@@ -1613,12 +1648,12 @@ AtActivityIndicator.defaultProps = {
1613
1648
  isOpened: true
1614
1649
  };
1615
1650
  AtActivityIndicator.propTypes = {
1616
- size: propTypes.number,
1617
- mode: propTypes.string,
1618
- color: propTypes.string,
1619
- content: propTypes.string,
1620
- className: propTypes.oneOfType([propTypes.array, propTypes.string]),
1621
- isOpened: propTypes.bool
1651
+ size: PropTypes.number,
1652
+ mode: PropTypes.string,
1653
+ color: PropTypes.string,
1654
+ content: PropTypes.string,
1655
+ className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
1656
+ isOpened: PropTypes.bool
1622
1657
  };
1623
1658
 
1624
1659
  var SIZE_CLASS$2 = {
@@ -1670,13 +1705,13 @@ AtAvatar.defaultProps = {
1670
1705
  className: ''
1671
1706
  };
1672
1707
  AtAvatar.propTypes = {
1673
- size: propTypes.oneOf(['large', 'normal', 'small']),
1674
- circle: propTypes.bool,
1675
- text: propTypes.string,
1676
- image: propTypes.string,
1677
- openData: propTypes.object,
1678
- customStyle: propTypes.oneOfType([propTypes.object, propTypes.string]),
1679
- className: propTypes.oneOfType([propTypes.array, propTypes.string])
1708
+ size: PropTypes.oneOf(['large', 'normal', 'small']),
1709
+ circle: PropTypes.bool,
1710
+ text: PropTypes.string,
1711
+ image: PropTypes.string,
1712
+ openData: PropTypes.object,
1713
+ customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
1714
+ className: PropTypes.oneOfType([PropTypes.array, PropTypes.string])
1680
1715
  };
1681
1716
 
1682
1717
  var AtBadge = /** @class */ (function (_super) {
@@ -1713,11 +1748,11 @@ AtBadge.defaultProps = {
1713
1748
  className: ''
1714
1749
  };
1715
1750
  AtBadge.propTypes = {
1716
- dot: propTypes.bool,
1717
- value: propTypes.oneOfType([propTypes.string, propTypes.number]),
1718
- maxValue: propTypes.number,
1719
- customStyle: propTypes.oneOfType([propTypes.object, propTypes.string]),
1720
- className: propTypes.oneOfType([propTypes.array, propTypes.string])
1751
+ dot: PropTypes.bool,
1752
+ value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
1753
+ maxValue: PropTypes.number,
1754
+ customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
1755
+ className: PropTypes.oneOfType([PropTypes.array, PropTypes.string])
1721
1756
  };
1722
1757
 
1723
1758
  var SIZE_CLASS$1 = {
@@ -1807,16 +1842,16 @@ AtButton.defaultProps = {
1807
1842
  appParameter: ''
1808
1843
  };
1809
1844
  AtButton.propTypes = {
1810
- size: propTypes.oneOf(['normal', 'small']),
1811
- type: propTypes.oneOf(['primary', 'secondary', '']),
1812
- circle: propTypes.bool,
1813
- full: propTypes.bool,
1814
- loading: propTypes.bool,
1815
- disabled: propTypes.bool,
1816
- onClick: propTypes.func,
1817
- customStyle: propTypes.oneOfType([propTypes.object, propTypes.string]),
1818
- formType: propTypes.oneOf(['submit', 'reset', '']),
1819
- openType: propTypes.oneOf([
1845
+ size: PropTypes.oneOf(['normal', 'small']),
1846
+ type: PropTypes.oneOf(['primary', 'secondary', '']),
1847
+ circle: PropTypes.bool,
1848
+ full: PropTypes.bool,
1849
+ loading: PropTypes.bool,
1850
+ disabled: PropTypes.bool,
1851
+ onClick: PropTypes.func,
1852
+ customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
1853
+ formType: PropTypes.oneOf(['submit', 'reset', '']),
1854
+ openType: PropTypes.oneOf([
1820
1855
  'contact',
1821
1856
  'share',
1822
1857
  'getUserInfo',
@@ -1829,18 +1864,18 @@ AtButton.propTypes = {
1829
1864
  'contactShare',
1830
1865
  ''
1831
1866
  ]),
1832
- lang: propTypes.string,
1833
- sessionFrom: propTypes.string,
1834
- sendMessageTitle: propTypes.string,
1835
- sendMessagePath: propTypes.string,
1836
- sendMessageImg: propTypes.string,
1837
- showMessageCard: propTypes.bool,
1838
- appParameter: propTypes.string,
1839
- onGetUserInfo: propTypes.func,
1840
- onContact: propTypes.func,
1841
- onGetPhoneNumber: propTypes.func,
1842
- onError: propTypes.func,
1843
- onOpenSetting: propTypes.func
1867
+ lang: PropTypes.string,
1868
+ sessionFrom: PropTypes.string,
1869
+ sendMessageTitle: PropTypes.string,
1870
+ sendMessagePath: PropTypes.string,
1871
+ sendMessageImg: PropTypes.string,
1872
+ showMessageCard: PropTypes.bool,
1873
+ appParameter: PropTypes.string,
1874
+ onGetUserInfo: PropTypes.func,
1875
+ onContact: PropTypes.func,
1876
+ onGetPhoneNumber: PropTypes.func,
1877
+ onError: PropTypes.func,
1878
+ onOpenSetting: PropTypes.func
1844
1879
  };
1845
1880
 
1846
1881
  var AtCard = /** @class */ (function (_super) {
@@ -1893,15 +1928,15 @@ AtCard.defaultProps = {
1893
1928
  extraStyle: {}
1894
1929
  };
1895
1930
  AtCard.propTypes = {
1896
- note: propTypes.string,
1897
- isFull: propTypes.bool,
1898
- thumb: propTypes.string,
1899
- title: propTypes.string,
1900
- extra: propTypes.string,
1901
- icon: propTypes.object,
1902
- onClick: propTypes.func,
1903
- renderIcon: propTypes.oneOfType([propTypes.string, propTypes.element]),
1904
- extraStyle: propTypes.object // 自定义extra样式
1931
+ note: PropTypes.string,
1932
+ isFull: PropTypes.bool,
1933
+ thumb: PropTypes.string,
1934
+ title: PropTypes.string,
1935
+ extra: PropTypes.string,
1936
+ icon: PropTypes.object,
1937
+ onClick: PropTypes.func,
1938
+ renderIcon: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
1939
+ extraStyle: PropTypes.object // 自定义extra样式
1905
1940
  };
1906
1941
 
1907
1942
  var AtCheckbox = /** @class */ (function (_super) {
@@ -1954,11 +1989,11 @@ AtCheckbox.defaultProps = {
1954
1989
  onChange: function () { }
1955
1990
  };
1956
1991
  AtCheckbox.propTypes = {
1957
- customStyle: propTypes.oneOfType([propTypes.object, propTypes.string]),
1958
- className: propTypes.oneOfType([propTypes.array, propTypes.string]),
1959
- options: propTypes.array,
1960
- selectedList: propTypes.array,
1961
- onChange: propTypes.func
1992
+ customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
1993
+ className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
1994
+ options: PropTypes.array,
1995
+ selectedList: PropTypes.array,
1996
+ onChange: PropTypes.func
1962
1997
  };
1963
1998
 
1964
1999
  var AtList = /** @class */ (function (_super) {
@@ -1978,7 +2013,7 @@ AtList.defaultProps = {
1978
2013
  hasBorder: true
1979
2014
  };
1980
2015
  AtList.propTypes = {
1981
- hasBorder: propTypes.bool
2016
+ hasBorder: PropTypes.bool
1982
2017
  };
1983
2018
 
1984
2019
  var AtListItem = /** @class */ (function (_super) {
@@ -2054,26 +2089,26 @@ AtListItem.defaultProps = {
2054
2089
  iconInfo: { value: '' }
2055
2090
  };
2056
2091
  AtListItem.propTypes = {
2057
- note: propTypes.string,
2058
- disabled: propTypes.bool,
2059
- title: propTypes.string,
2060
- thumb: propTypes.string,
2061
- onClick: propTypes.func,
2062
- isSwitch: propTypes.bool,
2063
- hasBorder: propTypes.bool,
2064
- switchColor: propTypes.string,
2065
- switchIsCheck: propTypes.bool,
2066
- extraText: propTypes.string,
2067
- extraThumb: propTypes.string,
2068
- onSwitchChange: propTypes.func,
2069
- arrow: propTypes.oneOf(['up', 'down', 'right']),
2070
- iconInfo: propTypes.shape({
2071
- size: propTypes.number,
2072
- value: propTypes.string,
2073
- color: propTypes.string,
2074
- prefixClass: propTypes.string,
2075
- customStyle: propTypes.oneOfType([propTypes.object, propTypes.string]),
2076
- className: propTypes.oneOfType([propTypes.array, propTypes.string])
2092
+ note: PropTypes.string,
2093
+ disabled: PropTypes.bool,
2094
+ title: PropTypes.string,
2095
+ thumb: PropTypes.string,
2096
+ onClick: PropTypes.func,
2097
+ isSwitch: PropTypes.bool,
2098
+ hasBorder: PropTypes.bool,
2099
+ switchColor: PropTypes.string,
2100
+ switchIsCheck: PropTypes.bool,
2101
+ extraText: PropTypes.string,
2102
+ extraThumb: PropTypes.string,
2103
+ onSwitchChange: PropTypes.func,
2104
+ arrow: PropTypes.oneOf(['up', 'down', 'right']),
2105
+ iconInfo: PropTypes.shape({
2106
+ size: PropTypes.number,
2107
+ value: PropTypes.string,
2108
+ color: PropTypes.string,
2109
+ prefixClass: PropTypes.string,
2110
+ customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
2111
+ className: PropTypes.oneOfType([PropTypes.array, PropTypes.string])
2077
2112
  })
2078
2113
  };
2079
2114
 
@@ -2163,12 +2198,12 @@ AtDrawer.defaultProps = {
2163
2198
  items: []
2164
2199
  };
2165
2200
  AtDrawer.propTypes = {
2166
- show: propTypes.bool,
2167
- mask: propTypes.bool,
2168
- width: propTypes.string,
2169
- items: propTypes.arrayOf(propTypes.string),
2170
- onItemClick: propTypes.func,
2171
- onClose: propTypes.func
2201
+ show: PropTypes.bool,
2202
+ mask: PropTypes.bool,
2203
+ width: PropTypes.string,
2204
+ items: PropTypes.arrayOf(PropTypes.string),
2205
+ onItemClick: PropTypes.func,
2206
+ onClose: PropTypes.func
2172
2207
  };
2173
2208
 
2174
2209
  var AtFloatLayout = /** @class */ (function (_super) {
@@ -2242,19 +2277,19 @@ AtFloatLayout.defaultProps = {
2242
2277
  scrollWithAnimation: false
2243
2278
  };
2244
2279
  AtFloatLayout.propTypes = {
2245
- title: propTypes.string,
2246
- isOpened: propTypes.bool,
2247
- scrollY: propTypes.bool,
2248
- scrollX: propTypes.bool,
2249
- scrollTop: propTypes.number,
2250
- scrollLeft: propTypes.number,
2251
- upperThreshold: propTypes.number,
2252
- lowerThreshold: propTypes.number,
2253
- scrollWithAnimation: propTypes.bool,
2254
- onClose: propTypes.func,
2255
- onScroll: propTypes.func,
2256
- onScrollToLower: propTypes.func,
2257
- onScrollToUpper: propTypes.func
2280
+ title: PropTypes.string,
2281
+ isOpened: PropTypes.bool,
2282
+ scrollY: PropTypes.bool,
2283
+ scrollX: PropTypes.bool,
2284
+ scrollTop: PropTypes.number,
2285
+ scrollLeft: PropTypes.number,
2286
+ upperThreshold: PropTypes.number,
2287
+ lowerThreshold: PropTypes.number,
2288
+ scrollWithAnimation: PropTypes.bool,
2289
+ onClose: PropTypes.func,
2290
+ onScroll: PropTypes.func,
2291
+ onScrollToLower: PropTypes.func,
2292
+ onScrollToUpper: PropTypes.func
2258
2293
  };
2259
2294
 
2260
2295
  var AtForm = /** @class */ (function (_super) {
@@ -2281,11 +2316,11 @@ AtForm.defaultProps = {
2281
2316
  reportSubmit: false
2282
2317
  };
2283
2318
  AtForm.propTypes = {
2284
- customStyle: propTypes.oneOfType([propTypes.object, propTypes.string]),
2285
- className: propTypes.oneOfType([propTypes.array, propTypes.string]),
2286
- reportSubmit: propTypes.bool,
2287
- onSubmit: propTypes.func,
2288
- onReset: propTypes.func
2319
+ customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
2320
+ className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
2321
+ reportSubmit: PropTypes.bool,
2322
+ onSubmit: PropTypes.func,
2323
+ onReset: PropTypes.func
2289
2324
  };
2290
2325
 
2291
2326
  /**
@@ -2989,20 +3024,20 @@ AtGrid.defaultProps = {
2989
3024
  hasBorder: true
2990
3025
  };
2991
3026
  AtGrid.propTypes = {
2992
- mode: propTypes.string,
2993
- onClick: propTypes.func,
2994
- hasBorder: propTypes.bool,
2995
- columnNum: propTypes.number,
2996
- data: propTypes.arrayOf(propTypes.shape({
2997
- image: propTypes.string,
2998
- value: propTypes.string,
2999
- iconInfo: propTypes.shape({
3000
- size: propTypes.number,
3001
- value: propTypes.string,
3002
- color: propTypes.string,
3003
- prefixClass: propTypes.string,
3004
- customStyle: propTypes.oneOfType([propTypes.object, propTypes.string]),
3005
- className: propTypes.oneOfType([propTypes.array, propTypes.string])
3027
+ mode: PropTypes.string,
3028
+ onClick: PropTypes.func,
3029
+ hasBorder: PropTypes.bool,
3030
+ columnNum: PropTypes.number,
3031
+ data: PropTypes.arrayOf(PropTypes.shape({
3032
+ image: PropTypes.string,
3033
+ value: PropTypes.string,
3034
+ iconInfo: PropTypes.shape({
3035
+ size: PropTypes.number,
3036
+ value: PropTypes.string,
3037
+ color: PropTypes.string,
3038
+ prefixClass: PropTypes.string,
3039
+ customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
3040
+ className: PropTypes.oneOfType([PropTypes.array, PropTypes.string])
3006
3041
  })
3007
3042
  }))
3008
3043
  };
@@ -3016,7 +3051,7 @@ var AtIcon = /** @class */ (function (_super) {
3016
3051
  this.props.onClick && this.props.onClick(arguments);
3017
3052
  };
3018
3053
  AtIcon.prototype.render = function () {
3019
- var _a = this.props, customStyle = _a.customStyle, className = _a.className, prefixClass = _a.prefixClass, value = _a.value, size = _a.size, color = _a.color;
3054
+ var _a = this.props, _b = _a.customStyle, customStyle = _b === void 0 ? {} : _b, className = _a.className, prefixClass = _a.prefixClass, value = _a.value, size = _a.size, color = _a.color;
3020
3055
  var rootStyle = {
3021
3056
  fontSize: "" + pxTransform(parseInt(String(size)) * 2),
3022
3057
  color: color
@@ -3035,13 +3070,13 @@ AtIcon.defaultProps = {
3035
3070
  size: 24
3036
3071
  };
3037
3072
  AtIcon.propTypes = {
3038
- customStyle: propTypes.oneOfType([propTypes.object, propTypes.string]),
3039
- className: propTypes.oneOfType([propTypes.array, propTypes.string]),
3040
- prefixClass: propTypes.string,
3041
- value: propTypes.string,
3042
- color: propTypes.string,
3043
- size: propTypes.oneOfType([propTypes.string, propTypes.number]),
3044
- onClick: propTypes.func
3073
+ customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
3074
+ className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
3075
+ prefixClass: PropTypes.string,
3076
+ value: PropTypes.string,
3077
+ color: PropTypes.string,
3078
+ size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
3079
+ onClick: PropTypes.func
3045
3080
  };
3046
3081
 
3047
3082
  function getInputProps(props) {
@@ -3072,21 +3107,20 @@ var AtInput = /** @class */ (function (_super) {
3072
3107
  var _this = _super !== null && _super.apply(this, arguments) || this;
3073
3108
  // TODO: 有待考证是否为合理方式处理 #840
3074
3109
  _this.inputClearing = false;
3075
- _this.handleInput = function (event) {
3076
- return _this.props.onChange(event.detail.value, event);
3077
- };
3110
+ _this.handleInput = function (event) { var _a, _b; return (_b = (_a = _this.props).onChange) === null || _b === void 0 ? void 0 : _b.call(_a, event.detail.value, event); };
3078
3111
  _this.handleFocus = function (event) {
3079
3112
  if (typeof _this.props.onFocus === 'function') {
3080
3113
  _this.props.onFocus(event.detail.value, event);
3081
3114
  }
3082
3115
  };
3083
3116
  _this.handleBlur = function (event) {
3117
+ var _a, _b;
3084
3118
  if (typeof _this.props.onBlur === 'function') {
3085
3119
  _this.props.onBlur(event.detail.value, event);
3086
3120
  }
3087
3121
  if (event.type === 'blur' && !_this.inputClearing) {
3088
3122
  // fix # 583 AtInput 不触发 onChange 的问题
3089
- _this.props.onChange(event.detail.value, event);
3123
+ (_b = (_a = _this.props).onChange) === null || _b === void 0 ? void 0 : _b.call(_a, event.detail.value, event);
3090
3124
  }
3091
3125
  // 还原状态
3092
3126
  _this.inputClearing = false;
@@ -3102,8 +3136,9 @@ var AtInput = /** @class */ (function (_super) {
3102
3136
  }
3103
3137
  };
3104
3138
  _this.handleClearValue = function (event) {
3139
+ var _a, _b;
3105
3140
  _this.inputClearing = true;
3106
- _this.props.onChange('', event);
3141
+ (_b = (_a = _this.props).onChange) === null || _b === void 0 ? void 0 : _b.call(_a, '', event);
3107
3142
  };
3108
3143
  _this.handleKeyboardHeightChange = function (event) {
3109
3144
  if (typeof _this.props.onKeyboardHeightChange === 'function') {
@@ -3118,8 +3153,8 @@ var AtInput = /** @class */ (function (_super) {
3118
3153
  return _this;
3119
3154
  }
3120
3155
  AtInput.prototype.render = function () {
3121
- var _a = this.props, className = _a.className, customStyle = _a.customStyle, name = _a.name, cursorSpacing = _a.cursorSpacing, confirmType = _a.confirmType, cursor = _a.cursor, selectionStart = _a.selectionStart, selectionEnd = _a.selectionEnd, adjustPosition = _a.adjustPosition, border = _a.border, title = _a.title, error = _a.error, clear = _a.clear, placeholder = _a.placeholder, placeholderStyle = _a.placeholderStyle, placeholderClass = _a.placeholderClass, autoFocus = _a.autoFocus, focus = _a.focus, value = _a.value, required = _a.required;
3122
- var _b = getInputProps(this.props), type = _b.type, maxLength = _b.maxLength, disabled = _b.disabled, password = _b.password;
3156
+ var _a = this.props, className = _a.className, customStyle = _a.customStyle, name = _a.name, cursorSpacing = _a.cursorSpacing, confirmType = _a.confirmType, cursor = _a.cursor, selectionStart = _a.selectionStart, selectionEnd = _a.selectionEnd, adjustPosition = _a.adjustPosition, border = _a.border, title = _a.title, error = _a.error, clear = _a.clear, placeholder = _a.placeholder, placeholderStyle = _a.placeholderStyle, placeholderClass = _a.placeholderClass, _b = _a.autoFocus, autoFocus = _b === void 0 ? false : _b, _c = _a.focus, focus = _c === void 0 ? false : _c, value = _a.value, required = _a.required;
3157
+ var _d = getInputProps(this.props), type = _d.type, maxLength = _d.maxLength, disabled = _d.disabled, password = _d.password;
3123
3158
  var rootCls = classnames('at-input', {
3124
3159
  'at-input--without-border': !border
3125
3160
  }, className);
@@ -3127,6 +3162,7 @@ var AtInput = /** @class */ (function (_super) {
3127
3162
  'at-input--error': error,
3128
3163
  'at-input--disabled': disabled
3129
3164
  });
3165
+ // TODO: overlayCls 是否需要移除
3130
3166
  var overlayCls = classnames('at-input__overlay', {
3131
3167
  'at-input__overlay--hidden': !disabled
3132
3168
  });
@@ -3136,7 +3172,7 @@ var AtInput = /** @class */ (function (_super) {
3136
3172
  React.createElement(View, { className: containerCls },
3137
3173
  React.createElement(View, { className: overlayCls, onClick: this.handleClick }),
3138
3174
  title && (React.createElement(Label, { className: "at-input__title " + (required && 'at-input__title--required'), for: name }, title)),
3139
- React.createElement(Input, __assign({ className: 'at-input__input' }, id, { name: name, type: type, disabled: disabled, password: password, placeholderStyle: placeholderStyle, placeholderClass: placeholderCls, placeholder: placeholder, cursorSpacing: cursorSpacing, maxlength: maxLength, autoFocus: autoFocus, focus: focus, value: value, confirmType: confirmType, cursor: cursor, selectionStart: selectionStart, selectionEnd: selectionEnd, adjustPosition: adjustPosition, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, onConfirm: this.handleConfirm,
3175
+ React.createElement(Input, __assign({ className: 'at-input__input' }, id, { name: name, type: type, disabled: disabled, password: password, placeholderStyle: placeholderStyle, placeholderClass: placeholderCls, placeholder: placeholder, cursorSpacing: cursorSpacing, maxlength: maxLength, autoFocus: autoFocus }, (focus ? { focus: focus } : {}), { value: value, confirmType: confirmType, cursor: cursor, selectionStart: selectionStart, selectionEnd: selectionEnd, adjustPosition: adjustPosition, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, onConfirm: this.handleConfirm,
3140
3176
  // eslint-disable-next-line @typescript-eslint/ban-ts-ignore
3141
3177
  // @ts-ignore
3142
3178
  onKeyboardHeightChange: this.handleKeyboardHeightChange })),
@@ -3178,37 +3214,37 @@ AtInput.defaultProps = {
3178
3214
  onChange: function () { }
3179
3215
  };
3180
3216
  AtInput.propTypes = {
3181
- className: propTypes.oneOfType([propTypes.string, propTypes.array]),
3182
- customStyle: propTypes.oneOfType([propTypes.string, propTypes.object]),
3183
- value: propTypes.oneOfType([propTypes.string, propTypes.number]),
3184
- name: propTypes.string,
3185
- placeholder: propTypes.string,
3186
- placeholderStyle: propTypes.string,
3187
- placeholderClass: propTypes.string,
3188
- title: propTypes.string,
3189
- confirmType: propTypes.string,
3190
- cursor: propTypes.oneOfType([propTypes.string, propTypes.number]),
3191
- selectionStart: propTypes.oneOfType([propTypes.string, propTypes.number]),
3192
- selectionEnd: propTypes.oneOfType([propTypes.string, propTypes.number]),
3193
- adjustPosition: propTypes.bool,
3194
- cursorSpacing: propTypes.oneOfType([propTypes.string, propTypes.number]),
3195
- maxlength: propTypes.oneOfType([propTypes.string, propTypes.number]),
3196
- maxLength: propTypes.oneOfType([propTypes.string, propTypes.number]),
3197
- type: propTypes.string,
3198
- disabled: propTypes.bool,
3199
- border: propTypes.bool,
3200
- editable: propTypes.bool,
3201
- error: propTypes.bool,
3202
- clear: propTypes.bool,
3203
- autoFocus: propTypes.bool,
3204
- focus: propTypes.bool,
3205
- onChange: propTypes.func,
3206
- onFocus: propTypes.func,
3207
- onBlur: propTypes.func,
3208
- onConfirm: propTypes.func,
3209
- onErrorClick: propTypes.func,
3210
- onClick: propTypes.func,
3211
- required: propTypes.bool
3217
+ className: PropTypes.oneOfType([PropTypes.string, PropTypes.array]),
3218
+ customStyle: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
3219
+ value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
3220
+ name: PropTypes.string,
3221
+ placeholder: PropTypes.string,
3222
+ placeholderStyle: PropTypes.string,
3223
+ placeholderClass: PropTypes.string,
3224
+ title: PropTypes.string,
3225
+ confirmType: PropTypes.string,
3226
+ cursor: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
3227
+ selectionStart: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
3228
+ selectionEnd: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
3229
+ adjustPosition: PropTypes.bool,
3230
+ cursorSpacing: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
3231
+ maxlength: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
3232
+ maxLength: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
3233
+ type: PropTypes.string,
3234
+ disabled: PropTypes.bool,
3235
+ border: PropTypes.bool,
3236
+ editable: PropTypes.bool,
3237
+ error: PropTypes.bool,
3238
+ clear: PropTypes.bool,
3239
+ autoFocus: PropTypes.bool,
3240
+ focus: PropTypes.bool,
3241
+ onChange: PropTypes.func,
3242
+ onFocus: PropTypes.func,
3243
+ onBlur: PropTypes.func,
3244
+ onConfirm: PropTypes.func,
3245
+ onErrorClick: PropTypes.func,
3246
+ onClick: PropTypes.func,
3247
+ required: PropTypes.bool
3212
3248
  };
3213
3249
 
3214
3250
  /**
@@ -3453,7 +3489,7 @@ var AtInputNumber = /** @class */ (function (_super) {
3453
3489
  return AtInputNumber;
3454
3490
  }(React.Component));
3455
3491
  AtInputNumber.defaultProps = {
3456
- customStyle: '',
3492
+ customStyle: {},
3457
3493
  className: '',
3458
3494
  disabled: false,
3459
3495
  disabledInput: false,
@@ -3468,20 +3504,20 @@ AtInputNumber.defaultProps = {
3468
3504
  onChange: function () { }
3469
3505
  };
3470
3506
  AtInputNumber.propTypes = {
3471
- customStyle: propTypes.oneOfType([propTypes.object, propTypes.string]),
3472
- className: propTypes.oneOfType([propTypes.array, propTypes.string]),
3473
- value: propTypes.oneOfType([propTypes.number, propTypes.string]),
3474
- type: propTypes.oneOf(['number', 'digit']),
3475
- disabled: propTypes.bool,
3476
- width: propTypes.number,
3477
- min: propTypes.number,
3478
- max: propTypes.number,
3479
- step: propTypes.number,
3480
- size: propTypes.oneOf(['normal', 'large']),
3481
- disabledInput: propTypes.bool,
3482
- onChange: propTypes.func,
3483
- onBlur: propTypes.func,
3484
- onErrorInput: propTypes.func
3507
+ customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
3508
+ className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
3509
+ value: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
3510
+ type: PropTypes.oneOf(['number', 'digit']),
3511
+ disabled: PropTypes.bool,
3512
+ width: PropTypes.number,
3513
+ min: PropTypes.number,
3514
+ max: PropTypes.number,
3515
+ step: PropTypes.number,
3516
+ size: PropTypes.oneOf(['normal', 'large']),
3517
+ disabledInput: PropTypes.bool,
3518
+ onChange: PropTypes.func,
3519
+ onBlur: PropTypes.func,
3520
+ onErrorInput: PropTypes.func
3485
3521
  };
3486
3522
 
3487
3523
  var AtModalAction = /** @class */ (function (_super) {
@@ -3502,7 +3538,7 @@ AtModalAction.defaultProps = {
3502
3538
  isSimple: false
3503
3539
  };
3504
3540
  AtModalAction.propTypes = {
3505
- isSimple: propTypes.bool
3541
+ isSimple: PropTypes.bool
3506
3542
  };
3507
3543
 
3508
3544
  var AtModalContent = /** @class */ (function (_super) {
@@ -3615,15 +3651,15 @@ AtModal.defaultProps = {
3615
3651
  closeOnClickOverlay: true
3616
3652
  };
3617
3653
  AtModal.propTypes = {
3618
- title: propTypes.string,
3619
- isOpened: propTypes.bool,
3620
- onCancel: propTypes.func,
3621
- onConfirm: propTypes.func,
3622
- onClose: propTypes.func,
3623
- content: propTypes.string,
3624
- closeOnClickOverlay: propTypes.bool,
3625
- cancelText: propTypes.string,
3626
- confirmText: propTypes.string
3654
+ title: PropTypes.string,
3655
+ isOpened: PropTypes.bool,
3656
+ onCancel: PropTypes.func,
3657
+ onConfirm: PropTypes.func,
3658
+ onClose: PropTypes.func,
3659
+ content: PropTypes.string,
3660
+ closeOnClickOverlay: PropTypes.bool,
3661
+ cancelText: PropTypes.string,
3662
+ confirmText: PropTypes.string
3627
3663
  };
3628
3664
 
3629
3665
  var AtNavBar = /** @class */ (function (_super) {
@@ -3710,22 +3746,22 @@ AtNavBar.defaultProps = {
3710
3746
  rightSecondIconType: ''
3711
3747
  };
3712
3748
  AtNavBar.propTypes = {
3713
- customStyle: propTypes.oneOfType([propTypes.object, propTypes.string]),
3714
- className: propTypes.oneOfType([propTypes.array, propTypes.string]),
3715
- fixed: propTypes.bool,
3716
- border: propTypes.bool,
3717
- color: propTypes.string,
3718
- leftIconType: propTypes.oneOfType([propTypes.string, propTypes.object]),
3719
- leftText: propTypes.string,
3720
- title: propTypes.string,
3721
- rightFirstIconType: propTypes.oneOfType([propTypes.string, propTypes.object]),
3722
- rightSecondIconType: propTypes.oneOfType([
3723
- propTypes.string,
3724
- propTypes.object
3749
+ customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
3750
+ className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
3751
+ fixed: PropTypes.bool,
3752
+ border: PropTypes.bool,
3753
+ color: PropTypes.string,
3754
+ leftIconType: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
3755
+ leftText: PropTypes.string,
3756
+ title: PropTypes.string,
3757
+ rightFirstIconType: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
3758
+ rightSecondIconType: PropTypes.oneOfType([
3759
+ PropTypes.string,
3760
+ PropTypes.object
3725
3761
  ]),
3726
- onClickLeftIcon: propTypes.func,
3727
- onClickRgIconSt: propTypes.func,
3728
- onClickRgIconNd: propTypes.func
3762
+ onClickLeftIcon: PropTypes.func,
3763
+ onClickRgIconSt: PropTypes.func,
3764
+ onClickRgIconNd: PropTypes.func
3729
3765
  };
3730
3766
 
3731
3767
  var AtNoticebar = /** @class */ (function (_super) {
@@ -3878,16 +3914,16 @@ AtNoticebar.defaultProps = {
3878
3914
  customStyle: {}
3879
3915
  };
3880
3916
  AtNoticebar.propTypes = {
3881
- close: propTypes.bool,
3882
- single: propTypes.bool,
3883
- marquee: propTypes.bool,
3884
- speed: propTypes.number,
3885
- moreText: propTypes.string,
3886
- showMore: propTypes.bool,
3887
- icon: propTypes.string,
3888
- customStyle: propTypes.oneOfType([propTypes.object, propTypes.string]),
3889
- onClose: propTypes.func,
3890
- onGotoMore: propTypes.func
3917
+ close: PropTypes.bool,
3918
+ single: PropTypes.bool,
3919
+ marquee: PropTypes.bool,
3920
+ speed: PropTypes.number,
3921
+ moreText: PropTypes.string,
3922
+ showMore: PropTypes.bool,
3923
+ icon: PropTypes.string,
3924
+ customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
3925
+ onClose: PropTypes.func,
3926
+ onGotoMore: PropTypes.func
3891
3927
  };
3892
3928
 
3893
3929
  var MIN_MAXPAGE = 1;
@@ -3996,12 +4032,12 @@ AtPagination.defaultProps = {
3996
4032
  customStyle: {}
3997
4033
  };
3998
4034
  AtPagination.propTypes = {
3999
- current: propTypes.number,
4000
- total: propTypes.number,
4001
- pageSize: propTypes.number,
4002
- icon: propTypes.bool,
4003
- customStyle: propTypes.oneOfType([propTypes.object, propTypes.string]),
4004
- onPageChange: propTypes.func
4035
+ current: PropTypes.number,
4036
+ total: PropTypes.number,
4037
+ pageSize: PropTypes.number,
4038
+ icon: PropTypes.bool,
4039
+ customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
4040
+ onPageChange: PropTypes.func
4005
4041
  };
4006
4042
 
4007
4043
  var AtProgress = /** @class */ (function (_super) {
@@ -4044,11 +4080,11 @@ var AtProgress = /** @class */ (function (_super) {
4044
4080
  return AtProgress;
4045
4081
  }(React.Component));
4046
4082
  AtProgress.propTypes = {
4047
- color: propTypes.string,
4048
- status: propTypes.string,
4049
- percent: propTypes.number,
4050
- strokeWidth: propTypes.number,
4051
- isHidePercent: propTypes.bool
4083
+ color: PropTypes.string,
4084
+ status: PropTypes.string,
4085
+ percent: PropTypes.number,
4086
+ strokeWidth: PropTypes.number,
4087
+ isHidePercent: PropTypes.bool
4052
4088
  };
4053
4089
 
4054
4090
  var AtRadio = /** @class */ (function (_super) {
@@ -4089,11 +4125,11 @@ AtRadio.defaultProps = {
4089
4125
  onClick: function () { }
4090
4126
  };
4091
4127
  AtRadio.propTypes = {
4092
- customStyle: propTypes.oneOfType([propTypes.object, propTypes.string]),
4093
- className: propTypes.oneOfType([propTypes.array, propTypes.string]),
4094
- value: propTypes.string,
4095
- options: propTypes.array,
4096
- onClick: propTypes.func
4128
+ customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
4129
+ className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
4130
+ value: PropTypes.string,
4131
+ options: PropTypes.array,
4132
+ onClick: PropTypes.func
4097
4133
  };
4098
4134
 
4099
4135
  var AtRate = /** @class */ (function (_super) {
@@ -4144,13 +4180,13 @@ AtRate.defaultProps = {
4144
4180
  margin: 5
4145
4181
  };
4146
4182
  AtRate.propTypes = {
4147
- customStyle: propTypes.oneOfType([propTypes.object, propTypes.string]),
4148
- className: propTypes.oneOfType([propTypes.array, propTypes.string]),
4149
- size: propTypes.oneOfType([propTypes.string, propTypes.number]),
4150
- value: propTypes.number,
4151
- max: propTypes.number,
4152
- margin: propTypes.number,
4153
- onChange: propTypes.func
4183
+ customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
4184
+ className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
4185
+ size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
4186
+ value: PropTypes.number,
4187
+ max: PropTypes.number,
4188
+ margin: PropTypes.number,
4189
+ onChange: PropTypes.func
4154
4190
  };
4155
4191
 
4156
4192
  var AtSegmentedControl = /** @class */ (function (_super) {
@@ -4203,14 +4239,14 @@ AtSegmentedControl.defaultProps = {
4203
4239
  onClick: function () { }
4204
4240
  };
4205
4241
  AtSegmentedControl.propTypes = {
4206
- customStyle: propTypes.oneOfType([propTypes.object, propTypes.string]),
4207
- className: propTypes.oneOfType([propTypes.array, propTypes.string]),
4208
- current: propTypes.number,
4209
- color: propTypes.string,
4210
- fontSize: propTypes.oneOfType([propTypes.string, propTypes.number]),
4211
- disabled: propTypes.bool,
4212
- values: propTypes.array,
4213
- onClick: propTypes.func
4242
+ customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
4243
+ className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
4244
+ current: PropTypes.number,
4245
+ color: PropTypes.string,
4246
+ fontSize: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
4247
+ disabled: PropTypes.bool,
4248
+ values: PropTypes.array,
4249
+ onClick: PropTypes.func
4214
4250
  };
4215
4251
 
4216
4252
  var AtSwitch = /** @class */ (function (_super) {
@@ -4250,14 +4286,14 @@ AtSwitch.defaultProps = {
4250
4286
  checked: false
4251
4287
  };
4252
4288
  AtSwitch.propTypes = {
4253
- customStyle: propTypes.oneOfType([propTypes.object, propTypes.string]),
4254
- className: propTypes.oneOfType([propTypes.array, propTypes.string]),
4255
- title: propTypes.string,
4256
- color: propTypes.string,
4257
- checked: propTypes.bool,
4258
- border: propTypes.bool,
4259
- disabled: propTypes.bool,
4260
- onChange: propTypes.func
4289
+ customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
4290
+ className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
4291
+ title: PropTypes.string,
4292
+ color: PropTypes.string,
4293
+ checked: PropTypes.bool,
4294
+ border: PropTypes.bool,
4295
+ disabled: PropTypes.bool,
4296
+ onChange: PropTypes.func
4261
4297
  };
4262
4298
 
4263
4299
  var AtTabBar = /** @class */ (function (_super) {
@@ -4346,17 +4382,17 @@ AtTabBar.defaultProps = {
4346
4382
  onClick: function () { }
4347
4383
  };
4348
4384
  AtTabBar.propTypes = {
4349
- customStyle: propTypes.oneOfType([propTypes.object, propTypes.string]),
4350
- className: propTypes.oneOfType([propTypes.array, propTypes.string]),
4351
- fixed: propTypes.bool,
4352
- backgroundColor: propTypes.string,
4353
- current: propTypes.number,
4354
- iconSize: propTypes.oneOfType([propTypes.number, propTypes.string]),
4355
- fontSize: propTypes.oneOfType([propTypes.number, propTypes.string]),
4356
- color: propTypes.string,
4357
- selectedColor: propTypes.string,
4358
- tabList: propTypes.array,
4359
- onClick: propTypes.func
4385
+ customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
4386
+ className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
4387
+ fixed: PropTypes.bool,
4388
+ backgroundColor: PropTypes.string,
4389
+ current: PropTypes.number,
4390
+ iconSize: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
4391
+ fontSize: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
4392
+ color: PropTypes.string,
4393
+ selectedColor: PropTypes.string,
4394
+ tabList: PropTypes.array,
4395
+ onClick: PropTypes.func
4360
4396
  };
4361
4397
 
4362
4398
  var ENV$3 = Taro.getEnv();
@@ -4381,7 +4417,7 @@ var AtTabs = /** @class */ (function (_super) {
4381
4417
  }
4382
4418
  case Taro.ENV_TYPE.WEB: {
4383
4419
  var index = Math.max(idx - 1, 0);
4384
- var prevTabItem = _this.tabHeaderRef.childNodes[index];
4420
+ var prevTabItem = _this.tabHeaderRef.children[index];
4385
4421
  prevTabItem &&
4386
4422
  _this.setState({
4387
4423
  _scrollTop: prevTabItem.offsetTop,
@@ -4541,16 +4577,16 @@ AtTabs.defaultProps = {
4541
4577
  onClick: function () { }
4542
4578
  };
4543
4579
  AtTabs.propTypes = {
4544
- customStyle: propTypes.oneOfType([propTypes.object, propTypes.string]),
4545
- className: propTypes.oneOfType([propTypes.array, propTypes.string]),
4546
- height: propTypes.string,
4547
- tabDirection: propTypes.oneOf(['horizontal', 'vertical']),
4548
- current: propTypes.number,
4549
- swipeable: propTypes.bool,
4550
- scroll: propTypes.bool,
4551
- animated: propTypes.bool,
4552
- tabList: propTypes.array,
4553
- onClick: propTypes.func
4580
+ customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
4581
+ className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
4582
+ height: PropTypes.string,
4583
+ tabDirection: PropTypes.oneOf(['horizontal', 'vertical']),
4584
+ current: PropTypes.number,
4585
+ swipeable: PropTypes.bool,
4586
+ scroll: PropTypes.bool,
4587
+ animated: PropTypes.bool,
4588
+ tabList: PropTypes.array,
4589
+ onClick: PropTypes.func
4554
4590
  };
4555
4591
 
4556
4592
  var AtTabsPane = /** @class */ (function (_super) {
@@ -4577,11 +4613,11 @@ AtTabsPane.defaultProps = {
4577
4613
  current: 0
4578
4614
  };
4579
4615
  AtTabsPane.propTypes = {
4580
- customStyle: propTypes.oneOfType([propTypes.object, propTypes.string]),
4581
- className: propTypes.oneOfType([propTypes.array, propTypes.string]),
4582
- tabDirection: propTypes.oneOf(['horizontal', 'vertical']),
4583
- index: propTypes.number,
4584
- current: propTypes.number
4616
+ customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
4617
+ className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
4618
+ tabDirection: PropTypes.oneOf(['horizontal', 'vertical']),
4619
+ index: PropTypes.number,
4620
+ current: PropTypes.number
4585
4621
  };
4586
4622
 
4587
4623
  var SIZE_CLASS = {
@@ -4631,14 +4667,14 @@ AtTag.defaultProps = {
4631
4667
  customStyle: {}
4632
4668
  };
4633
4669
  AtTag.propTypes = {
4634
- size: propTypes.oneOf(['normal', 'small']),
4635
- type: propTypes.oneOf(['', 'primary']),
4636
- name: propTypes.string,
4637
- circle: propTypes.bool,
4638
- active: propTypes.bool,
4639
- disabled: propTypes.bool,
4640
- customStyle: propTypes.oneOfType([propTypes.object, propTypes.string]),
4641
- onClick: propTypes.func
4670
+ size: PropTypes.oneOf(['normal', 'small']),
4671
+ type: PropTypes.oneOf(['', 'primary']),
4672
+ name: PropTypes.string,
4673
+ circle: PropTypes.bool,
4674
+ active: PropTypes.bool,
4675
+ disabled: PropTypes.bool,
4676
+ customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
4677
+ onClick: PropTypes.func
4642
4678
  };
4643
4679
 
4644
4680
  function getMaxLength(maxLength, textOverflowForbidden) {
@@ -4708,29 +4744,29 @@ AtTextarea.defaultProps = {
4708
4744
  onChange: function () { }
4709
4745
  };
4710
4746
  AtTextarea.propTypes = {
4711
- customStyle: propTypes.oneOfType([propTypes.object, propTypes.string]),
4712
- className: propTypes.oneOfType([propTypes.array, propTypes.string]),
4713
- value: propTypes.string.isRequired,
4714
- cursorSpacing: propTypes.number,
4715
- maxLength: propTypes.oneOfType([propTypes.string, propTypes.number]),
4716
- placeholderClass: propTypes.string,
4717
- placeholderStyle: propTypes.string,
4718
- placeholder: propTypes.string,
4719
- disabled: propTypes.bool,
4720
- autoFocus: propTypes.bool,
4721
- focus: propTypes.bool,
4722
- showConfirmBar: propTypes.bool,
4723
- selectionStart: propTypes.number,
4724
- selectionEnd: propTypes.number,
4725
- count: propTypes.bool,
4726
- textOverflowForbidden: propTypes.bool,
4727
- fixed: propTypes.bool,
4728
- height: propTypes.oneOfType([propTypes.string, propTypes.number]),
4729
- onLinechange: propTypes.func,
4730
- onChange: propTypes.func.isRequired,
4731
- onFocus: propTypes.func,
4732
- onBlur: propTypes.func,
4733
- onConfirm: propTypes.func
4747
+ customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
4748
+ className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
4749
+ value: PropTypes.string.isRequired,
4750
+ cursorSpacing: PropTypes.number,
4751
+ maxLength: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
4752
+ placeholderClass: PropTypes.string,
4753
+ placeholderStyle: PropTypes.string,
4754
+ placeholder: PropTypes.string,
4755
+ disabled: PropTypes.bool,
4756
+ autoFocus: PropTypes.bool,
4757
+ focus: PropTypes.bool,
4758
+ showConfirmBar: PropTypes.bool,
4759
+ selectionStart: PropTypes.number,
4760
+ selectionEnd: PropTypes.number,
4761
+ count: PropTypes.bool,
4762
+ textOverflowForbidden: PropTypes.bool,
4763
+ fixed: PropTypes.bool,
4764
+ height: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
4765
+ onLinechange: PropTypes.func,
4766
+ onChange: PropTypes.func.isRequired,
4767
+ onFocus: PropTypes.func,
4768
+ onBlur: PropTypes.func,
4769
+ onConfirm: PropTypes.func
4734
4770
  };
4735
4771
 
4736
4772
  var AtTimeline = /** @class */ (function (_super) {
@@ -4781,9 +4817,9 @@ AtTimeline.defaultProps = {
4781
4817
  customStyle: {}
4782
4818
  };
4783
4819
  AtTimeline.propTypes = {
4784
- pending: propTypes.bool,
4785
- items: propTypes.arrayOf(propTypes.object),
4786
- customStyle: propTypes.oneOfType([propTypes.object, propTypes.string])
4820
+ pending: PropTypes.bool,
4821
+ items: PropTypes.arrayOf(PropTypes.object),
4822
+ customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string])
4787
4823
  };
4788
4824
 
4789
4825
  var error = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAGwtJREFUeAHtnUusndV1x7mAIYABG/MUYGzLBCUtFHcCtB3YZgISGaCodOQ4QGGSoJAgV5FiOTAALBowY6tFASoUmYyS0EoRYPEonUUKRETYKNhWEnCwFZvWEIzB/f3v/T773HPP2Wt/79da0v/uc85+rfVfa93vsff5zswpLpUwcPz48aUMvAKsTMpLKC8Ey0bKc3h9JjhjpOTlKUfBpyPlEV4fBAdGyv283gPeUzkzM/NnSpeSGZgpebzBDUciXITR1yW4NilXU54P6pTDTPYueBO8lZRvkjgf8tolJwOeIBmJIyGuoMs6sD7B8oxD1N18LxO+DHaqJGH+ULcCXZ7PE8TwXnKESBNC5ZeNLm2v3oWCacLs9CNM2F2eIBP4ISlu4uM7wM3gr0FfeTqObb8BL4EdJMv/ULqMMNBXx4+YGPeSpFhJyw0JdA0xRNE1zLMCyaKL/8HLoBOEpNCFtI4USox/AIPmA/tT0ZHldaBk0ZFFNwAGKYMLCJLiNDx9K/gG+Br4EnCZzsBfqPo5eAb8J8nyxfSm/asZTIKQGItwn44U3wdX1+TK/2WedxLsptTaxehaxiHej653aP1DMrouonWSJSBdQ9E6yqVANlyT4FzKOkQ2bAU6BfusjgmbnqP3CUJi6AhxN/gXsLwiwvcw7tsgTYbZkiB6v6L55g2LjZfxQZosaflVPlsxr2F5b/Yx1GPg37FRRxiXrjFA0CwGm8D7oGzZx4BPg43gyrZyI90SHaWrdC5bxK04XtxWDlyvMQZw1lKwBRwEZcl+BvoJuBd09g6XdE9skC2yqSwR1+Jc22tc2sgAzjkN3AcOgTJE/x0fB2vaaG8ZOsk28AQo6ygr7uUD3QhxaQsDOORG8CtQVD5mgOfArWAwTpatic2yXRwUFfnihrbEx2D1wAnLwHbwBcgr6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iIl/c2GRM+NxjDOAQOVk/UX0IlCFa2X0crBmbqjdvZVtio2wtQ8S9fDCYfy6dCwacsxT8EBwEZcl+BvoJuBes7hwpicLSPbFBtsimskRcaz3Evx7dleDAWYvBJlDWf0eGOiH7ePU02AiubCsn0i3R8ceU0rlsEbfieHFbOSiqV+/vLOA8raT/M9gElhclbEr/PXz+NnhnFDMzM+/zvnLBxsuY5JoxfJX3K0AVso9B/xX8Gzb+pYoJ2jJm7xMkJZogWsRrbaX+Prg6/bzi8iPG3wWUOCr3g4PgQFIeovwUHB0peXnKGeDMkVKLm7obdGFS6huVXwZKCpXngTpkN5NsBc+SGJ/VMWHTcwwmQVKiSRRdQN4KvgG+BnyvFiQEREeIn4NnwH+RGJ8H2vauanAJMupBkkX/mf8RKFn+HgyaD+xP5Tgv/hsoKZ4nKXSkG6R4QCRuJ1lW8lKnYEJn71Ql5uQt3qXjs+A/SIrf5R2kT/08QSZ4k2S5iY//CdwM/gr0lScdKX4DXgY7SIo3KF1GGOir40dMLPaSZNGmxnVgfYK6LvCLKT69ty60lRDCTpLiw+lNvcYTJGMMkDBX0GU0YZZnHKLu5rolO5oQv69bgS7P5wlS0HvJEeY6hklxLa91DXN+waGzdj9MB11DvAXeTOFHCJgoIJ4gBcgLdSVxtO1iBViZlJdSai1jdD1DK9Ba8xDSdQ9ezlsX0RrJ/4HR9RO9/gDsAe+pJBH+TOlSMgP/D3W7PKH+6NniAAAAAElFTkSuQmCC";
@@ -4904,15 +4940,15 @@ AtToast.defaultProps = {
4904
4940
  isOpened: false
4905
4941
  };
4906
4942
  AtToast.propTypes = {
4907
- text: propTypes.string,
4908
- icon: propTypes.string,
4909
- hasMask: propTypes.bool,
4910
- image: propTypes.string,
4911
- isOpened: propTypes.bool,
4912
- duration: propTypes.number,
4913
- status: propTypes.oneOf(['', 'error', 'loading', 'success']),
4914
- onClick: propTypes.func,
4915
- onClose: propTypes.func
4943
+ text: PropTypes.string,
4944
+ icon: PropTypes.string,
4945
+ hasMask: PropTypes.bool,
4946
+ image: PropTypes.string,
4947
+ isOpened: PropTypes.bool,
4948
+ duration: PropTypes.number,
4949
+ status: PropTypes.oneOf(['', 'error', 'loading', 'success']),
4950
+ onClick: PropTypes.func,
4951
+ onClose: PropTypes.func
4916
4952
  };
4917
4953
 
4918
4954
  var AtAccordion = /** @class */ (function (_super) {
@@ -5017,15 +5053,15 @@ AtAccordion.defaultProps = {
5017
5053
  isAnimation: true
5018
5054
  };
5019
5055
  AtAccordion.propTypes = {
5020
- customStyle: propTypes.oneOfType([propTypes.object, propTypes.string]),
5021
- className: propTypes.oneOfType([propTypes.array, propTypes.string]),
5022
- open: propTypes.bool,
5023
- isAnimation: propTypes.bool,
5024
- title: propTypes.string,
5025
- note: propTypes.string,
5026
- icon: propTypes.object,
5027
- hasBorder: propTypes.bool,
5028
- onClick: propTypes.func
5056
+ customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
5057
+ className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
5058
+ open: PropTypes.bool,
5059
+ isAnimation: PropTypes.bool,
5060
+ title: PropTypes.string,
5061
+ note: PropTypes.string,
5062
+ icon: PropTypes.object,
5063
+ hasBorder: PropTypes.bool,
5064
+ onClick: PropTypes.func
5029
5065
  };
5030
5066
 
5031
5067
  var AtSlider = /** @class */ (function (_super) {
@@ -5088,20 +5124,20 @@ AtSlider.defaultProps = {
5088
5124
  showValue: false
5089
5125
  };
5090
5126
  AtSlider.propTypes = {
5091
- customStyle: propTypes.oneOfType([propTypes.object, propTypes.string]),
5092
- className: propTypes.oneOfType([propTypes.array, propTypes.string]),
5093
- min: propTypes.number,
5094
- max: propTypes.number,
5095
- step: propTypes.number,
5096
- value: propTypes.number,
5097
- disabled: propTypes.bool,
5098
- activeColor: propTypes.string,
5099
- backgroundColor: propTypes.string,
5100
- blockSize: propTypes.number,
5101
- blockColor: propTypes.string,
5102
- showValue: propTypes.bool,
5103
- onChange: propTypes.func,
5104
- onChanging: propTypes.func
5127
+ customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
5128
+ className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
5129
+ min: PropTypes.number,
5130
+ max: PropTypes.number,
5131
+ step: PropTypes.number,
5132
+ value: PropTypes.number,
5133
+ disabled: PropTypes.bool,
5134
+ activeColor: PropTypes.string,
5135
+ backgroundColor: PropTypes.string,
5136
+ blockSize: PropTypes.number,
5137
+ blockColor: PropTypes.string,
5138
+ showValue: PropTypes.bool,
5139
+ onChange: PropTypes.func,
5140
+ onChanging: PropTypes.func
5105
5141
  };
5106
5142
 
5107
5143
  var AtSwipeActionOptions = /** @class */ (function (_super) {
@@ -5222,7 +5258,7 @@ var AtSwipeAction = /** @class */ (function (_super) {
5222
5258
  AtSwipeAction.prototype.render = function () {
5223
5259
  var _this = this;
5224
5260
  var _a = this.state, componentId = _a.componentId, offsetSize = _a.offsetSize;
5225
- var options = this.props.options;
5261
+ var _b = this.props, options = _b.options, disabled = _b.disabled;
5226
5262
  var rootClass = classnames('at-swipe-action', this.props.className);
5227
5263
  return (React.createElement(View, { id: "swipeAction-" + componentId, className: rootClass, style: {
5228
5264
  width: this.eleWidth + "px"
@@ -5231,7 +5267,7 @@ var AtSwipeAction = /** @class */ (function (_super) {
5231
5267
  width: this.eleWidth + this.maxOffsetSize + "px",
5232
5268
  transform: "translate(-" + this.maxOffsetSize + "px, 0)"
5233
5269
  } },
5234
- React.createElement(MovableView, { className: 'at-swipe-action__content', direction: 'horizontal', damping: 50, x: offsetSize, onTouchEnd: this.onTouchEnd, onChange: this.onChange, style: {
5270
+ React.createElement(MovableView, { className: 'at-swipe-action__content', direction: 'horizontal', damping: 50, x: offsetSize, onTouchEnd: this.onTouchEnd, onChange: this.onChange, disabled: disabled, style: {
5235
5271
  width: this.eleWidth + "px",
5236
5272
  left: this.maxOffsetSize + "px"
5237
5273
  } },
@@ -5253,21 +5289,21 @@ AtSwipeAction.defaultProps = {
5253
5289
  areaWidth: 0
5254
5290
  };
5255
5291
  AtSwipeAction.propTypes = {
5256
- isOpened: propTypes.bool,
5257
- disabled: propTypes.bool,
5258
- autoClose: propTypes.bool,
5259
- options: propTypes.arrayOf(propTypes.shape({
5260
- text: propTypes.string,
5261
- style: propTypes.oneOfType([propTypes.object, propTypes.string]),
5262
- className: propTypes.oneOfType([
5263
- propTypes.object,
5264
- propTypes.string,
5265
- propTypes.array
5292
+ isOpened: PropTypes.bool,
5293
+ disabled: PropTypes.bool,
5294
+ autoClose: PropTypes.bool,
5295
+ options: PropTypes.arrayOf(PropTypes.shape({
5296
+ text: PropTypes.string,
5297
+ style: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
5298
+ className: PropTypes.oneOfType([
5299
+ PropTypes.object,
5300
+ PropTypes.string,
5301
+ PropTypes.array
5266
5302
  ])
5267
5303
  })),
5268
- onClick: propTypes.func,
5269
- onOpened: propTypes.func,
5270
- onClosed: propTypes.func
5304
+ onClick: PropTypes.func,
5305
+ onOpened: PropTypes.func,
5306
+ onClosed: PropTypes.func
5271
5307
  };
5272
5308
 
5273
5309
  var AtSearchBar = /** @class */ (function (_super) {
@@ -5369,21 +5405,21 @@ AtSearchBar.defaultProps = {
5369
5405
  onChange: function () { }
5370
5406
  };
5371
5407
  AtSearchBar.propTypes = {
5372
- value: propTypes.string,
5373
- placeholder: propTypes.string,
5374
- maxLength: propTypes.number,
5375
- fixed: propTypes.bool,
5376
- focus: propTypes.bool,
5377
- disabled: propTypes.bool,
5378
- showActionButton: propTypes.bool,
5379
- actionName: propTypes.string,
5380
- inputType: propTypes.oneOf(['text', 'number', 'idcard', 'digit']),
5381
- onChange: propTypes.func,
5382
- onFocus: propTypes.func,
5383
- onBlur: propTypes.func,
5384
- onConfirm: propTypes.func,
5385
- onActionClick: propTypes.func,
5386
- onClear: propTypes.func
5408
+ value: PropTypes.string,
5409
+ placeholder: PropTypes.string,
5410
+ maxLength: PropTypes.number,
5411
+ fixed: PropTypes.bool,
5412
+ focus: PropTypes.bool,
5413
+ disabled: PropTypes.bool,
5414
+ showActionButton: PropTypes.bool,
5415
+ actionName: PropTypes.string,
5416
+ inputType: PropTypes.oneOf(['text', 'number', 'idcard', 'digit']),
5417
+ onChange: PropTypes.func,
5418
+ onFocus: PropTypes.func,
5419
+ onBlur: PropTypes.func,
5420
+ onConfirm: PropTypes.func,
5421
+ onActionClick: PropTypes.func,
5422
+ onClear: PropTypes.func
5387
5423
  };
5388
5424
 
5389
5425
  var AtLoadMore = /** @class */ (function (_super) {
@@ -5422,15 +5458,15 @@ AtLoadMore.defaultProps = {
5422
5458
  noMoreText: '没有更多'
5423
5459
  };
5424
5460
  AtLoadMore.propTypes = {
5425
- customStyle: propTypes.oneOfType([propTypes.object, propTypes.string]),
5426
- className: propTypes.oneOfType([propTypes.array, propTypes.string]),
5427
- noMoreTextStyle: propTypes.oneOfType([propTypes.object, propTypes.string]),
5428
- moreBtnStyle: propTypes.oneOfType([propTypes.object, propTypes.string]),
5429
- status: propTypes.oneOf(['more', 'loading', 'noMore']),
5430
- loadingText: propTypes.string,
5431
- moreText: propTypes.string,
5432
- noMoreText: propTypes.string,
5433
- onClick: propTypes.func
5461
+ customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
5462
+ className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
5463
+ noMoreTextStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
5464
+ moreBtnStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
5465
+ status: PropTypes.oneOf(['more', 'loading', 'noMore']),
5466
+ loadingText: PropTypes.string,
5467
+ moreText: PropTypes.string,
5468
+ noMoreText: PropTypes.string,
5469
+ onClick: PropTypes.func
5434
5470
  };
5435
5471
 
5436
5472
  var AtDivider = /** @class */ (function (_super) {
@@ -5464,13 +5500,13 @@ AtDivider.defaultProps = {
5464
5500
  lineColor: ''
5465
5501
  };
5466
5502
  AtDivider.propTypes = {
5467
- customStyle: propTypes.oneOfType([propTypes.object, propTypes.string]),
5468
- className: propTypes.oneOfType([propTypes.array, propTypes.string]),
5469
- content: propTypes.string,
5470
- height: propTypes.oneOfType([propTypes.number, propTypes.string]),
5471
- fontColor: propTypes.string,
5472
- fontSize: propTypes.oneOfType([propTypes.number, propTypes.string]),
5473
- lineColor: propTypes.string
5503
+ customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
5504
+ className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
5505
+ content: PropTypes.string,
5506
+ height: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
5507
+ fontColor: PropTypes.string,
5508
+ fontSize: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
5509
+ lineColor: PropTypes.string
5474
5510
  };
5475
5511
 
5476
5512
  var AtCountdownItem = /** @class */ (function (_super) {
@@ -5495,8 +5531,8 @@ AtCountdownItem.defaultProps = {
5495
5531
  separator: ':'
5496
5532
  };
5497
5533
  AtCountdownItem.propTypes = {
5498
- num: propTypes.number.isRequired,
5499
- separator: propTypes.string
5534
+ num: PropTypes.number.isRequired,
5535
+ separator: PropTypes.string
5500
5536
  };
5501
5537
 
5502
5538
  var toSeconds = function (day, hours, minutes, seconds) { return day * 60 * 60 * 24 + hours * 60 * 60 + minutes * 60 + seconds; };
@@ -5614,17 +5650,17 @@ AtCountdown.defaultProps = {
5614
5650
  seconds: 0
5615
5651
  };
5616
5652
  AtCountdown.propTypes = {
5617
- customStyle: propTypes.oneOfType([propTypes.object, propTypes.string]),
5618
- className: propTypes.oneOfType([propTypes.array, propTypes.string]),
5619
- isCard: propTypes.bool,
5620
- isShowDay: propTypes.bool,
5621
- isShowHour: propTypes.bool,
5622
- format: propTypes.object,
5623
- day: propTypes.number,
5624
- hours: propTypes.number,
5625
- minutes: propTypes.number,
5626
- seconds: propTypes.number,
5627
- onTimeUp: propTypes.func
5653
+ customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
5654
+ className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
5655
+ isCard: PropTypes.bool,
5656
+ isShowDay: PropTypes.bool,
5657
+ isShowHour: PropTypes.bool,
5658
+ format: PropTypes.object,
5659
+ day: PropTypes.number,
5660
+ hours: PropTypes.number,
5661
+ minutes: PropTypes.number,
5662
+ seconds: PropTypes.number,
5663
+ onTimeUp: PropTypes.func
5628
5664
  };
5629
5665
 
5630
5666
  var AtSteps = /** @class */ (function (_super) {
@@ -5675,11 +5711,11 @@ AtSteps.defaultProps = {
5675
5711
  onChange: function () { }
5676
5712
  };
5677
5713
  AtSteps.propTypes = {
5678
- customStyle: propTypes.oneOfType([propTypes.object, propTypes.string]),
5679
- className: propTypes.oneOfType([propTypes.array, propTypes.string]),
5680
- current: propTypes.number,
5681
- items: propTypes.array,
5682
- onChange: propTypes.func
5714
+ customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
5715
+ className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
5716
+ current: PropTypes.number,
5717
+ items: PropTypes.array,
5718
+ onChange: PropTypes.func
5683
5719
  };
5684
5720
 
5685
5721
  var AtCurtain = /** @class */ (function (_super) {
@@ -5723,11 +5759,11 @@ AtCurtain.defaultProps = {
5723
5759
  onClose: function () { }
5724
5760
  };
5725
5761
  AtCurtain.propTypes = {
5726
- customStyle: propTypes.oneOfType([propTypes.object, propTypes.string]),
5727
- className: propTypes.oneOfType([propTypes.array, propTypes.string]),
5728
- isOpened: propTypes.bool,
5729
- closeBtnPosition: propTypes.string,
5730
- onClose: propTypes.func
5762
+ customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
5763
+ className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
5764
+ isOpened: PropTypes.bool,
5765
+ closeBtnPosition: PropTypes.string,
5766
+ onClose: PropTypes.func
5731
5767
  };
5732
5768
 
5733
5769
  var AtMessage = /** @class */ (function (_super) {
@@ -5795,8 +5831,8 @@ AtMessage.defaultProps = {
5795
5831
  className: ''
5796
5832
  };
5797
5833
  AtMessage.propTypes = {
5798
- customStyle: propTypes.oneOfType([propTypes.object, propTypes.string]),
5799
- className: propTypes.oneOfType([propTypes.array, propTypes.string])
5834
+ customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
5835
+ className: PropTypes.oneOfType([PropTypes.array, PropTypes.string])
5800
5836
  };
5801
5837
 
5802
5838
  // 生成 jsx 二维矩阵
@@ -5856,7 +5892,10 @@ var AtImagePicker = /** @class */ (function (_super) {
5856
5892
  var newFiles = files.concat(targetFiles);
5857
5893
  _this.props.onChange(newFiles, 'add');
5858
5894
  })
5859
- .catch(_this.props.onFail);
5895
+ .catch(function (err) {
5896
+ var _a, _b;
5897
+ (_b = (_a = _this.props) === null || _a === void 0 ? void 0 : _a.onFail) === null || _b === void 0 ? void 0 : _b.call(_a, err);
5898
+ });
5860
5899
  };
5861
5900
  _this.handleImageClick = function (idx) {
5862
5901
  _this.props.onImageClick &&
@@ -5904,10 +5943,10 @@ AtImagePicker.defaultProps = {
5904
5943
  onChange: function () { }
5905
5944
  };
5906
5945
  AtImagePicker.propTypes = {
5907
- className: propTypes.oneOfType([propTypes.string, propTypes.array]),
5908
- customStyle: propTypes.oneOfType([propTypes.string, propTypes.object]),
5909
- files: propTypes.array,
5910
- mode: propTypes.oneOf([
5946
+ className: PropTypes.oneOfType([PropTypes.string, PropTypes.array]),
5947
+ customStyle: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
5948
+ files: PropTypes.array,
5949
+ mode: PropTypes.oneOf([
5911
5950
  'scaleToFill',
5912
5951
  'aspectFit',
5913
5952
  'aspectFill',
@@ -5922,15 +5961,15 @@ AtImagePicker.propTypes = {
5922
5961
  'bottom left',
5923
5962
  'bottom right'
5924
5963
  ]),
5925
- showAddBtn: propTypes.bool,
5926
- multiple: propTypes.bool,
5927
- length: propTypes.number,
5928
- onChange: propTypes.func,
5929
- onImageClick: propTypes.func,
5930
- onFail: propTypes.func,
5931
- count: propTypes.number,
5932
- sizeType: propTypes.array,
5933
- sourceType: propTypes.array
5964
+ showAddBtn: PropTypes.bool,
5965
+ multiple: PropTypes.bool,
5966
+ length: PropTypes.number,
5967
+ onChange: PropTypes.func,
5968
+ onImageClick: PropTypes.func,
5969
+ onFail: PropTypes.func,
5970
+ count: PropTypes.number,
5971
+ sizeType: PropTypes.array,
5972
+ sourceType: PropTypes.array
5934
5973
  };
5935
5974
 
5936
5975
  var AtRange = /** @class */ (function (_super) {
@@ -6009,8 +6048,9 @@ var AtRange = /** @class */ (function (_super) {
6009
6048
  AtRange.prototype.updatePos = function () {
6010
6049
  var _this = this;
6011
6050
  delayQuerySelector('.at-range__container', 0).then(function (rect) {
6012
- _this.width = Math.round(rect[0].width);
6013
- _this.left = Math.round(rect[0].left);
6051
+ var _a, _b;
6052
+ _this.width = Math.round((_a = rect[0]) === null || _a === void 0 ? void 0 : _a.width);
6053
+ _this.left = Math.round((_b = rect[0]) === null || _b === void 0 ? void 0 : _b.left);
6014
6054
  });
6015
6055
  };
6016
6056
  AtRange.prototype.UNSAFE_componentWillReceiveProps = function (nextProps) {
@@ -6070,18 +6110,18 @@ AtRange.defaultProps = {
6070
6110
  blockSize: 0
6071
6111
  };
6072
6112
  AtRange.propTypes = {
6073
- customStyle: propTypes.oneOfType([propTypes.object, propTypes.string]),
6074
- className: propTypes.oneOfType([propTypes.array, propTypes.string]),
6075
- sliderStyle: propTypes.oneOfType([propTypes.object, propTypes.string]),
6076
- railStyle: propTypes.oneOfType([propTypes.object, propTypes.string]),
6077
- trackStyle: propTypes.oneOfType([propTypes.object, propTypes.string]),
6078
- value: propTypes.array,
6079
- min: propTypes.number,
6080
- max: propTypes.number,
6081
- disabled: propTypes.bool,
6082
- blockSize: propTypes.number,
6083
- onChange: propTypes.func,
6084
- onAfterChange: propTypes.func
6113
+ customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
6114
+ className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
6115
+ sliderStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
6116
+ railStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
6117
+ trackStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
6118
+ value: PropTypes.array,
6119
+ min: PropTypes.number,
6120
+ max: PropTypes.number,
6121
+ disabled: PropTypes.bool,
6122
+ blockSize: PropTypes.number,
6123
+ onChange: PropTypes.func,
6124
+ onAfterChange: PropTypes.func
6085
6125
  };
6086
6126
 
6087
6127
  var ENV = Taro.getEnv();
@@ -6132,7 +6172,7 @@ var AtIndexes = /** @class */ (function (_super) {
6132
6172
  var _tipText = idx === 0 ? topKey : list[idx - 1].key;
6133
6173
  if (ENV === Taro.ENV_TYPE.WEB) {
6134
6174
  delayQuerySelector('.at-indexes', 0).then(function (rect) {
6135
- var targetOffsetTop = _this.listRef.childNodes[idx].offsetTop;
6175
+ var targetOffsetTop = _this.listRef.children[idx].offsetTop;
6136
6176
  var _scrollTop = targetOffsetTop - rect[0].top;
6137
6177
  _this.updateState({
6138
6178
  _scrollTop: _scrollTop,
@@ -6240,15 +6280,15 @@ var AtIndexes = /** @class */ (function (_super) {
6240
6280
  return AtIndexes;
6241
6281
  }(React.Component));
6242
6282
  AtIndexes.propTypes = {
6243
- customStyle: propTypes.oneOfType([propTypes.object, propTypes.string]),
6244
- className: propTypes.oneOfType([propTypes.array, propTypes.string]),
6245
- animation: propTypes.bool,
6246
- isVibrate: propTypes.bool,
6247
- isShowToast: propTypes.bool,
6248
- topKey: propTypes.string,
6249
- list: propTypes.array,
6250
- onClick: propTypes.func,
6251
- onScrollIntoView: propTypes.func
6283
+ customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
6284
+ className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
6285
+ animation: PropTypes.bool,
6286
+ isVibrate: PropTypes.bool,
6287
+ isShowToast: PropTypes.bool,
6288
+ topKey: PropTypes.string,
6289
+ list: PropTypes.array,
6290
+ onClick: PropTypes.func,
6291
+ onScrollIntoView: PropTypes.func
6252
6292
  };
6253
6293
  AtIndexes.defaultProps = {
6254
6294
  customStyle: '',
@@ -6261,7 +6301,7 @@ AtIndexes.defaultProps = {
6261
6301
  };
6262
6302
 
6263
6303
  var dayjs_min = createCommonjsModule(function (module, exports) {
6264
- !function(t,e){module.exports=e();}(commonjsGlobal,(function(){var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",f="month",h="quarter",c="year",d="date",$="Invalid Date",l=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},m=function(t,e,n){var r=String(t);return !r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},g={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return (e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return -t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,f),s=n-i<0,u=e.clone().add(r+(s?-1:1),f);return +(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return {M:f,y:c,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:h}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},D="en",v={};v[D]=M;var p=function(t){return t instanceof _},S=function(t,e,n){var r;if(!t)return D;if("string"==typeof t)v[t]&&(r=t),e&&(v[t]=e,r=t);else {var i=t.name;v[i]=t,r=i;}return !n&&r&&(D=r),r||!n&&D},w=function(t,e){if(p(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},O=g;O.l=S,O.i=p,O.w=function(t,e){return w(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=S(t.locale,null,!0),this.parse(t);}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(O.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(l);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init();},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds();},m.$utils=function(){return O},m.isValid=function(){return !(this.$d.toString()===$)},m.isSame=function(t,e){var n=w(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return w(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<w(t)},m.$g=function(t,e,n){return O.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!O.u(e)||e,h=O.p(t),$=function(t,e){var i=O.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},l=function(t,e){return O.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,g="set"+(this.$u?"UTC":"");switch(h){case c:return r?$(1,0):$(31,11);case f:return r?$(1,M):$(0,M+1);case o:var D=this.$locale().weekStart||0,v=(y<D?y+7:y)-D;return $(r?m-v:m+(6-v),M);case a:case d:return l(g+"Hours",0);case u:return l(g+"Minutes",1);case s:return l(g+"Seconds",2);case i:return l(g+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var n,o=O.p(t),h="set"+(this.$u?"UTC":""),$=(n={},n[a]=h+"Date",n[d]=h+"Date",n[f]=h+"Month",n[c]=h+"FullYear",n[u]=h+"Hours",n[s]=h+"Minutes",n[i]=h+"Seconds",n[r]=h+"Milliseconds",n)[o],l=o===a?this.$D+(e-this.$W):e;if(o===f||o===c){var y=this.clone().set(d,1);y.$d[$](l),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d;}else $&&this.$d[$](l);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[O.p(t)]()},m.add=function(r,h){var d,$=this;r=Number(r);var l=O.p(h),y=function(t){var e=w($);return O.w(e.date(e.date()+Math.round(t*r)),$)};if(l===f)return this.set(f,this.$M+r);if(l===c)return this.set(c,this.$y+r);if(l===a)return y(1);if(l===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[l]||1,m=this.$d.getTime()+r*M;return O.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||$;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=O.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,f=n.months,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].substr(0,s)},c=function(t){return O.s(s%12||12,t,"0")},d=n.meridiem||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r},l={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:O.s(a+1,2,"0"),MMM:h(n.monthsShort,a,f,3),MMMM:h(f,a),D:this.$D,DD:O.s(this.$D,2,"0"),d:String(this.$W),dd:h(n.weekdaysMin,this.$W,o,2),ddd:h(n.weekdaysShort,this.$W,o,3),dddd:o[this.$W],H:String(s),HH:O.s(s,2,"0"),h:c(1),hh:c(2),a:d(s,u,!0),A:d(s,u,!1),m:String(u),mm:O.s(u,2,"0"),s:String(this.$s),ss:O.s(this.$s,2,"0"),SSS:O.s(this.$ms,3,"0"),Z:i};return r.replace(y,(function(t,e){return e||l[t]||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,$){var l,y=O.p(d),M=w(r),m=(M.utcOffset()-this.utcOffset())*e,g=this-M,D=O.m(this,M);return D=(l={},l[c]=D/12,l[f]=D,l[h]=D/3,l[o]=(g-m)/6048e5,l[a]=(g-m)/864e5,l[u]=g/n,l[s]=g/e,l[i]=g/t,l)[y]||g,$?D:O.a(D)},m.daysInMonth=function(){return this.endOf(f).$D},m.$locale=function(){return v[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=S(t,e,!0);return r&&(n.$L=r),n},m.clone=function(){return O.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),b=_.prototype;return w.prototype=b,[["$ms",r],["$s",i],["$m",s],["$H",u],["$W",a],["$M",f],["$y",c],["$D",d]].forEach((function(t){b[t[1]]=function(e){return this.$g(e,t[0],t[1])};})),w.extend=function(t,e){return t.$i||(t(e,_,w),t.$i=!0),w},w.locale=S,w.isDayjs=p,w.unix=function(t){return w(1e3*t)},w.en=v[D],w.Ls=v,w.p={},w}));
6304
+ !function(t,e){module.exports=e();}(commonjsGlobal,(function(){var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",f="month",h="quarter",c="year",d="date",l="Invalid Date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return "["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},m=function(t,e,n){var r=String(t);return !r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return (e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return -t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,f),s=n-i<0,u=e.clone().add(r+(s?-1:1),f);return +(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return {M:f,y:c,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:h}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},g="en",D={};D[g]=M;var p=function(t){return t instanceof _},S=function t(e,n,r){var i;if(!e)return g;if("string"==typeof e){var s=e.toLowerCase();D[s]&&(i=s),n&&(D[s]=n,i=s);var u=e.split("-");if(!i&&u.length>1)return t(u[0])}else {var a=e.name;D[a]=e,i=a;}return !r&&i&&(g=i),i||!r&&g},w=function(t,e){if(p(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},O=v;O.l=S,O.i=p,O.w=function(t,e){return w(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=S(t.locale,null,!0),this.parse(t);}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(O.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init();},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds();},m.$utils=function(){return O},m.isValid=function(){return !(this.$d.toString()===l)},m.isSame=function(t,e){var n=w(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return w(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<w(t)},m.$g=function(t,e,n){return O.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!O.u(e)||e,h=O.p(t),l=function(t,e){var i=O.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},$=function(t,e){return O.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,v="set"+(this.$u?"UTC":"");switch(h){case c:return r?l(1,0):l(31,11);case f:return r?l(1,M):l(0,M+1);case o:var g=this.$locale().weekStart||0,D=(y<g?y+7:y)-g;return l(r?m-D:m+(6-D),M);case a:case d:return $(v+"Hours",0);case u:return $(v+"Minutes",1);case s:return $(v+"Seconds",2);case i:return $(v+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var n,o=O.p(t),h="set"+(this.$u?"UTC":""),l=(n={},n[a]=h+"Date",n[d]=h+"Date",n[f]=h+"Month",n[c]=h+"FullYear",n[u]=h+"Hours",n[s]=h+"Minutes",n[i]=h+"Seconds",n[r]=h+"Milliseconds",n)[o],$=o===a?this.$D+(e-this.$W):e;if(o===f||o===c){var y=this.clone().set(d,1);y.$d[l]($),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d;}else l&&this.$d[l]($);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[O.p(t)]()},m.add=function(r,h){var d,l=this;r=Number(r);var $=O.p(h),y=function(t){var e=w(l);return O.w(e.date(e.date()+Math.round(t*r)),l)};if($===f)return this.set(f,this.$M+r);if($===c)return this.set(c,this.$y+r);if($===a)return y(1);if($===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[$]||1,m=this.$d.getTime()+r*M;return O.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||l;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=O.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,f=n.months,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].slice(0,s)},c=function(t){return O.s(s%12||12,t,"0")},d=n.meridiem||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r},$={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:O.s(a+1,2,"0"),MMM:h(n.monthsShort,a,f,3),MMMM:h(f,a),D:this.$D,DD:O.s(this.$D,2,"0"),d:String(this.$W),dd:h(n.weekdaysMin,this.$W,o,2),ddd:h(n.weekdaysShort,this.$W,o,3),dddd:o[this.$W],H:String(s),HH:O.s(s,2,"0"),h:c(1),hh:c(2),a:d(s,u,!0),A:d(s,u,!1),m:String(u),mm:O.s(u,2,"0"),s:String(this.$s),ss:O.s(this.$s,2,"0"),SSS:O.s(this.$ms,3,"0"),Z:i};return r.replace(y,(function(t,e){return e||$[t]||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,l){var $,y=O.p(d),M=w(r),m=(M.utcOffset()-this.utcOffset())*e,v=this-M,g=O.m(this,M);return g=($={},$[c]=g/12,$[f]=g,$[h]=g/3,$[o]=(v-m)/6048e5,$[a]=(v-m)/864e5,$[u]=v/n,$[s]=v/e,$[i]=v/t,$)[y]||v,l?g:O.a(g)},m.daysInMonth=function(){return this.endOf(f).$D},m.$locale=function(){return D[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=S(t,e,!0);return r&&(n.$L=r),n},m.clone=function(){return O.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),T=_.prototype;return w.prototype=T,[["$ms",r],["$s",i],["$m",s],["$H",u],["$W",a],["$M",f],["$y",c],["$D",d]].forEach((function(t){T[t[1]]=function(e){return this.$g(e,t[0],t[1])};})),w.extend=function(t,e){return t.$i||(t(e,_,w),t.$i=!0),w},w.locale=S,w.isDayjs=p,w.unix=function(t){return w(1e3*t)},w.en=D[g],w.Ls=D,w.p={},w}));
6265
6305
  });
6266
6306
 
6267
6307
  /** Built-in value references. */
@@ -7599,12 +7639,11 @@ function handleActive(args, item) {
7599
7639
  var dayjsEnd = dayjs_min(end);
7600
7640
  var dayjsStart = start ? dayjs_min(start) : dayjsEnd;
7601
7641
  item.isSelected =
7602
- _value.isSame(dayjsEnd) ||
7603
- _value.isSame(dayjsStart) ||
7604
- (_value.isAfter(dayjsStart) && _value.isBefore(dayjsEnd));
7605
- item.isSelectedHead = _value.isSame(dayjsStart);
7606
- item.isSelectedTail = _value.isSame(dayjsEnd);
7607
- item.isToday = _value.diff(dayjs_min(Date.now()).startOf('day'), 'day') === 0;
7642
+ (_value === null || _value === void 0 ? void 0 : _value.isSame(dayjsEnd)) || (_value === null || _value === void 0 ? void 0 : _value.isSame(dayjsStart)) ||
7643
+ ((_value === null || _value === void 0 ? void 0 : _value.isAfter(dayjsStart)) && (_value === null || _value === void 0 ? void 0 : _value.isBefore(dayjsEnd)));
7644
+ item.isSelectedHead = _value === null || _value === void 0 ? void 0 : _value.isSame(dayjsStart);
7645
+ item.isSelectedTail = _value === null || _value === void 0 ? void 0 : _value.isSame(dayjsEnd);
7646
+ item.isToday = (_value === null || _value === void 0 ? void 0 : _value.diff(dayjs_min(Date.now()).startOf('day'), 'day')) === 0;
7608
7647
  return item;
7609
7648
  }
7610
7649
  function handleMarks(args, item) {
@@ -7646,8 +7685,8 @@ function handleDisabled(args, item) {
7646
7685
  var dayjsMinDate = dayjs_min(minDate);
7647
7686
  var dayjsMaxDate = dayjs_min(maxDate);
7648
7687
  item.isDisabled =
7649
- !!(minDate && _value.isBefore(dayjsMinDate)) ||
7650
- !!(maxDate && _value.isAfter(dayjsMaxDate));
7688
+ !!(minDate && (_value === null || _value === void 0 ? void 0 : _value.isBefore(dayjsMinDate))) ||
7689
+ !!(maxDate && (_value === null || _value === void 0 ? void 0 : _value.isAfter(dayjsMaxDate)));
7651
7690
  return item;
7652
7691
  }
7653
7692
  function handleValid(args, item) {
@@ -8250,8 +8289,8 @@ var AtFab = /** @class */ (function (_super) {
8250
8289
  return AtFab;
8251
8290
  }(React.Component));
8252
8291
  AtFab.propTypes = {
8253
- size: propTypes.oneOf(['normal', 'small']),
8254
- onClick: propTypes.func
8292
+ size: PropTypes.oneOf(['normal', 'small']),
8293
+ onClick: PropTypes.func
8255
8294
  };
8256
8295
  AtFab.defaultProps = {
8257
8296
  size: 'normal'