@true-engineering/true-react-common-ui-kit 1.8.0 → 1.9.0
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/LICENSE +201 -201
- package/dist/components/Flag/augment.d.ts +1 -1
- package/dist/components/FlexibleTable/types.d.ts +1 -1
- package/dist/components/Icon/complexIcons/augment.d.ts +1 -1
- package/dist/helpers/utils.d.ts +1 -1
- package/dist/true-react-common-ui-kit.js +851 -112
- package/dist/true-react-common-ui-kit.js.map +1 -1
- package/dist/true-react-common-ui-kit.umd.cjs +823 -83
- package/dist/true-react-common-ui-kit.umd.cjs.map +1 -1
- package/dist/vite-env.d.ts +1 -1
- package/package.json +91 -91
- package/src/components/AccountInfo/AccountInfo.stories.tsx +35 -35
- package/src/components/AccountInfo/AccountInfo.styles.ts +55 -55
- package/src/components/AccountInfo/AccountInfo.tsx +106 -106
- package/src/components/AccountInfo/index.ts +2 -2
- package/src/components/AddButton/AddButton.stories.tsx +21 -21
- package/src/components/AddButton/AddButton.styles.ts +34 -34
- package/src/components/AddButton/AddButton.tsx +49 -49
- package/src/components/AddButton/index.ts +2 -2
- package/src/components/Button/Button.stories.tsx +61 -61
- package/src/components/Button/Button.styles.ts +196 -196
- package/src/components/Button/Button.tsx +195 -195
- package/src/components/Button/index.ts +2 -2
- package/src/components/Checkbox/Checkbox.stories.tsx +35 -35
- package/src/components/Checkbox/Checkbox.styles.ts +62 -62
- package/src/components/Checkbox/Checkbox.tsx +106 -106
- package/src/components/Checkbox/index.ts +2 -2
- package/src/components/CloseButton/CloseButton.styles.ts +34 -34
- package/src/components/CloseButton/CloseButton.tsx +37 -37
- package/src/components/CloseButton/index.ts +2 -2
- package/src/components/Colors/Colors.stories.tsx +7 -7
- package/src/components/Colors/Colors.styles.ts +38 -38
- package/src/components/Colors/Colors.tsx +34 -34
- package/src/components/Colors/index.ts +2 -2
- package/src/components/CssBaseline/CssBaseline.styles.ts +15 -15
- package/src/components/CssBaseline/CssBaseline.tsx +17 -17
- package/src/components/CssBaseline/index.ts +2 -2
- package/src/components/DateInput/DateInput.stories.tsx +63 -63
- package/src/components/DateInput/DateInput.styles.ts +14 -14
- package/src/components/DateInput/DateInput.tsx +60 -60
- package/src/components/DateInput/index.ts +2 -2
- package/src/components/DatePicker/DatePicker.stories.tsx +96 -96
- package/src/components/DatePicker/DatePicker.styles.ts +54 -54
- package/src/components/DatePicker/DatePicker.tsx +358 -358
- package/src/components/DatePicker/DatePickerHeader/DatePickerHeader.styles.ts +84 -84
- package/src/components/DatePicker/DatePickerHeader/DatePickerHeader.tsx +94 -94
- package/src/components/DatePicker/DatePickerHeader/index.ts +1 -1
- package/src/components/DatePicker/DatePickerInput/DatePickerInput.styles.ts +25 -25
- package/src/components/DatePicker/DatePickerInput/DatePickerInput.tsx +31 -31
- package/src/components/DatePicker/DatePickerInput/index.ts +1 -1
- package/src/components/DatePicker/index.ts +4 -4
- package/src/components/Description/Description.stories.tsx +29 -29
- package/src/components/Description/Description.styles.ts +31 -31
- package/src/components/Description/Description.tsx +69 -69
- package/src/components/Description/index.ts +2 -2
- package/src/components/FiltersPane/FilterInterval/FilterInterval.styles.ts +64 -64
- package/src/components/FiltersPane/FilterInterval/FilterInterval.tsx +162 -162
- package/src/components/FiltersPane/FilterInterval/index.ts +1 -1
- package/src/components/FiltersPane/FilterMultiSelect/FilterMultiSelect.tsx +14 -14
- package/src/components/FiltersPane/FilterMultiSelect/index.ts +1 -1
- package/src/components/FiltersPane/FilterSelect/FilterSelect.styles.ts +144 -144
- package/src/components/FiltersPane/FilterSelect/FilterSelect.tsx +397 -397
- package/src/components/FiltersPane/FilterSelect/index.ts +1 -1
- package/src/components/FiltersPane/FilterSelect/locales.ts +37 -37
- package/src/components/FiltersPane/FilterValueView/FilterValueView.styles.tsx +15 -15
- package/src/components/FiltersPane/FilterValueView/FilterValueView.tsx +186 -186
- package/src/components/FiltersPane/FilterValueView/index.tsx +1 -1
- package/src/components/FiltersPane/FilterWithDates/FilterWithDates.styles.ts +60 -60
- package/src/components/FiltersPane/FilterWithDates/FilterWithDates.tsx +222 -222
- package/src/components/FiltersPane/FilterWithDates/index.ts +1 -1
- package/src/components/FiltersPane/FilterWithPeriod/FilterWithPeriod.styles.ts +17 -17
- package/src/components/FiltersPane/FilterWithPeriod/FilterWithPeriod.tsx +231 -231
- package/src/components/FiltersPane/FilterWithPeriod/index.ts +1 -1
- package/src/components/FiltersPane/FilterWrapper/FilterWrapper.styles.ts +110 -110
- package/src/components/FiltersPane/FilterWrapper/FilterWrapper.tsx +360 -360
- package/src/components/FiltersPane/FilterWrapper/index.ts +1 -1
- package/src/components/FiltersPane/FiltersPane.stories.tsx +308 -308
- package/src/components/FiltersPane/FiltersPane.styles.ts +71 -71
- package/src/components/FiltersPane/FiltersPane.tsx +193 -193
- package/src/components/FiltersPane/FiltersPaneSearch/FiltersPaneSearch.styles.ts +109 -109
- package/src/components/FiltersPane/FiltersPaneSearch/FiltersPaneSearch.tsx +175 -175
- package/src/components/FiltersPane/FiltersPaneSearch/index.ts +1 -1
- package/src/components/FiltersPane/index.ts +20 -20
- package/src/components/FiltersPane/locales.ts +107 -107
- package/src/components/FiltersPane/types.ts +126 -126
- package/src/components/Flag/Flag.stories.tsx +29 -29
- package/src/components/Flag/Flag.styles.ts +18 -18
- package/src/components/Flag/Flag.tsx +28 -28
- package/src/components/Flag/augment.d.ts +1 -1
- package/src/components/Flag/index.ts +2 -2
- package/src/components/FlexibleTable/FlexibleTable.stories.tsx +86 -86
- package/src/components/FlexibleTable/FlexibleTable.styles.ts +131 -131
- package/src/components/FlexibleTable/FlexibleTable.tsx +243 -243
- package/src/components/FlexibleTable/TableRow.tsx +171 -171
- package/src/components/FlexibleTable/TableValue.tsx +81 -83
- package/src/components/FlexibleTable/fixture-test.ts +254 -254
- package/src/components/FlexibleTable/index.ts +3 -3
- package/src/components/FlexibleTable/types.ts +58 -58
- package/src/components/Icon/ComplexIconBoilerplate.tsx +17 -17
- package/src/components/Icon/Icon.stories.tsx +88 -88
- package/src/components/Icon/Icon.styles.ts +10 -10
- package/src/components/Icon/Icon.tsx +34 -34
- package/src/components/Icon/IconBoilerplate.tsx +42 -42
- package/src/components/Icon/complexIcons/augment.d.ts +1 -1
- package/src/components/Icon/complexIcons/avatarGreen.svg +57 -57
- package/src/components/Icon/complexIcons/icons.ts +7 -7
- package/src/components/Icon/complexIcons/index.ts +1 -1
- package/src/components/Icon/icons/icons.ts +838 -838
- package/src/components/Icon/icons/index.ts +1 -1
- package/src/components/Icon/index.ts +4 -4
- package/src/components/IncrementInput/ChangeButton.tsx +34 -34
- package/src/components/IncrementInput/IncrementInput.stories.tsx +34 -34
- package/src/components/IncrementInput/IncrementInput.styles.ts +77 -77
- package/src/components/IncrementInput/IncrementInput.tsx +95 -95
- package/src/components/IncrementInput/index.ts +2 -2
- package/src/components/Input/Input.stories.tsx +92 -92
- package/src/components/Input/Input.styles.ts +305 -305
- package/src/components/Input/Input.tsx +318 -318
- package/src/components/Input/index.ts +2 -2
- package/src/components/List/List.stories.tsx +62 -62
- package/src/components/List/List.styles.ts +52 -52
- package/src/components/List/List.tsx +82 -82
- package/src/components/List/index.ts +2 -2
- package/src/components/Modal/Modal.stories.tsx +113 -113
- package/src/components/Modal/Modal.styles.ts +308 -308
- package/src/components/Modal/Modal.tsx +210 -210
- package/src/components/Modal/index.ts +2 -2
- package/src/components/MoreMenu/MoreMenu.stories.tsx +46 -46
- package/src/components/MoreMenu/MoreMenu.styles.ts +70 -70
- package/src/components/MoreMenu/MoreMenu.tsx +102 -102
- package/src/components/MoreMenu/index.ts +2 -2
- package/src/components/MultiSelect/MultiSelect.stories.tsx +46 -46
- package/src/components/MultiSelect/MultiSelect.styles.ts +55 -55
- package/src/components/MultiSelect/MultiSelect.tsx +98 -98
- package/src/components/MultiSelect/MultiSelectInput/MultiSelectInput.styles.ts +73 -73
- package/src/components/MultiSelect/MultiSelectInput/MultiSelectInput.tsx +62 -62
- package/src/components/MultiSelect/MultiSelectInput/index.ts +1 -1
- package/src/components/MultiSelect/index.ts +3 -3
- package/src/components/MultiSelectList/MultiSelectList.styles.ts +125 -125
- package/src/components/MultiSelectList/MultiSelectList.tsx +519 -519
- package/src/components/MultiSelectList/index.ts +2 -2
- package/src/components/MultiSelectList/locales.ts +37 -37
- package/src/components/Notification/Notification.stories.tsx +51 -51
- package/src/components/Notification/Notification.styles.ts +50 -50
- package/src/components/Notification/Notification.tsx +84 -84
- package/src/components/Notification/index.ts +2 -2
- package/src/components/NumberInput/NumberInput.stories.tsx +36 -36
- package/src/components/NumberInput/NumberInput.tsx +154 -154
- package/src/components/NumberInput/helpers.ts +87 -87
- package/src/components/NumberInput/index.ts +1 -1
- package/src/components/PhoneInput/PhoneInput.stories.tsx +71 -71
- package/src/components/PhoneInput/PhoneInput.styles.ts +84 -84
- package/src/components/PhoneInput/PhoneInput.tsx +223 -223
- package/src/components/PhoneInput/PhoneInputCountryList/PhoneInputCountryList.stories.tsx +21 -21
- package/src/components/PhoneInput/PhoneInputCountryList/PhoneInputCountryList.styles.ts +100 -100
- package/src/components/PhoneInput/PhoneInputCountryList/PhoneInputCountryList.tsx +171 -171
- package/src/components/PhoneInput/PhoneInputCountryList/index.ts +2 -2
- package/src/components/PhoneInput/index.ts +6 -6
- package/src/components/PhoneInput/phone-info.ts +2167 -2167
- package/src/components/PhoneInput/types.ts +16 -16
- package/src/components/RadioButton/RadioButton.stories.tsx +46 -46
- package/src/components/RadioButton/RadioButton.styles.ts +37 -37
- package/src/components/RadioButton/RadioButton.tsx +56 -56
- package/src/components/RadioButton/index.ts +2 -2
- package/src/components/ScrollIntoViewIfNeeded/ScrollIntoViewIfNeeded.ts +66 -66
- package/src/components/ScrollIntoViewIfNeeded/index.ts +1 -1
- package/src/components/SearchInput/SearchInput.stories.tsx +24 -24
- package/src/components/SearchInput/SearchInput.styles.ts +50 -50
- package/src/components/SearchInput/SearchInput.tsx +63 -63
- package/src/components/SearchInput/index.ts +2 -2
- package/src/components/Select/Select.stories.tsx +258 -258
- package/src/components/Select/Select.styles.ts +85 -85
- package/src/components/Select/Select.tsx +510 -510
- package/src/components/Select/SelectList/SelectList.styles.ts +68 -68
- package/src/components/Select/SelectList/SelectList.tsx +139 -139
- package/src/components/Select/SelectList/index.ts +1 -1
- package/src/components/Select/helpers.ts +21 -21
- package/src/components/Select/index.ts +3 -3
- package/src/components/SmartInput/SmartInput.stories.tsx +63 -63
- package/src/components/SmartInput/SmartInput.tsx +180 -180
- package/src/components/SmartInput/helpers.ts +85 -85
- package/src/components/SmartInput/index.ts +1 -1
- package/src/components/Switch/Switch.stories.tsx +40 -40
- package/src/components/Switch/Switch.styles.ts +75 -75
- package/src/components/Switch/Switch.tsx +89 -89
- package/src/components/Switch/index.ts +2 -2
- package/src/components/TextArea/TextArea.stories.tsx +35 -35
- package/src/components/TextArea/TextArea.styles.ts +153 -153
- package/src/components/TextArea/TextArea.tsx +178 -178
- package/src/components/TextArea/index.ts +2 -2
- package/src/components/TextWithInfo/TextWithInfo.stories.tsx +53 -53
- package/src/components/TextWithInfo/TextWithInfo.styles.ts +60 -60
- package/src/components/TextWithInfo/TextWithInfo.tsx +67 -67
- package/src/components/TextWithInfo/index.ts +2 -2
- package/src/components/TextWithTooltip/TextWithTooltip.stories.tsx +58 -58
- package/src/components/TextWithTooltip/TextWithTooltip.styles.ts +19 -19
- package/src/components/TextWithTooltip/TextWithTooltip.tsx +163 -163
- package/src/components/TextWithTooltip/index.ts +2 -2
- package/src/components/ThemedPreloader/ThemedPreloader.stories.tsx +41 -41
- package/src/components/ThemedPreloader/ThemedPreloader.styles.ts +21 -21
- package/src/components/ThemedPreloader/ThemedPreloader.tsx +56 -56
- package/src/components/ThemedPreloader/components/DefaultPreloader/DefaultPreloader.tsx +34 -34
- package/src/components/ThemedPreloader/components/DefaultPreloader/index.ts +1 -1
- package/src/components/ThemedPreloader/components/DotsPreloader/DotsPreloader.styles.ts +54 -54
- package/src/components/ThemedPreloader/components/DotsPreloader/DotsPreloader.tsx +18 -18
- package/src/components/ThemedPreloader/components/DotsPreloader/index.ts +2 -2
- package/src/components/ThemedPreloader/components/SvgPreloader/SvgPreloader.styles.ts +11 -11
- package/src/components/ThemedPreloader/components/SvgPreloader/SvgPreloader.tsx +32 -32
- package/src/components/ThemedPreloader/components/SvgPreloader/index.ts +2 -2
- package/src/components/ThemedPreloader/components/index.ts +2 -2
- package/src/components/ThemedPreloader/index.ts +2 -2
- package/src/components/Toaster/Toaster.stories.tsx +34 -34
- package/src/components/Toaster/Toaster.styles.ts +59 -59
- package/src/components/Toaster/Toaster.tsx +113 -113
- package/src/components/Toaster/index.ts +2 -2
- package/src/components/Tooltip/Tooltip.stories.tsx +21 -21
- package/src/components/Tooltip/Tooltip.styles.ts +45 -45
- package/src/components/Tooltip/Tooltip.tsx +40 -40
- package/src/components/Tooltip/index.ts +3 -3
- package/src/components/Tooltip/types.ts +1 -1
- package/src/components/index.ts +36 -36
- package/src/helpers/colors.ts +2 -2
- package/src/helpers/dateHelpers/date-helpers.ts +9 -9
- package/src/helpers/index.ts +4 -4
- package/src/helpers/phone.ts +106 -106
- package/src/helpers/popper-helpers.ts +17 -17
- package/src/helpers/snippets.tsx +5 -5
- package/src/helpers/utils.ts +221 -219
- package/src/hooks/index.ts +6 -6
- package/src/hooks/use-did-mount-effect.ts +21 -21
- package/src/hooks/use-dropdown.ts +85 -85
- package/src/hooks/use-is-mounted.ts +15 -15
- package/src/hooks/use-on-click-outside.ts +92 -92
- package/src/hooks/use-theme.ts +36 -36
- package/src/hooks/use-tweak-styles.ts +14 -14
- package/src/index.ts +6 -6
- package/src/theme.ts +155 -155
- package/src/types.ts +106 -106
- package/src/vite-env.d.ts +1 -1
|
@@ -3,7 +3,6 @@ import { CSSTransition } from "react-transition-group";
|
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import hexToRgba from "hex-to-rgba";
|
|
5
5
|
import { createUseStyles } from "react-jss";
|
|
6
|
-
import { merge } from "lodash";
|
|
7
6
|
import InputMask from "react-input-mask";
|
|
8
7
|
import ReactDatepicker from "react-datepicker";
|
|
9
8
|
import { getYear, getMonth, format as format$1, isValid, parse, isAfter, isBefore, startOfMonth, endOfMonth, sub, startOfYear, endOfYear } from "date-fns";
|
|
@@ -627,7 +626,7 @@ function requireReactJsxRuntime_development() {
|
|
|
627
626
|
}
|
|
628
627
|
return "";
|
|
629
628
|
}
|
|
630
|
-
var
|
|
629
|
+
var hasOwnProperty2 = Object.prototype.hasOwnProperty;
|
|
631
630
|
var loggedTypeFailures = {};
|
|
632
631
|
var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
|
|
633
632
|
function setCurrentlyValidatingElement(element) {
|
|
@@ -643,7 +642,7 @@ function requireReactJsxRuntime_development() {
|
|
|
643
642
|
}
|
|
644
643
|
function checkPropTypes(typeSpecs, values, location, componentName, element) {
|
|
645
644
|
{
|
|
646
|
-
var has = Function.call.bind(
|
|
645
|
+
var has = Function.call.bind(hasOwnProperty2);
|
|
647
646
|
for (var typeSpecName in typeSpecs) {
|
|
648
647
|
if (has(typeSpecs, typeSpecName)) {
|
|
649
648
|
var error$1 = void 0;
|
|
@@ -673,7 +672,7 @@ function requireReactJsxRuntime_development() {
|
|
|
673
672
|
}
|
|
674
673
|
}
|
|
675
674
|
var isArrayImpl = Array.isArray;
|
|
676
|
-
function
|
|
675
|
+
function isArray2(a) {
|
|
677
676
|
return isArrayImpl(a);
|
|
678
677
|
}
|
|
679
678
|
function typeName(value) {
|
|
@@ -719,7 +718,7 @@ function requireReactJsxRuntime_development() {
|
|
|
719
718
|
}
|
|
720
719
|
function hasValidRef(config) {
|
|
721
720
|
{
|
|
722
|
-
if (
|
|
721
|
+
if (hasOwnProperty2.call(config, "ref")) {
|
|
723
722
|
var getter = Object.getOwnPropertyDescriptor(config, "ref").get;
|
|
724
723
|
if (getter && getter.isReactWarning) {
|
|
725
724
|
return false;
|
|
@@ -730,7 +729,7 @@ function requireReactJsxRuntime_development() {
|
|
|
730
729
|
}
|
|
731
730
|
function hasValidKey(config) {
|
|
732
731
|
{
|
|
733
|
-
if (
|
|
732
|
+
if (hasOwnProperty2.call(config, "key")) {
|
|
734
733
|
var getter = Object.getOwnPropertyDescriptor(config, "key").get;
|
|
735
734
|
if (getter && getter.isReactWarning) {
|
|
736
735
|
return false;
|
|
@@ -739,9 +738,9 @@ function requireReactJsxRuntime_development() {
|
|
|
739
738
|
}
|
|
740
739
|
return config.key !== void 0;
|
|
741
740
|
}
|
|
742
|
-
function warnIfStringRefCannotBeAutoConverted(config,
|
|
741
|
+
function warnIfStringRefCannotBeAutoConverted(config, self2) {
|
|
743
742
|
{
|
|
744
|
-
if (typeof config.ref === "string" && ReactCurrentOwner.current &&
|
|
743
|
+
if (typeof config.ref === "string" && ReactCurrentOwner.current && self2 && ReactCurrentOwner.current.stateNode !== self2) {
|
|
745
744
|
var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);
|
|
746
745
|
if (!didWarnAboutStringRefs[componentName]) {
|
|
747
746
|
error('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', getComponentNameFromType(ReactCurrentOwner.current.type), config.ref);
|
|
@@ -780,7 +779,7 @@ function requireReactJsxRuntime_development() {
|
|
|
780
779
|
});
|
|
781
780
|
}
|
|
782
781
|
}
|
|
783
|
-
var ReactElement = function(type, key, ref,
|
|
782
|
+
var ReactElement = function(type, key, ref, self2, source, owner, props) {
|
|
784
783
|
var element = {
|
|
785
784
|
// This tag allows us to uniquely identify this as a React Element
|
|
786
785
|
$$typeof: REACT_ELEMENT_TYPE,
|
|
@@ -804,7 +803,7 @@ function requireReactJsxRuntime_development() {
|
|
|
804
803
|
configurable: false,
|
|
805
804
|
enumerable: false,
|
|
806
805
|
writable: false,
|
|
807
|
-
value:
|
|
806
|
+
value: self2
|
|
808
807
|
});
|
|
809
808
|
Object.defineProperty(element, "_source", {
|
|
810
809
|
configurable: false,
|
|
@@ -819,7 +818,7 @@ function requireReactJsxRuntime_development() {
|
|
|
819
818
|
}
|
|
820
819
|
return element;
|
|
821
820
|
};
|
|
822
|
-
function jsxDEV(type, config, maybeKey, source,
|
|
821
|
+
function jsxDEV(type, config, maybeKey, source, self2) {
|
|
823
822
|
{
|
|
824
823
|
var propName;
|
|
825
824
|
var props = {};
|
|
@@ -839,10 +838,10 @@ function requireReactJsxRuntime_development() {
|
|
|
839
838
|
}
|
|
840
839
|
if (hasValidRef(config)) {
|
|
841
840
|
ref = config.ref;
|
|
842
|
-
warnIfStringRefCannotBeAutoConverted(config,
|
|
841
|
+
warnIfStringRefCannotBeAutoConverted(config, self2);
|
|
843
842
|
}
|
|
844
843
|
for (propName in config) {
|
|
845
|
-
if (
|
|
844
|
+
if (hasOwnProperty2.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
|
|
846
845
|
props[propName] = config[propName];
|
|
847
846
|
}
|
|
848
847
|
}
|
|
@@ -863,7 +862,7 @@ function requireReactJsxRuntime_development() {
|
|
|
863
862
|
defineRefPropWarningGetter(props, displayName);
|
|
864
863
|
}
|
|
865
864
|
}
|
|
866
|
-
return ReactElement(type, key, ref,
|
|
865
|
+
return ReactElement(type, key, ref, self2, source, ReactCurrentOwner.current, props);
|
|
867
866
|
}
|
|
868
867
|
}
|
|
869
868
|
var ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;
|
|
@@ -947,7 +946,7 @@ function requireReactJsxRuntime_development() {
|
|
|
947
946
|
if (typeof node !== "object") {
|
|
948
947
|
return;
|
|
949
948
|
}
|
|
950
|
-
if (
|
|
949
|
+
if (isArray2(node)) {
|
|
951
950
|
for (var i = 0; i < node.length; i++) {
|
|
952
951
|
var child = node[i];
|
|
953
952
|
if (isValidElement(child)) {
|
|
@@ -1022,7 +1021,7 @@ function requireReactJsxRuntime_development() {
|
|
|
1022
1021
|
}
|
|
1023
1022
|
}
|
|
1024
1023
|
}
|
|
1025
|
-
function jsxWithValidation(type, props, key, isStaticChildren, source,
|
|
1024
|
+
function jsxWithValidation(type, props, key, isStaticChildren, source, self2) {
|
|
1026
1025
|
{
|
|
1027
1026
|
var validType = isValidElementType(type);
|
|
1028
1027
|
if (!validType) {
|
|
@@ -1039,7 +1038,7 @@ function requireReactJsxRuntime_development() {
|
|
|
1039
1038
|
var typeString;
|
|
1040
1039
|
if (type === null) {
|
|
1041
1040
|
typeString = "null";
|
|
1042
|
-
} else if (
|
|
1041
|
+
} else if (isArray2(type)) {
|
|
1043
1042
|
typeString = "array";
|
|
1044
1043
|
} else if (type !== void 0 && type.$$typeof === REACT_ELEMENT_TYPE) {
|
|
1045
1044
|
typeString = "<" + (getComponentNameFromType(type.type) || "Unknown") + " />";
|
|
@@ -1049,7 +1048,7 @@ function requireReactJsxRuntime_development() {
|
|
|
1049
1048
|
}
|
|
1050
1049
|
error("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", typeString, info);
|
|
1051
1050
|
}
|
|
1052
|
-
var element = jsxDEV(type, props, key, source,
|
|
1051
|
+
var element = jsxDEV(type, props, key, source, self2);
|
|
1053
1052
|
if (element == null) {
|
|
1054
1053
|
return element;
|
|
1055
1054
|
}
|
|
@@ -1057,7 +1056,7 @@ function requireReactJsxRuntime_development() {
|
|
|
1057
1056
|
var children = props.children;
|
|
1058
1057
|
if (children !== void 0) {
|
|
1059
1058
|
if (isStaticChildren) {
|
|
1060
|
-
if (
|
|
1059
|
+
if (isArray2(children)) {
|
|
1061
1060
|
for (var i = 0; i < children.length; i++) {
|
|
1062
1061
|
validateChildKeys(children[i], type);
|
|
1063
1062
|
}
|
|
@@ -1099,11 +1098,11 @@ function requireReactJsxRuntime_development() {
|
|
|
1099
1098
|
}
|
|
1100
1099
|
return reactJsxRuntime_development;
|
|
1101
1100
|
}
|
|
1102
|
-
(function(
|
|
1101
|
+
(function(module2) {
|
|
1103
1102
|
if (process.env.NODE_ENV === "production") {
|
|
1104
|
-
|
|
1103
|
+
module2.exports = requireReactJsxRuntime_production_min();
|
|
1105
1104
|
} else {
|
|
1106
|
-
|
|
1105
|
+
module2.exports = requireReactJsxRuntime_development();
|
|
1107
1106
|
}
|
|
1108
1107
|
})(jsxRuntime);
|
|
1109
1108
|
const Fragment = jsxRuntime.exports.Fragment;
|
|
@@ -1205,7 +1204,7 @@ var hasExactParent = function(element, parent) {
|
|
|
1205
1204
|
};
|
|
1206
1205
|
var _element_parentNode;
|
|
1207
1206
|
var getParentNode$1 = function(element) {
|
|
1208
|
-
return element.nodeName === "HTML" ? element : (_element_parentNode = element.parentNode) !== null && _element_parentNode !== void 0 ? _element_parentNode : element.host;
|
|
1207
|
+
return element.nodeName === "HTML" || element === document ? element : (_element_parentNode = element.parentNode) !== null && _element_parentNode !== void 0 ? _element_parentNode : element.host;
|
|
1209
1208
|
};
|
|
1210
1209
|
var getStyleComputedProperty = function(element) {
|
|
1211
1210
|
return element.nodeType !== 1 ? {} : getComputedStyle(element, null);
|
|
@@ -1540,6 +1539,746 @@ function useOnClickOutside(ref, handler, ignoreClassName, ignoreRef) {
|
|
|
1540
1539
|
ignoreClassName
|
|
1541
1540
|
]);
|
|
1542
1541
|
}
|
|
1542
|
+
function listCacheClear() {
|
|
1543
|
+
this.__data__ = [];
|
|
1544
|
+
this.size = 0;
|
|
1545
|
+
}
|
|
1546
|
+
function eq(value, other) {
|
|
1547
|
+
return value === other || value !== value && other !== other;
|
|
1548
|
+
}
|
|
1549
|
+
function assocIndexOf(array, key) {
|
|
1550
|
+
var length = array.length;
|
|
1551
|
+
while (length--) {
|
|
1552
|
+
if (eq(array[length][0], key)) {
|
|
1553
|
+
return length;
|
|
1554
|
+
}
|
|
1555
|
+
}
|
|
1556
|
+
return -1;
|
|
1557
|
+
}
|
|
1558
|
+
var arrayProto = Array.prototype;
|
|
1559
|
+
var splice = arrayProto.splice;
|
|
1560
|
+
function listCacheDelete(key) {
|
|
1561
|
+
var data = this.__data__, index = assocIndexOf(data, key);
|
|
1562
|
+
if (index < 0) {
|
|
1563
|
+
return false;
|
|
1564
|
+
}
|
|
1565
|
+
var lastIndex = data.length - 1;
|
|
1566
|
+
if (index == lastIndex) {
|
|
1567
|
+
data.pop();
|
|
1568
|
+
} else {
|
|
1569
|
+
splice.call(data, index, 1);
|
|
1570
|
+
}
|
|
1571
|
+
--this.size;
|
|
1572
|
+
return true;
|
|
1573
|
+
}
|
|
1574
|
+
function listCacheGet(key) {
|
|
1575
|
+
var data = this.__data__, index = assocIndexOf(data, key);
|
|
1576
|
+
return index < 0 ? void 0 : data[index][1];
|
|
1577
|
+
}
|
|
1578
|
+
function listCacheHas(key) {
|
|
1579
|
+
return assocIndexOf(this.__data__, key) > -1;
|
|
1580
|
+
}
|
|
1581
|
+
function listCacheSet(key, value) {
|
|
1582
|
+
var data = this.__data__, index = assocIndexOf(data, key);
|
|
1583
|
+
if (index < 0) {
|
|
1584
|
+
++this.size;
|
|
1585
|
+
data.push([key, value]);
|
|
1586
|
+
} else {
|
|
1587
|
+
data[index][1] = value;
|
|
1588
|
+
}
|
|
1589
|
+
return this;
|
|
1590
|
+
}
|
|
1591
|
+
function ListCache(entries) {
|
|
1592
|
+
var index = -1, length = entries == null ? 0 : entries.length;
|
|
1593
|
+
this.clear();
|
|
1594
|
+
while (++index < length) {
|
|
1595
|
+
var entry = entries[index];
|
|
1596
|
+
this.set(entry[0], entry[1]);
|
|
1597
|
+
}
|
|
1598
|
+
}
|
|
1599
|
+
ListCache.prototype.clear = listCacheClear;
|
|
1600
|
+
ListCache.prototype["delete"] = listCacheDelete;
|
|
1601
|
+
ListCache.prototype.get = listCacheGet;
|
|
1602
|
+
ListCache.prototype.has = listCacheHas;
|
|
1603
|
+
ListCache.prototype.set = listCacheSet;
|
|
1604
|
+
function stackClear() {
|
|
1605
|
+
this.__data__ = new ListCache();
|
|
1606
|
+
this.size = 0;
|
|
1607
|
+
}
|
|
1608
|
+
function stackDelete(key) {
|
|
1609
|
+
var data = this.__data__, result = data["delete"](key);
|
|
1610
|
+
this.size = data.size;
|
|
1611
|
+
return result;
|
|
1612
|
+
}
|
|
1613
|
+
function stackGet(key) {
|
|
1614
|
+
return this.__data__.get(key);
|
|
1615
|
+
}
|
|
1616
|
+
function stackHas(key) {
|
|
1617
|
+
return this.__data__.has(key);
|
|
1618
|
+
}
|
|
1619
|
+
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
|
1620
|
+
const freeGlobal$1 = freeGlobal;
|
|
1621
|
+
var freeSelf = typeof self == "object" && self && self.Object === Object && self;
|
|
1622
|
+
var root = freeGlobal$1 || freeSelf || Function("return this")();
|
|
1623
|
+
const root$1 = root;
|
|
1624
|
+
var Symbol$1 = root$1.Symbol;
|
|
1625
|
+
const Symbol$2 = Symbol$1;
|
|
1626
|
+
var objectProto$a = Object.prototype;
|
|
1627
|
+
var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
|
|
1628
|
+
var nativeObjectToString$1 = objectProto$a.toString;
|
|
1629
|
+
var symToStringTag$1 = Symbol$2 ? Symbol$2.toStringTag : void 0;
|
|
1630
|
+
function getRawTag(value) {
|
|
1631
|
+
var isOwn = hasOwnProperty$8.call(value, symToStringTag$1), tag = value[symToStringTag$1];
|
|
1632
|
+
try {
|
|
1633
|
+
value[symToStringTag$1] = void 0;
|
|
1634
|
+
var unmasked = true;
|
|
1635
|
+
} catch (e) {
|
|
1636
|
+
}
|
|
1637
|
+
var result = nativeObjectToString$1.call(value);
|
|
1638
|
+
if (unmasked) {
|
|
1639
|
+
if (isOwn) {
|
|
1640
|
+
value[symToStringTag$1] = tag;
|
|
1641
|
+
} else {
|
|
1642
|
+
delete value[symToStringTag$1];
|
|
1643
|
+
}
|
|
1644
|
+
}
|
|
1645
|
+
return result;
|
|
1646
|
+
}
|
|
1647
|
+
var objectProto$9 = Object.prototype;
|
|
1648
|
+
var nativeObjectToString = objectProto$9.toString;
|
|
1649
|
+
function objectToString(value) {
|
|
1650
|
+
return nativeObjectToString.call(value);
|
|
1651
|
+
}
|
|
1652
|
+
var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
|
|
1653
|
+
var symToStringTag = Symbol$2 ? Symbol$2.toStringTag : void 0;
|
|
1654
|
+
function baseGetTag(value) {
|
|
1655
|
+
if (value == null) {
|
|
1656
|
+
return value === void 0 ? undefinedTag : nullTag;
|
|
1657
|
+
}
|
|
1658
|
+
return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
|
|
1659
|
+
}
|
|
1660
|
+
function isObject(value) {
|
|
1661
|
+
var type = typeof value;
|
|
1662
|
+
return value != null && (type == "object" || type == "function");
|
|
1663
|
+
}
|
|
1664
|
+
var asyncTag = "[object AsyncFunction]", funcTag$1 = "[object Function]", genTag = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
|
|
1665
|
+
function isFunction(value) {
|
|
1666
|
+
if (!isObject(value)) {
|
|
1667
|
+
return false;
|
|
1668
|
+
}
|
|
1669
|
+
var tag = baseGetTag(value);
|
|
1670
|
+
return tag == funcTag$1 || tag == genTag || tag == asyncTag || tag == proxyTag;
|
|
1671
|
+
}
|
|
1672
|
+
var coreJsData = root$1["__core-js_shared__"];
|
|
1673
|
+
const coreJsData$1 = coreJsData;
|
|
1674
|
+
var maskSrcKey = function() {
|
|
1675
|
+
var uid = /[^.]+$/.exec(coreJsData$1 && coreJsData$1.keys && coreJsData$1.keys.IE_PROTO || "");
|
|
1676
|
+
return uid ? "Symbol(src)_1." + uid : "";
|
|
1677
|
+
}();
|
|
1678
|
+
function isMasked(func) {
|
|
1679
|
+
return !!maskSrcKey && maskSrcKey in func;
|
|
1680
|
+
}
|
|
1681
|
+
var funcProto$2 = Function.prototype;
|
|
1682
|
+
var funcToString$2 = funcProto$2.toString;
|
|
1683
|
+
function toSource(func) {
|
|
1684
|
+
if (func != null) {
|
|
1685
|
+
try {
|
|
1686
|
+
return funcToString$2.call(func);
|
|
1687
|
+
} catch (e) {
|
|
1688
|
+
}
|
|
1689
|
+
try {
|
|
1690
|
+
return func + "";
|
|
1691
|
+
} catch (e) {
|
|
1692
|
+
}
|
|
1693
|
+
}
|
|
1694
|
+
return "";
|
|
1695
|
+
}
|
|
1696
|
+
var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
|
|
1697
|
+
var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
|
1698
|
+
var funcProto$1 = Function.prototype, objectProto$8 = Object.prototype;
|
|
1699
|
+
var funcToString$1 = funcProto$1.toString;
|
|
1700
|
+
var hasOwnProperty$7 = objectProto$8.hasOwnProperty;
|
|
1701
|
+
var reIsNative = RegExp(
|
|
1702
|
+
"^" + funcToString$1.call(hasOwnProperty$7).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
1703
|
+
);
|
|
1704
|
+
function baseIsNative(value) {
|
|
1705
|
+
if (!isObject(value) || isMasked(value)) {
|
|
1706
|
+
return false;
|
|
1707
|
+
}
|
|
1708
|
+
var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
|
|
1709
|
+
return pattern.test(toSource(value));
|
|
1710
|
+
}
|
|
1711
|
+
function getValue(object, key) {
|
|
1712
|
+
return object == null ? void 0 : object[key];
|
|
1713
|
+
}
|
|
1714
|
+
function getNative(object, key) {
|
|
1715
|
+
var value = getValue(object, key);
|
|
1716
|
+
return baseIsNative(value) ? value : void 0;
|
|
1717
|
+
}
|
|
1718
|
+
var Map$1 = getNative(root$1, "Map");
|
|
1719
|
+
const Map$2 = Map$1;
|
|
1720
|
+
var nativeCreate = getNative(Object, "create");
|
|
1721
|
+
const nativeCreate$1 = nativeCreate;
|
|
1722
|
+
function hashClear() {
|
|
1723
|
+
this.__data__ = nativeCreate$1 ? nativeCreate$1(null) : {};
|
|
1724
|
+
this.size = 0;
|
|
1725
|
+
}
|
|
1726
|
+
function hashDelete(key) {
|
|
1727
|
+
var result = this.has(key) && delete this.__data__[key];
|
|
1728
|
+
this.size -= result ? 1 : 0;
|
|
1729
|
+
return result;
|
|
1730
|
+
}
|
|
1731
|
+
var HASH_UNDEFINED$1 = "__lodash_hash_undefined__";
|
|
1732
|
+
var objectProto$7 = Object.prototype;
|
|
1733
|
+
var hasOwnProperty$6 = objectProto$7.hasOwnProperty;
|
|
1734
|
+
function hashGet(key) {
|
|
1735
|
+
var data = this.__data__;
|
|
1736
|
+
if (nativeCreate$1) {
|
|
1737
|
+
var result = data[key];
|
|
1738
|
+
return result === HASH_UNDEFINED$1 ? void 0 : result;
|
|
1739
|
+
}
|
|
1740
|
+
return hasOwnProperty$6.call(data, key) ? data[key] : void 0;
|
|
1741
|
+
}
|
|
1742
|
+
var objectProto$6 = Object.prototype;
|
|
1743
|
+
var hasOwnProperty$5 = objectProto$6.hasOwnProperty;
|
|
1744
|
+
function hashHas(key) {
|
|
1745
|
+
var data = this.__data__;
|
|
1746
|
+
return nativeCreate$1 ? data[key] !== void 0 : hasOwnProperty$5.call(data, key);
|
|
1747
|
+
}
|
|
1748
|
+
var HASH_UNDEFINED = "__lodash_hash_undefined__";
|
|
1749
|
+
function hashSet(key, value) {
|
|
1750
|
+
var data = this.__data__;
|
|
1751
|
+
this.size += this.has(key) ? 0 : 1;
|
|
1752
|
+
data[key] = nativeCreate$1 && value === void 0 ? HASH_UNDEFINED : value;
|
|
1753
|
+
return this;
|
|
1754
|
+
}
|
|
1755
|
+
function Hash(entries) {
|
|
1756
|
+
var index = -1, length = entries == null ? 0 : entries.length;
|
|
1757
|
+
this.clear();
|
|
1758
|
+
while (++index < length) {
|
|
1759
|
+
var entry = entries[index];
|
|
1760
|
+
this.set(entry[0], entry[1]);
|
|
1761
|
+
}
|
|
1762
|
+
}
|
|
1763
|
+
Hash.prototype.clear = hashClear;
|
|
1764
|
+
Hash.prototype["delete"] = hashDelete;
|
|
1765
|
+
Hash.prototype.get = hashGet;
|
|
1766
|
+
Hash.prototype.has = hashHas;
|
|
1767
|
+
Hash.prototype.set = hashSet;
|
|
1768
|
+
function mapCacheClear() {
|
|
1769
|
+
this.size = 0;
|
|
1770
|
+
this.__data__ = {
|
|
1771
|
+
"hash": new Hash(),
|
|
1772
|
+
"map": new (Map$2 || ListCache)(),
|
|
1773
|
+
"string": new Hash()
|
|
1774
|
+
};
|
|
1775
|
+
}
|
|
1776
|
+
function isKeyable(value) {
|
|
1777
|
+
var type = typeof value;
|
|
1778
|
+
return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
|
|
1779
|
+
}
|
|
1780
|
+
function getMapData(map, key) {
|
|
1781
|
+
var data = map.__data__;
|
|
1782
|
+
return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
|
|
1783
|
+
}
|
|
1784
|
+
function mapCacheDelete(key) {
|
|
1785
|
+
var result = getMapData(this, key)["delete"](key);
|
|
1786
|
+
this.size -= result ? 1 : 0;
|
|
1787
|
+
return result;
|
|
1788
|
+
}
|
|
1789
|
+
function mapCacheGet(key) {
|
|
1790
|
+
return getMapData(this, key).get(key);
|
|
1791
|
+
}
|
|
1792
|
+
function mapCacheHas(key) {
|
|
1793
|
+
return getMapData(this, key).has(key);
|
|
1794
|
+
}
|
|
1795
|
+
function mapCacheSet(key, value) {
|
|
1796
|
+
var data = getMapData(this, key), size = data.size;
|
|
1797
|
+
data.set(key, value);
|
|
1798
|
+
this.size += data.size == size ? 0 : 1;
|
|
1799
|
+
return this;
|
|
1800
|
+
}
|
|
1801
|
+
function MapCache(entries) {
|
|
1802
|
+
var index = -1, length = entries == null ? 0 : entries.length;
|
|
1803
|
+
this.clear();
|
|
1804
|
+
while (++index < length) {
|
|
1805
|
+
var entry = entries[index];
|
|
1806
|
+
this.set(entry[0], entry[1]);
|
|
1807
|
+
}
|
|
1808
|
+
}
|
|
1809
|
+
MapCache.prototype.clear = mapCacheClear;
|
|
1810
|
+
MapCache.prototype["delete"] = mapCacheDelete;
|
|
1811
|
+
MapCache.prototype.get = mapCacheGet;
|
|
1812
|
+
MapCache.prototype.has = mapCacheHas;
|
|
1813
|
+
MapCache.prototype.set = mapCacheSet;
|
|
1814
|
+
var LARGE_ARRAY_SIZE = 200;
|
|
1815
|
+
function stackSet(key, value) {
|
|
1816
|
+
var data = this.__data__;
|
|
1817
|
+
if (data instanceof ListCache) {
|
|
1818
|
+
var pairs = data.__data__;
|
|
1819
|
+
if (!Map$2 || pairs.length < LARGE_ARRAY_SIZE - 1) {
|
|
1820
|
+
pairs.push([key, value]);
|
|
1821
|
+
this.size = ++data.size;
|
|
1822
|
+
return this;
|
|
1823
|
+
}
|
|
1824
|
+
data = this.__data__ = new MapCache(pairs);
|
|
1825
|
+
}
|
|
1826
|
+
data.set(key, value);
|
|
1827
|
+
this.size = data.size;
|
|
1828
|
+
return this;
|
|
1829
|
+
}
|
|
1830
|
+
function Stack(entries) {
|
|
1831
|
+
var data = this.__data__ = new ListCache(entries);
|
|
1832
|
+
this.size = data.size;
|
|
1833
|
+
}
|
|
1834
|
+
Stack.prototype.clear = stackClear;
|
|
1835
|
+
Stack.prototype["delete"] = stackDelete;
|
|
1836
|
+
Stack.prototype.get = stackGet;
|
|
1837
|
+
Stack.prototype.has = stackHas;
|
|
1838
|
+
Stack.prototype.set = stackSet;
|
|
1839
|
+
var defineProperty = function() {
|
|
1840
|
+
try {
|
|
1841
|
+
var func = getNative(Object, "defineProperty");
|
|
1842
|
+
func({}, "", {});
|
|
1843
|
+
return func;
|
|
1844
|
+
} catch (e) {
|
|
1845
|
+
}
|
|
1846
|
+
}();
|
|
1847
|
+
const defineProperty$1 = defineProperty;
|
|
1848
|
+
function baseAssignValue(object, key, value) {
|
|
1849
|
+
if (key == "__proto__" && defineProperty$1) {
|
|
1850
|
+
defineProperty$1(object, key, {
|
|
1851
|
+
"configurable": true,
|
|
1852
|
+
"enumerable": true,
|
|
1853
|
+
"value": value,
|
|
1854
|
+
"writable": true
|
|
1855
|
+
});
|
|
1856
|
+
} else {
|
|
1857
|
+
object[key] = value;
|
|
1858
|
+
}
|
|
1859
|
+
}
|
|
1860
|
+
function assignMergeValue(object, key, value) {
|
|
1861
|
+
if (value !== void 0 && !eq(object[key], value) || value === void 0 && !(key in object)) {
|
|
1862
|
+
baseAssignValue(object, key, value);
|
|
1863
|
+
}
|
|
1864
|
+
}
|
|
1865
|
+
function createBaseFor(fromRight) {
|
|
1866
|
+
return function(object, iteratee, keysFunc) {
|
|
1867
|
+
var index = -1, iterable = Object(object), props = keysFunc(object), length = props.length;
|
|
1868
|
+
while (length--) {
|
|
1869
|
+
var key = props[fromRight ? length : ++index];
|
|
1870
|
+
if (iteratee(iterable[key], key, iterable) === false) {
|
|
1871
|
+
break;
|
|
1872
|
+
}
|
|
1873
|
+
}
|
|
1874
|
+
return object;
|
|
1875
|
+
};
|
|
1876
|
+
}
|
|
1877
|
+
var baseFor = createBaseFor();
|
|
1878
|
+
const baseFor$1 = baseFor;
|
|
1879
|
+
var freeExports$2 = typeof exports == "object" && exports && !exports.nodeType && exports;
|
|
1880
|
+
var freeModule$2 = freeExports$2 && typeof module == "object" && module && !module.nodeType && module;
|
|
1881
|
+
var moduleExports$2 = freeModule$2 && freeModule$2.exports === freeExports$2;
|
|
1882
|
+
var Buffer$1 = moduleExports$2 ? root$1.Buffer : void 0, allocUnsafe = Buffer$1 ? Buffer$1.allocUnsafe : void 0;
|
|
1883
|
+
function cloneBuffer(buffer, isDeep) {
|
|
1884
|
+
if (isDeep) {
|
|
1885
|
+
return buffer.slice();
|
|
1886
|
+
}
|
|
1887
|
+
var length = buffer.length, result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
|
|
1888
|
+
buffer.copy(result);
|
|
1889
|
+
return result;
|
|
1890
|
+
}
|
|
1891
|
+
var Uint8Array = root$1.Uint8Array;
|
|
1892
|
+
const Uint8Array$1 = Uint8Array;
|
|
1893
|
+
function cloneArrayBuffer(arrayBuffer) {
|
|
1894
|
+
var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
|
|
1895
|
+
new Uint8Array$1(result).set(new Uint8Array$1(arrayBuffer));
|
|
1896
|
+
return result;
|
|
1897
|
+
}
|
|
1898
|
+
function cloneTypedArray(typedArray, isDeep) {
|
|
1899
|
+
var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
|
|
1900
|
+
return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
|
|
1901
|
+
}
|
|
1902
|
+
function copyArray(source, array) {
|
|
1903
|
+
var index = -1, length = source.length;
|
|
1904
|
+
array || (array = Array(length));
|
|
1905
|
+
while (++index < length) {
|
|
1906
|
+
array[index] = source[index];
|
|
1907
|
+
}
|
|
1908
|
+
return array;
|
|
1909
|
+
}
|
|
1910
|
+
var objectCreate = Object.create;
|
|
1911
|
+
var baseCreate = function() {
|
|
1912
|
+
function object() {
|
|
1913
|
+
}
|
|
1914
|
+
return function(proto) {
|
|
1915
|
+
if (!isObject(proto)) {
|
|
1916
|
+
return {};
|
|
1917
|
+
}
|
|
1918
|
+
if (objectCreate) {
|
|
1919
|
+
return objectCreate(proto);
|
|
1920
|
+
}
|
|
1921
|
+
object.prototype = proto;
|
|
1922
|
+
var result = new object();
|
|
1923
|
+
object.prototype = void 0;
|
|
1924
|
+
return result;
|
|
1925
|
+
};
|
|
1926
|
+
}();
|
|
1927
|
+
const baseCreate$1 = baseCreate;
|
|
1928
|
+
function overArg(func, transform) {
|
|
1929
|
+
return function(arg) {
|
|
1930
|
+
return func(transform(arg));
|
|
1931
|
+
};
|
|
1932
|
+
}
|
|
1933
|
+
var getPrototype = overArg(Object.getPrototypeOf, Object);
|
|
1934
|
+
const getPrototype$1 = getPrototype;
|
|
1935
|
+
var objectProto$5 = Object.prototype;
|
|
1936
|
+
function isPrototype(value) {
|
|
1937
|
+
var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto$5;
|
|
1938
|
+
return value === proto;
|
|
1939
|
+
}
|
|
1940
|
+
function initCloneObject(object) {
|
|
1941
|
+
return typeof object.constructor == "function" && !isPrototype(object) ? baseCreate$1(getPrototype$1(object)) : {};
|
|
1942
|
+
}
|
|
1943
|
+
function isObjectLike(value) {
|
|
1944
|
+
return value != null && typeof value == "object";
|
|
1945
|
+
}
|
|
1946
|
+
var argsTag$1 = "[object Arguments]";
|
|
1947
|
+
function baseIsArguments(value) {
|
|
1948
|
+
return isObjectLike(value) && baseGetTag(value) == argsTag$1;
|
|
1949
|
+
}
|
|
1950
|
+
var objectProto$4 = Object.prototype;
|
|
1951
|
+
var hasOwnProperty$4 = objectProto$4.hasOwnProperty;
|
|
1952
|
+
var propertyIsEnumerable = objectProto$4.propertyIsEnumerable;
|
|
1953
|
+
var isArguments = baseIsArguments(function() {
|
|
1954
|
+
return arguments;
|
|
1955
|
+
}()) ? baseIsArguments : function(value) {
|
|
1956
|
+
return isObjectLike(value) && hasOwnProperty$4.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
|
|
1957
|
+
};
|
|
1958
|
+
const isArguments$1 = isArguments;
|
|
1959
|
+
var isArray = Array.isArray;
|
|
1960
|
+
const isArray$1 = isArray;
|
|
1961
|
+
var MAX_SAFE_INTEGER$1 = 9007199254740991;
|
|
1962
|
+
function isLength(value) {
|
|
1963
|
+
return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER$1;
|
|
1964
|
+
}
|
|
1965
|
+
function isArrayLike(value) {
|
|
1966
|
+
return value != null && isLength(value.length) && !isFunction(value);
|
|
1967
|
+
}
|
|
1968
|
+
function isArrayLikeObject(value) {
|
|
1969
|
+
return isObjectLike(value) && isArrayLike(value);
|
|
1970
|
+
}
|
|
1971
|
+
function stubFalse() {
|
|
1972
|
+
return false;
|
|
1973
|
+
}
|
|
1974
|
+
var freeExports$1 = typeof exports == "object" && exports && !exports.nodeType && exports;
|
|
1975
|
+
var freeModule$1 = freeExports$1 && typeof module == "object" && module && !module.nodeType && module;
|
|
1976
|
+
var moduleExports$1 = freeModule$1 && freeModule$1.exports === freeExports$1;
|
|
1977
|
+
var Buffer = moduleExports$1 ? root$1.Buffer : void 0;
|
|
1978
|
+
var nativeIsBuffer = Buffer ? Buffer.isBuffer : void 0;
|
|
1979
|
+
var isBuffer = nativeIsBuffer || stubFalse;
|
|
1980
|
+
const isBuffer$1 = isBuffer;
|
|
1981
|
+
var objectTag$1 = "[object Object]";
|
|
1982
|
+
var funcProto = Function.prototype, objectProto$3 = Object.prototype;
|
|
1983
|
+
var funcToString = funcProto.toString;
|
|
1984
|
+
var hasOwnProperty$3 = objectProto$3.hasOwnProperty;
|
|
1985
|
+
var objectCtorString = funcToString.call(Object);
|
|
1986
|
+
function isPlainObject(value) {
|
|
1987
|
+
if (!isObjectLike(value) || baseGetTag(value) != objectTag$1) {
|
|
1988
|
+
return false;
|
|
1989
|
+
}
|
|
1990
|
+
var proto = getPrototype$1(value);
|
|
1991
|
+
if (proto === null) {
|
|
1992
|
+
return true;
|
|
1993
|
+
}
|
|
1994
|
+
var Ctor = hasOwnProperty$3.call(proto, "constructor") && proto.constructor;
|
|
1995
|
+
return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString;
|
|
1996
|
+
}
|
|
1997
|
+
var argsTag = "[object Arguments]", arrayTag = "[object Array]", boolTag = "[object Boolean]", dateTag = "[object Date]", errorTag = "[object Error]", funcTag = "[object Function]", mapTag = "[object Map]", numberTag = "[object Number]", objectTag = "[object Object]", regexpTag = "[object RegExp]", setTag = "[object Set]", stringTag = "[object String]", weakMapTag = "[object WeakMap]";
|
|
1998
|
+
var arrayBufferTag = "[object ArrayBuffer]", dataViewTag = "[object DataView]", float32Tag = "[object Float32Array]", float64Tag = "[object Float64Array]", int8Tag = "[object Int8Array]", int16Tag = "[object Int16Array]", int32Tag = "[object Int32Array]", uint8Tag = "[object Uint8Array]", uint8ClampedTag = "[object Uint8ClampedArray]", uint16Tag = "[object Uint16Array]", uint32Tag = "[object Uint32Array]";
|
|
1999
|
+
var typedArrayTags = {};
|
|
2000
|
+
typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;
|
|
2001
|
+
typedArrayTags[argsTag] = typedArrayTags[arrayTag] = typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = typedArrayTags[errorTag] = typedArrayTags[funcTag] = typedArrayTags[mapTag] = typedArrayTags[numberTag] = typedArrayTags[objectTag] = typedArrayTags[regexpTag] = typedArrayTags[setTag] = typedArrayTags[stringTag] = typedArrayTags[weakMapTag] = false;
|
|
2002
|
+
function baseIsTypedArray(value) {
|
|
2003
|
+
return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
|
|
2004
|
+
}
|
|
2005
|
+
function baseUnary(func) {
|
|
2006
|
+
return function(value) {
|
|
2007
|
+
return func(value);
|
|
2008
|
+
};
|
|
2009
|
+
}
|
|
2010
|
+
var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
|
|
2011
|
+
var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
|
|
2012
|
+
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
2013
|
+
var freeProcess = moduleExports && freeGlobal$1.process;
|
|
2014
|
+
var nodeUtil = function() {
|
|
2015
|
+
try {
|
|
2016
|
+
var types = freeModule && freeModule.require && freeModule.require("util").types;
|
|
2017
|
+
if (types) {
|
|
2018
|
+
return types;
|
|
2019
|
+
}
|
|
2020
|
+
return freeProcess && freeProcess.binding && freeProcess.binding("util");
|
|
2021
|
+
} catch (e) {
|
|
2022
|
+
}
|
|
2023
|
+
}();
|
|
2024
|
+
const nodeUtil$1 = nodeUtil;
|
|
2025
|
+
var nodeIsTypedArray = nodeUtil$1 && nodeUtil$1.isTypedArray;
|
|
2026
|
+
var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
|
|
2027
|
+
const isTypedArray$1 = isTypedArray;
|
|
2028
|
+
function safeGet(object, key) {
|
|
2029
|
+
if (key === "constructor" && typeof object[key] === "function") {
|
|
2030
|
+
return;
|
|
2031
|
+
}
|
|
2032
|
+
if (key == "__proto__") {
|
|
2033
|
+
return;
|
|
2034
|
+
}
|
|
2035
|
+
return object[key];
|
|
2036
|
+
}
|
|
2037
|
+
var objectProto$2 = Object.prototype;
|
|
2038
|
+
var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
|
|
2039
|
+
function assignValue(object, key, value) {
|
|
2040
|
+
var objValue = object[key];
|
|
2041
|
+
if (!(hasOwnProperty$2.call(object, key) && eq(objValue, value)) || value === void 0 && !(key in object)) {
|
|
2042
|
+
baseAssignValue(object, key, value);
|
|
2043
|
+
}
|
|
2044
|
+
}
|
|
2045
|
+
function copyObject(source, props, object, customizer) {
|
|
2046
|
+
var isNew = !object;
|
|
2047
|
+
object || (object = {});
|
|
2048
|
+
var index = -1, length = props.length;
|
|
2049
|
+
while (++index < length) {
|
|
2050
|
+
var key = props[index];
|
|
2051
|
+
var newValue = customizer ? customizer(object[key], source[key], key, object, source) : void 0;
|
|
2052
|
+
if (newValue === void 0) {
|
|
2053
|
+
newValue = source[key];
|
|
2054
|
+
}
|
|
2055
|
+
if (isNew) {
|
|
2056
|
+
baseAssignValue(object, key, newValue);
|
|
2057
|
+
} else {
|
|
2058
|
+
assignValue(object, key, newValue);
|
|
2059
|
+
}
|
|
2060
|
+
}
|
|
2061
|
+
return object;
|
|
2062
|
+
}
|
|
2063
|
+
function baseTimes(n, iteratee) {
|
|
2064
|
+
var index = -1, result = Array(n);
|
|
2065
|
+
while (++index < n) {
|
|
2066
|
+
result[index] = iteratee(index);
|
|
2067
|
+
}
|
|
2068
|
+
return result;
|
|
2069
|
+
}
|
|
2070
|
+
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
2071
|
+
var reIsUint = /^(?:0|[1-9]\d*)$/;
|
|
2072
|
+
function isIndex(value, length) {
|
|
2073
|
+
var type = typeof value;
|
|
2074
|
+
length = length == null ? MAX_SAFE_INTEGER : length;
|
|
2075
|
+
return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length);
|
|
2076
|
+
}
|
|
2077
|
+
var objectProto$1 = Object.prototype;
|
|
2078
|
+
var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
|
|
2079
|
+
function arrayLikeKeys(value, inherited) {
|
|
2080
|
+
var isArr = isArray$1(value), isArg = !isArr && isArguments$1(value), isBuff = !isArr && !isArg && isBuffer$1(value), isType = !isArr && !isArg && !isBuff && isTypedArray$1(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [], length = result.length;
|
|
2081
|
+
for (var key in value) {
|
|
2082
|
+
if ((inherited || hasOwnProperty$1.call(value, key)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
2083
|
+
(key == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
2084
|
+
isBuff && (key == "offset" || key == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
2085
|
+
isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || // Skip index properties.
|
|
2086
|
+
isIndex(key, length)))) {
|
|
2087
|
+
result.push(key);
|
|
2088
|
+
}
|
|
2089
|
+
}
|
|
2090
|
+
return result;
|
|
2091
|
+
}
|
|
2092
|
+
function nativeKeysIn(object) {
|
|
2093
|
+
var result = [];
|
|
2094
|
+
if (object != null) {
|
|
2095
|
+
for (var key in Object(object)) {
|
|
2096
|
+
result.push(key);
|
|
2097
|
+
}
|
|
2098
|
+
}
|
|
2099
|
+
return result;
|
|
2100
|
+
}
|
|
2101
|
+
var objectProto = Object.prototype;
|
|
2102
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
2103
|
+
function baseKeysIn(object) {
|
|
2104
|
+
if (!isObject(object)) {
|
|
2105
|
+
return nativeKeysIn(object);
|
|
2106
|
+
}
|
|
2107
|
+
var isProto = isPrototype(object), result = [];
|
|
2108
|
+
for (var key in object) {
|
|
2109
|
+
if (!(key == "constructor" && (isProto || !hasOwnProperty.call(object, key)))) {
|
|
2110
|
+
result.push(key);
|
|
2111
|
+
}
|
|
2112
|
+
}
|
|
2113
|
+
return result;
|
|
2114
|
+
}
|
|
2115
|
+
function keysIn(object) {
|
|
2116
|
+
return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
|
|
2117
|
+
}
|
|
2118
|
+
function toPlainObject(value) {
|
|
2119
|
+
return copyObject(value, keysIn(value));
|
|
2120
|
+
}
|
|
2121
|
+
function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {
|
|
2122
|
+
var objValue = safeGet(object, key), srcValue = safeGet(source, key), stacked = stack.get(srcValue);
|
|
2123
|
+
if (stacked) {
|
|
2124
|
+
assignMergeValue(object, key, stacked);
|
|
2125
|
+
return;
|
|
2126
|
+
}
|
|
2127
|
+
var newValue = customizer ? customizer(objValue, srcValue, key + "", object, source, stack) : void 0;
|
|
2128
|
+
var isCommon = newValue === void 0;
|
|
2129
|
+
if (isCommon) {
|
|
2130
|
+
var isArr = isArray$1(srcValue), isBuff = !isArr && isBuffer$1(srcValue), isTyped = !isArr && !isBuff && isTypedArray$1(srcValue);
|
|
2131
|
+
newValue = srcValue;
|
|
2132
|
+
if (isArr || isBuff || isTyped) {
|
|
2133
|
+
if (isArray$1(objValue)) {
|
|
2134
|
+
newValue = objValue;
|
|
2135
|
+
} else if (isArrayLikeObject(objValue)) {
|
|
2136
|
+
newValue = copyArray(objValue);
|
|
2137
|
+
} else if (isBuff) {
|
|
2138
|
+
isCommon = false;
|
|
2139
|
+
newValue = cloneBuffer(srcValue, true);
|
|
2140
|
+
} else if (isTyped) {
|
|
2141
|
+
isCommon = false;
|
|
2142
|
+
newValue = cloneTypedArray(srcValue, true);
|
|
2143
|
+
} else {
|
|
2144
|
+
newValue = [];
|
|
2145
|
+
}
|
|
2146
|
+
} else if (isPlainObject(srcValue) || isArguments$1(srcValue)) {
|
|
2147
|
+
newValue = objValue;
|
|
2148
|
+
if (isArguments$1(objValue)) {
|
|
2149
|
+
newValue = toPlainObject(objValue);
|
|
2150
|
+
} else if (!isObject(objValue) || isFunction(objValue)) {
|
|
2151
|
+
newValue = initCloneObject(srcValue);
|
|
2152
|
+
}
|
|
2153
|
+
} else {
|
|
2154
|
+
isCommon = false;
|
|
2155
|
+
}
|
|
2156
|
+
}
|
|
2157
|
+
if (isCommon) {
|
|
2158
|
+
stack.set(srcValue, newValue);
|
|
2159
|
+
mergeFunc(newValue, srcValue, srcIndex, customizer, stack);
|
|
2160
|
+
stack["delete"](srcValue);
|
|
2161
|
+
}
|
|
2162
|
+
assignMergeValue(object, key, newValue);
|
|
2163
|
+
}
|
|
2164
|
+
function baseMerge(object, source, srcIndex, customizer, stack) {
|
|
2165
|
+
if (object === source) {
|
|
2166
|
+
return;
|
|
2167
|
+
}
|
|
2168
|
+
baseFor$1(source, function(srcValue, key) {
|
|
2169
|
+
stack || (stack = new Stack());
|
|
2170
|
+
if (isObject(srcValue)) {
|
|
2171
|
+
baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);
|
|
2172
|
+
} else {
|
|
2173
|
+
var newValue = customizer ? customizer(safeGet(object, key), srcValue, key + "", object, source, stack) : void 0;
|
|
2174
|
+
if (newValue === void 0) {
|
|
2175
|
+
newValue = srcValue;
|
|
2176
|
+
}
|
|
2177
|
+
assignMergeValue(object, key, newValue);
|
|
2178
|
+
}
|
|
2179
|
+
}, keysIn);
|
|
2180
|
+
}
|
|
2181
|
+
function identity(value) {
|
|
2182
|
+
return value;
|
|
2183
|
+
}
|
|
2184
|
+
function apply(func, thisArg, args) {
|
|
2185
|
+
switch (args.length) {
|
|
2186
|
+
case 0:
|
|
2187
|
+
return func.call(thisArg);
|
|
2188
|
+
case 1:
|
|
2189
|
+
return func.call(thisArg, args[0]);
|
|
2190
|
+
case 2:
|
|
2191
|
+
return func.call(thisArg, args[0], args[1]);
|
|
2192
|
+
case 3:
|
|
2193
|
+
return func.call(thisArg, args[0], args[1], args[2]);
|
|
2194
|
+
}
|
|
2195
|
+
return func.apply(thisArg, args);
|
|
2196
|
+
}
|
|
2197
|
+
var nativeMax = Math.max;
|
|
2198
|
+
function overRest(func, start2, transform) {
|
|
2199
|
+
start2 = nativeMax(start2 === void 0 ? func.length - 1 : start2, 0);
|
|
2200
|
+
return function() {
|
|
2201
|
+
var args = arguments, index = -1, length = nativeMax(args.length - start2, 0), array = Array(length);
|
|
2202
|
+
while (++index < length) {
|
|
2203
|
+
array[index] = args[start2 + index];
|
|
2204
|
+
}
|
|
2205
|
+
index = -1;
|
|
2206
|
+
var otherArgs = Array(start2 + 1);
|
|
2207
|
+
while (++index < start2) {
|
|
2208
|
+
otherArgs[index] = args[index];
|
|
2209
|
+
}
|
|
2210
|
+
otherArgs[start2] = transform(array);
|
|
2211
|
+
return apply(func, this, otherArgs);
|
|
2212
|
+
};
|
|
2213
|
+
}
|
|
2214
|
+
function constant(value) {
|
|
2215
|
+
return function() {
|
|
2216
|
+
return value;
|
|
2217
|
+
};
|
|
2218
|
+
}
|
|
2219
|
+
var baseSetToString = !defineProperty$1 ? identity : function(func, string) {
|
|
2220
|
+
return defineProperty$1(func, "toString", {
|
|
2221
|
+
"configurable": true,
|
|
2222
|
+
"enumerable": false,
|
|
2223
|
+
"value": constant(string),
|
|
2224
|
+
"writable": true
|
|
2225
|
+
});
|
|
2226
|
+
};
|
|
2227
|
+
const baseSetToString$1 = baseSetToString;
|
|
2228
|
+
var HOT_COUNT = 800, HOT_SPAN = 16;
|
|
2229
|
+
var nativeNow = Date.now;
|
|
2230
|
+
function shortOut(func) {
|
|
2231
|
+
var count = 0, lastCalled = 0;
|
|
2232
|
+
return function() {
|
|
2233
|
+
var stamp = nativeNow(), remaining = HOT_SPAN - (stamp - lastCalled);
|
|
2234
|
+
lastCalled = stamp;
|
|
2235
|
+
if (remaining > 0) {
|
|
2236
|
+
if (++count >= HOT_COUNT) {
|
|
2237
|
+
return arguments[0];
|
|
2238
|
+
}
|
|
2239
|
+
} else {
|
|
2240
|
+
count = 0;
|
|
2241
|
+
}
|
|
2242
|
+
return func.apply(void 0, arguments);
|
|
2243
|
+
};
|
|
2244
|
+
}
|
|
2245
|
+
var setToString = shortOut(baseSetToString$1);
|
|
2246
|
+
const setToString$1 = setToString;
|
|
2247
|
+
function baseRest(func, start2) {
|
|
2248
|
+
return setToString$1(overRest(func, start2, identity), func + "");
|
|
2249
|
+
}
|
|
2250
|
+
function isIterateeCall(value, index, object) {
|
|
2251
|
+
if (!isObject(object)) {
|
|
2252
|
+
return false;
|
|
2253
|
+
}
|
|
2254
|
+
var type = typeof index;
|
|
2255
|
+
if (type == "number" ? isArrayLike(object) && isIndex(index, object.length) : type == "string" && index in object) {
|
|
2256
|
+
return eq(object[index], value);
|
|
2257
|
+
}
|
|
2258
|
+
return false;
|
|
2259
|
+
}
|
|
2260
|
+
function createAssigner(assigner) {
|
|
2261
|
+
return baseRest(function(object, sources) {
|
|
2262
|
+
var index = -1, length = sources.length, customizer = length > 1 ? sources[length - 1] : void 0, guard = length > 2 ? sources[2] : void 0;
|
|
2263
|
+
customizer = assigner.length > 3 && typeof customizer == "function" ? (length--, customizer) : void 0;
|
|
2264
|
+
if (guard && isIterateeCall(sources[0], sources[1], guard)) {
|
|
2265
|
+
customizer = length < 3 ? void 0 : customizer;
|
|
2266
|
+
length = 1;
|
|
2267
|
+
}
|
|
2268
|
+
object = Object(object);
|
|
2269
|
+
while (++index < length) {
|
|
2270
|
+
var source = sources[index];
|
|
2271
|
+
if (source) {
|
|
2272
|
+
assigner(object, source, index, customizer);
|
|
2273
|
+
}
|
|
2274
|
+
}
|
|
2275
|
+
return object;
|
|
2276
|
+
});
|
|
2277
|
+
}
|
|
2278
|
+
var merge = createAssigner(function(object, source, srcIndex) {
|
|
2279
|
+
baseMerge(object, source, srcIndex);
|
|
2280
|
+
});
|
|
2281
|
+
const merge$1 = merge;
|
|
1543
2282
|
var ThemeContext = createContext({
|
|
1544
2283
|
theme: commonTheme
|
|
1545
2284
|
});
|
|
@@ -1548,7 +2287,7 @@ var useTheme = function(componentName, styles2, tweakStyles, options) {
|
|
|
1548
2287
|
var components = theme.components;
|
|
1549
2288
|
var _components_componentName;
|
|
1550
2289
|
var newStyles = useMemo(function() {
|
|
1551
|
-
return merge({}, styles2, (_components_componentName = components === null || components === void 0 ? void 0 : components[componentName]) !== null && _components_componentName !== void 0 ? _components_componentName : {}, tweakStyles);
|
|
2290
|
+
return merge$1({}, styles2, (_components_componentName = components === null || components === void 0 ? void 0 : components[componentName]) !== null && _components_componentName !== void 0 ? _components_componentName : {}, tweakStyles);
|
|
1552
2291
|
}, [
|
|
1553
2292
|
styles2,
|
|
1554
2293
|
components === null || components === void 0 ? void 0 : components[componentName],
|
|
@@ -2768,8 +3507,8 @@ var MISSING_DEPENDENCY_ERROR = 'Popper: modifier "%s" requires "%s", but "%s" mo
|
|
|
2768
3507
|
var VALID_PROPERTIES = ["name", "enabled", "phase", "fn", "effect", "requires", "options"];
|
|
2769
3508
|
function validateModifiers(modifiers) {
|
|
2770
3509
|
modifiers.forEach(function(modifier) {
|
|
2771
|
-
[].concat(Object.keys(modifier), VALID_PROPERTIES).filter(function(value, index,
|
|
2772
|
-
return
|
|
3510
|
+
[].concat(Object.keys(modifier), VALID_PROPERTIES).filter(function(value, index, self2) {
|
|
3511
|
+
return self2.indexOf(value) === index;
|
|
2773
3512
|
}).forEach(function(key) {
|
|
2774
3513
|
switch (key) {
|
|
2775
3514
|
case "name":
|
|
@@ -3274,7 +4013,7 @@ var useDropdown = function(param) {
|
|
|
3274
4013
|
var useTweakStyles = function() {
|
|
3275
4014
|
var componentStyles = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, tweakStyles = arguments.length > 1 ? arguments[1] : void 0, className = arguments.length > 2 ? arguments[2] : void 0;
|
|
3276
4015
|
return useMemo(function() {
|
|
3277
|
-
return merge({}, componentStyles[className], tweakStyles === null || tweakStyles === void 0 ? void 0 : tweakStyles[className]);
|
|
4016
|
+
return merge$1({}, componentStyles[className], tweakStyles === null || tweakStyles === void 0 ? void 0 : tweakStyles[className]);
|
|
3278
4017
|
}, [
|
|
3279
4018
|
tweakStyles === null || tweakStyles === void 0 ? void 0 : tweakStyles[className]
|
|
3280
4019
|
]);
|
|
@@ -4210,63 +4949,63 @@ var IconBoilerplate = function(param) {
|
|
|
4210
4949
|
]
|
|
4211
4950
|
});
|
|
4212
4951
|
};
|
|
4213
|
-
const avatarGreen = ` <svg
|
|
4214
|
-
width="100%"
|
|
4215
|
-
height="100%"
|
|
4216
|
-
viewBox="0 0 32 32"
|
|
4217
|
-
fill="none"
|
|
4218
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
4219
|
-
|
|
4220
|
-
<circle opacity="0.5" cx="16" cy="16" r="16" fill="#DDE3ED"
|
|
4221
|
-
<mask
|
|
4222
|
-
id="mask0_0_12744"
|
|
4223
|
-
style="mask-type: 'alpha';"
|
|
4224
|
-
maskUnits="userSpaceOnUse"
|
|
4225
|
-
x="0"
|
|
4226
|
-
y="0"
|
|
4227
|
-
width="32"
|
|
4228
|
-
height="32"
|
|
4229
|
-
|
|
4230
|
-
<circle cx="16" cy="16" r="16" fill="white"
|
|
4231
|
-
</mask
|
|
4232
|
-
<g mask="url(#mask0_0_12744)"
|
|
4233
|
-
<circle cx="16" cy="29" r="13" fill="url(#paint0_linear_0_12744)"
|
|
4234
|
-
<mask
|
|
4235
|
-
id="mask1_0_12744"
|
|
4236
|
-
style="mask-type: 'alpha';"
|
|
4237
|
-
maskUnits="userSpaceOnUse"
|
|
4238
|
-
x="3"
|
|
4239
|
-
y="16"
|
|
4240
|
-
width="26"
|
|
4241
|
-
height="26"
|
|
4242
|
-
|
|
4243
|
-
<circle cx="16" cy="29" r="13" fill="white"
|
|
4244
|
-
</mask
|
|
4245
|
-
<g mask="url(#mask1_0_12744)"
|
|
4246
|
-
<ellipse
|
|
4247
|
-
cx="16"
|
|
4248
|
-
cy="17.5"
|
|
4249
|
-
rx="6"
|
|
4250
|
-
ry="7.5"
|
|
4251
|
-
fill="#505F79"
|
|
4252
|
-
fill-opacity="0.204983"
|
|
4253
|
-
|
|
4254
|
-
</g
|
|
4255
|
-
</g
|
|
4256
|
-
<ellipse cx="16" cy="13" rx="6" ry="7" fill="white"
|
|
4257
|
-
<defs
|
|
4258
|
-
<linearGradient
|
|
4259
|
-
id="paint0_linear_0_12744"
|
|
4260
|
-
x1="13.347"
|
|
4261
|
-
y1="46.279"
|
|
4262
|
-
x2="33.5318"
|
|
4263
|
-
y2="30.8088"
|
|
4264
|
-
gradientUnits="userSpaceOnUse"
|
|
4265
|
-
|
|
4266
|
-
<stop stop-color="#ABD229"
|
|
4267
|
-
<stop offset="1" stop-color="#9CD03F"
|
|
4268
|
-
</linearGradient
|
|
4269
|
-
</defs
|
|
4952
|
+
const avatarGreen = ` <svg\r
|
|
4953
|
+
width="100%"\r
|
|
4954
|
+
height="100%"\r
|
|
4955
|
+
viewBox="0 0 32 32"\r
|
|
4956
|
+
fill="none"\r
|
|
4957
|
+
xmlns="http://www.w3.org/2000/svg"\r
|
|
4958
|
+
>\r
|
|
4959
|
+
<circle opacity="0.5" cx="16" cy="16" r="16" fill="#DDE3ED" />\r
|
|
4960
|
+
<mask\r
|
|
4961
|
+
id="mask0_0_12744"\r
|
|
4962
|
+
style="mask-type: 'alpha';"\r
|
|
4963
|
+
maskUnits="userSpaceOnUse"\r
|
|
4964
|
+
x="0"\r
|
|
4965
|
+
y="0"\r
|
|
4966
|
+
width="32"\r
|
|
4967
|
+
height="32"\r
|
|
4968
|
+
>\r
|
|
4969
|
+
<circle cx="16" cy="16" r="16" fill="white" />\r
|
|
4970
|
+
</mask>\r
|
|
4971
|
+
<g mask="url(#mask0_0_12744)">\r
|
|
4972
|
+
<circle cx="16" cy="29" r="13" fill="url(#paint0_linear_0_12744)" />\r
|
|
4973
|
+
<mask\r
|
|
4974
|
+
id="mask1_0_12744"\r
|
|
4975
|
+
style="mask-type: 'alpha';"\r
|
|
4976
|
+
maskUnits="userSpaceOnUse"\r
|
|
4977
|
+
x="3"\r
|
|
4978
|
+
y="16"\r
|
|
4979
|
+
width="26"\r
|
|
4980
|
+
height="26"\r
|
|
4981
|
+
>\r
|
|
4982
|
+
<circle cx="16" cy="29" r="13" fill="white" />\r
|
|
4983
|
+
</mask>\r
|
|
4984
|
+
<g mask="url(#mask1_0_12744)">\r
|
|
4985
|
+
<ellipse\r
|
|
4986
|
+
cx="16"\r
|
|
4987
|
+
cy="17.5"\r
|
|
4988
|
+
rx="6"\r
|
|
4989
|
+
ry="7.5"\r
|
|
4990
|
+
fill="#505F79"\r
|
|
4991
|
+
fill-opacity="0.204983"\r
|
|
4992
|
+
/>\r
|
|
4993
|
+
</g>\r
|
|
4994
|
+
</g>\r
|
|
4995
|
+
<ellipse cx="16" cy="13" rx="6" ry="7" fill="white" />\r
|
|
4996
|
+
<defs>\r
|
|
4997
|
+
<linearGradient\r
|
|
4998
|
+
id="paint0_linear_0_12744"\r
|
|
4999
|
+
x1="13.347"\r
|
|
5000
|
+
y1="46.279"\r
|
|
5001
|
+
x2="33.5318"\r
|
|
5002
|
+
y2="30.8088"\r
|
|
5003
|
+
gradientUnits="userSpaceOnUse"\r
|
|
5004
|
+
>\r
|
|
5005
|
+
<stop stop-color="#ABD229" />\r
|
|
5006
|
+
<stop offset="1" stop-color="#9CD03F" />\r
|
|
5007
|
+
</linearGradient>\r
|
|
5008
|
+
</defs>\r
|
|
4270
5009
|
</svg>`;
|
|
4271
5010
|
var complexIcons = {
|
|
4272
5011
|
avatar: avatarGreen
|
|
@@ -5352,7 +6091,7 @@ var Button = function(param) {
|
|
|
5352
6091
|
var _param_type = param.type, type = _param_type === void 0 ? "button" : _param_type, children = param.children, _param_size = param.size, size = _param_size === void 0 ? "l" : _param_size, _param_view = param.view, view = _param_view === void 0 ? "primary" : _param_view, _param_isFullWidth = param.isFullWidth, isFullWidth = _param_isFullWidth === void 0 ? false : _param_isFullWidth, _param_isInline = param.isInline, isInline = _param_isInline === void 0 ? false : _param_isInline, _param_isDisabled = param.isDisabled, isDisabled = _param_isDisabled === void 0 ? false : _param_isDisabled, _param_isActive = param.isActive, isActive = _param_isActive === void 0 ? false : _param_isActive, _param_isLoading = param.isLoading, isLoading = _param_isLoading === void 0 ? false : _param_isLoading, _param_shouldSkipTabNavigation = param.shouldSkipTabNavigation, shouldSkipTabNavigation = _param_shouldSkipTabNavigation === void 0 ? false : _param_shouldSkipTabNavigation, data = param.data, testId = param.testId, tweakStyles = param.tweakStyles, icon = param.icon, _param_iconPosition = param.iconPosition, iconPosition = _param_iconPosition === void 0 ? "left" : _param_iconPosition, _param_preloaderType = param.preloaderType, preloaderType = _param_preloaderType === void 0 ? "dots" : _param_preloaderType, onClick = param.onClick, onMouseDown = param.onMouseDown;
|
|
5353
6092
|
var _useTheme = useTheme("Button", styles$D, tweakStyles), classes = _useTheme.classes, componentStyles = _useTheme.componentStyles;
|
|
5354
6093
|
var tweakPreloaderStyles = useMemo(function() {
|
|
5355
|
-
return merge({}, size === "s" || size === "m" ? dotsPreloaderStyles : void 0, componentStyles.tweakPreloader, tweakStyles === null || tweakStyles === void 0 ? void 0 : tweakStyles.tweakPreloader);
|
|
6094
|
+
return merge$1({}, size === "s" || size === "m" ? dotsPreloaderStyles : void 0, componentStyles.tweakPreloader, tweakStyles === null || tweakStyles === void 0 ? void 0 : tweakStyles.tweakPreloader);
|
|
5356
6095
|
}, [
|
|
5357
6096
|
tweakStyles === null || tweakStyles === void 0 ? void 0 : tweakStyles.tweakPreloader,
|
|
5358
6097
|
size
|
|
@@ -6177,9 +6916,9 @@ function asyncGeneratorStep$5(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
6177
6916
|
}
|
|
6178
6917
|
function _async_to_generator$5(fn3) {
|
|
6179
6918
|
return function() {
|
|
6180
|
-
var
|
|
6919
|
+
var self2 = this, args = arguments;
|
|
6181
6920
|
return new Promise(function(resolve, reject) {
|
|
6182
|
-
var gen = fn3.apply(
|
|
6921
|
+
var gen = fn3.apply(self2, args);
|
|
6183
6922
|
function _next(value) {
|
|
6184
6923
|
asyncGeneratorStep$5(gen, resolve, reject, _next, _throw, "next", value);
|
|
6185
6924
|
}
|
|
@@ -6692,11 +7431,11 @@ var DatePickerInput = /* @__PURE__ */ forwardRef(function(param, ref) {
|
|
|
6692
7431
|
})
|
|
6693
7432
|
});
|
|
6694
7433
|
});
|
|
6695
|
-
function _assert_this_initialized(
|
|
6696
|
-
if (
|
|
7434
|
+
function _assert_this_initialized(self2) {
|
|
7435
|
+
if (self2 === void 0) {
|
|
6697
7436
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
6698
7437
|
}
|
|
6699
|
-
return
|
|
7438
|
+
return self2;
|
|
6700
7439
|
}
|
|
6701
7440
|
function _class_call_check(instance, Constructor) {
|
|
6702
7441
|
if (!(instance instanceof Constructor)) {
|
|
@@ -6800,11 +7539,11 @@ function _object_without_properties_loose$7(source, excluded) {
|
|
|
6800
7539
|
}
|
|
6801
7540
|
return target;
|
|
6802
7541
|
}
|
|
6803
|
-
function _possible_constructor_return(
|
|
7542
|
+
function _possible_constructor_return(self2, call) {
|
|
6804
7543
|
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
6805
7544
|
return call;
|
|
6806
7545
|
}
|
|
6807
|
-
return _assert_this_initialized(
|
|
7546
|
+
return _assert_this_initialized(self2);
|
|
6808
7547
|
}
|
|
6809
7548
|
function _set_prototype_of(o, p) {
|
|
6810
7549
|
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o2, p2) {
|
|
@@ -7402,9 +8141,9 @@ function asyncGeneratorStep$4(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
7402
8141
|
}
|
|
7403
8142
|
function _async_to_generator$4(fn3) {
|
|
7404
8143
|
return function() {
|
|
7405
|
-
var
|
|
8144
|
+
var self2 = this, args = arguments;
|
|
7406
8145
|
return new Promise(function(resolve, reject) {
|
|
7407
|
-
var gen = fn3.apply(
|
|
8146
|
+
var gen = fn3.apply(self2, args);
|
|
7408
8147
|
function _next(value) {
|
|
7409
8148
|
asyncGeneratorStep$4(gen, resolve, reject, _next, _throw, "next", value);
|
|
7410
8149
|
}
|
|
@@ -7900,7 +8639,7 @@ function Select(_param) {
|
|
|
7900
8639
|
);
|
|
7901
8640
|
var hasReadonlyInput = isReadonly || optionsMode === "normal" || shouldRenderSearchInputInList;
|
|
7902
8641
|
var tweakInputStyles = useMemo(function() {
|
|
7903
|
-
return merge({}, componentStyles.tweakInput, _object_spread$u({}, hasReadonlyInput && {
|
|
8642
|
+
return merge$1({}, componentStyles.tweakInput, _object_spread$u({}, hasReadonlyInput && {
|
|
7904
8643
|
input: {
|
|
7905
8644
|
cursor: "pointer"
|
|
7906
8645
|
}
|
|
@@ -8818,7 +9557,7 @@ var SelectLocales = {
|
|
|
8818
9557
|
var DEFAULT_LOCALE$2 = "en";
|
|
8819
9558
|
var getLocale$2 = function() {
|
|
8820
9559
|
var key = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : DEFAULT_LOCALE$2, custom = arguments.length > 1 ? arguments[1] : void 0, custom2 = arguments.length > 2 ? arguments[2] : void 0;
|
|
8821
|
-
return merge({}, SelectLocales[key], custom, custom2);
|
|
9560
|
+
return merge$1({}, SelectLocales[key], custom, custom2);
|
|
8822
9561
|
};
|
|
8823
9562
|
function _define_property$s(obj, key, value) {
|
|
8824
9563
|
if (key in obj) {
|
|
@@ -9027,9 +9766,9 @@ function asyncGeneratorStep$3(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
9027
9766
|
}
|
|
9028
9767
|
function _async_to_generator$3(fn3) {
|
|
9029
9768
|
return function() {
|
|
9030
|
-
var
|
|
9769
|
+
var self2 = this, args = arguments;
|
|
9031
9770
|
return new Promise(function(resolve, reject) {
|
|
9032
|
-
var gen = fn3.apply(
|
|
9771
|
+
var gen = fn3.apply(self2, args);
|
|
9033
9772
|
function _next(value) {
|
|
9034
9773
|
asyncGeneratorStep$3(gen, resolve, reject, _next, _throw, "next", value);
|
|
9035
9774
|
}
|
|
@@ -9718,7 +10457,7 @@ var FilterLocales = {
|
|
|
9718
10457
|
var DEFAULT_LOCALE$1 = "en";
|
|
9719
10458
|
var getLocale$1 = function() {
|
|
9720
10459
|
var key = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : DEFAULT_LOCALE$1, custom = arguments.length > 1 ? arguments[1] : void 0, custom2 = arguments.length > 2 ? arguments[2] : void 0;
|
|
9721
|
-
return merge({}, FilterLocales[key], custom, custom2);
|
|
10460
|
+
return merge$1({}, FilterLocales[key], custom, custom2);
|
|
9722
10461
|
};
|
|
9723
10462
|
var FILTER_HEIGHT = 36;
|
|
9724
10463
|
var styles$o = {
|
|
@@ -10312,9 +11051,9 @@ function asyncGeneratorStep$2(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
10312
11051
|
}
|
|
10313
11052
|
function _async_to_generator$2(fn3) {
|
|
10314
11053
|
return function() {
|
|
10315
|
-
var
|
|
11054
|
+
var self2 = this, args = arguments;
|
|
10316
11055
|
return new Promise(function(resolve, reject) {
|
|
10317
|
-
var gen = fn3.apply(
|
|
11056
|
+
var gen = fn3.apply(self2, args);
|
|
10318
11057
|
function _next(value) {
|
|
10319
11058
|
asyncGeneratorStep$2(gen, resolve, reject, _next, _throw, "next", value);
|
|
10320
11059
|
}
|
|
@@ -10882,7 +11621,7 @@ var MultiSelectLocales = {
|
|
|
10882
11621
|
var DEFAULT_LOCALE = "en";
|
|
10883
11622
|
var getLocale = function() {
|
|
10884
11623
|
var key = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : DEFAULT_LOCALE, custom = arguments.length > 1 ? arguments[1] : void 0, custom2 = arguments.length > 2 ? arguments[2] : void 0;
|
|
10885
|
-
return merge({}, MultiSelectLocales[key], custom, custom2);
|
|
11624
|
+
return merge$1({}, MultiSelectLocales[key], custom, custom2);
|
|
10886
11625
|
};
|
|
10887
11626
|
function _define_property$n(obj, key, value) {
|
|
10888
11627
|
if (key in obj) {
|
|
@@ -11063,9 +11802,9 @@ function asyncGeneratorStep$1(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
11063
11802
|
}
|
|
11064
11803
|
function _async_to_generator$1(fn3) {
|
|
11065
11804
|
return function() {
|
|
11066
|
-
var
|
|
11805
|
+
var self2 = this, args = arguments;
|
|
11067
11806
|
return new Promise(function(resolve, reject) {
|
|
11068
|
-
var gen = fn3.apply(
|
|
11807
|
+
var gen = fn3.apply(self2, args);
|
|
11069
11808
|
function _next(value) {
|
|
11070
11809
|
asyncGeneratorStep$1(gen, resolve, reject, _next, _throw, "next", value);
|
|
11071
11810
|
}
|
|
@@ -20268,7 +21007,7 @@ function TableValue(param) {
|
|
|
20268
21007
|
var content = null;
|
|
20269
21008
|
if (itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.component) {
|
|
20270
21009
|
var ValueComponent = itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.component;
|
|
20271
|
-
content =
|
|
21010
|
+
content = ValueComponent({
|
|
20272
21011
|
value,
|
|
20273
21012
|
row: item,
|
|
20274
21013
|
isFocusedRow,
|
|
@@ -26575,7 +27314,7 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
26575
27314
|
var TextWithTooltip = function(param) {
|
|
26576
27315
|
var children = param.children, tooltipText = param.tooltipText, _param_tooltipPosition = param.tooltipPosition, tooltipPosition = _param_tooltipPosition === void 0 ? "top" : _param_tooltipPosition, _param_tooltipView = param.tooltipView, tooltipView = _param_tooltipView === void 0 ? "tooltip" : _param_tooltipView, tooltipType = param.tooltipType, _param_tooltipModifiers = param.tooltipModifiers, tooltipModifiers = _param_tooltipModifiers === void 0 ? [] : _param_tooltipModifiers, tooltipOffsetOptions = param.tooltipOffsetOptions, _param_isDisabled = param.isDisabled, isDisabled = _param_isDisabled === void 0 ? false : _param_isDisabled, _param_shouldRenderInBody = param.shouldRenderInBody, shouldRenderInBody = _param_shouldRenderInBody === void 0 ? true : _param_shouldRenderInBody, _param_mouseEventType = param.mouseEventType, mouseEventType = _param_mouseEventType === void 0 ? "hover" : _param_mouseEventType, hoverDelay = param.hoverDelay, data = param.data, tweakStyles = param.tweakStyles;
|
|
26577
27316
|
var _useTheme = useTheme("TextWithTooltip", styles$2, tweakStyles), classes = _useTheme.classes, componentStyles = _useTheme.componentStyles;
|
|
26578
|
-
var
|
|
27317
|
+
var root2 = useRef(null);
|
|
26579
27318
|
var tooltip = useRef(null);
|
|
26580
27319
|
var _useState = _sliced_to_array(useState(false), 2), isTooltipVisible = _useState[0], setIsTooltipVisible = _useState[1];
|
|
26581
27320
|
var _useState1 = _sliced_to_array(useState(), 2), tooltipTimeout = _useState1[0], setTooltipTimeout = _useState1[1];
|
|
@@ -26601,7 +27340,7 @@ var TextWithTooltip = function(param) {
|
|
|
26601
27340
|
return clearTimeout(tooltipTimeout);
|
|
26602
27341
|
};
|
|
26603
27342
|
}, []);
|
|
26604
|
-
var _usePopper = usePopper(
|
|
27343
|
+
var _usePopper = usePopper(root2.current, tooltip.current, {
|
|
26605
27344
|
enabled: isTooltipVisible,
|
|
26606
27345
|
placement: tooltipPosition,
|
|
26607
27346
|
modifiers: [
|
|
@@ -26620,7 +27359,7 @@ var TextWithTooltip = function(param) {
|
|
|
26620
27359
|
if (mouseEventType === "click") {
|
|
26621
27360
|
setIsTooltipVisible(false);
|
|
26622
27361
|
}
|
|
26623
|
-
},
|
|
27362
|
+
}, root2);
|
|
26624
27363
|
var props = mouseEventType === "click" ? {
|
|
26625
27364
|
onClick: function() {
|
|
26626
27365
|
return setIsTooltipVisible(true);
|
|
@@ -26634,10 +27373,10 @@ var TextWithTooltip = function(param) {
|
|
|
26634
27373
|
return /* @__PURE__ */ jsxs("div", _object_spread_props$2(_object_spread$2({
|
|
26635
27374
|
className: clsx(classes.root, mouseEventType === "click" && shouldShowTooltip && classes.clickable)
|
|
26636
27375
|
}, shouldShowTooltip ? props : void 0, addDataAttributes(data)), {
|
|
26637
|
-
ref:
|
|
27376
|
+
ref: root2,
|
|
26638
27377
|
children: [
|
|
26639
27378
|
shouldShowTooltip && /* @__PURE__ */ jsx(Portal, {
|
|
26640
|
-
container: shouldRenderInBody ? document.body :
|
|
27379
|
+
container: shouldRenderInBody ? document.body : root2.current,
|
|
26641
27380
|
children: /* @__PURE__ */ jsx("div", _object_spread_props$2(_object_spread$2({
|
|
26642
27381
|
className: classes.tooltip,
|
|
26643
27382
|
style: popperStyles.popper
|
|
@@ -26855,9 +27594,9 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
26855
27594
|
}
|
|
26856
27595
|
function _async_to_generator(fn3) {
|
|
26857
27596
|
return function() {
|
|
26858
|
-
var
|
|
27597
|
+
var self2 = this, args = arguments;
|
|
26859
27598
|
return new Promise(function(resolve, reject) {
|
|
26860
|
-
var gen = fn3.apply(
|
|
27599
|
+
var gen = fn3.apply(self2, args);
|
|
26861
27600
|
function _next(value) {
|
|
26862
27601
|
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
26863
27602
|
}
|