intelicoreact 1.4.76 → 1.4.78

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