@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/PieChart/index.js
CHANGED
|
@@ -9,12 +9,124 @@
|
|
|
9
9
|
root["atoka-design-system"] = factory(root["@fortawesome/pro-solid-svg-icons/faCircle"], root["@fortawesome/react-fontawesome"], root["@nivo/pie"], root["classnames"], root["react"], root["react-bootstrap/Col"], root["react-bootstrap/Container"], root["react-bootstrap/Form"], root["react-bootstrap/FormControl"], root["react-bootstrap/FormText"], root["react-bootstrap/OverlayTrigger"], root["react-bootstrap/Row"]);
|
|
10
10
|
})(self, function(__WEBPACK_EXTERNAL_MODULE__1326__, __WEBPACK_EXTERNAL_MODULE__5692__, __WEBPACK_EXTERNAL_MODULE__7812__, __WEBPACK_EXTERNAL_MODULE__8310__, __WEBPACK_EXTERNAL_MODULE__8156__, __WEBPACK_EXTERNAL_MODULE__5315__, __WEBPACK_EXTERNAL_MODULE__4394__, __WEBPACK_EXTERNAL_MODULE__8721__, __WEBPACK_EXTERNAL_MODULE__1082__, __WEBPACK_EXTERNAL_MODULE__8763__, __WEBPACK_EXTERNAL_MODULE__6043__, __WEBPACK_EXTERNAL_MODULE__3915__) {
|
|
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
|
+
/***/ 9629:
|
|
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__, {
|
|
@@ -28,18 +140,20 @@ var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_cl
|
|
|
28
140
|
var external_react_ = __webpack_require__(8156);
|
|
29
141
|
var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
|
|
30
142
|
// EXTERNAL MODULE: ./src/components/Tooltip/index.ts + 1 modules
|
|
31
|
-
var Tooltip = __webpack_require__(
|
|
143
|
+
var Tooltip = __webpack_require__(4603);
|
|
32
144
|
// EXTERNAL MODULE: ./src/components/Utils/Utils.tsx
|
|
33
|
-
var Utils = __webpack_require__(
|
|
145
|
+
var Utils = __webpack_require__(4915);
|
|
34
146
|
;// CONCATENATED MODULE: ./src/components/EllipsableContent/EllipsableContent.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 __());
|
|
@@ -118,10 +232,9 @@ var EllipsableContent = /** @class */ (function (_super) {
|
|
|
118
232
|
|
|
119
233
|
/***/ }),
|
|
120
234
|
|
|
121
|
-
/***/
|
|
235
|
+
/***/ 8352:
|
|
122
236
|
/***/ ((__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) => {
|
|
123
237
|
|
|
124
|
-
"use strict";
|
|
125
238
|
|
|
126
239
|
// UNUSED EXPORTS: Form
|
|
127
240
|
|
|
@@ -146,7 +259,7 @@ var FormLabel = external_react_default().memo(function (props) {
|
|
|
146
259
|
FormLabel.displayName = 'FormLabel';
|
|
147
260
|
|
|
148
261
|
// EXTERNAL MODULE: ./src/components/Form/FormControl.tsx + 1 modules
|
|
149
|
-
var FormControl = __webpack_require__(
|
|
262
|
+
var FormControl = __webpack_require__(2048);
|
|
150
263
|
;// CONCATENATED MODULE: ./src/components/Form/FormCheckbox.tsx
|
|
151
264
|
var __assign = (undefined && undefined.__assign) || function () {
|
|
152
265
|
__assign = Object.assign || function(t) {
|
|
@@ -258,10 +371,9 @@ Form.Group = (Form_default()).Group;
|
|
|
258
371
|
|
|
259
372
|
/***/ }),
|
|
260
373
|
|
|
261
|
-
/***/
|
|
374
|
+
/***/ 2048:
|
|
262
375
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
263
376
|
|
|
264
|
-
"use strict";
|
|
265
377
|
|
|
266
378
|
// EXPORTS
|
|
267
379
|
__webpack_require__.d(__webpack_exports__, {
|
|
@@ -336,10 +448,9 @@ FormControl.displayName = 'FormControl';
|
|
|
336
448
|
|
|
337
449
|
/***/ }),
|
|
338
450
|
|
|
339
|
-
/***/
|
|
451
|
+
/***/ 3614:
|
|
340
452
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
341
453
|
|
|
342
|
-
"use strict";
|
|
343
454
|
// ESM COMPAT FLAG
|
|
344
455
|
__webpack_require__.r(__webpack_exports__);
|
|
345
456
|
|
|
@@ -367,26 +478,28 @@ var pie_ = __webpack_require__(7812);
|
|
|
367
478
|
var external_classnames_ = __webpack_require__(8310);
|
|
368
479
|
var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
|
|
369
480
|
// EXTERNAL MODULE: ./src/components/Utils/Statistics.ts
|
|
370
|
-
var Statistics = __webpack_require__(
|
|
481
|
+
var Statistics = __webpack_require__(5909);
|
|
371
482
|
// EXTERNAL MODULE: ./src/components/StatisticsLegend/index.ts + 3 modules
|
|
372
|
-
var StatisticsLegend = __webpack_require__(
|
|
483
|
+
var StatisticsLegend = __webpack_require__(7562);
|
|
373
484
|
// EXTERNAL MODULE: ./src/components/Utils/Utils.tsx
|
|
374
|
-
var Utils = __webpack_require__(
|
|
485
|
+
var Utils = __webpack_require__(4915);
|
|
375
486
|
// EXTERNAL MODULE: ./src/components/StatisticsTooltip/index.ts + 1 modules
|
|
376
|
-
var StatisticsTooltip = __webpack_require__(
|
|
487
|
+
var StatisticsTooltip = __webpack_require__(4806);
|
|
377
488
|
// EXTERNAL MODULE: ./src/components/Utils/Style.ts
|
|
378
|
-
var Style = __webpack_require__(
|
|
489
|
+
var Style = __webpack_require__(7540);
|
|
379
490
|
// EXTERNAL MODULE: ./src/components/Utils/Text.ts
|
|
380
|
-
var Text = __webpack_require__(
|
|
491
|
+
var Text = __webpack_require__(2394);
|
|
381
492
|
;// CONCATENATED MODULE: ./src/components/PieChart/PieChart.tsx
|
|
382
493
|
var __extends = (undefined && undefined.__extends) || (function () {
|
|
383
494
|
var extendStatics = function (d, b) {
|
|
384
495
|
extendStatics = Object.setPrototypeOf ||
|
|
385
496
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
386
|
-
function (d, b) { for (var p in b) if (
|
|
497
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
387
498
|
return extendStatics(d, b);
|
|
388
499
|
};
|
|
389
500
|
return function (d, b) {
|
|
501
|
+
if (typeof b !== "function" && b !== null)
|
|
502
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
390
503
|
extendStatics(d, b);
|
|
391
504
|
function __() { this.constructor = d; }
|
|
392
505
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -460,16 +573,18 @@ var PieChart = /** @class */ (function (_super) {
|
|
|
460
573
|
throw Error('With a maxSliceNumber prop, maxSlicesNumber + 1 must be of the same length as the colors.length prop');
|
|
461
574
|
}
|
|
462
575
|
var children = this.props.maxSlicesNumber == null
|
|
463
|
-
? (_b = this.props.data) === null || _b === void 0 ? void 0 : _b.sort((0,Utils/* sortObjDesc */.kV)('value'))
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
576
|
+
? (_b = this.props.data) === null || _b === void 0 ? void 0 : _b.sort((0,Utils/* sortObjDesc */.kV)('value'))
|
|
577
|
+
: (0,Statistics/* createDataWithOtherSlice */.xG)((_d = (_c = this.props) === null || _c === void 0 ? void 0 : _c.data) !== null && _d !== void 0 ? _d : [], (_e = this.props) === null || _e === void 0 ? void 0 : _e.otherId, (_f = this.props) === null || _f === void 0 ? void 0 : _f.otherLabel, (_g = this.props) === null || _g === void 0 ? void 0 : _g.maxSlicesNumber, (_h = this.props) === null || _h === void 0 ? void 0 : _h.total);
|
|
578
|
+
this.renderTooltip =
|
|
579
|
+
(_j = this.props.renderTooltip) !== null && _j !== void 0 ? _j : (0,StatisticsTooltip.getRenderStatisticsTooltip)({
|
|
580
|
+
tooltipDataLabelKey: 'value',
|
|
581
|
+
tooltipDataValueKey: 'percentage',
|
|
582
|
+
tooltipDataTitleKey: 'id',
|
|
583
|
+
otherId: this.props.otherId,
|
|
584
|
+
numberToStringFormatter: (_l = (_k = this.props) === null || _k === void 0 ? void 0 : _k.tooltipValueFormat) !== null && _l !== void 0 ? _l : (_m = this.props) === null || _m === void 0 ? void 0 : _m.numberToStringFormatter,
|
|
585
|
+
otherLabel: this.props.otherLabel,
|
|
586
|
+
withColor: true,
|
|
587
|
+
});
|
|
473
588
|
this.setState({
|
|
474
589
|
data: children,
|
|
475
590
|
});
|
|
@@ -538,8 +653,9 @@ var PieChart = /** @class */ (function (_super) {
|
|
|
538
653
|
var subDataColors = (_c = dataColors === null || dataColors === void 0 ? void 0 : dataColors.slice(index, index + 2)) !== null && _c !== void 0 ? _c : null;
|
|
539
654
|
dataForLine.forEach(function (subData, j) {
|
|
540
655
|
var val = _this.props.numberToStringFormatter == null
|
|
541
|
-
? subData === null || subData === void 0 ? void 0 : subData.value
|
|
542
|
-
|
|
656
|
+
? subData === null || subData === void 0 ? void 0 : subData.value
|
|
657
|
+
: _this.props.numberToStringFormatter(subData === null || subData === void 0 ? void 0 : subData.value), valLength = val.toString().length, charsNumberForEllipse = 19 - valLength;
|
|
658
|
+
lines.push(external_react_default().createElement(StatisticsLegend.StatisticsSVGLegend, { key: "".concat(index, "-").concat(j), data: [subData], x: (j * size) / 2 + j * 20, y: y + index * 10, width: (size / 2) * 2 + 40, valueFormat: _this.props.numberToStringFormatter, labelFormat: function (label) { return (0,Text/* ellipse */.Hp)(label, charsNumberForEllipse); }, colors: [subDataColors[j]] }));
|
|
543
659
|
});
|
|
544
660
|
index += 2;
|
|
545
661
|
};
|
|
@@ -614,28 +730,28 @@ var PieChart = /** @class */ (function (_super) {
|
|
|
614
730
|
|
|
615
731
|
/***/ }),
|
|
616
732
|
|
|
617
|
-
/***/
|
|
733
|
+
/***/ 3311:
|
|
618
734
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
619
735
|
|
|
620
|
-
"use strict";
|
|
621
736
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
622
737
|
/* harmony export */ "Q": () => (/* binding */ StatisticsSVGLegend)
|
|
623
738
|
/* harmony export */ });
|
|
624
739
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8156);
|
|
625
740
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
626
741
|
/* harmony import */ var autobind_decorator__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6627);
|
|
627
|
-
/* harmony import */ var _Utils_CommonTypes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
628
|
-
/* harmony import */ var
|
|
629
|
-
/* harmony import */ var
|
|
630
|
-
/* harmony import */ var _Utils_Statistics__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5258);
|
|
742
|
+
/* harmony import */ var _Utils_CommonTypes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(3654);
|
|
743
|
+
/* harmony import */ var _Utils_Style__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7540);
|
|
744
|
+
/* harmony import */ var _Utils_Statistics__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5909);
|
|
631
745
|
var __extends = (undefined && undefined.__extends) || (function () {
|
|
632
746
|
var extendStatics = function (d, b) {
|
|
633
747
|
extendStatics = Object.setPrototypeOf ||
|
|
634
748
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
635
|
-
function (d, b) { for (var p in b) if (
|
|
749
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
636
750
|
return extendStatics(d, b);
|
|
637
751
|
};
|
|
638
752
|
return function (d, b) {
|
|
753
|
+
if (typeof b !== "function" && b !== null)
|
|
754
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
639
755
|
extendStatics(d, b);
|
|
640
756
|
function __() { this.constructor = d; }
|
|
641
757
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -663,9 +779,9 @@ var StatisticsSVGLegend = /** @class */ (function (_super) {
|
|
|
663
779
|
StatisticsSVGLegend.prototype.renderSVGDataInfoBit = function (item, i) {
|
|
664
780
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
665
781
|
var label = (_a = item.label) !== null && _a !== void 0 ? _a : '', percentage = this.renderPercentage(item), dot = this.renderCircle((_b = this.props.colors) === null || _b === void 0 ? void 0 : _b[i]);
|
|
666
|
-
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), { key: item.label
|
|
782
|
+
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), { key: "".concat(item.label, "-legend-data") },
|
|
667
783
|
dot,
|
|
668
|
-
react__WEBPACK_IMPORTED_MODULE_0___default().createElement("text", { x: this.props.x, y: this.props.y, fill: _Utils_Style__WEBPACK_IMPORTED_MODULE_2__/* .gray400 */ .de, fontSize: this.props.fontSize, key: item.label
|
|
784
|
+
react__WEBPACK_IMPORTED_MODULE_0___default().createElement("text", { x: this.props.x, y: this.props.y, fill: _Utils_Style__WEBPACK_IMPORTED_MODULE_2__/* .gray400 */ .de, fontSize: this.props.fontSize, key: "".concat(item.label, "-legend-data") },
|
|
669
785
|
react__WEBPACK_IMPORTED_MODULE_0___default().createElement("tspan", { dx: dot == null ? 0 : 10 }, (_e = (_d = (_c = this.props).labelFormat) === null || _d === void 0 ? void 0 : _d.call(_c, label)) !== null && _e !== void 0 ? _e : label),
|
|
670
786
|
react__WEBPACK_IMPORTED_MODULE_0___default().createElement("tspan", { x: this.getRightElementX(), dx: 5, fill: 'black', fontWeight: 'bold', textAnchor: 'end' }, (_h = (_g = (_f = this.props).valueFormat) === null || _g === void 0 ? void 0 : _g.call(_f, item.value)) !== null && _h !== void 0 ? _h : item.value),
|
|
671
787
|
percentage)));
|
|
@@ -673,7 +789,7 @@ var StatisticsSVGLegend = /** @class */ (function (_super) {
|
|
|
673
789
|
StatisticsSVGLegend.prototype.renderSVGDataInfoBitMoreItems = function (item, i) {
|
|
674
790
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
675
791
|
var label = (_a = item.label) !== null && _a !== void 0 ? _a : '', percentage = this.renderPercentage(item), dot = this.renderCircle((_b = this.props.colors) === null || _b === void 0 ? void 0 : _b[i]);
|
|
676
|
-
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), { key: item.label
|
|
792
|
+
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), { key: "".concat(item.label, "-legend-data-items") },
|
|
677
793
|
dot,
|
|
678
794
|
react__WEBPACK_IMPORTED_MODULE_0___default().createElement("tspan", { dx: i === 0 || dot != null ? 0 : 10, fill: _Utils_Style__WEBPACK_IMPORTED_MODULE_2__/* .gray400 */ .de }, (_e = (_d = (_c = this.props).labelFormat) === null || _d === void 0 ? void 0 : _d.call(_c, label)) !== null && _e !== void 0 ? _e : label),
|
|
679
795
|
react__WEBPACK_IMPORTED_MODULE_0___default().createElement("tspan", { dx: 5, fill: 'black', fontWeight: 'bold' }, (_h = (_g = (_f = this.props).valueFormat) === null || _g === void 0 ? void 0 : _g.call(_f, item.value)) !== null && _h !== void 0 ? _h : item.value),
|
|
@@ -721,13 +837,13 @@ var StatisticsSVGLegend = /** @class */ (function (_super) {
|
|
|
721
837
|
__decorate([
|
|
722
838
|
autobind_decorator__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP,
|
|
723
839
|
__metadata("design:type", Function),
|
|
724
|
-
__metadata("design:paramtypes", [typeof (_a = typeof _Utils_CommonTypes__WEBPACK_IMPORTED_MODULE_4__.DataPoint !== "undefined" && _Utils_CommonTypes__WEBPACK_IMPORTED_MODULE_4__.DataPoint) === "function" ? _a : Object, Number]),
|
|
840
|
+
__metadata("design:paramtypes", [typeof (_a = typeof _Utils_CommonTypes__WEBPACK_IMPORTED_MODULE_4__/* .DataPoint */ .hz !== "undefined" && _Utils_CommonTypes__WEBPACK_IMPORTED_MODULE_4__/* .DataPoint */ .hz) === "function" ? _a : Object, Number]),
|
|
725
841
|
__metadata("design:returntype", typeof (_b = typeof (react__WEBPACK_IMPORTED_MODULE_0___default()) !== "undefined" && (react__WEBPACK_IMPORTED_MODULE_0___default().ReactNode)) === "function" ? _b : Object)
|
|
726
842
|
], StatisticsSVGLegend.prototype, "renderSVGDataInfoBit", null);
|
|
727
843
|
__decorate([
|
|
728
844
|
autobind_decorator__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP,
|
|
729
845
|
__metadata("design:type", Function),
|
|
730
|
-
__metadata("design:paramtypes", [typeof (_c = typeof _Utils_CommonTypes__WEBPACK_IMPORTED_MODULE_4__.DataPoint !== "undefined" && _Utils_CommonTypes__WEBPACK_IMPORTED_MODULE_4__.DataPoint) === "function" ? _c : Object, Number]),
|
|
846
|
+
__metadata("design:paramtypes", [typeof (_c = typeof _Utils_CommonTypes__WEBPACK_IMPORTED_MODULE_4__/* .DataPoint */ .hz !== "undefined" && _Utils_CommonTypes__WEBPACK_IMPORTED_MODULE_4__/* .DataPoint */ .hz) === "function" ? _c : Object, Number]),
|
|
731
847
|
__metadata("design:returntype", typeof (_d = typeof (react__WEBPACK_IMPORTED_MODULE_0___default()) !== "undefined" && (react__WEBPACK_IMPORTED_MODULE_0___default().ReactNode)) === "function" ? _d : Object)
|
|
732
848
|
], StatisticsSVGLegend.prototype, "renderSVGDataInfoBitMoreItems", null);
|
|
733
849
|
return StatisticsSVGLegend;
|
|
@@ -737,10 +853,9 @@ var StatisticsSVGLegend = /** @class */ (function (_super) {
|
|
|
737
853
|
|
|
738
854
|
/***/ }),
|
|
739
855
|
|
|
740
|
-
/***/
|
|
856
|
+
/***/ 7562:
|
|
741
857
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
742
858
|
|
|
743
|
-
"use strict";
|
|
744
859
|
|
|
745
860
|
// EXPORTS
|
|
746
861
|
__webpack_require__.d(__webpack_exports__, {
|
|
@@ -769,20 +884,22 @@ var faCircle_ = __webpack_require__(1326);
|
|
|
769
884
|
// EXTERNAL MODULE: external "@fortawesome/react-fontawesome"
|
|
770
885
|
var react_fontawesome_ = __webpack_require__(5692);
|
|
771
886
|
// EXTERNAL MODULE: ./src/components/EllipsableContent/index.ts + 1 modules
|
|
772
|
-
var EllipsableContent = __webpack_require__(
|
|
887
|
+
var EllipsableContent = __webpack_require__(9629);
|
|
773
888
|
// EXTERNAL MODULE: ./src/components/Utils/Text.ts
|
|
774
|
-
var Text = __webpack_require__(
|
|
889
|
+
var Text = __webpack_require__(2394);
|
|
775
890
|
// EXTERNAL MODULE: ./src/components/Utils/Statistics.ts
|
|
776
|
-
var Statistics = __webpack_require__(
|
|
891
|
+
var Statistics = __webpack_require__(5909);
|
|
777
892
|
;// CONCATENATED MODULE: ./src/components/StatisticsLegend/StatisticsLegendItem.tsx
|
|
778
893
|
var __extends = (undefined && undefined.__extends) || (function () {
|
|
779
894
|
var extendStatics = function (d, b) {
|
|
780
895
|
extendStatics = Object.setPrototypeOf ||
|
|
781
896
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
782
|
-
function (d, b) { for (var p in b) if (
|
|
897
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
783
898
|
return extendStatics(d, b);
|
|
784
899
|
};
|
|
785
900
|
return function (d, b) {
|
|
901
|
+
if (typeof b !== "function" && b !== null)
|
|
902
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
786
903
|
extendStatics(d, b);
|
|
787
904
|
function __() { this.constructor = d; }
|
|
788
905
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -845,7 +962,7 @@ var StatisticsLegendItem = /** @class */ (function (_super) {
|
|
|
845
962
|
var className = external_classnames_default()('legend-item px-1', {
|
|
846
963
|
'flex-basis-0': this.props.layout === 'horizontal',
|
|
847
964
|
});
|
|
848
|
-
return (external_react_default().createElement((Col_default()), { sm: 24 / columnNumber, className: className, key: "legend-item-"
|
|
965
|
+
return (external_react_default().createElement((Col_default()), { sm: 24 / columnNumber, className: className, key: "legend-item-".concat(data.id) },
|
|
849
966
|
external_react_default().createElement(EllipsableContent.EllipsableContent, { className: 'label-container w-100 justify-content-between' },
|
|
850
967
|
external_react_default().createElement(EllipsableContent.EllipsableContent.Content, null,
|
|
851
968
|
external_react_default().createElement(react_fontawesome_.FontAwesomeIcon, { icon: faCircle_.faCircle, color: color, className: 'mr-1' }),
|
|
@@ -887,6 +1004,7 @@ StatisticsLegend_StatisticsLegend.displayName = 'StatisticsLegend';
|
|
|
887
1004
|
|
|
888
1005
|
var getRenderStatisticsLegend = function (_a) {
|
|
889
1006
|
var legendDataLabelKey = _a.legendDataLabelKey, legendDataValueKey = _a.legendDataValueKey, legendDataPercentageKey = _a.legendDataPercentageKey, layout = _a.layout, columnsNumber = _a.columnsNumber;
|
|
1007
|
+
// eslint-disable-next-line react/display-name
|
|
890
1008
|
return function (_a) {
|
|
891
1009
|
var data = _a.data, otherId = _a.otherId, colors = _a.colors, numberToStringFormatter = _a.numberToStringFormatter;
|
|
892
1010
|
return (React.createElement(StatisticsLegend, { layout: layout, data: data, otherId: otherId, colors: colors, columnNumber: columnsNumber, numberToStringFormatter: numberToStringFormatter, legendDataLabelKey: legendDataLabelKey, legendDataValueKey: legendDataValueKey, legendDataPercentageKey: legendDataPercentageKey }));
|
|
@@ -894,7 +1012,7 @@ var getRenderStatisticsLegend = function (_a) {
|
|
|
894
1012
|
};
|
|
895
1013
|
|
|
896
1014
|
// EXTERNAL MODULE: ./src/components/StatisticsLegend/StatisticsSVGLegend.tsx
|
|
897
|
-
var StatisticsSVGLegend = __webpack_require__(
|
|
1015
|
+
var StatisticsSVGLegend = __webpack_require__(3311);
|
|
898
1016
|
;// CONCATENATED MODULE: ./src/components/StatisticsLegend/index.ts
|
|
899
1017
|
|
|
900
1018
|
|
|
@@ -903,16 +1021,15 @@ var StatisticsSVGLegend = __webpack_require__(655);
|
|
|
903
1021
|
|
|
904
1022
|
/***/ }),
|
|
905
1023
|
|
|
906
|
-
/***/
|
|
1024
|
+
/***/ 8007:
|
|
907
1025
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
908
1026
|
|
|
909
|
-
"use strict";
|
|
910
1027
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
911
1028
|
/* harmony export */ "q": () => (/* binding */ getRenderStatisticsTooltip)
|
|
912
1029
|
/* harmony export */ });
|
|
913
1030
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8156);
|
|
914
1031
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
915
|
-
/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
1032
|
+
/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4806);
|
|
916
1033
|
var __assign = (undefined && undefined.__assign) || function () {
|
|
917
1034
|
__assign = Object.assign || function(t) {
|
|
918
1035
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -939,10 +1056,9 @@ function getRenderStatisticsTooltip(_a) {
|
|
|
939
1056
|
|
|
940
1057
|
/***/ }),
|
|
941
1058
|
|
|
942
|
-
/***/
|
|
1059
|
+
/***/ 4806:
|
|
943
1060
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
944
1061
|
|
|
945
|
-
"use strict";
|
|
946
1062
|
|
|
947
1063
|
// EXPORTS
|
|
948
1064
|
__webpack_require__.d(__webpack_exports__, {
|
|
@@ -959,7 +1075,7 @@ var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_)
|
|
|
959
1075
|
var external_classnames_ = __webpack_require__(8310);
|
|
960
1076
|
var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
|
|
961
1077
|
// EXTERNAL MODULE: ./src/components/Utils/Statistics.ts
|
|
962
|
-
var Statistics = __webpack_require__(
|
|
1078
|
+
var Statistics = __webpack_require__(5909);
|
|
963
1079
|
;// CONCATENATED MODULE: ./src/components/StatisticsTooltip/StatisticsTooltip.tsx
|
|
964
1080
|
|
|
965
1081
|
|
|
@@ -1022,7 +1138,7 @@ var StatisticsTooltip = external_react_default().memo(function (props) {
|
|
|
1022
1138
|
StatisticsTooltip.displayName = 'StatisticsTooltip';
|
|
1023
1139
|
|
|
1024
1140
|
// EXTERNAL MODULE: ./src/components/StatisticsTooltip/helpers.tsx
|
|
1025
|
-
var helpers = __webpack_require__(
|
|
1141
|
+
var helpers = __webpack_require__(8007);
|
|
1026
1142
|
;// CONCATENATED MODULE: ./src/components/StatisticsTooltip/index.ts
|
|
1027
1143
|
|
|
1028
1144
|
|
|
@@ -1030,10 +1146,9 @@ var helpers = __webpack_require__(1470);
|
|
|
1030
1146
|
|
|
1031
1147
|
/***/ }),
|
|
1032
1148
|
|
|
1033
|
-
/***/
|
|
1149
|
+
/***/ 4603:
|
|
1034
1150
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1035
1151
|
|
|
1036
|
-
"use strict";
|
|
1037
1152
|
|
|
1038
1153
|
// EXPORTS
|
|
1039
1154
|
__webpack_require__.d(__webpack_exports__, {
|
|
@@ -1116,23 +1231,23 @@ Tooltip.displayName = 'Tooltip';
|
|
|
1116
1231
|
|
|
1117
1232
|
/***/ }),
|
|
1118
1233
|
|
|
1119
|
-
/***/
|
|
1234
|
+
/***/ 3654:
|
|
1120
1235
|
/***/ (() => {
|
|
1121
1236
|
|
|
1122
1237
|
|
|
1123
1238
|
|
|
1239
|
+
|
|
1124
1240
|
/***/ }),
|
|
1125
1241
|
|
|
1126
|
-
/***/
|
|
1242
|
+
/***/ 5909:
|
|
1127
1243
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1128
1244
|
|
|
1129
|
-
"use strict";
|
|
1130
1245
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1131
1246
|
/* harmony export */ "xG": () => (/* binding */ createDataWithOtherSlice),
|
|
1132
1247
|
/* harmony export */ "Ow": () => (/* binding */ normalizePercentage)
|
|
1133
1248
|
/* harmony export */ });
|
|
1134
1249
|
/* unused harmony export createCleanTree */
|
|
1135
|
-
/* harmony import */ var _Utils_Utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
1250
|
+
/* harmony import */ var _Utils_Utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4915);
|
|
1136
1251
|
var __values = (undefined && undefined.__values) || function(o) {
|
|
1137
1252
|
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
1138
1253
|
if (m) return m.call(o);
|
|
@@ -1209,16 +1324,15 @@ function removeValueIfChildren(node) {
|
|
|
1209
1324
|
}
|
|
1210
1325
|
function normalizePercentage(value) {
|
|
1211
1326
|
var _a;
|
|
1212
|
-
return parseInt((_a = value === null || value === void 0 ? void 0 : value.toFixed) === null || _a === void 0 ? void 0 : _a.call(value, 0), 10)
|
|
1327
|
+
return "".concat(parseInt((_a = value === null || value === void 0 ? void 0 : value.toFixed) === null || _a === void 0 ? void 0 : _a.call(value, 0), 10), "%");
|
|
1213
1328
|
}
|
|
1214
1329
|
|
|
1215
1330
|
|
|
1216
1331
|
/***/ }),
|
|
1217
1332
|
|
|
1218
|
-
/***/
|
|
1333
|
+
/***/ 7540:
|
|
1219
1334
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1220
1335
|
|
|
1221
|
-
"use strict";
|
|
1222
1336
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1223
1337
|
/* harmony export */ "KH": () => (/* binding */ blue30),
|
|
1224
1338
|
/* harmony export */ "kA": () => (/* binding */ blue80),
|
|
@@ -1259,10 +1373,9 @@ blue400 = '#11455C', gray100 = '#FAFAFA', gray200 = '#EBEBEB', gray300 = '#B0B0B
|
|
|
1259
1373
|
|
|
1260
1374
|
/***/ }),
|
|
1261
1375
|
|
|
1262
|
-
/***/
|
|
1376
|
+
/***/ 2394:
|
|
1263
1377
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1264
1378
|
|
|
1265
|
-
"use strict";
|
|
1266
1379
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1267
1380
|
/* harmony export */ "Wq": () => (/* binding */ isStringEmpty),
|
|
1268
1381
|
/* harmony export */ "Hp": () => (/* binding */ ellipse)
|
|
@@ -1295,9 +1408,14 @@ var __read = (undefined && undefined.__read) || function (o, n) {
|
|
|
1295
1408
|
}
|
|
1296
1409
|
return ar;
|
|
1297
1410
|
};
|
|
1298
|
-
var
|
|
1299
|
-
for (var
|
|
1300
|
-
|
|
1411
|
+
var __spreadArray = (undefined && undefined.__spreadArray) || function (to, from, pack) {
|
|
1412
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
1413
|
+
if (ar || !(i in from)) {
|
|
1414
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
1415
|
+
ar[i] = from[i];
|
|
1416
|
+
}
|
|
1417
|
+
}
|
|
1418
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
1301
1419
|
};
|
|
1302
1420
|
function isStringEmpty(s) {
|
|
1303
1421
|
if (s == null) {
|
|
@@ -1325,7 +1443,7 @@ function ellipse(input, length) {
|
|
|
1325
1443
|
if (input == null) {
|
|
1326
1444
|
return '';
|
|
1327
1445
|
}
|
|
1328
|
-
return input.length > length ? input.substr(0, length - 1)
|
|
1446
|
+
return input.length > length ? "".concat(input.substr(0, length - 1), "\u2026") : input;
|
|
1329
1447
|
}
|
|
1330
1448
|
function matchAndFormatRangeLabel(formatter) {
|
|
1331
1449
|
return function (label) {
|
|
@@ -1343,9 +1461,9 @@ function formatRange(item, formatter) {
|
|
|
1343
1461
|
var _a, _b;
|
|
1344
1462
|
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));
|
|
1345
1463
|
if (from === to) {
|
|
1346
|
-
return ""
|
|
1464
|
+
return "".concat(from);
|
|
1347
1465
|
}
|
|
1348
|
-
return from
|
|
1466
|
+
return "".concat(from, " - ").concat(to);
|
|
1349
1467
|
}
|
|
1350
1468
|
function ellipseAndFormat(formatter, maxLabelLength) {
|
|
1351
1469
|
return function (value) {
|
|
@@ -1353,7 +1471,7 @@ function ellipseAndFormat(formatter, maxLabelLength) {
|
|
|
1353
1471
|
if (formatter == null) {
|
|
1354
1472
|
return ellipse(strValue, maxLabelLength);
|
|
1355
1473
|
}
|
|
1356
|
-
return ellipse(""
|
|
1474
|
+
return ellipse("".concat(formatter(strValue)), maxLabelLength);
|
|
1357
1475
|
};
|
|
1358
1476
|
}
|
|
1359
1477
|
function escapeRegExp(input) {
|
|
@@ -1414,7 +1532,7 @@ function splitTextInParts(needles, text) {
|
|
|
1414
1532
|
continue;
|
|
1415
1533
|
}
|
|
1416
1534
|
var newParts = currentText.split(re).filter(function (s) { return s !== ''; });
|
|
1417
|
-
ret.splice.apply(ret,
|
|
1535
|
+
ret.splice.apply(ret, __spreadArray([index, 1], __read(newParts), false));
|
|
1418
1536
|
}
|
|
1419
1537
|
}
|
|
1420
1538
|
}
|
|
@@ -1431,10 +1549,9 @@ function splitTextInParts(needles, text) {
|
|
|
1431
1549
|
|
|
1432
1550
|
/***/ }),
|
|
1433
1551
|
|
|
1434
|
-
/***/
|
|
1552
|
+
/***/ 4915:
|
|
1435
1553
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1436
1554
|
|
|
1437
|
-
"use strict";
|
|
1438
1555
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1439
1556
|
/* harmony export */ "z8": () => (/* binding */ findChildByComponent),
|
|
1440
1557
|
/* harmony export */ "kV": () => (/* binding */ sortObjDesc),
|
|
@@ -1446,7 +1563,7 @@ function splitTextInParts(needles, text) {
|
|
|
1446
1563
|
/* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_0__);
|
|
1447
1564
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8156);
|
|
1448
1565
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
1449
|
-
/* harmony import */ var _Form_Form__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
1566
|
+
/* harmony import */ var _Form_Form__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8352);
|
|
1450
1567
|
var __read = (undefined && undefined.__read) || function (o, n) {
|
|
1451
1568
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
1452
1569
|
if (!m) return o;
|
|
@@ -1575,125 +1692,11 @@ function rgbToHex(rgb) {
|
|
|
1575
1692
|
}
|
|
1576
1693
|
|
|
1577
1694
|
|
|
1578
|
-
/***/ }),
|
|
1579
|
-
|
|
1580
|
-
/***/ 6627:
|
|
1581
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1582
|
-
|
|
1583
|
-
"use strict";
|
|
1584
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1585
|
-
/* harmony export */ "MR": () => (/* binding */ boundMethod),
|
|
1586
|
-
/* harmony export */ "ZP": () => (/* binding */ autobind)
|
|
1587
|
-
/* harmony export */ });
|
|
1588
|
-
/* unused harmony export boundClass */
|
|
1589
|
-
/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4329);
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
function _typeof(obj) {
|
|
1593
|
-
if (typeof Symbol === "function" && (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(Symbol.iterator) === "symbol") {
|
|
1594
|
-
_typeof = function _typeof(obj) {
|
|
1595
|
-
return (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(obj);
|
|
1596
|
-
};
|
|
1597
|
-
} else {
|
|
1598
|
-
_typeof = function _typeof(obj) {
|
|
1599
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(obj);
|
|
1600
|
-
};
|
|
1601
|
-
}
|
|
1602
|
-
|
|
1603
|
-
return _typeof(obj);
|
|
1604
|
-
}
|
|
1605
|
-
/**
|
|
1606
|
-
* Return a descriptor removing the value and returning a getter
|
|
1607
|
-
* The getter will return a .bind version of the function
|
|
1608
|
-
* and memoize the result against a symbol on the instance
|
|
1609
|
-
*/
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
function boundMethod(target, key, descriptor) {
|
|
1613
|
-
var fn = descriptor.value;
|
|
1614
|
-
|
|
1615
|
-
if (typeof fn !== 'function') {
|
|
1616
|
-
throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(_typeof(fn)));
|
|
1617
|
-
} // In IE11 calling Object.defineProperty has a side-effect of evaluating the
|
|
1618
|
-
// getter for the property which is being replaced. This causes infinite
|
|
1619
|
-
// recursion and an "Out of stack space" error.
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
var definingProperty = false;
|
|
1623
|
-
return {
|
|
1624
|
-
configurable: true,
|
|
1625
|
-
get: function get() {
|
|
1626
|
-
// eslint-disable-next-line no-prototype-builtins
|
|
1627
|
-
if (definingProperty || this === target.prototype || this.hasOwnProperty(key) || typeof fn !== 'function') {
|
|
1628
|
-
return fn;
|
|
1629
|
-
}
|
|
1630
|
-
|
|
1631
|
-
var boundFn = fn.bind(this);
|
|
1632
|
-
definingProperty = true;
|
|
1633
|
-
Object.defineProperty(this, key, {
|
|
1634
|
-
configurable: true,
|
|
1635
|
-
get: function get() {
|
|
1636
|
-
return boundFn;
|
|
1637
|
-
},
|
|
1638
|
-
set: function set(value) {
|
|
1639
|
-
fn = value;
|
|
1640
|
-
delete this[key];
|
|
1641
|
-
}
|
|
1642
|
-
});
|
|
1643
|
-
definingProperty = false;
|
|
1644
|
-
return boundFn;
|
|
1645
|
-
},
|
|
1646
|
-
set: function set(value) {
|
|
1647
|
-
fn = value;
|
|
1648
|
-
}
|
|
1649
|
-
};
|
|
1650
|
-
}
|
|
1651
|
-
/**
|
|
1652
|
-
* Use boundMethod to bind all methods on the target.prototype
|
|
1653
|
-
*/
|
|
1654
|
-
|
|
1655
|
-
function boundClass(target) {
|
|
1656
|
-
// (Using reflect to get all keys including symbols)
|
|
1657
|
-
var keys; // Use Reflect if exists
|
|
1658
|
-
|
|
1659
|
-
if (typeof Reflect !== 'undefined' && typeof Reflect.ownKeys === 'function') {
|
|
1660
|
-
keys = Reflect.ownKeys(target.prototype);
|
|
1661
|
-
} else {
|
|
1662
|
-
keys = Object.getOwnPropertyNames(target.prototype); // Use symbols if support is provided
|
|
1663
|
-
|
|
1664
|
-
if (typeof Object.getOwnPropertySymbols === 'function') {
|
|
1665
|
-
keys = keys.concat(Object.getOwnPropertySymbols(target.prototype));
|
|
1666
|
-
}
|
|
1667
|
-
}
|
|
1668
|
-
|
|
1669
|
-
keys.forEach(function (key) {
|
|
1670
|
-
// Ignore special case target method
|
|
1671
|
-
if (key === 'constructor') {
|
|
1672
|
-
return;
|
|
1673
|
-
}
|
|
1674
|
-
|
|
1675
|
-
var descriptor = Object.getOwnPropertyDescriptor(target.prototype, key); // Only methods need binding
|
|
1676
|
-
|
|
1677
|
-
if (typeof descriptor.value === 'function') {
|
|
1678
|
-
Object.defineProperty(target.prototype, key, boundMethod(target, key, descriptor));
|
|
1679
|
-
}
|
|
1680
|
-
});
|
|
1681
|
-
return target;
|
|
1682
|
-
}
|
|
1683
|
-
function autobind() {
|
|
1684
|
-
if (arguments.length === 1) {
|
|
1685
|
-
return boundClass.apply(void 0, arguments);
|
|
1686
|
-
}
|
|
1687
|
-
|
|
1688
|
-
return boundMethod.apply(void 0, arguments);
|
|
1689
|
-
}
|
|
1690
|
-
|
|
1691
1695
|
/***/ }),
|
|
1692
1696
|
|
|
1693
1697
|
/***/ 1326:
|
|
1694
1698
|
/***/ ((module) => {
|
|
1695
1699
|
|
|
1696
|
-
"use strict";
|
|
1697
1700
|
module.exports = __WEBPACK_EXTERNAL_MODULE__1326__;
|
|
1698
1701
|
|
|
1699
1702
|
/***/ }),
|
|
@@ -1701,7 +1704,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__1326__;
|
|
|
1701
1704
|
/***/ 5692:
|
|
1702
1705
|
/***/ ((module) => {
|
|
1703
1706
|
|
|
1704
|
-
"use strict";
|
|
1705
1707
|
module.exports = __WEBPACK_EXTERNAL_MODULE__5692__;
|
|
1706
1708
|
|
|
1707
1709
|
/***/ }),
|
|
@@ -1709,7 +1711,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__5692__;
|
|
|
1709
1711
|
/***/ 7812:
|
|
1710
1712
|
/***/ ((module) => {
|
|
1711
1713
|
|
|
1712
|
-
"use strict";
|
|
1713
1714
|
module.exports = __WEBPACK_EXTERNAL_MODULE__7812__;
|
|
1714
1715
|
|
|
1715
1716
|
/***/ }),
|
|
@@ -1717,7 +1718,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__7812__;
|
|
|
1717
1718
|
/***/ 8310:
|
|
1718
1719
|
/***/ ((module) => {
|
|
1719
1720
|
|
|
1720
|
-
"use strict";
|
|
1721
1721
|
module.exports = __WEBPACK_EXTERNAL_MODULE__8310__;
|
|
1722
1722
|
|
|
1723
1723
|
/***/ }),
|
|
@@ -1725,7 +1725,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__8310__;
|
|
|
1725
1725
|
/***/ 8156:
|
|
1726
1726
|
/***/ ((module) => {
|
|
1727
1727
|
|
|
1728
|
-
"use strict";
|
|
1729
1728
|
module.exports = __WEBPACK_EXTERNAL_MODULE__8156__;
|
|
1730
1729
|
|
|
1731
1730
|
/***/ }),
|
|
@@ -1733,7 +1732,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__8156__;
|
|
|
1733
1732
|
/***/ 5315:
|
|
1734
1733
|
/***/ ((module) => {
|
|
1735
1734
|
|
|
1736
|
-
"use strict";
|
|
1737
1735
|
module.exports = __WEBPACK_EXTERNAL_MODULE__5315__;
|
|
1738
1736
|
|
|
1739
1737
|
/***/ }),
|
|
@@ -1741,7 +1739,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__5315__;
|
|
|
1741
1739
|
/***/ 4394:
|
|
1742
1740
|
/***/ ((module) => {
|
|
1743
1741
|
|
|
1744
|
-
"use strict";
|
|
1745
1742
|
module.exports = __WEBPACK_EXTERNAL_MODULE__4394__;
|
|
1746
1743
|
|
|
1747
1744
|
/***/ }),
|
|
@@ -1749,7 +1746,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__4394__;
|
|
|
1749
1746
|
/***/ 8721:
|
|
1750
1747
|
/***/ ((module) => {
|
|
1751
1748
|
|
|
1752
|
-
"use strict";
|
|
1753
1749
|
module.exports = __WEBPACK_EXTERNAL_MODULE__8721__;
|
|
1754
1750
|
|
|
1755
1751
|
/***/ }),
|
|
@@ -1757,7 +1753,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__8721__;
|
|
|
1757
1753
|
/***/ 1082:
|
|
1758
1754
|
/***/ ((module) => {
|
|
1759
1755
|
|
|
1760
|
-
"use strict";
|
|
1761
1756
|
module.exports = __WEBPACK_EXTERNAL_MODULE__1082__;
|
|
1762
1757
|
|
|
1763
1758
|
/***/ }),
|
|
@@ -1765,7 +1760,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__1082__;
|
|
|
1765
1760
|
/***/ 8763:
|
|
1766
1761
|
/***/ ((module) => {
|
|
1767
1762
|
|
|
1768
|
-
"use strict";
|
|
1769
1763
|
module.exports = __WEBPACK_EXTERNAL_MODULE__8763__;
|
|
1770
1764
|
|
|
1771
1765
|
/***/ }),
|
|
@@ -1773,7 +1767,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__8763__;
|
|
|
1773
1767
|
/***/ 6043:
|
|
1774
1768
|
/***/ ((module) => {
|
|
1775
1769
|
|
|
1776
|
-
"use strict";
|
|
1777
1770
|
module.exports = __WEBPACK_EXTERNAL_MODULE__6043__;
|
|
1778
1771
|
|
|
1779
1772
|
/***/ }),
|
|
@@ -1781,7 +1774,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__6043__;
|
|
|
1781
1774
|
/***/ 3915:
|
|
1782
1775
|
/***/ ((module) => {
|
|
1783
1776
|
|
|
1784
|
-
"use strict";
|
|
1785
1777
|
module.exports = __WEBPACK_EXTERNAL_MODULE__3915__;
|
|
1786
1778
|
|
|
1787
1779
|
/***/ }),
|
|
@@ -1789,24 +1781,17 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__3915__;
|
|
|
1789
1781
|
/***/ 4329:
|
|
1790
1782
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
1791
1783
|
|
|
1792
|
-
"use strict";
|
|
1793
1784
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1794
1785
|
/* harmony export */ "Z": () => (/* binding */ _typeof)
|
|
1795
1786
|
/* harmony export */ });
|
|
1796
1787
|
function _typeof(obj) {
|
|
1797
1788
|
"@babel/helpers - typeof";
|
|
1798
1789
|
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
}
|
|
1804
|
-
_typeof = function _typeof(obj) {
|
|
1805
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
1806
|
-
};
|
|
1807
|
-
}
|
|
1808
|
-
|
|
1809
|
-
return _typeof(obj);
|
|
1790
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
1791
|
+
return typeof obj;
|
|
1792
|
+
} : function (obj) {
|
|
1793
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
1794
|
+
}, _typeof(obj);
|
|
1810
1795
|
}
|
|
1811
1796
|
|
|
1812
1797
|
/***/ })
|
|
@@ -1926,7 +1911,7 @@ function _typeof(obj) {
|
|
|
1926
1911
|
/******/ 1338: 0,
|
|
1927
1912
|
/******/ 9811: 0,
|
|
1928
1913
|
/******/ 2823: 0,
|
|
1929
|
-
/******/
|
|
1914
|
+
/******/ 6999: 0
|
|
1930
1915
|
/******/ };
|
|
1931
1916
|
/******/
|
|
1932
1917
|
/******/ // no chunk on demand loading
|
|
@@ -1976,7 +1961,7 @@ function _typeof(obj) {
|
|
|
1976
1961
|
/******/ // startup
|
|
1977
1962
|
/******/ // Load entry module and return exports
|
|
1978
1963
|
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
|
1979
|
-
/******/ var __webpack_exports__ = __webpack_require__.O(undefined, [
|
|
1964
|
+
/******/ var __webpack_exports__ = __webpack_require__.O(undefined, [6999], () => (__webpack_require__(3614)))
|
|
1980
1965
|
/******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
|
|
1981
1966
|
/******/
|
|
1982
1967
|
/******/ return __webpack_exports__;
|