@spaziodati/atoka-design-system 2.1.2 → 2.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AddableItems/index.js +145 -141
- package/AddableItems/index.js.map +1 -1
- package/Alert/index.js +6 -4
- package/Alert/index.js.map +1 -1
- package/Badge/index.js +4 -4
- package/Badge/index.js.map +1 -1
- package/Bs4V3Wrapper/index.js +6 -4
- package/Bs4V3Wrapper/index.js.map +1 -1
- package/BubbleChart/index.js +1729 -2098
- package/BubbleChart/index.js.map +1 -1
- package/Button/Button.storiesConfig.d.ts +0 -10
- package/Button/index.js +9 -7
- package/Button/index.js.map +1 -1
- package/ButtonDropdown/index.js +131 -133
- package/ButtonDropdown/index.js.map +1 -1
- package/CardsPage/index.js +227 -233
- package/CardsPage/index.js.map +1 -1
- package/CursorPagination/index.js +132 -136
- package/CursorPagination/index.js.map +1 -1
- package/DatePicker/index.js +123 -126
- package/DatePicker/index.js.map +1 -1
- package/DetailPage/index.js +1353 -1429
- package/DetailPage/index.js.map +1 -1
- package/Dropdown/index.js +133 -133
- package/Dropdown/index.js.map +1 -1
- package/EditableString/index.js +2400 -2483
- package/EditableString/index.js.map +1 -1
- package/EllipsableContent/index.js +14 -12
- package/EllipsableContent/index.js.map +1 -1
- package/EmptyState/index.js +6 -4
- package/EmptyState/index.js.map +1 -1
- package/Facet/index.js +149 -144
- package/Facet/index.js.map +1 -1
- package/FacetSection/index.js +15 -11
- package/FacetSection/index.js.map +1 -1
- package/FadeAnimation/index.js +660 -731
- package/FadeAnimation/index.js.map +1 -1
- package/FeedbackButton/index.js +10 -8
- package/FeedbackButton/index.js.map +1 -1
- package/Form/index.js +7 -7
- package/Form/index.js.map +1 -1
- package/Funnel/index.js +2854 -3227
- package/Funnel/index.js.map +1 -1
- package/GridCard/index.js +162 -154
- package/GridCard/index.js.map +1 -1
- package/HighlightableText/index.js +138 -137
- package/HighlightableText/index.js.map +1 -1
- package/Histogram/index.js +1168 -1180
- package/Histogram/index.js.map +1 -1
- package/InlineStringEditor/index.js +183 -203
- package/InlineStringEditor/index.js.map +1 -1
- package/InputGroup/index.js +3 -3
- package/InputGroup/index.js.map +1 -1
- package/Jumbotron/index.js +7 -5
- package/Jumbotron/index.js.map +1 -1
- package/Map/Map.d.ts +3 -3
- package/Map/Types.d.ts +2 -2
- package/Map/index.js +4200 -3823
- package/Map/index.js.map +1 -1
- package/Modal/index.js +12 -10
- package/Modal/index.js.map +1 -1
- package/Navbar/index.js +2426 -2517
- package/Navbar/index.js.map +1 -1
- package/Pagination/index.js +132 -136
- package/Pagination/index.js.map +1 -1
- package/PieChart/index.js +204 -219
- package/PieChart/index.js.map +1 -1
- package/PublicFooter/index.js +14 -10
- package/PublicFooter/index.js.map +1 -1
- package/PublicNavbar/index.js +6 -4
- package/PublicNavbar/index.js.map +1 -1
- package/README.md +5 -2
- package/RecordBit/index.js +15 -11
- package/RecordBit/index.js.map +1 -1
- package/ResultItemCard/index.js +25 -19
- package/ResultItemCard/index.js.map +1 -1
- package/SelectDropdown/index.js +171 -185
- package/SelectDropdown/index.js.map +1 -1
- package/Spinner/index.js +6 -4
- package/Spinner/index.js.map +1 -1
- package/StatisticsItemCard/index.js +170 -160
- package/StatisticsItemCard/index.js.map +1 -1
- package/StatisticsItemNumeric/index.js +6 -4
- package/StatisticsItemNumeric/index.js.map +1 -1
- package/StatisticsLegend/index.js +173 -189
- package/StatisticsLegend/index.js.map +1 -1
- package/StatisticsTooltip/index.js +15 -15
- package/StatisticsTooltip/index.js.map +1 -1
- package/Suggester/getRenderCustomMultiValueWithIcon.d.ts +1 -1
- package/Suggester/index.js +160 -160
- package/Suggester/index.js.map +1 -1
- package/SunBurst/index.js +140 -144
- package/SunBurst/index.js.map +1 -1
- package/TabSwitcher/index.js +144 -144
- package/TabSwitcher/index.js.map +1 -1
- package/Title/index.js +8 -6
- package/Title/index.js.map +1 -1
- package/Toasts/Toast.d.ts +41 -0
- package/Toasts/ToastContainer.d.ts +4 -0
- package/Toasts/ToastHeader.d.ts +7 -0
- package/Toasts/index.d.ts +2 -0
- package/Toasts/index.js +2285 -0
- package/Toasts/index.js.map +1 -0
- package/ToggleButtonGroup/index.js +128 -130
- package/ToggleButtonGroup/index.js.map +1 -1
- package/Tooltip/index.js +3 -3
- package/Tooltip/index.js.map +1 -1
- package/Utils/index.js +1049 -1426
- package/Utils/index.js.map +1 -1
- package/{atoka-design-system-2.1.2.min.css → atoka-design-system-2.1.5.min.css} +1 -1
- package/index.d.ts +1 -0
- package/index.js +13126 -11649
- package/index.js.map +1 -1
- package/package.json +48 -40
- package/styles/atoka-bs.less +1 -1
- package/styles/variant-mixins.less +7 -7
package/SunBurst/index.js
CHANGED
|
@@ -12,7 +12,118 @@ return /******/ (() => { // webpackBootstrap
|
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
-
/***/
|
|
15
|
+
/***/ 6627:
|
|
16
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17
|
+
|
|
18
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19
|
+
/* harmony export */ "MR": () => (/* binding */ boundMethod)
|
|
20
|
+
/* harmony export */ });
|
|
21
|
+
/* unused harmony exports boundClass, default */
|
|
22
|
+
/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4329);
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
function _typeof(obj) {
|
|
26
|
+
if (typeof Symbol === "function" && (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(Symbol.iterator) === "symbol") {
|
|
27
|
+
_typeof = function _typeof(obj) {
|
|
28
|
+
return (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(obj);
|
|
29
|
+
};
|
|
30
|
+
} else {
|
|
31
|
+
_typeof = function _typeof(obj) {
|
|
32
|
+
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(obj);
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
return _typeof(obj);
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Return a descriptor removing the value and returning a getter
|
|
40
|
+
* The getter will return a .bind version of the function
|
|
41
|
+
* and memoize the result against a symbol on the instance
|
|
42
|
+
*/
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
function boundMethod(target, key, descriptor) {
|
|
46
|
+
var fn = descriptor.value;
|
|
47
|
+
|
|
48
|
+
if (typeof fn !== 'function') {
|
|
49
|
+
throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(_typeof(fn)));
|
|
50
|
+
} // In IE11 calling Object.defineProperty has a side-effect of evaluating the
|
|
51
|
+
// getter for the property which is being replaced. This causes infinite
|
|
52
|
+
// recursion and an "Out of stack space" error.
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
var definingProperty = false;
|
|
56
|
+
return {
|
|
57
|
+
configurable: true,
|
|
58
|
+
get: function get() {
|
|
59
|
+
// eslint-disable-next-line no-prototype-builtins
|
|
60
|
+
if (definingProperty || this === target.prototype || this.hasOwnProperty(key) || typeof fn !== 'function') {
|
|
61
|
+
return fn;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
var boundFn = fn.bind(this);
|
|
65
|
+
definingProperty = true;
|
|
66
|
+
Object.defineProperty(this, key, {
|
|
67
|
+
configurable: true,
|
|
68
|
+
get: function get() {
|
|
69
|
+
return boundFn;
|
|
70
|
+
},
|
|
71
|
+
set: function set(value) {
|
|
72
|
+
fn = value;
|
|
73
|
+
delete this[key];
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
definingProperty = false;
|
|
77
|
+
return boundFn;
|
|
78
|
+
},
|
|
79
|
+
set: function set(value) {
|
|
80
|
+
fn = value;
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Use boundMethod to bind all methods on the target.prototype
|
|
86
|
+
*/
|
|
87
|
+
|
|
88
|
+
function boundClass(target) {
|
|
89
|
+
// (Using reflect to get all keys including symbols)
|
|
90
|
+
var keys; // Use Reflect if exists
|
|
91
|
+
|
|
92
|
+
if (typeof Reflect !== 'undefined' && typeof Reflect.ownKeys === 'function') {
|
|
93
|
+
keys = Reflect.ownKeys(target.prototype);
|
|
94
|
+
} else {
|
|
95
|
+
keys = Object.getOwnPropertyNames(target.prototype); // Use symbols if support is provided
|
|
96
|
+
|
|
97
|
+
if (typeof Object.getOwnPropertySymbols === 'function') {
|
|
98
|
+
keys = keys.concat(Object.getOwnPropertySymbols(target.prototype));
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
keys.forEach(function (key) {
|
|
103
|
+
// Ignore special case target method
|
|
104
|
+
if (key === 'constructor') {
|
|
105
|
+
return;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
var descriptor = Object.getOwnPropertyDescriptor(target.prototype, key); // Only methods need binding
|
|
109
|
+
|
|
110
|
+
if (typeof descriptor.value === 'function') {
|
|
111
|
+
Object.defineProperty(target.prototype, key, boundMethod(target, key, descriptor));
|
|
112
|
+
}
|
|
113
|
+
});
|
|
114
|
+
return target;
|
|
115
|
+
}
|
|
116
|
+
function autobind() {
|
|
117
|
+
if (arguments.length === 1) {
|
|
118
|
+
return boundClass.apply(void 0, arguments);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
return boundMethod.apply(void 0, arguments);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/***/ }),
|
|
125
|
+
|
|
126
|
+
/***/ 8352:
|
|
16
127
|
/***/ ((__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) => {
|
|
17
128
|
|
|
18
129
|
|
|
@@ -39,7 +150,7 @@ var FormLabel = external_react_default().memo(function (props) {
|
|
|
39
150
|
FormLabel.displayName = 'FormLabel';
|
|
40
151
|
|
|
41
152
|
// EXTERNAL MODULE: ./src/components/Form/FormControl.tsx + 1 modules
|
|
42
|
-
var FormControl = __webpack_require__(
|
|
153
|
+
var FormControl = __webpack_require__(2048);
|
|
43
154
|
;// CONCATENATED MODULE: ./src/components/Form/FormCheckbox.tsx
|
|
44
155
|
var __assign = (undefined && undefined.__assign) || function () {
|
|
45
156
|
__assign = Object.assign || function(t) {
|
|
@@ -151,7 +262,7 @@ Form.Group = (Form_default()).Group;
|
|
|
151
262
|
|
|
152
263
|
/***/ }),
|
|
153
264
|
|
|
154
|
-
/***/
|
|
265
|
+
/***/ 2048:
|
|
155
266
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
156
267
|
|
|
157
268
|
|
|
@@ -228,7 +339,7 @@ FormControl.displayName = 'FormControl';
|
|
|
228
339
|
|
|
229
340
|
/***/ }),
|
|
230
341
|
|
|
231
|
-
/***/
|
|
342
|
+
/***/ 8007:
|
|
232
343
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
233
344
|
|
|
234
345
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -236,7 +347,7 @@ FormControl.displayName = 'FormControl';
|
|
|
236
347
|
/* harmony export */ });
|
|
237
348
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8156);
|
|
238
349
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
239
|
-
/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
350
|
+
/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4806);
|
|
240
351
|
var __assign = (undefined && undefined.__assign) || function () {
|
|
241
352
|
__assign = Object.assign || function(t) {
|
|
242
353
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -263,7 +374,7 @@ function getRenderStatisticsTooltip(_a) {
|
|
|
263
374
|
|
|
264
375
|
/***/ }),
|
|
265
376
|
|
|
266
|
-
/***/
|
|
377
|
+
/***/ 4806:
|
|
267
378
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
268
379
|
|
|
269
380
|
|
|
@@ -282,7 +393,7 @@ var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_)
|
|
|
282
393
|
var external_classnames_ = __webpack_require__(8310);
|
|
283
394
|
var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
|
|
284
395
|
// EXTERNAL MODULE: ./src/components/Utils/Statistics.ts
|
|
285
|
-
var Statistics = __webpack_require__(
|
|
396
|
+
var Statistics = __webpack_require__(5909);
|
|
286
397
|
;// CONCATENATED MODULE: ./src/components/StatisticsTooltip/StatisticsTooltip.tsx
|
|
287
398
|
|
|
288
399
|
|
|
@@ -345,7 +456,7 @@ var StatisticsTooltip = external_react_default().memo(function (props) {
|
|
|
345
456
|
StatisticsTooltip.displayName = 'StatisticsTooltip';
|
|
346
457
|
|
|
347
458
|
// EXTERNAL MODULE: ./src/components/StatisticsTooltip/helpers.tsx
|
|
348
|
-
var helpers = __webpack_require__(
|
|
459
|
+
var helpers = __webpack_require__(8007);
|
|
349
460
|
;// CONCATENATED MODULE: ./src/components/StatisticsTooltip/index.ts
|
|
350
461
|
|
|
351
462
|
|
|
@@ -353,7 +464,7 @@ var helpers = __webpack_require__(1470);
|
|
|
353
464
|
|
|
354
465
|
/***/ }),
|
|
355
466
|
|
|
356
|
-
/***/
|
|
467
|
+
/***/ 3292:
|
|
357
468
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
358
469
|
|
|
359
470
|
// ESM COMPAT FLAG
|
|
@@ -385,22 +496,24 @@ var sunburst_ = __webpack_require__(9503);
|
|
|
385
496
|
var external_classnames_ = __webpack_require__(8310);
|
|
386
497
|
var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
|
|
387
498
|
// EXTERNAL MODULE: ./src/components/Utils/Utils.tsx
|
|
388
|
-
var Utils = __webpack_require__(
|
|
499
|
+
var Utils = __webpack_require__(4915);
|
|
389
500
|
// EXTERNAL MODULE: ./src/components/Utils/Style.ts
|
|
390
|
-
var Style = __webpack_require__(
|
|
501
|
+
var Style = __webpack_require__(7540);
|
|
391
502
|
// EXTERNAL MODULE: ./src/components/Utils/Statistics.ts
|
|
392
|
-
var Statistics = __webpack_require__(
|
|
503
|
+
var Statistics = __webpack_require__(5909);
|
|
393
504
|
// EXTERNAL MODULE: ./src/components/StatisticsTooltip/index.ts + 1 modules
|
|
394
|
-
var StatisticsTooltip = __webpack_require__(
|
|
505
|
+
var StatisticsTooltip = __webpack_require__(4806);
|
|
395
506
|
;// CONCATENATED MODULE: ./src/components/SunBurst/SunBurst.tsx
|
|
396
507
|
var __extends = (undefined && undefined.__extends) || (function () {
|
|
397
508
|
var extendStatics = function (d, b) {
|
|
398
509
|
extendStatics = Object.setPrototypeOf ||
|
|
399
510
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
400
|
-
function (d, b) { for (var p in b) if (
|
|
511
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
401
512
|
return extendStatics(d, b);
|
|
402
513
|
};
|
|
403
514
|
return function (d, b) {
|
|
515
|
+
if (typeof b !== "function" && b !== null)
|
|
516
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
404
517
|
extendStatics(d, b);
|
|
405
518
|
function __() { this.constructor = d; }
|
|
406
519
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -534,7 +647,7 @@ var SunBurst = /** @class */ (function (_super) {
|
|
|
534
647
|
|
|
535
648
|
/***/ }),
|
|
536
649
|
|
|
537
|
-
/***/
|
|
650
|
+
/***/ 5909:
|
|
538
651
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
539
652
|
|
|
540
653
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -542,7 +655,7 @@ var SunBurst = /** @class */ (function (_super) {
|
|
|
542
655
|
/* harmony export */ "Ow": () => (/* binding */ normalizePercentage)
|
|
543
656
|
/* harmony export */ });
|
|
544
657
|
/* unused harmony export createCleanTree */
|
|
545
|
-
/* harmony import */ var _Utils_Utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
658
|
+
/* harmony import */ var _Utils_Utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4915);
|
|
546
659
|
var __values = (undefined && undefined.__values) || function(o) {
|
|
547
660
|
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
548
661
|
if (m) return m.call(o);
|
|
@@ -619,13 +732,13 @@ function removeValueIfChildren(node) {
|
|
|
619
732
|
}
|
|
620
733
|
function normalizePercentage(value) {
|
|
621
734
|
var _a;
|
|
622
|
-
return parseInt((_a = value === null || value === void 0 ? void 0 : value.toFixed) === null || _a === void 0 ? void 0 : _a.call(value, 0), 10)
|
|
735
|
+
return "".concat(parseInt((_a = value === null || value === void 0 ? void 0 : value.toFixed) === null || _a === void 0 ? void 0 : _a.call(value, 0), 10), "%");
|
|
623
736
|
}
|
|
624
737
|
|
|
625
738
|
|
|
626
739
|
/***/ }),
|
|
627
740
|
|
|
628
|
-
/***/
|
|
741
|
+
/***/ 7540:
|
|
629
742
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
630
743
|
|
|
631
744
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -670,7 +783,7 @@ blue400 = '#11455C', gray100 = '#FAFAFA', gray200 = '#EBEBEB', gray300 = '#B0B0B
|
|
|
670
783
|
|
|
671
784
|
/***/ }),
|
|
672
785
|
|
|
673
|
-
/***/
|
|
786
|
+
/***/ 4915:
|
|
674
787
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
675
788
|
|
|
676
789
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -683,7 +796,7 @@ blue400 = '#11455C', gray100 = '#FAFAFA', gray200 = '#EBEBEB', gray300 = '#B0B0B
|
|
|
683
796
|
/* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_0__);
|
|
684
797
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8156);
|
|
685
798
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
686
|
-
/* harmony import */ var _Form_Form__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
799
|
+
/* harmony import */ var _Form_Form__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8352);
|
|
687
800
|
var __read = (undefined && undefined.__read) || function (o, n) {
|
|
688
801
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
689
802
|
if (!m) return o;
|
|
@@ -812,117 +925,6 @@ function rgbToHex(rgb) {
|
|
|
812
925
|
}
|
|
813
926
|
|
|
814
927
|
|
|
815
|
-
/***/ }),
|
|
816
|
-
|
|
817
|
-
/***/ 6627:
|
|
818
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
819
|
-
|
|
820
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
821
|
-
/* harmony export */ "MR": () => (/* binding */ boundMethod)
|
|
822
|
-
/* harmony export */ });
|
|
823
|
-
/* unused harmony exports boundClass, default */
|
|
824
|
-
/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4329);
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
function _typeof(obj) {
|
|
828
|
-
if (typeof Symbol === "function" && (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(Symbol.iterator) === "symbol") {
|
|
829
|
-
_typeof = function _typeof(obj) {
|
|
830
|
-
return (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(obj);
|
|
831
|
-
};
|
|
832
|
-
} else {
|
|
833
|
-
_typeof = function _typeof(obj) {
|
|
834
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(obj);
|
|
835
|
-
};
|
|
836
|
-
}
|
|
837
|
-
|
|
838
|
-
return _typeof(obj);
|
|
839
|
-
}
|
|
840
|
-
/**
|
|
841
|
-
* Return a descriptor removing the value and returning a getter
|
|
842
|
-
* The getter will return a .bind version of the function
|
|
843
|
-
* and memoize the result against a symbol on the instance
|
|
844
|
-
*/
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
function boundMethod(target, key, descriptor) {
|
|
848
|
-
var fn = descriptor.value;
|
|
849
|
-
|
|
850
|
-
if (typeof fn !== 'function') {
|
|
851
|
-
throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(_typeof(fn)));
|
|
852
|
-
} // In IE11 calling Object.defineProperty has a side-effect of evaluating the
|
|
853
|
-
// getter for the property which is being replaced. This causes infinite
|
|
854
|
-
// recursion and an "Out of stack space" error.
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
var definingProperty = false;
|
|
858
|
-
return {
|
|
859
|
-
configurable: true,
|
|
860
|
-
get: function get() {
|
|
861
|
-
// eslint-disable-next-line no-prototype-builtins
|
|
862
|
-
if (definingProperty || this === target.prototype || this.hasOwnProperty(key) || typeof fn !== 'function') {
|
|
863
|
-
return fn;
|
|
864
|
-
}
|
|
865
|
-
|
|
866
|
-
var boundFn = fn.bind(this);
|
|
867
|
-
definingProperty = true;
|
|
868
|
-
Object.defineProperty(this, key, {
|
|
869
|
-
configurable: true,
|
|
870
|
-
get: function get() {
|
|
871
|
-
return boundFn;
|
|
872
|
-
},
|
|
873
|
-
set: function set(value) {
|
|
874
|
-
fn = value;
|
|
875
|
-
delete this[key];
|
|
876
|
-
}
|
|
877
|
-
});
|
|
878
|
-
definingProperty = false;
|
|
879
|
-
return boundFn;
|
|
880
|
-
},
|
|
881
|
-
set: function set(value) {
|
|
882
|
-
fn = value;
|
|
883
|
-
}
|
|
884
|
-
};
|
|
885
|
-
}
|
|
886
|
-
/**
|
|
887
|
-
* Use boundMethod to bind all methods on the target.prototype
|
|
888
|
-
*/
|
|
889
|
-
|
|
890
|
-
function boundClass(target) {
|
|
891
|
-
// (Using reflect to get all keys including symbols)
|
|
892
|
-
var keys; // Use Reflect if exists
|
|
893
|
-
|
|
894
|
-
if (typeof Reflect !== 'undefined' && typeof Reflect.ownKeys === 'function') {
|
|
895
|
-
keys = Reflect.ownKeys(target.prototype);
|
|
896
|
-
} else {
|
|
897
|
-
keys = Object.getOwnPropertyNames(target.prototype); // Use symbols if support is provided
|
|
898
|
-
|
|
899
|
-
if (typeof Object.getOwnPropertySymbols === 'function') {
|
|
900
|
-
keys = keys.concat(Object.getOwnPropertySymbols(target.prototype));
|
|
901
|
-
}
|
|
902
|
-
}
|
|
903
|
-
|
|
904
|
-
keys.forEach(function (key) {
|
|
905
|
-
// Ignore special case target method
|
|
906
|
-
if (key === 'constructor') {
|
|
907
|
-
return;
|
|
908
|
-
}
|
|
909
|
-
|
|
910
|
-
var descriptor = Object.getOwnPropertyDescriptor(target.prototype, key); // Only methods need binding
|
|
911
|
-
|
|
912
|
-
if (typeof descriptor.value === 'function') {
|
|
913
|
-
Object.defineProperty(target.prototype, key, boundMethod(target, key, descriptor));
|
|
914
|
-
}
|
|
915
|
-
});
|
|
916
|
-
return target;
|
|
917
|
-
}
|
|
918
|
-
function autobind() {
|
|
919
|
-
if (arguments.length === 1) {
|
|
920
|
-
return boundClass.apply(void 0, arguments);
|
|
921
|
-
}
|
|
922
|
-
|
|
923
|
-
return boundMethod.apply(void 0, arguments);
|
|
924
|
-
}
|
|
925
|
-
|
|
926
928
|
/***/ }),
|
|
927
929
|
|
|
928
930
|
/***/ 5692:
|
|
@@ -983,17 +985,11 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__8763__;
|
|
|
983
985
|
function _typeof(obj) {
|
|
984
986
|
"@babel/helpers - typeof";
|
|
985
987
|
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
}
|
|
991
|
-
_typeof = function _typeof(obj) {
|
|
992
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
993
|
-
};
|
|
994
|
-
}
|
|
995
|
-
|
|
996
|
-
return _typeof(obj);
|
|
988
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
989
|
+
return typeof obj;
|
|
990
|
+
} : function (obj) {
|
|
991
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
992
|
+
}, _typeof(obj);
|
|
997
993
|
}
|
|
998
994
|
|
|
999
995
|
/***/ })
|
|
@@ -1110,7 +1106,7 @@ function _typeof(obj) {
|
|
|
1110
1106
|
/******/ var installedChunks = {
|
|
1111
1107
|
/******/ 6074: 0,
|
|
1112
1108
|
/******/ 9811: 0,
|
|
1113
|
-
/******/
|
|
1109
|
+
/******/ 6999: 0
|
|
1114
1110
|
/******/ };
|
|
1115
1111
|
/******/
|
|
1116
1112
|
/******/ // no chunk on demand loading
|
|
@@ -1160,7 +1156,7 @@ function _typeof(obj) {
|
|
|
1160
1156
|
/******/ // startup
|
|
1161
1157
|
/******/ // Load entry module and return exports
|
|
1162
1158
|
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
|
1163
|
-
/******/ var __webpack_exports__ = __webpack_require__.O(undefined, [
|
|
1159
|
+
/******/ var __webpack_exports__ = __webpack_require__.O(undefined, [6999], () => (__webpack_require__(3292)))
|
|
1164
1160
|
/******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
|
|
1165
1161
|
/******/
|
|
1166
1162
|
/******/ return __webpack_exports__;
|