@yamato-daiwa/es-extensions 0.6.2 → 0.9.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1016) hide show
  1. package/Distributable/cjs/AJAX/AJAX_Service.js +209 -0
  2. package/Distributable/cjs/AJAX/FetchAPI_Service.js +211 -0
  3. package/Distributable/cjs/AJAX/URI_QueryParametersSerializer.js +2 -0
  4. package/Distributable/cjs/AJAX/serializeURI_QueryParameters.js +17 -0
  5. package/Distributable/cjs/Arrays/00-Creating/createArrayOfNaturalNumbers.js +49 -0
  6. package/Distributable/cjs/Arrays/01-RetrievingOfElements/getArrayElementSatisfiesThePredicateIfSuchElementIsExactlyOne.js +33 -0
  7. package/Distributable/cjs/Arrays/01-RetrievingOfElements/getLastElementOfArray.js +23 -0
  8. package/Distributable/cjs/Arrays/02-RetrievingOfIndexes/getIndexOfArrayElementSatisfiesThePredicateIfSuchElementIsExactlyOne.js +40 -0
  9. package/Distributable/cjs/Arrays/02-RetrievingOfIndexes/getIndexesOfSatisfiesThePredicateArrayElements.js +6 -0
  10. package/Distributable/cjs/Arrays/03-RetrievingOfSubarrays/cropArray.js +208 -0
  11. package/Distributable/cjs/Arrays/04-AddingOfElements/addElementsToArray.js +47 -0
  12. package/Distributable/cjs/Arrays/05-ReplacingOfElements/replaceArrayElementsByIndexesImmutably.js +41 -0
  13. package/Distributable/cjs/Arrays/05-ReplacingOfElements/replaceArrayElementsByPredicates.js +40 -0
  14. package/Distributable/cjs/Arrays/06-PermutationsOfElements/moveArrayElementToOnePosition.js +85 -0
  15. package/Distributable/cjs/Arrays/06-PermutationsOfElements/swapArrayElements.js +147 -0
  16. package/Distributable/cjs/Arrays/07-RemovingOfElements/removeArrayElementsByIndexes.js +59 -0
  17. package/Distributable/cjs/Arrays/07-RemovingOfElements/removeArrayElementsByPredicates.js +29 -0
  18. package/Distributable/cjs/Arrays/08-Restructuring/twoDimensionalizeArray.js +21 -0
  19. package/Distributable/cjs/Arrays/09-Other/addElementsToArrayIfTheyAreNotPresentOtherwiseRemove.js +62 -0
  20. package/Distributable/cjs/Arrays/09-Other/readonlyArrayToMutableOne.js +6 -0
  21. package/Distributable/cjs/ConstantsAndEnumerations/YDEE_BUG_REPORTING_PAGE_URI.js +4 -0
  22. package/Distributable/cjs/DataMocking/DataMocking.js +27 -0
  23. package/Distributable/cjs/DataMocking/MockGatewayHelpler/MockGatewayHelper.js +75 -0
  24. package/Distributable/cjs/DataMocking/MockGatewayHelpler/MockGatewayHelperLocalization.english.js +25 -0
  25. package/Distributable/cjs/DateTime/CalendarBuilder.js +246 -0
  26. package/Distributable/cjs/DateTime/DateWithoutTime.js +235 -0
  27. package/Distributable/cjs/DateTime/TimePoint.js +550 -0
  28. package/Distributable/cjs/DateTime/Timer.js +24 -0
  29. package/Distributable/cjs/DateTime/convert24_HoursFormatTo12_HoursFormat.js +42 -0
  30. package/Distributable/cjs/DateTime/getDaysCountInSpecificMonth.js +8 -0
  31. package/Distributable/cjs/DateTime/getISO8601_StringWithoutTimePart.js +70 -0
  32. package/Distributable/cjs/DateTime/getMonthNameByNumber.js +76 -0
  33. package/Distributable/cjs/DateTime/getMonthNumberByName.js +38 -0
  34. package/Distributable/cjs/DateTime/getNextMonthNumber.js +26 -0
  35. package/Distributable/cjs/DateTime/getPreviousMonthNumber.js +26 -0
  36. package/Distributable/cjs/DateTime/getYearOfNextMonth.js +10 -0
  37. package/Distributable/cjs/DateTime/getYearOfPreviousMonth.js +8 -0
  38. package/Distributable/cjs/DateTime/hasTimeCome.js +6 -0
  39. package/Distributable/cjs/DateTime/isValidNativeDate.js +6 -0
  40. package/Distributable/cjs/DateTime/millisecondsToSeconds.js +6 -0
  41. package/Distributable/cjs/DateTime/secondsToMilliseconds.js +6 -0
  42. package/Distributable/cjs/DefaultValueSubstituters/substituteWhenNull.js +6 -0
  43. package/Distributable/cjs/DefaultValueSubstituters/substituteWhenUndefined.js +6 -0
  44. package/Distributable/cjs/Errors/AlgorithmMismatch/AlgorithmMismatchError.js +16 -0
  45. package/Distributable/cjs/Errors/AlgorithmMismatch/AlgorithmMismatchErrorLocalization.english.js +6 -0
  46. package/Distributable/cjs/Errors/ClassRedundantSubsequentInitialization/ClassRedundantSubsequentInitializationError.js +18 -0
  47. package/Distributable/cjs/Errors/ClassRedundantSubsequentInitialization/ClassRedundantSubsequentInitializationErrorLocalization.english.js +7 -0
  48. package/Distributable/cjs/Errors/ClassRequiredInitializationHasNotBeenExecuted/ClassRequiredInitializationHasNotBeenExecutedError.js +18 -0
  49. package/Distributable/cjs/Errors/ClassRequiredInitializationHasNotBeenExecuted/ClassRequiredInitializationHasNotBeenExecutedErrorLocalization.english.js +8 -0
  50. package/Distributable/cjs/Errors/ConfigFileNotFound/ConfigFileNotFoundError.js +18 -0
  51. package/Distributable/cjs/Errors/ConfigFileNotFound/ConfigFileNotFoundErrorLocalization.english.js +18 -0
  52. package/Distributable/cjs/Errors/CrossBrowserIssue/CrossBrowserIssueError.js +16 -0
  53. package/Distributable/cjs/Errors/CrossBrowserIssue/CrossBrowserIssueErrorLocalization.english.js +6 -0
  54. package/Distributable/cjs/Errors/DOM_ElementRetrievingFailed/DOM_ElementRetrievingFailedError.js +18 -0
  55. package/Distributable/cjs/Errors/DOM_ElementRetrievingFailed/DOM_ElementRetrievingFailedErrorLocalization.english.js +7 -0
  56. package/Distributable/cjs/Errors/DataRetrievingFailed/DataRetrievingFailedError.js +28 -0
  57. package/Distributable/cjs/Errors/DataRetrievingFailed/DataRetrievingFailedErrorLocalization.english.js +10 -0
  58. package/Distributable/cjs/Errors/DataSubmittingFailed/DataSubmittingFailedError.js +28 -0
  59. package/Distributable/cjs/Errors/DataSubmittingFailed/DataSubmittingFailedErrorLocalization.english.js +10 -0
  60. package/Distributable/cjs/Errors/FileReadingFailed/FileReadingFailedError.js +18 -0
  61. package/Distributable/cjs/Errors/FileReadingFailed/FileReadingFailedErrorLocalization.english.js +7 -0
  62. package/Distributable/cjs/Errors/FileWritingFailed/FileWritingFailedError.js +18 -0
  63. package/Distributable/cjs/Errors/FileWritingFailed/FileWritingFailedErrorLocalization.english.js +7 -0
  64. package/Distributable/cjs/Errors/HTTP/ResponseBodyParsingFailure/HTTP_ResponseBodyParsingFailureError.js +16 -0
  65. package/Distributable/cjs/Errors/HTTP/ResponseBodyParsingFailure/HTTP_ResponseBodyParsingFailureErrorLocalization.english.js +6 -0
  66. package/Distributable/cjs/Errors/ImproperUsage/ImproperUsageError.js +16 -0
  67. package/Distributable/cjs/Errors/ImproperUsage/ImproperUsageErrorLocalization.english.js +4 -0
  68. package/Distributable/cjs/Errors/IncompatiblePropertiesInObjectTypeParameter/IncompatiblePropertiesInObjectTypeParameterError.js +21 -0
  69. package/Distributable/cjs/Errors/IncompatiblePropertiesInObjectTypeParameter/IncompatiblePropertiesInObjectTypeParameterErrorLocalization.english.js +8 -0
  70. package/Distributable/cjs/Errors/InterProcessInteractionFailed/InterProcessInteractionFailedError.js +16 -0
  71. package/Distributable/cjs/Errors/InterProcessInteractionFailed/InterProcessInteractionFailedErrorLocalization.english.js +6 -0
  72. package/Distributable/cjs/Errors/InvalidConfig/InvalidConfigError.js +18 -0
  73. package/Distributable/cjs/Errors/InvalidConfig/InvalidConfigErrorLocalization.english.js +12 -0
  74. package/Distributable/cjs/Errors/InvalidExternalData/InvalidExternalDataError.js +18 -0
  75. package/Distributable/cjs/Errors/InvalidExternalData/InvalidExternalDataErrorLocalization.english.js +13 -0
  76. package/Distributable/cjs/Errors/InvalidParameterValue/InvalidParameterValueError.js +18 -0
  77. package/Distributable/cjs/Errors/InvalidParameterValue/InvalidParameterValueErrorLocalization.english.js +12 -0
  78. package/Distributable/cjs/Errors/ModuleDynamicLoadingFailed/ModuleDynamicLoadingFailedError.js +18 -0
  79. package/Distributable/cjs/Errors/ModuleDynamicLoadingFailed/ModuleDynamicLoadingFailedErrorLocalization.english.js +7 -0
  80. package/Distributable/cjs/Errors/UnexpectedEvent/UnexpectedEventError.js +16 -0
  81. package/Distributable/cjs/Errors/UnexpectedEvent/UnexpectedEventErrorLocalization.english.js +6 -0
  82. package/Distributable/cjs/Errors/UnsupportedScenario/UnsupportedScenarioError.js +16 -0
  83. package/Distributable/cjs/Errors/UnsupportedScenario/UnsupportedScenarioErrorLocalization.english.js +6 -0
  84. package/Distributable/cjs/Files/encodeFileToBase64.js +54 -0
  85. package/Distributable/cjs/IDsGenerators/StringTypeID_Generator.js +73 -0
  86. package/Distributable/cjs/Logging/ILogger.js +2 -0
  87. package/Distributable/cjs/Logging/Logger.js +238 -0
  88. package/Distributable/cjs/Logging/LoggerLocalization.english.js +18 -0
  89. package/Distributable/cjs/Logging/Logs.js +2 -0
  90. package/Distributable/cjs/Logging/PoliteErrorsMessagesBuilder/PoliteErrorsMessagesBuilder.js +61 -0
  91. package/Distributable/cjs/Logging/PoliteErrorsMessagesBuilder/PoliteErrorsMessagesBuilderLocalization.english.js +18 -0
  92. package/Distributable/cjs/Maps/addEntriesToMap.js +23 -0
  93. package/Distributable/cjs/Maps/createMapBasedOnOtherMap.js +10 -0
  94. package/Distributable/cjs/Maps/filterMap.js +12 -0
  95. package/Distributable/cjs/Maps/getExpectedToBeNonUndefinedMapValue.js +20 -0
  96. package/Distributable/cjs/Maps/invertMapImmutably.js +6 -0
  97. package/Distributable/cjs/Maps/mergeMaps.js +12 -0
  98. package/Distributable/cjs/Maps/removeEntriesFromMap.js +21 -0
  99. package/Distributable/cjs/Maps/replaceValuesInMap.js +29 -0
  100. package/Distributable/cjs/Numbers/formatNumberWith4_KetaKanji.js +36 -0
  101. package/Distributable/cjs/Numbers/getArithmeticMean.js +8 -0
  102. package/Distributable/cjs/Numbers/isStringifiedNonNegativeIntegerOfRegularNotation.js +6 -0
  103. package/Distributable/cjs/Numbers/limitMaximalValue.js +6 -0
  104. package/Distributable/cjs/Numbers/limitMinimalAndMaximalValues.js +9 -0
  105. package/Distributable/cjs/Numbers/limitMinimalValue.js +6 -0
  106. package/Distributable/cjs/Numbers/roundDownToSpecificIntegerPlaceValue.js +10 -0
  107. package/Distributable/cjs/Numbers/roundToSpecificNearestIntegerPlaceValue.js +10 -0
  108. package/Distributable/cjs/Numbers/roundToSpecifiedNearestDecimalPlaceValue.js +7 -0
  109. package/Distributable/cjs/Numbers/roundUpToSpecificIntegerPlaceValue.js +10 -0
  110. package/Distributable/cjs/Numbers/separateEach3_DigitsGroupWithComma.js +6 -0
  111. package/Distributable/cjs/Numbers/separateEach4_DigitsGroupWithComma.js +6 -0
  112. package/Distributable/cjs/Objects/getObjectPropertySafely.js +56 -0
  113. package/Distributable/cjs/Pagination/PaginationCollection.js +48 -0
  114. package/Distributable/cjs/Pagination/computeFirstItemNumberForSpecificPaginationPage.js +6 -0
  115. package/Distributable/cjs/Pagination/computeLastItemNumberForSpecificPaginationPage.js +7 -0
  116. package/Distributable/cjs/Pagination/getItemsOfPaginationPage.js +40 -0
  117. package/Distributable/cjs/Promises/PromisesQueue.js +81 -0
  118. package/Distributable/cjs/RandomValuesGenerators/getRandomArrayElement.js +13 -0
  119. package/Distributable/cjs/RandomValuesGenerators/getRandomBoolean.js +6 -0
  120. package/Distributable/cjs/RandomValuesGenerators/getRandomInteger.js +16 -0
  121. package/Distributable/cjs/RandomValuesGenerators/getRandomLatinCharacter.js +19 -0
  122. package/Distributable/cjs/RandomValuesGenerators/getRandomObjectPropertyValue.js +10 -0
  123. package/Distributable/cjs/RandomValuesGenerators/getRandomString/getRandomString.js +195 -0
  124. package/Distributable/cjs/RandomValuesGenerators/getRandomString/gettingOfRandomStringLocalization__english.js +27 -0
  125. package/Distributable/cjs/RandomValuesGenerators/getRandomSubarray.js +127 -0
  126. package/Distributable/cjs/RandomValuesGenerators/getSpecificBooleanValueWithProbability.js +6 -0
  127. package/Distributable/cjs/RandomValuesGenerators/removeRandomArrayElement.js +14 -0
  128. package/Distributable/cjs/RawObjectDataProcessor/Helpers/convertPotentialStringToFloatIfPossible.js +15 -0
  129. package/Distributable/cjs/RawObjectDataProcessor/Helpers/convertPotentialStringToIntegerIfPossible.js +14 -0
  130. package/Distributable/cjs/RawObjectDataProcessor/Helpers/convertPotentialStringToNumberIfPossible.js +15 -0
  131. package/Distributable/cjs/RawObjectDataProcessor/Helpers/destringifyBooleanValueIfPossible.js +12 -0
  132. package/Distributable/cjs/RawObjectDataProcessor/RawObjectDataProcessor.js +2455 -0
  133. package/Distributable/cjs/RawObjectDataProcessor/RawObjectDataProcessorLocalization.english.js +373 -0
  134. package/Distributable/cjs/Sets/addElementsToSet.js +10 -0
  135. package/Distributable/cjs/Sets/createSetBasedOnAnyArrayLikeCollection.js +6 -0
  136. package/Distributable/cjs/Sets/createSetBasedOnOtherSet.js +6 -0
  137. package/Distributable/cjs/Sets/getOneElementOfSet.js +22 -0
  138. package/Distributable/cjs/Sets/mergeSets.js +12 -0
  139. package/Distributable/cjs/Sets/removeOneElementOfSet.js +35 -0
  140. package/Distributable/cjs/Sets/removeSetElementsByPredicates.js +21 -0
  141. package/Distributable/cjs/Strings/ArbitraryValueFormatter.js +118 -0
  142. package/Distributable/cjs/Strings/CharactersAssets/EscapeCharacters.js +12 -0
  143. package/Distributable/cjs/Strings/CharactersAssets/SpaceCharacters.js +21 -0
  144. package/Distributable/cjs/Strings/CharactersAssets/SpaceCharactersStringifiedHexCharactersForRegularExpressionWithUnicodeFlag.js +21 -0
  145. package/Distributable/cjs/Strings/CharactersAssets/lowercaseLatinCharacters.js +31 -0
  146. package/Distributable/cjs/Strings/CharactersAssets/stringifiedDigits.js +4 -0
  147. package/Distributable/cjs/Strings/CharactersAssets/uppercaseLatinCharacters.js +31 -0
  148. package/Distributable/cjs/Strings/EmailAddress.js +9 -0
  149. package/Distributable/cjs/Strings/IndentationCoordinator.js +39 -0
  150. package/Distributable/cjs/Strings/LineSeparators/LineSeparators.js +9 -0
  151. package/Distributable/cjs/Strings/LineSeparators/getLineSeparatorType.js +19 -0
  152. package/Distributable/cjs/Strings/RegularExpressions/extractMatchingsWithRegularExpression.js +60 -0
  153. package/Distributable/cjs/Strings/RegularExpressions/getMatchingWithFirstRegularExpressionCapturingGroup.js +49 -0
  154. package/Distributable/cjs/Strings/RegularExpressions/replaceMatchesWithRegularExpressionToDynamicValue.js +36 -0
  155. package/Distributable/cjs/Strings/URI/FilesAndDirectories/FileNameExtensions/appendLastFileNameExtension.js +21 -0
  156. package/Distributable/cjs/Strings/URI/FilesAndDirectories/FileNameExtensions/extractAllFileNameExtensions.js +20 -0
  157. package/Distributable/cjs/Strings/URI/FilesAndDirectories/FileNameExtensions/extractLastExtensionOfFileName.js +26 -0
  158. package/Distributable/cjs/Strings/URI/FilesAndDirectories/FileNameExtensions/removeAllFileNameExtensions.js +23 -0
  159. package/Distributable/cjs/Strings/URI/FilesAndDirectories/FileNameExtensions/removeSpecifiedFileNameExtensionsFromPath.js +42 -0
  160. package/Distributable/cjs/Strings/URI/FilesAndDirectories/Stem/extractFileNameWithoutAnyExtensions.js +28 -0
  161. package/Distributable/cjs/Strings/URI/FilesAndDirectories/extractFileNameWithAllExtensionsFromPath.js +27 -0
  162. package/Distributable/cjs/Strings/URI/FilesAndDirectories/extractFileNameWithoutLastExtension.js +21 -0
  163. package/Distributable/cjs/Strings/URI/Fragment/appendFragmentToURI.js +32 -0
  164. package/Distributable/cjs/Strings/URI/Fragment/getURI_Fragment.js +25 -0
  165. package/Distributable/cjs/Strings/URI/PathSegments/explodeURI_PathToSegments.js +11 -0
  166. package/Distributable/cjs/Strings/URI/PathSegments/replaceLastURI_PathSegment.js +19 -0
  167. package/Distributable/cjs/Strings/URI/generateMailtoURI_Scheme.js +37 -0
  168. package/Distributable/cjs/Strings/URI/getURI_PartWithoutFragment.js +6 -0
  169. package/Distributable/cjs/Strings/URI/removeSpecificSegmentsFromURI_Path.js +19 -0
  170. package/Distributable/cjs/Strings/adjustCharactersCount.js +117 -0
  171. package/Distributable/cjs/Strings/appendCharacterIfItDoesNotPresentInLastPosition.js +7 -0
  172. package/Distributable/cjs/Strings/capitalizeFirstCharacter.js +6 -0
  173. package/Distributable/cjs/Strings/cropString.js +85 -0
  174. package/Distributable/cjs/Strings/explodeCasedPhraseToWords.js +59 -0
  175. package/Distributable/cjs/Strings/explodeStringToLines.js +12 -0
  176. package/Distributable/cjs/Strings/getEnglishAbbreviatedOrdinalNumber.js +11 -0
  177. package/Distributable/cjs/Strings/getLastCharacter.js +6 -0
  178. package/Distributable/cjs/Strings/getPositionsOfAllSubstringOccurrences.js +15 -0
  179. package/Distributable/cjs/Strings/hasStringOnlySpecificCharacters.js +53 -0
  180. package/Distributable/cjs/Strings/insertSubstring.js +12 -0
  181. package/Distributable/cjs/Strings/insertSubstringIf.js +6 -0
  182. package/Distributable/cjs/Strings/isIPv4_AddressLiesInRange.js +105 -0
  183. package/Distributable/cjs/Strings/isStringIncludingAtLeastOneOfSubstrings.js +11 -0
  184. package/Distributable/cjs/Strings/removeAllSpecifiedCharacters.js +13 -0
  185. package/Distributable/cjs/Strings/removeLastCharacter.js +8 -0
  186. package/Distributable/cjs/Strings/removeNonDigitsCharacters.js +9 -0
  187. package/Distributable/cjs/Strings/removeNthCharacter.js +13 -0
  188. package/Distributable/cjs/Strings/removeSpecificCharacterFromCertainPosition.js +31 -0
  189. package/Distributable/cjs/Strings/replace2_OrMoreSpacesTo1.js +6 -0
  190. package/Distributable/cjs/Strings/replaceBrHTML_TagToNewLineEscapeSequence.js +6 -0
  191. package/Distributable/cjs/Strings/replaceDoubleBackslashesWithForwardSlashes.js +6 -0
  192. package/Distributable/cjs/Strings/reverseString.js +8 -0
  193. package/Distributable/cjs/Strings/splitString.js +9 -0
  194. package/Distributable/cjs/Strings/surroundLabelByOrnament.js +19 -0
  195. package/Distributable/cjs/Strings/toLowerCamelCase.js +35 -0
  196. package/Distributable/cjs/Strings/toScreamingSnakeCase.js +26 -0
  197. package/Distributable/cjs/Strings/toUpperCamelCase.js +25 -0
  198. package/Distributable/cjs/Strings/trimSpaces.js +34 -0
  199. package/Distributable/cjs/TypeGuards/Arrays/isArrayOfCertainTypeElements.js +14 -0
  200. package/Distributable/cjs/TypeGuards/Arrays/isArrayOfLength.js +30 -0
  201. package/Distributable/cjs/TypeGuards/Arrays/isEmptyArray.js +6 -0
  202. package/Distributable/cjs/TypeGuards/Arrays/isNonEmptyArray.js +9 -0
  203. package/Distributable/cjs/TypeGuards/EmptyTypes/isEitherUndefinedOrNull.js +6 -0
  204. package/Distributable/cjs/TypeGuards/EmptyTypes/isNeitherUndefinedNorNull.js +6 -0
  205. package/Distributable/cjs/TypeGuards/EmptyTypes/isNotNull.js +6 -0
  206. package/Distributable/cjs/TypeGuards/EmptyTypes/isNotUndefined.js +6 -0
  207. package/Distributable/cjs/TypeGuards/EmptyTypes/isNull.js +6 -0
  208. package/Distributable/cjs/TypeGuards/EmptyTypes/isUndefined.js +6 -0
  209. package/Distributable/cjs/TypeGuards/Numbers/isBigInt.js +6 -0
  210. package/Distributable/cjs/TypeGuards/Numbers/isDecimalFractionOfAnySign.js +9 -0
  211. package/Distributable/cjs/TypeGuards/Numbers/isIntegerOfAnySign.js +6 -0
  212. package/Distributable/cjs/TypeGuards/Numbers/isNaturalNumber.js +9 -0
  213. package/Distributable/cjs/TypeGuards/Numbers/isNaturalNumberOrZero.js +9 -0
  214. package/Distributable/cjs/TypeGuards/Numbers/isNegativeDecimalFraction.js +8 -0
  215. package/Distributable/cjs/TypeGuards/Numbers/isNegativeInteger.js +9 -0
  216. package/Distributable/cjs/TypeGuards/Numbers/isNegativeIntegerOrZero.js +9 -0
  217. package/Distributable/cjs/TypeGuards/Numbers/isNumber.js +9 -0
  218. package/Distributable/cjs/TypeGuards/Numbers/isPositiveDecimalFraction.js +8 -0
  219. package/Distributable/cjs/TypeGuards/Numbers/isPositiveIntegerOrZero.js +9 -0
  220. package/Distributable/cjs/TypeGuards/Objects/isArbitraryObject.js +6 -0
  221. package/Distributable/cjs/TypeGuards/Objects/isEmptyObject.js +9 -0
  222. package/Distributable/cjs/TypeGuards/Objects/isNonEmptyArbitraryObject.js +6 -0
  223. package/Distributable/cjs/TypeGuards/Objects/isNonEmptyObject.js +9 -0
  224. package/Distributable/cjs/TypeGuards/Objects/isNonNullObject.js +6 -0
  225. package/Distributable/cjs/TypeGuards/ParsedJSON/isPossiblyReadonlyParsedJSON.js +6 -0
  226. package/Distributable/cjs/TypeGuards/ParsedJSON/isPossiblyReadonlyParsedJSON_Object.js +6 -0
  227. package/Distributable/cjs/TypeGuards/Strings/areStringifiedDigitsOnly.js +6 -0
  228. package/Distributable/cjs/TypeGuards/Strings/isEmptyString.js +6 -0
  229. package/Distributable/cjs/TypeGuards/Strings/isNonEmptyString.js +6 -0
  230. package/Distributable/cjs/TypeGuards/Strings/isString.js +6 -0
  231. package/Distributable/cjs/TypeGuards/Strings/isStringOfLength.js +30 -0
  232. package/Distributable/cjs/TypeGuards/isBoolean.js +6 -0
  233. package/Distributable/cjs/TypeGuards/isElementOfEnumeration.js +11 -0
  234. package/Distributable/cjs/TypeGuards/isFunctionLike.js +6 -0
  235. package/Distributable/cjs/Types/ArbitraryObject.js +2 -0
  236. package/Distributable/cjs/Types/ElementOfPseudoEnumeration.js +2 -0
  237. package/Distributable/cjs/Types/InheritEnumerationKeys.js +2 -0
  238. package/Distributable/cjs/Types/ParsedJSON.js +2 -0
  239. package/Distributable/cjs/Types/PartialBy.js +2 -0
  240. package/Distributable/cjs/ValueTransformers/emptyStringToNull.js +6 -0
  241. package/Distributable/cjs/ValueTransformers/emptyStringToTrue.js +6 -0
  242. package/Distributable/cjs/ValueTransformers/emptyStringToUndefined.js +6 -0
  243. package/Distributable/cjs/ValueTransformers/nullToEmptyString.js +6 -0
  244. package/Distributable/cjs/ValueTransformers/nullToUndefined.js +6 -0
  245. package/Distributable/cjs/ValueTransformers/nullToZero.js +6 -0
  246. package/Distributable/cjs/ValueTransformers/undefinedToEmptyArray.js +6 -0
  247. package/Distributable/cjs/ValueTransformers/undefinedToEmptyString.js +6 -0
  248. package/Distributable/cjs/ValueTransformers/undefinedToFalse.js +6 -0
  249. package/Distributable/cjs/ValueTransformers/undefinedToNull.js +6 -0
  250. package/Distributable/cjs/ValuesDeepCopier.js +52 -0
  251. package/Distributable/cjs/index.js +532 -0
  252. package/Distributable/esm/AJAX/AJAX_Service.d.ts +146 -0
  253. package/Distributable/esm/AJAX/AJAX_Service.js +204 -0
  254. package/Distributable/esm/AJAX/FetchAPI_Service.d.ts +13 -0
  255. package/Distributable/esm/AJAX/FetchAPI_Service.js +205 -0
  256. package/Distributable/esm/AJAX/URI_QueryParametersSerializer.d.ts +3 -0
  257. package/Distributable/esm/AJAX/URI_QueryParametersSerializer.js +1 -0
  258. package/Distributable/esm/AJAX/serializeURI_QueryParameters.d.ts +3 -0
  259. package/Distributable/esm/AJAX/serializeURI_QueryParameters.js +12 -0
  260. package/Distributable/esm/Arrays/00-Creating/createArrayOfNaturalNumbers.d.ts +5 -0
  261. package/Distributable/esm/Arrays/00-Creating/createArrayOfNaturalNumbers.js +43 -0
  262. package/Distributable/esm/Arrays/01-RetrievingOfElements/getArrayElementSatisfiesThePredicateIfSuchElementIsExactlyOne.d.ts +4 -0
  263. package/Distributable/esm/Arrays/01-RetrievingOfElements/getArrayElementSatisfiesThePredicateIfSuchElementIsExactlyOne.js +27 -0
  264. package/Distributable/esm/Arrays/01-RetrievingOfElements/getLastElementOfArray.d.ts +4 -0
  265. package/Distributable/esm/Arrays/01-RetrievingOfElements/getLastElementOfArray.js +17 -0
  266. package/Distributable/esm/Arrays/02-RetrievingOfIndexes/getIndexOfArrayElementSatisfiesThePredicateIfSuchElementIsExactlyOne.d.ts +4 -0
  267. package/Distributable/esm/Arrays/02-RetrievingOfIndexes/getIndexOfArrayElementSatisfiesThePredicateIfSuchElementIsExactlyOne.js +34 -0
  268. package/Distributable/esm/Arrays/02-RetrievingOfIndexes/getIndexesOfSatisfiesThePredicateArrayElements.d.ts +1 -0
  269. package/Distributable/esm/Arrays/02-RetrievingOfIndexes/getIndexesOfSatisfiesThePredicateArrayElements.js +3 -0
  270. package/Distributable/esm/Arrays/03-RetrievingOfSubarrays/cropArray.d.ts +123 -0
  271. package/Distributable/esm/Arrays/03-RetrievingOfSubarrays/cropArray.js +202 -0
  272. package/Distributable/esm/Arrays/04-AddingOfElements/addElementsToArray.d.ts +29 -0
  273. package/Distributable/esm/Arrays/04-AddingOfElements/addElementsToArray.js +41 -0
  274. package/Distributable/esm/Arrays/05-ReplacingOfElements/replaceArrayElementsByIndexesImmutably.d.ts +14 -0
  275. package/Distributable/esm/Arrays/05-ReplacingOfElements/replaceArrayElementsByIndexesImmutably.js +35 -0
  276. package/Distributable/esm/Arrays/05-ReplacingOfElements/replaceArrayElementsByPredicates.d.ts +23 -0
  277. package/Distributable/esm/Arrays/05-ReplacingOfElements/replaceArrayElementsByPredicates.js +34 -0
  278. package/Distributable/esm/Arrays/06-PermutationsOfElements/moveArrayElementToOnePosition.d.ts +19 -0
  279. package/Distributable/esm/Arrays/06-PermutationsOfElements/moveArrayElementToOnePosition.js +79 -0
  280. package/Distributable/esm/Arrays/06-PermutationsOfElements/swapArrayElements.d.ts +61 -0
  281. package/Distributable/esm/Arrays/06-PermutationsOfElements/swapArrayElements.js +141 -0
  282. package/Distributable/esm/Arrays/07-RemovingOfElements/removeArrayElementsByIndexes.d.ts +15 -0
  283. package/Distributable/esm/Arrays/07-RemovingOfElements/removeArrayElementsByIndexes.js +53 -0
  284. package/Distributable/esm/Arrays/07-RemovingOfElements/removeArrayElementsByPredicates.d.ts +18 -0
  285. package/Distributable/esm/Arrays/07-RemovingOfElements/removeArrayElementsByPredicates.js +23 -0
  286. package/Distributable/esm/Arrays/08-Restructuring/twoDimensionalizeArray.d.ts +4 -0
  287. package/Distributable/esm/Arrays/08-Restructuring/twoDimensionalizeArray.js +18 -0
  288. package/Distributable/esm/Arrays/09-Other/addElementsToArrayIfTheyAreNotPresentOtherwiseRemove.d.ts +64 -0
  289. package/Distributable/esm/Arrays/09-Other/addElementsToArrayIfTheyAreNotPresentOtherwiseRemove.js +56 -0
  290. package/Distributable/esm/Arrays/09-Other/readonlyArrayToMutableOne.d.ts +1 -0
  291. package/Distributable/esm/Arrays/09-Other/readonlyArrayToMutableOne.js +3 -0
  292. package/Distributable/esm/ConstantsAndEnumerations/YDEE_BUG_REPORTING_PAGE_URI.d.ts +2 -0
  293. package/Distributable/esm/ConstantsAndEnumerations/YDEE_BUG_REPORTING_PAGE_URI.js +2 -0
  294. package/Distributable/esm/DataMocking/DataMocking.d.ts +15 -0
  295. package/Distributable/esm/DataMocking/DataMocking.js +22 -0
  296. package/Distributable/esm/DataMocking/MockGatewayHelpler/MockGatewayHelper.d.ts +58 -0
  297. package/Distributable/esm/DataMocking/MockGatewayHelpler/MockGatewayHelper.js +70 -0
  298. package/Distributable/esm/DataMocking/MockGatewayHelpler/MockGatewayHelperLocalization.english.d.ts +3 -0
  299. package/Distributable/esm/DataMocking/MockGatewayHelpler/MockGatewayHelperLocalization.english.js +20 -0
  300. package/Distributable/esm/DateTime/CalendarBuilder.d.ts +45 -0
  301. package/Distributable/esm/DateTime/CalendarBuilder.js +241 -0
  302. package/Distributable/esm/DateTime/DateWithoutTime.d.ts +71 -0
  303. package/Distributable/esm/DateTime/DateWithoutTime.js +230 -0
  304. package/Distributable/esm/DateTime/TimePoint.d.ts +149 -0
  305. package/Distributable/esm/DateTime/TimePoint.js +545 -0
  306. package/Distributable/esm/DateTime/Timer.d.ts +33 -0
  307. package/Distributable/esm/DateTime/Timer.js +22 -0
  308. package/Distributable/esm/DateTime/convert24_HoursFormatTo12_HoursFormat.d.ts +8 -0
  309. package/Distributable/esm/DateTime/convert24_HoursFormatTo12_HoursFormat.js +36 -0
  310. package/Distributable/esm/DateTime/getDaysCountInSpecificMonth.d.ts +7 -0
  311. package/Distributable/esm/DateTime/getDaysCountInSpecificMonth.js +5 -0
  312. package/Distributable/esm/DateTime/getISO8601_StringWithoutTimePart.d.ts +19 -0
  313. package/Distributable/esm/DateTime/getISO8601_StringWithoutTimePart.js +64 -0
  314. package/Distributable/esm/DateTime/getMonthNameByNumber.d.ts +5 -0
  315. package/Distributable/esm/DateTime/getMonthNameByNumber.js +70 -0
  316. package/Distributable/esm/DateTime/getMonthNumberByName.d.ts +5 -0
  317. package/Distributable/esm/DateTime/getMonthNumberByName.js +32 -0
  318. package/Distributable/esm/DateTime/getNextMonthNumber.d.ts +10 -0
  319. package/Distributable/esm/DateTime/getNextMonthNumber.js +20 -0
  320. package/Distributable/esm/DateTime/getPreviousMonthNumber.d.ts +10 -0
  321. package/Distributable/esm/DateTime/getPreviousMonthNumber.js +20 -0
  322. package/Distributable/esm/DateTime/getYearOfNextMonth.d.ts +7 -0
  323. package/Distributable/esm/DateTime/getYearOfNextMonth.js +7 -0
  324. package/Distributable/esm/DateTime/getYearOfPreviousMonth.d.ts +7 -0
  325. package/Distributable/esm/DateTime/getYearOfPreviousMonth.js +5 -0
  326. package/Distributable/esm/DateTime/hasTimeCome.d.ts +1 -0
  327. package/Distributable/esm/DateTime/hasTimeCome.js +3 -0
  328. package/Distributable/esm/DateTime/isValidNativeDate.d.ts +1 -0
  329. package/Distributable/esm/DateTime/isValidNativeDate.js +3 -0
  330. package/Distributable/esm/DateTime/millisecondsToSeconds.d.ts +1 -0
  331. package/Distributable/esm/DateTime/millisecondsToSeconds.js +3 -0
  332. package/Distributable/esm/DateTime/secondsToMilliseconds.d.ts +1 -0
  333. package/Distributable/esm/DateTime/secondsToMilliseconds.js +3 -0
  334. package/Distributable/esm/DefaultValueSubstituters/substituteWhenNull.d.ts +1 -0
  335. package/Distributable/esm/DefaultValueSubstituters/substituteWhenNull.js +3 -0
  336. package/Distributable/esm/DefaultValueSubstituters/substituteWhenUndefined.d.ts +1 -0
  337. package/Distributable/esm/DefaultValueSubstituters/substituteWhenUndefined.js +3 -0
  338. package/Distributable/esm/Errors/AlgorithmMismatch/AlgorithmMismatchError.d.ts +11 -0
  339. package/Distributable/esm/Errors/AlgorithmMismatch/AlgorithmMismatchError.js +11 -0
  340. package/Distributable/esm/Errors/AlgorithmMismatch/AlgorithmMismatchErrorLocalization.english.d.ts +3 -0
  341. package/Distributable/esm/Errors/AlgorithmMismatch/AlgorithmMismatchErrorLocalization.english.js +4 -0
  342. package/Distributable/esm/Errors/ClassRedundantSubsequentInitialization/ClassRedundantSubsequentInitializationError.d.ts +22 -0
  343. package/Distributable/esm/Errors/ClassRedundantSubsequentInitialization/ClassRedundantSubsequentInitializationError.js +13 -0
  344. package/Distributable/esm/Errors/ClassRedundantSubsequentInitialization/ClassRedundantSubsequentInitializationErrorLocalization.english.d.ts +3 -0
  345. package/Distributable/esm/Errors/ClassRedundantSubsequentInitialization/ClassRedundantSubsequentInitializationErrorLocalization.english.js +5 -0
  346. package/Distributable/esm/Errors/ClassRequiredInitializationHasNotBeenExecuted/ClassRequiredInitializationHasNotBeenExecutedError.d.ts +21 -0
  347. package/Distributable/esm/Errors/ClassRequiredInitializationHasNotBeenExecuted/ClassRequiredInitializationHasNotBeenExecutedError.js +13 -0
  348. package/Distributable/esm/Errors/ClassRequiredInitializationHasNotBeenExecuted/ClassRequiredInitializationHasNotBeenExecutedErrorLocalization.english.d.ts +3 -0
  349. package/Distributable/esm/Errors/ClassRequiredInitializationHasNotBeenExecuted/ClassRequiredInitializationHasNotBeenExecutedErrorLocalization.english.js +6 -0
  350. package/Distributable/esm/Errors/ConfigFileNotFound/ConfigFileNotFoundError.d.ts +22 -0
  351. package/Distributable/esm/Errors/ConfigFileNotFound/ConfigFileNotFoundError.js +13 -0
  352. package/Distributable/esm/Errors/ConfigFileNotFound/ConfigFileNotFoundErrorLocalization.english.d.ts +3 -0
  353. package/Distributable/esm/Errors/ConfigFileNotFound/ConfigFileNotFoundErrorLocalization.english.js +13 -0
  354. package/Distributable/esm/Errors/CrossBrowserIssue/CrossBrowserIssueError.d.ts +11 -0
  355. package/Distributable/esm/Errors/CrossBrowserIssue/CrossBrowserIssueError.js +11 -0
  356. package/Distributable/esm/Errors/CrossBrowserIssue/CrossBrowserIssueErrorLocalization.english.d.ts +3 -0
  357. package/Distributable/esm/Errors/CrossBrowserIssue/CrossBrowserIssueErrorLocalization.english.js +4 -0
  358. package/Distributable/esm/Errors/DOM_ElementRetrievingFailed/DOM_ElementRetrievingFailedError.d.ts +20 -0
  359. package/Distributable/esm/Errors/DOM_ElementRetrievingFailed/DOM_ElementRetrievingFailedError.js +13 -0
  360. package/Distributable/esm/Errors/DOM_ElementRetrievingFailed/DOM_ElementRetrievingFailedErrorLocalization.english.d.ts +3 -0
  361. package/Distributable/esm/Errors/DOM_ElementRetrievingFailed/DOM_ElementRetrievingFailedErrorLocalization.english.js +5 -0
  362. package/Distributable/esm/Errors/DataRetrievingFailed/DataRetrievingFailedError.d.ts +25 -0
  363. package/Distributable/esm/Errors/DataRetrievingFailed/DataRetrievingFailedError.js +23 -0
  364. package/Distributable/esm/Errors/DataRetrievingFailed/DataRetrievingFailedErrorLocalization.english.d.ts +3 -0
  365. package/Distributable/esm/Errors/DataRetrievingFailed/DataRetrievingFailedErrorLocalization.english.js +8 -0
  366. package/Distributable/esm/Errors/DataSubmittingFailed/DataSubmittingFailedError.d.ts +25 -0
  367. package/Distributable/esm/Errors/DataSubmittingFailed/DataSubmittingFailedError.js +23 -0
  368. package/Distributable/esm/Errors/DataSubmittingFailed/DataSubmittingFailedErrorLocalization.english.d.ts +3 -0
  369. package/Distributable/esm/Errors/DataSubmittingFailed/DataSubmittingFailedErrorLocalization.english.js +8 -0
  370. package/Distributable/esm/Errors/FileReadingFailed/FileReadingFailedError.d.ts +20 -0
  371. package/Distributable/esm/Errors/FileReadingFailed/FileReadingFailedError.js +13 -0
  372. package/Distributable/esm/Errors/FileReadingFailed/FileReadingFailedErrorLocalization.english.d.ts +3 -0
  373. package/Distributable/esm/Errors/FileReadingFailed/FileReadingFailedErrorLocalization.english.js +5 -0
  374. package/Distributable/esm/Errors/FileWritingFailed/FileWritingFailedError.d.ts +20 -0
  375. package/Distributable/esm/Errors/FileWritingFailed/FileWritingFailedError.js +13 -0
  376. package/Distributable/esm/Errors/FileWritingFailed/FileWritingFailedErrorLocalization.english.d.ts +3 -0
  377. package/Distributable/esm/Errors/FileWritingFailed/FileWritingFailedErrorLocalization.english.js +5 -0
  378. package/Distributable/esm/Errors/HTTP/ResponseBodyParsingFailure/HTTP_ResponseBodyParsingFailureError.d.ts +11 -0
  379. package/Distributable/esm/Errors/HTTP/ResponseBodyParsingFailure/HTTP_ResponseBodyParsingFailureError.js +11 -0
  380. package/Distributable/esm/Errors/HTTP/ResponseBodyParsingFailure/HTTP_ResponseBodyParsingFailureErrorLocalization.english.d.ts +3 -0
  381. package/Distributable/esm/Errors/HTTP/ResponseBodyParsingFailure/HTTP_ResponseBodyParsingFailureErrorLocalization.english.js +4 -0
  382. package/Distributable/esm/Errors/ImproperUsage/ImproperUsageError.d.ts +11 -0
  383. package/Distributable/esm/Errors/ImproperUsage/ImproperUsageError.js +11 -0
  384. package/Distributable/esm/Errors/ImproperUsage/ImproperUsageErrorLocalization.english.d.ts +3 -0
  385. package/Distributable/esm/Errors/ImproperUsage/ImproperUsageErrorLocalization.english.js +2 -0
  386. package/Distributable/esm/Errors/IncompatiblePropertiesInObjectTypeParameter/IncompatiblePropertiesInObjectTypeParameterError.d.ts +22 -0
  387. package/Distributable/esm/Errors/IncompatiblePropertiesInObjectTypeParameter/IncompatiblePropertiesInObjectTypeParameterError.js +16 -0
  388. package/Distributable/esm/Errors/IncompatiblePropertiesInObjectTypeParameter/IncompatiblePropertiesInObjectTypeParameterErrorLocalization.english.d.ts +3 -0
  389. package/Distributable/esm/Errors/IncompatiblePropertiesInObjectTypeParameter/IncompatiblePropertiesInObjectTypeParameterErrorLocalization.english.js +6 -0
  390. package/Distributable/esm/Errors/InterProcessInteractionFailed/InterProcessInteractionFailedError.d.ts +11 -0
  391. package/Distributable/esm/Errors/InterProcessInteractionFailed/InterProcessInteractionFailedError.js +11 -0
  392. package/Distributable/esm/Errors/InterProcessInteractionFailed/InterProcessInteractionFailedErrorLocalization.english.d.ts +3 -0
  393. package/Distributable/esm/Errors/InterProcessInteractionFailed/InterProcessInteractionFailedErrorLocalization.english.js +4 -0
  394. package/Distributable/esm/Errors/InvalidConfig/InvalidConfigError.d.ts +21 -0
  395. package/Distributable/esm/Errors/InvalidConfig/InvalidConfigError.js +13 -0
  396. package/Distributable/esm/Errors/InvalidConfig/InvalidConfigErrorLocalization.english.d.ts +3 -0
  397. package/Distributable/esm/Errors/InvalidConfig/InvalidConfigErrorLocalization.english.js +7 -0
  398. package/Distributable/esm/Errors/InvalidExternalData/InvalidExternalDataError.d.ts +21 -0
  399. package/Distributable/esm/Errors/InvalidExternalData/InvalidExternalDataError.js +13 -0
  400. package/Distributable/esm/Errors/InvalidExternalData/InvalidExternalDataErrorLocalization.english.d.ts +3 -0
  401. package/Distributable/esm/Errors/InvalidExternalData/InvalidExternalDataErrorLocalization.english.js +7 -0
  402. package/Distributable/esm/Errors/InvalidParameterValue/InvalidParameterValueError.d.ts +22 -0
  403. package/Distributable/esm/Errors/InvalidParameterValue/InvalidParameterValueError.js +13 -0
  404. package/Distributable/esm/Errors/InvalidParameterValue/InvalidParameterValueErrorLocalization.english.d.ts +3 -0
  405. package/Distributable/esm/Errors/InvalidParameterValue/InvalidParameterValueErrorLocalization.english.js +7 -0
  406. package/Distributable/esm/Errors/ModuleDynamicLoadingFailed/ModuleDynamicLoadingFailedError.d.ts +20 -0
  407. package/Distributable/esm/Errors/ModuleDynamicLoadingFailed/ModuleDynamicLoadingFailedError.js +13 -0
  408. package/Distributable/esm/Errors/ModuleDynamicLoadingFailed/ModuleDynamicLoadingFailedErrorLocalization.english.d.ts +3 -0
  409. package/Distributable/esm/Errors/ModuleDynamicLoadingFailed/ModuleDynamicLoadingFailedErrorLocalization.english.js +5 -0
  410. package/Distributable/esm/Errors/UnexpectedEvent/UnexpectedEventError.d.ts +11 -0
  411. package/Distributable/esm/Errors/UnexpectedEvent/UnexpectedEventError.js +11 -0
  412. package/Distributable/esm/Errors/UnexpectedEvent/UnexpectedEventErrorLocalization.english.d.ts +3 -0
  413. package/Distributable/esm/Errors/UnexpectedEvent/UnexpectedEventErrorLocalization.english.js +4 -0
  414. package/Distributable/esm/Errors/UnsupportedScenario/UnsupportedScenarioError.d.ts +11 -0
  415. package/Distributable/esm/Errors/UnsupportedScenario/UnsupportedScenarioError.js +11 -0
  416. package/Distributable/esm/Errors/UnsupportedScenario/UnsupportedScenarioErrorLocalization.english.d.ts +3 -0
  417. package/Distributable/esm/Errors/UnsupportedScenario/UnsupportedScenarioErrorLocalization.english.js +4 -0
  418. package/Distributable/esm/Files/encodeFileToBase64.d.ts +1 -0
  419. package/Distributable/esm/Files/encodeFileToBase64.js +48 -0
  420. package/Distributable/esm/IDsGenerators/StringTypeID_Generator.d.ts +38 -0
  421. package/Distributable/esm/IDsGenerators/StringTypeID_Generator.js +68 -0
  422. package/Distributable/esm/Logging/ILogger.d.ts +21 -0
  423. package/Distributable/esm/Logging/ILogger.js +1 -0
  424. package/Distributable/esm/Logging/Logger.d.ts +42 -0
  425. package/Distributable/esm/Logging/Logger.js +233 -0
  426. package/Distributable/esm/Logging/LoggerLocalization.english.d.ts +3 -0
  427. package/Distributable/esm/Logging/LoggerLocalization.english.js +16 -0
  428. package/Distributable/esm/Logging/Logs.d.ts +29 -0
  429. package/Distributable/esm/Logging/Logs.js +1 -0
  430. package/Distributable/esm/Logging/PoliteErrorsMessagesBuilder/PoliteErrorsMessagesBuilder.d.ts +34 -0
  431. package/Distributable/esm/Logging/PoliteErrorsMessagesBuilder/PoliteErrorsMessagesBuilder.js +56 -0
  432. package/Distributable/esm/Logging/PoliteErrorsMessagesBuilder/PoliteErrorsMessagesBuilderLocalization.english.d.ts +3 -0
  433. package/Distributable/esm/Logging/PoliteErrorsMessagesBuilder/PoliteErrorsMessagesBuilderLocalization.english.js +16 -0
  434. package/Distributable/esm/Maps/addEntriesToMap.d.ts +12 -0
  435. package/Distributable/esm/Maps/addEntriesToMap.js +20 -0
  436. package/Distributable/esm/Maps/createMapBasedOnOtherMap.d.ts +1 -0
  437. package/Distributable/esm/Maps/createMapBasedOnOtherMap.js +7 -0
  438. package/Distributable/esm/Maps/filterMap.d.ts +1 -0
  439. package/Distributable/esm/Maps/filterMap.js +9 -0
  440. package/Distributable/esm/Maps/getExpectedToBeNonUndefinedMapValue.d.ts +1 -0
  441. package/Distributable/esm/Maps/getExpectedToBeNonUndefinedMapValue.js +14 -0
  442. package/Distributable/esm/Maps/invertMapImmutably.d.ts +1 -0
  443. package/Distributable/esm/Maps/invertMapImmutably.js +3 -0
  444. package/Distributable/esm/Maps/mergeMaps.d.ts +1 -0
  445. package/Distributable/esm/Maps/mergeMaps.js +9 -0
  446. package/Distributable/esm/Maps/removeEntriesFromMap.d.ts +17 -0
  447. package/Distributable/esm/Maps/removeEntriesFromMap.js +18 -0
  448. package/Distributable/esm/Maps/replaceValuesInMap.d.ts +18 -0
  449. package/Distributable/esm/Maps/replaceValuesInMap.js +26 -0
  450. package/Distributable/esm/Numbers/formatNumberWith4_KetaKanji.d.ts +1 -0
  451. package/Distributable/esm/Numbers/formatNumberWith4_KetaKanji.js +30 -0
  452. package/Distributable/esm/Numbers/getArithmeticMean.d.ts +1 -0
  453. package/Distributable/esm/Numbers/getArithmeticMean.js +5 -0
  454. package/Distributable/esm/Numbers/isStringifiedNonNegativeIntegerOfRegularNotation.d.ts +1 -0
  455. package/Distributable/esm/Numbers/isStringifiedNonNegativeIntegerOfRegularNotation.js +3 -0
  456. package/Distributable/esm/Numbers/limitMaximalValue.d.ts +4 -0
  457. package/Distributable/esm/Numbers/limitMaximalValue.js +3 -0
  458. package/Distributable/esm/Numbers/limitMinimalAndMaximalValues.d.ts +5 -0
  459. package/Distributable/esm/Numbers/limitMinimalAndMaximalValues.js +6 -0
  460. package/Distributable/esm/Numbers/limitMinimalValue.d.ts +4 -0
  461. package/Distributable/esm/Numbers/limitMinimalValue.js +3 -0
  462. package/Distributable/esm/Numbers/roundDownToSpecificIntegerPlaceValue.d.ts +4 -0
  463. package/Distributable/esm/Numbers/roundDownToSpecificIntegerPlaceValue.js +7 -0
  464. package/Distributable/esm/Numbers/roundToSpecificNearestIntegerPlaceValue.d.ts +4 -0
  465. package/Distributable/esm/Numbers/roundToSpecificNearestIntegerPlaceValue.js +7 -0
  466. package/Distributable/esm/Numbers/roundToSpecifiedNearestDecimalPlaceValue.d.ts +4 -0
  467. package/Distributable/esm/Numbers/roundToSpecifiedNearestDecimalPlaceValue.js +4 -0
  468. package/Distributable/esm/Numbers/roundUpToSpecificIntegerPlaceValue.d.ts +4 -0
  469. package/Distributable/esm/Numbers/roundUpToSpecificIntegerPlaceValue.js +7 -0
  470. package/Distributable/esm/Numbers/separateEach3_DigitsGroupWithComma.d.ts +1 -0
  471. package/Distributable/esm/Numbers/separateEach3_DigitsGroupWithComma.js +3 -0
  472. package/Distributable/esm/Numbers/separateEach4_DigitsGroupWithComma.d.ts +1 -0
  473. package/Distributable/esm/Numbers/separateEach4_DigitsGroupWithComma.js +3 -0
  474. package/Distributable/esm/Objects/getObjectPropertySafely.d.ts +1 -0
  475. package/Distributable/esm/Objects/getObjectPropertySafely.js +50 -0
  476. package/Distributable/esm/Pagination/PaginationCollection.d.ts +16 -0
  477. package/Distributable/esm/Pagination/PaginationCollection.js +43 -0
  478. package/Distributable/esm/Pagination/computeFirstItemNumberForSpecificPaginationPage.d.ts +4 -0
  479. package/Distributable/esm/Pagination/computeFirstItemNumberForSpecificPaginationPage.js +3 -0
  480. package/Distributable/esm/Pagination/computeLastItemNumberForSpecificPaginationPage.d.ts +5 -0
  481. package/Distributable/esm/Pagination/computeLastItemNumberForSpecificPaginationPage.js +4 -0
  482. package/Distributable/esm/Pagination/getItemsOfPaginationPage.d.ts +10 -0
  483. package/Distributable/esm/Pagination/getItemsOfPaginationPage.js +34 -0
  484. package/Distributable/esm/Promises/PromisesQueue.d.ts +23 -0
  485. package/Distributable/esm/Promises/PromisesQueue.js +76 -0
  486. package/Distributable/esm/RandomValuesGenerators/getRandomArrayElement.d.ts +1 -0
  487. package/Distributable/esm/RandomValuesGenerators/getRandomArrayElement.js +7 -0
  488. package/Distributable/esm/RandomValuesGenerators/getRandomBoolean.d.ts +1 -0
  489. package/Distributable/esm/RandomValuesGenerators/getRandomBoolean.js +3 -0
  490. package/Distributable/esm/RandomValuesGenerators/getRandomInteger.d.ts +4 -0
  491. package/Distributable/esm/RandomValuesGenerators/getRandomInteger.js +13 -0
  492. package/Distributable/esm/RandomValuesGenerators/getRandomLatinCharacter.d.ts +4 -0
  493. package/Distributable/esm/RandomValuesGenerators/getRandomLatinCharacter.js +13 -0
  494. package/Distributable/esm/RandomValuesGenerators/getRandomObjectPropertyValue.d.ts +3 -0
  495. package/Distributable/esm/RandomValuesGenerators/getRandomObjectPropertyValue.js +4 -0
  496. package/Distributable/esm/RandomValuesGenerators/getRandomString/getRandomString.d.ts +59 -0
  497. package/Distributable/esm/RandomValuesGenerators/getRandomString/getRandomString.js +188 -0
  498. package/Distributable/esm/RandomValuesGenerators/getRandomString/gettingOfRandomStringLocalization__english.d.ts +3 -0
  499. package/Distributable/esm/RandomValuesGenerators/getRandomString/gettingOfRandomStringLocalization__english.js +25 -0
  500. package/Distributable/esm/RandomValuesGenerators/getRandomSubarray.d.ts +21 -0
  501. package/Distributable/esm/RandomValuesGenerators/getRandomSubarray.js +120 -0
  502. package/Distributable/esm/RandomValuesGenerators/getSpecificBooleanValueWithProbability.d.ts +4 -0
  503. package/Distributable/esm/RandomValuesGenerators/getSpecificBooleanValueWithProbability.js +3 -0
  504. package/Distributable/esm/RandomValuesGenerators/removeRandomArrayElement.d.ts +1 -0
  505. package/Distributable/esm/RandomValuesGenerators/removeRandomArrayElement.js +8 -0
  506. package/Distributable/esm/RawObjectDataProcessor/Helpers/convertPotentialStringToFloatIfPossible.d.ts +1 -0
  507. package/Distributable/esm/RawObjectDataProcessor/Helpers/convertPotentialStringToFloatIfPossible.js +9 -0
  508. package/Distributable/esm/RawObjectDataProcessor/Helpers/convertPotentialStringToIntegerIfPossible.d.ts +1 -0
  509. package/Distributable/esm/RawObjectDataProcessor/Helpers/convertPotentialStringToIntegerIfPossible.js +8 -0
  510. package/Distributable/esm/RawObjectDataProcessor/Helpers/convertPotentialStringToNumberIfPossible.d.ts +1 -0
  511. package/Distributable/esm/RawObjectDataProcessor/Helpers/convertPotentialStringToNumberIfPossible.js +9 -0
  512. package/Distributable/esm/RawObjectDataProcessor/Helpers/destringifyBooleanValueIfPossible.d.ts +1 -0
  513. package/Distributable/esm/RawObjectDataProcessor/Helpers/destringifyBooleanValueIfPossible.js +9 -0
  514. package/Distributable/esm/RawObjectDataProcessor/RawObjectDataProcessor.d.ts +899 -0
  515. package/Distributable/esm/RawObjectDataProcessor/RawObjectDataProcessor.js +2450 -0
  516. package/Distributable/esm/RawObjectDataProcessor/RawObjectDataProcessorLocalization.english.d.ts +4 -0
  517. package/Distributable/esm/RawObjectDataProcessor/RawObjectDataProcessorLocalization.english.js +368 -0
  518. package/Distributable/esm/Sets/addElementsToSet.d.ts +9 -0
  519. package/Distributable/esm/Sets/addElementsToSet.js +7 -0
  520. package/Distributable/esm/Sets/createSetBasedOnAnyArrayLikeCollection.d.ts +1 -0
  521. package/Distributable/esm/Sets/createSetBasedOnAnyArrayLikeCollection.js +3 -0
  522. package/Distributable/esm/Sets/createSetBasedOnOtherSet.d.ts +1 -0
  523. package/Distributable/esm/Sets/createSetBasedOnOtherSet.js +3 -0
  524. package/Distributable/esm/Sets/getOneElementOfSet.d.ts +4 -0
  525. package/Distributable/esm/Sets/getOneElementOfSet.js +16 -0
  526. package/Distributable/esm/Sets/mergeSets.d.ts +1 -0
  527. package/Distributable/esm/Sets/mergeSets.js +9 -0
  528. package/Distributable/esm/Sets/removeOneElementOfSet.d.ts +44 -0
  529. package/Distributable/esm/Sets/removeOneElementOfSet.js +29 -0
  530. package/Distributable/esm/Sets/removeSetElementsByPredicates.d.ts +17 -0
  531. package/Distributable/esm/Sets/removeSetElementsByPredicates.js +18 -0
  532. package/Distributable/esm/Strings/ArbitraryValueFormatter.d.ts +9 -0
  533. package/Distributable/esm/Strings/ArbitraryValueFormatter.js +111 -0
  534. package/Distributable/esm/Strings/CharactersAssets/EscapeCharacters.d.ts +9 -0
  535. package/Distributable/esm/Strings/CharactersAssets/EscapeCharacters.js +10 -0
  536. package/Distributable/esm/Strings/CharactersAssets/SpaceCharacters.d.ts +18 -0
  537. package/Distributable/esm/Strings/CharactersAssets/SpaceCharacters.js +19 -0
  538. package/Distributable/esm/Strings/CharactersAssets/SpaceCharactersStringifiedHexCharactersForRegularExpressionWithUnicodeFlag.d.ts +18 -0
  539. package/Distributable/esm/Strings/CharactersAssets/SpaceCharactersStringifiedHexCharactersForRegularExpressionWithUnicodeFlag.js +19 -0
  540. package/Distributable/esm/Strings/CharactersAssets/lowercaseLatinCharacters.d.ts +2 -0
  541. package/Distributable/esm/Strings/CharactersAssets/lowercaseLatinCharacters.js +29 -0
  542. package/Distributable/esm/Strings/CharactersAssets/stringifiedDigits.d.ts +2 -0
  543. package/Distributable/esm/Strings/CharactersAssets/stringifiedDigits.js +2 -0
  544. package/Distributable/esm/Strings/CharactersAssets/uppercaseLatinCharacters.d.ts +2 -0
  545. package/Distributable/esm/Strings/CharactersAssets/uppercaseLatinCharacters.js +29 -0
  546. package/Distributable/esm/Strings/EmailAddress.d.ts +4 -0
  547. package/Distributable/esm/Strings/EmailAddress.js +6 -0
  548. package/Distributable/esm/Strings/IndentationCoordinator.d.ts +12 -0
  549. package/Distributable/esm/Strings/IndentationCoordinator.js +33 -0
  550. package/Distributable/esm/Strings/LineSeparators/LineSeparators.d.ts +6 -0
  551. package/Distributable/esm/Strings/LineSeparators/LineSeparators.js +7 -0
  552. package/Distributable/esm/Strings/LineSeparators/getLineSeparatorType.d.ts +2 -0
  553. package/Distributable/esm/Strings/LineSeparators/getLineSeparatorType.js +13 -0
  554. package/Distributable/esm/Strings/RegularExpressions/extractMatchingsWithRegularExpression.d.ts +22 -0
  555. package/Distributable/esm/Strings/RegularExpressions/extractMatchingsWithRegularExpression.js +54 -0
  556. package/Distributable/esm/Strings/RegularExpressions/getMatchingWithFirstRegularExpressionCapturingGroup.d.ts +5 -0
  557. package/Distributable/esm/Strings/RegularExpressions/getMatchingWithFirstRegularExpressionCapturingGroup.js +43 -0
  558. package/Distributable/esm/Strings/RegularExpressions/replaceMatchesWithRegularExpressionToDynamicValue.d.ts +39 -0
  559. package/Distributable/esm/Strings/RegularExpressions/replaceMatchesWithRegularExpressionToDynamicValue.js +30 -0
  560. package/Distributable/esm/Strings/URI/FilesAndDirectories/FileNameExtensions/appendLastFileNameExtension.d.ts +5 -0
  561. package/Distributable/esm/Strings/URI/FilesAndDirectories/FileNameExtensions/appendLastFileNameExtension.js +15 -0
  562. package/Distributable/esm/Strings/URI/FilesAndDirectories/FileNameExtensions/extractAllFileNameExtensions.d.ts +4 -0
  563. package/Distributable/esm/Strings/URI/FilesAndDirectories/FileNameExtensions/extractAllFileNameExtensions.js +14 -0
  564. package/Distributable/esm/Strings/URI/FilesAndDirectories/FileNameExtensions/extractLastExtensionOfFileName.d.ts +9 -0
  565. package/Distributable/esm/Strings/URI/FilesAndDirectories/FileNameExtensions/extractLastExtensionOfFileName.js +20 -0
  566. package/Distributable/esm/Strings/URI/FilesAndDirectories/FileNameExtensions/removeAllFileNameExtensions.d.ts +1 -0
  567. package/Distributable/esm/Strings/URI/FilesAndDirectories/FileNameExtensions/removeAllFileNameExtensions.js +17 -0
  568. package/Distributable/esm/Strings/URI/FilesAndDirectories/FileNameExtensions/removeSpecifiedFileNameExtensionsFromPath.d.ts +6 -0
  569. package/Distributable/esm/Strings/URI/FilesAndDirectories/FileNameExtensions/removeSpecifiedFileNameExtensionsFromPath.js +36 -0
  570. package/Distributable/esm/Strings/URI/FilesAndDirectories/Stem/extractFileNameWithoutAnyExtensions.d.ts +4 -0
  571. package/Distributable/esm/Strings/URI/FilesAndDirectories/Stem/extractFileNameWithoutAnyExtensions.js +22 -0
  572. package/Distributable/esm/Strings/URI/FilesAndDirectories/extractFileNameWithAllExtensionsFromPath.d.ts +4 -0
  573. package/Distributable/esm/Strings/URI/FilesAndDirectories/extractFileNameWithAllExtensionsFromPath.js +21 -0
  574. package/Distributable/esm/Strings/URI/FilesAndDirectories/extractFileNameWithoutLastExtension.d.ts +1 -0
  575. package/Distributable/esm/Strings/URI/FilesAndDirectories/extractFileNameWithoutLastExtension.js +15 -0
  576. package/Distributable/esm/Strings/URI/Fragment/appendFragmentToURI.d.ts +5 -0
  577. package/Distributable/esm/Strings/URI/Fragment/appendFragmentToURI.js +26 -0
  578. package/Distributable/esm/Strings/URI/Fragment/getURI_Fragment.d.ts +9 -0
  579. package/Distributable/esm/Strings/URI/Fragment/getURI_Fragment.js +19 -0
  580. package/Distributable/esm/Strings/URI/PathSegments/explodeURI_PathToSegments.d.ts +1 -0
  581. package/Distributable/esm/Strings/URI/PathSegments/explodeURI_PathToSegments.js +5 -0
  582. package/Distributable/esm/Strings/URI/PathSegments/replaceLastURI_PathSegment.d.ts +4 -0
  583. package/Distributable/esm/Strings/URI/PathSegments/replaceLastURI_PathSegment.js +13 -0
  584. package/Distributable/esm/Strings/URI/generateMailtoURI_Scheme.d.ts +8 -0
  585. package/Distributable/esm/Strings/URI/generateMailtoURI_Scheme.js +31 -0
  586. package/Distributable/esm/Strings/URI/getURI_PartWithoutFragment.d.ts +1 -0
  587. package/Distributable/esm/Strings/URI/getURI_PartWithoutFragment.js +3 -0
  588. package/Distributable/esm/Strings/URI/removeSpecificSegmentsFromURI_Path.d.ts +5 -0
  589. package/Distributable/esm/Strings/URI/removeSpecificSegmentsFromURI_Path.js +13 -0
  590. package/Distributable/esm/Strings/adjustCharactersCount.d.ts +36 -0
  591. package/Distributable/esm/Strings/adjustCharactersCount.js +111 -0
  592. package/Distributable/esm/Strings/appendCharacterIfItDoesNotPresentInLastPosition.d.ts +4 -0
  593. package/Distributable/esm/Strings/appendCharacterIfItDoesNotPresentInLastPosition.js +4 -0
  594. package/Distributable/esm/Strings/capitalizeFirstCharacter.d.ts +1 -0
  595. package/Distributable/esm/Strings/capitalizeFirstCharacter.js +3 -0
  596. package/Distributable/esm/Strings/cropString.d.ts +37 -0
  597. package/Distributable/esm/Strings/cropString.js +79 -0
  598. package/Distributable/esm/Strings/explodeCasedPhraseToWords.d.ts +1 -0
  599. package/Distributable/esm/Strings/explodeCasedPhraseToWords.js +53 -0
  600. package/Distributable/esm/Strings/explodeStringToLines.d.ts +4 -0
  601. package/Distributable/esm/Strings/explodeStringToLines.js +6 -0
  602. package/Distributable/esm/Strings/getEnglishAbbreviatedOrdinalNumber.d.ts +1 -0
  603. package/Distributable/esm/Strings/getEnglishAbbreviatedOrdinalNumber.js +8 -0
  604. package/Distributable/esm/Strings/getLastCharacter.d.ts +1 -0
  605. package/Distributable/esm/Strings/getLastCharacter.js +3 -0
  606. package/Distributable/esm/Strings/getPositionsOfAllSubstringOccurrences.d.ts +1 -0
  607. package/Distributable/esm/Strings/getPositionsOfAllSubstringOccurrences.js +12 -0
  608. package/Distributable/esm/Strings/hasStringOnlySpecificCharacters.d.ts +6 -0
  609. package/Distributable/esm/Strings/hasStringOnlySpecificCharacters.js +47 -0
  610. package/Distributable/esm/Strings/insertSubstring.d.ts +4 -0
  611. package/Distributable/esm/Strings/insertSubstring.js +9 -0
  612. package/Distributable/esm/Strings/insertSubstringIf.d.ts +1 -0
  613. package/Distributable/esm/Strings/insertSubstringIf.js +3 -0
  614. package/Distributable/esm/Strings/isIPv4_AddressLiesInRange.d.ts +5 -0
  615. package/Distributable/esm/Strings/isIPv4_AddressLiesInRange.js +99 -0
  616. package/Distributable/esm/Strings/isStringIncludingAtLeastOneOfSubstrings.d.ts +1 -0
  617. package/Distributable/esm/Strings/isStringIncludingAtLeastOneOfSubstrings.js +8 -0
  618. package/Distributable/esm/Strings/removeAllSpecifiedCharacters.d.ts +1 -0
  619. package/Distributable/esm/Strings/removeAllSpecifiedCharacters.js +10 -0
  620. package/Distributable/esm/Strings/removeLastCharacter.d.ts +1 -0
  621. package/Distributable/esm/Strings/removeLastCharacter.js +5 -0
  622. package/Distributable/esm/Strings/removeNonDigitsCharacters.d.ts +1 -0
  623. package/Distributable/esm/Strings/removeNonDigitsCharacters.js +6 -0
  624. package/Distributable/esm/Strings/removeNthCharacter.d.ts +4 -0
  625. package/Distributable/esm/Strings/removeNthCharacter.js +10 -0
  626. package/Distributable/esm/Strings/removeSpecificCharacterFromCertainPosition.d.ts +12 -0
  627. package/Distributable/esm/Strings/removeSpecificCharacterFromCertainPosition.js +25 -0
  628. package/Distributable/esm/Strings/replace2_OrMoreSpacesTo1.d.ts +1 -0
  629. package/Distributable/esm/Strings/replace2_OrMoreSpacesTo1.js +3 -0
  630. package/Distributable/esm/Strings/replaceBrHTML_TagToNewLineEscapeSequence.d.ts +1 -0
  631. package/Distributable/esm/Strings/replaceBrHTML_TagToNewLineEscapeSequence.js +3 -0
  632. package/Distributable/esm/Strings/replaceDoubleBackslashesWithForwardSlashes.d.ts +1 -0
  633. package/Distributable/esm/Strings/replaceDoubleBackslashesWithForwardSlashes.js +3 -0
  634. package/Distributable/esm/Strings/reverseString.d.ts +1 -0
  635. package/Distributable/esm/Strings/reverseString.js +5 -0
  636. package/Distributable/esm/Strings/splitString.d.ts +1 -0
  637. package/Distributable/esm/Strings/splitString.js +6 -0
  638. package/Distributable/esm/Strings/surroundLabelByOrnament.d.ts +7 -0
  639. package/Distributable/esm/Strings/surroundLabelByOrnament.js +13 -0
  640. package/Distributable/esm/Strings/toLowerCamelCase.d.ts +1 -0
  641. package/Distributable/esm/Strings/toLowerCamelCase.js +29 -0
  642. package/Distributable/esm/Strings/toScreamingSnakeCase.d.ts +1 -0
  643. package/Distributable/esm/Strings/toScreamingSnakeCase.js +20 -0
  644. package/Distributable/esm/Strings/toUpperCamelCase.d.ts +1 -0
  645. package/Distributable/esm/Strings/toUpperCamelCase.js +19 -0
  646. package/Distributable/esm/Strings/trimSpaces.d.ts +10 -0
  647. package/Distributable/esm/Strings/trimSpaces.js +28 -0
  648. package/Distributable/esm/TypeGuards/Arrays/isArrayOfCertainTypeElements.d.ts +1 -0
  649. package/Distributable/esm/TypeGuards/Arrays/isArrayOfCertainTypeElements.js +11 -0
  650. package/Distributable/esm/TypeGuards/Arrays/isArrayOfLength.d.ts +26 -0
  651. package/Distributable/esm/TypeGuards/Arrays/isArrayOfLength.js +24 -0
  652. package/Distributable/esm/TypeGuards/Arrays/isEmptyArray.d.ts +1 -0
  653. package/Distributable/esm/TypeGuards/Arrays/isEmptyArray.js +3 -0
  654. package/Distributable/esm/TypeGuards/Arrays/isNonEmptyArray.d.ts +1 -0
  655. package/Distributable/esm/TypeGuards/Arrays/isNonEmptyArray.js +6 -0
  656. package/Distributable/esm/TypeGuards/EmptyTypes/isEitherUndefinedOrNull.d.ts +1 -0
  657. package/Distributable/esm/TypeGuards/EmptyTypes/isEitherUndefinedOrNull.js +3 -0
  658. package/Distributable/esm/TypeGuards/EmptyTypes/isNeitherUndefinedNorNull.d.ts +1 -0
  659. package/Distributable/esm/TypeGuards/EmptyTypes/isNeitherUndefinedNorNull.js +3 -0
  660. package/Distributable/esm/TypeGuards/EmptyTypes/isNotNull.d.ts +1 -0
  661. package/Distributable/esm/TypeGuards/EmptyTypes/isNotNull.js +3 -0
  662. package/Distributable/esm/TypeGuards/EmptyTypes/isNotUndefined.d.ts +1 -0
  663. package/Distributable/esm/TypeGuards/EmptyTypes/isNotUndefined.js +3 -0
  664. package/Distributable/esm/TypeGuards/EmptyTypes/isNull.d.ts +1 -0
  665. package/Distributable/esm/TypeGuards/EmptyTypes/isNull.js +3 -0
  666. package/Distributable/esm/TypeGuards/EmptyTypes/isUndefined.d.ts +1 -0
  667. package/Distributable/esm/TypeGuards/EmptyTypes/isUndefined.js +3 -0
  668. package/Distributable/esm/TypeGuards/Numbers/isBigInt.d.ts +1 -0
  669. package/Distributable/esm/TypeGuards/Numbers/isBigInt.js +3 -0
  670. package/Distributable/esm/TypeGuards/Numbers/isDecimalFractionOfAnySign.d.ts +2 -0
  671. package/Distributable/esm/TypeGuards/Numbers/isDecimalFractionOfAnySign.js +6 -0
  672. package/Distributable/esm/TypeGuards/Numbers/isIntegerOfAnySign.d.ts +2 -0
  673. package/Distributable/esm/TypeGuards/Numbers/isIntegerOfAnySign.js +3 -0
  674. package/Distributable/esm/TypeGuards/Numbers/isNaturalNumber.d.ts +2 -0
  675. package/Distributable/esm/TypeGuards/Numbers/isNaturalNumber.js +6 -0
  676. package/Distributable/esm/TypeGuards/Numbers/isNaturalNumberOrZero.d.ts +2 -0
  677. package/Distributable/esm/TypeGuards/Numbers/isNaturalNumberOrZero.js +6 -0
  678. package/Distributable/esm/TypeGuards/Numbers/isNegativeDecimalFraction.d.ts +2 -0
  679. package/Distributable/esm/TypeGuards/Numbers/isNegativeDecimalFraction.js +5 -0
  680. package/Distributable/esm/TypeGuards/Numbers/isNegativeInteger.d.ts +2 -0
  681. package/Distributable/esm/TypeGuards/Numbers/isNegativeInteger.js +6 -0
  682. package/Distributable/esm/TypeGuards/Numbers/isNegativeIntegerOrZero.d.ts +2 -0
  683. package/Distributable/esm/TypeGuards/Numbers/isNegativeIntegerOrZero.js +6 -0
  684. package/Distributable/esm/TypeGuards/Numbers/isNumber.d.ts +3 -0
  685. package/Distributable/esm/TypeGuards/Numbers/isNumber.js +6 -0
  686. package/Distributable/esm/TypeGuards/Numbers/isPositiveDecimalFraction.d.ts +2 -0
  687. package/Distributable/esm/TypeGuards/Numbers/isPositiveDecimalFraction.js +5 -0
  688. package/Distributable/esm/TypeGuards/Numbers/isPositiveIntegerOrZero.d.ts +2 -0
  689. package/Distributable/esm/TypeGuards/Numbers/isPositiveIntegerOrZero.js +6 -0
  690. package/Distributable/esm/TypeGuards/Objects/isArbitraryObject.d.ts +2 -0
  691. package/Distributable/esm/TypeGuards/Objects/isArbitraryObject.js +3 -0
  692. package/Distributable/esm/TypeGuards/Objects/isEmptyObject.d.ts +1 -0
  693. package/Distributable/esm/TypeGuards/Objects/isEmptyObject.js +6 -0
  694. package/Distributable/esm/TypeGuards/Objects/isNonEmptyArbitraryObject.d.ts +2 -0
  695. package/Distributable/esm/TypeGuards/Objects/isNonEmptyArbitraryObject.js +3 -0
  696. package/Distributable/esm/TypeGuards/Objects/isNonEmptyObject.d.ts +1 -0
  697. package/Distributable/esm/TypeGuards/Objects/isNonEmptyObject.js +6 -0
  698. package/Distributable/esm/TypeGuards/Objects/isNonNullObject.d.ts +1 -0
  699. package/Distributable/esm/TypeGuards/Objects/isNonNullObject.js +3 -0
  700. package/Distributable/esm/TypeGuards/ParsedJSON/isPossiblyReadonlyParsedJSON.d.ts +2 -0
  701. package/Distributable/esm/TypeGuards/ParsedJSON/isPossiblyReadonlyParsedJSON.js +3 -0
  702. package/Distributable/esm/TypeGuards/ParsedJSON/isPossiblyReadonlyParsedJSON_Object.d.ts +2 -0
  703. package/Distributable/esm/TypeGuards/ParsedJSON/isPossiblyReadonlyParsedJSON_Object.js +3 -0
  704. package/Distributable/esm/TypeGuards/Strings/areStringifiedDigitsOnly.d.ts +2 -0
  705. package/Distributable/esm/TypeGuards/Strings/areStringifiedDigitsOnly.js +3 -0
  706. package/Distributable/esm/TypeGuards/Strings/isEmptyString.d.ts +2 -0
  707. package/Distributable/esm/TypeGuards/Strings/isEmptyString.js +3 -0
  708. package/Distributable/esm/TypeGuards/Strings/isNonEmptyString.d.ts +2 -0
  709. package/Distributable/esm/TypeGuards/Strings/isNonEmptyString.js +3 -0
  710. package/Distributable/esm/TypeGuards/Strings/isString.d.ts +1 -0
  711. package/Distributable/esm/TypeGuards/Strings/isString.js +3 -0
  712. package/Distributable/esm/TypeGuards/Strings/isStringOfLength.d.ts +27 -0
  713. package/Distributable/esm/TypeGuards/Strings/isStringOfLength.js +24 -0
  714. package/Distributable/esm/TypeGuards/isBoolean.d.ts +1 -0
  715. package/Distributable/esm/TypeGuards/isBoolean.js +3 -0
  716. package/Distributable/esm/TypeGuards/isElementOfEnumeration.d.ts +3 -0
  717. package/Distributable/esm/TypeGuards/isElementOfEnumeration.js +8 -0
  718. package/Distributable/esm/TypeGuards/isFunctionLike.d.ts +1 -0
  719. package/Distributable/esm/TypeGuards/isFunctionLike.js +3 -0
  720. package/Distributable/esm/Types/ArbitraryObject.d.ts +3 -0
  721. package/Distributable/esm/Types/ArbitraryObject.js +1 -0
  722. package/Distributable/esm/Types/ElementOfPseudoEnumeration.d.ts +3 -0
  723. package/Distributable/esm/Types/ElementOfPseudoEnumeration.js +1 -0
  724. package/Distributable/esm/Types/InheritEnumerationKeys.d.ts +3 -0
  725. package/Distributable/esm/Types/InheritEnumerationKeys.js +1 -0
  726. package/Distributable/esm/Types/ParsedJSON.d.ts +13 -0
  727. package/Distributable/esm/Types/ParsedJSON.js +1 -0
  728. package/Distributable/esm/Types/PartialBy.d.ts +1 -0
  729. package/Distributable/esm/Types/PartialBy.js +1 -0
  730. package/Distributable/esm/ValueTransformers/emptyStringToNull.d.ts +1 -0
  731. package/Distributable/esm/ValueTransformers/emptyStringToNull.js +3 -0
  732. package/Distributable/esm/ValueTransformers/emptyStringToTrue.d.ts +2 -0
  733. package/Distributable/esm/ValueTransformers/emptyStringToTrue.js +3 -0
  734. package/Distributable/esm/ValueTransformers/emptyStringToUndefined.d.ts +2 -0
  735. package/Distributable/esm/ValueTransformers/emptyStringToUndefined.js +3 -0
  736. package/Distributable/esm/ValueTransformers/nullToEmptyString.d.ts +1 -0
  737. package/Distributable/esm/ValueTransformers/nullToEmptyString.js +3 -0
  738. package/Distributable/esm/ValueTransformers/nullToUndefined.d.ts +1 -0
  739. package/Distributable/esm/ValueTransformers/nullToUndefined.js +3 -0
  740. package/Distributable/esm/ValueTransformers/nullToZero.d.ts +1 -0
  741. package/Distributable/esm/ValueTransformers/nullToZero.js +3 -0
  742. package/Distributable/esm/ValueTransformers/undefinedToEmptyArray.d.ts +2 -0
  743. package/Distributable/esm/ValueTransformers/undefinedToEmptyArray.js +3 -0
  744. package/Distributable/esm/ValueTransformers/undefinedToEmptyString.d.ts +1 -0
  745. package/Distributable/esm/ValueTransformers/undefinedToEmptyString.js +3 -0
  746. package/Distributable/esm/ValueTransformers/undefinedToFalse.d.ts +1 -0
  747. package/Distributable/esm/ValueTransformers/undefinedToFalse.js +3 -0
  748. package/Distributable/esm/ValueTransformers/undefinedToNull.d.ts +1 -0
  749. package/Distributable/esm/ValueTransformers/undefinedToNull.js +3 -0
  750. package/Distributable/esm/ValuesDeepCopier.d.ts +5 -0
  751. package/Distributable/esm/ValuesDeepCopier.js +49 -0
  752. package/Distributable/esm/index.d.ts +256 -0
  753. package/Distributable/esm/index.js +248 -0
  754. package/LICENSE +1 -1
  755. package/README.md +875 -144
  756. package/package.json +28 -18
  757. package/BrowserJS.d.ts +0 -16
  758. package/Distributable/Arrays/getArrayElementWhichMustExistByPredicate/GetArrayElementWhichMustExistByPredicateOperationLocalization__English.d.ts +0 -3
  759. package/Distributable/Arrays/getArrayElementWhichMustExistByPredicate/GetArrayElementWhichMustExistByPredicateOperationLocalization__English.js +0 -7
  760. package/Distributable/Arrays/getArrayElementWhichMustExistByPredicate/getArrayElementWhichMustExistByPredicate.d.ts +0 -9
  761. package/Distributable/Arrays/getArrayElementWhichMustExistByPredicate/getArrayElementWhichMustExistByPredicate.js +0 -27
  762. package/Distributable/Arrays/getIndexOfArrayElementByPredicate.d.ts +0 -1
  763. package/Distributable/Arrays/getIndexOfArrayElementByPredicate.js +0 -11
  764. package/Distributable/Arrays/getIndexesOfArrayElementsWhichSatisfiesToPredicate.d.ts +0 -1
  765. package/Distributable/Arrays/getIndexesOfArrayElementsWhichSatisfiesToPredicate.js +0 -12
  766. package/Distributable/Arrays/getLastElementOfNonEmptyArray/GetLastElementOfNonEmptyArrayOperationLocalization__English.d.ts +0 -3
  767. package/Distributable/Arrays/getLastElementOfNonEmptyArray/GetLastElementOfNonEmptyArrayOperationLocalization__English.js +0 -7
  768. package/Distributable/Arrays/getLastElementOfNonEmptyArray/getLastElementOfNonEmptyArray.d.ts +0 -9
  769. package/Distributable/Arrays/getLastElementOfNonEmptyArray/getLastElementOfNonEmptyArray.js +0 -26
  770. package/Distributable/BroswerJS/BasicFrontEndLogger.d.ts +0 -20
  771. package/Distributable/BroswerJS/BasicFrontEndLogger.js +0 -122
  772. package/Distributable/BroswerJS/DOM/delegateClickEventHandling.d.ts +0 -4
  773. package/Distributable/BroswerJS/DOM/delegateClickEventHandling.js +0 -16
  774. package/Distributable/BrowserJS.d.ts +0 -3
  775. package/Distributable/BrowserJS.js +0 -7
  776. package/Distributable/ConstantsAndEnumerations/HTTP_Methods.d.ts +0 -13
  777. package/Distributable/ConstantsAndEnumerations/HTTP_Methods.js +0 -16
  778. package/Distributable/ConstantsAndEnumerations/HTTP_StatusCodes.d.ts +0 -43
  779. package/Distributable/ConstantsAndEnumerations/HTTP_StatusCodes.js +0 -46
  780. package/Distributable/DateTime/Timer.d.ts +0 -11
  781. package/Distributable/DateTime/Timer.js +0 -9
  782. package/Distributable/DateTime/millisecondsToSeconds.d.ts +0 -1
  783. package/Distributable/DateTime/millisecondsToSeconds.js +0 -6
  784. package/Distributable/DateTime/secondsToMilliseconds.d.ts +0 -1
  785. package/Distributable/DateTime/secondsToMilliseconds.js +0 -6
  786. package/Distributable/DefaultValueSubstituters/substituteWhenNull.d.ts +0 -1
  787. package/Distributable/DefaultValueSubstituters/substituteWhenNull.js +0 -6
  788. package/Distributable/DefaultValueSubstituters/substituteWhenUndefined.d.ts +0 -1
  789. package/Distributable/DefaultValueSubstituters/substituteWhenUndefined.js +0 -6
  790. package/Distributable/Logging/Errors/AlgorithmMismatch/AlgorithmMismatchError.d.ts +0 -13
  791. package/Distributable/Logging/Errors/AlgorithmMismatch/AlgorithmMismatchError.js +0 -19
  792. package/Distributable/Logging/Errors/AlgorithmMismatch/AlgorithmMismatchErrorLocalization__English.d.ts +0 -3
  793. package/Distributable/Logging/Errors/AlgorithmMismatch/AlgorithmMismatchErrorLocalization__English.js +0 -6
  794. package/Distributable/Logging/Errors/ClassRedundantSubsequentInitialization/ClassRedundantSubsequentInitializationError.d.ts +0 -24
  795. package/Distributable/Logging/Errors/ClassRedundantSubsequentInitialization/ClassRedundantSubsequentInitializationError.js +0 -24
  796. package/Distributable/Logging/Errors/ClassRedundantSubsequentInitialization/ClassRedundantSubsequentInitializationErrorLocalization__English.d.ts +0 -3
  797. package/Distributable/Logging/Errors/ClassRedundantSubsequentInitialization/ClassRedundantSubsequentInitializationErrorLocalization__English.js +0 -7
  798. package/Distributable/Logging/Errors/ClassRequiredInitializationHasNotBeenExecuted/ClassRequiredInitializationHasNotBeenExecutedError.d.ts +0 -23
  799. package/Distributable/Logging/Errors/ClassRequiredInitializationHasNotBeenExecuted/ClassRequiredInitializationHasNotBeenExecutedError.js +0 -24
  800. package/Distributable/Logging/Errors/ClassRequiredInitializationHasNotBeenExecuted/ClassRequiredInitializationHasNotBeenExecutedErrorLocalization__English.d.ts +0 -3
  801. package/Distributable/Logging/Errors/ClassRequiredInitializationHasNotBeenExecuted/ClassRequiredInitializationHasNotBeenExecutedErrorLocalization__English.js +0 -8
  802. package/Distributable/Logging/Errors/ConfigFileNotFound/ConfigFileNotFoundErrorLocalization__English.d.ts +0 -3
  803. package/Distributable/Logging/Errors/ConfigFileNotFound/ConfigFileNotFoundErrorLocalization__English.js +0 -14
  804. package/Distributable/Logging/Errors/ConfigFileNotFound//320/241onfigFileNotFoundError.d.ts +0 -23
  805. package/Distributable/Logging/Errors/ConfigFileNotFound//320/241onfigFileNotFoundError.js +0 -24
  806. package/Distributable/Logging/Errors/CrossBrowserIssue/CrossBrowserIssueError.d.ts +0 -13
  807. package/Distributable/Logging/Errors/CrossBrowserIssue/CrossBrowserIssueError.js +0 -19
  808. package/Distributable/Logging/Errors/CrossBrowserIssue/CrossBrowserIssueErrorLocalization__English.d.ts +0 -3
  809. package/Distributable/Logging/Errors/CrossBrowserIssue/CrossBrowserIssueErrorLocalization__English.js +0 -6
  810. package/Distributable/Logging/Errors/DOM_ElementRetrievingFailed/DOM_ElementRetrievingFailedError.d.ts +0 -22
  811. package/Distributable/Logging/Errors/DOM_ElementRetrievingFailed/DOM_ElementRetrievingFailedError.js +0 -24
  812. package/Distributable/Logging/Errors/DOM_ElementRetrievingFailed/DOM_ElementRetrievingFailedErrorLocalization__English.d.ts +0 -3
  813. package/Distributable/Logging/Errors/DOM_ElementRetrievingFailed/DOM_ElementRetrievingFailedErrorLocalization__English.js +0 -7
  814. package/Distributable/Logging/Errors/DataRetrievingFailed/DataRetrievingFailedError.d.ts +0 -22
  815. package/Distributable/Logging/Errors/DataRetrievingFailed/DataRetrievingFailedError.js +0 -24
  816. package/Distributable/Logging/Errors/DataRetrievingFailed/DataRetrievingFailedErrorLocalization__English.d.ts +0 -3
  817. package/Distributable/Logging/Errors/DataRetrievingFailed/DataRetrievingFailedErrorLocalization__English.js +0 -8
  818. package/Distributable/Logging/Errors/DataSubmittingFailed/DataSubmittingFailedError.d.ts +0 -22
  819. package/Distributable/Logging/Errors/DataSubmittingFailed/DataSubmittingFailedError.js +0 -24
  820. package/Distributable/Logging/Errors/DataSubmittingFailed/DataSubmittingFailedErrorLocalization__English.d.ts +0 -3
  821. package/Distributable/Logging/Errors/DataSubmittingFailed/DataSubmittingFailedErrorLocalization__English.js +0 -7
  822. package/Distributable/Logging/Errors/FileReadingFailed/FileReadingFailedError.d.ts +0 -22
  823. package/Distributable/Logging/Errors/FileReadingFailed/FileReadingFailedError.js +0 -24
  824. package/Distributable/Logging/Errors/FileReadingFailed/FileReadingFailedErrorLocalization__English.d.ts +0 -3
  825. package/Distributable/Logging/Errors/FileReadingFailed/FileReadingFailedErrorLocalization__English.js +0 -7
  826. package/Distributable/Logging/Errors/FileWritingFailed/FileWritingFailedError.d.ts +0 -22
  827. package/Distributable/Logging/Errors/FileWritingFailed/FileWritingFailedError.js +0 -24
  828. package/Distributable/Logging/Errors/FileWritingFailed/FileWritingFailedErrorLocalization__English.d.ts +0 -3
  829. package/Distributable/Logging/Errors/FileWritingFailed/FileWritingFailedErrorLocalization__English.js +0 -7
  830. package/Distributable/Logging/Errors/ImproperUsage/ImproperUsageError.d.ts +0 -13
  831. package/Distributable/Logging/Errors/ImproperUsage/ImproperUsageError.js +0 -19
  832. package/Distributable/Logging/Errors/ImproperUsage/ImproperUsageErrorLocalization__English.d.ts +0 -3
  833. package/Distributable/Logging/Errors/ImproperUsage/ImproperUsageErrorLocalization__English.js +0 -6
  834. package/Distributable/Logging/Errors/IncompatiblePropertiesInObjectTypeParameter/IncompatiblePropertiesInObjectTypeParameterError.d.ts +0 -24
  835. package/Distributable/Logging/Errors/IncompatiblePropertiesInObjectTypeParameter/IncompatiblePropertiesInObjectTypeParameterError.js +0 -24
  836. package/Distributable/Logging/Errors/IncompatiblePropertiesInObjectTypeParameter/IncompatiblePropertiesInObjectTypeParameterErrorLocalization__English.d.ts +0 -3
  837. package/Distributable/Logging/Errors/IncompatiblePropertiesInObjectTypeParameter/IncompatiblePropertiesInObjectTypeParameterErrorLocalization__English.js +0 -9
  838. package/Distributable/Logging/Errors/InterProcessInteractionFailed/InterProcessInteractionFailedError.d.ts +0 -13
  839. package/Distributable/Logging/Errors/InterProcessInteractionFailed/InterProcessInteractionFailedError.js +0 -19
  840. package/Distributable/Logging/Errors/InterProcessInteractionFailed/InterProcessInteractionFailedErrorLocalization__English.d.ts +0 -3
  841. package/Distributable/Logging/Errors/InterProcessInteractionFailed/InterProcessInteractionFailedErrorLocalization__English.js +0 -6
  842. package/Distributable/Logging/Errors/InvalidConfig/InvalidConfigError.d.ts +0 -23
  843. package/Distributable/Logging/Errors/InvalidConfig/InvalidConfigError.js +0 -24
  844. package/Distributable/Logging/Errors/InvalidConfig/InvalidConfigErrorLocalization__English.d.ts +0 -3
  845. package/Distributable/Logging/Errors/InvalidConfig/InvalidConfigErrorLocalization__English.js +0 -11
  846. package/Distributable/Logging/Errors/InvalidExternalData/InvalidExternalDataError.d.ts +0 -23
  847. package/Distributable/Logging/Errors/InvalidExternalData/InvalidExternalDataError.js +0 -24
  848. package/Distributable/Logging/Errors/InvalidExternalData/InvalidExternalDataErrorLocalization__English.d.ts +0 -3
  849. package/Distributable/Logging/Errors/InvalidExternalData/InvalidExternalDataErrorLocalization__English.js +0 -12
  850. package/Distributable/Logging/Errors/InvalidParameterValue/InvalidParameterValueError.d.ts +0 -23
  851. package/Distributable/Logging/Errors/InvalidParameterValue/InvalidParameterValueError.js +0 -24
  852. package/Distributable/Logging/Errors/InvalidParameterValue/InvalidParameterValueErrorLocalization__English.d.ts +0 -3
  853. package/Distributable/Logging/Errors/InvalidParameterValue/InvalidParameterValueErrorLocalization__English.js +0 -11
  854. package/Distributable/Logging/Errors/ModuleDynamicLoadingFailed/ModuleDynamicLoadingFailedError.d.ts +0 -22
  855. package/Distributable/Logging/Errors/ModuleDynamicLoadingFailed/ModuleDynamicLoadingFailedError.js +0 -24
  856. package/Distributable/Logging/Errors/ModuleDynamicLoadingFailed/ModuleDynamicLoadingFailedErrorLocalization__English.d.ts +0 -3
  857. package/Distributable/Logging/Errors/ModuleDynamicLoadingFailed/ModuleDynamicLoadingFailedErrorLocalization__English.js +0 -7
  858. package/Distributable/Logging/Errors/UnexpectedEvent/UnexpectedEventError.d.ts +0 -13
  859. package/Distributable/Logging/Errors/UnexpectedEvent/UnexpectedEventError.js +0 -19
  860. package/Distributable/Logging/Errors/UnexpectedEvent/UnexpectedEventErrorLocalization__English.d.ts +0 -3
  861. package/Distributable/Logging/Errors/UnexpectedEvent/UnexpectedEventErrorLocalization__English.js +0 -6
  862. package/Distributable/Logging/Errors/UnsupportedScenario/UnsupportedScenarioError.d.ts +0 -13
  863. package/Distributable/Logging/Errors/UnsupportedScenario/UnsupportedScenarioError.js +0 -19
  864. package/Distributable/Logging/Errors/UnsupportedScenario/UnsupportedScenarioErrorLocalization__English.d.ts +0 -3
  865. package/Distributable/Logging/Errors/UnsupportedScenario/UnsupportedScenarioErrorLocalization__English.js +0 -6
  866. package/Distributable/Logging/ILogger.d.ts +0 -10
  867. package/Distributable/Logging/ILogger.js +0 -2
  868. package/Distributable/Logging/Logger.d.ts +0 -32
  869. package/Distributable/Logging/Logger.js +0 -99
  870. package/Distributable/Logging/LoggerLocalization__English.d.ts +0 -3
  871. package/Distributable/Logging/LoggerLocalization__English.js +0 -16
  872. package/Distributable/Logging/Logs.d.ts +0 -27
  873. package/Distributable/Logging/Logs.js +0 -2
  874. package/Distributable/Maps/addMultiplePairsToMap.d.ts +0 -1
  875. package/Distributable/Maps/addMultiplePairsToMap.js +0 -9
  876. package/Distributable/Maps/createMapBasedOnOtherMap.d.ts +0 -1
  877. package/Distributable/Maps/createMapBasedOnOtherMap.js +0 -10
  878. package/Distributable/Maps/filterMap.d.ts +0 -1
  879. package/Distributable/Maps/filterMap.js +0 -12
  880. package/Distributable/NodeJS/Timer/NodeJS_Timer.d.ts +0 -7
  881. package/Distributable/NodeJS/Timer/NodeJS_Timer.js +0 -17
  882. package/Distributable/NodeJS.d.ts +0 -7
  883. package/Distributable/NodeJS.js +0 -10
  884. package/Distributable/Numbers/formatNumberWith4KetaKanji.d.ts +0 -1
  885. package/Distributable/Numbers/formatNumberWith4KetaKanji.js +0 -45
  886. package/Distributable/Numbers/isStringifiedNonNegativeIntegerOfRegularNotation.d.ts +0 -1
  887. package/Distributable/Numbers/isStringifiedNonNegativeIntegerOfRegularNotation.js +0 -6
  888. package/Distributable/Numbers/separateEach3DigitsGroupWithComma.d.ts +0 -1
  889. package/Distributable/Numbers/separateEach3DigitsGroupWithComma.js +0 -6
  890. package/Distributable/Numbers/separateEach4DigitsGroupWithComma.d.ts +0 -1
  891. package/Distributable/Numbers/separateEach4DigitsGroupWithComma.js +0 -6
  892. package/Distributable/Pagination/computeFirstItemNumberForSpecificPaginationPage.d.ts +0 -4
  893. package/Distributable/Pagination/computeFirstItemNumberForSpecificPaginationPage.js +0 -6
  894. package/Distributable/Pagination/computeLastItemNumberForSpecificPaginationPage.d.ts +0 -5
  895. package/Distributable/Pagination/computeLastItemNumberForSpecificPaginationPage.js +0 -7
  896. package/Distributable/Pagination/splitToPaginationCollection.d.ts +0 -9
  897. package/Distributable/Pagination/splitToPaginationCollection.js +0 -22
  898. package/Distributable/RandomValuesGenerators/getRandomArrayElement.d.ts +0 -1
  899. package/Distributable/RandomValuesGenerators/getRandomArrayElement.js +0 -10
  900. package/Distributable/RandomValuesGenerators/getRandomBoolean.d.ts +0 -1
  901. package/Distributable/RandomValuesGenerators/getRandomBoolean.js +0 -6
  902. package/Distributable/RandomValuesGenerators/getRandomInteger.d.ts +0 -4
  903. package/Distributable/RandomValuesGenerators/getRandomInteger.js +0 -6
  904. package/Distributable/RandomValuesGenerators/getRandomLatinSymbol.d.ts +0 -4
  905. package/Distributable/RandomValuesGenerators/getRandomLatinSymbol.js +0 -19
  906. package/Distributable/RandomValuesGenerators/getRandomObjectPropertyValue.d.ts +0 -3
  907. package/Distributable/RandomValuesGenerators/getRandomObjectPropertyValue.js +0 -7
  908. package/Distributable/RandomValuesGenerators/getSpecificBooleanValueWithProbability.d.ts +0 -4
  909. package/Distributable/RandomValuesGenerators/getSpecificBooleanValueWithProbability.js +0 -9
  910. package/Distributable/Sets/addMultipleElementsToSet.d.ts +0 -1
  911. package/Distributable/Sets/addMultipleElementsToSet.js +0 -9
  912. package/Distributable/Strings/areStringifiedDigitsOnly.d.ts +0 -1
  913. package/Distributable/Strings/areStringifiedDigitsOnly.js +0 -6
  914. package/Distributable/Strings/capitalizeFirstSymbol.d.ts +0 -1
  915. package/Distributable/Strings/capitalizeFirstSymbol.js +0 -6
  916. package/Distributable/Strings/getLastSymbol.d.ts +0 -1
  917. package/Distributable/Strings/getLastSymbol.js +0 -6
  918. package/Distributable/Strings/getPositionsOfAllSubstringOccurrences.d.ts +0 -1
  919. package/Distributable/Strings/getPositionsOfAllSubstringOccurrences.js +0 -15
  920. package/Distributable/Strings/insertSubstring.d.ts +0 -4
  921. package/Distributable/Strings/insertSubstring.js +0 -12
  922. package/Distributable/Strings/insertSubstringIf.d.ts +0 -1
  923. package/Distributable/Strings/insertSubstringIf.js +0 -6
  924. package/Distributable/Strings/removeAllSpecifiedCharacters.d.ts +0 -1
  925. package/Distributable/Strings/removeAllSpecifiedCharacters.js +0 -13
  926. package/Distributable/Strings/removeNonDigitsCharacters.d.ts +0 -1
  927. package/Distributable/Strings/removeNonDigitsCharacters.js +0 -9
  928. package/Distributable/Strings/removeNthSymbol.d.ts +0 -4
  929. package/Distributable/Strings/removeNthSymbol.js +0 -13
  930. package/Distributable/Strings/replace2OrMoreSpacesTo1.d.ts +0 -1
  931. package/Distributable/Strings/replace2OrMoreSpacesTo1.js +0 -6
  932. package/Distributable/Strings/replaceBrHTML_TagToNewLineEscapeSequence.d.ts +0 -1
  933. package/Distributable/Strings/replaceBrHTML_TagToNewLineEscapeSequence.js +0 -6
  934. package/Distributable/Strings/reverseString.d.ts +0 -1
  935. package/Distributable/Strings/reverseString.js +0 -9
  936. package/Distributable/Strings/splitString.d.ts +0 -1
  937. package/Distributable/Strings/splitString.js +0 -9
  938. package/Distributable/Strings/stringifyAndFormatUnknownAtAdvanceEntity.d.ts +0 -1
  939. package/Distributable/Strings/stringifyAndFormatUnknownAtAdvanceEntity.js +0 -29
  940. package/Distributable/TypeGuards/Arrays/isArrayOfCertainTypeElements.d.ts +0 -1
  941. package/Distributable/TypeGuards/Arrays/isArrayOfCertainTypeElements.js +0 -14
  942. package/Distributable/TypeGuards/Arrays/isArrayOfLength.d.ts +0 -26
  943. package/Distributable/TypeGuards/Arrays/isArrayOfLength.js +0 -27
  944. package/Distributable/TypeGuards/Arrays/isEmptyArray.d.ts +0 -1
  945. package/Distributable/TypeGuards/Arrays/isEmptyArray.js +0 -6
  946. package/Distributable/TypeGuards/Arrays/isNonEmptyArray.d.ts +0 -1
  947. package/Distributable/TypeGuards/Arrays/isNonEmptyArray.js +0 -9
  948. package/Distributable/TypeGuards/Nullables/isNeitherUndefinedNorNull.d.ts +0 -1
  949. package/Distributable/TypeGuards/Nullables/isNeitherUndefinedNorNull.js +0 -6
  950. package/Distributable/TypeGuards/Nullables/isNotNull.d.ts +0 -1
  951. package/Distributable/TypeGuards/Nullables/isNotNull.js +0 -6
  952. package/Distributable/TypeGuards/Nullables/isNotUndefined.d.ts +0 -1
  953. package/Distributable/TypeGuards/Nullables/isNotUndefined.js +0 -6
  954. package/Distributable/TypeGuards/Nullables/isNull.d.ts +0 -1
  955. package/Distributable/TypeGuards/Nullables/isNull.js +0 -6
  956. package/Distributable/TypeGuards/Nullables/isUndefined.d.ts +0 -1
  957. package/Distributable/TypeGuards/Nullables/isUndefined.js +0 -6
  958. package/Distributable/TypeGuards/Numbers/isDecimalFractionOfAnySign.d.ts +0 -1
  959. package/Distributable/TypeGuards/Numbers/isDecimalFractionOfAnySign.js +0 -9
  960. package/Distributable/TypeGuards/Numbers/isNaturalNumber.d.ts +0 -1
  961. package/Distributable/TypeGuards/Numbers/isNaturalNumber.js +0 -9
  962. package/Distributable/TypeGuards/Numbers/isNegativeDecimalFraction.d.ts +0 -1
  963. package/Distributable/TypeGuards/Numbers/isNegativeDecimalFraction.js +0 -9
  964. package/Distributable/TypeGuards/Numbers/isNegativeInteger.d.ts +0 -1
  965. package/Distributable/TypeGuards/Numbers/isNegativeInteger.js +0 -9
  966. package/Distributable/TypeGuards/Numbers/isNegativeIntegerOrZero.d.ts +0 -1
  967. package/Distributable/TypeGuards/Numbers/isNegativeIntegerOrZero.js +0 -9
  968. package/Distributable/TypeGuards/Numbers/isNonNegativeInteger.d.ts +0 -1
  969. package/Distributable/TypeGuards/Numbers/isNonNegativeInteger.js +0 -9
  970. package/Distributable/TypeGuards/Numbers/isNumber.d.ts +0 -1
  971. package/Distributable/TypeGuards/Numbers/isNumber.js +0 -6
  972. package/Distributable/TypeGuards/Numbers/isPositiveDecimalFraction.d.ts +0 -1
  973. package/Distributable/TypeGuards/Numbers/isPositiveDecimalFraction.js +0 -9
  974. package/Distributable/TypeGuards/Objects/isEmptyObject.d.ts +0 -1
  975. package/Distributable/TypeGuards/Objects/isEmptyObject.js +0 -9
  976. package/Distributable/TypeGuards/Objects/isNonEmptyObject.d.ts +0 -1
  977. package/Distributable/TypeGuards/Objects/isNonEmptyObject.js +0 -9
  978. package/Distributable/TypeGuards/Objects/isNonNullObject.d.ts +0 -1
  979. package/Distributable/TypeGuards/Objects/isNonNullObject.js +0 -6
  980. package/Distributable/TypeGuards/Strings/isEmptyString.d.ts +0 -1
  981. package/Distributable/TypeGuards/Strings/isEmptyString.js +0 -6
  982. package/Distributable/TypeGuards/Strings/isNonEmptyString.d.ts +0 -1
  983. package/Distributable/TypeGuards/Strings/isNonEmptyString.js +0 -6
  984. package/Distributable/TypeGuards/Strings/isString.d.ts +0 -1
  985. package/Distributable/TypeGuards/Strings/isString.js +0 -6
  986. package/Distributable/TypeGuards/Strings/isStringOfLength.d.ts +0 -26
  987. package/Distributable/TypeGuards/Strings/isStringOfLength.js +0 -27
  988. package/Distributable/TypeGuards/isBoolean.d.ts +0 -1
  989. package/Distributable/TypeGuards/isBoolean.js +0 -6
  990. package/Distributable/TypeGuards/isElementOfEnumeration.d.ts +0 -3
  991. package/Distributable/TypeGuards/isElementOfEnumeration.js +0 -11
  992. package/Distributable/TypeGuards/isFunctionLike.d.ts +0 -1
  993. package/Distributable/TypeGuards/isFunctionLike.js +0 -6
  994. package/Distributable/Types/ParsedJSON.d.ts +0 -6
  995. package/Distributable/Types/ParsedJSON.js +0 -2
  996. package/Distributable/Types/PartialBy.d.ts +0 -1
  997. package/Distributable/Types/PartialBy.js +0 -2
  998. package/Distributable/ValueTransformers/emptyStringToNull.d.ts +0 -1
  999. package/Distributable/ValueTransformers/emptyStringToNull.js +0 -6
  1000. package/Distributable/ValueTransformers/nullToEmptyString.d.ts +0 -1
  1001. package/Distributable/ValueTransformers/nullToEmptyString.js +0 -6
  1002. package/Distributable/ValueTransformers/nullToUndefined.d.ts +0 -1
  1003. package/Distributable/ValueTransformers/nullToUndefined.js +0 -6
  1004. package/Distributable/ValueTransformers/nullToZero.d.ts +0 -1
  1005. package/Distributable/ValueTransformers/nullToZero.js +0 -6
  1006. package/Distributable/ValueTransformers/undefinedToEmptyArray.d.ts +0 -1
  1007. package/Distributable/ValueTransformers/undefinedToEmptyArray.js +0 -6
  1008. package/Distributable/ValueTransformers/undefinedToEmptyString.d.ts +0 -1
  1009. package/Distributable/ValueTransformers/undefinedToEmptyString.js +0 -6
  1010. package/Distributable/ValueTransformers/undefinedToNull.d.ts +0 -1
  1011. package/Distributable/ValueTransformers/undefinedToNull.js +0 -6
  1012. package/Distributable/index.d.ts +0 -128
  1013. package/Distributable/index.js +0 -246
  1014. package/NodeJS.d.ts +0 -6
  1015. package/index.d.ts +0 -391
  1016. package/tsconfig.json +0 -20
@@ -0,0 +1,209 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const fundamental_constants_1 = require("fundamental-constants");
7
+ const RawObjectDataProcessor_1 = __importDefault(require("../RawObjectDataProcessor/RawObjectDataProcessor"));
8
+ const Logger_1 = __importDefault(require("../Logging/Logger"));
9
+ const InvalidParameterValueError_1 = __importDefault(require("../Errors/InvalidParameterValue/InvalidParameterValueError"));
10
+ const DataSubmittingFailedError_1 = __importDefault(require("../Errors/DataSubmittingFailed/DataSubmittingFailedError"));
11
+ const DataRetrievingFailedError_1 = __importDefault(require("../Errors/DataRetrievingFailed/DataRetrievingFailedError"));
12
+ const InvalidExternalDataError_1 = __importDefault(require("../Errors/InvalidExternalData/InvalidExternalDataError"));
13
+ const InvalidConfigError_1 = __importDefault(require("../Errors/InvalidConfig/InvalidConfigError"));
14
+ const removeSpecificCharacterFromCertainPosition_1 = __importDefault(require("../Strings/removeSpecificCharacterFromCertainPosition"));
15
+ const insertSubstring_1 = __importDefault(require("../Strings/insertSubstring"));
16
+ const serializeURI_QueryParameters_1 = __importDefault(require("./serializeURI_QueryParameters"));
17
+ const isNonEmptyString_1 = __importDefault(require("../TypeGuards/Strings/isNonEmptyString"));
18
+ const isNull_1 = __importDefault(require("../TypeGuards/EmptyTypes/isNull"));
19
+ const isUndefined_1 = __importDefault(require("../TypeGuards/EmptyTypes/isUndefined"));
20
+ const isNotUndefined_1 = __importDefault(require("../TypeGuards/EmptyTypes/isNotUndefined"));
21
+ class AJAX_Service {
22
+ static implementation = null;
23
+ static API_SERVER_URI_CONSTANT_PART__WITHOUT_TRAILING_SLASH = null;
24
+ static URI_QueryParametersSerializer = serializeURI_QueryParameters_1.default;
25
+ static set API_SERVER_URI_CONSTANT_PART(value) {
26
+ AJAX_Service.API_SERVER_URI_CONSTANT_PART__WITHOUT_TRAILING_SLASH = (0, removeSpecificCharacterFromCertainPosition_1.default)({
27
+ targetString: value,
28
+ targetCharacter: "/",
29
+ fromLastPosition: true
30
+ });
31
+ }
32
+ static setup(properties) {
33
+ if ((0, isNotUndefined_1.default)(properties.implementation)) {
34
+ AJAX_Service.implementation = properties.implementation;
35
+ }
36
+ if ((0, isNotUndefined_1.default)(properties.API_ServerURI_ConstantPart)) {
37
+ AJAX_Service.API_SERVER_URI_CONSTANT_PART = properties.API_ServerURI_ConstantPart;
38
+ }
39
+ if ((0, isNotUndefined_1.default)(properties.URI_QueryParametersSerializer)) {
40
+ AJAX_Service.URI_QueryParametersSerializer = properties.URI_QueryParametersSerializer;
41
+ }
42
+ }
43
+ static async retrieveData(compoundParameter) {
44
+ return AJAX_Service.getExpectedToBeInitializedImplementation().retrieveData(compoundParameter);
45
+ }
46
+ static async submitData(compoundParameter) {
47
+ return AJAX_Service.getExpectedToBeInitializedImplementation().submitData(compoundParameter);
48
+ }
49
+ static async retrieveText(compoundParameter) {
50
+ return AJAX_Service.getExpectedToBeInitializedImplementation().retrieveText(compoundParameter);
51
+ }
52
+ async retrieveData(compoundParameter) {
53
+ let rawObjectDataResponse;
54
+ try {
55
+ rawObjectDataResponse = await this.retrieveResponseWithRawObjectData({
56
+ URI: this.normalizeURI(compoundParameter),
57
+ HTTP_Method: compoundParameter.HTTP_Method ?? fundamental_constants_1.HTTP_Methods.get,
58
+ HTTP_Headers: compoundParameter.HTTP_Headers ?? {},
59
+ mustIncludeCookiesAndAuthenticationHeadersToRequest: compoundParameter.mustIncludeCookiesAndAuthenticationHeadersToRequest === true
60
+ });
61
+ }
62
+ catch (error) {
63
+ Logger_1.default.throwErrorWithFormattedMessage({
64
+ errorInstance: new DataRetrievingFailedError_1.default({
65
+ customMessage: "The retrieving data by AJAX has failed."
66
+ }),
67
+ title: DataRetrievingFailedError_1.default.localization.defaultTitle,
68
+ occurrenceLocation: "AJAX_Service.retrieveData(compoundParameter)",
69
+ innerError: error
70
+ });
71
+ }
72
+ return AJAX_Service.normalizeRawObjectDataResponse(rawObjectDataResponse, compoundParameter.validResponseDataSpecification);
73
+ }
74
+ async submitData(compoundParameter) {
75
+ let rawObjectDataResponse;
76
+ try {
77
+ rawObjectDataResponse = await this.submitAndGetRawResponseDataIfAvailable({
78
+ URI: this.normalizeURI(compoundParameter),
79
+ HTTP_Method: compoundParameter.HTTP_Method ?? fundamental_constants_1.HTTP_Methods.get,
80
+ HTTP_Headers: compoundParameter.HTTP_Headers ?? {},
81
+ requestData: compoundParameter.requestData,
82
+ mustExpectResponseData: (0, isNotUndefined_1.default)(compoundParameter.validResponseDataSpecification),
83
+ mustIncludeCookiesAndAuthenticationHeadersToRequest: compoundParameter.mustIncludeCookiesAndAuthenticationHeadersToRequest === true
84
+ });
85
+ }
86
+ catch (error) {
87
+ Logger_1.default.throwErrorWithFormattedMessage({
88
+ errorInstance: new DataSubmittingFailedError_1.default({
89
+ customMessage: "The submitting of the data by AJAX has failed."
90
+ }),
91
+ title: DataSubmittingFailedError_1.default.localization.defaultTitle,
92
+ occurrenceLocation: "AJAX_Service.submitData(compoundParameter)",
93
+ innerError: error
94
+ });
95
+ }
96
+ if ((0, isUndefined_1.default)(compoundParameter.validResponseDataSpecification)) {
97
+ return {
98
+ ...rawObjectDataResponse.isSuccessful ?
99
+ {
100
+ isSuccessful: true,
101
+ data: rawObjectDataResponse.data
102
+ } :
103
+ {
104
+ isSuccessful: false,
105
+ ..."errorObjectPayload" in rawObjectDataResponse ?
106
+ { errorObjectPayload: rawObjectDataResponse.errorObjectPayload } :
107
+ { errorTextPayload: rawObjectDataResponse.errorTextPayload }
108
+ },
109
+ HTTP_Headers: rawObjectDataResponse.HTTP_Headers,
110
+ HTTP_Status: rawObjectDataResponse.HTTP_Status
111
+ };
112
+ }
113
+ return AJAX_Service.normalizeRawObjectDataResponse(rawObjectDataResponse, compoundParameter.validResponseDataSpecification);
114
+ }
115
+ async retrieveText(compoundParameter) {
116
+ return this.retrieveResponseWithTextData({
117
+ URI: this.normalizeURI(compoundParameter),
118
+ HTTP_Method: compoundParameter.HTTP_Method ?? fundamental_constants_1.HTTP_Methods.get,
119
+ HTTP_Headers: compoundParameter.HTTP_Headers ?? {},
120
+ ...(0, isNotUndefined_1.default)(compoundParameter.requestData) ? { requestData: compoundParameter.requestData } : null,
121
+ mustIncludeCookiesAndAuthenticationHeadersToRequest: compoundParameter.mustIncludeCookiesAndAuthenticationHeadersToRequest === true
122
+ });
123
+ }
124
+ normalizeURI(compoundParameter) {
125
+ const targetURI_PartUntilPath = this.normalizeURI_UntilPath(compoundParameter);
126
+ const URI_QueryParameters = compoundParameter.URI_QueryParameters ?? {};
127
+ let serializedQueryParameters;
128
+ if (Object.entries(URI_QueryParameters).length > 0) {
129
+ serializedQueryParameters =
130
+ compoundParameter.URI_QueryParametersSerializer?.(URI_QueryParameters) ??
131
+ AJAX_Service.URI_QueryParametersSerializer(URI_QueryParameters);
132
+ }
133
+ return targetURI_PartUntilPath +
134
+ (0, insertSubstring_1.default)(serializedQueryParameters, { modifier: (nonEmptySerializedQueryParameters) => `?${nonEmptySerializedQueryParameters}` });
135
+ }
136
+ normalizeURI_UntilPath(URI_PathRawDefinition) {
137
+ if ((0, isNonEmptyString_1.default)(URI_PathRawDefinition.alternatingURI_PathPart)) {
138
+ if ((0, isNull_1.default)(AJAX_Service.API_SERVER_URI_CONSTANT_PART__WITHOUT_TRAILING_SLASH)) {
139
+ Logger_1.default.throwErrorWithFormattedMessage({
140
+ errorInstance: new InvalidConfigError_1.default({
141
+ customMessage: "The \"alternatingURI_PathPart\" has been specified while the static field " +
142
+ "\"API_SERVER_URI_CONSTANT_PART\" has not been set."
143
+ }),
144
+ title: InvalidConfigError_1.default.localization.defaultTitle,
145
+ occurrenceLocation: "AJAX_Service.normalizeURI_UntilPath(URI_PathRawDefinition)"
146
+ });
147
+ }
148
+ return encodeURI(`${AJAX_Service.API_SERVER_URI_CONSTANT_PART__WITHOUT_TRAILING_SLASH}/` +
149
+ (0, removeSpecificCharacterFromCertainPosition_1.default)({
150
+ targetString: URI_PathRawDefinition.alternatingURI_PathPart,
151
+ targetCharacter: "/",
152
+ fromFirstPosition: true
153
+ }));
154
+ }
155
+ if ((0, isNonEmptyString_1.default)(URI_PathRawDefinition.specificURI_UntilPath)) {
156
+ return encodeURI(URI_PathRawDefinition.specificURI_UntilPath);
157
+ }
158
+ Logger_1.default.throwErrorWithFormattedMessage({
159
+ errorInstance: new InvalidParameterValueError_1.default({
160
+ customMessage: "Either \"alternatingURI_PathPart\" or \"specificURI_UntilPath\" must be specified with non-empty " +
161
+ "strings while neither has been."
162
+ }),
163
+ title: InvalidParameterValueError_1.default.localization.defaultTitle,
164
+ occurrenceLocation: "AJAX_Service.normalizeURI_UntilPath(URI_PathRawDefinition)"
165
+ });
166
+ }
167
+ static normalizeRawObjectDataResponse(rawObjectDataResponse, validResponseDataSpecification) {
168
+ if (rawObjectDataResponse.isSuccessful) {
169
+ const responseRawDataProcessingResult = RawObjectDataProcessor_1.default.process(rawObjectDataResponse.data, validResponseDataSpecification);
170
+ if (responseRawDataProcessingResult.isRawDataInvalid) {
171
+ Logger_1.default.throwErrorWithFormattedMessage({
172
+ errorInstance: new InvalidExternalDataError_1.default({
173
+ mentionToExpectedData: "HTTP_ResponseData",
174
+ messageSpecificPart: RawObjectDataProcessor_1.default.formatValidationErrorsList(responseRawDataProcessingResult.validationErrorsMessages)
175
+ }),
176
+ title: InvalidExternalDataError_1.default.localization.defaultTitle,
177
+ occurrenceLocation: "AJAX_Service.normalizeRawObjectDataResponse(rawObjectDataResponse, validResponseDataSpecification)"
178
+ });
179
+ }
180
+ return {
181
+ isSuccessful: true,
182
+ data: responseRawDataProcessingResult.processedData,
183
+ HTTP_Headers: rawObjectDataResponse.HTTP_Headers,
184
+ HTTP_Status: rawObjectDataResponse.HTTP_Status
185
+ };
186
+ }
187
+ return {
188
+ isSuccessful: false,
189
+ ..."errorObjectPayload" in rawObjectDataResponse ?
190
+ { errorObjectPayload: rawObjectDataResponse.errorObjectPayload } :
191
+ { errorTextPayload: rawObjectDataResponse.errorTextPayload },
192
+ HTTP_Headers: rawObjectDataResponse.HTTP_Headers,
193
+ HTTP_Status: rawObjectDataResponse.HTTP_Status
194
+ };
195
+ }
196
+ static getExpectedToBeInitializedImplementation() {
197
+ if ((0, isNull_1.default)(AJAX_Service.implementation)) {
198
+ Logger_1.default.throwErrorWithFormattedMessage({
199
+ errorType: "ImplementationHasNotBeenSetError",
200
+ title: "Implementation has not been set",
201
+ description: "To use the static methods of \"AJAX_Service\" class and its inheritors, it is required to set " +
202
+ "the \"implementation\" public static field first or use \"setup\" static method.",
203
+ occurrenceLocation: "AJAX_Service.getExpectedToBeInitializedImplementation()"
204
+ });
205
+ }
206
+ return AJAX_Service.implementation;
207
+ }
208
+ }
209
+ exports.default = AJAX_Service;
@@ -0,0 +1,211 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const AJAX_Service_1 = __importDefault(require("./AJAX_Service"));
7
+ const Logger_1 = __importDefault(require("../Logging/Logger"));
8
+ const DataRetrievingFailedError_1 = __importDefault(require("../Errors/DataRetrievingFailed/DataRetrievingFailedError"));
9
+ const DataSubmittingFailedError_1 = __importDefault(require("../Errors/DataSubmittingFailed/DataSubmittingFailedError"));
10
+ const UnsupportedScenarioError_1 = __importDefault(require("../Errors/UnsupportedScenario/UnsupportedScenarioError"));
11
+ const isPossiblyReadonlyParsedJSON_1 = __importDefault(require("../TypeGuards/ParsedJSON/isPossiblyReadonlyParsedJSON"));
12
+ const HTTP_ResponseBodyParsingFailureError_1 = __importDefault(require("../Errors/HTTP/ResponseBodyParsingFailure/HTTP_ResponseBodyParsingFailureError"));
13
+ const isNotUndefined_1 = __importDefault(require("../TypeGuards/EmptyTypes/isNotUndefined"));
14
+ class FetchAPI_Service extends AJAX_Service_1.default {
15
+ async retrieveResponseWithRawObjectData(compoundParameter) {
16
+ let response;
17
+ try {
18
+ response = await fetch(compoundParameter.URI, {
19
+ method: compoundParameter.HTTP_Method,
20
+ headers: { ...compoundParameter.HTTP_Headers },
21
+ ...compoundParameter.mustIncludeCookiesAndAuthenticationHeadersToRequest ? { credentials: "include" } : null
22
+ });
23
+ }
24
+ catch (error) {
25
+ Logger_1.default.throwErrorWithFormattedMessage({
26
+ errorInstance: new DataRetrievingFailedError_1.default({
27
+ customMessage: "The error has occurred before response has been retrieved."
28
+ }),
29
+ title: DataRetrievingFailedError_1.default.localization.defaultTitle,
30
+ occurrenceLocation: "FetchAPI_Service.retrieveResponseWithRawData(compoundParameter)",
31
+ innerError: error
32
+ });
33
+ }
34
+ return {
35
+ ...response.ok ?
36
+ {
37
+ isSuccessful: true,
38
+ data: await FetchAPI_Service.extractRawObjectDataFromResponse(response)
39
+ } :
40
+ {
41
+ isSuccessful: false,
42
+ ...await FetchAPI_Service.extractErrorPayloadFromResponse(response)
43
+ },
44
+ HTTP_Headers: Array.from(response.headers).reduce((HTTP_Headers, [key, value]) => {
45
+ HTTP_Headers[key] = value;
46
+ return HTTP_Headers;
47
+ }, {}),
48
+ HTTP_Status: response.status
49
+ };
50
+ }
51
+ async submitAndGetRawResponseDataIfAvailable(compoundParameter) {
52
+ let response;
53
+ try {
54
+ response = await fetch(compoundParameter.URI, {
55
+ method: compoundParameter.HTTP_Method,
56
+ headers: {
57
+ "Content-Type": "application/json; charset=UTF-8",
58
+ ...compoundParameter.HTTP_Headers
59
+ },
60
+ body: JSON.stringify(compoundParameter.requestData),
61
+ ...compoundParameter.mustIncludeCookiesAndAuthenticationHeadersToRequest ? { credentials: "include" } : null
62
+ });
63
+ }
64
+ catch (error) {
65
+ Logger_1.default.throwErrorWithFormattedMessage({
66
+ errorInstance: new DataSubmittingFailedError_1.default({
67
+ customMessage: "The error has occurred before server response has been retrieved."
68
+ }),
69
+ title: DataSubmittingFailedError_1.default.localization.defaultTitle,
70
+ occurrenceLocation: "FetchAPI_Service.submitAndGetRawResponseDataIfAvailable(compoundParameter)",
71
+ innerError: error
72
+ });
73
+ }
74
+ return {
75
+ ...response.ok ?
76
+ {
77
+ isSuccessful: true,
78
+ data: compoundParameter.mustExpectResponseData ?
79
+ await FetchAPI_Service.extractRawObjectDataFromResponse(response) : {}
80
+ } :
81
+ {
82
+ isSuccessful: false,
83
+ ...await FetchAPI_Service.extractErrorPayloadFromResponse(response)
84
+ },
85
+ HTTP_Headers: Array.from(response.headers).reduce((HTTP_Headers, [key, value]) => {
86
+ HTTP_Headers[key] = value;
87
+ return HTTP_Headers;
88
+ }, {}),
89
+ HTTP_Status: response.status
90
+ };
91
+ }
92
+ async retrieveResponseWithTextData(compoundParameter) {
93
+ let response;
94
+ try {
95
+ response = await fetch(compoundParameter.URI, {
96
+ method: compoundParameter.HTTP_Method,
97
+ headers: {
98
+ ...(0, isNotUndefined_1.default)(compoundParameter.requestData) ? { "Content-Type": "application/json; charset=UTF-8" } : null,
99
+ ...compoundParameter.HTTP_Headers
100
+ },
101
+ ...(0, isNotUndefined_1.default)(compoundParameter.requestData) ? { body: JSON.stringify(compoundParameter.requestData) } : null,
102
+ ...compoundParameter.mustIncludeCookiesAndAuthenticationHeadersToRequest ? { credentials: "include" } : null
103
+ });
104
+ }
105
+ catch (error) {
106
+ Logger_1.default.throwErrorWithFormattedMessage({
107
+ errorInstance: new DataRetrievingFailedError_1.default({
108
+ customMessage: "The error has occurred before response has been retrieved."
109
+ }),
110
+ title: DataRetrievingFailedError_1.default.localization.defaultTitle,
111
+ occurrenceLocation: "FetchAPI_Service.retrieveResponseWithTextData(compoundParameter)",
112
+ innerError: error
113
+ });
114
+ }
115
+ let decodedText;
116
+ if (response.ok) {
117
+ try {
118
+ decodedText = await response.text();
119
+ }
120
+ catch (error) {
121
+ Logger_1.default.throwErrorWithFormattedMessage({
122
+ errorInstance: new HTTP_ResponseBodyParsingFailureError_1.default("The HTTP response body could not be represented as text."),
123
+ title: HTTP_ResponseBodyParsingFailureError_1.default.localization.defaultTitle,
124
+ occurrenceLocation: "FetchAPI_Service.retrieveResponseWithTextData(compoundParameter)",
125
+ innerError: error
126
+ });
127
+ }
128
+ }
129
+ return {
130
+ ...(0, isNotUndefined_1.default)(decodedText) ?
131
+ {
132
+ isSuccessful: true,
133
+ text: decodedText
134
+ } : {
135
+ isSuccessful: false,
136
+ ...await FetchAPI_Service.extractErrorPayloadFromResponse(response)
137
+ },
138
+ HTTP_Headers: Array.from(response.headers).reduce((HTTP_Headers, [key, value]) => {
139
+ HTTP_Headers[key] = value;
140
+ return HTTP_Headers;
141
+ }, {}),
142
+ HTTP_Status: response.status
143
+ };
144
+ }
145
+ static async extractRawObjectDataFromResponse(response) {
146
+ let responseRawData;
147
+ try {
148
+ responseRawData = await response.json();
149
+ }
150
+ catch (error) {
151
+ Logger_1.default.throwErrorWithFormattedMessage({
152
+ errorInstance: new HTTP_ResponseBodyParsingFailureError_1.default("The HTTP response body could not be represented as JSON."),
153
+ title: HTTP_ResponseBodyParsingFailureError_1.default.localization.defaultTitle,
154
+ occurrenceLocation: "FetchAPI_Service.extractRawObjectDataFromResponse(response)",
155
+ innerError: error
156
+ });
157
+ }
158
+ if (!(0, isPossiblyReadonlyParsedJSON_1.default)(responseRawData)) {
159
+ Logger_1.default.throwErrorWithFormattedMessage({
160
+ errorInstance: new UnsupportedScenarioError_1.default(`The data has type "${typeof responseRawData}" while currently non-object data in not supported.`),
161
+ title: UnsupportedScenarioError_1.default.localization.defaultTitle,
162
+ occurrenceLocation: "FetchAPI_Service.extractRawObjectDataFromResponse(response)"
163
+ });
164
+ }
165
+ return responseRawData;
166
+ }
167
+ static async extractErrorPayloadFromResponse(response) {
168
+ const contentType = response.headers.get("content-type");
169
+ if (contentType?.includes("application/json") === true) {
170
+ let objectTypeData;
171
+ try {
172
+ objectTypeData = await response.json();
173
+ }
174
+ catch (error) {
175
+ Logger_1.default.throwErrorWithFormattedMessage({
176
+ errorInstance: new HTTP_ResponseBodyParsingFailureError_1.default("The HTTP response body could not be represented as JSON while \"content-type\" HTTP header is includes " +
177
+ "\"application/json\"."),
178
+ title: HTTP_ResponseBodyParsingFailureError_1.default.localization.defaultTitle,
179
+ occurrenceLocation: "FetchAPI_Service.extractErrorPayloadFromResponse(response)",
180
+ innerError: error
181
+ });
182
+ }
183
+ if (!(0, isPossiblyReadonlyParsedJSON_1.default)(objectTypeData)) {
184
+ Logger_1.default.throwErrorWithFormattedMessage({
185
+ errorInstance: new UnsupportedScenarioError_1.default(`The data has type "${typeof objectTypeData}" while currently non-object data in not supported.`),
186
+ title: UnsupportedScenarioError_1.default.localization.defaultTitle,
187
+ occurrenceLocation: "FetchAPI_Service.extractRawObjectDataFromResponse(response)"
188
+ });
189
+ }
190
+ return { errorObjectPayload: objectTypeData };
191
+ }
192
+ if (contentType?.includes("text") === true) {
193
+ let decodedText;
194
+ try {
195
+ decodedText = await response.text();
196
+ }
197
+ catch (error) {
198
+ Logger_1.default.throwErrorWithFormattedMessage({
199
+ errorInstance: new HTTP_ResponseBodyParsingFailureError_1.default("The HTTP response body could not be represented as text while \"content-type\" HTTP header is includes " +
200
+ "\"text\"."),
201
+ title: HTTP_ResponseBodyParsingFailureError_1.default.localization.defaultTitle,
202
+ occurrenceLocation: "FetchAPI_Service.extractRawObjectDataFromResponse(compoundParameter)",
203
+ innerError: error
204
+ });
205
+ }
206
+ return { errorTextPayload: decodedText };
207
+ }
208
+ return { errorObjectPayload: {} };
209
+ }
210
+ }
211
+ exports.default = FetchAPI_Service;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const isString_1 = __importDefault(require("../TypeGuards/Strings/isString"));
7
+ const index_1 = require("../index");
8
+ const serializeURI_QueryParameters = (URI_QueryParameters) => {
9
+ const stringifiedKeysAndValueParis = [];
10
+ for (const [key, value] of Object.entries(URI_QueryParameters)) {
11
+ if ((0, isString_1.default)(value) || (0, index_1.isNumber)(value, { mustConsiderNaN_AsNumber: true }) || (0, index_1.isBoolean)(value)) {
12
+ stringifiedKeysAndValueParis.push(`${key}=${value}`);
13
+ }
14
+ }
15
+ return stringifiedKeysAndValueParis.join("&");
16
+ };
17
+ exports.default = serializeURI_QueryParameters;
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = createArrayOfNaturalNumbers;
7
+ const isNaturalNumberOrZero_1 = __importDefault(require("../../TypeGuards/Numbers/isNaturalNumberOrZero"));
8
+ const isNaturalNumber_1 = __importDefault(require("../../TypeGuards/Numbers/isNaturalNumber"));
9
+ const Logger_1 = __importDefault(require("../../Logging/Logger"));
10
+ const InvalidParameterValueError_1 = __importDefault(require("../../Errors/InvalidParameterValue/InvalidParameterValueError"));
11
+ function createArrayOfNaturalNumbers({ elementsCount, isDescendingOrder = false, startingNumber = isDescendingOrder ? (elementsCount === 0 ? 1 : elementsCount) : 1 }) {
12
+ if (!(0, isNaturalNumberOrZero_1.default)(elementsCount)) {
13
+ Logger_1.default.throwErrorWithFormattedMessage({
14
+ errorInstance: new InvalidParameterValueError_1.default({
15
+ parameterNumber: 1,
16
+ parameterName: "options",
17
+ messageSpecificPart: `The \`elementsCount\` must be the natural number or zero while ${elementsCount} has been specified.`
18
+ }),
19
+ title: InvalidParameterValueError_1.default.localization.defaultTitle,
20
+ occurrenceLocation: "createArrayOfNaturalNumbers(options)"
21
+ });
22
+ }
23
+ if (!(0, isNaturalNumber_1.default)(startingNumber)) {
24
+ Logger_1.default.throwErrorWithFormattedMessage({
25
+ errorInstance: new InvalidParameterValueError_1.default({
26
+ parameterNumber: 1,
27
+ parameterName: "options",
28
+ messageSpecificPart: `The \`startingNumber\` must the natural number while ${elementsCount} has been specified.`
29
+ }),
30
+ title: InvalidParameterValueError_1.default.localization.defaultTitle,
31
+ occurrenceLocation: "createArrayOfNaturalNumbers(options)"
32
+ });
33
+ }
34
+ if (isDescendingOrder && startingNumber < elementsCount) {
35
+ Logger_1.default.throwErrorWithFormattedMessage({
36
+ errorInstance: new InvalidParameterValueError_1.default({
37
+ parameterNumber: 1,
38
+ parameterName: "options",
39
+ messageSpecificPart: `The specified \`startingNumber\` ${startingNumber} is smaller than requested ${elementsCount} ` +
40
+ "elements count. " +
41
+ "The monotonically decreasing array of natural numbers could not be created with such conditions."
42
+ }),
43
+ title: InvalidParameterValueError_1.default.localization.defaultTitle,
44
+ occurrenceLocation: "createArrayOfNaturalNumbers(options)"
45
+ });
46
+ }
47
+ return Array.from(new Array(elementsCount).keys()).
48
+ map((elementAsIndex) => startingNumber + (isDescendingOrder ? -elementAsIndex : elementAsIndex));
49
+ }
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = getArrayElementSatisfiesThePredicateIfSuchElementIsExactlyOne;
7
+ const Logger_1 = __importDefault(require("../../Logging/Logger"));
8
+ const UnexpectedEventError_1 = __importDefault(require("../../Errors/UnexpectedEvent/UnexpectedEventError"));
9
+ function getArrayElementSatisfiesThePredicateIfSuchElementIsExactlyOne(targetArray, predicate, options = {}) {
10
+ const allElementsMatchingWithPredicate = targetArray.filter(predicate);
11
+ if (allElementsMatchingWithPredicate.length === 0) {
12
+ if (options.mustThrowErrorIfElementNotFoundOrMatchesAreMultiple === true) {
13
+ Logger_1.default.throwErrorWithFormattedMessage({
14
+ errorInstance: new UnexpectedEventError_1.default("Array element satisfies the specified predicate not found."),
15
+ title: UnexpectedEventError_1.default.localization.defaultTitle,
16
+ occurrenceLocation: "getArrayElementSatisfiesThePredicateIfSuchElementIsExactlyOne(targetArray, predicate, options)"
17
+ });
18
+ }
19
+ return null;
20
+ }
21
+ if (allElementsMatchingWithPredicate.length > 1) {
22
+ if (options.mustThrowErrorIfElementNotFoundOrMatchesAreMultiple === true) {
23
+ Logger_1.default.throwErrorWithFormattedMessage({
24
+ errorInstance: new UnexpectedEventError_1.default("There are multiple elements satisfies the predicate. " +
25
+ "As it follows from the function name, two or more matches case is being considered as the unexpected event."),
26
+ title: UnexpectedEventError_1.default.localization.defaultTitle,
27
+ occurrenceLocation: "getArrayElementSatisfiesThePredicateIfSuchElementIsExactlyOne(targetArray, predicate, options)"
28
+ });
29
+ }
30
+ return null;
31
+ }
32
+ return allElementsMatchingWithPredicate[0];
33
+ }
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = getLastElementOfArray;
7
+ const isUndefined_1 = __importDefault(require("../../TypeGuards/EmptyTypes/isUndefined"));
8
+ const Logger_1 = __importDefault(require("../../Logging/Logger"));
9
+ const UnexpectedEventError_1 = __importDefault(require("../../Errors/UnexpectedEvent/UnexpectedEventError"));
10
+ function getLastElementOfArray(targetArray, options) {
11
+ const lastElementOfTargetArray = targetArray[targetArray.length - 1];
12
+ if ((0, isUndefined_1.default)(lastElementOfTargetArray)) {
13
+ if (options?.mustThrowErrorIfArrayIsEmpty === true) {
14
+ Logger_1.default.throwErrorWithFormattedMessage({
15
+ errorInstance: new UnexpectedEventError_1.default("Contrary to expectations, target array is empty thus there is no the last element could be accessed."),
16
+ title: UnexpectedEventError_1.default.localization.defaultTitle,
17
+ occurrenceLocation: "getLastElementOfArray(targetArray, options)"
18
+ });
19
+ }
20
+ return null;
21
+ }
22
+ return lastElementOfTargetArray;
23
+ }
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = getIndexOfArrayElementSatisfiesThePredicateIfSuchElementIsExactlyOne;
7
+ const Logger_1 = __importDefault(require("../../Logging/Logger"));
8
+ const UnexpectedEventError_1 = __importDefault(require("../../Errors/UnexpectedEvent/UnexpectedEventError"));
9
+ function getIndexOfArrayElementSatisfiesThePredicateIfSuchElementIsExactlyOne(targetArray, predicate, options = {}) {
10
+ const indexesOfAllElementsSatisfiesThePredicate = [];
11
+ for (const [index, element] of targetArray.entries()) {
12
+ if (predicate(element)) {
13
+ indexesOfAllElementsSatisfiesThePredicate.push(index);
14
+ }
15
+ }
16
+ if (indexesOfAllElementsSatisfiesThePredicate.length === 0) {
17
+ if (options.mustThrowErrorIfElementNotFoundOrMatchesAreMultiple === true) {
18
+ Logger_1.default.throwErrorWithFormattedMessage({
19
+ errorInstance: new UnexpectedEventError_1.default("Array element satisfies to specified predicate not found."),
20
+ title: UnexpectedEventError_1.default.localization.defaultTitle,
21
+ occurrenceLocation: "getIndexOfArrayElementSatisfiesThePredicateIfSuchElementIsExactlyOne" +
22
+ "(targetArray, predicate, options)"
23
+ });
24
+ }
25
+ return null;
26
+ }
27
+ if (indexesOfAllElementsSatisfiesThePredicate.length > 1) {
28
+ if (options.mustThrowErrorIfElementNotFoundOrMatchesAreMultiple === true) {
29
+ Logger_1.default.throwErrorWithFormattedMessage({
30
+ errorInstance: new UnexpectedEventError_1.default("There are multiple elements satisfies the predicate. As it follows from the function name, two or more " +
31
+ "matches case is being considered as unexpected event."),
32
+ title: UnexpectedEventError_1.default.localization.defaultTitle,
33
+ occurrenceLocation: "getIndexOfArrayElementSatisfiesThePredicateIfSuchElementIsExactlyOne" +
34
+ "(targetArray, predicate, options)"
35
+ });
36
+ }
37
+ return null;
38
+ }
39
+ return indexesOfAllElementsSatisfiesThePredicate[0];
40
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = getIndexesOfSatisfiesThePredicateArrayElements;
4
+ function getIndexesOfSatisfiesThePredicateArrayElements(targetArray, predicate) {
5
+ return targetArray.flatMap((arrayElement, index) => (predicate(arrayElement) ? index : []));
6
+ }