@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/TabSwitcher/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
|
+
/***/ 595:
|
|
16
127
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17
128
|
|
|
18
129
|
|
|
@@ -68,7 +179,7 @@ var __rest = (undefined && undefined.__rest) || function (s, e) {
|
|
|
68
179
|
*/
|
|
69
180
|
var Badge = external_react_default().memo(function (_a) {
|
|
70
181
|
var _b = _a.size, size = _b === void 0 ? 'sm' : _b, props = __rest(_a, ["size"]);
|
|
71
|
-
var className = external_classnames_default()(props === null || props === void 0 ? void 0 : props.className, 'atoka-badge', "variant-"
|
|
182
|
+
var className = external_classnames_default()(props === null || props === void 0 ? void 0 : props.className, 'atoka-badge', "variant-".concat(props.variant, "-").concat(props.color), size), iconClassName = external_classnames_default()({
|
|
72
183
|
'mr-2': props.children != null,
|
|
73
184
|
}), icon = props.icon == null ? null : external_react_default().createElement(react_fontawesome_.FontAwesomeIcon, { icon: props.icon, className: iconClassName });
|
|
74
185
|
return (external_react_default().createElement((Badge_default()), { className: className },
|
|
@@ -84,7 +195,7 @@ Badge.displayName = 'Badge';
|
|
|
84
195
|
|
|
85
196
|
/***/ }),
|
|
86
197
|
|
|
87
|
-
/***/
|
|
198
|
+
/***/ 8352:
|
|
88
199
|
/***/ ((__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) => {
|
|
89
200
|
|
|
90
201
|
|
|
@@ -111,7 +222,7 @@ var FormLabel = external_react_default().memo(function (props) {
|
|
|
111
222
|
FormLabel.displayName = 'FormLabel';
|
|
112
223
|
|
|
113
224
|
// EXTERNAL MODULE: ./src/components/Form/FormControl.tsx + 1 modules
|
|
114
|
-
var FormControl = __webpack_require__(
|
|
225
|
+
var FormControl = __webpack_require__(2048);
|
|
115
226
|
;// CONCATENATED MODULE: ./src/components/Form/FormCheckbox.tsx
|
|
116
227
|
var __assign = (undefined && undefined.__assign) || function () {
|
|
117
228
|
__assign = Object.assign || function(t) {
|
|
@@ -223,7 +334,7 @@ Form.Group = (Form_default()).Group;
|
|
|
223
334
|
|
|
224
335
|
/***/ }),
|
|
225
336
|
|
|
226
|
-
/***/
|
|
337
|
+
/***/ 2048:
|
|
227
338
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
228
339
|
|
|
229
340
|
|
|
@@ -300,7 +411,7 @@ FormControl.displayName = 'FormControl';
|
|
|
300
411
|
|
|
301
412
|
/***/ }),
|
|
302
413
|
|
|
303
|
-
/***/
|
|
414
|
+
/***/ 994:
|
|
304
415
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
305
416
|
|
|
306
417
|
|
|
@@ -319,22 +430,24 @@ var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_cl
|
|
|
319
430
|
var ButtonGroup_ = __webpack_require__(5901);
|
|
320
431
|
var ButtonGroup_default = /*#__PURE__*/__webpack_require__.n(ButtonGroup_);
|
|
321
432
|
// EXTERNAL MODULE: ./src/components/Utils/Utils.tsx
|
|
322
|
-
var Utils = __webpack_require__(
|
|
433
|
+
var Utils = __webpack_require__(4915);
|
|
323
434
|
// EXTERNAL MODULE: ./node_modules/autobind-decorator/lib/esm/index.js
|
|
324
435
|
var esm = __webpack_require__(6627);
|
|
325
436
|
// EXTERNAL MODULE: ./src/components/Badge/index.ts + 1 modules
|
|
326
|
-
var Badge = __webpack_require__(
|
|
437
|
+
var Badge = __webpack_require__(595);
|
|
327
438
|
// EXTERNAL MODULE: ./src/components/Title/index.ts
|
|
328
|
-
var Title = __webpack_require__(
|
|
439
|
+
var Title = __webpack_require__(3932);
|
|
329
440
|
;// CONCATENATED MODULE: ./src/components/TabSwitcher/TabSwitcherChoice.tsx
|
|
330
441
|
var __extends = (undefined && undefined.__extends) || (function () {
|
|
331
442
|
var extendStatics = function (d, b) {
|
|
332
443
|
extendStatics = Object.setPrototypeOf ||
|
|
333
444
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
334
|
-
function (d, b) { for (var p in b) if (
|
|
445
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
335
446
|
return extendStatics(d, b);
|
|
336
447
|
};
|
|
337
448
|
return function (d, b) {
|
|
449
|
+
if (typeof b !== "function" && b !== null)
|
|
450
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
338
451
|
extendStatics(d, b);
|
|
339
452
|
function __() { this.constructor = d; }
|
|
340
453
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -408,10 +521,12 @@ var TabSwitcher_extends = (undefined && undefined.__extends) || (function () {
|
|
|
408
521
|
var extendStatics = function (d, b) {
|
|
409
522
|
extendStatics = Object.setPrototypeOf ||
|
|
410
523
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
411
|
-
function (d, b) { for (var p in b) if (
|
|
524
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
412
525
|
return extendStatics(d, b);
|
|
413
526
|
};
|
|
414
527
|
return function (d, b) {
|
|
528
|
+
if (typeof b !== "function" && b !== null)
|
|
529
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
415
530
|
extendStatics(d, b);
|
|
416
531
|
function __() { this.constructor = d; }
|
|
417
532
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -474,7 +589,7 @@ var TabSwitcher = /** @class */ (function (_super) {
|
|
|
474
589
|
};
|
|
475
590
|
TabSwitcher.prototype.renderIndicator = function () {
|
|
476
591
|
var style = {
|
|
477
|
-
transform: "translate("
|
|
592
|
+
transform: "translate(".concat(this.state.indicatorLeft, "px, 0)"),
|
|
478
593
|
width: this.state.indicatorWidth,
|
|
479
594
|
};
|
|
480
595
|
return external_react_default().createElement("span", { className: 'indicator', style: style });
|
|
@@ -519,20 +634,20 @@ var TabSwitcher = /** @class */ (function (_super) {
|
|
|
519
634
|
|
|
520
635
|
/***/ }),
|
|
521
636
|
|
|
522
|
-
/***/
|
|
637
|
+
/***/ 7154:
|
|
523
638
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
524
639
|
|
|
525
640
|
__webpack_require__.r(__webpack_exports__);
|
|
526
641
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
527
642
|
/* harmony export */ "TabSwitcher": () => (/* reexport safe */ _TabSwitcher__WEBPACK_IMPORTED_MODULE_0__.r)
|
|
528
643
|
/* harmony export */ });
|
|
529
|
-
/* harmony import */ var _TabSwitcher__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
644
|
+
/* harmony import */ var _TabSwitcher__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(994);
|
|
530
645
|
|
|
531
646
|
|
|
532
647
|
|
|
533
648
|
/***/ }),
|
|
534
649
|
|
|
535
|
-
/***/
|
|
650
|
+
/***/ 38:
|
|
536
651
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
537
652
|
|
|
538
653
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -548,10 +663,12 @@ var __extends = (undefined && undefined.__extends) || (function () {
|
|
|
548
663
|
var extendStatics = function (d, b) {
|
|
549
664
|
extendStatics = Object.setPrototypeOf ||
|
|
550
665
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
551
|
-
function (d, b) { for (var p in b) if (
|
|
666
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
552
667
|
return extendStatics(d, b);
|
|
553
668
|
};
|
|
554
669
|
return function (d, b) {
|
|
670
|
+
if (typeof b !== "function" && b !== null)
|
|
671
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
555
672
|
extendStatics(d, b);
|
|
556
673
|
function __() { this.constructor = d; }
|
|
557
674
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -617,19 +734,19 @@ var Title = /** @class */ (function (_super) {
|
|
|
617
734
|
|
|
618
735
|
/***/ }),
|
|
619
736
|
|
|
620
|
-
/***/
|
|
737
|
+
/***/ 3932:
|
|
621
738
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
622
739
|
|
|
623
740
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
624
741
|
/* harmony export */ "Title": () => (/* reexport safe */ _Title__WEBPACK_IMPORTED_MODULE_0__.D)
|
|
625
742
|
/* harmony export */ });
|
|
626
|
-
/* harmony import */ var _Title__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
743
|
+
/* harmony import */ var _Title__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38);
|
|
627
744
|
|
|
628
745
|
|
|
629
746
|
|
|
630
747
|
/***/ }),
|
|
631
748
|
|
|
632
|
-
/***/
|
|
749
|
+
/***/ 4915:
|
|
633
750
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
634
751
|
|
|
635
752
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -640,7 +757,7 @@ var Title = /** @class */ (function (_super) {
|
|
|
640
757
|
/* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_0__);
|
|
641
758
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8156);
|
|
642
759
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
643
|
-
/* harmony import */ var _Form_Form__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
760
|
+
/* harmony import */ var _Form_Form__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8352);
|
|
644
761
|
var __read = (undefined && undefined.__read) || function (o, n) {
|
|
645
762
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
646
763
|
if (!m) return o;
|
|
@@ -769,117 +886,6 @@ function rgbToHex(rgb) {
|
|
|
769
886
|
}
|
|
770
887
|
|
|
771
888
|
|
|
772
|
-
/***/ }),
|
|
773
|
-
|
|
774
|
-
/***/ 6627:
|
|
775
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
776
|
-
|
|
777
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
778
|
-
/* harmony export */ "MR": () => (/* binding */ boundMethod)
|
|
779
|
-
/* harmony export */ });
|
|
780
|
-
/* unused harmony exports boundClass, default */
|
|
781
|
-
/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4329);
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
function _typeof(obj) {
|
|
785
|
-
if (typeof Symbol === "function" && (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(Symbol.iterator) === "symbol") {
|
|
786
|
-
_typeof = function _typeof(obj) {
|
|
787
|
-
return (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(obj);
|
|
788
|
-
};
|
|
789
|
-
} else {
|
|
790
|
-
_typeof = function _typeof(obj) {
|
|
791
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(obj);
|
|
792
|
-
};
|
|
793
|
-
}
|
|
794
|
-
|
|
795
|
-
return _typeof(obj);
|
|
796
|
-
}
|
|
797
|
-
/**
|
|
798
|
-
* Return a descriptor removing the value and returning a getter
|
|
799
|
-
* The getter will return a .bind version of the function
|
|
800
|
-
* and memoize the result against a symbol on the instance
|
|
801
|
-
*/
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
function boundMethod(target, key, descriptor) {
|
|
805
|
-
var fn = descriptor.value;
|
|
806
|
-
|
|
807
|
-
if (typeof fn !== 'function') {
|
|
808
|
-
throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(_typeof(fn)));
|
|
809
|
-
} // In IE11 calling Object.defineProperty has a side-effect of evaluating the
|
|
810
|
-
// getter for the property which is being replaced. This causes infinite
|
|
811
|
-
// recursion and an "Out of stack space" error.
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
var definingProperty = false;
|
|
815
|
-
return {
|
|
816
|
-
configurable: true,
|
|
817
|
-
get: function get() {
|
|
818
|
-
// eslint-disable-next-line no-prototype-builtins
|
|
819
|
-
if (definingProperty || this === target.prototype || this.hasOwnProperty(key) || typeof fn !== 'function') {
|
|
820
|
-
return fn;
|
|
821
|
-
}
|
|
822
|
-
|
|
823
|
-
var boundFn = fn.bind(this);
|
|
824
|
-
definingProperty = true;
|
|
825
|
-
Object.defineProperty(this, key, {
|
|
826
|
-
configurable: true,
|
|
827
|
-
get: function get() {
|
|
828
|
-
return boundFn;
|
|
829
|
-
},
|
|
830
|
-
set: function set(value) {
|
|
831
|
-
fn = value;
|
|
832
|
-
delete this[key];
|
|
833
|
-
}
|
|
834
|
-
});
|
|
835
|
-
definingProperty = false;
|
|
836
|
-
return boundFn;
|
|
837
|
-
},
|
|
838
|
-
set: function set(value) {
|
|
839
|
-
fn = value;
|
|
840
|
-
}
|
|
841
|
-
};
|
|
842
|
-
}
|
|
843
|
-
/**
|
|
844
|
-
* Use boundMethod to bind all methods on the target.prototype
|
|
845
|
-
*/
|
|
846
|
-
|
|
847
|
-
function boundClass(target) {
|
|
848
|
-
// (Using reflect to get all keys including symbols)
|
|
849
|
-
var keys; // Use Reflect if exists
|
|
850
|
-
|
|
851
|
-
if (typeof Reflect !== 'undefined' && typeof Reflect.ownKeys === 'function') {
|
|
852
|
-
keys = Reflect.ownKeys(target.prototype);
|
|
853
|
-
} else {
|
|
854
|
-
keys = Object.getOwnPropertyNames(target.prototype); // Use symbols if support is provided
|
|
855
|
-
|
|
856
|
-
if (typeof Object.getOwnPropertySymbols === 'function') {
|
|
857
|
-
keys = keys.concat(Object.getOwnPropertySymbols(target.prototype));
|
|
858
|
-
}
|
|
859
|
-
}
|
|
860
|
-
|
|
861
|
-
keys.forEach(function (key) {
|
|
862
|
-
// Ignore special case target method
|
|
863
|
-
if (key === 'constructor') {
|
|
864
|
-
return;
|
|
865
|
-
}
|
|
866
|
-
|
|
867
|
-
var descriptor = Object.getOwnPropertyDescriptor(target.prototype, key); // Only methods need binding
|
|
868
|
-
|
|
869
|
-
if (typeof descriptor.value === 'function') {
|
|
870
|
-
Object.defineProperty(target.prototype, key, boundMethod(target, key, descriptor));
|
|
871
|
-
}
|
|
872
|
-
});
|
|
873
|
-
return target;
|
|
874
|
-
}
|
|
875
|
-
function autobind() {
|
|
876
|
-
if (arguments.length === 1) {
|
|
877
|
-
return boundClass.apply(void 0, arguments);
|
|
878
|
-
}
|
|
879
|
-
|
|
880
|
-
return boundMethod.apply(void 0, arguments);
|
|
881
|
-
}
|
|
882
|
-
|
|
883
889
|
/***/ }),
|
|
884
890
|
|
|
885
891
|
/***/ 5692:
|
|
@@ -947,17 +953,11 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__8763__;
|
|
|
947
953
|
function _typeof(obj) {
|
|
948
954
|
"@babel/helpers - typeof";
|
|
949
955
|
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
}
|
|
955
|
-
_typeof = function _typeof(obj) {
|
|
956
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
957
|
-
};
|
|
958
|
-
}
|
|
959
|
-
|
|
960
|
-
return _typeof(obj);
|
|
956
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
957
|
+
return typeof obj;
|
|
958
|
+
} : function (obj) {
|
|
959
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
960
|
+
}, _typeof(obj);
|
|
961
961
|
}
|
|
962
962
|
|
|
963
963
|
/***/ })
|
|
@@ -1075,7 +1075,7 @@ function _typeof(obj) {
|
|
|
1075
1075
|
/******/ 2197: 0,
|
|
1076
1076
|
/******/ 54: 0,
|
|
1077
1077
|
/******/ 7564: 0,
|
|
1078
|
-
/******/
|
|
1078
|
+
/******/ 6999: 0
|
|
1079
1079
|
/******/ };
|
|
1080
1080
|
/******/
|
|
1081
1081
|
/******/ // no chunk on demand loading
|
|
@@ -1125,7 +1125,7 @@ function _typeof(obj) {
|
|
|
1125
1125
|
/******/ // startup
|
|
1126
1126
|
/******/ // Load entry module and return exports
|
|
1127
1127
|
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
|
1128
|
-
/******/ var __webpack_exports__ = __webpack_require__.O(undefined, [
|
|
1128
|
+
/******/ var __webpack_exports__ = __webpack_require__.O(undefined, [6999], () => (__webpack_require__(7154)))
|
|
1129
1129
|
/******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
|
|
1130
1130
|
/******/
|
|
1131
1131
|
/******/ return __webpack_exports__;
|