@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/Suggester/index.js
CHANGED
|
@@ -9,12 +9,124 @@
|
|
|
9
9
|
root["atoka-design-system"] = factory(root["@fortawesome/pro-light-svg-icons/faSearch"], root["@fortawesome/react-fontawesome"], root["classnames"], root["react"], root["react-select"], root["react-select/async"]);
|
|
10
10
|
})(self, function(__WEBPACK_EXTERNAL_MODULE__8427__, __WEBPACK_EXTERNAL_MODULE__5692__, __WEBPACK_EXTERNAL_MODULE__8310__, __WEBPACK_EXTERNAL_MODULE__8156__, __WEBPACK_EXTERNAL_MODULE__1738__, __WEBPACK_EXTERNAL_MODULE__1553__) {
|
|
11
11
|
return /******/ (() => { // webpackBootstrap
|
|
12
|
+
/******/ "use strict";
|
|
12
13
|
/******/ var __webpack_modules__ = ({
|
|
13
14
|
|
|
14
|
-
/***/
|
|
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 */ "ZP": () => (/* binding */ autobind)
|
|
21
|
+
/* harmony export */ });
|
|
22
|
+
/* unused harmony export boundClass */
|
|
23
|
+
/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4329);
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
function _typeof(obj) {
|
|
27
|
+
if (typeof Symbol === "function" && (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(Symbol.iterator) === "symbol") {
|
|
28
|
+
_typeof = function _typeof(obj) {
|
|
29
|
+
return (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(obj);
|
|
30
|
+
};
|
|
31
|
+
} else {
|
|
32
|
+
_typeof = function _typeof(obj) {
|
|
33
|
+
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(obj);
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
return _typeof(obj);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Return a descriptor removing the value and returning a getter
|
|
41
|
+
* The getter will return a .bind version of the function
|
|
42
|
+
* and memoize the result against a symbol on the instance
|
|
43
|
+
*/
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
function boundMethod(target, key, descriptor) {
|
|
47
|
+
var fn = descriptor.value;
|
|
48
|
+
|
|
49
|
+
if (typeof fn !== 'function') {
|
|
50
|
+
throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(_typeof(fn)));
|
|
51
|
+
} // In IE11 calling Object.defineProperty has a side-effect of evaluating the
|
|
52
|
+
// getter for the property which is being replaced. This causes infinite
|
|
53
|
+
// recursion and an "Out of stack space" error.
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
var definingProperty = false;
|
|
57
|
+
return {
|
|
58
|
+
configurable: true,
|
|
59
|
+
get: function get() {
|
|
60
|
+
// eslint-disable-next-line no-prototype-builtins
|
|
61
|
+
if (definingProperty || this === target.prototype || this.hasOwnProperty(key) || typeof fn !== 'function') {
|
|
62
|
+
return fn;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
var boundFn = fn.bind(this);
|
|
66
|
+
definingProperty = true;
|
|
67
|
+
Object.defineProperty(this, key, {
|
|
68
|
+
configurable: true,
|
|
69
|
+
get: function get() {
|
|
70
|
+
return boundFn;
|
|
71
|
+
},
|
|
72
|
+
set: function set(value) {
|
|
73
|
+
fn = value;
|
|
74
|
+
delete this[key];
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
definingProperty = false;
|
|
78
|
+
return boundFn;
|
|
79
|
+
},
|
|
80
|
+
set: function set(value) {
|
|
81
|
+
fn = value;
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Use boundMethod to bind all methods on the target.prototype
|
|
87
|
+
*/
|
|
88
|
+
|
|
89
|
+
function boundClass(target) {
|
|
90
|
+
// (Using reflect to get all keys including symbols)
|
|
91
|
+
var keys; // Use Reflect if exists
|
|
92
|
+
|
|
93
|
+
if (typeof Reflect !== 'undefined' && typeof Reflect.ownKeys === 'function') {
|
|
94
|
+
keys = Reflect.ownKeys(target.prototype);
|
|
95
|
+
} else {
|
|
96
|
+
keys = Object.getOwnPropertyNames(target.prototype); // Use symbols if support is provided
|
|
97
|
+
|
|
98
|
+
if (typeof Object.getOwnPropertySymbols === 'function') {
|
|
99
|
+
keys = keys.concat(Object.getOwnPropertySymbols(target.prototype));
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
keys.forEach(function (key) {
|
|
104
|
+
// Ignore special case target method
|
|
105
|
+
if (key === 'constructor') {
|
|
106
|
+
return;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
var descriptor = Object.getOwnPropertyDescriptor(target.prototype, key); // Only methods need binding
|
|
110
|
+
|
|
111
|
+
if (typeof descriptor.value === 'function') {
|
|
112
|
+
Object.defineProperty(target.prototype, key, boundMethod(target, key, descriptor));
|
|
113
|
+
}
|
|
114
|
+
});
|
|
115
|
+
return target;
|
|
116
|
+
}
|
|
117
|
+
function autobind() {
|
|
118
|
+
if (arguments.length === 1) {
|
|
119
|
+
return boundClass.apply(void 0, arguments);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
return boundMethod.apply(void 0, arguments);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/***/ }),
|
|
126
|
+
|
|
127
|
+
/***/ 8265:
|
|
15
128
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
16
129
|
|
|
17
|
-
"use strict";
|
|
18
130
|
|
|
19
131
|
// EXPORTS
|
|
20
132
|
__webpack_require__.d(__webpack_exports__, {
|
|
@@ -30,16 +142,18 @@ var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_cl
|
|
|
30
142
|
var external_react_ = __webpack_require__(8156);
|
|
31
143
|
var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
|
|
32
144
|
// EXTERNAL MODULE: ./src/components/Utils/Text.ts
|
|
33
|
-
var Text = __webpack_require__(
|
|
145
|
+
var Text = __webpack_require__(2394);
|
|
34
146
|
;// CONCATENATED MODULE: ./src/components/HighlightableText/HighlightableText.tsx
|
|
35
147
|
var __extends = (undefined && undefined.__extends) || (function () {
|
|
36
148
|
var extendStatics = function (d, b) {
|
|
37
149
|
extendStatics = Object.setPrototypeOf ||
|
|
38
150
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
39
|
-
function (d, b) { for (var p in b) if (
|
|
151
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
40
152
|
return extendStatics(d, b);
|
|
41
153
|
};
|
|
42
154
|
return function (d, b) {
|
|
155
|
+
if (typeof b !== "function" && b !== null)
|
|
156
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
43
157
|
extendStatics(d, b);
|
|
44
158
|
function __() { this.constructor = d; }
|
|
45
159
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -85,7 +199,7 @@ var HighlightableText = /** @class */ (function (_super) {
|
|
|
85
199
|
if (isSelected) {
|
|
86
200
|
output = external_react_default().createElement("strong", null, text);
|
|
87
201
|
}
|
|
88
|
-
return (external_react_default().createElement("span", { key: text
|
|
202
|
+
return (external_react_default().createElement("span", { key: "".concat(text, "-").concat(index), className: classname }, output));
|
|
89
203
|
};
|
|
90
204
|
HighlightableText.prototype.highlightedText = function () {
|
|
91
205
|
var parts = this.getParts();
|
|
@@ -130,10 +244,9 @@ var HighlightableText = /** @class */ (function (_super) {
|
|
|
130
244
|
|
|
131
245
|
/***/ }),
|
|
132
246
|
|
|
133
|
-
/***/
|
|
247
|
+
/***/ 2374:
|
|
134
248
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
135
249
|
|
|
136
|
-
"use strict";
|
|
137
250
|
// ESM COMPAT FLAG
|
|
138
251
|
__webpack_require__.r(__webpack_exports__);
|
|
139
252
|
|
|
@@ -177,11 +290,11 @@ var async_default = /*#__PURE__*/__webpack_require__.n(async_);
|
|
|
177
290
|
// EXTERNAL MODULE: external "@fortawesome/pro-light-svg-icons/faSearch"
|
|
178
291
|
var faSearch_ = __webpack_require__(8427);
|
|
179
292
|
// EXTERNAL MODULE: ./src/components/Utils/CommonTypes.ts
|
|
180
|
-
var CommonTypes = __webpack_require__(
|
|
293
|
+
var CommonTypes = __webpack_require__(3654);
|
|
181
294
|
// EXTERNAL MODULE: ./src/components/HighlightableText/index.ts + 1 modules
|
|
182
|
-
var HighlightableText = __webpack_require__(
|
|
295
|
+
var HighlightableText = __webpack_require__(8265);
|
|
183
296
|
// EXTERNAL MODULE: ./src/components/Utils/Text.ts
|
|
184
|
-
var Text = __webpack_require__(
|
|
297
|
+
var Text = __webpack_require__(2394);
|
|
185
298
|
;// CONCATENATED MODULE: ./src/components/Suggester/CustomOption.tsx
|
|
186
299
|
|
|
187
300
|
|
|
@@ -296,6 +409,7 @@ var getRenderCustomMultiValueWithIcon_assign = (undefined && undefined.__assign)
|
|
|
296
409
|
|
|
297
410
|
var getRenderCustomMultiValueWithIcon = function (icon, color) {
|
|
298
411
|
if (color === void 0) { color = 'blue300'; }
|
|
412
|
+
// eslint-disable-next-line react/display-name
|
|
299
413
|
return function (props) {
|
|
300
414
|
// eslint-disable-next-line react/display-name
|
|
301
415
|
function getIcon() {
|
|
@@ -317,10 +431,12 @@ var __extends = (undefined && undefined.__extends) || (function () {
|
|
|
317
431
|
var extendStatics = function (d, b) {
|
|
318
432
|
extendStatics = Object.setPrototypeOf ||
|
|
319
433
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
320
|
-
function (d, b) { for (var p in b) if (
|
|
434
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
321
435
|
return extendStatics(d, b);
|
|
322
436
|
};
|
|
323
437
|
return function (d, b) {
|
|
438
|
+
if (typeof b !== "function" && b !== null)
|
|
439
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
324
440
|
extendStatics(d, b);
|
|
325
441
|
function __() { this.constructor = d; }
|
|
326
442
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -362,9 +478,14 @@ var __read = (undefined && undefined.__read) || function (o, n) {
|
|
|
362
478
|
}
|
|
363
479
|
return ar;
|
|
364
480
|
};
|
|
365
|
-
var
|
|
366
|
-
for (var
|
|
367
|
-
|
|
481
|
+
var __spreadArray = (undefined && undefined.__spreadArray) || function (to, from, pack) {
|
|
482
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
483
|
+
if (ar || !(i in from)) {
|
|
484
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
485
|
+
ar[i] = from[i];
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
368
489
|
};
|
|
369
490
|
|
|
370
491
|
|
|
@@ -439,7 +560,7 @@ var Suggester = /** @class */ (function (_super) {
|
|
|
439
560
|
if (this.props.withHighlight) {
|
|
440
561
|
optionProps.push(this.state.insertedText);
|
|
441
562
|
}
|
|
442
|
-
return external_react_default().createElement(external_react_select_.components.Option, Suggester_assign({}, props), (_b = (_a = this.props).renderSuggestedOption) === null || _b === void 0 ? void 0 : _b.call.apply(_b,
|
|
563
|
+
return external_react_default().createElement(external_react_select_.components.Option, Suggester_assign({}, props), (_b = (_a = this.props).renderSuggestedOption) === null || _b === void 0 ? void 0 : _b.call.apply(_b, __spreadArray([_a], __read(optionProps), false)));
|
|
443
564
|
};
|
|
444
565
|
Suggester.prototype.renderValueContainer = function (props) {
|
|
445
566
|
return (external_react_default().createElement(InputValueContainer, Suggester_assign({ icon: this.props.icon }, props), props.children));
|
|
@@ -567,7 +688,7 @@ var Suggester = /** @class */ (function (_super) {
|
|
|
567
688
|
__decorate([
|
|
568
689
|
esm/* default */.ZP,
|
|
569
690
|
__metadata("design:type", Function),
|
|
570
|
-
__metadata("design:paramtypes", [typeof (_j = typeof CommonTypes
|
|
691
|
+
__metadata("design:paramtypes", [typeof (_j = typeof CommonTypes/* OptionData */.nJ !== "undefined" && CommonTypes/* OptionData */.nJ) === "function" ? _j : Object]),
|
|
571
692
|
__metadata("design:returntype", Boolean)
|
|
572
693
|
], Suggester.prototype, "isOptionDisabled", null);
|
|
573
694
|
__decorate([
|
|
@@ -588,17 +709,17 @@ var Suggester = /** @class */ (function (_super) {
|
|
|
588
709
|
|
|
589
710
|
/***/ }),
|
|
590
711
|
|
|
591
|
-
/***/
|
|
712
|
+
/***/ 3654:
|
|
592
713
|
/***/ (() => {
|
|
593
714
|
|
|
594
715
|
|
|
595
716
|
|
|
717
|
+
|
|
596
718
|
/***/ }),
|
|
597
719
|
|
|
598
|
-
/***/
|
|
720
|
+
/***/ 2394:
|
|
599
721
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
600
722
|
|
|
601
|
-
"use strict";
|
|
602
723
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
603
724
|
/* harmony export */ "Wq": () => (/* binding */ isStringEmpty),
|
|
604
725
|
/* harmony export */ "OH": () => (/* binding */ isMatching),
|
|
@@ -632,9 +753,14 @@ var __read = (undefined && undefined.__read) || function (o, n) {
|
|
|
632
753
|
}
|
|
633
754
|
return ar;
|
|
634
755
|
};
|
|
635
|
-
var
|
|
636
|
-
for (var
|
|
637
|
-
|
|
756
|
+
var __spreadArray = (undefined && undefined.__spreadArray) || function (to, from, pack) {
|
|
757
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
758
|
+
if (ar || !(i in from)) {
|
|
759
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
760
|
+
ar[i] = from[i];
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
638
764
|
};
|
|
639
765
|
function isStringEmpty(s) {
|
|
640
766
|
if (s == null) {
|
|
@@ -662,7 +788,7 @@ function ellipse(input, length) {
|
|
|
662
788
|
if (input == null) {
|
|
663
789
|
return '';
|
|
664
790
|
}
|
|
665
|
-
return input.length > length ? input.substr(0, length - 1)
|
|
791
|
+
return input.length > length ? "".concat(input.substr(0, length - 1), "\u2026") : input;
|
|
666
792
|
}
|
|
667
793
|
function matchAndFormatRangeLabel(formatter) {
|
|
668
794
|
return function (label) {
|
|
@@ -680,9 +806,9 @@ function formatRange(item, formatter) {
|
|
|
680
806
|
var _a, _b;
|
|
681
807
|
var to = item.to === '*' ? '*' : formatter(parseInt((_a = item.to) !== null && _a !== void 0 ? _a : '0', 10)), from = formatter(parseInt((_b = item.from) !== null && _b !== void 0 ? _b : '0', 10));
|
|
682
808
|
if (from === to) {
|
|
683
|
-
return ""
|
|
809
|
+
return "".concat(from);
|
|
684
810
|
}
|
|
685
|
-
return from
|
|
811
|
+
return "".concat(from, " - ").concat(to);
|
|
686
812
|
}
|
|
687
813
|
function ellipseAndFormat(formatter, maxLabelLength) {
|
|
688
814
|
return function (value) {
|
|
@@ -690,7 +816,7 @@ function ellipseAndFormat(formatter, maxLabelLength) {
|
|
|
690
816
|
if (formatter == null) {
|
|
691
817
|
return ellipse(strValue, maxLabelLength);
|
|
692
818
|
}
|
|
693
|
-
return ellipse(""
|
|
819
|
+
return ellipse("".concat(formatter(strValue)), maxLabelLength);
|
|
694
820
|
};
|
|
695
821
|
}
|
|
696
822
|
function escapeRegExp(input) {
|
|
@@ -751,7 +877,7 @@ function splitTextInParts(needles, text) {
|
|
|
751
877
|
continue;
|
|
752
878
|
}
|
|
753
879
|
var newParts = currentText.split(re).filter(function (s) { return s !== ''; });
|
|
754
|
-
ret.splice.apply(ret,
|
|
880
|
+
ret.splice.apply(ret, __spreadArray([index, 1], __read(newParts), false));
|
|
755
881
|
}
|
|
756
882
|
}
|
|
757
883
|
}
|
|
@@ -766,125 +892,11 @@ function splitTextInParts(needles, text) {
|
|
|
766
892
|
}
|
|
767
893
|
|
|
768
894
|
|
|
769
|
-
/***/ }),
|
|
770
|
-
|
|
771
|
-
/***/ 6627:
|
|
772
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
773
|
-
|
|
774
|
-
"use strict";
|
|
775
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
776
|
-
/* harmony export */ "MR": () => (/* binding */ boundMethod),
|
|
777
|
-
/* harmony export */ "ZP": () => (/* binding */ autobind)
|
|
778
|
-
/* harmony export */ });
|
|
779
|
-
/* unused harmony export boundClass */
|
|
780
|
-
/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4329);
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
function _typeof(obj) {
|
|
784
|
-
if (typeof Symbol === "function" && (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(Symbol.iterator) === "symbol") {
|
|
785
|
-
_typeof = function _typeof(obj) {
|
|
786
|
-
return (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(obj);
|
|
787
|
-
};
|
|
788
|
-
} else {
|
|
789
|
-
_typeof = function _typeof(obj) {
|
|
790
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(obj);
|
|
791
|
-
};
|
|
792
|
-
}
|
|
793
|
-
|
|
794
|
-
return _typeof(obj);
|
|
795
|
-
}
|
|
796
|
-
/**
|
|
797
|
-
* Return a descriptor removing the value and returning a getter
|
|
798
|
-
* The getter will return a .bind version of the function
|
|
799
|
-
* and memoize the result against a symbol on the instance
|
|
800
|
-
*/
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
function boundMethod(target, key, descriptor) {
|
|
804
|
-
var fn = descriptor.value;
|
|
805
|
-
|
|
806
|
-
if (typeof fn !== 'function') {
|
|
807
|
-
throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(_typeof(fn)));
|
|
808
|
-
} // In IE11 calling Object.defineProperty has a side-effect of evaluating the
|
|
809
|
-
// getter for the property which is being replaced. This causes infinite
|
|
810
|
-
// recursion and an "Out of stack space" error.
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
var definingProperty = false;
|
|
814
|
-
return {
|
|
815
|
-
configurable: true,
|
|
816
|
-
get: function get() {
|
|
817
|
-
// eslint-disable-next-line no-prototype-builtins
|
|
818
|
-
if (definingProperty || this === target.prototype || this.hasOwnProperty(key) || typeof fn !== 'function') {
|
|
819
|
-
return fn;
|
|
820
|
-
}
|
|
821
|
-
|
|
822
|
-
var boundFn = fn.bind(this);
|
|
823
|
-
definingProperty = true;
|
|
824
|
-
Object.defineProperty(this, key, {
|
|
825
|
-
configurable: true,
|
|
826
|
-
get: function get() {
|
|
827
|
-
return boundFn;
|
|
828
|
-
},
|
|
829
|
-
set: function set(value) {
|
|
830
|
-
fn = value;
|
|
831
|
-
delete this[key];
|
|
832
|
-
}
|
|
833
|
-
});
|
|
834
|
-
definingProperty = false;
|
|
835
|
-
return boundFn;
|
|
836
|
-
},
|
|
837
|
-
set: function set(value) {
|
|
838
|
-
fn = value;
|
|
839
|
-
}
|
|
840
|
-
};
|
|
841
|
-
}
|
|
842
|
-
/**
|
|
843
|
-
* Use boundMethod to bind all methods on the target.prototype
|
|
844
|
-
*/
|
|
845
|
-
|
|
846
|
-
function boundClass(target) {
|
|
847
|
-
// (Using reflect to get all keys including symbols)
|
|
848
|
-
var keys; // Use Reflect if exists
|
|
849
|
-
|
|
850
|
-
if (typeof Reflect !== 'undefined' && typeof Reflect.ownKeys === 'function') {
|
|
851
|
-
keys = Reflect.ownKeys(target.prototype);
|
|
852
|
-
} else {
|
|
853
|
-
keys = Object.getOwnPropertyNames(target.prototype); // Use symbols if support is provided
|
|
854
|
-
|
|
855
|
-
if (typeof Object.getOwnPropertySymbols === 'function') {
|
|
856
|
-
keys = keys.concat(Object.getOwnPropertySymbols(target.prototype));
|
|
857
|
-
}
|
|
858
|
-
}
|
|
859
|
-
|
|
860
|
-
keys.forEach(function (key) {
|
|
861
|
-
// Ignore special case target method
|
|
862
|
-
if (key === 'constructor') {
|
|
863
|
-
return;
|
|
864
|
-
}
|
|
865
|
-
|
|
866
|
-
var descriptor = Object.getOwnPropertyDescriptor(target.prototype, key); // Only methods need binding
|
|
867
|
-
|
|
868
|
-
if (typeof descriptor.value === 'function') {
|
|
869
|
-
Object.defineProperty(target.prototype, key, boundMethod(target, key, descriptor));
|
|
870
|
-
}
|
|
871
|
-
});
|
|
872
|
-
return target;
|
|
873
|
-
}
|
|
874
|
-
function autobind() {
|
|
875
|
-
if (arguments.length === 1) {
|
|
876
|
-
return boundClass.apply(void 0, arguments);
|
|
877
|
-
}
|
|
878
|
-
|
|
879
|
-
return boundMethod.apply(void 0, arguments);
|
|
880
|
-
}
|
|
881
|
-
|
|
882
895
|
/***/ }),
|
|
883
896
|
|
|
884
897
|
/***/ 8427:
|
|
885
898
|
/***/ ((module) => {
|
|
886
899
|
|
|
887
|
-
"use strict";
|
|
888
900
|
module.exports = __WEBPACK_EXTERNAL_MODULE__8427__;
|
|
889
901
|
|
|
890
902
|
/***/ }),
|
|
@@ -892,7 +904,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__8427__;
|
|
|
892
904
|
/***/ 5692:
|
|
893
905
|
/***/ ((module) => {
|
|
894
906
|
|
|
895
|
-
"use strict";
|
|
896
907
|
module.exports = __WEBPACK_EXTERNAL_MODULE__5692__;
|
|
897
908
|
|
|
898
909
|
/***/ }),
|
|
@@ -900,7 +911,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__5692__;
|
|
|
900
911
|
/***/ 8310:
|
|
901
912
|
/***/ ((module) => {
|
|
902
913
|
|
|
903
|
-
"use strict";
|
|
904
914
|
module.exports = __WEBPACK_EXTERNAL_MODULE__8310__;
|
|
905
915
|
|
|
906
916
|
/***/ }),
|
|
@@ -908,7 +918,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__8310__;
|
|
|
908
918
|
/***/ 8156:
|
|
909
919
|
/***/ ((module) => {
|
|
910
920
|
|
|
911
|
-
"use strict";
|
|
912
921
|
module.exports = __WEBPACK_EXTERNAL_MODULE__8156__;
|
|
913
922
|
|
|
914
923
|
/***/ }),
|
|
@@ -916,7 +925,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__8156__;
|
|
|
916
925
|
/***/ 1738:
|
|
917
926
|
/***/ ((module) => {
|
|
918
927
|
|
|
919
|
-
"use strict";
|
|
920
928
|
module.exports = __WEBPACK_EXTERNAL_MODULE__1738__;
|
|
921
929
|
|
|
922
930
|
/***/ }),
|
|
@@ -924,7 +932,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__1738__;
|
|
|
924
932
|
/***/ 1553:
|
|
925
933
|
/***/ ((module) => {
|
|
926
934
|
|
|
927
|
-
"use strict";
|
|
928
935
|
module.exports = __WEBPACK_EXTERNAL_MODULE__1553__;
|
|
929
936
|
|
|
930
937
|
/***/ }),
|
|
@@ -932,24 +939,17 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__1553__;
|
|
|
932
939
|
/***/ 4329:
|
|
933
940
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
934
941
|
|
|
935
|
-
"use strict";
|
|
936
942
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
937
943
|
/* harmony export */ "Z": () => (/* binding */ _typeof)
|
|
938
944
|
/* harmony export */ });
|
|
939
945
|
function _typeof(obj) {
|
|
940
946
|
"@babel/helpers - typeof";
|
|
941
947
|
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
}
|
|
947
|
-
_typeof = function _typeof(obj) {
|
|
948
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
949
|
-
};
|
|
950
|
-
}
|
|
951
|
-
|
|
952
|
-
return _typeof(obj);
|
|
948
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
949
|
+
return typeof obj;
|
|
950
|
+
} : function (obj) {
|
|
951
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
952
|
+
}, _typeof(obj);
|
|
953
953
|
}
|
|
954
954
|
|
|
955
955
|
/***/ })
|
|
@@ -1066,7 +1066,7 @@ function _typeof(obj) {
|
|
|
1066
1066
|
/******/ var installedChunks = {
|
|
1067
1067
|
/******/ 4659: 0,
|
|
1068
1068
|
/******/ 4953: 0,
|
|
1069
|
-
/******/
|
|
1069
|
+
/******/ 6999: 0
|
|
1070
1070
|
/******/ };
|
|
1071
1071
|
/******/
|
|
1072
1072
|
/******/ // no chunk on demand loading
|
|
@@ -1116,7 +1116,7 @@ function _typeof(obj) {
|
|
|
1116
1116
|
/******/ // startup
|
|
1117
1117
|
/******/ // Load entry module and return exports
|
|
1118
1118
|
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
|
1119
|
-
/******/ var __webpack_exports__ = __webpack_require__.O(undefined, [
|
|
1119
|
+
/******/ var __webpack_exports__ = __webpack_require__.O(undefined, [6999], () => (__webpack_require__(2374)))
|
|
1120
1120
|
/******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
|
|
1121
1121
|
/******/
|
|
1122
1122
|
/******/ return __webpack_exports__;
|