intelicoreact 1.4.95 → 1.4.97

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.
Files changed (268) hide show
  1. package/dist/Atomic/FormElements/ActionAlert/ActionAlert.js +10 -1
  2. package/dist/Atomic/FormElements/AdvancedStatus/AdvancedStatus.js +10 -1
  3. package/dist/Atomic/FormElements/Calendar/Calendar.js +24 -4
  4. package/dist/Atomic/FormElements/CheckboxInput/CheckboxInput.js +10 -1
  5. package/dist/Atomic/FormElements/CheckboxesLine/CheckboxesLine.js +14 -2
  6. package/dist/Atomic/FormElements/Datepicker/Datepicker.js +54 -5
  7. package/dist/Atomic/FormElements/Datepicker/components/Calendar.js +21 -3
  8. package/dist/Atomic/FormElements/Dropdown/Dropdown.js +145 -52
  9. package/dist/Atomic/FormElements/Dropdown/components/DropdownLoader.js +7 -1
  10. package/dist/Atomic/FormElements/DropdownLiveSearch/DropdownLiveSearch.js +91 -25
  11. package/dist/Atomic/FormElements/FileLoader/FileLoader.js +15 -3
  12. package/dist/Atomic/FormElements/FileLoader/partial/LoadZone.js +29 -15
  13. package/dist/Atomic/FormElements/FileLoader/partial/LoadedContent.js +15 -5
  14. package/dist/Atomic/FormElements/FileLoaderDescription/FileLoaderDescription.js +31 -13
  15. package/dist/Atomic/FormElements/FileLoaderLocal/FileLoaderLocal.js +26 -6
  16. package/dist/Atomic/FormElements/FileLoaderLocalGroup/FileLoaderLocalGroup.js +38 -19
  17. package/dist/Atomic/FormElements/FormattedRawSSN/FormattedRawSSN.js +38 -9
  18. package/dist/Atomic/FormElements/Input/Input.js +60 -25
  19. package/dist/Atomic/FormElements/InputCalendar/InputCalendar.js +31 -4
  20. package/dist/Atomic/FormElements/InputColor/InputColor.js +14 -4
  21. package/dist/Atomic/FormElements/InputCurrency/InputCurrency.js +29 -6
  22. package/dist/Atomic/FormElements/InputDateRange/InputDateRange.js +43 -8
  23. package/dist/Atomic/FormElements/InputDateRange/components/DateInput.js +21 -3
  24. package/dist/Atomic/FormElements/InputDateRange/components/Datepicker.js +81 -58
  25. package/dist/Atomic/FormElements/InputDateRange/components/OpenedPart.js +41 -6
  26. package/dist/Atomic/FormElements/InputDateRange/components/SelectItem.js +8 -1
  27. package/dist/Atomic/FormElements/InputDateRange/dependencies.js +46 -16
  28. package/dist/Atomic/FormElements/InputLink/InputLink.js +23 -6
  29. package/dist/Atomic/FormElements/InputMask/InputCarretPosition.js +4 -0
  30. package/dist/Atomic/FormElements/InputMask/InputMask.js +208 -77
  31. package/dist/Atomic/FormElements/InputMask/functions.js +28 -2
  32. package/dist/Atomic/FormElements/InputMask2/InputMask2.js +119 -43
  33. package/dist/Atomic/FormElements/InputMask2/functions.js +28 -2
  34. package/dist/Atomic/FormElements/InputMask3/InputMask3.js +137 -44
  35. package/dist/Atomic/FormElements/InputMask3/functions.js +28 -2
  36. package/dist/Atomic/FormElements/InputWithAction/InputWithAction.js +17 -3
  37. package/dist/Atomic/FormElements/InputsRow/InputsRow.js +24 -5
  38. package/dist/Atomic/FormElements/Label/Label.js +9 -1
  39. package/dist/Atomic/FormElements/MobileCalendar/MobileCalendar.js +73 -35
  40. package/dist/Atomic/FormElements/MultiSelect/MultiSelect.js +15 -3
  41. package/dist/Atomic/FormElements/NumericInput/NumericInput.js +45 -24
  42. package/dist/Atomic/FormElements/RadioGroup/RadioGroup.js +17 -7
  43. package/dist/Atomic/FormElements/RadioGroupWithInput/RadioGroupWithInput.js +14 -3
  44. package/dist/Atomic/FormElements/RadioInput/RadioInput.js +10 -1
  45. package/dist/Atomic/FormElements/RadioRowSwitcher/RadioRowSwitcher.js +14 -3
  46. package/dist/Atomic/FormElements/RangeCalendar/RangeCalendar.js +23 -3
  47. package/dist/Atomic/FormElements/RangeInputs/RangeInputs.js +34 -17
  48. package/dist/Atomic/FormElements/RangeList/RangeList.js +25 -6
  49. package/dist/Atomic/FormElements/RangeList/partial/RangeListRow.js +11 -1
  50. package/dist/Atomic/FormElements/RangeSlider/RangeSlider.js +87 -16
  51. package/dist/Atomic/FormElements/RangeSlider2/RangeSlider2.js +132 -43
  52. package/dist/Atomic/FormElements/SwitchableRow/SwitchableRow.js +10 -1
  53. package/dist/Atomic/FormElements/Switcher/Switcher.js +10 -1
  54. package/dist/Atomic/FormElements/SwitcherCheckbox/SwitcherCheckbox.js +13 -1
  55. package/dist/Atomic/FormElements/SwitcherHide/SwitcherHide.js +10 -1
  56. package/dist/Atomic/FormElements/SwitcherRadio/SwitcherRadio.js +17 -2
  57. package/dist/Atomic/FormElements/SwitcherRange/SwitcherRange.js +17 -3
  58. package/dist/Atomic/FormElements/SwitcherRangeList/SwitcherRangeList.js +11 -1
  59. package/dist/Atomic/FormElements/SwitcherTagsDropdown/SwitcherTagsDropdown.js +29 -6
  60. package/dist/Atomic/FormElements/SwitcherTagsDropdown/partial/States.js +3 -2
  61. package/dist/Atomic/FormElements/SwitcherTextarea/SwitcherTextarea.js +12 -1
  62. package/dist/Atomic/FormElements/TagListToDropdown/TagListToDropdown.js +23 -6
  63. package/dist/Atomic/FormElements/TagsDropdown/TagsDropdown.js +223 -105
  64. package/dist/Atomic/FormElements/Text/Text.js +16 -10
  65. package/dist/Atomic/FormElements/TextSwitcher/TextSwitcher.js +9 -1
  66. package/dist/Atomic/FormElements/Textarea/Textarea.js +16 -5
  67. package/dist/Atomic/FormElements/TieredCheckboxes/TieredCheckboxes.js +35 -6
  68. package/dist/Atomic/FormElements/TieredCheckboxes/partial/AccordionWithCheckbox.js +13 -4
  69. package/dist/Atomic/FormElements/TimeRange/TimeRange.js +21 -7
  70. package/dist/Atomic/FormElements/UserContacts/UserContacts.js +35 -8
  71. package/dist/Atomic/FormElements/UserContacts/partial/defaultIcons.js +91 -0
  72. package/dist/Atomic/FormElements/VariantsListRadio/VariantsListRadio.js +18 -5
  73. package/dist/Atomic/FormElements/VariantsListRadio/partials/VariantsListRadioItem.js +10 -3
  74. package/dist/Atomic/FormElements/WidgetPseudoTable/WidgetPseudoTable.js +11 -3
  75. package/dist/Atomic/FormElements/WidgetPseudoTable/partial/constructor.js +2 -1
  76. package/dist/Atomic/FormElements/WidgetWithSwitchableRows/WidgetWithSwitchableRows.js +12 -5
  77. package/dist/Atomic/FormElements/WidgetWithSwitchableRows/partial/constructor.js +3 -3
  78. package/dist/Atomic/Layout/Header/Header.js +15 -3
  79. package/dist/Atomic/Layout/MainMenu/MainMenu.js +20 -3
  80. package/dist/Atomic/Layout/Spinner/Spinner.js +8 -1
  81. package/dist/Atomic/UI/Accordion/Accordion.js +19 -3
  82. package/dist/Atomic/UI/Accordion/AccordionItem.js +23 -9
  83. package/dist/Atomic/UI/AccordionTable/AccordionTable.js +32 -7
  84. package/dist/Atomic/UI/AccordionText/AccordionText.js +17 -3
  85. package/dist/Atomic/UI/AdvancedTag/AdvTag.js +21 -4
  86. package/dist/Atomic/UI/AdvancedTag/AdvancedTags.js +15 -3
  87. package/dist/Atomic/UI/Alert/Alert.js +19 -3
  88. package/dist/Atomic/UI/Arrow/Arrow.js +16 -3
  89. package/dist/Atomic/UI/Box/Box.js +9 -3
  90. package/dist/Atomic/UI/Button/Button.js +11 -2
  91. package/dist/Atomic/UI/ButtonsBar/ButtonsBar.js +10 -1
  92. package/dist/Atomic/UI/Chart/Chart.js +29 -4
  93. package/dist/Atomic/UI/Chart/partial/Chart.constants.js +19 -11
  94. package/dist/Atomic/UI/Chart/partial/ChartTypeSwitcherIcon/ChartTypeSwitcherIcon.js +12 -1
  95. package/dist/Atomic/UI/Chart/partial/datasetSetters.js +34 -11
  96. package/dist/Atomic/UI/Chart/partial/optionsConstructor.js +56 -82
  97. package/dist/Atomic/UI/Chart/partial/optionsSetters.js +19 -15
  98. package/dist/Atomic/UI/Chart/partial/utils.js +20 -6
  99. package/dist/Atomic/UI/CircleProgressBar/CircleProgressBar.js +13 -3
  100. package/dist/Atomic/UI/DateTime/DateTime.js +14 -3
  101. package/dist/Atomic/UI/DebugContainer/DebugContainer.js +16 -4
  102. package/dist/Atomic/UI/DebugContainer/useDebugContainer.js +11 -3
  103. package/dist/Atomic/UI/DoubleString/DoubleString.js +17 -5
  104. package/dist/Atomic/UI/DynamicIcon/DynamicIcon.js +10 -3
  105. package/dist/Atomic/UI/ExampleChartIntegration/ExampleChartIntegration.js +52 -17
  106. package/dist/Atomic/UI/ExampleChartIntegration/partial/utils.js +29 -1
  107. package/dist/Atomic/UI/Hint/Hint.js +39 -13
  108. package/dist/Atomic/UI/Hint/partials/_utils.js +19 -4
  109. package/dist/Atomic/UI/Modal/Modal.js +28 -6
  110. package/dist/Atomic/UI/Modal/ModalHOC.js +9 -1
  111. package/dist/Atomic/UI/Modal/partials/ModalFooter.js +7 -1
  112. package/dist/Atomic/UI/Modal/partials/ModalTitle.js +8 -1
  113. package/dist/Atomic/UI/Modal/partials/useMobileModal.js +49 -32
  114. package/dist/Atomic/UI/ModalBackup/Modal.js +174 -0
  115. package/dist/Atomic/UI/ModalBackup/Modal.scss +333 -0
  116. package/dist/Atomic/UI/ModalBackup/ModalHOC.js +51 -0
  117. package/dist/Atomic/UI/ModalBackup/partials/ModalFooter.js +24 -0
  118. package/dist/Atomic/UI/ModalBackup/partials/ModalTitle.js +41 -0
  119. package/dist/Atomic/UI/MonoAccordion/MonoAccordion.js +21 -6
  120. package/dist/Atomic/UI/NavLine/NavLine.js +55 -26
  121. package/dist/Atomic/UI/NavLine/Tabs.js +3 -2
  122. package/dist/Atomic/UI/PageTitle/PageTitle.js +10 -2
  123. package/dist/Atomic/UI/PieChart/PieChart.js +10 -1
  124. package/dist/Atomic/UI/Price/Price.js +8 -3
  125. package/dist/Atomic/UI/PriceRange/PriceRange.js +7 -1
  126. package/dist/Atomic/UI/ProgressLine/ProgressLine.js +16 -1
  127. package/dist/Atomic/UI/Status/Status.js +8 -1
  128. package/dist/Atomic/UI/Table/Partials/TdCell.js +29 -5
  129. package/dist/Atomic/UI/Table/Partials/TdHeader.js +11 -1
  130. package/dist/Atomic/UI/Table/Partials/TdRow.js +17 -5
  131. package/dist/Atomic/UI/Table/Partials/TdTitle.js +14 -3
  132. package/dist/Atomic/UI/Table/Table.js +12 -1
  133. package/dist/Atomic/UI/Table/TdTypes/TdActions.js +18 -2
  134. package/dist/Atomic/UI/Table/TdTypes/TdPriority.js +9 -1
  135. package/dist/Atomic/UI/Table/TdTypes/TdRange.js +4 -1
  136. package/dist/Atomic/UI/Table/TdTypes/TdWeight.js +13 -1
  137. package/dist/Atomic/UI/Tag/Tag.js +26 -11
  138. package/dist/Atomic/UI/TagList/TagList.js +47 -21
  139. package/dist/Atomic/UI/UserBox/UserBox.js +13 -1
  140. package/dist/Atomic/UI/WizardStepper/constructor.js +11 -3
  141. package/dist/Atomic/UI/WizardStepper/index.js +5 -1
  142. package/dist/Atomic/UI/WizardStepper/ui/StateIcon/StateIcon.js +10 -0
  143. package/dist/Atomic/UI/WizardStepper/ui/StateIcon/index.js +4 -1
  144. package/dist/Atomic/UI/WizardStepper/ui/StepRow/StepRow.js +17 -2
  145. package/dist/Atomic/UI/WizardStepper/ui/StepRow/index.js +5 -1
  146. package/dist/Atomic/UI/WizardStepper/ui/StepWrapper/StepWrapper.js +15 -1
  147. package/dist/Atomic/UI/WizardStepper/ui/StepWrapper/index.js +5 -1
  148. package/dist/Atomic/UI/WizardStepper/ui/icons.js +9 -2
  149. package/dist/Atomic/UI/WizardStepper/ui/index.js +5 -1
  150. package/dist/Classes/AbortableFetch.js +93 -36
  151. package/dist/Classes/AnimatedHandler.js +7 -3
  152. package/dist/Classes/RESTAPI/index.js +43 -39
  153. package/dist/Classes/RESTAPI/partials/AbortableFetch.js +93 -35
  154. package/dist/Classes/RESTAPI/partials/ApiBase.js +9 -1
  155. package/dist/Classes/RESTAPI/partials/ApiRequestCreators.js +32 -24
  156. package/dist/Classes/RESTAPI/partials/ApiUtils.js +41 -34
  157. package/dist/Classes/RESTAPI/partials/CredentialsProcessing.js +46 -21
  158. package/dist/Classes/RESTAPI/partials/Utils.js +19 -6
  159. package/dist/Classes/RESTAPI/partials/_outerDependencies.js +6 -2
  160. package/dist/Classes/RESTAPI/partials/_utils.js +39 -16
  161. package/dist/Constants/index.constants.js +15 -8
  162. package/dist/Functions/Portal.js +16 -5
  163. package/dist/Functions/customEventListener.js +17 -4
  164. package/dist/Functions/fieldValueFormatters.js +89 -58
  165. package/dist/Functions/hooks/useFormFieldsChangesManager.js +26 -23
  166. package/dist/Functions/locale/createTranslator.js +9 -4
  167. package/dist/Functions/operations.js +22 -12
  168. package/dist/Functions/presets/inputMaskPresets.js +11 -9
  169. package/dist/Functions/presets/inputPresets.js +11 -8
  170. package/dist/Functions/presets/mobileKeyboardTypesPresets.js +9 -7
  171. package/dist/Functions/schemas.js +13 -6
  172. package/dist/Functions/useBodyScrollLock.js +6 -1
  173. package/dist/Functions/useClickOutside.js +4 -0
  174. package/dist/Functions/useDebounce.js +7 -2
  175. package/dist/Functions/useFieldFocus.js +18 -6
  176. package/dist/Functions/useFormTools/form-drivers/ArrayWithObjects.js +9 -0
  177. package/dist/Functions/useFormTools/form-drivers/ObjectWithIterableObjects.js +23 -12
  178. package/dist/Functions/useFormTools/form-drivers/ObjectWithNamedKeyObjects.js +15 -6
  179. package/dist/Functions/useFormTools/functions/General.js +28 -18
  180. package/dist/Functions/useFormTools/functions/RenderFields.js +11 -2
  181. package/dist/Functions/useFormTools/functions/usePrevious.js +5 -1
  182. package/dist/Functions/useFormTools/index.js +144 -85
  183. package/dist/Functions/useInputHighlightError.js +12 -3
  184. package/dist/Functions/useIsMobile.js +13 -7
  185. package/dist/Functions/useKeyPress/useHandleKeyPress.js +7 -1
  186. package/dist/Functions/useKeyPress/useKeyPress.js +9 -1
  187. package/dist/Functions/useLocalStorage.js +9 -1
  188. package/dist/Functions/useLocationParams.js +5 -4
  189. package/dist/Functions/useMediaQuery.js +9 -3
  190. package/dist/Functions/useMetaInfo.js +10 -3
  191. package/dist/Functions/useMouseUpOutside.js +3 -0
  192. package/dist/Functions/useOnlineStatus.js +9 -1
  193. package/dist/Functions/usePasswordChecker.js +20 -4
  194. package/dist/Functions/usePrevious.js +5 -1
  195. package/dist/Functions/useResize.js +10 -2
  196. package/dist/Functions/useScrollTo.js +7 -2
  197. package/dist/Functions/useToggle.js +5 -1
  198. package/dist/Functions/utils.js +133 -56
  199. package/dist/Molecular/CustomIcons/components/AffiliateNetworks.js +9 -2
  200. package/dist/Molecular/CustomIcons/components/AlertCircle.js +9 -2
  201. package/dist/Molecular/CustomIcons/components/AppStore.js +9 -2
  202. package/dist/Molecular/CustomIcons/components/Arrow.js +9 -2
  203. package/dist/Molecular/CustomIcons/components/ArrowDown.js +9 -2
  204. package/dist/Molecular/CustomIcons/components/ArrowLeft.js +9 -2
  205. package/dist/Molecular/CustomIcons/components/ArrowRight.js +9 -2
  206. package/dist/Molecular/CustomIcons/components/ArrowUp.js +9 -2
  207. package/dist/Molecular/CustomIcons/components/Bell.js +9 -2
  208. package/dist/Molecular/CustomIcons/components/Button.js +9 -2
  209. package/dist/Molecular/CustomIcons/components/Campaigns.js +9 -2
  210. package/dist/Molecular/CustomIcons/components/Check.js +9 -2
  211. package/dist/Molecular/CustomIcons/components/Check2.js +9 -2
  212. package/dist/Molecular/CustomIcons/components/ChevronDown.js +9 -2
  213. package/dist/Molecular/CustomIcons/components/ChevronDownDisabled.js +9 -2
  214. package/dist/Molecular/CustomIcons/components/ChevronLeft.js +9 -2
  215. package/dist/Molecular/CustomIcons/components/ChevronRight.js +9 -2
  216. package/dist/Molecular/CustomIcons/components/ChevronUp.js +9 -2
  217. package/dist/Molecular/CustomIcons/components/ChevronUpDown.js +9 -2
  218. package/dist/Molecular/CustomIcons/components/Close.js +9 -2
  219. package/dist/Molecular/CustomIcons/components/ColumnsOrder.js +9 -2
  220. package/dist/Molecular/CustomIcons/components/Delete.js +9 -2
  221. package/dist/Molecular/CustomIcons/components/Edit.js +9 -2
  222. package/dist/Molecular/CustomIcons/components/Email.js +9 -2
  223. package/dist/Molecular/CustomIcons/components/FinturfLogo.js +9 -2
  224. package/dist/Molecular/CustomIcons/components/FinturfLogo2.js +9 -2
  225. package/dist/Molecular/CustomIcons/components/Flows.js +9 -2
  226. package/dist/Molecular/CustomIcons/components/Gift.js +9 -2
  227. package/dist/Molecular/CustomIcons/components/GoogleAuth.js +9 -2
  228. package/dist/Molecular/CustomIcons/components/GooglePlay.js +9 -2
  229. package/dist/Molecular/CustomIcons/components/HelpCircle.js +9 -2
  230. package/dist/Molecular/CustomIcons/components/HelpCircle2.js +9 -2
  231. package/dist/Molecular/CustomIcons/components/HelpCircleFilled.js +9 -2
  232. package/dist/Molecular/CustomIcons/components/Home.js +9 -2
  233. package/dist/Molecular/CustomIcons/components/Home2.js +9 -2
  234. package/dist/Molecular/CustomIcons/components/Key.js +9 -2
  235. package/dist/Molecular/CustomIcons/components/Landers.js +9 -2
  236. package/dist/Molecular/CustomIcons/components/Lock.js +9 -2
  237. package/dist/Molecular/CustomIcons/components/Mail.js +9 -2
  238. package/dist/Molecular/CustomIcons/components/Mastercard.js +9 -2
  239. package/dist/Molecular/CustomIcons/components/Minus.js +9 -2
  240. package/dist/Molecular/CustomIcons/components/Offers.js +9 -2
  241. package/dist/Molecular/CustomIcons/components/Pause.js +9 -2
  242. package/dist/Molecular/CustomIcons/components/PayPal.js +9 -2
  243. package/dist/Molecular/CustomIcons/components/PayPalLightLarge.js +9 -2
  244. package/dist/Molecular/CustomIcons/components/Phone.js +9 -2
  245. package/dist/Molecular/CustomIcons/components/Play.js +9 -2
  246. package/dist/Molecular/CustomIcons/components/Plus.js +9 -2
  247. package/dist/Molecular/CustomIcons/components/Profile.js +9 -2
  248. package/dist/Molecular/CustomIcons/components/QRCode.js +9 -2
  249. package/dist/Molecular/CustomIcons/components/Rectangle.js +9 -2
  250. package/dist/Molecular/CustomIcons/components/Revert.js +9 -2
  251. package/dist/Molecular/CustomIcons/components/Star.js +9 -2
  252. package/dist/Molecular/CustomIcons/components/Star2.js +9 -2
  253. package/dist/Molecular/CustomIcons/components/TrafficSources.js +9 -2
  254. package/dist/Molecular/CustomIcons/components/Trash.js +9 -2
  255. package/dist/Molecular/CustomIcons/components/TrashRed.js +9 -2
  256. package/dist/Molecular/CustomIcons/components/Triggers.js +9 -2
  257. package/dist/Molecular/CustomIcons/components/User.js +9 -2
  258. package/dist/Molecular/CustomIcons/components/Visa.js +9 -2
  259. package/dist/Molecular/CustomIcons/components/X.js +9 -2
  260. package/dist/Molecular/CustomIcons/index.js +122 -0
  261. package/dist/Molecular/FormElement/FormElement.js +12 -1
  262. package/dist/Molecular/FormWithDependOn/FormWithDependOn.js +31 -30
  263. package/dist/Molecular/FormWithDependOn/partials/_utils.js +12 -9
  264. package/dist/Molecular/InputAddress/InputAddress.js +114 -65
  265. package/dist/Molecular/InputPassword/InputPassword.js +19 -5
  266. package/dist/index.js +2 -0
  267. package/package.json +1 -1
  268. package/dist/Atomic/UI/Hint/partial/_utils.js +0 -52
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
4
5
  Object.defineProperty(exports, "__esModule", {
5
6
  value: true
6
7
  });
@@ -13,22 +14,32 @@ exports.transformLocalTimeToUTC = transformLocalTimeToUTC;
13
14
  exports.transformUTCHoursToLocal = transformUTCHoursToLocal;
14
15
  exports.transformUTCTimeToLocal = transformUTCTimeToLocal;
15
16
  exports.uuid = exports.useOutsideToggle = void 0;
17
+
16
18
  var _react = require("react");
19
+
17
20
  var _momentTimezone = _interopRequireDefault(require("moment-timezone"));
21
+
18
22
  var _index = require("../Constants/index.constants");
23
+
19
24
  const uuid = () => Date.now().toString(36) + Math.random().toString(36).substring(2);
25
+
20
26
  exports.uuid = uuid;
21
- const getIsOnlyAnObject = input => typeof input === "object" && input instanceof Object && !Array.isArray(input);
22
27
 
28
+ const getIsOnlyAnObject = input => typeof input === "object" && input instanceof Object && !Array.isArray(input);
23
29
  /* eslint-disable guard-for-in, no-unused-vars */
30
+
31
+
24
32
  exports.getIsOnlyAnObject = getIsOnlyAnObject;
33
+
25
34
  const handleObjectChange = (updateObject, updateFunction) => function (data) {
26
35
  let prop = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "";
27
36
  let isNumber = arguments.length > 2 ? arguments[2] : undefined;
28
37
  let value;
38
+
29
39
  if (data !== null && data !== void 0 && data.target) {
30
40
  value = data.target.type === "checkbox" ? data.target.checked : data.target.value;
31
41
  } else value = data;
42
+
32
43
  value = isNumber ? Number(value) : value;
33
44
  const props = prop.split(".");
34
45
  const currentObject = props.reduce((res, chapter, index) => {
@@ -38,13 +49,16 @@ const handleObjectChange = (updateObject, updateFunction) => function (data) {
38
49
  currentObject[props.pop()] = value;
39
50
  updateFunction();
40
51
  };
52
+
41
53
  exports.handleObjectChange = handleObjectChange;
54
+
42
55
  const useOutsideToggle = (ref, setOut, open) => {
43
56
  function handleClickOutside(event) {
44
57
  if (ref.current && !ref.current.contains(event.target)) {
45
58
  setOut(open);
46
59
  }
47
60
  }
61
+
48
62
  (0, _react.useEffect)(() => {
49
63
  document.addEventListener("mouseup", handleClickOutside);
50
64
  return () => {
@@ -52,37 +66,47 @@ const useOutsideToggle = (ref, setOut, open) => {
52
66
  document.removeEventListener("mouseup", handleClickOutside);
53
67
  };
54
68
  }, [ref]);
55
- };
56
-
57
- // export const clone = obj => {
69
+ }; // export const clone = obj => {
58
70
  // const data = obj instanceof Array ? [] : {};
59
71
  // for (const i in obj) data[i] = typeof obj[i] === 'object' && obj[i] != null ? clone(obj[i]) : obj[i];
60
72
  // return data;
61
73
  // };
62
74
  // ! Этот правильнее
75
+
76
+
63
77
  exports.useOutsideToggle = useOutsideToggle;
78
+
64
79
  const clone = input => {
65
80
  if (input === null || typeof input !== "object") return input;
66
81
  const data = input instanceof Array ? [] : {};
82
+
67
83
  for (const i in input) data[i] = clone(input[i]);
84
+
68
85
  return data;
69
86
  };
87
+
70
88
  exports.clone = clone;
71
- const getResponseClone = async res => await (typeof (res === null || res === void 0 ? void 0 : res.clone) === "function" ? res.clone() : clone(res));
72
89
 
73
- //TimeUtils
90
+ const getResponseClone = async res => await (typeof (res === null || res === void 0 ? void 0 : res.clone) === "function" ? res.clone() : clone(res)); //TimeUtils
91
+
92
+
74
93
  exports.getResponseClone = getResponseClone;
94
+
75
95
  function transformUTCTimeToLocal(date) {
76
96
  let format = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "YYYY-MM-DD HH:mm:ss";
77
97
  if (!date) return;
98
+
78
99
  const utcDate = _momentTimezone.default.utc(date).toDate();
100
+
79
101
  return (0, _momentTimezone.default)(utcDate, format).local().format(format);
80
102
  }
103
+
81
104
  function transformLocalTimeToUTC(date) {
82
105
  let format = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "YYYY-MM-DD HH:mm:ss";
83
106
  if (!date) return;
84
107
  return (0, _momentTimezone.default)(date, format).utc().format(format);
85
108
  }
109
+
86
110
  function transformUTCHoursToLocal(time) {
87
111
  let format = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "HH:mm:ss";
88
112
  if (!time) return;
@@ -92,20 +116,24 @@ function transformUTCHoursToLocal(time) {
92
116
  let mm = Number(splitedTime[1]);
93
117
  const ss = splitedTime[2];
94
118
  mm = mm + offset;
119
+
95
120
  while (mm > 59) {
96
121
  mm -= 60;
97
122
  HH += 1;
98
123
  }
124
+
99
125
  if (HH > 23) HH -= 24;
126
+
100
127
  while (mm < 0) {
101
128
  mm += 60;
102
129
  HH -= 1;
103
130
  }
131
+
104
132
  if (HH < 0) HH += 24;
105
133
  return "".concat(HH, ":").concat(mm, ":").concat(ss);
106
- }
134
+ } //? Намерянно значением по умолчанию назначаю самый информационно-маленький паттерн
135
+
107
136
 
108
- //? Намерянно значением по умолчанию назначаю самый информационно-маленький паттерн
109
137
  function transformDateOrTimeOrTogetherToFormat(data) {
110
138
  let outputFormat = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "HH:mm";
111
139
  let additional = arguments.length > 2 ? arguments[2] : undefined;
@@ -115,24 +143,22 @@ function transformDateOrTimeOrTogetherToFormat(data) {
115
143
  parseFormat,
116
144
  isReturnAsMomentInstance
117
145
  } = getIsOnlyAnObject(additional) ? additional : {};
146
+
118
147
  if (typeof data !== "string" && typeof data !== "number") {
119
148
  return isReturnAsMomentInstance ? (0, _momentTimezone.default)("error") : ERROR_MESSGE;
120
- }
149
+ } //? Игнорируем parseFormat, если data пришла как timestamp или если parseFormat не строка
121
150
 
122
- //? Игнорируем parseFormat, если data пришла как timestamp или если parseFormat не строка
123
- const momentArgs = [data, ...(!Number.isNaN(Number(data)) || typeof parseFormat === "string" ? [] : [parseFormat])];
124
151
 
125
- //? Задача получить moment-экземпляр, валидный либо невалидный
126
- const momentInstance = (() => {
127
- let instance = (0, _momentTimezone.default)(...momentArgs);
152
+ const momentArgs = [data, ...(!Number.isNaN(Number(data)) || typeof parseFormat === "string" ? [] : [parseFormat])]; //? Задача получить moment-экземпляр, валидный либо невалидный
128
153
 
129
- //? Проверяем валидность moment-экземпляр-а путем попытки привести его к выходному формату
154
+ const momentInstance = (() => {
155
+ let instance = (0, _momentTimezone.default)(...momentArgs); //? Проверяем валидность moment-экземпляр-а путем попытки привести его к выходному формату
130
156
  //? Попадем в этот кейс если
131
157
  //? - data это timestamp
132
158
  //? - data это строка в формате date-time
133
159
  //? - data это строка в формате date (в этом случае время выставится 00:00:00)
134
- if (instance.format(outputFormat) !== ERROR_VALUE) return instance;
135
- //? Если же приведение не удалось, то предполагаем, что data пришла в формате time
160
+
161
+ if (instance.format(outputFormat) !== ERROR_VALUE) return instance; //? Если же приведение не удалось, то предполагаем, что data пришла в формате time
136
162
  //? В этом случае создадим объект от текущей даты, распарсим data и установим время
137
163
  //? Корректно обработаются паттерны: 'HH*mm', 'HH*mm*ss', 'HH*mm*ss*любое_количество_ms', где * - любой разделитель
138
164
  else if (/^\d\d.\d\d/.test(data)) {
@@ -143,13 +169,13 @@ function transformDateOrTimeOrTogetherToFormat(data) {
143
169
  if (acc.group) acc.result.push(acc.group);
144
170
  acc.group = "";
145
171
  } else acc.group = "".concat(acc.group).concat(symbol);
172
+
146
173
  if (idx === symbols.length - 1 && acc.group) acc.result.push(acc.group);
147
174
  return acc;
148
175
  }, {
149
176
  result: [],
150
177
  group: ""
151
- })
152
- //? reverse используется исключительно для того, чтобы после можно было использовать метод pop, а не shift,
178
+ }) //? reverse используется исключительно для того, чтобы после можно было использовать метод pop, а не shift,
153
179
  //? т.к. методы добавления/извлечения относительно конца массива работают быстрее,
154
180
  //? чем аналогичные относительно начала массива
155
181
  .result.reverse();
@@ -161,32 +187,34 @@ function transformDateOrTimeOrTogetherToFormat(data) {
161
187
 
162
188
  return instance;
163
189
  })();
190
+
164
191
  if (isReturnAsMomentInstance) return momentInstance;
165
192
  const output = momentInstance.format(outputFormat);
166
193
  return output === ERROR_VALUE ? ERROR_MESSGE : output;
167
- }
194
+ } //? Намерянно значением по умолчанию назначаю самый информационно-маленький паттерн
195
+
168
196
 
169
- //? Намерянно значением по умолчанию назначаю самый информационно-маленький паттерн
170
197
  function transformDateOrTimeOrTogetherToFormattedLocal(data) {
171
198
  let outputFormat = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "HH:mm";
172
199
  let additional = arguments.length > 2 ? arguments[2] : undefined;
173
200
  const ERROR_VALUE = "Invalid date";
174
201
  const ERROR_MESSGE = "Invalid input data for ".concat(outputFormat, " format");
202
+
175
203
  if (additional && !getIsOnlyAnObject(additional)) {
176
204
  throw new Error("Bad additional [transformDateOrTimeOrTogetherToFormattedLocal]");
177
205
  }
178
- const compositeAdditional = {
179
- ...(additional || {}),
206
+
207
+ const compositeAdditional = { ...(additional || {}),
180
208
  isReturnAsMomentInstance: true
181
209
  };
182
210
  const date = transformDateOrTimeOrTogetherToFormat(data, outputFormat, compositeAdditional);
183
211
  const dateWithLocale = date.add((0, _momentTimezone.default)().utcOffset(), "minutes");
184
212
  const output = dateWithLocale.format(outputFormat);
185
213
  return output === ERROR_VALUE ? ERROR_MESSGE : output;
186
- }
187
-
188
- //принимает обьект и массив ключей обьекта
214
+ } //принимает обьект и массив ключей обьекта
189
215
  //возвращает обьект с теми полями, которых нет в массиве ключей
216
+
217
+
190
218
  const omitKeys = function () {
191
219
  let obj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
192
220
  let keys = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
@@ -198,19 +226,25 @@ const omitKeys = function () {
198
226
  return rest;
199
227
  }, obj);
200
228
  };
229
+
201
230
  exports.omitKeys = omitKeys;
231
+
202
232
  const logout = () => {
203
233
  window.localStorage.removeItem("accessToken");
204
234
  window.localStorage.removeItem("tokenExpires");
205
235
  window.location.reload();
206
236
  };
237
+
207
238
  exports.logout = logout;
239
+
208
240
  const getStyles = (el, prop) => {
209
241
  if (!el) return null;
210
242
  if (!prop) return window.getComputedStyle(el);
211
243
  return window.getComputedStyle(el).getPropertyValue(prop);
212
244
  };
245
+
213
246
  exports.getStyles = getStyles;
247
+
214
248
  const getColorById = (id, colors) => {
215
249
  if (!id) return "#FF7D00";
216
250
  const idToArr = Array.from(id);
@@ -219,20 +253,26 @@ const getColorById = (id, colors) => {
219
253
  if (Number(item)) {
220
254
  return acc + Number(item);
221
255
  }
256
+
222
257
  return acc;
223
258
  }, 0);
259
+
224
260
  while (number >= colorsArr.length) {
225
261
  number -= colorsArr.length;
226
262
  }
263
+
227
264
  return colorsArr[number];
228
265
  };
266
+
229
267
  exports.getColorById = getColorById;
268
+
230
269
  const debounce = (fn, ms) => {
231
270
  let id = null;
232
271
  return function () {
233
272
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
234
273
  args[_key] = arguments[_key];
235
274
  }
275
+
236
276
  clearTimeout(id);
237
277
  id = setTimeout(() => {
238
278
  clearTimeout(id);
@@ -240,7 +280,9 @@ const debounce = (fn, ms) => {
240
280
  }, ms);
241
281
  };
242
282
  };
283
+
243
284
  exports.debounce = debounce;
285
+
244
286
  const throttle = (fn, ms) => {
245
287
  let id = null;
246
288
  return function () {
@@ -252,47 +294,57 @@ const throttle = (fn, ms) => {
252
294
  }, ms);
253
295
  };
254
296
  };
297
+
255
298
  exports.throttle = throttle;
299
+
256
300
  const addBitDepthPoints = function (value) {
257
301
  let step = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 3;
258
302
  //содержит ли value точку
259
- const isFraction = value === null || value === void 0 ? void 0 : value.includes(".");
303
+ const isFraction = value === null || value === void 0 ? void 0 : value.includes("."); //взять строку до точки
260
304
 
261
- //взять строку до точки
262
- const valueBeforeDot = isFraction ? value === null || value === void 0 ? void 0 : value.slice(0, value === null || value === void 0 ? void 0 : value.indexOf(".")) : value;
305
+ const valueBeforeDot = isFraction ? value === null || value === void 0 ? void 0 : value.slice(0, value === null || value === void 0 ? void 0 : value.indexOf(".")) : value; //расстановка запятых после каждой 3й цифры с конца
263
306
 
264
- //расстановка запятых после каждой 3й цифры с конца
265
307
  const intPart = valueBeforeDot.split("").reverse().reduce((acc, item, idx) => idx % step === 0 && idx !== 0 ? [...acc, ",", item] : [...acc, item], []).reverse().join("");
266
308
  return isFraction ? intPart + (value === null || value === void 0 ? void 0 : value.slice(value === null || value === void 0 ? void 0 : value.indexOf("."))) : intPart;
267
309
  };
310
+
268
311
  exports.addBitDepthPoints = addBitDepthPoints;
312
+
269
313
  const changeMeta = function (key) {
270
314
  let items = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
271
315
  const defaultMeta = items.find(i => i.key === "default");
316
+
272
317
  if (key) {
273
318
  var _item$title, _item$description;
319
+
274
320
  const item = items.find(i => i.key === key);
275
321
  document.title = (_item$title = item === null || item === void 0 ? void 0 : item.title) !== null && _item$title !== void 0 ? _item$title : defaultMeta === null || defaultMeta === void 0 ? void 0 : defaultMeta.title;
276
322
  document.querySelector('meta[name="description"]').setAttribute("content", (_item$description = item === null || item === void 0 ? void 0 : item.description) !== null && _item$description !== void 0 ? _item$description : defaultMeta === null || defaultMeta === void 0 ? void 0 : defaultMeta.description);
277
323
  }
278
324
  };
325
+
279
326
  exports.changeMeta = changeMeta;
327
+
280
328
  const firstLetterCapital = str => typeof str === "string" ? "".concat(str.charAt(0).toUpperCase()).concat(str.slice(1)) : str;
329
+
281
330
  exports.firstLetterCapital = firstLetterCapital;
282
- const capitalized = exports.capitalized = firstLetterCapital;
331
+ const capitalized = firstLetterCapital;
332
+ exports.capitalized = capitalized;
333
+
283
334
  const checkedRef = ref => ref ? typeof ref === "function" ? node => ref(node) : ref : null;
335
+
284
336
  exports.checkedRef = checkedRef;
337
+
285
338
  function downloadEmulation(data, filename) {
286
339
  let type = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "image/*";
287
340
  const file = new Blob([data], {
288
341
  type
289
342
  });
290
- if (window.navigator.msSaveOrOpenBlob)
291
- // IE10+
343
+ if (window.navigator.msSaveOrOpenBlob) // IE10+
292
344
  window.navigator.msSaveOrOpenBlob(file, filename);else {
293
345
  // Others
294
346
  const a = document.createElement("a"),
295
- url = URL.createObjectURL(file);
347
+ url = URL.createObjectURL(file);
296
348
  a.href = url;
297
349
  a.download = filename;
298
350
  document.body.appendChild(a);
@@ -303,6 +355,7 @@ function downloadEmulation(data, filename) {
303
355
  }, 0);
304
356
  }
305
357
  }
358
+
306
359
  const downloadFile = async _ref => {
307
360
  let {
308
361
  url,
@@ -315,19 +368,18 @@ const downloadFile = async _ref => {
315
368
  }));
316
369
  downloadEmulation(response.data, name, response.type);
317
370
  };
371
+
318
372
  exports.downloadFile = downloadFile;
373
+
319
374
  const compare = function (first, second) {
320
375
  let keys = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
321
376
  //? Если типы НЕ равны - не равны априори
322
- if (typeof first !== typeof second) return false;
323
- //? Если ответы на вопрос "массив ли?" не равны, то не равны и типы, значит тоже не равны априори
324
- if (Array.isArray(first) !== Array.isArray(second)) return false;
325
- //? Если прошли if-ку - типы условно равны, можем оценивать тип лишь одного параметра, это будет справедливо и для второго
377
+ if (typeof first !== typeof second) return false; //? Если ответы на вопрос "массив ли?" не равны, то не равны и типы, значит тоже не равны априори
326
378
 
379
+ if (Array.isArray(first) !== Array.isArray(second)) return false; //? Если прошли if-ку - типы условно равны, можем оценивать тип лишь одного параметра, это будет справедливо и для второго
327
380
  //? Если примитивы - просто сравниваем. Кейс с null обработан тут.
328
- if (!(first instanceof Object)) return first === second;
329
381
 
330
- //? Если НЕ приметивы - не важно массив или нет, методы объекта для массива тоже доступны
382
+ if (!(first instanceof Object)) return first === second; //? Если НЕ приметивы - не важно массив или нет, методы объекта для массива тоже доступны
331
383
 
332
384
  const getComparationStructure = data => {
333
385
  if (typeof data === 'function') return data.toString();
@@ -336,16 +388,17 @@ const compare = function (first, second) {
336
388
  let [key, value] = _ref2;
337
389
  return [key, getComparationStructure(data[key])];
338
390
  });
339
- };
391
+ }; //? Получаем структуры для сравнения (с учетом глубины) - массивы массивов, сортируем по ключам,
392
+
340
393
 
341
- //? Получаем структуры для сравнения (с учетом глубины) - массивы массивов, сортируем по ключам,
342
394
  const structureForComparingOfFirst = getComparationStructure(first);
343
395
  const structureForComparingOfSecond = getComparationStructure(second);
344
396
  return JSON.stringify(structureForComparingOfFirst) === JSON.stringify(structureForComparingOfSecond);
345
- };
397
+ }; // Set Carret to the End of Input
398
+
346
399
 
347
- // Set Carret to the End of Input
348
400
  exports.compare = compare;
401
+
349
402
  const setCarretToEnd = input => {
350
403
  setTimeout(() => {
351
404
  const tmp = input.value;
@@ -353,35 +406,47 @@ const setCarretToEnd = input => {
353
406
  input.value = tmp;
354
407
  }, 10);
355
408
  };
409
+
356
410
  exports.setCarretToEnd = setCarretToEnd;
411
+
357
412
  const compareAlphabetical = function (a, b) {
358
413
  var _item, _item2;
414
+
359
415
  let key = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "label";
360
416
  let item1 = a === null || a === void 0 ? void 0 : a[key];
361
417
  let item2 = b === null || b === void 0 ? void 0 : b[key];
362
418
  if (typeof item1 !== "string" || typeof item2 !== "string") return 0;
363
419
  item1 = (_item = item1) === null || _item === void 0 ? void 0 : _item.toLowerCase();
364
420
  item2 = (_item2 = item2) === null || _item2 === void 0 ? void 0 : _item2.toLowerCase();
421
+
365
422
  if (item1 < item2) {
366
423
  return -1;
367
424
  }
425
+
368
426
  if (item1 > item2) {
369
427
  return 1;
370
428
  }
429
+
371
430
  return 0;
372
431
  };
432
+
373
433
  exports.compareAlphabetical = compareAlphabetical;
434
+
374
435
  const getBase64 = file => {
375
436
  if (file) {
376
437
  return new Promise(function (resolve, reject) {
377
438
  const reader = new FileReader();
378
439
  reader.readAsDataURL(file);
440
+
379
441
  reader.onload = () => resolve(reader.result);
442
+
380
443
  reader.onerror = error => reject("Error: ", error);
381
444
  });
382
445
  }
383
446
  };
447
+
384
448
  exports.getBase64 = getBase64;
449
+
385
450
  const renderFileSize = function (bytes) {
386
451
  let decimals = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2;
387
452
  if (!Number(bytes)) return "0 Bytes";
@@ -391,26 +456,30 @@ const renderFileSize = function (bytes) {
391
456
  const i = Math.floor(Math.log(bytes) / Math.log(k));
392
457
  return "".concat(parseFloat((bytes / Math.pow(k, i)).toFixed(dm)), " ").concat(sizes[i]);
393
458
  };
459
+
394
460
  exports.renderFileSize = renderFileSize;
461
+
395
462
  const getUniqueFileExtensions = extListString => {
396
463
  // Split the extensions list into an array
397
- const extArray = extListString === null || extListString === void 0 ? void 0 : extListString.split(",").map(ext => ext.trim().toUpperCase());
464
+ const extArray = extListString === null || extListString === void 0 ? void 0 : extListString.split(",").map(ext => ext.trim().toUpperCase()); // Remove duplicates using a Set
398
465
 
399
- // Remove duplicates using a Set
400
- const uniqueExts = [...new Set(extArray)];
466
+ const uniqueExts = [...new Set(extArray)]; // Join the unique extensions into a string
401
467
 
402
- // Join the unique extensions into a string
403
468
  return uniqueExts.join(", ");
404
469
  };
470
+
405
471
  exports.getUniqueFileExtensions = getUniqueFileExtensions;
472
+
406
473
  const getOS = () => {
407
- var _window$navigator;
474
+ var _window$navigator, _window$navigator$use;
475
+
408
476
  let userAgent = window.navigator.userAgent,
409
- platform = ((_window$navigator = window.navigator) === null || _window$navigator === void 0 || (_window$navigator = _window$navigator.userAgentData) === null || _window$navigator === void 0 ? void 0 : _window$navigator.platform) || window.navigator.platform,
410
- macosPlatforms = ["Macintosh", "MacIntel", "MacPPC", "Mac68K"],
411
- windowsPlatforms = ["Win32", "Win64", "Windows", "WinCE"],
412
- iosPlatforms = ["iPhone", "iPad", "iPod"],
413
- os = _index.OS.Unknown;
477
+ platform = ((_window$navigator = window.navigator) === null || _window$navigator === void 0 ? void 0 : (_window$navigator$use = _window$navigator.userAgentData) === null || _window$navigator$use === void 0 ? void 0 : _window$navigator$use.platform) || window.navigator.platform,
478
+ macosPlatforms = ["Macintosh", "MacIntel", "MacPPC", "Mac68K"],
479
+ windowsPlatforms = ["Win32", "Win64", "Windows", "WinCE"],
480
+ iosPlatforms = ["iPhone", "iPad", "iPod"],
481
+ os = _index.OS.Unknown;
482
+
414
483
  if (macosPlatforms.indexOf(platform) !== -1) {
415
484
  os = _index.OS.MacOS;
416
485
  } else if (iosPlatforms.indexOf(platform) !== -1) {
@@ -422,20 +491,27 @@ const getOS = () => {
422
491
  } else if (/Linux/.test(platform)) {
423
492
  os = _index.OS.Linux;
424
493
  }
494
+
425
495
  return os;
426
496
  };
497
+
427
498
  exports.getOS = getOS;
499
+
428
500
  const disableDefaultBehavior = e => {
429
- e === null || e === void 0 || e.preventDefault();
430
- e === null || e === void 0 || e.stopPropagation();
501
+ e === null || e === void 0 ? void 0 : e.preventDefault();
502
+ e === null || e === void 0 ? void 0 : e.stopPropagation();
431
503
  };
504
+
432
505
  exports.disableDefaultBehavior = disableDefaultBehavior;
506
+
433
507
  String.prototype.longerThan = function (compareWith) {
434
508
  return (this === null || this === void 0 ? void 0 : this.length) > (compareWith === null || compareWith === void 0 ? void 0 : compareWith.length);
435
509
  };
510
+
436
511
  String.prototype.lastIndexEqualsTo = function (index) {
437
512
  return (this === null || this === void 0 ? void 0 : this.length) - 1 === index;
438
513
  };
514
+
439
515
  const getCorrectTestId = _ref3 => {
440
516
  let {
441
517
  testId = "",
@@ -443,4 +519,5 @@ const getCorrectTestId = _ref3 => {
443
519
  } = _ref3;
444
520
  return testId && testId !== undefined ? "".concat(withTier ? "-" : "").concat(testId) : "";
445
521
  };
522
+
446
523
  exports.getCorrectTestId = getCorrectTestId;
@@ -1,14 +1,20 @@
1
1
  "use strict";
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
4
5
  Object.defineProperty(exports, "__esModule", {
5
6
  value: true
6
7
  });
7
8
  exports.AffiliateNetworks = void 0;
9
+
8
10
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
11
+
9
12
  var React = _interopRequireWildcard(require("react"));
10
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
11
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
13
+
14
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
15
+
16
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
17
+
12
18
  const AffiliateNetworks = props => /*#__PURE__*/React.createElement("svg", (0, _extends2.default)({
13
19
  xmlns: "http://www.w3.org/2000/svg",
14
20
  xmlSpace: "preserve",
@@ -28,4 +34,5 @@ const AffiliateNetworks = props => /*#__PURE__*/React.createElement("svg", (0, _
28
34
  stroke: "#9AA0B9",
29
35
  d: "M23 21v-2c0-1.8-1.2-3.4-3-3.9M16 3.1c2.1.5 3.4 2.7 2.9 4.9-.4 1.4-1.5 2.5-2.9 2.9"
30
36
  }));
37
+
31
38
  exports.AffiliateNetworks = AffiliateNetworks;
@@ -1,14 +1,20 @@
1
1
  "use strict";
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
4
5
  Object.defineProperty(exports, "__esModule", {
5
6
  value: true
6
7
  });
7
8
  exports.AlertCircle = void 0;
9
+
8
10
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
11
+
9
12
  var React = _interopRequireWildcard(require("react"));
10
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
11
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
13
+
14
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
15
+
16
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
17
+
12
18
  const AlertCircle = props => /*#__PURE__*/React.createElement("svg", (0, _extends2.default)({
13
19
  xmlns: "http://www.w3.org/2000/svg",
14
20
  xmlSpace: "preserve",
@@ -28,4 +34,5 @@ const AlertCircle = props => /*#__PURE__*/React.createElement("svg", (0, _extend
28
34
  d: "M12 8v4M12 16",
29
35
  className: "st0"
30
36
  }));
37
+
31
38
  exports.AlertCircle = AlertCircle;
@@ -1,14 +1,20 @@
1
1
  "use strict";
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
4
5
  Object.defineProperty(exports, "__esModule", {
5
6
  value: true
6
7
  });
7
8
  exports.AppStore = void 0;
9
+
8
10
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
11
+
9
12
  var React = _interopRequireWildcard(require("react"));
10
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
11
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
13
+
14
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
15
+
16
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
17
+
12
18
  const AppStore = props => /*#__PURE__*/React.createElement("svg", (0, _extends2.default)({
13
19
  xmlns: "http://www.w3.org/2000/svg",
14
20
  xmlnsXlink: "http://www.w3.org/1999/xlink",
@@ -32,4 +38,5 @@ const AppStore = props => /*#__PURE__*/React.createElement("svg", (0, _extends2.
32
38
  width: 260,
33
39
  height: 90
34
40
  })));
41
+
35
42
  exports.AppStore = AppStore;
@@ -1,14 +1,20 @@
1
1
  "use strict";
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
4
5
  Object.defineProperty(exports, "__esModule", {
5
6
  value: true
6
7
  });
7
8
  exports.Arrow = void 0;
9
+
8
10
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
11
+
9
12
  var React = _interopRequireWildcard(require("react"));
10
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
11
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
13
+
14
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
15
+
16
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
17
+
12
18
  const Arrow = props => /*#__PURE__*/React.createElement("svg", (0, _extends2.default)({
13
19
  xmlns: "http://www.w3.org/2000/svg",
14
20
  width: 16,
@@ -38,4 +44,5 @@ const Arrow = props => /*#__PURE__*/React.createElement("svg", (0, _extends2.def
38
44
  fill: "#fff",
39
45
  d: "M-533-86H491v424H-533z"
40
46
  }))));
47
+
41
48
  exports.Arrow = Arrow;