taro-ui 3.3.0 → 3.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/index.esm.js +607 -508
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +607 -508
- package/dist/index.js.map +1 -1
- package/dist/style/components/curtain.scss +3 -3
- package/dist/style/components/range.scss +2 -2
- package/dist/style/components/toast.scss +1 -1
- package/lib/components/avatar/index.js +7 -2
- package/lib/components/avatar/index.js.map +1 -1
- package/package.json +29 -24
- package/types/tab-bar.d.ts +3 -3
- package/README.md +0 -85
package/dist/index.js
CHANGED
|
@@ -126,9 +126,9 @@ function createCommonjsModule(fn, module) {
|
|
|
126
126
|
|
|
127
127
|
var classnames = createCommonjsModule(function (module) {
|
|
128
128
|
/*!
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
129
|
+
Copyright (c) 2018 Jed Watson.
|
|
130
|
+
Licensed under the MIT License (MIT), see
|
|
131
|
+
http://jedwatson.github.io/classnames
|
|
132
132
|
*/
|
|
133
133
|
/* global define */
|
|
134
134
|
|
|
@@ -137,31 +137,56 @@ var classnames = createCommonjsModule(function (module) {
|
|
|
137
137
|
var hasOwn = {}.hasOwnProperty;
|
|
138
138
|
|
|
139
139
|
function classNames () {
|
|
140
|
-
var classes =
|
|
140
|
+
var classes = '';
|
|
141
141
|
|
|
142
142
|
for (var i = 0; i < arguments.length; i++) {
|
|
143
143
|
var arg = arguments[i];
|
|
144
|
-
if (
|
|
144
|
+
if (arg) {
|
|
145
|
+
classes = appendClass(classes, parseValue(arg));
|
|
146
|
+
}
|
|
147
|
+
}
|
|
145
148
|
|
|
146
|
-
|
|
149
|
+
return classes;
|
|
150
|
+
}
|
|
147
151
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
152
|
+
function parseValue (arg) {
|
|
153
|
+
if (typeof arg === 'string' || typeof arg === 'number') {
|
|
154
|
+
return arg;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
if (typeof arg !== 'object') {
|
|
158
|
+
return '';
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
if (Array.isArray(arg)) {
|
|
162
|
+
return classNames.apply(null, arg);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
|
|
166
|
+
return arg.toString();
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
var classes = '';
|
|
170
|
+
|
|
171
|
+
for (var key in arg) {
|
|
172
|
+
if (hasOwn.call(arg, key) && arg[key]) {
|
|
173
|
+
classes = appendClass(classes, key);
|
|
161
174
|
}
|
|
162
175
|
}
|
|
163
176
|
|
|
164
|
-
return classes
|
|
177
|
+
return classes;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
function appendClass (value, newClass) {
|
|
181
|
+
if (!newClass) {
|
|
182
|
+
return value;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
if (value) {
|
|
186
|
+
return value + ' ' + newClass;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
return value + newClass;
|
|
165
190
|
}
|
|
166
191
|
|
|
167
192
|
if (module.exports) {
|
|
@@ -525,16 +550,22 @@ var objectAssign = shouldUseNative() ? Object.assign : function (target, source)
|
|
|
525
550
|
* LICENSE file in the root directory of this source tree.
|
|
526
551
|
*/
|
|
527
552
|
|
|
528
|
-
var ReactPropTypesSecret$
|
|
553
|
+
var ReactPropTypesSecret$2 = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
|
|
554
|
+
|
|
555
|
+
var ReactPropTypesSecret_1 = ReactPropTypesSecret$2;
|
|
556
|
+
|
|
557
|
+
var has$2 = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
529
558
|
|
|
530
|
-
var
|
|
559
|
+
var ReactPropTypesSecret$1 = ReactPropTypesSecret_1;
|
|
560
|
+
|
|
561
|
+
var has$1 = has$2;
|
|
531
562
|
|
|
532
563
|
var printWarning$1 = function() {};
|
|
533
564
|
|
|
534
565
|
if (process.env.NODE_ENV !== 'production') {
|
|
535
|
-
var ReactPropTypesSecret =
|
|
566
|
+
var ReactPropTypesSecret = ReactPropTypesSecret$1;
|
|
536
567
|
var loggedTypeFailures = {};
|
|
537
|
-
var has
|
|
568
|
+
var has = has$1;
|
|
538
569
|
|
|
539
570
|
printWarning$1 = function(text) {
|
|
540
571
|
var message = 'Warning: ' + text;
|
|
@@ -546,7 +577,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
546
577
|
// This error was thrown as a convenience so that you can use this stack
|
|
547
578
|
// to find the callsite that caused this warning to fire.
|
|
548
579
|
throw new Error(message);
|
|
549
|
-
} catch (x) {}
|
|
580
|
+
} catch (x) { /**/ }
|
|
550
581
|
};
|
|
551
582
|
}
|
|
552
583
|
|
|
@@ -561,10 +592,10 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
561
592
|
* @param {?Function} getStack Returns the component stack.
|
|
562
593
|
* @private
|
|
563
594
|
*/
|
|
564
|
-
function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
|
595
|
+
function checkPropTypes$1(typeSpecs, values, location, componentName, getStack) {
|
|
565
596
|
if (process.env.NODE_ENV !== 'production') {
|
|
566
597
|
for (var typeSpecName in typeSpecs) {
|
|
567
|
-
if (has
|
|
598
|
+
if (has(typeSpecs, typeSpecName)) {
|
|
568
599
|
var error;
|
|
569
600
|
// Prop type validation may throw. In case they do, we don't want to
|
|
570
601
|
// fail the render phase where it didn't fail before. So we log it.
|
|
@@ -575,7 +606,8 @@ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
|
|
575
606
|
if (typeof typeSpecs[typeSpecName] !== 'function') {
|
|
576
607
|
var err = Error(
|
|
577
608
|
(componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
|
|
578
|
-
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'
|
|
609
|
+
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
|
|
610
|
+
'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
|
|
579
611
|
);
|
|
580
612
|
err.name = 'Invariant Violation';
|
|
581
613
|
throw err;
|
|
@@ -615,15 +647,16 @@ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
|
|
615
647
|
*
|
|
616
648
|
* @private
|
|
617
649
|
*/
|
|
618
|
-
checkPropTypes.resetWarningCache = function() {
|
|
650
|
+
checkPropTypes$1.resetWarningCache = function() {
|
|
619
651
|
if (process.env.NODE_ENV !== 'production') {
|
|
620
652
|
loggedTypeFailures = {};
|
|
621
653
|
}
|
|
622
654
|
};
|
|
623
655
|
|
|
624
|
-
var checkPropTypes_1 = checkPropTypes;
|
|
656
|
+
var checkPropTypes_1 = checkPropTypes$1;
|
|
657
|
+
|
|
658
|
+
var checkPropTypes = checkPropTypes_1;
|
|
625
659
|
|
|
626
|
-
var has = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
627
660
|
var printWarning = function() {};
|
|
628
661
|
|
|
629
662
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -724,6 +757,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
724
757
|
// Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
|
|
725
758
|
var ReactPropTypes = {
|
|
726
759
|
array: createPrimitiveTypeChecker('array'),
|
|
760
|
+
bigint: createPrimitiveTypeChecker('bigint'),
|
|
727
761
|
bool: createPrimitiveTypeChecker('boolean'),
|
|
728
762
|
func: createPrimitiveTypeChecker('function'),
|
|
729
763
|
number: createPrimitiveTypeChecker('number'),
|
|
@@ -769,8 +803,9 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
769
803
|
* is prohibitively expensive if they are created too often, such as what
|
|
770
804
|
* happens in oneOfType() for any type before the one that matched.
|
|
771
805
|
*/
|
|
772
|
-
function PropTypeError(message) {
|
|
806
|
+
function PropTypeError(message, data) {
|
|
773
807
|
this.message = message;
|
|
808
|
+
this.data = data && typeof data === 'object' ? data: {};
|
|
774
809
|
this.stack = '';
|
|
775
810
|
}
|
|
776
811
|
// Make `instanceof Error` still work for returned errors.
|
|
@@ -785,7 +820,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
785
820
|
componentName = componentName || ANONYMOUS;
|
|
786
821
|
propFullName = propFullName || propName;
|
|
787
822
|
|
|
788
|
-
if (secret !==
|
|
823
|
+
if (secret !== ReactPropTypesSecret$1) {
|
|
789
824
|
if (throwOnDirectAccess) {
|
|
790
825
|
// New behavior only for users of `prop-types` package
|
|
791
826
|
var err = new Error(
|
|
@@ -805,7 +840,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
805
840
|
) {
|
|
806
841
|
printWarning(
|
|
807
842
|
'You are manually calling a React.PropTypes validation ' +
|
|
808
|
-
'function for the `' + propFullName + '` prop on `' + componentName
|
|
843
|
+
'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
|
|
809
844
|
'and will throw in the standalone `prop-types` package. ' +
|
|
810
845
|
'You may be seeing this warning due to a third-party PropTypes ' +
|
|
811
846
|
'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
|
|
@@ -844,7 +879,10 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
844
879
|
// 'of type `object`'.
|
|
845
880
|
var preciseType = getPreciseType(propValue);
|
|
846
881
|
|
|
847
|
-
return new PropTypeError(
|
|
882
|
+
return new PropTypeError(
|
|
883
|
+
'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),
|
|
884
|
+
{expectedType: expectedType}
|
|
885
|
+
);
|
|
848
886
|
}
|
|
849
887
|
return null;
|
|
850
888
|
}
|
|
@@ -866,7 +904,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
866
904
|
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));
|
|
867
905
|
}
|
|
868
906
|
for (var i = 0; i < propValue.length; i++) {
|
|
869
|
-
var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']',
|
|
907
|
+
var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret$1);
|
|
870
908
|
if (error instanceof Error) {
|
|
871
909
|
return error;
|
|
872
910
|
}
|
|
@@ -958,8 +996,8 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
958
996
|
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));
|
|
959
997
|
}
|
|
960
998
|
for (var key in propValue) {
|
|
961
|
-
if (has(propValue, key)) {
|
|
962
|
-
var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key,
|
|
999
|
+
if (has$1(propValue, key)) {
|
|
1000
|
+
var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret$1);
|
|
963
1001
|
if (error instanceof Error) {
|
|
964
1002
|
return error;
|
|
965
1003
|
}
|
|
@@ -988,14 +1026,19 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
988
1026
|
}
|
|
989
1027
|
|
|
990
1028
|
function validate(props, propName, componentName, location, propFullName) {
|
|
1029
|
+
var expectedTypes = [];
|
|
991
1030
|
for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
|
|
992
1031
|
var checker = arrayOfTypeCheckers[i];
|
|
993
|
-
|
|
1032
|
+
var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret$1);
|
|
1033
|
+
if (checkerResult == null) {
|
|
994
1034
|
return null;
|
|
995
1035
|
}
|
|
1036
|
+
if (checkerResult.data && has$1(checkerResult.data, 'expectedType')) {
|
|
1037
|
+
expectedTypes.push(checkerResult.data.expectedType);
|
|
1038
|
+
}
|
|
996
1039
|
}
|
|
997
|
-
|
|
998
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '
|
|
1040
|
+
var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';
|
|
1041
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
|
|
999
1042
|
}
|
|
1000
1043
|
return createChainableTypeChecker(validate);
|
|
1001
1044
|
}
|
|
@@ -1010,6 +1053,13 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
1010
1053
|
return createChainableTypeChecker(validate);
|
|
1011
1054
|
}
|
|
1012
1055
|
|
|
1056
|
+
function invalidValidatorError(componentName, location, propFullName, key, type) {
|
|
1057
|
+
return new PropTypeError(
|
|
1058
|
+
(componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
|
|
1059
|
+
'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
|
|
1060
|
+
);
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1013
1063
|
function createShapeTypeChecker(shapeTypes) {
|
|
1014
1064
|
function validate(props, propName, componentName, location, propFullName) {
|
|
1015
1065
|
var propValue = props[propName];
|
|
@@ -1019,10 +1069,10 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
1019
1069
|
}
|
|
1020
1070
|
for (var key in shapeTypes) {
|
|
1021
1071
|
var checker = shapeTypes[key];
|
|
1022
|
-
if (
|
|
1023
|
-
|
|
1072
|
+
if (typeof checker !== 'function') {
|
|
1073
|
+
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
1024
1074
|
}
|
|
1025
|
-
var error = checker(propValue, key, componentName, location, propFullName + '.' + key,
|
|
1075
|
+
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret$1);
|
|
1026
1076
|
if (error) {
|
|
1027
1077
|
return error;
|
|
1028
1078
|
}
|
|
@@ -1039,19 +1089,21 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
1039
1089
|
if (propType !== 'object') {
|
|
1040
1090
|
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
|
|
1041
1091
|
}
|
|
1042
|
-
// We need to check all keys in case some are required but missing from
|
|
1043
|
-
// props.
|
|
1092
|
+
// We need to check all keys in case some are required but missing from props.
|
|
1044
1093
|
var allKeys = objectAssign({}, props[propName], shapeTypes);
|
|
1045
1094
|
for (var key in allKeys) {
|
|
1046
1095
|
var checker = shapeTypes[key];
|
|
1096
|
+
if (has$1(shapeTypes, key) && typeof checker !== 'function') {
|
|
1097
|
+
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
1098
|
+
}
|
|
1047
1099
|
if (!checker) {
|
|
1048
1100
|
return new PropTypeError(
|
|
1049
1101
|
'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
|
|
1050
1102
|
'\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
|
|
1051
|
-
'\nValid keys: ' +
|
|
1103
|
+
'\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
|
|
1052
1104
|
);
|
|
1053
1105
|
}
|
|
1054
|
-
var error = checker(propValue, key, componentName, location, propFullName + '.' + key,
|
|
1106
|
+
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret$1);
|
|
1055
1107
|
if (error) {
|
|
1056
1108
|
return error;
|
|
1057
1109
|
}
|
|
@@ -1193,8 +1245,8 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
1193
1245
|
return propValue.constructor.name;
|
|
1194
1246
|
}
|
|
1195
1247
|
|
|
1196
|
-
ReactPropTypes.checkPropTypes =
|
|
1197
|
-
ReactPropTypes.resetWarningCache =
|
|
1248
|
+
ReactPropTypes.checkPropTypes = checkPropTypes;
|
|
1249
|
+
ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
|
|
1198
1250
|
ReactPropTypes.PropTypes = ReactPropTypes;
|
|
1199
1251
|
|
|
1200
1252
|
return ReactPropTypes;
|
|
@@ -1206,7 +1258,7 @@ emptyFunctionWithReset.resetWarningCache = emptyFunction;
|
|
|
1206
1258
|
|
|
1207
1259
|
var factoryWithThrowingShims = function() {
|
|
1208
1260
|
function shim(props, propName, componentName, location, propFullName, secret) {
|
|
1209
|
-
if (secret ===
|
|
1261
|
+
if (secret === ReactPropTypesSecret$1) {
|
|
1210
1262
|
// It is still safe when called from React.
|
|
1211
1263
|
return;
|
|
1212
1264
|
}
|
|
@@ -1224,6 +1276,7 @@ var factoryWithThrowingShims = function() {
|
|
|
1224
1276
|
// Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
|
|
1225
1277
|
var ReactPropTypes = {
|
|
1226
1278
|
array: shim,
|
|
1279
|
+
bigint: shim,
|
|
1227
1280
|
bool: shim,
|
|
1228
1281
|
func: shim,
|
|
1229
1282
|
number: shim,
|
|
@@ -1252,6 +1305,10 @@ var factoryWithThrowingShims = function() {
|
|
|
1252
1305
|
return ReactPropTypes;
|
|
1253
1306
|
};
|
|
1254
1307
|
|
|
1308
|
+
var require$$1 = factoryWithTypeCheckers;
|
|
1309
|
+
|
|
1310
|
+
var require$$2 = factoryWithThrowingShims;
|
|
1311
|
+
|
|
1255
1312
|
var propTypes = createCommonjsModule(function (module) {
|
|
1256
1313
|
/**
|
|
1257
1314
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
@@ -1266,14 +1323,16 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1266
1323
|
// By explicitly using `prop-types` you are opting into new development behavior.
|
|
1267
1324
|
// http://fb.me/prop-types-in-prod
|
|
1268
1325
|
var throwOnDirectAccess = true;
|
|
1269
|
-
module.exports =
|
|
1326
|
+
module.exports = require$$1(ReactIs.isElement, throwOnDirectAccess);
|
|
1270
1327
|
} else {
|
|
1271
1328
|
// By explicitly using `prop-types` you are opting into new production behavior.
|
|
1272
1329
|
// http://fb.me/prop-types-in-prod
|
|
1273
|
-
module.exports =
|
|
1330
|
+
module.exports = require$$2();
|
|
1274
1331
|
}
|
|
1275
1332
|
});
|
|
1276
1333
|
|
|
1334
|
+
var PropTypes = propTypes;
|
|
1335
|
+
|
|
1277
1336
|
var AtActionSheetBody = /** @class */ (function (_super) {
|
|
1278
1337
|
__extends(AtActionSheetBody, _super);
|
|
1279
1338
|
function AtActionSheetBody() {
|
|
@@ -1309,7 +1368,7 @@ var AtActionSheetFooter = /** @class */ (function (_super) {
|
|
|
1309
1368
|
return AtActionSheetFooter;
|
|
1310
1369
|
}(React__default["default"].Component));
|
|
1311
1370
|
AtActionSheetFooter.propTypes = {
|
|
1312
|
-
onClick:
|
|
1371
|
+
onClick: PropTypes.func
|
|
1313
1372
|
};
|
|
1314
1373
|
|
|
1315
1374
|
var AtActionSheetHeader = /** @class */ (function (_super) {
|
|
@@ -1384,11 +1443,11 @@ AtActionSheet.defaultProps = {
|
|
|
1384
1443
|
isOpened: false
|
|
1385
1444
|
};
|
|
1386
1445
|
AtActionSheet.propTypes = {
|
|
1387
|
-
title:
|
|
1388
|
-
onClose:
|
|
1389
|
-
onCancel:
|
|
1390
|
-
isOpened:
|
|
1391
|
-
cancelText:
|
|
1446
|
+
title: PropTypes.string,
|
|
1447
|
+
onClose: PropTypes.func,
|
|
1448
|
+
onCancel: PropTypes.func,
|
|
1449
|
+
isOpened: PropTypes.bool.isRequired,
|
|
1450
|
+
cancelText: PropTypes.string
|
|
1392
1451
|
};
|
|
1393
1452
|
|
|
1394
1453
|
var AtActionSheetItem = /** @class */ (function (_super) {
|
|
@@ -1409,7 +1468,7 @@ var AtActionSheetItem = /** @class */ (function (_super) {
|
|
|
1409
1468
|
return AtActionSheetItem;
|
|
1410
1469
|
}(React__default["default"].Component));
|
|
1411
1470
|
AtActionSheetItem.propTypes = {
|
|
1412
|
-
onClick:
|
|
1471
|
+
onClick: PropTypes.func
|
|
1413
1472
|
};
|
|
1414
1473
|
|
|
1415
1474
|
var ENV$4 = Taro__default["default"].getEnv();
|
|
@@ -1636,8 +1695,8 @@ AtLoading.defaultProps = {
|
|
|
1636
1695
|
color: ''
|
|
1637
1696
|
};
|
|
1638
1697
|
AtLoading.propTypes = {
|
|
1639
|
-
size:
|
|
1640
|
-
color:
|
|
1698
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
1699
|
+
color: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
1641
1700
|
};
|
|
1642
1701
|
|
|
1643
1702
|
var AtActivityIndicator = /** @class */ (function (_super) {
|
|
@@ -1667,12 +1726,12 @@ AtActivityIndicator.defaultProps = {
|
|
|
1667
1726
|
isOpened: true
|
|
1668
1727
|
};
|
|
1669
1728
|
AtActivityIndicator.propTypes = {
|
|
1670
|
-
size:
|
|
1671
|
-
mode:
|
|
1672
|
-
color:
|
|
1673
|
-
content:
|
|
1674
|
-
className:
|
|
1675
|
-
isOpened:
|
|
1729
|
+
size: PropTypes.number,
|
|
1730
|
+
mode: PropTypes.string,
|
|
1731
|
+
color: PropTypes.string,
|
|
1732
|
+
content: PropTypes.string,
|
|
1733
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
1734
|
+
isOpened: PropTypes.bool
|
|
1676
1735
|
};
|
|
1677
1736
|
|
|
1678
1737
|
var SIZE_CLASS$2 = {
|
|
@@ -1702,8 +1761,13 @@ var AtAvatar = /** @class */ (function (_super) {
|
|
|
1702
1761
|
if (text)
|
|
1703
1762
|
letter = text[0];
|
|
1704
1763
|
var elem;
|
|
1705
|
-
if (openData &&
|
|
1706
|
-
|
|
1764
|
+
if (openData &&
|
|
1765
|
+
openData.type === 'userAvatarUrl' &&
|
|
1766
|
+
this.state.isWEAPP &&
|
|
1767
|
+
Taro__default["default"].canIUse('open-data')) {
|
|
1768
|
+
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
1769
|
+
var OpenData = require('@tarojs/components').OpenData;
|
|
1770
|
+
elem = React__default["default"].createElement(OpenData, { type: openData.type });
|
|
1707
1771
|
}
|
|
1708
1772
|
else if (image) {
|
|
1709
1773
|
elem = React__default["default"].createElement(components.Image, { className: 'at-avatar__img', src: image });
|
|
@@ -1724,13 +1788,13 @@ AtAvatar.defaultProps = {
|
|
|
1724
1788
|
className: ''
|
|
1725
1789
|
};
|
|
1726
1790
|
AtAvatar.propTypes = {
|
|
1727
|
-
size:
|
|
1728
|
-
circle:
|
|
1729
|
-
text:
|
|
1730
|
-
image:
|
|
1731
|
-
openData:
|
|
1732
|
-
customStyle:
|
|
1733
|
-
className:
|
|
1791
|
+
size: PropTypes.oneOf(['large', 'normal', 'small']),
|
|
1792
|
+
circle: PropTypes.bool,
|
|
1793
|
+
text: PropTypes.string,
|
|
1794
|
+
image: PropTypes.string,
|
|
1795
|
+
openData: PropTypes.object,
|
|
1796
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
1797
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string])
|
|
1734
1798
|
};
|
|
1735
1799
|
|
|
1736
1800
|
var AtBadge = /** @class */ (function (_super) {
|
|
@@ -1767,11 +1831,11 @@ AtBadge.defaultProps = {
|
|
|
1767
1831
|
className: ''
|
|
1768
1832
|
};
|
|
1769
1833
|
AtBadge.propTypes = {
|
|
1770
|
-
dot:
|
|
1771
|
-
value:
|
|
1772
|
-
maxValue:
|
|
1773
|
-
customStyle:
|
|
1774
|
-
className:
|
|
1834
|
+
dot: PropTypes.bool,
|
|
1835
|
+
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
1836
|
+
maxValue: PropTypes.number,
|
|
1837
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
1838
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string])
|
|
1775
1839
|
};
|
|
1776
1840
|
|
|
1777
1841
|
var SIZE_CLASS$1 = {
|
|
@@ -1861,16 +1925,16 @@ AtButton.defaultProps = {
|
|
|
1861
1925
|
appParameter: ''
|
|
1862
1926
|
};
|
|
1863
1927
|
AtButton.propTypes = {
|
|
1864
|
-
size:
|
|
1865
|
-
type:
|
|
1866
|
-
circle:
|
|
1867
|
-
full:
|
|
1868
|
-
loading:
|
|
1869
|
-
disabled:
|
|
1870
|
-
onClick:
|
|
1871
|
-
customStyle:
|
|
1872
|
-
formType:
|
|
1873
|
-
openType:
|
|
1928
|
+
size: PropTypes.oneOf(['normal', 'small']),
|
|
1929
|
+
type: PropTypes.oneOf(['primary', 'secondary', '']),
|
|
1930
|
+
circle: PropTypes.bool,
|
|
1931
|
+
full: PropTypes.bool,
|
|
1932
|
+
loading: PropTypes.bool,
|
|
1933
|
+
disabled: PropTypes.bool,
|
|
1934
|
+
onClick: PropTypes.func,
|
|
1935
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
1936
|
+
formType: PropTypes.oneOf(['submit', 'reset', '']),
|
|
1937
|
+
openType: PropTypes.oneOf([
|
|
1874
1938
|
'contact',
|
|
1875
1939
|
'share',
|
|
1876
1940
|
'getUserInfo',
|
|
@@ -1883,18 +1947,18 @@ AtButton.propTypes = {
|
|
|
1883
1947
|
'contactShare',
|
|
1884
1948
|
''
|
|
1885
1949
|
]),
|
|
1886
|
-
lang:
|
|
1887
|
-
sessionFrom:
|
|
1888
|
-
sendMessageTitle:
|
|
1889
|
-
sendMessagePath:
|
|
1890
|
-
sendMessageImg:
|
|
1891
|
-
showMessageCard:
|
|
1892
|
-
appParameter:
|
|
1893
|
-
onGetUserInfo:
|
|
1894
|
-
onContact:
|
|
1895
|
-
onGetPhoneNumber:
|
|
1896
|
-
onError:
|
|
1897
|
-
onOpenSetting:
|
|
1950
|
+
lang: PropTypes.string,
|
|
1951
|
+
sessionFrom: PropTypes.string,
|
|
1952
|
+
sendMessageTitle: PropTypes.string,
|
|
1953
|
+
sendMessagePath: PropTypes.string,
|
|
1954
|
+
sendMessageImg: PropTypes.string,
|
|
1955
|
+
showMessageCard: PropTypes.bool,
|
|
1956
|
+
appParameter: PropTypes.string,
|
|
1957
|
+
onGetUserInfo: PropTypes.func,
|
|
1958
|
+
onContact: PropTypes.func,
|
|
1959
|
+
onGetPhoneNumber: PropTypes.func,
|
|
1960
|
+
onError: PropTypes.func,
|
|
1961
|
+
onOpenSetting: PropTypes.func
|
|
1898
1962
|
};
|
|
1899
1963
|
|
|
1900
1964
|
var AtCard = /** @class */ (function (_super) {
|
|
@@ -1946,15 +2010,15 @@ AtCard.defaultProps = {
|
|
|
1946
2010
|
extraStyle: {}
|
|
1947
2011
|
};
|
|
1948
2012
|
AtCard.propTypes = {
|
|
1949
|
-
note:
|
|
1950
|
-
isFull:
|
|
1951
|
-
thumb:
|
|
1952
|
-
title:
|
|
1953
|
-
extra:
|
|
1954
|
-
icon:
|
|
1955
|
-
onClick:
|
|
1956
|
-
renderIcon:
|
|
1957
|
-
extraStyle:
|
|
2013
|
+
note: PropTypes.string,
|
|
2014
|
+
isFull: PropTypes.bool,
|
|
2015
|
+
thumb: PropTypes.string,
|
|
2016
|
+
title: PropTypes.string,
|
|
2017
|
+
extra: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
2018
|
+
icon: PropTypes.object,
|
|
2019
|
+
onClick: PropTypes.func,
|
|
2020
|
+
renderIcon: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
2021
|
+
extraStyle: PropTypes.object // 自定义extra样式
|
|
1958
2022
|
};
|
|
1959
2023
|
|
|
1960
2024
|
var AtCheckbox = /** @class */ (function (_super) {
|
|
@@ -2007,11 +2071,11 @@ AtCheckbox.defaultProps = {
|
|
|
2007
2071
|
onChange: function () { }
|
|
2008
2072
|
};
|
|
2009
2073
|
AtCheckbox.propTypes = {
|
|
2010
|
-
customStyle:
|
|
2011
|
-
className:
|
|
2012
|
-
options:
|
|
2013
|
-
selectedList:
|
|
2014
|
-
onChange:
|
|
2074
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
2075
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
2076
|
+
options: PropTypes.array,
|
|
2077
|
+
selectedList: PropTypes.array,
|
|
2078
|
+
onChange: PropTypes.func
|
|
2015
2079
|
};
|
|
2016
2080
|
|
|
2017
2081
|
var AtList = /** @class */ (function (_super) {
|
|
@@ -2031,7 +2095,7 @@ AtList.defaultProps = {
|
|
|
2031
2095
|
hasBorder: true
|
|
2032
2096
|
};
|
|
2033
2097
|
AtList.propTypes = {
|
|
2034
|
-
hasBorder:
|
|
2098
|
+
hasBorder: PropTypes.bool
|
|
2035
2099
|
};
|
|
2036
2100
|
|
|
2037
2101
|
var AtListItem = /** @class */ (function (_super) {
|
|
@@ -2115,26 +2179,26 @@ AtListItem.defaultProps = {
|
|
|
2115
2179
|
iconInfo: { value: '' }
|
|
2116
2180
|
};
|
|
2117
2181
|
AtListItem.propTypes = {
|
|
2118
|
-
note:
|
|
2119
|
-
disabled:
|
|
2120
|
-
title:
|
|
2121
|
-
thumb:
|
|
2122
|
-
onClick:
|
|
2123
|
-
isSwitch:
|
|
2124
|
-
hasBorder:
|
|
2125
|
-
switchColor:
|
|
2126
|
-
switchIsCheck:
|
|
2127
|
-
extraText:
|
|
2128
|
-
extraThumb:
|
|
2129
|
-
onSwitchChange:
|
|
2130
|
-
arrow:
|
|
2131
|
-
iconInfo:
|
|
2132
|
-
size:
|
|
2133
|
-
value:
|
|
2134
|
-
color:
|
|
2135
|
-
prefixClass:
|
|
2136
|
-
customStyle:
|
|
2137
|
-
className:
|
|
2182
|
+
note: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
2183
|
+
disabled: PropTypes.bool,
|
|
2184
|
+
title: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
2185
|
+
thumb: PropTypes.string,
|
|
2186
|
+
onClick: PropTypes.func,
|
|
2187
|
+
isSwitch: PropTypes.bool,
|
|
2188
|
+
hasBorder: PropTypes.bool,
|
|
2189
|
+
switchColor: PropTypes.string,
|
|
2190
|
+
switchIsCheck: PropTypes.bool,
|
|
2191
|
+
extraText: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
2192
|
+
extraThumb: PropTypes.string,
|
|
2193
|
+
onSwitchChange: PropTypes.func,
|
|
2194
|
+
arrow: PropTypes.oneOf(['up', 'down', 'right']),
|
|
2195
|
+
iconInfo: PropTypes.shape({
|
|
2196
|
+
size: PropTypes.number,
|
|
2197
|
+
value: PropTypes.string,
|
|
2198
|
+
color: PropTypes.string,
|
|
2199
|
+
prefixClass: PropTypes.string,
|
|
2200
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
2201
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string])
|
|
2138
2202
|
})
|
|
2139
2203
|
};
|
|
2140
2204
|
|
|
@@ -2224,12 +2288,12 @@ AtDrawer.defaultProps = {
|
|
|
2224
2288
|
items: []
|
|
2225
2289
|
};
|
|
2226
2290
|
AtDrawer.propTypes = {
|
|
2227
|
-
show:
|
|
2228
|
-
mask:
|
|
2229
|
-
width:
|
|
2230
|
-
items:
|
|
2231
|
-
onItemClick:
|
|
2232
|
-
onClose:
|
|
2291
|
+
show: PropTypes.bool,
|
|
2292
|
+
mask: PropTypes.bool,
|
|
2293
|
+
width: PropTypes.string,
|
|
2294
|
+
items: PropTypes.arrayOf(PropTypes.string),
|
|
2295
|
+
onItemClick: PropTypes.func,
|
|
2296
|
+
onClose: PropTypes.func
|
|
2233
2297
|
};
|
|
2234
2298
|
|
|
2235
2299
|
var AtFloatLayout = /** @class */ (function (_super) {
|
|
@@ -2291,19 +2355,19 @@ AtFloatLayout.defaultProps = {
|
|
|
2291
2355
|
scrollWithAnimation: false
|
|
2292
2356
|
};
|
|
2293
2357
|
AtFloatLayout.propTypes = {
|
|
2294
|
-
title:
|
|
2295
|
-
isOpened:
|
|
2296
|
-
scrollY:
|
|
2297
|
-
scrollX:
|
|
2298
|
-
scrollTop:
|
|
2299
|
-
scrollLeft:
|
|
2300
|
-
upperThreshold:
|
|
2301
|
-
lowerThreshold:
|
|
2302
|
-
scrollWithAnimation:
|
|
2303
|
-
onClose:
|
|
2304
|
-
onScroll:
|
|
2305
|
-
onScrollToLower:
|
|
2306
|
-
onScrollToUpper:
|
|
2358
|
+
title: PropTypes.string,
|
|
2359
|
+
isOpened: PropTypes.bool,
|
|
2360
|
+
scrollY: PropTypes.bool,
|
|
2361
|
+
scrollX: PropTypes.bool,
|
|
2362
|
+
scrollTop: PropTypes.number,
|
|
2363
|
+
scrollLeft: PropTypes.number,
|
|
2364
|
+
upperThreshold: PropTypes.number,
|
|
2365
|
+
lowerThreshold: PropTypes.number,
|
|
2366
|
+
scrollWithAnimation: PropTypes.bool,
|
|
2367
|
+
onClose: PropTypes.func,
|
|
2368
|
+
onScroll: PropTypes.func,
|
|
2369
|
+
onScrollToLower: PropTypes.func,
|
|
2370
|
+
onScrollToUpper: PropTypes.func
|
|
2307
2371
|
};
|
|
2308
2372
|
|
|
2309
2373
|
var AtForm = /** @class */ (function (_super) {
|
|
@@ -2330,11 +2394,11 @@ AtForm.defaultProps = {
|
|
|
2330
2394
|
reportSubmit: false
|
|
2331
2395
|
};
|
|
2332
2396
|
AtForm.propTypes = {
|
|
2333
|
-
customStyle:
|
|
2334
|
-
className:
|
|
2335
|
-
reportSubmit:
|
|
2336
|
-
onSubmit:
|
|
2337
|
-
onReset:
|
|
2397
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
2398
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
2399
|
+
reportSubmit: PropTypes.bool,
|
|
2400
|
+
onSubmit: PropTypes.func,
|
|
2401
|
+
onReset: PropTypes.func
|
|
2338
2402
|
};
|
|
2339
2403
|
|
|
2340
2404
|
/**
|
|
@@ -2704,6 +2768,44 @@ function isIterateeCall(value, index, object) {
|
|
|
2704
2768
|
|
|
2705
2769
|
var _isIterateeCall = isIterateeCall;
|
|
2706
2770
|
|
|
2771
|
+
/** Used to match a single whitespace character. */
|
|
2772
|
+
var reWhitespace = /\s/;
|
|
2773
|
+
|
|
2774
|
+
/**
|
|
2775
|
+
* Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace
|
|
2776
|
+
* character of `string`.
|
|
2777
|
+
*
|
|
2778
|
+
* @private
|
|
2779
|
+
* @param {string} string The string to inspect.
|
|
2780
|
+
* @returns {number} Returns the index of the last non-whitespace character.
|
|
2781
|
+
*/
|
|
2782
|
+
function trimmedEndIndex(string) {
|
|
2783
|
+
var index = string.length;
|
|
2784
|
+
|
|
2785
|
+
while (index-- && reWhitespace.test(string.charAt(index))) {}
|
|
2786
|
+
return index;
|
|
2787
|
+
}
|
|
2788
|
+
|
|
2789
|
+
var _trimmedEndIndex = trimmedEndIndex;
|
|
2790
|
+
|
|
2791
|
+
/** Used to match leading whitespace. */
|
|
2792
|
+
var reTrimStart = /^\s+/;
|
|
2793
|
+
|
|
2794
|
+
/**
|
|
2795
|
+
* The base implementation of `_.trim`.
|
|
2796
|
+
*
|
|
2797
|
+
* @private
|
|
2798
|
+
* @param {string} string The string to trim.
|
|
2799
|
+
* @returns {string} Returns the trimmed string.
|
|
2800
|
+
*/
|
|
2801
|
+
function baseTrim(string) {
|
|
2802
|
+
return string
|
|
2803
|
+
? string.slice(0, _trimmedEndIndex(string) + 1).replace(reTrimStart, '')
|
|
2804
|
+
: string;
|
|
2805
|
+
}
|
|
2806
|
+
|
|
2807
|
+
var _baseTrim = baseTrim;
|
|
2808
|
+
|
|
2707
2809
|
/**
|
|
2708
2810
|
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
|
2709
2811
|
* and has a `typeof` result of "object".
|
|
@@ -2764,9 +2866,6 @@ var isSymbol_1 = isSymbol;
|
|
|
2764
2866
|
/** Used as references for various `Number` constants. */
|
|
2765
2867
|
var NAN = 0 / 0;
|
|
2766
2868
|
|
|
2767
|
-
/** Used to match leading and trailing whitespace. */
|
|
2768
|
-
var reTrim = /^\s+|\s+$/g;
|
|
2769
|
-
|
|
2770
2869
|
/** Used to detect bad signed hexadecimal string values. */
|
|
2771
2870
|
var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
|
|
2772
2871
|
|
|
@@ -2816,7 +2915,7 @@ function toNumber(value) {
|
|
|
2816
2915
|
if (typeof value != 'string') {
|
|
2817
2916
|
return value === 0 ? value : +value;
|
|
2818
2917
|
}
|
|
2819
|
-
value = value
|
|
2918
|
+
value = _baseTrim(value);
|
|
2820
2919
|
var isBinary = reIsBinary.test(value);
|
|
2821
2920
|
return (isBinary || reIsOctal.test(value))
|
|
2822
2921
|
? freeParseInt(value.slice(2), isBinary ? 2 : 8)
|
|
@@ -3002,20 +3101,20 @@ AtGrid.defaultProps = {
|
|
|
3002
3101
|
hasBorder: true
|
|
3003
3102
|
};
|
|
3004
3103
|
AtGrid.propTypes = {
|
|
3005
|
-
mode:
|
|
3006
|
-
onClick:
|
|
3007
|
-
hasBorder:
|
|
3008
|
-
columnNum:
|
|
3009
|
-
data:
|
|
3010
|
-
image:
|
|
3011
|
-
value:
|
|
3012
|
-
iconInfo:
|
|
3013
|
-
size:
|
|
3014
|
-
value:
|
|
3015
|
-
color:
|
|
3016
|
-
prefixClass:
|
|
3017
|
-
customStyle:
|
|
3018
|
-
className:
|
|
3104
|
+
mode: PropTypes.string,
|
|
3105
|
+
onClick: PropTypes.func,
|
|
3106
|
+
hasBorder: PropTypes.bool,
|
|
3107
|
+
columnNum: PropTypes.number,
|
|
3108
|
+
data: PropTypes.arrayOf(PropTypes.shape({
|
|
3109
|
+
image: PropTypes.string,
|
|
3110
|
+
value: PropTypes.string,
|
|
3111
|
+
iconInfo: PropTypes.shape({
|
|
3112
|
+
size: PropTypes.number,
|
|
3113
|
+
value: PropTypes.string,
|
|
3114
|
+
color: PropTypes.string,
|
|
3115
|
+
prefixClass: PropTypes.string,
|
|
3116
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
3117
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string])
|
|
3019
3118
|
})
|
|
3020
3119
|
}))
|
|
3021
3120
|
};
|
|
@@ -3048,13 +3147,13 @@ AtIcon.defaultProps = {
|
|
|
3048
3147
|
size: 24
|
|
3049
3148
|
};
|
|
3050
3149
|
AtIcon.propTypes = {
|
|
3051
|
-
customStyle:
|
|
3052
|
-
className:
|
|
3053
|
-
prefixClass:
|
|
3054
|
-
value:
|
|
3055
|
-
color:
|
|
3056
|
-
size:
|
|
3057
|
-
onClick:
|
|
3150
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
3151
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
3152
|
+
prefixClass: PropTypes.string,
|
|
3153
|
+
value: PropTypes.string,
|
|
3154
|
+
color: PropTypes.string,
|
|
3155
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
3156
|
+
onClick: PropTypes.func
|
|
3058
3157
|
};
|
|
3059
3158
|
|
|
3060
3159
|
function getInputProps(props) {
|
|
@@ -3189,37 +3288,37 @@ AtInput.defaultProps = {
|
|
|
3189
3288
|
onChange: function () { }
|
|
3190
3289
|
};
|
|
3191
3290
|
AtInput.propTypes = {
|
|
3192
|
-
className:
|
|
3193
|
-
customStyle:
|
|
3194
|
-
value:
|
|
3195
|
-
name:
|
|
3196
|
-
placeholder:
|
|
3197
|
-
placeholderStyle:
|
|
3198
|
-
placeholderClass:
|
|
3199
|
-
title:
|
|
3200
|
-
confirmType:
|
|
3201
|
-
cursor:
|
|
3202
|
-
selectionStart:
|
|
3203
|
-
selectionEnd:
|
|
3204
|
-
adjustPosition:
|
|
3205
|
-
cursorSpacing:
|
|
3206
|
-
maxlength:
|
|
3207
|
-
maxLength:
|
|
3208
|
-
type:
|
|
3209
|
-
disabled:
|
|
3210
|
-
border:
|
|
3211
|
-
editable:
|
|
3212
|
-
error:
|
|
3213
|
-
clear:
|
|
3214
|
-
autoFocus:
|
|
3215
|
-
focus:
|
|
3216
|
-
onChange:
|
|
3217
|
-
onFocus:
|
|
3218
|
-
onBlur:
|
|
3219
|
-
onConfirm:
|
|
3220
|
-
onErrorClick:
|
|
3221
|
-
onClick:
|
|
3222
|
-
required:
|
|
3291
|
+
className: PropTypes.oneOfType([PropTypes.string, PropTypes.array]),
|
|
3292
|
+
customStyle: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
|
|
3293
|
+
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
3294
|
+
name: PropTypes.string,
|
|
3295
|
+
placeholder: PropTypes.string,
|
|
3296
|
+
placeholderStyle: PropTypes.string,
|
|
3297
|
+
placeholderClass: PropTypes.string,
|
|
3298
|
+
title: PropTypes.string,
|
|
3299
|
+
confirmType: PropTypes.string,
|
|
3300
|
+
cursor: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
3301
|
+
selectionStart: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
3302
|
+
selectionEnd: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
3303
|
+
adjustPosition: PropTypes.bool,
|
|
3304
|
+
cursorSpacing: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
3305
|
+
maxlength: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
3306
|
+
maxLength: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
3307
|
+
type: PropTypes.string,
|
|
3308
|
+
disabled: PropTypes.bool,
|
|
3309
|
+
border: PropTypes.bool,
|
|
3310
|
+
editable: PropTypes.bool,
|
|
3311
|
+
error: PropTypes.bool,
|
|
3312
|
+
clear: PropTypes.bool,
|
|
3313
|
+
autoFocus: PropTypes.bool,
|
|
3314
|
+
focus: PropTypes.bool,
|
|
3315
|
+
onChange: PropTypes.func,
|
|
3316
|
+
onFocus: PropTypes.func,
|
|
3317
|
+
onBlur: PropTypes.func,
|
|
3318
|
+
onConfirm: PropTypes.func,
|
|
3319
|
+
onErrorClick: PropTypes.func,
|
|
3320
|
+
onClick: PropTypes.func,
|
|
3321
|
+
required: PropTypes.bool
|
|
3223
3322
|
};
|
|
3224
3323
|
|
|
3225
3324
|
/**
|
|
@@ -3479,20 +3578,20 @@ AtInputNumber.defaultProps = {
|
|
|
3479
3578
|
onChange: function () { }
|
|
3480
3579
|
};
|
|
3481
3580
|
AtInputNumber.propTypes = {
|
|
3482
|
-
customStyle:
|
|
3483
|
-
className:
|
|
3484
|
-
value:
|
|
3485
|
-
type:
|
|
3486
|
-
disabled:
|
|
3487
|
-
width:
|
|
3488
|
-
min:
|
|
3489
|
-
max:
|
|
3490
|
-
step:
|
|
3491
|
-
size:
|
|
3492
|
-
disabledInput:
|
|
3493
|
-
onChange:
|
|
3494
|
-
onBlur:
|
|
3495
|
-
onErrorInput:
|
|
3581
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
3582
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
3583
|
+
value: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
3584
|
+
type: PropTypes.oneOf(['number', 'digit']),
|
|
3585
|
+
disabled: PropTypes.bool,
|
|
3586
|
+
width: PropTypes.number,
|
|
3587
|
+
min: PropTypes.number,
|
|
3588
|
+
max: PropTypes.number,
|
|
3589
|
+
step: PropTypes.number,
|
|
3590
|
+
size: PropTypes.oneOf(['normal', 'large']),
|
|
3591
|
+
disabledInput: PropTypes.bool,
|
|
3592
|
+
onChange: PropTypes.func,
|
|
3593
|
+
onBlur: PropTypes.func,
|
|
3594
|
+
onErrorInput: PropTypes.func
|
|
3496
3595
|
};
|
|
3497
3596
|
|
|
3498
3597
|
var AtModalAction = /** @class */ (function (_super) {
|
|
@@ -3513,7 +3612,7 @@ AtModalAction.defaultProps = {
|
|
|
3513
3612
|
isSimple: false
|
|
3514
3613
|
};
|
|
3515
3614
|
AtModalAction.propTypes = {
|
|
3516
|
-
isSimple:
|
|
3615
|
+
isSimple: PropTypes.bool
|
|
3517
3616
|
};
|
|
3518
3617
|
|
|
3519
3618
|
var AtModalContent = /** @class */ (function (_super) {
|
|
@@ -3620,15 +3719,15 @@ AtModal.defaultProps = {
|
|
|
3620
3719
|
closeOnClickOverlay: true
|
|
3621
3720
|
};
|
|
3622
3721
|
AtModal.propTypes = {
|
|
3623
|
-
title:
|
|
3624
|
-
isOpened:
|
|
3625
|
-
onCancel:
|
|
3626
|
-
onConfirm:
|
|
3627
|
-
onClose:
|
|
3628
|
-
content:
|
|
3629
|
-
closeOnClickOverlay:
|
|
3630
|
-
cancelText:
|
|
3631
|
-
confirmText:
|
|
3722
|
+
title: PropTypes.string,
|
|
3723
|
+
isOpened: PropTypes.bool,
|
|
3724
|
+
onCancel: PropTypes.func,
|
|
3725
|
+
onConfirm: PropTypes.func,
|
|
3726
|
+
onClose: PropTypes.func,
|
|
3727
|
+
content: PropTypes.string,
|
|
3728
|
+
closeOnClickOverlay: PropTypes.bool,
|
|
3729
|
+
cancelText: PropTypes.string,
|
|
3730
|
+
confirmText: PropTypes.string
|
|
3632
3731
|
};
|
|
3633
3732
|
|
|
3634
3733
|
var AtNavBar = /** @class */ (function (_super) {
|
|
@@ -3718,23 +3817,23 @@ AtNavBar.defaultProps = {
|
|
|
3718
3817
|
rightSecondIconType: ''
|
|
3719
3818
|
};
|
|
3720
3819
|
AtNavBar.propTypes = {
|
|
3721
|
-
customStyle:
|
|
3722
|
-
className:
|
|
3723
|
-
fixed:
|
|
3724
|
-
border:
|
|
3725
|
-
color:
|
|
3726
|
-
leftIconType:
|
|
3727
|
-
leftText:
|
|
3728
|
-
title:
|
|
3729
|
-
rightFirstIconType:
|
|
3730
|
-
rightSecondIconType:
|
|
3731
|
-
|
|
3732
|
-
|
|
3820
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
3821
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
3822
|
+
fixed: PropTypes.bool,
|
|
3823
|
+
border: PropTypes.bool,
|
|
3824
|
+
color: PropTypes.string,
|
|
3825
|
+
leftIconType: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
|
|
3826
|
+
leftText: PropTypes.string,
|
|
3827
|
+
title: PropTypes.string,
|
|
3828
|
+
rightFirstIconType: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
|
|
3829
|
+
rightSecondIconType: PropTypes.oneOfType([
|
|
3830
|
+
PropTypes.string,
|
|
3831
|
+
PropTypes.object
|
|
3733
3832
|
]),
|
|
3734
|
-
onClickLeftIcon:
|
|
3735
|
-
onClickRgIconSt:
|
|
3736
|
-
onClickRgIconNd:
|
|
3737
|
-
onClickTitle:
|
|
3833
|
+
onClickLeftIcon: PropTypes.func,
|
|
3834
|
+
onClickRgIconSt: PropTypes.func,
|
|
3835
|
+
onClickRgIconNd: PropTypes.func,
|
|
3836
|
+
onClickTitle: PropTypes.func
|
|
3738
3837
|
};
|
|
3739
3838
|
|
|
3740
3839
|
var AtNoticebar = /** @class */ (function (_super) {
|
|
@@ -3887,16 +3986,16 @@ AtNoticebar.defaultProps = {
|
|
|
3887
3986
|
customStyle: {}
|
|
3888
3987
|
};
|
|
3889
3988
|
AtNoticebar.propTypes = {
|
|
3890
|
-
close:
|
|
3891
|
-
single:
|
|
3892
|
-
marquee:
|
|
3893
|
-
speed:
|
|
3894
|
-
moreText:
|
|
3895
|
-
showMore:
|
|
3896
|
-
icon:
|
|
3897
|
-
customStyle:
|
|
3898
|
-
onClose:
|
|
3899
|
-
onGotoMore:
|
|
3989
|
+
close: PropTypes.bool,
|
|
3990
|
+
single: PropTypes.bool,
|
|
3991
|
+
marquee: PropTypes.bool,
|
|
3992
|
+
speed: PropTypes.number,
|
|
3993
|
+
moreText: PropTypes.string,
|
|
3994
|
+
showMore: PropTypes.bool,
|
|
3995
|
+
icon: PropTypes.string,
|
|
3996
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
3997
|
+
onClose: PropTypes.func,
|
|
3998
|
+
onGotoMore: PropTypes.func
|
|
3900
3999
|
};
|
|
3901
4000
|
|
|
3902
4001
|
var MIN_MAXPAGE = 1;
|
|
@@ -4005,12 +4104,12 @@ AtPagination.defaultProps = {
|
|
|
4005
4104
|
customStyle: {}
|
|
4006
4105
|
};
|
|
4007
4106
|
AtPagination.propTypes = {
|
|
4008
|
-
current:
|
|
4009
|
-
total:
|
|
4010
|
-
pageSize:
|
|
4011
|
-
icon:
|
|
4012
|
-
customStyle:
|
|
4013
|
-
onPageChange:
|
|
4107
|
+
current: PropTypes.number,
|
|
4108
|
+
total: PropTypes.number,
|
|
4109
|
+
pageSize: PropTypes.number,
|
|
4110
|
+
icon: PropTypes.bool,
|
|
4111
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
4112
|
+
onPageChange: PropTypes.func
|
|
4014
4113
|
};
|
|
4015
4114
|
|
|
4016
4115
|
var AtProgress = /** @class */ (function (_super) {
|
|
@@ -4053,11 +4152,11 @@ var AtProgress = /** @class */ (function (_super) {
|
|
|
4053
4152
|
return AtProgress;
|
|
4054
4153
|
}(React__default["default"].Component));
|
|
4055
4154
|
AtProgress.propTypes = {
|
|
4056
|
-
color:
|
|
4057
|
-
status:
|
|
4058
|
-
percent:
|
|
4059
|
-
strokeWidth:
|
|
4060
|
-
isHidePercent:
|
|
4155
|
+
color: PropTypes.string,
|
|
4156
|
+
status: PropTypes.string,
|
|
4157
|
+
percent: PropTypes.number,
|
|
4158
|
+
strokeWidth: PropTypes.number,
|
|
4159
|
+
isHidePercent: PropTypes.bool
|
|
4061
4160
|
};
|
|
4062
4161
|
|
|
4063
4162
|
var AtRadio = /** @class */ (function (_super) {
|
|
@@ -4098,11 +4197,11 @@ AtRadio.defaultProps = {
|
|
|
4098
4197
|
onClick: function () { }
|
|
4099
4198
|
};
|
|
4100
4199
|
AtRadio.propTypes = {
|
|
4101
|
-
customStyle:
|
|
4102
|
-
className:
|
|
4103
|
-
value:
|
|
4104
|
-
options:
|
|
4105
|
-
onClick:
|
|
4200
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
4201
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
4202
|
+
value: PropTypes.string,
|
|
4203
|
+
options: PropTypes.array,
|
|
4204
|
+
onClick: PropTypes.func
|
|
4106
4205
|
};
|
|
4107
4206
|
|
|
4108
4207
|
var AtRate = /** @class */ (function (_super) {
|
|
@@ -4153,13 +4252,13 @@ AtRate.defaultProps = {
|
|
|
4153
4252
|
margin: 5
|
|
4154
4253
|
};
|
|
4155
4254
|
AtRate.propTypes = {
|
|
4156
|
-
customStyle:
|
|
4157
|
-
className:
|
|
4158
|
-
size:
|
|
4159
|
-
value:
|
|
4160
|
-
max:
|
|
4161
|
-
margin:
|
|
4162
|
-
onChange:
|
|
4255
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
4256
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
4257
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
4258
|
+
value: PropTypes.number,
|
|
4259
|
+
max: PropTypes.number,
|
|
4260
|
+
margin: PropTypes.number,
|
|
4261
|
+
onChange: PropTypes.func
|
|
4163
4262
|
};
|
|
4164
4263
|
|
|
4165
4264
|
var AtSegmentedControl = /** @class */ (function (_super) {
|
|
@@ -4212,14 +4311,14 @@ AtSegmentedControl.defaultProps = {
|
|
|
4212
4311
|
onClick: function () { }
|
|
4213
4312
|
};
|
|
4214
4313
|
AtSegmentedControl.propTypes = {
|
|
4215
|
-
customStyle:
|
|
4216
|
-
className:
|
|
4217
|
-
current:
|
|
4218
|
-
color:
|
|
4219
|
-
fontSize:
|
|
4220
|
-
disabled:
|
|
4221
|
-
values:
|
|
4222
|
-
onClick:
|
|
4314
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
4315
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
4316
|
+
current: PropTypes.number,
|
|
4317
|
+
color: PropTypes.string,
|
|
4318
|
+
fontSize: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
4319
|
+
disabled: PropTypes.bool,
|
|
4320
|
+
values: PropTypes.array,
|
|
4321
|
+
onClick: PropTypes.func
|
|
4223
4322
|
};
|
|
4224
4323
|
|
|
4225
4324
|
var AtSwitch = /** @class */ (function (_super) {
|
|
@@ -4259,14 +4358,14 @@ AtSwitch.defaultProps = {
|
|
|
4259
4358
|
checked: false
|
|
4260
4359
|
};
|
|
4261
4360
|
AtSwitch.propTypes = {
|
|
4262
|
-
customStyle:
|
|
4263
|
-
className:
|
|
4264
|
-
title:
|
|
4265
|
-
color:
|
|
4266
|
-
checked:
|
|
4267
|
-
border:
|
|
4268
|
-
disabled:
|
|
4269
|
-
onChange:
|
|
4361
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
4362
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
4363
|
+
title: PropTypes.string,
|
|
4364
|
+
color: PropTypes.string,
|
|
4365
|
+
checked: PropTypes.bool,
|
|
4366
|
+
border: PropTypes.bool,
|
|
4367
|
+
disabled: PropTypes.bool,
|
|
4368
|
+
onChange: PropTypes.func
|
|
4270
4369
|
};
|
|
4271
4370
|
|
|
4272
4371
|
var AtTabBar = /** @class */ (function (_super) {
|
|
@@ -4355,17 +4454,17 @@ AtTabBar.defaultProps = {
|
|
|
4355
4454
|
onClick: function () { }
|
|
4356
4455
|
};
|
|
4357
4456
|
AtTabBar.propTypes = {
|
|
4358
|
-
customStyle:
|
|
4359
|
-
className:
|
|
4360
|
-
fixed:
|
|
4361
|
-
backgroundColor:
|
|
4362
|
-
current:
|
|
4363
|
-
iconSize:
|
|
4364
|
-
fontSize:
|
|
4365
|
-
color:
|
|
4366
|
-
selectedColor:
|
|
4367
|
-
tabList:
|
|
4368
|
-
onClick:
|
|
4457
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
4458
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
4459
|
+
fixed: PropTypes.bool,
|
|
4460
|
+
backgroundColor: PropTypes.string,
|
|
4461
|
+
current: PropTypes.number,
|
|
4462
|
+
iconSize: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
4463
|
+
fontSize: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
4464
|
+
color: PropTypes.string,
|
|
4465
|
+
selectedColor: PropTypes.string,
|
|
4466
|
+
tabList: PropTypes.array,
|
|
4467
|
+
onClick: PropTypes.func
|
|
4369
4468
|
};
|
|
4370
4469
|
|
|
4371
4470
|
var ENV$3 = Taro__default["default"].getEnv();
|
|
@@ -4547,16 +4646,16 @@ AtTabs.defaultProps = {
|
|
|
4547
4646
|
onClick: function () { }
|
|
4548
4647
|
};
|
|
4549
4648
|
AtTabs.propTypes = {
|
|
4550
|
-
customStyle:
|
|
4551
|
-
className:
|
|
4552
|
-
height:
|
|
4553
|
-
tabDirection:
|
|
4554
|
-
current:
|
|
4555
|
-
swipeable:
|
|
4556
|
-
scroll:
|
|
4557
|
-
animated:
|
|
4558
|
-
tabList:
|
|
4559
|
-
onClick:
|
|
4649
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
4650
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
4651
|
+
height: PropTypes.string,
|
|
4652
|
+
tabDirection: PropTypes.oneOf(['horizontal', 'vertical']),
|
|
4653
|
+
current: PropTypes.number,
|
|
4654
|
+
swipeable: PropTypes.bool,
|
|
4655
|
+
scroll: PropTypes.bool,
|
|
4656
|
+
animated: PropTypes.bool,
|
|
4657
|
+
tabList: PropTypes.array,
|
|
4658
|
+
onClick: PropTypes.func
|
|
4560
4659
|
};
|
|
4561
4660
|
|
|
4562
4661
|
var AtTabsPane = /** @class */ (function (_super) {
|
|
@@ -4583,11 +4682,11 @@ AtTabsPane.defaultProps = {
|
|
|
4583
4682
|
current: 0
|
|
4584
4683
|
};
|
|
4585
4684
|
AtTabsPane.propTypes = {
|
|
4586
|
-
customStyle:
|
|
4587
|
-
className:
|
|
4588
|
-
tabDirection:
|
|
4589
|
-
index:
|
|
4590
|
-
current:
|
|
4685
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
4686
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
4687
|
+
tabDirection: PropTypes.oneOf(['horizontal', 'vertical']),
|
|
4688
|
+
index: PropTypes.number,
|
|
4689
|
+
current: PropTypes.number
|
|
4591
4690
|
};
|
|
4592
4691
|
|
|
4593
4692
|
var SIZE_CLASS = {
|
|
@@ -4637,14 +4736,14 @@ AtTag.defaultProps = {
|
|
|
4637
4736
|
customStyle: {}
|
|
4638
4737
|
};
|
|
4639
4738
|
AtTag.propTypes = {
|
|
4640
|
-
size:
|
|
4641
|
-
type:
|
|
4642
|
-
name:
|
|
4643
|
-
circle:
|
|
4644
|
-
active:
|
|
4645
|
-
disabled:
|
|
4646
|
-
customStyle:
|
|
4647
|
-
onClick:
|
|
4739
|
+
size: PropTypes.oneOf(['normal', 'small']),
|
|
4740
|
+
type: PropTypes.oneOf(['', 'primary']),
|
|
4741
|
+
name: PropTypes.string,
|
|
4742
|
+
circle: PropTypes.bool,
|
|
4743
|
+
active: PropTypes.bool,
|
|
4744
|
+
disabled: PropTypes.bool,
|
|
4745
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
4746
|
+
onClick: PropTypes.func
|
|
4648
4747
|
};
|
|
4649
4748
|
|
|
4650
4749
|
function getMaxLength(maxLength, textOverflowForbidden) {
|
|
@@ -4714,29 +4813,29 @@ AtTextarea.defaultProps = {
|
|
|
4714
4813
|
onChange: function () { }
|
|
4715
4814
|
};
|
|
4716
4815
|
AtTextarea.propTypes = {
|
|
4717
|
-
customStyle:
|
|
4718
|
-
className:
|
|
4719
|
-
value:
|
|
4720
|
-
cursorSpacing:
|
|
4721
|
-
maxLength:
|
|
4722
|
-
placeholderClass:
|
|
4723
|
-
placeholderStyle:
|
|
4724
|
-
placeholder:
|
|
4725
|
-
disabled:
|
|
4726
|
-
autoFocus:
|
|
4727
|
-
focus:
|
|
4728
|
-
showConfirmBar:
|
|
4729
|
-
selectionStart:
|
|
4730
|
-
selectionEnd:
|
|
4731
|
-
count:
|
|
4732
|
-
textOverflowForbidden:
|
|
4733
|
-
fixed:
|
|
4734
|
-
height:
|
|
4735
|
-
onLinechange:
|
|
4736
|
-
onChange:
|
|
4737
|
-
onFocus:
|
|
4738
|
-
onBlur:
|
|
4739
|
-
onConfirm:
|
|
4816
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
4817
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
4818
|
+
value: PropTypes.string.isRequired,
|
|
4819
|
+
cursorSpacing: PropTypes.number,
|
|
4820
|
+
maxLength: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
4821
|
+
placeholderClass: PropTypes.string,
|
|
4822
|
+
placeholderStyle: PropTypes.string,
|
|
4823
|
+
placeholder: PropTypes.string,
|
|
4824
|
+
disabled: PropTypes.bool,
|
|
4825
|
+
autoFocus: PropTypes.bool,
|
|
4826
|
+
focus: PropTypes.bool,
|
|
4827
|
+
showConfirmBar: PropTypes.bool,
|
|
4828
|
+
selectionStart: PropTypes.number,
|
|
4829
|
+
selectionEnd: PropTypes.number,
|
|
4830
|
+
count: PropTypes.bool,
|
|
4831
|
+
textOverflowForbidden: PropTypes.bool,
|
|
4832
|
+
fixed: PropTypes.bool,
|
|
4833
|
+
height: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
4834
|
+
onLinechange: PropTypes.func,
|
|
4835
|
+
onChange: PropTypes.func.isRequired,
|
|
4836
|
+
onFocus: PropTypes.func,
|
|
4837
|
+
onBlur: PropTypes.func,
|
|
4838
|
+
onConfirm: PropTypes.func
|
|
4740
4839
|
};
|
|
4741
4840
|
|
|
4742
4841
|
var AtTimeline = /** @class */ (function (_super) {
|
|
@@ -4790,9 +4889,9 @@ AtTimeline.defaultProps = {
|
|
|
4790
4889
|
customStyle: {}
|
|
4791
4890
|
};
|
|
4792
4891
|
AtTimeline.propTypes = {
|
|
4793
|
-
pending:
|
|
4794
|
-
items:
|
|
4795
|
-
customStyle:
|
|
4892
|
+
pending: PropTypes.bool,
|
|
4893
|
+
items: PropTypes.arrayOf(PropTypes.object),
|
|
4894
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string])
|
|
4796
4895
|
};
|
|
4797
4896
|
|
|
4798
4897
|
var error = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAGwtJREFUeAHtnUusndV1x7mAIYABG/MUYGzLBCUtFHcCtB3YZgISGaCodOQ4QGGSoJAgV5FiOTAALBowY6tFASoUmYyS0EoRYPEonUUKRETYKNhWEnCwFZvWEIzB/f3v/T773HPP2Wt/79da0v/uc85+rfVfa93vsff5zswpLpUwcPz48aUMvAKsTMpLKC8Ey0bKc3h9JjhjpOTlKUfBpyPlEV4fBAdGyv283gPeUzkzM/NnSpeSGZgpebzBDUciXITR1yW4NilXU54P6pTDTPYueBO8lZRvkjgf8tolJwOeIBmJIyGuoMs6sD7B8oxD1N18LxO+DHaqJGH+ULcCXZ7PE8TwXnKESBNC5ZeNLm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iY//CdwM/gr0lScdKX4DXgY7SIo3KF1GGOir40dMLPaSZNGmxnVgfYK6LvCLKT69ty60lRDCTpLiw+lNvcYTJGMMkDBX0GU0YZZnHKLu5rolO5oQv69bgS7P5wlS0HvJEeY6hklxLa91DXN+waGzdj9MB11DvAXeTOFHCJgoIJ4gBcgLdSVxtO1iBViZlJdSai1jdD1DK9Ba8xDSdQ9ezlsX0RrJ/4HR9RO9/gDsAe+pJBH+TOlSMgP/D3W7PKH+6NniAAAAAElFTkSuQmCC";
|
|
@@ -4911,15 +5010,15 @@ AtToast.defaultProps = {
|
|
|
4911
5010
|
isOpened: false
|
|
4912
5011
|
};
|
|
4913
5012
|
AtToast.propTypes = {
|
|
4914
|
-
text:
|
|
4915
|
-
icon:
|
|
4916
|
-
hasMask:
|
|
4917
|
-
image:
|
|
4918
|
-
isOpened:
|
|
4919
|
-
duration:
|
|
4920
|
-
status:
|
|
4921
|
-
onClick:
|
|
4922
|
-
onClose:
|
|
5013
|
+
text: PropTypes.string,
|
|
5014
|
+
icon: PropTypes.string,
|
|
5015
|
+
hasMask: PropTypes.bool,
|
|
5016
|
+
image: PropTypes.string,
|
|
5017
|
+
isOpened: PropTypes.bool,
|
|
5018
|
+
duration: PropTypes.number,
|
|
5019
|
+
status: PropTypes.oneOf(['', 'error', 'loading', 'success']),
|
|
5020
|
+
onClick: PropTypes.func,
|
|
5021
|
+
onClose: PropTypes.func
|
|
4923
5022
|
};
|
|
4924
5023
|
|
|
4925
5024
|
var AtAccordion = /** @class */ (function (_super) {
|
|
@@ -5027,15 +5126,15 @@ AtAccordion.defaultProps = {
|
|
|
5027
5126
|
isAnimation: true
|
|
5028
5127
|
};
|
|
5029
5128
|
AtAccordion.propTypes = {
|
|
5030
|
-
customStyle:
|
|
5031
|
-
className:
|
|
5032
|
-
open:
|
|
5033
|
-
isAnimation:
|
|
5034
|
-
title:
|
|
5035
|
-
note:
|
|
5036
|
-
icon:
|
|
5037
|
-
hasBorder:
|
|
5038
|
-
onClick:
|
|
5129
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
5130
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
5131
|
+
open: PropTypes.bool,
|
|
5132
|
+
isAnimation: PropTypes.bool,
|
|
5133
|
+
title: PropTypes.string,
|
|
5134
|
+
note: PropTypes.string,
|
|
5135
|
+
icon: PropTypes.object,
|
|
5136
|
+
hasBorder: PropTypes.bool,
|
|
5137
|
+
onClick: PropTypes.func
|
|
5039
5138
|
};
|
|
5040
5139
|
|
|
5041
5140
|
var AtSlider = /** @class */ (function (_super) {
|
|
@@ -5098,20 +5197,20 @@ AtSlider.defaultProps = {
|
|
|
5098
5197
|
showValue: false
|
|
5099
5198
|
};
|
|
5100
5199
|
AtSlider.propTypes = {
|
|
5101
|
-
customStyle:
|
|
5102
|
-
className:
|
|
5103
|
-
min:
|
|
5104
|
-
max:
|
|
5105
|
-
step:
|
|
5106
|
-
value:
|
|
5107
|
-
disabled:
|
|
5108
|
-
activeColor:
|
|
5109
|
-
backgroundColor:
|
|
5110
|
-
blockSize:
|
|
5111
|
-
blockColor:
|
|
5112
|
-
showValue:
|
|
5113
|
-
onChange:
|
|
5114
|
-
onChanging:
|
|
5200
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
5201
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
5202
|
+
min: PropTypes.number,
|
|
5203
|
+
max: PropTypes.number,
|
|
5204
|
+
step: PropTypes.number,
|
|
5205
|
+
value: PropTypes.number,
|
|
5206
|
+
disabled: PropTypes.bool,
|
|
5207
|
+
activeColor: PropTypes.string,
|
|
5208
|
+
backgroundColor: PropTypes.string,
|
|
5209
|
+
blockSize: PropTypes.number,
|
|
5210
|
+
blockColor: PropTypes.string,
|
|
5211
|
+
showValue: PropTypes.bool,
|
|
5212
|
+
onChange: PropTypes.func,
|
|
5213
|
+
onChanging: PropTypes.func
|
|
5115
5214
|
};
|
|
5116
5215
|
|
|
5117
5216
|
var AtSwipeActionOptions = /** @class */ (function (_super) {
|
|
@@ -5299,21 +5398,21 @@ AtSwipeAction.defaultProps = {
|
|
|
5299
5398
|
areaWidth: 0
|
|
5300
5399
|
};
|
|
5301
5400
|
AtSwipeAction.propTypes = {
|
|
5302
|
-
isOpened:
|
|
5303
|
-
disabled:
|
|
5304
|
-
autoClose:
|
|
5305
|
-
options:
|
|
5306
|
-
text:
|
|
5307
|
-
style:
|
|
5308
|
-
className:
|
|
5309
|
-
|
|
5310
|
-
|
|
5311
|
-
|
|
5401
|
+
isOpened: PropTypes.bool,
|
|
5402
|
+
disabled: PropTypes.bool,
|
|
5403
|
+
autoClose: PropTypes.bool,
|
|
5404
|
+
options: PropTypes.arrayOf(PropTypes.shape({
|
|
5405
|
+
text: PropTypes.string,
|
|
5406
|
+
style: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
5407
|
+
className: PropTypes.oneOfType([
|
|
5408
|
+
PropTypes.object,
|
|
5409
|
+
PropTypes.string,
|
|
5410
|
+
PropTypes.array
|
|
5312
5411
|
])
|
|
5313
5412
|
})),
|
|
5314
|
-
onClick:
|
|
5315
|
-
onOpened:
|
|
5316
|
-
onClosed:
|
|
5413
|
+
onClick: PropTypes.func,
|
|
5414
|
+
onOpened: PropTypes.func,
|
|
5415
|
+
onClosed: PropTypes.func
|
|
5317
5416
|
};
|
|
5318
5417
|
|
|
5319
5418
|
var AtSearchBar = /** @class */ (function (_super) {
|
|
@@ -5418,22 +5517,22 @@ AtSearchBar.defaultProps = {
|
|
|
5418
5517
|
enableNative: true
|
|
5419
5518
|
};
|
|
5420
5519
|
AtSearchBar.propTypes = {
|
|
5421
|
-
value:
|
|
5422
|
-
placeholder:
|
|
5423
|
-
maxLength:
|
|
5424
|
-
fixed:
|
|
5425
|
-
focus:
|
|
5426
|
-
disabled:
|
|
5427
|
-
showActionButton:
|
|
5428
|
-
actionName:
|
|
5429
|
-
inputType:
|
|
5430
|
-
onChange:
|
|
5431
|
-
onFocus:
|
|
5432
|
-
onBlur:
|
|
5433
|
-
onConfirm:
|
|
5434
|
-
onActionClick:
|
|
5435
|
-
onClear:
|
|
5436
|
-
enableNative:
|
|
5520
|
+
value: PropTypes.string,
|
|
5521
|
+
placeholder: PropTypes.string,
|
|
5522
|
+
maxLength: PropTypes.number,
|
|
5523
|
+
fixed: PropTypes.bool,
|
|
5524
|
+
focus: PropTypes.bool,
|
|
5525
|
+
disabled: PropTypes.bool,
|
|
5526
|
+
showActionButton: PropTypes.bool,
|
|
5527
|
+
actionName: PropTypes.string,
|
|
5528
|
+
inputType: PropTypes.oneOf(['text', 'number', 'idcard', 'digit']),
|
|
5529
|
+
onChange: PropTypes.func,
|
|
5530
|
+
onFocus: PropTypes.func,
|
|
5531
|
+
onBlur: PropTypes.func,
|
|
5532
|
+
onConfirm: PropTypes.func,
|
|
5533
|
+
onActionClick: PropTypes.func,
|
|
5534
|
+
onClear: PropTypes.func,
|
|
5535
|
+
enableNative: PropTypes.bool
|
|
5437
5536
|
};
|
|
5438
5537
|
|
|
5439
5538
|
var AtLoadMore = /** @class */ (function (_super) {
|
|
@@ -5472,15 +5571,15 @@ AtLoadMore.defaultProps = {
|
|
|
5472
5571
|
noMoreText: '没有更多'
|
|
5473
5572
|
};
|
|
5474
5573
|
AtLoadMore.propTypes = {
|
|
5475
|
-
customStyle:
|
|
5476
|
-
className:
|
|
5477
|
-
noMoreTextStyle:
|
|
5478
|
-
moreBtnStyle:
|
|
5479
|
-
status:
|
|
5480
|
-
loadingText:
|
|
5481
|
-
moreText:
|
|
5482
|
-
noMoreText:
|
|
5483
|
-
onClick:
|
|
5574
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
5575
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
5576
|
+
noMoreTextStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
5577
|
+
moreBtnStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
5578
|
+
status: PropTypes.oneOf(['more', 'loading', 'noMore']),
|
|
5579
|
+
loadingText: PropTypes.string,
|
|
5580
|
+
moreText: PropTypes.string,
|
|
5581
|
+
noMoreText: PropTypes.string,
|
|
5582
|
+
onClick: PropTypes.func
|
|
5484
5583
|
};
|
|
5485
5584
|
|
|
5486
5585
|
var AtDivider = /** @class */ (function (_super) {
|
|
@@ -5514,13 +5613,13 @@ AtDivider.defaultProps = {
|
|
|
5514
5613
|
lineColor: ''
|
|
5515
5614
|
};
|
|
5516
5615
|
AtDivider.propTypes = {
|
|
5517
|
-
customStyle:
|
|
5518
|
-
className:
|
|
5519
|
-
content:
|
|
5520
|
-
height:
|
|
5521
|
-
fontColor:
|
|
5522
|
-
fontSize:
|
|
5523
|
-
lineColor:
|
|
5616
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
5617
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
5618
|
+
content: PropTypes.string,
|
|
5619
|
+
height: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
5620
|
+
fontColor: PropTypes.string,
|
|
5621
|
+
fontSize: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
5622
|
+
lineColor: PropTypes.string
|
|
5524
5623
|
};
|
|
5525
5624
|
|
|
5526
5625
|
var AtCountdownItem = /** @class */ (function (_super) {
|
|
@@ -5545,8 +5644,8 @@ AtCountdownItem.defaultProps = {
|
|
|
5545
5644
|
separator: ':'
|
|
5546
5645
|
};
|
|
5547
5646
|
AtCountdownItem.propTypes = {
|
|
5548
|
-
num:
|
|
5549
|
-
separator:
|
|
5647
|
+
num: PropTypes.number.isRequired,
|
|
5648
|
+
separator: PropTypes.string
|
|
5550
5649
|
};
|
|
5551
5650
|
|
|
5552
5651
|
var toSeconds = function (day, hours, minutes, seconds) { return day * 60 * 60 * 24 + hours * 60 * 60 + minutes * 60 + seconds; };
|
|
@@ -5671,18 +5770,18 @@ AtCountdown.defaultProps = {
|
|
|
5671
5770
|
seconds: 0
|
|
5672
5771
|
};
|
|
5673
5772
|
AtCountdown.propTypes = {
|
|
5674
|
-
customStyle:
|
|
5675
|
-
className:
|
|
5676
|
-
isCard:
|
|
5677
|
-
isShowDay:
|
|
5678
|
-
isShowHour:
|
|
5679
|
-
isShowMinute:
|
|
5680
|
-
format:
|
|
5681
|
-
day:
|
|
5682
|
-
hours:
|
|
5683
|
-
minutes:
|
|
5684
|
-
seconds:
|
|
5685
|
-
onTimeUp:
|
|
5773
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
5774
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
5775
|
+
isCard: PropTypes.bool,
|
|
5776
|
+
isShowDay: PropTypes.bool,
|
|
5777
|
+
isShowHour: PropTypes.bool,
|
|
5778
|
+
isShowMinute: PropTypes.bool,
|
|
5779
|
+
format: PropTypes.object,
|
|
5780
|
+
day: PropTypes.number,
|
|
5781
|
+
hours: PropTypes.number,
|
|
5782
|
+
minutes: PropTypes.number,
|
|
5783
|
+
seconds: PropTypes.number,
|
|
5784
|
+
onTimeUp: PropTypes.func
|
|
5686
5785
|
};
|
|
5687
5786
|
|
|
5688
5787
|
var AtSteps = /** @class */ (function (_super) {
|
|
@@ -5733,11 +5832,11 @@ AtSteps.defaultProps = {
|
|
|
5733
5832
|
onChange: function () { }
|
|
5734
5833
|
};
|
|
5735
5834
|
AtSteps.propTypes = {
|
|
5736
|
-
customStyle:
|
|
5737
|
-
className:
|
|
5738
|
-
current:
|
|
5739
|
-
items:
|
|
5740
|
-
onChange:
|
|
5835
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
5836
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
5837
|
+
current: PropTypes.number,
|
|
5838
|
+
items: PropTypes.array,
|
|
5839
|
+
onChange: PropTypes.func
|
|
5741
5840
|
};
|
|
5742
5841
|
|
|
5743
5842
|
var AtCurtain = /** @class */ (function (_super) {
|
|
@@ -5781,11 +5880,11 @@ AtCurtain.defaultProps = {
|
|
|
5781
5880
|
onClose: function () { }
|
|
5782
5881
|
};
|
|
5783
5882
|
AtCurtain.propTypes = {
|
|
5784
|
-
customStyle:
|
|
5785
|
-
className:
|
|
5786
|
-
isOpened:
|
|
5787
|
-
closeBtnPosition:
|
|
5788
|
-
onClose:
|
|
5883
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
5884
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
5885
|
+
isOpened: PropTypes.bool,
|
|
5886
|
+
closeBtnPosition: PropTypes.string,
|
|
5887
|
+
onClose: PropTypes.func
|
|
5789
5888
|
};
|
|
5790
5889
|
|
|
5791
5890
|
var AtMessage = /** @class */ (function (_super) {
|
|
@@ -5853,8 +5952,8 @@ AtMessage.defaultProps = {
|
|
|
5853
5952
|
className: ''
|
|
5854
5953
|
};
|
|
5855
5954
|
AtMessage.propTypes = {
|
|
5856
|
-
customStyle:
|
|
5857
|
-
className:
|
|
5955
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
5956
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string])
|
|
5858
5957
|
};
|
|
5859
5958
|
|
|
5860
5959
|
// 生成 jsx 二维矩阵
|
|
@@ -5966,10 +6065,10 @@ AtImagePicker.defaultProps = {
|
|
|
5966
6065
|
onChange: function () { }
|
|
5967
6066
|
};
|
|
5968
6067
|
AtImagePicker.propTypes = {
|
|
5969
|
-
className:
|
|
5970
|
-
customStyle:
|
|
5971
|
-
files:
|
|
5972
|
-
mode:
|
|
6068
|
+
className: PropTypes.oneOfType([PropTypes.string, PropTypes.array]),
|
|
6069
|
+
customStyle: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
|
|
6070
|
+
files: PropTypes.array,
|
|
6071
|
+
mode: PropTypes.oneOf([
|
|
5973
6072
|
'scaleToFill',
|
|
5974
6073
|
'aspectFit',
|
|
5975
6074
|
'aspectFill',
|
|
@@ -5984,15 +6083,15 @@ AtImagePicker.propTypes = {
|
|
|
5984
6083
|
'bottom left',
|
|
5985
6084
|
'bottom right'
|
|
5986
6085
|
]),
|
|
5987
|
-
showAddBtn:
|
|
5988
|
-
multiple:
|
|
5989
|
-
length:
|
|
5990
|
-
onChange:
|
|
5991
|
-
onImageClick:
|
|
5992
|
-
onFail:
|
|
5993
|
-
count:
|
|
5994
|
-
sizeType:
|
|
5995
|
-
sourceType:
|
|
6086
|
+
showAddBtn: PropTypes.bool,
|
|
6087
|
+
multiple: PropTypes.bool,
|
|
6088
|
+
length: PropTypes.number,
|
|
6089
|
+
onChange: PropTypes.func,
|
|
6090
|
+
onImageClick: PropTypes.func,
|
|
6091
|
+
onFail: PropTypes.func,
|
|
6092
|
+
count: PropTypes.number,
|
|
6093
|
+
sizeType: PropTypes.array,
|
|
6094
|
+
sourceType: PropTypes.array
|
|
5996
6095
|
};
|
|
5997
6096
|
|
|
5998
6097
|
var AtRange = /** @class */ (function (_super) {
|
|
@@ -6134,18 +6233,18 @@ AtRange.defaultProps = {
|
|
|
6134
6233
|
blockSize: 0
|
|
6135
6234
|
};
|
|
6136
6235
|
AtRange.propTypes = {
|
|
6137
|
-
customStyle:
|
|
6138
|
-
className:
|
|
6139
|
-
sliderStyle:
|
|
6140
|
-
railStyle:
|
|
6141
|
-
trackStyle:
|
|
6142
|
-
value:
|
|
6143
|
-
min:
|
|
6144
|
-
max:
|
|
6145
|
-
disabled:
|
|
6146
|
-
blockSize:
|
|
6147
|
-
onChange:
|
|
6148
|
-
onAfterChange:
|
|
6236
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
6237
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
6238
|
+
sliderStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
6239
|
+
railStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
6240
|
+
trackStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
6241
|
+
value: PropTypes.array,
|
|
6242
|
+
min: PropTypes.number,
|
|
6243
|
+
max: PropTypes.number,
|
|
6244
|
+
disabled: PropTypes.bool,
|
|
6245
|
+
blockSize: PropTypes.number,
|
|
6246
|
+
onChange: PropTypes.func,
|
|
6247
|
+
onAfterChange: PropTypes.func
|
|
6149
6248
|
};
|
|
6150
6249
|
|
|
6151
6250
|
var ENV = Taro__default["default"].getEnv();
|
|
@@ -6356,15 +6455,15 @@ var AtIndexes = /** @class */ (function (_super) {
|
|
|
6356
6455
|
return AtIndexes;
|
|
6357
6456
|
}(React__default["default"].Component));
|
|
6358
6457
|
AtIndexes.propTypes = {
|
|
6359
|
-
customStyle:
|
|
6360
|
-
className:
|
|
6361
|
-
animation:
|
|
6362
|
-
isVibrate:
|
|
6363
|
-
isShowToast:
|
|
6364
|
-
topKey:
|
|
6365
|
-
list:
|
|
6366
|
-
onClick:
|
|
6367
|
-
onScrollIntoView:
|
|
6458
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
6459
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
6460
|
+
animation: PropTypes.bool,
|
|
6461
|
+
isVibrate: PropTypes.bool,
|
|
6462
|
+
isShowToast: PropTypes.bool,
|
|
6463
|
+
topKey: PropTypes.string,
|
|
6464
|
+
list: PropTypes.array,
|
|
6465
|
+
onClick: PropTypes.func,
|
|
6466
|
+
onScrollIntoView: PropTypes.func
|
|
6368
6467
|
};
|
|
6369
6468
|
AtIndexes.defaultProps = {
|
|
6370
6469
|
customStyle: '',
|
|
@@ -6377,7 +6476,7 @@ AtIndexes.defaultProps = {
|
|
|
6377
6476
|
};
|
|
6378
6477
|
|
|
6379
6478
|
var dayjs_min = createCommonjsModule(function (module, exports) {
|
|
6380
|
-
!function(t,e){module.exports=e();}(commonjsGlobal,function(){var t="millisecond",
|
|
6479
|
+
!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",c="month",f="quarter",h="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,c),s=n-i<0,u=e.clone().add(r+(s?-1:1),c);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:c,y:h,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:f}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},g="en",D={};D[g]=M;var p="$isDayjsObject",S=function(t){return t instanceof _||!(!t||!t[p])},w=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},O=function(t,e){if(S(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},b=v;b.l=w,b.i=S,b.w=function(t,e){return O(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=w(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[p]=!0;}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(b.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.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 b},m.isValid=function(){return !(this.$d.toString()===l)},m.isSame=function(t,e){var n=O(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return O(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<O(t)},m.$g=function(t,e,n){return b.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=!!b.u(e)||e,f=b.p(t),l=function(t,e){var i=b.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 b.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(f){case h:return r?l(1,0):l(31,11);case c: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=b.p(t),f="set"+(this.$u?"UTC":""),l=(n={},n[a]=f+"Date",n[d]=f+"Date",n[c]=f+"Month",n[h]=f+"FullYear",n[u]=f+"Hours",n[s]=f+"Minutes",n[i]=f+"Seconds",n[r]=f+"Milliseconds",n)[o],$=o===a?this.$D+(e-this.$W):e;if(o===c||o===h){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[b.p(t)]()},m.add=function(r,f){var d,l=this;r=Number(r);var $=b.p(f),y=function(t){var e=O(l);return b.w(e.date(e.date()+Math.round(t*r)),l)};if($===c)return this.set(c,this.$M+r);if($===h)return this.set(h,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 b.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=b.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,c=n.months,f=n.meridiem,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].slice(0,s)},d=function(t){return b.s(s%12||12,t,"0")},$=f||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(y,(function(t,r){return r||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return b.s(e.$y,4,"0");case"M":return a+1;case"MM":return b.s(a+1,2,"0");case"MMM":return h(n.monthsShort,a,c,3);case"MMMM":return h(c,a);case"D":return e.$D;case"DD":return b.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return h(n.weekdaysMin,e.$W,o,2);case"ddd":return h(n.weekdaysShort,e.$W,o,3);case"dddd":return o[e.$W];case"H":return String(s);case"HH":return b.s(s,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return $(s,u,!0);case"A":return $(s,u,!1);case"m":return String(u);case"mm":return b.s(u,2,"0");case"s":return String(e.$s);case"ss":return b.s(e.$s,2,"0");case"SSS":return b.s(e.$ms,3,"0");case"Z":return i}return null}(t)||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,l){var $,y=this,M=b.p(d),m=O(r),v=(m.utcOffset()-this.utcOffset())*e,g=this-m,D=function(){return b.m(y,m)};switch(M){case h:$=D()/12;break;case c:$=D();break;case f:$=D()/3;break;case o:$=(g-v)/6048e5;break;case a:$=(g-v)/864e5;break;case u:$=g/n;break;case s:$=g/e;break;case i:$=g/t;break;default:$=g;}return l?$:b.a($)},m.daysInMonth=function(){return this.endOf(c).$D},m.$locale=function(){return D[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=w(t,e,!0);return r&&(n.$L=r),n},m.clone=function(){return b.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}(),k=_.prototype;return O.prototype=k,[["$ms",r],["$s",i],["$m",s],["$H",u],["$W",a],["$M",c],["$y",h],["$D",d]].forEach((function(t){k[t[1]]=function(e){return this.$g(e,t[0],t[1])};})),O.extend=function(t,e){return t.$i||(t(e,_,O),t.$i=!0),O},O.locale=w,O.isDayjs=S,O.unix=function(t){return O(1e3*t)},O.en=D[g],O.Ls=D,O.p={},O}));
|
|
6381
6480
|
});
|
|
6382
6481
|
|
|
6383
6482
|
/** Built-in value references. */
|
|
@@ -8368,8 +8467,8 @@ var AtFab = /** @class */ (function (_super) {
|
|
|
8368
8467
|
return AtFab;
|
|
8369
8468
|
}(React__default["default"].Component));
|
|
8370
8469
|
AtFab.propTypes = {
|
|
8371
|
-
size:
|
|
8372
|
-
onClick:
|
|
8470
|
+
size: PropTypes.oneOf(['normal', 'small']),
|
|
8471
|
+
onClick: PropTypes.func
|
|
8373
8472
|
};
|
|
8374
8473
|
AtFab.defaultProps = {
|
|
8375
8474
|
size: 'normal'
|