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.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
|
-
import { View, Text,
|
|
2
|
+
import { View, Text, 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
|
/******************************************************************************
|
|
@@ -117,9 +117,9 @@ function createCommonjsModule(fn, module) {
|
|
|
117
117
|
|
|
118
118
|
var classnames = createCommonjsModule(function (module) {
|
|
119
119
|
/*!
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
120
|
+
Copyright (c) 2018 Jed Watson.
|
|
121
|
+
Licensed under the MIT License (MIT), see
|
|
122
|
+
http://jedwatson.github.io/classnames
|
|
123
123
|
*/
|
|
124
124
|
/* global define */
|
|
125
125
|
|
|
@@ -128,31 +128,56 @@ var classnames = createCommonjsModule(function (module) {
|
|
|
128
128
|
var hasOwn = {}.hasOwnProperty;
|
|
129
129
|
|
|
130
130
|
function classNames () {
|
|
131
|
-
var classes =
|
|
131
|
+
var classes = '';
|
|
132
132
|
|
|
133
133
|
for (var i = 0; i < arguments.length; i++) {
|
|
134
134
|
var arg = arguments[i];
|
|
135
|
-
if (
|
|
135
|
+
if (arg) {
|
|
136
|
+
classes = appendClass(classes, parseValue(arg));
|
|
137
|
+
}
|
|
138
|
+
}
|
|
136
139
|
|
|
137
|
-
|
|
140
|
+
return classes;
|
|
141
|
+
}
|
|
138
142
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
143
|
+
function parseValue (arg) {
|
|
144
|
+
if (typeof arg === 'string' || typeof arg === 'number') {
|
|
145
|
+
return arg;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
if (typeof arg !== 'object') {
|
|
149
|
+
return '';
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
if (Array.isArray(arg)) {
|
|
153
|
+
return classNames.apply(null, arg);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
|
|
157
|
+
return arg.toString();
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
var classes = '';
|
|
161
|
+
|
|
162
|
+
for (var key in arg) {
|
|
163
|
+
if (hasOwn.call(arg, key) && arg[key]) {
|
|
164
|
+
classes = appendClass(classes, key);
|
|
152
165
|
}
|
|
153
166
|
}
|
|
154
167
|
|
|
155
|
-
return classes
|
|
168
|
+
return classes;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
function appendClass (value, newClass) {
|
|
172
|
+
if (!newClass) {
|
|
173
|
+
return value;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
if (value) {
|
|
177
|
+
return value + ' ' + newClass;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
return value + newClass;
|
|
156
181
|
}
|
|
157
182
|
|
|
158
183
|
if (module.exports) {
|
|
@@ -516,16 +541,22 @@ var objectAssign = shouldUseNative() ? Object.assign : function (target, source)
|
|
|
516
541
|
* LICENSE file in the root directory of this source tree.
|
|
517
542
|
*/
|
|
518
543
|
|
|
519
|
-
var ReactPropTypesSecret$
|
|
544
|
+
var ReactPropTypesSecret$2 = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
|
|
545
|
+
|
|
546
|
+
var ReactPropTypesSecret_1 = ReactPropTypesSecret$2;
|
|
547
|
+
|
|
548
|
+
var has$2 = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
520
549
|
|
|
521
|
-
var
|
|
550
|
+
var ReactPropTypesSecret$1 = ReactPropTypesSecret_1;
|
|
551
|
+
|
|
552
|
+
var has$1 = has$2;
|
|
522
553
|
|
|
523
554
|
var printWarning$1 = function() {};
|
|
524
555
|
|
|
525
556
|
if (process.env.NODE_ENV !== 'production') {
|
|
526
|
-
var ReactPropTypesSecret =
|
|
557
|
+
var ReactPropTypesSecret = ReactPropTypesSecret$1;
|
|
527
558
|
var loggedTypeFailures = {};
|
|
528
|
-
var has
|
|
559
|
+
var has = has$1;
|
|
529
560
|
|
|
530
561
|
printWarning$1 = function(text) {
|
|
531
562
|
var message = 'Warning: ' + text;
|
|
@@ -537,7 +568,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
537
568
|
// This error was thrown as a convenience so that you can use this stack
|
|
538
569
|
// to find the callsite that caused this warning to fire.
|
|
539
570
|
throw new Error(message);
|
|
540
|
-
} catch (x) {}
|
|
571
|
+
} catch (x) { /**/ }
|
|
541
572
|
};
|
|
542
573
|
}
|
|
543
574
|
|
|
@@ -552,10 +583,10 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
552
583
|
* @param {?Function} getStack Returns the component stack.
|
|
553
584
|
* @private
|
|
554
585
|
*/
|
|
555
|
-
function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
|
586
|
+
function checkPropTypes$1(typeSpecs, values, location, componentName, getStack) {
|
|
556
587
|
if (process.env.NODE_ENV !== 'production') {
|
|
557
588
|
for (var typeSpecName in typeSpecs) {
|
|
558
|
-
if (has
|
|
589
|
+
if (has(typeSpecs, typeSpecName)) {
|
|
559
590
|
var error;
|
|
560
591
|
// Prop type validation may throw. In case they do, we don't want to
|
|
561
592
|
// fail the render phase where it didn't fail before. So we log it.
|
|
@@ -566,7 +597,8 @@ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
|
|
566
597
|
if (typeof typeSpecs[typeSpecName] !== 'function') {
|
|
567
598
|
var err = Error(
|
|
568
599
|
(componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
|
|
569
|
-
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'
|
|
600
|
+
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
|
|
601
|
+
'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
|
|
570
602
|
);
|
|
571
603
|
err.name = 'Invariant Violation';
|
|
572
604
|
throw err;
|
|
@@ -606,15 +638,16 @@ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
|
|
606
638
|
*
|
|
607
639
|
* @private
|
|
608
640
|
*/
|
|
609
|
-
checkPropTypes.resetWarningCache = function() {
|
|
641
|
+
checkPropTypes$1.resetWarningCache = function() {
|
|
610
642
|
if (process.env.NODE_ENV !== 'production') {
|
|
611
643
|
loggedTypeFailures = {};
|
|
612
644
|
}
|
|
613
645
|
};
|
|
614
646
|
|
|
615
|
-
var checkPropTypes_1 = checkPropTypes;
|
|
647
|
+
var checkPropTypes_1 = checkPropTypes$1;
|
|
648
|
+
|
|
649
|
+
var checkPropTypes = checkPropTypes_1;
|
|
616
650
|
|
|
617
|
-
var has = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
618
651
|
var printWarning = function() {};
|
|
619
652
|
|
|
620
653
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -715,6 +748,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
715
748
|
// Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
|
|
716
749
|
var ReactPropTypes = {
|
|
717
750
|
array: createPrimitiveTypeChecker('array'),
|
|
751
|
+
bigint: createPrimitiveTypeChecker('bigint'),
|
|
718
752
|
bool: createPrimitiveTypeChecker('boolean'),
|
|
719
753
|
func: createPrimitiveTypeChecker('function'),
|
|
720
754
|
number: createPrimitiveTypeChecker('number'),
|
|
@@ -760,8 +794,9 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
760
794
|
* is prohibitively expensive if they are created too often, such as what
|
|
761
795
|
* happens in oneOfType() for any type before the one that matched.
|
|
762
796
|
*/
|
|
763
|
-
function PropTypeError(message) {
|
|
797
|
+
function PropTypeError(message, data) {
|
|
764
798
|
this.message = message;
|
|
799
|
+
this.data = data && typeof data === 'object' ? data: {};
|
|
765
800
|
this.stack = '';
|
|
766
801
|
}
|
|
767
802
|
// Make `instanceof Error` still work for returned errors.
|
|
@@ -776,7 +811,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
776
811
|
componentName = componentName || ANONYMOUS;
|
|
777
812
|
propFullName = propFullName || propName;
|
|
778
813
|
|
|
779
|
-
if (secret !==
|
|
814
|
+
if (secret !== ReactPropTypesSecret$1) {
|
|
780
815
|
if (throwOnDirectAccess) {
|
|
781
816
|
// New behavior only for users of `prop-types` package
|
|
782
817
|
var err = new Error(
|
|
@@ -796,7 +831,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
796
831
|
) {
|
|
797
832
|
printWarning(
|
|
798
833
|
'You are manually calling a React.PropTypes validation ' +
|
|
799
|
-
'function for the `' + propFullName + '` prop on `' + componentName
|
|
834
|
+
'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
|
|
800
835
|
'and will throw in the standalone `prop-types` package. ' +
|
|
801
836
|
'You may be seeing this warning due to a third-party PropTypes ' +
|
|
802
837
|
'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
|
|
@@ -835,7 +870,10 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
835
870
|
// 'of type `object`'.
|
|
836
871
|
var preciseType = getPreciseType(propValue);
|
|
837
872
|
|
|
838
|
-
return new PropTypeError(
|
|
873
|
+
return new PropTypeError(
|
|
874
|
+
'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),
|
|
875
|
+
{expectedType: expectedType}
|
|
876
|
+
);
|
|
839
877
|
}
|
|
840
878
|
return null;
|
|
841
879
|
}
|
|
@@ -857,7 +895,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
857
895
|
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));
|
|
858
896
|
}
|
|
859
897
|
for (var i = 0; i < propValue.length; i++) {
|
|
860
|
-
var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']',
|
|
898
|
+
var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret$1);
|
|
861
899
|
if (error instanceof Error) {
|
|
862
900
|
return error;
|
|
863
901
|
}
|
|
@@ -949,8 +987,8 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
949
987
|
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));
|
|
950
988
|
}
|
|
951
989
|
for (var key in propValue) {
|
|
952
|
-
if (has(propValue, key)) {
|
|
953
|
-
var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key,
|
|
990
|
+
if (has$1(propValue, key)) {
|
|
991
|
+
var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret$1);
|
|
954
992
|
if (error instanceof Error) {
|
|
955
993
|
return error;
|
|
956
994
|
}
|
|
@@ -979,14 +1017,19 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
979
1017
|
}
|
|
980
1018
|
|
|
981
1019
|
function validate(props, propName, componentName, location, propFullName) {
|
|
1020
|
+
var expectedTypes = [];
|
|
982
1021
|
for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
|
|
983
1022
|
var checker = arrayOfTypeCheckers[i];
|
|
984
|
-
|
|
1023
|
+
var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret$1);
|
|
1024
|
+
if (checkerResult == null) {
|
|
985
1025
|
return null;
|
|
986
1026
|
}
|
|
1027
|
+
if (checkerResult.data && has$1(checkerResult.data, 'expectedType')) {
|
|
1028
|
+
expectedTypes.push(checkerResult.data.expectedType);
|
|
1029
|
+
}
|
|
987
1030
|
}
|
|
988
|
-
|
|
989
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '
|
|
1031
|
+
var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';
|
|
1032
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
|
|
990
1033
|
}
|
|
991
1034
|
return createChainableTypeChecker(validate);
|
|
992
1035
|
}
|
|
@@ -1001,6 +1044,13 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
1001
1044
|
return createChainableTypeChecker(validate);
|
|
1002
1045
|
}
|
|
1003
1046
|
|
|
1047
|
+
function invalidValidatorError(componentName, location, propFullName, key, type) {
|
|
1048
|
+
return new PropTypeError(
|
|
1049
|
+
(componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
|
|
1050
|
+
'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
|
|
1051
|
+
);
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1004
1054
|
function createShapeTypeChecker(shapeTypes) {
|
|
1005
1055
|
function validate(props, propName, componentName, location, propFullName) {
|
|
1006
1056
|
var propValue = props[propName];
|
|
@@ -1010,10 +1060,10 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
1010
1060
|
}
|
|
1011
1061
|
for (var key in shapeTypes) {
|
|
1012
1062
|
var checker = shapeTypes[key];
|
|
1013
|
-
if (
|
|
1014
|
-
|
|
1063
|
+
if (typeof checker !== 'function') {
|
|
1064
|
+
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
1015
1065
|
}
|
|
1016
|
-
var error = checker(propValue, key, componentName, location, propFullName + '.' + key,
|
|
1066
|
+
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret$1);
|
|
1017
1067
|
if (error) {
|
|
1018
1068
|
return error;
|
|
1019
1069
|
}
|
|
@@ -1030,19 +1080,21 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
1030
1080
|
if (propType !== 'object') {
|
|
1031
1081
|
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
|
|
1032
1082
|
}
|
|
1033
|
-
// We need to check all keys in case some are required but missing from
|
|
1034
|
-
// props.
|
|
1083
|
+
// We need to check all keys in case some are required but missing from props.
|
|
1035
1084
|
var allKeys = objectAssign({}, props[propName], shapeTypes);
|
|
1036
1085
|
for (var key in allKeys) {
|
|
1037
1086
|
var checker = shapeTypes[key];
|
|
1087
|
+
if (has$1(shapeTypes, key) && typeof checker !== 'function') {
|
|
1088
|
+
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
1089
|
+
}
|
|
1038
1090
|
if (!checker) {
|
|
1039
1091
|
return new PropTypeError(
|
|
1040
1092
|
'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
|
|
1041
1093
|
'\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
|
|
1042
|
-
'\nValid keys: ' +
|
|
1094
|
+
'\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
|
|
1043
1095
|
);
|
|
1044
1096
|
}
|
|
1045
|
-
var error = checker(propValue, key, componentName, location, propFullName + '.' + key,
|
|
1097
|
+
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret$1);
|
|
1046
1098
|
if (error) {
|
|
1047
1099
|
return error;
|
|
1048
1100
|
}
|
|
@@ -1184,8 +1236,8 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
1184
1236
|
return propValue.constructor.name;
|
|
1185
1237
|
}
|
|
1186
1238
|
|
|
1187
|
-
ReactPropTypes.checkPropTypes =
|
|
1188
|
-
ReactPropTypes.resetWarningCache =
|
|
1239
|
+
ReactPropTypes.checkPropTypes = checkPropTypes;
|
|
1240
|
+
ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
|
|
1189
1241
|
ReactPropTypes.PropTypes = ReactPropTypes;
|
|
1190
1242
|
|
|
1191
1243
|
return ReactPropTypes;
|
|
@@ -1197,7 +1249,7 @@ emptyFunctionWithReset.resetWarningCache = emptyFunction;
|
|
|
1197
1249
|
|
|
1198
1250
|
var factoryWithThrowingShims = function() {
|
|
1199
1251
|
function shim(props, propName, componentName, location, propFullName, secret) {
|
|
1200
|
-
if (secret ===
|
|
1252
|
+
if (secret === ReactPropTypesSecret$1) {
|
|
1201
1253
|
// It is still safe when called from React.
|
|
1202
1254
|
return;
|
|
1203
1255
|
}
|
|
@@ -1215,6 +1267,7 @@ var factoryWithThrowingShims = function() {
|
|
|
1215
1267
|
// Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
|
|
1216
1268
|
var ReactPropTypes = {
|
|
1217
1269
|
array: shim,
|
|
1270
|
+
bigint: shim,
|
|
1218
1271
|
bool: shim,
|
|
1219
1272
|
func: shim,
|
|
1220
1273
|
number: shim,
|
|
@@ -1243,6 +1296,10 @@ var factoryWithThrowingShims = function() {
|
|
|
1243
1296
|
return ReactPropTypes;
|
|
1244
1297
|
};
|
|
1245
1298
|
|
|
1299
|
+
var require$$1 = factoryWithTypeCheckers;
|
|
1300
|
+
|
|
1301
|
+
var require$$2 = factoryWithThrowingShims;
|
|
1302
|
+
|
|
1246
1303
|
var propTypes = createCommonjsModule(function (module) {
|
|
1247
1304
|
/**
|
|
1248
1305
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
@@ -1257,14 +1314,16 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1257
1314
|
// By explicitly using `prop-types` you are opting into new development behavior.
|
|
1258
1315
|
// http://fb.me/prop-types-in-prod
|
|
1259
1316
|
var throwOnDirectAccess = true;
|
|
1260
|
-
module.exports =
|
|
1317
|
+
module.exports = require$$1(ReactIs.isElement, throwOnDirectAccess);
|
|
1261
1318
|
} else {
|
|
1262
1319
|
// By explicitly using `prop-types` you are opting into new production behavior.
|
|
1263
1320
|
// http://fb.me/prop-types-in-prod
|
|
1264
|
-
module.exports =
|
|
1321
|
+
module.exports = require$$2();
|
|
1265
1322
|
}
|
|
1266
1323
|
});
|
|
1267
1324
|
|
|
1325
|
+
var PropTypes = propTypes;
|
|
1326
|
+
|
|
1268
1327
|
var AtActionSheetBody = /** @class */ (function (_super) {
|
|
1269
1328
|
__extends(AtActionSheetBody, _super);
|
|
1270
1329
|
function AtActionSheetBody() {
|
|
@@ -1300,7 +1359,7 @@ var AtActionSheetFooter = /** @class */ (function (_super) {
|
|
|
1300
1359
|
return AtActionSheetFooter;
|
|
1301
1360
|
}(React.Component));
|
|
1302
1361
|
AtActionSheetFooter.propTypes = {
|
|
1303
|
-
onClick:
|
|
1362
|
+
onClick: PropTypes.func
|
|
1304
1363
|
};
|
|
1305
1364
|
|
|
1306
1365
|
var AtActionSheetHeader = /** @class */ (function (_super) {
|
|
@@ -1375,11 +1434,11 @@ AtActionSheet.defaultProps = {
|
|
|
1375
1434
|
isOpened: false
|
|
1376
1435
|
};
|
|
1377
1436
|
AtActionSheet.propTypes = {
|
|
1378
|
-
title:
|
|
1379
|
-
onClose:
|
|
1380
|
-
onCancel:
|
|
1381
|
-
isOpened:
|
|
1382
|
-
cancelText:
|
|
1437
|
+
title: PropTypes.string,
|
|
1438
|
+
onClose: PropTypes.func,
|
|
1439
|
+
onCancel: PropTypes.func,
|
|
1440
|
+
isOpened: PropTypes.bool.isRequired,
|
|
1441
|
+
cancelText: PropTypes.string
|
|
1383
1442
|
};
|
|
1384
1443
|
|
|
1385
1444
|
var AtActionSheetItem = /** @class */ (function (_super) {
|
|
@@ -1400,7 +1459,7 @@ var AtActionSheetItem = /** @class */ (function (_super) {
|
|
|
1400
1459
|
return AtActionSheetItem;
|
|
1401
1460
|
}(React.Component));
|
|
1402
1461
|
AtActionSheetItem.propTypes = {
|
|
1403
|
-
onClick:
|
|
1462
|
+
onClick: PropTypes.func
|
|
1404
1463
|
};
|
|
1405
1464
|
|
|
1406
1465
|
var ENV$4 = Taro.getEnv();
|
|
@@ -1627,8 +1686,8 @@ AtLoading.defaultProps = {
|
|
|
1627
1686
|
color: ''
|
|
1628
1687
|
};
|
|
1629
1688
|
AtLoading.propTypes = {
|
|
1630
|
-
size:
|
|
1631
|
-
color:
|
|
1689
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
1690
|
+
color: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
1632
1691
|
};
|
|
1633
1692
|
|
|
1634
1693
|
var AtActivityIndicator = /** @class */ (function (_super) {
|
|
@@ -1658,12 +1717,12 @@ AtActivityIndicator.defaultProps = {
|
|
|
1658
1717
|
isOpened: true
|
|
1659
1718
|
};
|
|
1660
1719
|
AtActivityIndicator.propTypes = {
|
|
1661
|
-
size:
|
|
1662
|
-
mode:
|
|
1663
|
-
color:
|
|
1664
|
-
content:
|
|
1665
|
-
className:
|
|
1666
|
-
isOpened:
|
|
1720
|
+
size: PropTypes.number,
|
|
1721
|
+
mode: PropTypes.string,
|
|
1722
|
+
color: PropTypes.string,
|
|
1723
|
+
content: PropTypes.string,
|
|
1724
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
1725
|
+
isOpened: PropTypes.bool
|
|
1667
1726
|
};
|
|
1668
1727
|
|
|
1669
1728
|
var SIZE_CLASS$2 = {
|
|
@@ -1693,7 +1752,12 @@ var AtAvatar = /** @class */ (function (_super) {
|
|
|
1693
1752
|
if (text)
|
|
1694
1753
|
letter = text[0];
|
|
1695
1754
|
var elem;
|
|
1696
|
-
if (openData &&
|
|
1755
|
+
if (openData &&
|
|
1756
|
+
openData.type === 'userAvatarUrl' &&
|
|
1757
|
+
this.state.isWEAPP &&
|
|
1758
|
+
Taro.canIUse('open-data')) {
|
|
1759
|
+
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
1760
|
+
var OpenData = require('@tarojs/components').OpenData;
|
|
1697
1761
|
elem = React.createElement(OpenData, { type: openData.type });
|
|
1698
1762
|
}
|
|
1699
1763
|
else if (image) {
|
|
@@ -1715,13 +1779,13 @@ AtAvatar.defaultProps = {
|
|
|
1715
1779
|
className: ''
|
|
1716
1780
|
};
|
|
1717
1781
|
AtAvatar.propTypes = {
|
|
1718
|
-
size:
|
|
1719
|
-
circle:
|
|
1720
|
-
text:
|
|
1721
|
-
image:
|
|
1722
|
-
openData:
|
|
1723
|
-
customStyle:
|
|
1724
|
-
className:
|
|
1782
|
+
size: PropTypes.oneOf(['large', 'normal', 'small']),
|
|
1783
|
+
circle: PropTypes.bool,
|
|
1784
|
+
text: PropTypes.string,
|
|
1785
|
+
image: PropTypes.string,
|
|
1786
|
+
openData: PropTypes.object,
|
|
1787
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
1788
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string])
|
|
1725
1789
|
};
|
|
1726
1790
|
|
|
1727
1791
|
var AtBadge = /** @class */ (function (_super) {
|
|
@@ -1758,11 +1822,11 @@ AtBadge.defaultProps = {
|
|
|
1758
1822
|
className: ''
|
|
1759
1823
|
};
|
|
1760
1824
|
AtBadge.propTypes = {
|
|
1761
|
-
dot:
|
|
1762
|
-
value:
|
|
1763
|
-
maxValue:
|
|
1764
|
-
customStyle:
|
|
1765
|
-
className:
|
|
1825
|
+
dot: PropTypes.bool,
|
|
1826
|
+
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
1827
|
+
maxValue: PropTypes.number,
|
|
1828
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
1829
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string])
|
|
1766
1830
|
};
|
|
1767
1831
|
|
|
1768
1832
|
var SIZE_CLASS$1 = {
|
|
@@ -1852,16 +1916,16 @@ AtButton.defaultProps = {
|
|
|
1852
1916
|
appParameter: ''
|
|
1853
1917
|
};
|
|
1854
1918
|
AtButton.propTypes = {
|
|
1855
|
-
size:
|
|
1856
|
-
type:
|
|
1857
|
-
circle:
|
|
1858
|
-
full:
|
|
1859
|
-
loading:
|
|
1860
|
-
disabled:
|
|
1861
|
-
onClick:
|
|
1862
|
-
customStyle:
|
|
1863
|
-
formType:
|
|
1864
|
-
openType:
|
|
1919
|
+
size: PropTypes.oneOf(['normal', 'small']),
|
|
1920
|
+
type: PropTypes.oneOf(['primary', 'secondary', '']),
|
|
1921
|
+
circle: PropTypes.bool,
|
|
1922
|
+
full: PropTypes.bool,
|
|
1923
|
+
loading: PropTypes.bool,
|
|
1924
|
+
disabled: PropTypes.bool,
|
|
1925
|
+
onClick: PropTypes.func,
|
|
1926
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
1927
|
+
formType: PropTypes.oneOf(['submit', 'reset', '']),
|
|
1928
|
+
openType: PropTypes.oneOf([
|
|
1865
1929
|
'contact',
|
|
1866
1930
|
'share',
|
|
1867
1931
|
'getUserInfo',
|
|
@@ -1874,18 +1938,18 @@ AtButton.propTypes = {
|
|
|
1874
1938
|
'contactShare',
|
|
1875
1939
|
''
|
|
1876
1940
|
]),
|
|
1877
|
-
lang:
|
|
1878
|
-
sessionFrom:
|
|
1879
|
-
sendMessageTitle:
|
|
1880
|
-
sendMessagePath:
|
|
1881
|
-
sendMessageImg:
|
|
1882
|
-
showMessageCard:
|
|
1883
|
-
appParameter:
|
|
1884
|
-
onGetUserInfo:
|
|
1885
|
-
onContact:
|
|
1886
|
-
onGetPhoneNumber:
|
|
1887
|
-
onError:
|
|
1888
|
-
onOpenSetting:
|
|
1941
|
+
lang: PropTypes.string,
|
|
1942
|
+
sessionFrom: PropTypes.string,
|
|
1943
|
+
sendMessageTitle: PropTypes.string,
|
|
1944
|
+
sendMessagePath: PropTypes.string,
|
|
1945
|
+
sendMessageImg: PropTypes.string,
|
|
1946
|
+
showMessageCard: PropTypes.bool,
|
|
1947
|
+
appParameter: PropTypes.string,
|
|
1948
|
+
onGetUserInfo: PropTypes.func,
|
|
1949
|
+
onContact: PropTypes.func,
|
|
1950
|
+
onGetPhoneNumber: PropTypes.func,
|
|
1951
|
+
onError: PropTypes.func,
|
|
1952
|
+
onOpenSetting: PropTypes.func
|
|
1889
1953
|
};
|
|
1890
1954
|
|
|
1891
1955
|
var AtCard = /** @class */ (function (_super) {
|
|
@@ -1937,15 +2001,15 @@ AtCard.defaultProps = {
|
|
|
1937
2001
|
extraStyle: {}
|
|
1938
2002
|
};
|
|
1939
2003
|
AtCard.propTypes = {
|
|
1940
|
-
note:
|
|
1941
|
-
isFull:
|
|
1942
|
-
thumb:
|
|
1943
|
-
title:
|
|
1944
|
-
extra:
|
|
1945
|
-
icon:
|
|
1946
|
-
onClick:
|
|
1947
|
-
renderIcon:
|
|
1948
|
-
extraStyle:
|
|
2004
|
+
note: PropTypes.string,
|
|
2005
|
+
isFull: PropTypes.bool,
|
|
2006
|
+
thumb: PropTypes.string,
|
|
2007
|
+
title: PropTypes.string,
|
|
2008
|
+
extra: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
2009
|
+
icon: PropTypes.object,
|
|
2010
|
+
onClick: PropTypes.func,
|
|
2011
|
+
renderIcon: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
2012
|
+
extraStyle: PropTypes.object // 自定义extra样式
|
|
1949
2013
|
};
|
|
1950
2014
|
|
|
1951
2015
|
var AtCheckbox = /** @class */ (function (_super) {
|
|
@@ -1998,11 +2062,11 @@ AtCheckbox.defaultProps = {
|
|
|
1998
2062
|
onChange: function () { }
|
|
1999
2063
|
};
|
|
2000
2064
|
AtCheckbox.propTypes = {
|
|
2001
|
-
customStyle:
|
|
2002
|
-
className:
|
|
2003
|
-
options:
|
|
2004
|
-
selectedList:
|
|
2005
|
-
onChange:
|
|
2065
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
2066
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
2067
|
+
options: PropTypes.array,
|
|
2068
|
+
selectedList: PropTypes.array,
|
|
2069
|
+
onChange: PropTypes.func
|
|
2006
2070
|
};
|
|
2007
2071
|
|
|
2008
2072
|
var AtList = /** @class */ (function (_super) {
|
|
@@ -2022,7 +2086,7 @@ AtList.defaultProps = {
|
|
|
2022
2086
|
hasBorder: true
|
|
2023
2087
|
};
|
|
2024
2088
|
AtList.propTypes = {
|
|
2025
|
-
hasBorder:
|
|
2089
|
+
hasBorder: PropTypes.bool
|
|
2026
2090
|
};
|
|
2027
2091
|
|
|
2028
2092
|
var AtListItem = /** @class */ (function (_super) {
|
|
@@ -2106,26 +2170,26 @@ AtListItem.defaultProps = {
|
|
|
2106
2170
|
iconInfo: { value: '' }
|
|
2107
2171
|
};
|
|
2108
2172
|
AtListItem.propTypes = {
|
|
2109
|
-
note:
|
|
2110
|
-
disabled:
|
|
2111
|
-
title:
|
|
2112
|
-
thumb:
|
|
2113
|
-
onClick:
|
|
2114
|
-
isSwitch:
|
|
2115
|
-
hasBorder:
|
|
2116
|
-
switchColor:
|
|
2117
|
-
switchIsCheck:
|
|
2118
|
-
extraText:
|
|
2119
|
-
extraThumb:
|
|
2120
|
-
onSwitchChange:
|
|
2121
|
-
arrow:
|
|
2122
|
-
iconInfo:
|
|
2123
|
-
size:
|
|
2124
|
-
value:
|
|
2125
|
-
color:
|
|
2126
|
-
prefixClass:
|
|
2127
|
-
customStyle:
|
|
2128
|
-
className:
|
|
2173
|
+
note: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
2174
|
+
disabled: PropTypes.bool,
|
|
2175
|
+
title: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
2176
|
+
thumb: PropTypes.string,
|
|
2177
|
+
onClick: PropTypes.func,
|
|
2178
|
+
isSwitch: PropTypes.bool,
|
|
2179
|
+
hasBorder: PropTypes.bool,
|
|
2180
|
+
switchColor: PropTypes.string,
|
|
2181
|
+
switchIsCheck: PropTypes.bool,
|
|
2182
|
+
extraText: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
2183
|
+
extraThumb: PropTypes.string,
|
|
2184
|
+
onSwitchChange: PropTypes.func,
|
|
2185
|
+
arrow: PropTypes.oneOf(['up', 'down', 'right']),
|
|
2186
|
+
iconInfo: PropTypes.shape({
|
|
2187
|
+
size: PropTypes.number,
|
|
2188
|
+
value: PropTypes.string,
|
|
2189
|
+
color: PropTypes.string,
|
|
2190
|
+
prefixClass: PropTypes.string,
|
|
2191
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
2192
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string])
|
|
2129
2193
|
})
|
|
2130
2194
|
};
|
|
2131
2195
|
|
|
@@ -2215,12 +2279,12 @@ AtDrawer.defaultProps = {
|
|
|
2215
2279
|
items: []
|
|
2216
2280
|
};
|
|
2217
2281
|
AtDrawer.propTypes = {
|
|
2218
|
-
show:
|
|
2219
|
-
mask:
|
|
2220
|
-
width:
|
|
2221
|
-
items:
|
|
2222
|
-
onItemClick:
|
|
2223
|
-
onClose:
|
|
2282
|
+
show: PropTypes.bool,
|
|
2283
|
+
mask: PropTypes.bool,
|
|
2284
|
+
width: PropTypes.string,
|
|
2285
|
+
items: PropTypes.arrayOf(PropTypes.string),
|
|
2286
|
+
onItemClick: PropTypes.func,
|
|
2287
|
+
onClose: PropTypes.func
|
|
2224
2288
|
};
|
|
2225
2289
|
|
|
2226
2290
|
var AtFloatLayout = /** @class */ (function (_super) {
|
|
@@ -2282,19 +2346,19 @@ AtFloatLayout.defaultProps = {
|
|
|
2282
2346
|
scrollWithAnimation: false
|
|
2283
2347
|
};
|
|
2284
2348
|
AtFloatLayout.propTypes = {
|
|
2285
|
-
title:
|
|
2286
|
-
isOpened:
|
|
2287
|
-
scrollY:
|
|
2288
|
-
scrollX:
|
|
2289
|
-
scrollTop:
|
|
2290
|
-
scrollLeft:
|
|
2291
|
-
upperThreshold:
|
|
2292
|
-
lowerThreshold:
|
|
2293
|
-
scrollWithAnimation:
|
|
2294
|
-
onClose:
|
|
2295
|
-
onScroll:
|
|
2296
|
-
onScrollToLower:
|
|
2297
|
-
onScrollToUpper:
|
|
2349
|
+
title: PropTypes.string,
|
|
2350
|
+
isOpened: PropTypes.bool,
|
|
2351
|
+
scrollY: PropTypes.bool,
|
|
2352
|
+
scrollX: PropTypes.bool,
|
|
2353
|
+
scrollTop: PropTypes.number,
|
|
2354
|
+
scrollLeft: PropTypes.number,
|
|
2355
|
+
upperThreshold: PropTypes.number,
|
|
2356
|
+
lowerThreshold: PropTypes.number,
|
|
2357
|
+
scrollWithAnimation: PropTypes.bool,
|
|
2358
|
+
onClose: PropTypes.func,
|
|
2359
|
+
onScroll: PropTypes.func,
|
|
2360
|
+
onScrollToLower: PropTypes.func,
|
|
2361
|
+
onScrollToUpper: PropTypes.func
|
|
2298
2362
|
};
|
|
2299
2363
|
|
|
2300
2364
|
var AtForm = /** @class */ (function (_super) {
|
|
@@ -2321,11 +2385,11 @@ AtForm.defaultProps = {
|
|
|
2321
2385
|
reportSubmit: false
|
|
2322
2386
|
};
|
|
2323
2387
|
AtForm.propTypes = {
|
|
2324
|
-
customStyle:
|
|
2325
|
-
className:
|
|
2326
|
-
reportSubmit:
|
|
2327
|
-
onSubmit:
|
|
2328
|
-
onReset:
|
|
2388
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
2389
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
2390
|
+
reportSubmit: PropTypes.bool,
|
|
2391
|
+
onSubmit: PropTypes.func,
|
|
2392
|
+
onReset: PropTypes.func
|
|
2329
2393
|
};
|
|
2330
2394
|
|
|
2331
2395
|
/**
|
|
@@ -2695,6 +2759,44 @@ function isIterateeCall(value, index, object) {
|
|
|
2695
2759
|
|
|
2696
2760
|
var _isIterateeCall = isIterateeCall;
|
|
2697
2761
|
|
|
2762
|
+
/** Used to match a single whitespace character. */
|
|
2763
|
+
var reWhitespace = /\s/;
|
|
2764
|
+
|
|
2765
|
+
/**
|
|
2766
|
+
* Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace
|
|
2767
|
+
* character of `string`.
|
|
2768
|
+
*
|
|
2769
|
+
* @private
|
|
2770
|
+
* @param {string} string The string to inspect.
|
|
2771
|
+
* @returns {number} Returns the index of the last non-whitespace character.
|
|
2772
|
+
*/
|
|
2773
|
+
function trimmedEndIndex(string) {
|
|
2774
|
+
var index = string.length;
|
|
2775
|
+
|
|
2776
|
+
while (index-- && reWhitespace.test(string.charAt(index))) {}
|
|
2777
|
+
return index;
|
|
2778
|
+
}
|
|
2779
|
+
|
|
2780
|
+
var _trimmedEndIndex = trimmedEndIndex;
|
|
2781
|
+
|
|
2782
|
+
/** Used to match leading whitespace. */
|
|
2783
|
+
var reTrimStart = /^\s+/;
|
|
2784
|
+
|
|
2785
|
+
/**
|
|
2786
|
+
* The base implementation of `_.trim`.
|
|
2787
|
+
*
|
|
2788
|
+
* @private
|
|
2789
|
+
* @param {string} string The string to trim.
|
|
2790
|
+
* @returns {string} Returns the trimmed string.
|
|
2791
|
+
*/
|
|
2792
|
+
function baseTrim(string) {
|
|
2793
|
+
return string
|
|
2794
|
+
? string.slice(0, _trimmedEndIndex(string) + 1).replace(reTrimStart, '')
|
|
2795
|
+
: string;
|
|
2796
|
+
}
|
|
2797
|
+
|
|
2798
|
+
var _baseTrim = baseTrim;
|
|
2799
|
+
|
|
2698
2800
|
/**
|
|
2699
2801
|
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
|
2700
2802
|
* and has a `typeof` result of "object".
|
|
@@ -2755,9 +2857,6 @@ var isSymbol_1 = isSymbol;
|
|
|
2755
2857
|
/** Used as references for various `Number` constants. */
|
|
2756
2858
|
var NAN = 0 / 0;
|
|
2757
2859
|
|
|
2758
|
-
/** Used to match leading and trailing whitespace. */
|
|
2759
|
-
var reTrim = /^\s+|\s+$/g;
|
|
2760
|
-
|
|
2761
2860
|
/** Used to detect bad signed hexadecimal string values. */
|
|
2762
2861
|
var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
|
|
2763
2862
|
|
|
@@ -2807,7 +2906,7 @@ function toNumber(value) {
|
|
|
2807
2906
|
if (typeof value != 'string') {
|
|
2808
2907
|
return value === 0 ? value : +value;
|
|
2809
2908
|
}
|
|
2810
|
-
value = value
|
|
2909
|
+
value = _baseTrim(value);
|
|
2811
2910
|
var isBinary = reIsBinary.test(value);
|
|
2812
2911
|
return (isBinary || reIsOctal.test(value))
|
|
2813
2912
|
? freeParseInt(value.slice(2), isBinary ? 2 : 8)
|
|
@@ -2993,20 +3092,20 @@ AtGrid.defaultProps = {
|
|
|
2993
3092
|
hasBorder: true
|
|
2994
3093
|
};
|
|
2995
3094
|
AtGrid.propTypes = {
|
|
2996
|
-
mode:
|
|
2997
|
-
onClick:
|
|
2998
|
-
hasBorder:
|
|
2999
|
-
columnNum:
|
|
3000
|
-
data:
|
|
3001
|
-
image:
|
|
3002
|
-
value:
|
|
3003
|
-
iconInfo:
|
|
3004
|
-
size:
|
|
3005
|
-
value:
|
|
3006
|
-
color:
|
|
3007
|
-
prefixClass:
|
|
3008
|
-
customStyle:
|
|
3009
|
-
className:
|
|
3095
|
+
mode: PropTypes.string,
|
|
3096
|
+
onClick: PropTypes.func,
|
|
3097
|
+
hasBorder: PropTypes.bool,
|
|
3098
|
+
columnNum: PropTypes.number,
|
|
3099
|
+
data: PropTypes.arrayOf(PropTypes.shape({
|
|
3100
|
+
image: PropTypes.string,
|
|
3101
|
+
value: PropTypes.string,
|
|
3102
|
+
iconInfo: PropTypes.shape({
|
|
3103
|
+
size: PropTypes.number,
|
|
3104
|
+
value: PropTypes.string,
|
|
3105
|
+
color: PropTypes.string,
|
|
3106
|
+
prefixClass: PropTypes.string,
|
|
3107
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
3108
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string])
|
|
3010
3109
|
})
|
|
3011
3110
|
}))
|
|
3012
3111
|
};
|
|
@@ -3039,13 +3138,13 @@ AtIcon.defaultProps = {
|
|
|
3039
3138
|
size: 24
|
|
3040
3139
|
};
|
|
3041
3140
|
AtIcon.propTypes = {
|
|
3042
|
-
customStyle:
|
|
3043
|
-
className:
|
|
3044
|
-
prefixClass:
|
|
3045
|
-
value:
|
|
3046
|
-
color:
|
|
3047
|
-
size:
|
|
3048
|
-
onClick:
|
|
3141
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
3142
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
3143
|
+
prefixClass: PropTypes.string,
|
|
3144
|
+
value: PropTypes.string,
|
|
3145
|
+
color: PropTypes.string,
|
|
3146
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
3147
|
+
onClick: PropTypes.func
|
|
3049
3148
|
};
|
|
3050
3149
|
|
|
3051
3150
|
function getInputProps(props) {
|
|
@@ -3180,37 +3279,37 @@ AtInput.defaultProps = {
|
|
|
3180
3279
|
onChange: function () { }
|
|
3181
3280
|
};
|
|
3182
3281
|
AtInput.propTypes = {
|
|
3183
|
-
className:
|
|
3184
|
-
customStyle:
|
|
3185
|
-
value:
|
|
3186
|
-
name:
|
|
3187
|
-
placeholder:
|
|
3188
|
-
placeholderStyle:
|
|
3189
|
-
placeholderClass:
|
|
3190
|
-
title:
|
|
3191
|
-
confirmType:
|
|
3192
|
-
cursor:
|
|
3193
|
-
selectionStart:
|
|
3194
|
-
selectionEnd:
|
|
3195
|
-
adjustPosition:
|
|
3196
|
-
cursorSpacing:
|
|
3197
|
-
maxlength:
|
|
3198
|
-
maxLength:
|
|
3199
|
-
type:
|
|
3200
|
-
disabled:
|
|
3201
|
-
border:
|
|
3202
|
-
editable:
|
|
3203
|
-
error:
|
|
3204
|
-
clear:
|
|
3205
|
-
autoFocus:
|
|
3206
|
-
focus:
|
|
3207
|
-
onChange:
|
|
3208
|
-
onFocus:
|
|
3209
|
-
onBlur:
|
|
3210
|
-
onConfirm:
|
|
3211
|
-
onErrorClick:
|
|
3212
|
-
onClick:
|
|
3213
|
-
required:
|
|
3282
|
+
className: PropTypes.oneOfType([PropTypes.string, PropTypes.array]),
|
|
3283
|
+
customStyle: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
|
|
3284
|
+
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
3285
|
+
name: PropTypes.string,
|
|
3286
|
+
placeholder: PropTypes.string,
|
|
3287
|
+
placeholderStyle: PropTypes.string,
|
|
3288
|
+
placeholderClass: PropTypes.string,
|
|
3289
|
+
title: PropTypes.string,
|
|
3290
|
+
confirmType: PropTypes.string,
|
|
3291
|
+
cursor: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
3292
|
+
selectionStart: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
3293
|
+
selectionEnd: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
3294
|
+
adjustPosition: PropTypes.bool,
|
|
3295
|
+
cursorSpacing: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
3296
|
+
maxlength: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
3297
|
+
maxLength: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
3298
|
+
type: PropTypes.string,
|
|
3299
|
+
disabled: PropTypes.bool,
|
|
3300
|
+
border: PropTypes.bool,
|
|
3301
|
+
editable: PropTypes.bool,
|
|
3302
|
+
error: PropTypes.bool,
|
|
3303
|
+
clear: PropTypes.bool,
|
|
3304
|
+
autoFocus: PropTypes.bool,
|
|
3305
|
+
focus: PropTypes.bool,
|
|
3306
|
+
onChange: PropTypes.func,
|
|
3307
|
+
onFocus: PropTypes.func,
|
|
3308
|
+
onBlur: PropTypes.func,
|
|
3309
|
+
onConfirm: PropTypes.func,
|
|
3310
|
+
onErrorClick: PropTypes.func,
|
|
3311
|
+
onClick: PropTypes.func,
|
|
3312
|
+
required: PropTypes.bool
|
|
3214
3313
|
};
|
|
3215
3314
|
|
|
3216
3315
|
/**
|
|
@@ -3470,20 +3569,20 @@ AtInputNumber.defaultProps = {
|
|
|
3470
3569
|
onChange: function () { }
|
|
3471
3570
|
};
|
|
3472
3571
|
AtInputNumber.propTypes = {
|
|
3473
|
-
customStyle:
|
|
3474
|
-
className:
|
|
3475
|
-
value:
|
|
3476
|
-
type:
|
|
3477
|
-
disabled:
|
|
3478
|
-
width:
|
|
3479
|
-
min:
|
|
3480
|
-
max:
|
|
3481
|
-
step:
|
|
3482
|
-
size:
|
|
3483
|
-
disabledInput:
|
|
3484
|
-
onChange:
|
|
3485
|
-
onBlur:
|
|
3486
|
-
onErrorInput:
|
|
3572
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
3573
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
3574
|
+
value: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
3575
|
+
type: PropTypes.oneOf(['number', 'digit']),
|
|
3576
|
+
disabled: PropTypes.bool,
|
|
3577
|
+
width: PropTypes.number,
|
|
3578
|
+
min: PropTypes.number,
|
|
3579
|
+
max: PropTypes.number,
|
|
3580
|
+
step: PropTypes.number,
|
|
3581
|
+
size: PropTypes.oneOf(['normal', 'large']),
|
|
3582
|
+
disabledInput: PropTypes.bool,
|
|
3583
|
+
onChange: PropTypes.func,
|
|
3584
|
+
onBlur: PropTypes.func,
|
|
3585
|
+
onErrorInput: PropTypes.func
|
|
3487
3586
|
};
|
|
3488
3587
|
|
|
3489
3588
|
var AtModalAction = /** @class */ (function (_super) {
|
|
@@ -3504,7 +3603,7 @@ AtModalAction.defaultProps = {
|
|
|
3504
3603
|
isSimple: false
|
|
3505
3604
|
};
|
|
3506
3605
|
AtModalAction.propTypes = {
|
|
3507
|
-
isSimple:
|
|
3606
|
+
isSimple: PropTypes.bool
|
|
3508
3607
|
};
|
|
3509
3608
|
|
|
3510
3609
|
var AtModalContent = /** @class */ (function (_super) {
|
|
@@ -3611,15 +3710,15 @@ AtModal.defaultProps = {
|
|
|
3611
3710
|
closeOnClickOverlay: true
|
|
3612
3711
|
};
|
|
3613
3712
|
AtModal.propTypes = {
|
|
3614
|
-
title:
|
|
3615
|
-
isOpened:
|
|
3616
|
-
onCancel:
|
|
3617
|
-
onConfirm:
|
|
3618
|
-
onClose:
|
|
3619
|
-
content:
|
|
3620
|
-
closeOnClickOverlay:
|
|
3621
|
-
cancelText:
|
|
3622
|
-
confirmText:
|
|
3713
|
+
title: PropTypes.string,
|
|
3714
|
+
isOpened: PropTypes.bool,
|
|
3715
|
+
onCancel: PropTypes.func,
|
|
3716
|
+
onConfirm: PropTypes.func,
|
|
3717
|
+
onClose: PropTypes.func,
|
|
3718
|
+
content: PropTypes.string,
|
|
3719
|
+
closeOnClickOverlay: PropTypes.bool,
|
|
3720
|
+
cancelText: PropTypes.string,
|
|
3721
|
+
confirmText: PropTypes.string
|
|
3623
3722
|
};
|
|
3624
3723
|
|
|
3625
3724
|
var AtNavBar = /** @class */ (function (_super) {
|
|
@@ -3709,23 +3808,23 @@ AtNavBar.defaultProps = {
|
|
|
3709
3808
|
rightSecondIconType: ''
|
|
3710
3809
|
};
|
|
3711
3810
|
AtNavBar.propTypes = {
|
|
3712
|
-
customStyle:
|
|
3713
|
-
className:
|
|
3714
|
-
fixed:
|
|
3715
|
-
border:
|
|
3716
|
-
color:
|
|
3717
|
-
leftIconType:
|
|
3718
|
-
leftText:
|
|
3719
|
-
title:
|
|
3720
|
-
rightFirstIconType:
|
|
3721
|
-
rightSecondIconType:
|
|
3722
|
-
|
|
3723
|
-
|
|
3811
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
3812
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
3813
|
+
fixed: PropTypes.bool,
|
|
3814
|
+
border: PropTypes.bool,
|
|
3815
|
+
color: PropTypes.string,
|
|
3816
|
+
leftIconType: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
|
|
3817
|
+
leftText: PropTypes.string,
|
|
3818
|
+
title: PropTypes.string,
|
|
3819
|
+
rightFirstIconType: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
|
|
3820
|
+
rightSecondIconType: PropTypes.oneOfType([
|
|
3821
|
+
PropTypes.string,
|
|
3822
|
+
PropTypes.object
|
|
3724
3823
|
]),
|
|
3725
|
-
onClickLeftIcon:
|
|
3726
|
-
onClickRgIconSt:
|
|
3727
|
-
onClickRgIconNd:
|
|
3728
|
-
onClickTitle:
|
|
3824
|
+
onClickLeftIcon: PropTypes.func,
|
|
3825
|
+
onClickRgIconSt: PropTypes.func,
|
|
3826
|
+
onClickRgIconNd: PropTypes.func,
|
|
3827
|
+
onClickTitle: PropTypes.func
|
|
3729
3828
|
};
|
|
3730
3829
|
|
|
3731
3830
|
var AtNoticebar = /** @class */ (function (_super) {
|
|
@@ -3878,16 +3977,16 @@ AtNoticebar.defaultProps = {
|
|
|
3878
3977
|
customStyle: {}
|
|
3879
3978
|
};
|
|
3880
3979
|
AtNoticebar.propTypes = {
|
|
3881
|
-
close:
|
|
3882
|
-
single:
|
|
3883
|
-
marquee:
|
|
3884
|
-
speed:
|
|
3885
|
-
moreText:
|
|
3886
|
-
showMore:
|
|
3887
|
-
icon:
|
|
3888
|
-
customStyle:
|
|
3889
|
-
onClose:
|
|
3890
|
-
onGotoMore:
|
|
3980
|
+
close: PropTypes.bool,
|
|
3981
|
+
single: PropTypes.bool,
|
|
3982
|
+
marquee: PropTypes.bool,
|
|
3983
|
+
speed: PropTypes.number,
|
|
3984
|
+
moreText: PropTypes.string,
|
|
3985
|
+
showMore: PropTypes.bool,
|
|
3986
|
+
icon: PropTypes.string,
|
|
3987
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
3988
|
+
onClose: PropTypes.func,
|
|
3989
|
+
onGotoMore: PropTypes.func
|
|
3891
3990
|
};
|
|
3892
3991
|
|
|
3893
3992
|
var MIN_MAXPAGE = 1;
|
|
@@ -3996,12 +4095,12 @@ AtPagination.defaultProps = {
|
|
|
3996
4095
|
customStyle: {}
|
|
3997
4096
|
};
|
|
3998
4097
|
AtPagination.propTypes = {
|
|
3999
|
-
current:
|
|
4000
|
-
total:
|
|
4001
|
-
pageSize:
|
|
4002
|
-
icon:
|
|
4003
|
-
customStyle:
|
|
4004
|
-
onPageChange:
|
|
4098
|
+
current: PropTypes.number,
|
|
4099
|
+
total: PropTypes.number,
|
|
4100
|
+
pageSize: PropTypes.number,
|
|
4101
|
+
icon: PropTypes.bool,
|
|
4102
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
4103
|
+
onPageChange: PropTypes.func
|
|
4005
4104
|
};
|
|
4006
4105
|
|
|
4007
4106
|
var AtProgress = /** @class */ (function (_super) {
|
|
@@ -4044,11 +4143,11 @@ var AtProgress = /** @class */ (function (_super) {
|
|
|
4044
4143
|
return AtProgress;
|
|
4045
4144
|
}(React.Component));
|
|
4046
4145
|
AtProgress.propTypes = {
|
|
4047
|
-
color:
|
|
4048
|
-
status:
|
|
4049
|
-
percent:
|
|
4050
|
-
strokeWidth:
|
|
4051
|
-
isHidePercent:
|
|
4146
|
+
color: PropTypes.string,
|
|
4147
|
+
status: PropTypes.string,
|
|
4148
|
+
percent: PropTypes.number,
|
|
4149
|
+
strokeWidth: PropTypes.number,
|
|
4150
|
+
isHidePercent: PropTypes.bool
|
|
4052
4151
|
};
|
|
4053
4152
|
|
|
4054
4153
|
var AtRadio = /** @class */ (function (_super) {
|
|
@@ -4089,11 +4188,11 @@ AtRadio.defaultProps = {
|
|
|
4089
4188
|
onClick: function () { }
|
|
4090
4189
|
};
|
|
4091
4190
|
AtRadio.propTypes = {
|
|
4092
|
-
customStyle:
|
|
4093
|
-
className:
|
|
4094
|
-
value:
|
|
4095
|
-
options:
|
|
4096
|
-
onClick:
|
|
4191
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
4192
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
4193
|
+
value: PropTypes.string,
|
|
4194
|
+
options: PropTypes.array,
|
|
4195
|
+
onClick: PropTypes.func
|
|
4097
4196
|
};
|
|
4098
4197
|
|
|
4099
4198
|
var AtRate = /** @class */ (function (_super) {
|
|
@@ -4144,13 +4243,13 @@ AtRate.defaultProps = {
|
|
|
4144
4243
|
margin: 5
|
|
4145
4244
|
};
|
|
4146
4245
|
AtRate.propTypes = {
|
|
4147
|
-
customStyle:
|
|
4148
|
-
className:
|
|
4149
|
-
size:
|
|
4150
|
-
value:
|
|
4151
|
-
max:
|
|
4152
|
-
margin:
|
|
4153
|
-
onChange:
|
|
4246
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
4247
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
4248
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
4249
|
+
value: PropTypes.number,
|
|
4250
|
+
max: PropTypes.number,
|
|
4251
|
+
margin: PropTypes.number,
|
|
4252
|
+
onChange: PropTypes.func
|
|
4154
4253
|
};
|
|
4155
4254
|
|
|
4156
4255
|
var AtSegmentedControl = /** @class */ (function (_super) {
|
|
@@ -4203,14 +4302,14 @@ AtSegmentedControl.defaultProps = {
|
|
|
4203
4302
|
onClick: function () { }
|
|
4204
4303
|
};
|
|
4205
4304
|
AtSegmentedControl.propTypes = {
|
|
4206
|
-
customStyle:
|
|
4207
|
-
className:
|
|
4208
|
-
current:
|
|
4209
|
-
color:
|
|
4210
|
-
fontSize:
|
|
4211
|
-
disabled:
|
|
4212
|
-
values:
|
|
4213
|
-
onClick:
|
|
4305
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
4306
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
4307
|
+
current: PropTypes.number,
|
|
4308
|
+
color: PropTypes.string,
|
|
4309
|
+
fontSize: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
4310
|
+
disabled: PropTypes.bool,
|
|
4311
|
+
values: PropTypes.array,
|
|
4312
|
+
onClick: PropTypes.func
|
|
4214
4313
|
};
|
|
4215
4314
|
|
|
4216
4315
|
var AtSwitch = /** @class */ (function (_super) {
|
|
@@ -4250,14 +4349,14 @@ AtSwitch.defaultProps = {
|
|
|
4250
4349
|
checked: false
|
|
4251
4350
|
};
|
|
4252
4351
|
AtSwitch.propTypes = {
|
|
4253
|
-
customStyle:
|
|
4254
|
-
className:
|
|
4255
|
-
title:
|
|
4256
|
-
color:
|
|
4257
|
-
checked:
|
|
4258
|
-
border:
|
|
4259
|
-
disabled:
|
|
4260
|
-
onChange:
|
|
4352
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
4353
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
4354
|
+
title: PropTypes.string,
|
|
4355
|
+
color: PropTypes.string,
|
|
4356
|
+
checked: PropTypes.bool,
|
|
4357
|
+
border: PropTypes.bool,
|
|
4358
|
+
disabled: PropTypes.bool,
|
|
4359
|
+
onChange: PropTypes.func
|
|
4261
4360
|
};
|
|
4262
4361
|
|
|
4263
4362
|
var AtTabBar = /** @class */ (function (_super) {
|
|
@@ -4346,17 +4445,17 @@ AtTabBar.defaultProps = {
|
|
|
4346
4445
|
onClick: function () { }
|
|
4347
4446
|
};
|
|
4348
4447
|
AtTabBar.propTypes = {
|
|
4349
|
-
customStyle:
|
|
4350
|
-
className:
|
|
4351
|
-
fixed:
|
|
4352
|
-
backgroundColor:
|
|
4353
|
-
current:
|
|
4354
|
-
iconSize:
|
|
4355
|
-
fontSize:
|
|
4356
|
-
color:
|
|
4357
|
-
selectedColor:
|
|
4358
|
-
tabList:
|
|
4359
|
-
onClick:
|
|
4448
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
4449
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
4450
|
+
fixed: PropTypes.bool,
|
|
4451
|
+
backgroundColor: PropTypes.string,
|
|
4452
|
+
current: PropTypes.number,
|
|
4453
|
+
iconSize: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
4454
|
+
fontSize: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
4455
|
+
color: PropTypes.string,
|
|
4456
|
+
selectedColor: PropTypes.string,
|
|
4457
|
+
tabList: PropTypes.array,
|
|
4458
|
+
onClick: PropTypes.func
|
|
4360
4459
|
};
|
|
4361
4460
|
|
|
4362
4461
|
var ENV$3 = Taro.getEnv();
|
|
@@ -4538,16 +4637,16 @@ AtTabs.defaultProps = {
|
|
|
4538
4637
|
onClick: function () { }
|
|
4539
4638
|
};
|
|
4540
4639
|
AtTabs.propTypes = {
|
|
4541
|
-
customStyle:
|
|
4542
|
-
className:
|
|
4543
|
-
height:
|
|
4544
|
-
tabDirection:
|
|
4545
|
-
current:
|
|
4546
|
-
swipeable:
|
|
4547
|
-
scroll:
|
|
4548
|
-
animated:
|
|
4549
|
-
tabList:
|
|
4550
|
-
onClick:
|
|
4640
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
4641
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
4642
|
+
height: PropTypes.string,
|
|
4643
|
+
tabDirection: PropTypes.oneOf(['horizontal', 'vertical']),
|
|
4644
|
+
current: PropTypes.number,
|
|
4645
|
+
swipeable: PropTypes.bool,
|
|
4646
|
+
scroll: PropTypes.bool,
|
|
4647
|
+
animated: PropTypes.bool,
|
|
4648
|
+
tabList: PropTypes.array,
|
|
4649
|
+
onClick: PropTypes.func
|
|
4551
4650
|
};
|
|
4552
4651
|
|
|
4553
4652
|
var AtTabsPane = /** @class */ (function (_super) {
|
|
@@ -4574,11 +4673,11 @@ AtTabsPane.defaultProps = {
|
|
|
4574
4673
|
current: 0
|
|
4575
4674
|
};
|
|
4576
4675
|
AtTabsPane.propTypes = {
|
|
4577
|
-
customStyle:
|
|
4578
|
-
className:
|
|
4579
|
-
tabDirection:
|
|
4580
|
-
index:
|
|
4581
|
-
current:
|
|
4676
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
4677
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
4678
|
+
tabDirection: PropTypes.oneOf(['horizontal', 'vertical']),
|
|
4679
|
+
index: PropTypes.number,
|
|
4680
|
+
current: PropTypes.number
|
|
4582
4681
|
};
|
|
4583
4682
|
|
|
4584
4683
|
var SIZE_CLASS = {
|
|
@@ -4628,14 +4727,14 @@ AtTag.defaultProps = {
|
|
|
4628
4727
|
customStyle: {}
|
|
4629
4728
|
};
|
|
4630
4729
|
AtTag.propTypes = {
|
|
4631
|
-
size:
|
|
4632
|
-
type:
|
|
4633
|
-
name:
|
|
4634
|
-
circle:
|
|
4635
|
-
active:
|
|
4636
|
-
disabled:
|
|
4637
|
-
customStyle:
|
|
4638
|
-
onClick:
|
|
4730
|
+
size: PropTypes.oneOf(['normal', 'small']),
|
|
4731
|
+
type: PropTypes.oneOf(['', 'primary']),
|
|
4732
|
+
name: PropTypes.string,
|
|
4733
|
+
circle: PropTypes.bool,
|
|
4734
|
+
active: PropTypes.bool,
|
|
4735
|
+
disabled: PropTypes.bool,
|
|
4736
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
4737
|
+
onClick: PropTypes.func
|
|
4639
4738
|
};
|
|
4640
4739
|
|
|
4641
4740
|
function getMaxLength(maxLength, textOverflowForbidden) {
|
|
@@ -4705,29 +4804,29 @@ AtTextarea.defaultProps = {
|
|
|
4705
4804
|
onChange: function () { }
|
|
4706
4805
|
};
|
|
4707
4806
|
AtTextarea.propTypes = {
|
|
4708
|
-
customStyle:
|
|
4709
|
-
className:
|
|
4710
|
-
value:
|
|
4711
|
-
cursorSpacing:
|
|
4712
|
-
maxLength:
|
|
4713
|
-
placeholderClass:
|
|
4714
|
-
placeholderStyle:
|
|
4715
|
-
placeholder:
|
|
4716
|
-
disabled:
|
|
4717
|
-
autoFocus:
|
|
4718
|
-
focus:
|
|
4719
|
-
showConfirmBar:
|
|
4720
|
-
selectionStart:
|
|
4721
|
-
selectionEnd:
|
|
4722
|
-
count:
|
|
4723
|
-
textOverflowForbidden:
|
|
4724
|
-
fixed:
|
|
4725
|
-
height:
|
|
4726
|
-
onLinechange:
|
|
4727
|
-
onChange:
|
|
4728
|
-
onFocus:
|
|
4729
|
-
onBlur:
|
|
4730
|
-
onConfirm:
|
|
4807
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
4808
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
4809
|
+
value: PropTypes.string.isRequired,
|
|
4810
|
+
cursorSpacing: PropTypes.number,
|
|
4811
|
+
maxLength: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
4812
|
+
placeholderClass: PropTypes.string,
|
|
4813
|
+
placeholderStyle: PropTypes.string,
|
|
4814
|
+
placeholder: PropTypes.string,
|
|
4815
|
+
disabled: PropTypes.bool,
|
|
4816
|
+
autoFocus: PropTypes.bool,
|
|
4817
|
+
focus: PropTypes.bool,
|
|
4818
|
+
showConfirmBar: PropTypes.bool,
|
|
4819
|
+
selectionStart: PropTypes.number,
|
|
4820
|
+
selectionEnd: PropTypes.number,
|
|
4821
|
+
count: PropTypes.bool,
|
|
4822
|
+
textOverflowForbidden: PropTypes.bool,
|
|
4823
|
+
fixed: PropTypes.bool,
|
|
4824
|
+
height: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
4825
|
+
onLinechange: PropTypes.func,
|
|
4826
|
+
onChange: PropTypes.func.isRequired,
|
|
4827
|
+
onFocus: PropTypes.func,
|
|
4828
|
+
onBlur: PropTypes.func,
|
|
4829
|
+
onConfirm: PropTypes.func
|
|
4731
4830
|
};
|
|
4732
4831
|
|
|
4733
4832
|
var AtTimeline = /** @class */ (function (_super) {
|
|
@@ -4781,9 +4880,9 @@ AtTimeline.defaultProps = {
|
|
|
4781
4880
|
customStyle: {}
|
|
4782
4881
|
};
|
|
4783
4882
|
AtTimeline.propTypes = {
|
|
4784
|
-
pending:
|
|
4785
|
-
items:
|
|
4786
|
-
customStyle:
|
|
4883
|
+
pending: PropTypes.bool,
|
|
4884
|
+
items: PropTypes.arrayOf(PropTypes.object),
|
|
4885
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string])
|
|
4787
4886
|
};
|
|
4788
4887
|
|
|
4789
4888
|
var error = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAGwtJREFUeAHtnUusndV1x7mAIYABG/MUYGzLBCUtFHcCtB3YZgISGaCodOQ4QGGSoJAgV5FiOTAALBowY6tFASoUmYyS0EoRYPEonUUKRETYKNhWEnCwFZvWEIzB/f3v/T773HPP2Wt/79da0v/uc85+rfVfa93vsff5zswpLpUwcPz48aUMvAKsTMpLKC8Ey0bKc3h9JjhjpOTlKUfBpyPlEV4fBAdGyv283gPeUzkzM/NnSpeSG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RGJ8H2vauanAJMupBkkX/mf8RKFn+HgyaD+xP5Tgv/hsoKZ4nKXSkG6R4QCRuJ1lW8lKnYEJn71Ql5uQt3qXjs+A/SIrf5R2kT/08QSZ4k2S5iY//CdwM/gr0lScdKX4DXgY7SIo3KF1GGOir40dMLPaSZNGmxnVgfYK6LvCLKT69ty60lRDCTpLiw+lNvcYTJGMMkDBX0GU0YZZnHKLu5rolO5oQv69bgS7P5wlS0HvJEeY6hklxLa91DXN+waGzdj9MB11DvAXeTOFHCJgoIJ4gBcgLdSVxtO1iBViZlJdSai1jdD1DK9Ba8xDSdQ9ezlsX0RrJ/4HR9RO9/gDsAe+pJBH+TOlSMgP/D3W7PKH+6NniAAAAAElFTkSuQmCC";
|
|
@@ -4902,15 +5001,15 @@ AtToast.defaultProps = {
|
|
|
4902
5001
|
isOpened: false
|
|
4903
5002
|
};
|
|
4904
5003
|
AtToast.propTypes = {
|
|
4905
|
-
text:
|
|
4906
|
-
icon:
|
|
4907
|
-
hasMask:
|
|
4908
|
-
image:
|
|
4909
|
-
isOpened:
|
|
4910
|
-
duration:
|
|
4911
|
-
status:
|
|
4912
|
-
onClick:
|
|
4913
|
-
onClose:
|
|
5004
|
+
text: PropTypes.string,
|
|
5005
|
+
icon: PropTypes.string,
|
|
5006
|
+
hasMask: PropTypes.bool,
|
|
5007
|
+
image: PropTypes.string,
|
|
5008
|
+
isOpened: PropTypes.bool,
|
|
5009
|
+
duration: PropTypes.number,
|
|
5010
|
+
status: PropTypes.oneOf(['', 'error', 'loading', 'success']),
|
|
5011
|
+
onClick: PropTypes.func,
|
|
5012
|
+
onClose: PropTypes.func
|
|
4914
5013
|
};
|
|
4915
5014
|
|
|
4916
5015
|
var AtAccordion = /** @class */ (function (_super) {
|
|
@@ -5018,15 +5117,15 @@ AtAccordion.defaultProps = {
|
|
|
5018
5117
|
isAnimation: true
|
|
5019
5118
|
};
|
|
5020
5119
|
AtAccordion.propTypes = {
|
|
5021
|
-
customStyle:
|
|
5022
|
-
className:
|
|
5023
|
-
open:
|
|
5024
|
-
isAnimation:
|
|
5025
|
-
title:
|
|
5026
|
-
note:
|
|
5027
|
-
icon:
|
|
5028
|
-
hasBorder:
|
|
5029
|
-
onClick:
|
|
5120
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
5121
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
5122
|
+
open: PropTypes.bool,
|
|
5123
|
+
isAnimation: PropTypes.bool,
|
|
5124
|
+
title: PropTypes.string,
|
|
5125
|
+
note: PropTypes.string,
|
|
5126
|
+
icon: PropTypes.object,
|
|
5127
|
+
hasBorder: PropTypes.bool,
|
|
5128
|
+
onClick: PropTypes.func
|
|
5030
5129
|
};
|
|
5031
5130
|
|
|
5032
5131
|
var AtSlider = /** @class */ (function (_super) {
|
|
@@ -5089,20 +5188,20 @@ AtSlider.defaultProps = {
|
|
|
5089
5188
|
showValue: false
|
|
5090
5189
|
};
|
|
5091
5190
|
AtSlider.propTypes = {
|
|
5092
|
-
customStyle:
|
|
5093
|
-
className:
|
|
5094
|
-
min:
|
|
5095
|
-
max:
|
|
5096
|
-
step:
|
|
5097
|
-
value:
|
|
5098
|
-
disabled:
|
|
5099
|
-
activeColor:
|
|
5100
|
-
backgroundColor:
|
|
5101
|
-
blockSize:
|
|
5102
|
-
blockColor:
|
|
5103
|
-
showValue:
|
|
5104
|
-
onChange:
|
|
5105
|
-
onChanging:
|
|
5191
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
5192
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
5193
|
+
min: PropTypes.number,
|
|
5194
|
+
max: PropTypes.number,
|
|
5195
|
+
step: PropTypes.number,
|
|
5196
|
+
value: PropTypes.number,
|
|
5197
|
+
disabled: PropTypes.bool,
|
|
5198
|
+
activeColor: PropTypes.string,
|
|
5199
|
+
backgroundColor: PropTypes.string,
|
|
5200
|
+
blockSize: PropTypes.number,
|
|
5201
|
+
blockColor: PropTypes.string,
|
|
5202
|
+
showValue: PropTypes.bool,
|
|
5203
|
+
onChange: PropTypes.func,
|
|
5204
|
+
onChanging: PropTypes.func
|
|
5106
5205
|
};
|
|
5107
5206
|
|
|
5108
5207
|
var AtSwipeActionOptions = /** @class */ (function (_super) {
|
|
@@ -5290,21 +5389,21 @@ AtSwipeAction.defaultProps = {
|
|
|
5290
5389
|
areaWidth: 0
|
|
5291
5390
|
};
|
|
5292
5391
|
AtSwipeAction.propTypes = {
|
|
5293
|
-
isOpened:
|
|
5294
|
-
disabled:
|
|
5295
|
-
autoClose:
|
|
5296
|
-
options:
|
|
5297
|
-
text:
|
|
5298
|
-
style:
|
|
5299
|
-
className:
|
|
5300
|
-
|
|
5301
|
-
|
|
5302
|
-
|
|
5392
|
+
isOpened: PropTypes.bool,
|
|
5393
|
+
disabled: PropTypes.bool,
|
|
5394
|
+
autoClose: PropTypes.bool,
|
|
5395
|
+
options: PropTypes.arrayOf(PropTypes.shape({
|
|
5396
|
+
text: PropTypes.string,
|
|
5397
|
+
style: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
5398
|
+
className: PropTypes.oneOfType([
|
|
5399
|
+
PropTypes.object,
|
|
5400
|
+
PropTypes.string,
|
|
5401
|
+
PropTypes.array
|
|
5303
5402
|
])
|
|
5304
5403
|
})),
|
|
5305
|
-
onClick:
|
|
5306
|
-
onOpened:
|
|
5307
|
-
onClosed:
|
|
5404
|
+
onClick: PropTypes.func,
|
|
5405
|
+
onOpened: PropTypes.func,
|
|
5406
|
+
onClosed: PropTypes.func
|
|
5308
5407
|
};
|
|
5309
5408
|
|
|
5310
5409
|
var AtSearchBar = /** @class */ (function (_super) {
|
|
@@ -5409,22 +5508,22 @@ AtSearchBar.defaultProps = {
|
|
|
5409
5508
|
enableNative: true
|
|
5410
5509
|
};
|
|
5411
5510
|
AtSearchBar.propTypes = {
|
|
5412
|
-
value:
|
|
5413
|
-
placeholder:
|
|
5414
|
-
maxLength:
|
|
5415
|
-
fixed:
|
|
5416
|
-
focus:
|
|
5417
|
-
disabled:
|
|
5418
|
-
showActionButton:
|
|
5419
|
-
actionName:
|
|
5420
|
-
inputType:
|
|
5421
|
-
onChange:
|
|
5422
|
-
onFocus:
|
|
5423
|
-
onBlur:
|
|
5424
|
-
onConfirm:
|
|
5425
|
-
onActionClick:
|
|
5426
|
-
onClear:
|
|
5427
|
-
enableNative:
|
|
5511
|
+
value: PropTypes.string,
|
|
5512
|
+
placeholder: PropTypes.string,
|
|
5513
|
+
maxLength: PropTypes.number,
|
|
5514
|
+
fixed: PropTypes.bool,
|
|
5515
|
+
focus: PropTypes.bool,
|
|
5516
|
+
disabled: PropTypes.bool,
|
|
5517
|
+
showActionButton: PropTypes.bool,
|
|
5518
|
+
actionName: PropTypes.string,
|
|
5519
|
+
inputType: PropTypes.oneOf(['text', 'number', 'idcard', 'digit']),
|
|
5520
|
+
onChange: PropTypes.func,
|
|
5521
|
+
onFocus: PropTypes.func,
|
|
5522
|
+
onBlur: PropTypes.func,
|
|
5523
|
+
onConfirm: PropTypes.func,
|
|
5524
|
+
onActionClick: PropTypes.func,
|
|
5525
|
+
onClear: PropTypes.func,
|
|
5526
|
+
enableNative: PropTypes.bool
|
|
5428
5527
|
};
|
|
5429
5528
|
|
|
5430
5529
|
var AtLoadMore = /** @class */ (function (_super) {
|
|
@@ -5463,15 +5562,15 @@ AtLoadMore.defaultProps = {
|
|
|
5463
5562
|
noMoreText: '没有更多'
|
|
5464
5563
|
};
|
|
5465
5564
|
AtLoadMore.propTypes = {
|
|
5466
|
-
customStyle:
|
|
5467
|
-
className:
|
|
5468
|
-
noMoreTextStyle:
|
|
5469
|
-
moreBtnStyle:
|
|
5470
|
-
status:
|
|
5471
|
-
loadingText:
|
|
5472
|
-
moreText:
|
|
5473
|
-
noMoreText:
|
|
5474
|
-
onClick:
|
|
5565
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
5566
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
5567
|
+
noMoreTextStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
5568
|
+
moreBtnStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
5569
|
+
status: PropTypes.oneOf(['more', 'loading', 'noMore']),
|
|
5570
|
+
loadingText: PropTypes.string,
|
|
5571
|
+
moreText: PropTypes.string,
|
|
5572
|
+
noMoreText: PropTypes.string,
|
|
5573
|
+
onClick: PropTypes.func
|
|
5475
5574
|
};
|
|
5476
5575
|
|
|
5477
5576
|
var AtDivider = /** @class */ (function (_super) {
|
|
@@ -5505,13 +5604,13 @@ AtDivider.defaultProps = {
|
|
|
5505
5604
|
lineColor: ''
|
|
5506
5605
|
};
|
|
5507
5606
|
AtDivider.propTypes = {
|
|
5508
|
-
customStyle:
|
|
5509
|
-
className:
|
|
5510
|
-
content:
|
|
5511
|
-
height:
|
|
5512
|
-
fontColor:
|
|
5513
|
-
fontSize:
|
|
5514
|
-
lineColor:
|
|
5607
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
5608
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
5609
|
+
content: PropTypes.string,
|
|
5610
|
+
height: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
5611
|
+
fontColor: PropTypes.string,
|
|
5612
|
+
fontSize: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
5613
|
+
lineColor: PropTypes.string
|
|
5515
5614
|
};
|
|
5516
5615
|
|
|
5517
5616
|
var AtCountdownItem = /** @class */ (function (_super) {
|
|
@@ -5536,8 +5635,8 @@ AtCountdownItem.defaultProps = {
|
|
|
5536
5635
|
separator: ':'
|
|
5537
5636
|
};
|
|
5538
5637
|
AtCountdownItem.propTypes = {
|
|
5539
|
-
num:
|
|
5540
|
-
separator:
|
|
5638
|
+
num: PropTypes.number.isRequired,
|
|
5639
|
+
separator: PropTypes.string
|
|
5541
5640
|
};
|
|
5542
5641
|
|
|
5543
5642
|
var toSeconds = function (day, hours, minutes, seconds) { return day * 60 * 60 * 24 + hours * 60 * 60 + minutes * 60 + seconds; };
|
|
@@ -5662,18 +5761,18 @@ AtCountdown.defaultProps = {
|
|
|
5662
5761
|
seconds: 0
|
|
5663
5762
|
};
|
|
5664
5763
|
AtCountdown.propTypes = {
|
|
5665
|
-
customStyle:
|
|
5666
|
-
className:
|
|
5667
|
-
isCard:
|
|
5668
|
-
isShowDay:
|
|
5669
|
-
isShowHour:
|
|
5670
|
-
isShowMinute:
|
|
5671
|
-
format:
|
|
5672
|
-
day:
|
|
5673
|
-
hours:
|
|
5674
|
-
minutes:
|
|
5675
|
-
seconds:
|
|
5676
|
-
onTimeUp:
|
|
5764
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
5765
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
5766
|
+
isCard: PropTypes.bool,
|
|
5767
|
+
isShowDay: PropTypes.bool,
|
|
5768
|
+
isShowHour: PropTypes.bool,
|
|
5769
|
+
isShowMinute: PropTypes.bool,
|
|
5770
|
+
format: PropTypes.object,
|
|
5771
|
+
day: PropTypes.number,
|
|
5772
|
+
hours: PropTypes.number,
|
|
5773
|
+
minutes: PropTypes.number,
|
|
5774
|
+
seconds: PropTypes.number,
|
|
5775
|
+
onTimeUp: PropTypes.func
|
|
5677
5776
|
};
|
|
5678
5777
|
|
|
5679
5778
|
var AtSteps = /** @class */ (function (_super) {
|
|
@@ -5724,11 +5823,11 @@ AtSteps.defaultProps = {
|
|
|
5724
5823
|
onChange: function () { }
|
|
5725
5824
|
};
|
|
5726
5825
|
AtSteps.propTypes = {
|
|
5727
|
-
customStyle:
|
|
5728
|
-
className:
|
|
5729
|
-
current:
|
|
5730
|
-
items:
|
|
5731
|
-
onChange:
|
|
5826
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
5827
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
5828
|
+
current: PropTypes.number,
|
|
5829
|
+
items: PropTypes.array,
|
|
5830
|
+
onChange: PropTypes.func
|
|
5732
5831
|
};
|
|
5733
5832
|
|
|
5734
5833
|
var AtCurtain = /** @class */ (function (_super) {
|
|
@@ -5772,11 +5871,11 @@ AtCurtain.defaultProps = {
|
|
|
5772
5871
|
onClose: function () { }
|
|
5773
5872
|
};
|
|
5774
5873
|
AtCurtain.propTypes = {
|
|
5775
|
-
customStyle:
|
|
5776
|
-
className:
|
|
5777
|
-
isOpened:
|
|
5778
|
-
closeBtnPosition:
|
|
5779
|
-
onClose:
|
|
5874
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
5875
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
5876
|
+
isOpened: PropTypes.bool,
|
|
5877
|
+
closeBtnPosition: PropTypes.string,
|
|
5878
|
+
onClose: PropTypes.func
|
|
5780
5879
|
};
|
|
5781
5880
|
|
|
5782
5881
|
var AtMessage = /** @class */ (function (_super) {
|
|
@@ -5844,8 +5943,8 @@ AtMessage.defaultProps = {
|
|
|
5844
5943
|
className: ''
|
|
5845
5944
|
};
|
|
5846
5945
|
AtMessage.propTypes = {
|
|
5847
|
-
customStyle:
|
|
5848
|
-
className:
|
|
5946
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
5947
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string])
|
|
5849
5948
|
};
|
|
5850
5949
|
|
|
5851
5950
|
// 生成 jsx 二维矩阵
|
|
@@ -5957,10 +6056,10 @@ AtImagePicker.defaultProps = {
|
|
|
5957
6056
|
onChange: function () { }
|
|
5958
6057
|
};
|
|
5959
6058
|
AtImagePicker.propTypes = {
|
|
5960
|
-
className:
|
|
5961
|
-
customStyle:
|
|
5962
|
-
files:
|
|
5963
|
-
mode:
|
|
6059
|
+
className: PropTypes.oneOfType([PropTypes.string, PropTypes.array]),
|
|
6060
|
+
customStyle: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
|
|
6061
|
+
files: PropTypes.array,
|
|
6062
|
+
mode: PropTypes.oneOf([
|
|
5964
6063
|
'scaleToFill',
|
|
5965
6064
|
'aspectFit',
|
|
5966
6065
|
'aspectFill',
|
|
@@ -5975,15 +6074,15 @@ AtImagePicker.propTypes = {
|
|
|
5975
6074
|
'bottom left',
|
|
5976
6075
|
'bottom right'
|
|
5977
6076
|
]),
|
|
5978
|
-
showAddBtn:
|
|
5979
|
-
multiple:
|
|
5980
|
-
length:
|
|
5981
|
-
onChange:
|
|
5982
|
-
onImageClick:
|
|
5983
|
-
onFail:
|
|
5984
|
-
count:
|
|
5985
|
-
sizeType:
|
|
5986
|
-
sourceType:
|
|
6077
|
+
showAddBtn: PropTypes.bool,
|
|
6078
|
+
multiple: PropTypes.bool,
|
|
6079
|
+
length: PropTypes.number,
|
|
6080
|
+
onChange: PropTypes.func,
|
|
6081
|
+
onImageClick: PropTypes.func,
|
|
6082
|
+
onFail: PropTypes.func,
|
|
6083
|
+
count: PropTypes.number,
|
|
6084
|
+
sizeType: PropTypes.array,
|
|
6085
|
+
sourceType: PropTypes.array
|
|
5987
6086
|
};
|
|
5988
6087
|
|
|
5989
6088
|
var AtRange = /** @class */ (function (_super) {
|
|
@@ -6125,18 +6224,18 @@ AtRange.defaultProps = {
|
|
|
6125
6224
|
blockSize: 0
|
|
6126
6225
|
};
|
|
6127
6226
|
AtRange.propTypes = {
|
|
6128
|
-
customStyle:
|
|
6129
|
-
className:
|
|
6130
|
-
sliderStyle:
|
|
6131
|
-
railStyle:
|
|
6132
|
-
trackStyle:
|
|
6133
|
-
value:
|
|
6134
|
-
min:
|
|
6135
|
-
max:
|
|
6136
|
-
disabled:
|
|
6137
|
-
blockSize:
|
|
6138
|
-
onChange:
|
|
6139
|
-
onAfterChange:
|
|
6227
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
6228
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
6229
|
+
sliderStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
6230
|
+
railStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
6231
|
+
trackStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
6232
|
+
value: PropTypes.array,
|
|
6233
|
+
min: PropTypes.number,
|
|
6234
|
+
max: PropTypes.number,
|
|
6235
|
+
disabled: PropTypes.bool,
|
|
6236
|
+
blockSize: PropTypes.number,
|
|
6237
|
+
onChange: PropTypes.func,
|
|
6238
|
+
onAfterChange: PropTypes.func
|
|
6140
6239
|
};
|
|
6141
6240
|
|
|
6142
6241
|
var ENV = Taro.getEnv();
|
|
@@ -6347,15 +6446,15 @@ var AtIndexes = /** @class */ (function (_super) {
|
|
|
6347
6446
|
return AtIndexes;
|
|
6348
6447
|
}(React.Component));
|
|
6349
6448
|
AtIndexes.propTypes = {
|
|
6350
|
-
customStyle:
|
|
6351
|
-
className:
|
|
6352
|
-
animation:
|
|
6353
|
-
isVibrate:
|
|
6354
|
-
isShowToast:
|
|
6355
|
-
topKey:
|
|
6356
|
-
list:
|
|
6357
|
-
onClick:
|
|
6358
|
-
onScrollIntoView:
|
|
6449
|
+
customStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
6450
|
+
className: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
|
|
6451
|
+
animation: PropTypes.bool,
|
|
6452
|
+
isVibrate: PropTypes.bool,
|
|
6453
|
+
isShowToast: PropTypes.bool,
|
|
6454
|
+
topKey: PropTypes.string,
|
|
6455
|
+
list: PropTypes.array,
|
|
6456
|
+
onClick: PropTypes.func,
|
|
6457
|
+
onScrollIntoView: PropTypes.func
|
|
6359
6458
|
};
|
|
6360
6459
|
AtIndexes.defaultProps = {
|
|
6361
6460
|
customStyle: '',
|
|
@@ -6368,7 +6467,7 @@ AtIndexes.defaultProps = {
|
|
|
6368
6467
|
};
|
|
6369
6468
|
|
|
6370
6469
|
var dayjs_min = createCommonjsModule(function (module, exports) {
|
|
6371
|
-
!function(t,e){module.exports=e();}(commonjsGlobal,function(){var t="millisecond",
|
|
6470
|
+
!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}));
|
|
6372
6471
|
});
|
|
6373
6472
|
|
|
6374
6473
|
/** Built-in value references. */
|
|
@@ -8359,8 +8458,8 @@ var AtFab = /** @class */ (function (_super) {
|
|
|
8359
8458
|
return AtFab;
|
|
8360
8459
|
}(React.Component));
|
|
8361
8460
|
AtFab.propTypes = {
|
|
8362
|
-
size:
|
|
8363
|
-
onClick:
|
|
8461
|
+
size: PropTypes.oneOf(['normal', 'small']),
|
|
8462
|
+
onClick: PropTypes.func
|
|
8364
8463
|
};
|
|
8365
8464
|
AtFab.defaultProps = {
|
|
8366
8465
|
size: 'normal'
|