@iabbb/bds-react 0.38.0-alpha.2 → 0.38.0
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/Button/Button.js +7 -7
- package/Button/Button.js.map +1 -1
- package/Button/index.js +1 -1
- package/CallToAction/CallToAction.js +7 -6
- package/CallToAction/CallToAction.js.map +1 -1
- package/CallToAction/index.js +1 -1
- package/ErrorSummary/ErrorSummary.js +39 -190
- package/ErrorSummary/ErrorSummary.js.map +1 -1
- package/ErrorSummary/index.js +2 -1
- package/ErrorSummary/index.js.map +1 -1
- package/ErrorSummary/utils.js +41 -0
- package/ErrorSummary/utils.js.map +1 -0
- package/FieldTextInput/FieldTextInput.js +1 -2
- package/FieldTextInput/FieldTextInput.js.map +1 -1
- package/FieldTextInput/index.js +1 -1
- package/Pagination/Pagination.js +8 -8
- package/Pagination/Pagination.js.map +1 -1
- package/Pagination/index.js +1 -1
- package/README.md +17 -17
- package/Typography/Typography.js +7 -7
- package/Typography/Typography.js.map +1 -1
- package/Typography/index.js +1 -1
- package/_rollupPluginBabelHelpers-9e645d4a.js +69 -0
- package/_rollupPluginBabelHelpers-9e645d4a.js.map +1 -0
- package/index.js +2 -1
- package/index.js.map +1 -1
- package/package.json +29 -30
- package/_rollupPluginBabelHelpers-4a7b2c14.js +0 -291
- package/_rollupPluginBabelHelpers-4a7b2c14.js.map +0 -1
- package/_rollupPluginBabelHelpers-4a841245.js +0 -291
- package/_rollupPluginBabelHelpers-4a841245.js.map +0 -1
- package/_rollupPluginBabelHelpers-faf45dab.js +0 -303
- package/_rollupPluginBabelHelpers-faf45dab.js.map +0 -1
|
@@ -1,291 +0,0 @@
|
|
|
1
|
-
function _iterableToArrayLimit(arr, i) {
|
|
2
|
-
var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
|
|
3
|
-
if (null != _i) {
|
|
4
|
-
var _s,
|
|
5
|
-
_e,
|
|
6
|
-
_x,
|
|
7
|
-
_r,
|
|
8
|
-
_arr = [],
|
|
9
|
-
_n = !0,
|
|
10
|
-
_d = !1;
|
|
11
|
-
try {
|
|
12
|
-
if (_x = (_i = _i.call(arr)).next, 0 === i) {
|
|
13
|
-
if (Object(_i) !== _i) return;
|
|
14
|
-
_n = !1;
|
|
15
|
-
} else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
|
|
16
|
-
} catch (err) {
|
|
17
|
-
_d = !0, _e = err;
|
|
18
|
-
} finally {
|
|
19
|
-
try {
|
|
20
|
-
if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return;
|
|
21
|
-
} finally {
|
|
22
|
-
if (_d) throw _e;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
return _arr;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
function ownKeys(object, enumerableOnly) {
|
|
29
|
-
var keys = Object.keys(object);
|
|
30
|
-
if (Object.getOwnPropertySymbols) {
|
|
31
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
|
32
|
-
enumerableOnly && (symbols = symbols.filter(function (sym) {
|
|
33
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
34
|
-
})), keys.push.apply(keys, symbols);
|
|
35
|
-
}
|
|
36
|
-
return keys;
|
|
37
|
-
}
|
|
38
|
-
function _objectSpread2(target) {
|
|
39
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
40
|
-
var source = null != arguments[i] ? arguments[i] : {};
|
|
41
|
-
i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
|
|
42
|
-
_defineProperty(target, key, source[key]);
|
|
43
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
|
|
44
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
return target;
|
|
48
|
-
}
|
|
49
|
-
function _classCallCheck(instance, Constructor) {
|
|
50
|
-
if (!(instance instanceof Constructor)) {
|
|
51
|
-
throw new TypeError("Cannot call a class as a function");
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
function _defineProperties(target, props) {
|
|
55
|
-
for (var i = 0; i < props.length; i++) {
|
|
56
|
-
var descriptor = props[i];
|
|
57
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
58
|
-
descriptor.configurable = true;
|
|
59
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
60
|
-
Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
function _createClass(Constructor, protoProps, staticProps) {
|
|
64
|
-
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
65
|
-
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
66
|
-
Object.defineProperty(Constructor, "prototype", {
|
|
67
|
-
writable: false
|
|
68
|
-
});
|
|
69
|
-
return Constructor;
|
|
70
|
-
}
|
|
71
|
-
function _defineProperty(obj, key, value) {
|
|
72
|
-
key = _toPropertyKey(key);
|
|
73
|
-
if (key in obj) {
|
|
74
|
-
Object.defineProperty(obj, key, {
|
|
75
|
-
value: value,
|
|
76
|
-
enumerable: true,
|
|
77
|
-
configurable: true,
|
|
78
|
-
writable: true
|
|
79
|
-
});
|
|
80
|
-
} else {
|
|
81
|
-
obj[key] = value;
|
|
82
|
-
}
|
|
83
|
-
return obj;
|
|
84
|
-
}
|
|
85
|
-
function _extends() {
|
|
86
|
-
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
87
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
88
|
-
var source = arguments[i];
|
|
89
|
-
for (var key in source) {
|
|
90
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
91
|
-
target[key] = source[key];
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
return target;
|
|
96
|
-
};
|
|
97
|
-
return _extends.apply(this, arguments);
|
|
98
|
-
}
|
|
99
|
-
function _inherits(subClass, superClass) {
|
|
100
|
-
if (typeof superClass !== "function" && superClass !== null) {
|
|
101
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
102
|
-
}
|
|
103
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
104
|
-
constructor: {
|
|
105
|
-
value: subClass,
|
|
106
|
-
writable: true,
|
|
107
|
-
configurable: true
|
|
108
|
-
}
|
|
109
|
-
});
|
|
110
|
-
Object.defineProperty(subClass, "prototype", {
|
|
111
|
-
writable: false
|
|
112
|
-
});
|
|
113
|
-
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
114
|
-
}
|
|
115
|
-
function _getPrototypeOf(o) {
|
|
116
|
-
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
|
|
117
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
|
118
|
-
};
|
|
119
|
-
return _getPrototypeOf(o);
|
|
120
|
-
}
|
|
121
|
-
function _setPrototypeOf(o, p) {
|
|
122
|
-
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
123
|
-
o.__proto__ = p;
|
|
124
|
-
return o;
|
|
125
|
-
};
|
|
126
|
-
return _setPrototypeOf(o, p);
|
|
127
|
-
}
|
|
128
|
-
function _isNativeReflectConstruct() {
|
|
129
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
130
|
-
if (Reflect.construct.sham) return false;
|
|
131
|
-
if (typeof Proxy === "function") return true;
|
|
132
|
-
try {
|
|
133
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
134
|
-
return true;
|
|
135
|
-
} catch (e) {
|
|
136
|
-
return false;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
function _construct(Parent, args, Class) {
|
|
140
|
-
if (_isNativeReflectConstruct()) {
|
|
141
|
-
_construct = Reflect.construct.bind();
|
|
142
|
-
} else {
|
|
143
|
-
_construct = function _construct(Parent, args, Class) {
|
|
144
|
-
var a = [null];
|
|
145
|
-
a.push.apply(a, args);
|
|
146
|
-
var Constructor = Function.bind.apply(Parent, a);
|
|
147
|
-
var instance = new Constructor();
|
|
148
|
-
if (Class) _setPrototypeOf(instance, Class.prototype);
|
|
149
|
-
return instance;
|
|
150
|
-
};
|
|
151
|
-
}
|
|
152
|
-
return _construct.apply(null, arguments);
|
|
153
|
-
}
|
|
154
|
-
function _isNativeFunction(fn) {
|
|
155
|
-
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
|
156
|
-
}
|
|
157
|
-
function _wrapNativeSuper(Class) {
|
|
158
|
-
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
159
|
-
_wrapNativeSuper = function _wrapNativeSuper(Class) {
|
|
160
|
-
if (Class === null || !_isNativeFunction(Class)) return Class;
|
|
161
|
-
if (typeof Class !== "function") {
|
|
162
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
163
|
-
}
|
|
164
|
-
if (typeof _cache !== "undefined") {
|
|
165
|
-
if (_cache.has(Class)) return _cache.get(Class);
|
|
166
|
-
_cache.set(Class, Wrapper);
|
|
167
|
-
}
|
|
168
|
-
function Wrapper() {
|
|
169
|
-
return _construct(Class, arguments, _getPrototypeOf(this).constructor);
|
|
170
|
-
}
|
|
171
|
-
Wrapper.prototype = Object.create(Class.prototype, {
|
|
172
|
-
constructor: {
|
|
173
|
-
value: Wrapper,
|
|
174
|
-
enumerable: false,
|
|
175
|
-
writable: true,
|
|
176
|
-
configurable: true
|
|
177
|
-
}
|
|
178
|
-
});
|
|
179
|
-
return _setPrototypeOf(Wrapper, Class);
|
|
180
|
-
};
|
|
181
|
-
return _wrapNativeSuper(Class);
|
|
182
|
-
}
|
|
183
|
-
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
184
|
-
if (source == null) return {};
|
|
185
|
-
var target = {};
|
|
186
|
-
var sourceKeys = Object.keys(source);
|
|
187
|
-
var key, i;
|
|
188
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
|
189
|
-
key = sourceKeys[i];
|
|
190
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
191
|
-
target[key] = source[key];
|
|
192
|
-
}
|
|
193
|
-
return target;
|
|
194
|
-
}
|
|
195
|
-
function _objectWithoutProperties(source, excluded) {
|
|
196
|
-
if (source == null) return {};
|
|
197
|
-
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
198
|
-
var key, i;
|
|
199
|
-
if (Object.getOwnPropertySymbols) {
|
|
200
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
201
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
202
|
-
key = sourceSymbolKeys[i];
|
|
203
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
204
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
205
|
-
target[key] = source[key];
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
return target;
|
|
209
|
-
}
|
|
210
|
-
function _assertThisInitialized(self) {
|
|
211
|
-
if (self === void 0) {
|
|
212
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
213
|
-
}
|
|
214
|
-
return self;
|
|
215
|
-
}
|
|
216
|
-
function _possibleConstructorReturn(self, call) {
|
|
217
|
-
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
218
|
-
return call;
|
|
219
|
-
} else if (call !== void 0) {
|
|
220
|
-
throw new TypeError("Derived constructors may only return object or undefined");
|
|
221
|
-
}
|
|
222
|
-
return _assertThisInitialized(self);
|
|
223
|
-
}
|
|
224
|
-
function _createSuper(Derived) {
|
|
225
|
-
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
|
226
|
-
return function _createSuperInternal() {
|
|
227
|
-
var Super = _getPrototypeOf(Derived),
|
|
228
|
-
result;
|
|
229
|
-
if (hasNativeReflectConstruct) {
|
|
230
|
-
var NewTarget = _getPrototypeOf(this).constructor;
|
|
231
|
-
result = Reflect.construct(Super, arguments, NewTarget);
|
|
232
|
-
} else {
|
|
233
|
-
result = Super.apply(this, arguments);
|
|
234
|
-
}
|
|
235
|
-
return _possibleConstructorReturn(this, result);
|
|
236
|
-
};
|
|
237
|
-
}
|
|
238
|
-
function _slicedToArray(arr, i) {
|
|
239
|
-
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
240
|
-
}
|
|
241
|
-
function _arrayWithHoles(arr) {
|
|
242
|
-
if (Array.isArray(arr)) return arr;
|
|
243
|
-
}
|
|
244
|
-
function _unsupportedIterableToArray(o, minLen) {
|
|
245
|
-
if (!o) return;
|
|
246
|
-
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
247
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
248
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
249
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
|
250
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
251
|
-
}
|
|
252
|
-
function _arrayLikeToArray(arr, len) {
|
|
253
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
254
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
255
|
-
return arr2;
|
|
256
|
-
}
|
|
257
|
-
function _nonIterableRest() {
|
|
258
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
259
|
-
}
|
|
260
|
-
function _toPrimitive(input, hint) {
|
|
261
|
-
if (typeof input !== "object" || input === null) return input;
|
|
262
|
-
var prim = input[Symbol.toPrimitive];
|
|
263
|
-
if (prim !== undefined) {
|
|
264
|
-
var res = prim.call(input, hint || "default");
|
|
265
|
-
if (typeof res !== "object") return res;
|
|
266
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
267
|
-
}
|
|
268
|
-
return (hint === "string" ? String : Number)(input);
|
|
269
|
-
}
|
|
270
|
-
function _toPropertyKey(arg) {
|
|
271
|
-
var key = _toPrimitive(arg, "string");
|
|
272
|
-
return typeof key === "symbol" ? key : String(key);
|
|
273
|
-
}
|
|
274
|
-
function _classPrivateMethodGet(receiver, privateSet, fn) {
|
|
275
|
-
if (!privateSet.has(receiver)) {
|
|
276
|
-
throw new TypeError("attempted to get private field on non-instance");
|
|
277
|
-
}
|
|
278
|
-
return fn;
|
|
279
|
-
}
|
|
280
|
-
function _checkPrivateRedeclaration(obj, privateCollection) {
|
|
281
|
-
if (privateCollection.has(obj)) {
|
|
282
|
-
throw new TypeError("Cannot initialize the same private elements twice on an object");
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
function _classPrivateMethodInitSpec(obj, privateSet) {
|
|
286
|
-
_checkPrivateRedeclaration(obj, privateSet);
|
|
287
|
-
privateSet.add(obj);
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
export { _inherits as _, _createSuper as a, _createClass as b, _classCallCheck as c, _classPrivateMethodInitSpec as d, _assertThisInitialized as e, _classPrivateMethodGet as f, _wrapNativeSuper as g, _objectSpread2 as h, _objectWithoutProperties as i, _slicedToArray as j, _extends as k };
|
|
291
|
-
//# sourceMappingURL=_rollupPluginBabelHelpers-4a841245.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_rollupPluginBabelHelpers-4a841245.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,303 +0,0 @@
|
|
|
1
|
-
function _iterableToArrayLimit(arr, i) {
|
|
2
|
-
var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
|
|
3
|
-
if (null != _i) {
|
|
4
|
-
var _s,
|
|
5
|
-
_e,
|
|
6
|
-
_x,
|
|
7
|
-
_r,
|
|
8
|
-
_arr = [],
|
|
9
|
-
_n = !0,
|
|
10
|
-
_d = !1;
|
|
11
|
-
try {
|
|
12
|
-
if (_x = (_i = _i.call(arr)).next, 0 === i) {
|
|
13
|
-
if (Object(_i) !== _i) return;
|
|
14
|
-
_n = !1;
|
|
15
|
-
} else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
|
|
16
|
-
} catch (err) {
|
|
17
|
-
_d = !0, _e = err;
|
|
18
|
-
} finally {
|
|
19
|
-
try {
|
|
20
|
-
if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return;
|
|
21
|
-
} finally {
|
|
22
|
-
if (_d) throw _e;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
return _arr;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
function ownKeys(object, enumerableOnly) {
|
|
29
|
-
var keys = Object.keys(object);
|
|
30
|
-
if (Object.getOwnPropertySymbols) {
|
|
31
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
|
32
|
-
enumerableOnly && (symbols = symbols.filter(function (sym) {
|
|
33
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
34
|
-
})), keys.push.apply(keys, symbols);
|
|
35
|
-
}
|
|
36
|
-
return keys;
|
|
37
|
-
}
|
|
38
|
-
function _objectSpread2(target) {
|
|
39
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
40
|
-
var source = null != arguments[i] ? arguments[i] : {};
|
|
41
|
-
i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
|
|
42
|
-
_defineProperty(target, key, source[key]);
|
|
43
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
|
|
44
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
return target;
|
|
48
|
-
}
|
|
49
|
-
function _classCallCheck(instance, Constructor) {
|
|
50
|
-
if (!(instance instanceof Constructor)) {
|
|
51
|
-
throw new TypeError("Cannot call a class as a function");
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
function _defineProperties(target, props) {
|
|
55
|
-
for (var i = 0; i < props.length; i++) {
|
|
56
|
-
var descriptor = props[i];
|
|
57
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
58
|
-
descriptor.configurable = true;
|
|
59
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
60
|
-
Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
function _createClass(Constructor, protoProps, staticProps) {
|
|
64
|
-
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
65
|
-
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
66
|
-
Object.defineProperty(Constructor, "prototype", {
|
|
67
|
-
writable: false
|
|
68
|
-
});
|
|
69
|
-
return Constructor;
|
|
70
|
-
}
|
|
71
|
-
function _defineProperty(obj, key, value) {
|
|
72
|
-
key = _toPropertyKey(key);
|
|
73
|
-
if (key in obj) {
|
|
74
|
-
Object.defineProperty(obj, key, {
|
|
75
|
-
value: value,
|
|
76
|
-
enumerable: true,
|
|
77
|
-
configurable: true,
|
|
78
|
-
writable: true
|
|
79
|
-
});
|
|
80
|
-
} else {
|
|
81
|
-
obj[key] = value;
|
|
82
|
-
}
|
|
83
|
-
return obj;
|
|
84
|
-
}
|
|
85
|
-
function _extends() {
|
|
86
|
-
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
87
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
88
|
-
var source = arguments[i];
|
|
89
|
-
for (var key in source) {
|
|
90
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
91
|
-
target[key] = source[key];
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
return target;
|
|
96
|
-
};
|
|
97
|
-
return _extends.apply(this, arguments);
|
|
98
|
-
}
|
|
99
|
-
function _inherits(subClass, superClass) {
|
|
100
|
-
if (typeof superClass !== "function" && superClass !== null) {
|
|
101
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
102
|
-
}
|
|
103
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
104
|
-
constructor: {
|
|
105
|
-
value: subClass,
|
|
106
|
-
writable: true,
|
|
107
|
-
configurable: true
|
|
108
|
-
}
|
|
109
|
-
});
|
|
110
|
-
Object.defineProperty(subClass, "prototype", {
|
|
111
|
-
writable: false
|
|
112
|
-
});
|
|
113
|
-
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
114
|
-
}
|
|
115
|
-
function _getPrototypeOf(o) {
|
|
116
|
-
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
|
|
117
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
|
118
|
-
};
|
|
119
|
-
return _getPrototypeOf(o);
|
|
120
|
-
}
|
|
121
|
-
function _setPrototypeOf(o, p) {
|
|
122
|
-
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
123
|
-
o.__proto__ = p;
|
|
124
|
-
return o;
|
|
125
|
-
};
|
|
126
|
-
return _setPrototypeOf(o, p);
|
|
127
|
-
}
|
|
128
|
-
function _isNativeReflectConstruct() {
|
|
129
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
130
|
-
if (Reflect.construct.sham) return false;
|
|
131
|
-
if (typeof Proxy === "function") return true;
|
|
132
|
-
try {
|
|
133
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
134
|
-
return true;
|
|
135
|
-
} catch (e) {
|
|
136
|
-
return false;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
function _construct(Parent, args, Class) {
|
|
140
|
-
if (_isNativeReflectConstruct()) {
|
|
141
|
-
_construct = Reflect.construct.bind();
|
|
142
|
-
} else {
|
|
143
|
-
_construct = function _construct(Parent, args, Class) {
|
|
144
|
-
var a = [null];
|
|
145
|
-
a.push.apply(a, args);
|
|
146
|
-
var Constructor = Function.bind.apply(Parent, a);
|
|
147
|
-
var instance = new Constructor();
|
|
148
|
-
if (Class) _setPrototypeOf(instance, Class.prototype);
|
|
149
|
-
return instance;
|
|
150
|
-
};
|
|
151
|
-
}
|
|
152
|
-
return _construct.apply(null, arguments);
|
|
153
|
-
}
|
|
154
|
-
function _isNativeFunction(fn) {
|
|
155
|
-
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
|
156
|
-
}
|
|
157
|
-
function _wrapNativeSuper(Class) {
|
|
158
|
-
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
159
|
-
_wrapNativeSuper = function _wrapNativeSuper(Class) {
|
|
160
|
-
if (Class === null || !_isNativeFunction(Class)) return Class;
|
|
161
|
-
if (typeof Class !== "function") {
|
|
162
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
163
|
-
}
|
|
164
|
-
if (typeof _cache !== "undefined") {
|
|
165
|
-
if (_cache.has(Class)) return _cache.get(Class);
|
|
166
|
-
_cache.set(Class, Wrapper);
|
|
167
|
-
}
|
|
168
|
-
function Wrapper() {
|
|
169
|
-
return _construct(Class, arguments, _getPrototypeOf(this).constructor);
|
|
170
|
-
}
|
|
171
|
-
Wrapper.prototype = Object.create(Class.prototype, {
|
|
172
|
-
constructor: {
|
|
173
|
-
value: Wrapper,
|
|
174
|
-
enumerable: false,
|
|
175
|
-
writable: true,
|
|
176
|
-
configurable: true
|
|
177
|
-
}
|
|
178
|
-
});
|
|
179
|
-
return _setPrototypeOf(Wrapper, Class);
|
|
180
|
-
};
|
|
181
|
-
return _wrapNativeSuper(Class);
|
|
182
|
-
}
|
|
183
|
-
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
184
|
-
if (source == null) return {};
|
|
185
|
-
var target = {};
|
|
186
|
-
var sourceKeys = Object.keys(source);
|
|
187
|
-
var key, i;
|
|
188
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
|
189
|
-
key = sourceKeys[i];
|
|
190
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
191
|
-
target[key] = source[key];
|
|
192
|
-
}
|
|
193
|
-
return target;
|
|
194
|
-
}
|
|
195
|
-
function _objectWithoutProperties(source, excluded) {
|
|
196
|
-
if (source == null) return {};
|
|
197
|
-
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
198
|
-
var key, i;
|
|
199
|
-
if (Object.getOwnPropertySymbols) {
|
|
200
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
201
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
202
|
-
key = sourceSymbolKeys[i];
|
|
203
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
204
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
205
|
-
target[key] = source[key];
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
return target;
|
|
209
|
-
}
|
|
210
|
-
function _assertThisInitialized(self) {
|
|
211
|
-
if (self === void 0) {
|
|
212
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
213
|
-
}
|
|
214
|
-
return self;
|
|
215
|
-
}
|
|
216
|
-
function _possibleConstructorReturn(self, call) {
|
|
217
|
-
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
218
|
-
return call;
|
|
219
|
-
} else if (call !== void 0) {
|
|
220
|
-
throw new TypeError("Derived constructors may only return object or undefined");
|
|
221
|
-
}
|
|
222
|
-
return _assertThisInitialized(self);
|
|
223
|
-
}
|
|
224
|
-
function _createSuper(Derived) {
|
|
225
|
-
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
|
226
|
-
return function _createSuperInternal() {
|
|
227
|
-
var Super = _getPrototypeOf(Derived),
|
|
228
|
-
result;
|
|
229
|
-
if (hasNativeReflectConstruct) {
|
|
230
|
-
var NewTarget = _getPrototypeOf(this).constructor;
|
|
231
|
-
result = Reflect.construct(Super, arguments, NewTarget);
|
|
232
|
-
} else {
|
|
233
|
-
result = Super.apply(this, arguments);
|
|
234
|
-
}
|
|
235
|
-
return _possibleConstructorReturn(this, result);
|
|
236
|
-
};
|
|
237
|
-
}
|
|
238
|
-
function _slicedToArray(arr, i) {
|
|
239
|
-
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
240
|
-
}
|
|
241
|
-
function _toConsumableArray(arr) {
|
|
242
|
-
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
243
|
-
}
|
|
244
|
-
function _arrayWithoutHoles(arr) {
|
|
245
|
-
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
246
|
-
}
|
|
247
|
-
function _arrayWithHoles(arr) {
|
|
248
|
-
if (Array.isArray(arr)) return arr;
|
|
249
|
-
}
|
|
250
|
-
function _iterableToArray(iter) {
|
|
251
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
252
|
-
}
|
|
253
|
-
function _unsupportedIterableToArray(o, minLen) {
|
|
254
|
-
if (!o) return;
|
|
255
|
-
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
256
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
257
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
258
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
|
259
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
260
|
-
}
|
|
261
|
-
function _arrayLikeToArray(arr, len) {
|
|
262
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
263
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
264
|
-
return arr2;
|
|
265
|
-
}
|
|
266
|
-
function _nonIterableSpread() {
|
|
267
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
268
|
-
}
|
|
269
|
-
function _nonIterableRest() {
|
|
270
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
271
|
-
}
|
|
272
|
-
function _toPrimitive(input, hint) {
|
|
273
|
-
if (typeof input !== "object" || input === null) return input;
|
|
274
|
-
var prim = input[Symbol.toPrimitive];
|
|
275
|
-
if (prim !== undefined) {
|
|
276
|
-
var res = prim.call(input, hint || "default");
|
|
277
|
-
if (typeof res !== "object") return res;
|
|
278
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
279
|
-
}
|
|
280
|
-
return (hint === "string" ? String : Number)(input);
|
|
281
|
-
}
|
|
282
|
-
function _toPropertyKey(arg) {
|
|
283
|
-
var key = _toPrimitive(arg, "string");
|
|
284
|
-
return typeof key === "symbol" ? key : String(key);
|
|
285
|
-
}
|
|
286
|
-
function _classPrivateMethodGet(receiver, privateSet, fn) {
|
|
287
|
-
if (!privateSet.has(receiver)) {
|
|
288
|
-
throw new TypeError("attempted to get private field on non-instance");
|
|
289
|
-
}
|
|
290
|
-
return fn;
|
|
291
|
-
}
|
|
292
|
-
function _checkPrivateRedeclaration(obj, privateCollection) {
|
|
293
|
-
if (privateCollection.has(obj)) {
|
|
294
|
-
throw new TypeError("Cannot initialize the same private elements twice on an object");
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
function _classPrivateMethodInitSpec(obj, privateSet) {
|
|
298
|
-
_checkPrivateRedeclaration(obj, privateSet);
|
|
299
|
-
privateSet.add(obj);
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
export { _objectWithoutProperties as _, _extends as a, _toConsumableArray as b, _inherits as c, _createSuper as d, _createClass as e, _classCallCheck as f, _classPrivateMethodInitSpec as g, _assertThisInitialized as h, _classPrivateMethodGet as i, _wrapNativeSuper as j, _objectSpread2 as k, _slicedToArray as l };
|
|
303
|
-
//# sourceMappingURL=_rollupPluginBabelHelpers-faf45dab.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_rollupPluginBabelHelpers-faf45dab.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|