@spaziodati/atoka-design-system 2.1.4 → 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 +1337 -1439
- package/DetailPage/index.js.map +1 -1
- package/Dropdown/index.js +133 -133
- package/Dropdown/index.js.map +1 -1
- package/EditableString/index.js +2368 -2477
- 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 +86 -183
- 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 +1167 -1179
- 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 +2438 -2555
- 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/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/index.js +1634 -1585
- package/Toasts/index.js.map +1 -1
- 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.4.min.css → atoka-design-system-2.1.5.min.css} +1 -1
- package/index.js +13016 -12518
- package/index.js.map +1 -1
- package/package.json +48 -40
package/AddableItems/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
|
+
/***/ 568:
|
|
16
127
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17
128
|
|
|
18
129
|
// ESM COMPAT FLAG
|
|
@@ -31,9 +142,9 @@ var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_cl
|
|
|
31
142
|
var external_react_ = __webpack_require__(8156);
|
|
32
143
|
var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
|
|
33
144
|
// EXTERNAL MODULE: ./src/components/Button/index.ts
|
|
34
|
-
var Button = __webpack_require__(
|
|
145
|
+
var Button = __webpack_require__(7325);
|
|
35
146
|
// EXTERNAL MODULE: ./src/components/Title/index.ts
|
|
36
|
-
var Title = __webpack_require__(
|
|
147
|
+
var Title = __webpack_require__(3932);
|
|
37
148
|
// EXTERNAL MODULE: ./node_modules/autobind-decorator/lib/esm/index.js
|
|
38
149
|
var esm = __webpack_require__(6627);
|
|
39
150
|
// EXTERNAL MODULE: external "react-bootstrap/ListGroup"
|
|
@@ -49,16 +160,18 @@ var faTimes_ = __webpack_require__(6988);
|
|
|
49
160
|
var external_react_dom_ = __webpack_require__(7111);
|
|
50
161
|
var external_react_dom_default = /*#__PURE__*/__webpack_require__.n(external_react_dom_);
|
|
51
162
|
// EXTERNAL MODULE: ./src/components/Tooltip/index.ts + 1 modules
|
|
52
|
-
var Tooltip = __webpack_require__(
|
|
163
|
+
var Tooltip = __webpack_require__(4603);
|
|
53
164
|
;// CONCATENATED MODULE: ./src/components/AddableItems/ClickableExcludableItem.tsx
|
|
54
165
|
var __extends = (undefined && undefined.__extends) || (function () {
|
|
55
166
|
var extendStatics = function (d, b) {
|
|
56
167
|
extendStatics = Object.setPrototypeOf ||
|
|
57
168
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
58
|
-
function (d, b) { for (var p in b) if (
|
|
169
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
59
170
|
return extendStatics(d, b);
|
|
60
171
|
};
|
|
61
172
|
return function (d, b) {
|
|
173
|
+
if (typeof b !== "function" && b !== null)
|
|
174
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
62
175
|
extendStatics(d, b);
|
|
63
176
|
function __() { this.constructor = d; }
|
|
64
177
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -174,10 +287,12 @@ var ClickableItemList_extends = (undefined && undefined.__extends) || (function
|
|
|
174
287
|
var extendStatics = function (d, b) {
|
|
175
288
|
extendStatics = Object.setPrototypeOf ||
|
|
176
289
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
177
|
-
function (d, b) { for (var p in b) if (
|
|
290
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
178
291
|
return extendStatics(d, b);
|
|
179
292
|
};
|
|
180
293
|
return function (d, b) {
|
|
294
|
+
if (typeof b !== "function" && b !== null)
|
|
295
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
181
296
|
extendStatics(d, b);
|
|
182
297
|
function __() { this.constructor = d; }
|
|
183
298
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -264,10 +379,12 @@ var AddableItems_extends = (undefined && undefined.__extends) || (function () {
|
|
|
264
379
|
var extendStatics = function (d, b) {
|
|
265
380
|
extendStatics = Object.setPrototypeOf ||
|
|
266
381
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
267
|
-
function (d, b) { for (var p in b) if (
|
|
382
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
268
383
|
return extendStatics(d, b);
|
|
269
384
|
};
|
|
270
385
|
return function (d, b) {
|
|
386
|
+
if (typeof b !== "function" && b !== null)
|
|
387
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
271
388
|
extendStatics(d, b);
|
|
272
389
|
function __() { this.constructor = d; }
|
|
273
390
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -374,7 +491,7 @@ var AddableItems = /** @class */ (function (_super) {
|
|
|
374
491
|
|
|
375
492
|
/***/ }),
|
|
376
493
|
|
|
377
|
-
/***/
|
|
494
|
+
/***/ 4397:
|
|
378
495
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
379
496
|
|
|
380
497
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -392,10 +509,12 @@ var __extends = (undefined && undefined.__extends) || (function () {
|
|
|
392
509
|
var extendStatics = function (d, b) {
|
|
393
510
|
extendStatics = Object.setPrototypeOf ||
|
|
394
511
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
395
|
-
function (d, b) { for (var p in b) if (
|
|
512
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
396
513
|
return extendStatics(d, b);
|
|
397
514
|
};
|
|
398
515
|
return function (d, b) {
|
|
516
|
+
if (typeof b !== "function" && b !== null)
|
|
517
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
399
518
|
extendStatics(d, b);
|
|
400
519
|
function __() { this.constructor = d; }
|
|
401
520
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -450,7 +569,7 @@ var Button = /** @class */ (function (_super) {
|
|
|
450
569
|
this.renderChildren()));
|
|
451
570
|
};
|
|
452
571
|
Button.prototype.render = function () {
|
|
453
|
-
var className = classnames__WEBPACK_IMPORTED_MODULE_1___default()('atoka-btn', "btn-"
|
|
572
|
+
var className = classnames__WEBPACK_IMPORTED_MODULE_1___default()('atoka-btn', "btn-".concat(this.props.size), this.props.className, {
|
|
454
573
|
'btn-icon-only': this.props.icon != null && this.props.children == null,
|
|
455
574
|
});
|
|
456
575
|
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react_bootstrap_Button__WEBPACK_IMPORTED_MODULE_2___default()), { className: className, variant: this.props.variant, disabled: this.props.disabled, block: this.props.block, onClick: this.props.onClick, href: this.props.href, target: this.props.target },
|
|
@@ -472,20 +591,20 @@ var Button = /** @class */ (function (_super) {
|
|
|
472
591
|
|
|
473
592
|
/***/ }),
|
|
474
593
|
|
|
475
|
-
/***/
|
|
594
|
+
/***/ 7325:
|
|
476
595
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
477
596
|
|
|
478
597
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
479
598
|
/* harmony export */ "Button": () => (/* reexport safe */ _Button__WEBPACK_IMPORTED_MODULE_0__.z)
|
|
480
599
|
/* harmony export */ });
|
|
481
|
-
/* harmony import */ var _Button__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
600
|
+
/* harmony import */ var _Button__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4397);
|
|
482
601
|
// use the star because of this issue: https://github.com/babel/babel-loader/issues/603
|
|
483
602
|
|
|
484
603
|
|
|
485
604
|
|
|
486
605
|
/***/ }),
|
|
487
606
|
|
|
488
|
-
/***/
|
|
607
|
+
/***/ 38:
|
|
489
608
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
490
609
|
|
|
491
610
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -501,10 +620,12 @@ var __extends = (undefined && undefined.__extends) || (function () {
|
|
|
501
620
|
var extendStatics = function (d, b) {
|
|
502
621
|
extendStatics = Object.setPrototypeOf ||
|
|
503
622
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
504
|
-
function (d, b) { for (var p in b) if (
|
|
623
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
505
624
|
return extendStatics(d, b);
|
|
506
625
|
};
|
|
507
626
|
return function (d, b) {
|
|
627
|
+
if (typeof b !== "function" && b !== null)
|
|
628
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
508
629
|
extendStatics(d, b);
|
|
509
630
|
function __() { this.constructor = d; }
|
|
510
631
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -570,19 +691,19 @@ var Title = /** @class */ (function (_super) {
|
|
|
570
691
|
|
|
571
692
|
/***/ }),
|
|
572
693
|
|
|
573
|
-
/***/
|
|
694
|
+
/***/ 3932:
|
|
574
695
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
575
696
|
|
|
576
697
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
577
698
|
/* harmony export */ "Title": () => (/* reexport safe */ _Title__WEBPACK_IMPORTED_MODULE_0__.D)
|
|
578
699
|
/* harmony export */ });
|
|
579
|
-
/* harmony import */ var _Title__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
700
|
+
/* harmony import */ var _Title__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38);
|
|
580
701
|
|
|
581
702
|
|
|
582
703
|
|
|
583
704
|
/***/ }),
|
|
584
705
|
|
|
585
|
-
/***/
|
|
706
|
+
/***/ 4603:
|
|
586
707
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
587
708
|
|
|
588
709
|
|
|
@@ -665,117 +786,6 @@ Tooltip.displayName = 'Tooltip';
|
|
|
665
786
|
|
|
666
787
|
|
|
667
788
|
|
|
668
|
-
/***/ }),
|
|
669
|
-
|
|
670
|
-
/***/ 6627:
|
|
671
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
672
|
-
|
|
673
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
674
|
-
/* harmony export */ "MR": () => (/* binding */ boundMethod)
|
|
675
|
-
/* harmony export */ });
|
|
676
|
-
/* unused harmony exports boundClass, default */
|
|
677
|
-
/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4329);
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
function _typeof(obj) {
|
|
681
|
-
if (typeof Symbol === "function" && (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(Symbol.iterator) === "symbol") {
|
|
682
|
-
_typeof = function _typeof(obj) {
|
|
683
|
-
return (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(obj);
|
|
684
|
-
};
|
|
685
|
-
} else {
|
|
686
|
-
_typeof = function _typeof(obj) {
|
|
687
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(obj);
|
|
688
|
-
};
|
|
689
|
-
}
|
|
690
|
-
|
|
691
|
-
return _typeof(obj);
|
|
692
|
-
}
|
|
693
|
-
/**
|
|
694
|
-
* Return a descriptor removing the value and returning a getter
|
|
695
|
-
* The getter will return a .bind version of the function
|
|
696
|
-
* and memoize the result against a symbol on the instance
|
|
697
|
-
*/
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
function boundMethod(target, key, descriptor) {
|
|
701
|
-
var fn = descriptor.value;
|
|
702
|
-
|
|
703
|
-
if (typeof fn !== 'function') {
|
|
704
|
-
throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(_typeof(fn)));
|
|
705
|
-
} // In IE11 calling Object.defineProperty has a side-effect of evaluating the
|
|
706
|
-
// getter for the property which is being replaced. This causes infinite
|
|
707
|
-
// recursion and an "Out of stack space" error.
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
var definingProperty = false;
|
|
711
|
-
return {
|
|
712
|
-
configurable: true,
|
|
713
|
-
get: function get() {
|
|
714
|
-
// eslint-disable-next-line no-prototype-builtins
|
|
715
|
-
if (definingProperty || this === target.prototype || this.hasOwnProperty(key) || typeof fn !== 'function') {
|
|
716
|
-
return fn;
|
|
717
|
-
}
|
|
718
|
-
|
|
719
|
-
var boundFn = fn.bind(this);
|
|
720
|
-
definingProperty = true;
|
|
721
|
-
Object.defineProperty(this, key, {
|
|
722
|
-
configurable: true,
|
|
723
|
-
get: function get() {
|
|
724
|
-
return boundFn;
|
|
725
|
-
},
|
|
726
|
-
set: function set(value) {
|
|
727
|
-
fn = value;
|
|
728
|
-
delete this[key];
|
|
729
|
-
}
|
|
730
|
-
});
|
|
731
|
-
definingProperty = false;
|
|
732
|
-
return boundFn;
|
|
733
|
-
},
|
|
734
|
-
set: function set(value) {
|
|
735
|
-
fn = value;
|
|
736
|
-
}
|
|
737
|
-
};
|
|
738
|
-
}
|
|
739
|
-
/**
|
|
740
|
-
* Use boundMethod to bind all methods on the target.prototype
|
|
741
|
-
*/
|
|
742
|
-
|
|
743
|
-
function boundClass(target) {
|
|
744
|
-
// (Using reflect to get all keys including symbols)
|
|
745
|
-
var keys; // Use Reflect if exists
|
|
746
|
-
|
|
747
|
-
if (typeof Reflect !== 'undefined' && typeof Reflect.ownKeys === 'function') {
|
|
748
|
-
keys = Reflect.ownKeys(target.prototype);
|
|
749
|
-
} else {
|
|
750
|
-
keys = Object.getOwnPropertyNames(target.prototype); // Use symbols if support is provided
|
|
751
|
-
|
|
752
|
-
if (typeof Object.getOwnPropertySymbols === 'function') {
|
|
753
|
-
keys = keys.concat(Object.getOwnPropertySymbols(target.prototype));
|
|
754
|
-
}
|
|
755
|
-
}
|
|
756
|
-
|
|
757
|
-
keys.forEach(function (key) {
|
|
758
|
-
// Ignore special case target method
|
|
759
|
-
if (key === 'constructor') {
|
|
760
|
-
return;
|
|
761
|
-
}
|
|
762
|
-
|
|
763
|
-
var descriptor = Object.getOwnPropertyDescriptor(target.prototype, key); // Only methods need binding
|
|
764
|
-
|
|
765
|
-
if (typeof descriptor.value === 'function') {
|
|
766
|
-
Object.defineProperty(target.prototype, key, boundMethod(target, key, descriptor));
|
|
767
|
-
}
|
|
768
|
-
});
|
|
769
|
-
return target;
|
|
770
|
-
}
|
|
771
|
-
function autobind() {
|
|
772
|
-
if (arguments.length === 1) {
|
|
773
|
-
return boundClass.apply(void 0, arguments);
|
|
774
|
-
}
|
|
775
|
-
|
|
776
|
-
return boundMethod.apply(void 0, arguments);
|
|
777
|
-
}
|
|
778
|
-
|
|
779
789
|
/***/ }),
|
|
780
790
|
|
|
781
791
|
/***/ 8809:
|
|
@@ -857,17 +867,11 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__7111__;
|
|
|
857
867
|
function _typeof(obj) {
|
|
858
868
|
"@babel/helpers - typeof";
|
|
859
869
|
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
}
|
|
865
|
-
_typeof = function _typeof(obj) {
|
|
866
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
867
|
-
};
|
|
868
|
-
}
|
|
869
|
-
|
|
870
|
-
return _typeof(obj);
|
|
870
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
871
|
+
return typeof obj;
|
|
872
|
+
} : function (obj) {
|
|
873
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
874
|
+
}, _typeof(obj);
|
|
871
875
|
}
|
|
872
876
|
|
|
873
877
|
/***/ })
|
|
@@ -986,7 +990,7 @@ function _typeof(obj) {
|
|
|
986
990
|
/******/ 6615: 0,
|
|
987
991
|
/******/ 7564: 0,
|
|
988
992
|
/******/ 2823: 0,
|
|
989
|
-
/******/
|
|
993
|
+
/******/ 6999: 0
|
|
990
994
|
/******/ };
|
|
991
995
|
/******/
|
|
992
996
|
/******/ // no chunk on demand loading
|
|
@@ -1036,7 +1040,7 @@ function _typeof(obj) {
|
|
|
1036
1040
|
/******/ // startup
|
|
1037
1041
|
/******/ // Load entry module and return exports
|
|
1038
1042
|
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
|
1039
|
-
/******/ var __webpack_exports__ = __webpack_require__.O(undefined, [
|
|
1043
|
+
/******/ var __webpack_exports__ = __webpack_require__.O(undefined, [6999], () => (__webpack_require__(568)))
|
|
1040
1044
|
/******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
|
|
1041
1045
|
/******/
|
|
1042
1046
|
/******/ return __webpack_exports__;
|