@ryuzaki13/react-foundation-lib 2.31.1 → 2.32.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 (494) hide show
  1. package/README.md +17 -5
  2. package/dist/analytical-table/definition/analyticalDefinitionConstants.d.ts +17 -0
  3. package/dist/analytical-table/definition/analyticalDefinitionConstants.d.ts.map +1 -0
  4. package/dist/analytical-table/definition/compileAnalyticalTableDefinition.d.ts.map +1 -1
  5. package/dist/analytical-table/definition/types.d.ts +6 -5
  6. package/dist/analytical-table/definition/types.d.ts.map +1 -1
  7. package/dist/analytical-table/dynamic-columns/analyticalDateColumnConstants.d.ts +7 -0
  8. package/dist/analytical-table/dynamic-columns/analyticalDateColumnConstants.d.ts.map +1 -0
  9. package/dist/analytical-table/dynamic-columns/dateColumns.d.ts.map +1 -1
  10. package/dist/analytical-table/dynamic-columns/types.d.ts +2 -1
  11. package/dist/analytical-table/dynamic-columns/types.d.ts.map +1 -1
  12. package/dist/analytical-table/index.js +124 -114
  13. package/dist/analytical-table/index.js.map +1 -1
  14. package/dist/analytical-table/projections/analyticalExportConstants.d.ts +7 -0
  15. package/dist/analytical-table/projections/analyticalExportConstants.d.ts.map +1 -0
  16. package/dist/analytical-table/projections/expansion.d.ts +2 -1
  17. package/dist/analytical-table/projections/expansion.d.ts.map +1 -1
  18. package/dist/analytical-table/projections/exportProjection.d.ts.map +1 -1
  19. package/dist/analytical-table/projections/types.d.ts +3 -2
  20. package/dist/analytical-table/projections/types.d.ts.map +1 -1
  21. package/dist/analytical-table/runtime/aggregation.d.ts.map +1 -1
  22. package/dist/analytical-table/runtime/analyticalRowConstants.d.ts +4 -0
  23. package/dist/analytical-table/runtime/analyticalRowConstants.d.ts.map +1 -0
  24. package/dist/analytical-table/runtime/analyticalViewConstants.d.ts +16 -0
  25. package/dist/analytical-table/runtime/analyticalViewConstants.d.ts.map +1 -0
  26. package/dist/analytical-table/runtime/buildGroupedModel.d.ts.map +1 -1
  27. package/dist/analytical-table/runtime/filtering.d.ts.map +1 -1
  28. package/dist/analytical-table/runtime/grouping.d.ts.map +1 -1
  29. package/dist/analytical-table/runtime/hierarchy.d.ts +2 -1
  30. package/dist/analytical-table/runtime/hierarchy.d.ts.map +1 -1
  31. package/dist/analytical-table/runtime/totals.d.ts +2 -2
  32. package/dist/analytical-table/runtime/totals.d.ts.map +1 -1
  33. package/dist/analytical-table/runtime/types.d.ts +5 -3
  34. package/dist/analytical-table/runtime/types.d.ts.map +1 -1
  35. package/dist/analytical-table/runtime/valueComparison.d.ts.map +1 -1
  36. package/dist/array/index.js +1 -1
  37. package/dist/array/reorder.d.ts +6 -1
  38. package/dist/array/reorder.d.ts.map +1 -1
  39. package/dist/async-task-runner/createCoalescingTaskRunner.d.ts.map +1 -1
  40. package/dist/async-task-runner/createDeadlineTimer.d.ts.map +1 -1
  41. package/dist/async-task-runner/index.js +39 -36
  42. package/dist/async-task-runner/index.js.map +1 -1
  43. package/dist/async-task-runner/nativeTimerConstants.d.ts +3 -0
  44. package/dist/async-task-runner/nativeTimerConstants.d.ts.map +1 -0
  45. package/dist/binary/base64Constants.d.ts +6 -0
  46. package/dist/binary/base64Constants.d.ts.map +1 -0
  47. package/dist/binary/binaryToBlob.d.ts.map +1 -1
  48. package/dist/binary/getBase64DecodedSize.d.ts.map +1 -1
  49. package/dist/binary/index.js +95 -70
  50. package/dist/binary/index.js.map +1 -1
  51. package/dist/browser-notifications/browserNotificationConstants.d.ts +3 -0
  52. package/dist/browser-notifications/browserNotificationConstants.d.ts.map +1 -0
  53. package/dist/browser-notifications/browserNotificationTypes.d.ts +2 -1
  54. package/dist/browser-notifications/browserNotificationTypes.d.ts.map +1 -1
  55. package/dist/browser-notifications/createBrowserNotificationPresenter.d.ts.map +1 -1
  56. package/dist/browser-notifications/index.js +38 -37
  57. package/dist/browser-notifications/index.js.map +1 -1
  58. package/dist/chunks/{array-D-_yMMUK.js → array-bd7LYFto.js} +1 -3
  59. package/dist/chunks/{array-D-_yMMUK.js.map → array-bd7LYFto.js.map} +1 -1
  60. package/dist/chunks/{dom-BK22UmgF.js → dom-ZSeWZ0Gg.js} +103 -98
  61. package/dist/chunks/dom-ZSeWZ0Gg.js.map +1 -0
  62. package/dist/chunks/formatDate-CNPcfNte.js +133 -0
  63. package/dist/chunks/formatDate-CNPcfNte.js.map +1 -0
  64. package/dist/chunks/{formatters-rxriDRPk.js → formatters-CO40zvVB.js} +496 -497
  65. package/dist/chunks/formatters-CO40zvVB.js.map +1 -0
  66. package/dist/chunks/{formulas-BXT_XBWI.js → formulas-Y0HOcFhe.js} +90 -86
  67. package/dist/chunks/formulas-Y0HOcFhe.js.map +1 -0
  68. package/dist/chunks/hasSignatureBytes-D2wO_Myl.js +11 -0
  69. package/dist/chunks/hasSignatureBytes-D2wO_Myl.js.map +1 -0
  70. package/dist/chunks/keyboardConstants-BZKskWsm.js +6 -0
  71. package/dist/chunks/keyboardConstants-BZKskWsm.js.map +1 -0
  72. package/dist/chunks/media-imBOXWwa.js +192 -0
  73. package/dist/chunks/media-imBOXWwa.js.map +1 -0
  74. package/dist/chunks/mimeTypeConstants-BzONV-b1.js +6 -0
  75. package/dist/chunks/mimeTypeConstants-BzONV-b1.js.map +1 -0
  76. package/dist/chunks/{query-client-CVRfrYZM.js → query-client-D0HQZ84w.js} +142 -142
  77. package/dist/chunks/query-client-D0HQZ84w.js.map +1 -0
  78. package/dist/chunks/scalarTypeClassification-D4YcGxtQ.js +766 -0
  79. package/dist/chunks/scalarTypeClassification-D4YcGxtQ.js.map +1 -0
  80. package/dist/chunks/scalarTypeConstants-CnSsjpGO.js +6 -0
  81. package/dist/chunks/scalarTypeConstants-CnSsjpGO.js.map +1 -0
  82. package/dist/chunks/utils-DW0Yso1Q.js +210 -0
  83. package/dist/chunks/utils-DW0Yso1Q.js.map +1 -0
  84. package/dist/chunks/{uuid-CUJPAbRY.js → uuid-izDzLv18.js} +1 -2
  85. package/dist/chunks/uuid-izDzLv18.js.map +1 -0
  86. package/dist/chunks/validate-8URYKKly.js +613 -0
  87. package/dist/chunks/validate-8URYKKly.js.map +1 -0
  88. package/dist/copy/index.js +5 -5
  89. package/dist/copy/index.js.map +1 -1
  90. package/dist/copy/useCopyFeedback.d.ts.map +1 -1
  91. package/dist/crypto/hashString.d.ts.map +1 -1
  92. package/dist/crypto/hexadecimalConstants.d.ts +3 -0
  93. package/dist/crypto/hexadecimalConstants.d.ts.map +1 -0
  94. package/dist/crypto/index.js +25 -24
  95. package/dist/crypto/index.js.map +1 -1
  96. package/dist/crypto/uuid.d.ts.map +1 -1
  97. package/dist/date-segments/index.js +81 -81
  98. package/dist/date-segments/index.js.map +1 -1
  99. package/dist/date-segments/mask.d.ts +13 -3
  100. package/dist/date-segments/mask.d.ts.map +1 -1
  101. package/dist/decimal/decimalConstants.d.ts +3 -0
  102. package/dist/decimal/decimalConstants.d.ts.map +1 -0
  103. package/dist/decimal/index.js +0 -2
  104. package/dist/decimal/index.js.map +1 -1
  105. package/dist/decimal/normalizeDecimal.d.ts.map +1 -1
  106. package/dist/decimal/normalizeDecimalLiteral.d.ts.map +1 -1
  107. package/dist/decimal/resolveDecimalMaxLength.d.ts.map +1 -1
  108. package/dist/decimal/sumDecimals.d.ts.map +1 -1
  109. package/dist/decimal/writeDecimalParts.d.ts.map +1 -1
  110. package/dist/dom/document-scroll/acquireDocumentScrollLock.d.ts.map +1 -1
  111. package/dist/dom/document-scroll/attachDocumentTouchScrollGuard.d.ts.map +1 -1
  112. package/dist/dom/document-scroll/canConsumeVerticalTouchScroll.d.ts.map +1 -1
  113. package/dist/dom/domEventConstants.d.ts +4 -0
  114. package/dist/dom/domEventConstants.d.ts.map +1 -0
  115. package/dist/dom/domScrollConstants.d.ts +3 -0
  116. package/dist/dom/domScrollConstants.d.ts.map +1 -0
  117. package/dist/dom/index.js +1 -1
  118. package/dist/dom/installFaviconOverride.d.ts.map +1 -1
  119. package/dist/dom/overlayFocusConstants.d.ts +4 -0
  120. package/dist/dom/overlayFocusConstants.d.ts.map +1 -0
  121. package/dist/dom/scroll-anchor/captureScrollAnchor.d.ts.map +1 -1
  122. package/dist/dom/useClickOutside.d.ts +1 -1
  123. package/dist/dom/useClickOutside.d.ts.map +1 -1
  124. package/dist/dom/useEscapeDismiss.d.ts +1 -1
  125. package/dist/dom/useEscapeDismiss.d.ts.map +1 -1
  126. package/dist/dom/useFocusTrap.d.ts.map +1 -1
  127. package/dist/dom/useIsTouchDevice.d.ts.map +1 -1
  128. package/dist/dom/useOverlayFocus.d.ts +3 -2
  129. package/dist/dom/useOverlayFocus.d.ts.map +1 -1
  130. package/dist/dom/visual-viewport/attachVisualViewportFrame.d.ts.map +1 -1
  131. package/dist/error-report/breadcrumbs.d.ts.map +1 -1
  132. package/dist/error-report/capture.d.ts.map +1 -1
  133. package/dist/error-report/captureOptions.d.ts +3 -2
  134. package/dist/error-report/captureOptions.d.ts.map +1 -1
  135. package/dist/error-report/capturePolicyConstants.d.ts +4 -0
  136. package/dist/error-report/capturePolicyConstants.d.ts.map +1 -0
  137. package/dist/error-report/dataPreview.d.ts.map +1 -1
  138. package/dist/error-report/diagnostics.d.ts.map +1 -1
  139. package/dist/error-report/drafts.d.ts.map +1 -1
  140. package/dist/error-report/environment.d.ts.map +1 -1
  141. package/dist/error-report/errorInfo.d.ts.map +1 -1
  142. package/dist/error-report/errorReportCaptureLimits.d.ts +26 -0
  143. package/dist/error-report/errorReportCaptureLimits.d.ts.map +1 -0
  144. package/dist/error-report/errorReportContractConstants.d.ts +32 -0
  145. package/dist/error-report/errorReportContractConstants.d.ts.map +1 -0
  146. package/dist/error-report/index.js +586 -587
  147. package/dist/error-report/index.js.map +1 -1
  148. package/dist/error-report/payload.d.ts.map +1 -1
  149. package/dist/error-report/queue.d.ts.map +1 -1
  150. package/dist/error-report/queueContract.d.ts +7 -6
  151. package/dist/error-report/queueContract.d.ts.map +1 -1
  152. package/dist/error-report/queueRecord.d.ts.map +1 -1
  153. package/dist/error-report/queueResultConstants.d.ts +14 -0
  154. package/dist/error-report/queueResultConstants.d.ts.map +1 -0
  155. package/dist/error-report/runtimeDeduplication.d.ts +2 -1
  156. package/dist/error-report/runtimeDeduplication.d.ts.map +1 -1
  157. package/dist/error-report/safeValue.d.ts.map +1 -1
  158. package/dist/error-report/safeValueMarkerConstants.d.ts +16 -0
  159. package/dist/error-report/safeValueMarkerConstants.d.ts.map +1 -0
  160. package/dist/error-report/schema.d.ts.map +1 -1
  161. package/dist/error-report/types.d.ts +10 -8
  162. package/dist/error-report/types.d.ts.map +1 -1
  163. package/dist/error-report-source-maps/archive.d.ts.map +1 -1
  164. package/dist/error-report-source-maps/artifact.d.ts.map +1 -1
  165. package/dist/error-report-source-maps/index.js +238 -238
  166. package/dist/error-report-source-maps/index.js.map +1 -1
  167. package/dist/error-report-source-maps/manifest.d.ts.map +1 -1
  168. package/dist/error-report-source-maps/package.d.ts.map +1 -1
  169. package/dist/error-report-source-maps/sourceMapArtifactConstants.d.ts +11 -0
  170. package/dist/error-report-source-maps/sourceMapArtifactConstants.d.ts.map +1 -0
  171. package/dist/error-report-source-maps/symbolicate.d.ts.map +1 -1
  172. package/dist/error-report-source-maps/symbolicationResultConstants.d.ts +6 -0
  173. package/dist/error-report-source-maps/symbolicationResultConstants.d.ts.map +1 -0
  174. package/dist/error-report-source-maps/types.d.ts +4 -2
  175. package/dist/error-report-source-maps/types.d.ts.map +1 -1
  176. package/dist/excel/excel.d.ts.map +1 -1
  177. package/dist/excel/excelWorkbookConstants.d.ts +6 -0
  178. package/dist/excel/excelWorkbookConstants.d.ts.map +1 -0
  179. package/dist/excel/index.js +117 -116
  180. package/dist/excel/index.js.map +1 -1
  181. package/dist/excel/matrixWorkbook.d.ts +6 -1
  182. package/dist/excel/matrixWorkbook.d.ts.map +1 -1
  183. package/dist/excel/tableExport.d.ts.map +1 -1
  184. package/dist/file/checkFileSignature.d.ts.map +1 -1
  185. package/dist/file/contentDisposition.d.ts.map +1 -1
  186. package/dist/file/fileSignatureConstants.d.ts +14 -18
  187. package/dist/file/fileSignatureConstants.d.ts.map +1 -1
  188. package/dist/file/fileSignatureTypes.d.ts +3 -3
  189. package/dist/file/fileSignatureTypes.d.ts.map +1 -1
  190. package/dist/file/image/imageReadConstants.d.ts +3 -0
  191. package/dist/file/image/imageReadConstants.d.ts.map +1 -0
  192. package/dist/file/image/readImageFile.d.ts +3 -2
  193. package/dist/file/image/readImageFile.d.ts.map +1 -1
  194. package/dist/file/image/types.d.ts +5 -3
  195. package/dist/file/image/types.d.ts.map +1 -1
  196. package/dist/file/index.js +139 -165
  197. package/dist/file/index.js.map +1 -1
  198. package/dist/file/mimeType.d.ts.map +1 -1
  199. package/dist/file/mimeTypeConstants.d.ts +18 -0
  200. package/dist/file/mimeTypeConstants.d.ts.map +1 -0
  201. package/dist/file/read-file/assert.d.ts.map +1 -1
  202. package/dist/file/read-file/readFile.d.ts +3 -11
  203. package/dist/file/read-file/readFile.d.ts.map +1 -1
  204. package/dist/file/read-file/readFileConstants.d.ts +13 -0
  205. package/dist/file/read-file/readFileConstants.d.ts.map +1 -0
  206. package/dist/file/read-file/types.d.ts +7 -6
  207. package/dist/file/read-file/types.d.ts.map +1 -1
  208. package/dist/file/signature/checkArchiveSignature.d.ts.map +1 -1
  209. package/dist/file-system/fileSystemConstants.d.ts +5 -0
  210. package/dist/file-system/fileSystemConstants.d.ts.map +1 -0
  211. package/dist/file-system/fileSystemTypes.d.ts +2 -1
  212. package/dist/file-system/fileSystemTypes.d.ts.map +1 -1
  213. package/dist/file-system/index.js +11 -10
  214. package/dist/file-system/index.js.map +1 -1
  215. package/dist/file-system/resolvePathInsideRoot.d.ts.map +1 -1
  216. package/dist/formatters/boolean/parseAbapBoolean.d.ts.map +1 -1
  217. package/dist/formatters/boolean/toAbapBoolean.d.ts.map +1 -1
  218. package/dist/formatters/date/calendarDate.d.ts.map +1 -1
  219. package/dist/formatters/date/calendarDateConstants.d.ts +13 -0
  220. package/dist/formatters/date/calendarDateConstants.d.ts.map +1 -0
  221. package/dist/formatters/date/calendarPeriod.d.ts +11 -2
  222. package/dist/formatters/date/calendarPeriod.d.ts.map +1 -1
  223. package/dist/formatters/date/dateFormatConstants.d.ts +17 -0
  224. package/dist/formatters/date/dateFormatConstants.d.ts.map +1 -0
  225. package/dist/formatters/date/datePatternConstants.d.ts +16 -0
  226. package/dist/formatters/date/datePatternConstants.d.ts.map +1 -0
  227. package/dist/formatters/date/datePresetNameConstants.d.ts +27 -0
  228. package/dist/formatters/date/datePresetNameConstants.d.ts.map +1 -0
  229. package/dist/formatters/date/dateRange.d.ts +3 -1
  230. package/dist/formatters/date/dateRange.d.ts.map +1 -1
  231. package/dist/formatters/date/dateValueConstants.d.ts +15 -0
  232. package/dist/formatters/date/dateValueConstants.d.ts.map +1 -0
  233. package/dist/formatters/date/educationDate.d.ts.map +1 -1
  234. package/dist/formatters/date/formatDate.d.ts.map +1 -1
  235. package/dist/formatters/date/formatInstantDateTime.d.ts.map +1 -1
  236. package/dist/formatters/date/parseDate.d.ts.map +1 -1
  237. package/dist/formatters/date/pattern.d.ts.map +1 -1
  238. package/dist/formatters/date/presets.d.ts.map +1 -1
  239. package/dist/formatters/date/types.d.ts +8 -6
  240. package/dist/formatters/date/types.d.ts.map +1 -1
  241. package/dist/formatters/formatDurationMinutes.d.ts.map +1 -1
  242. package/dist/formatters/formatFileSize.d.ts.map +1 -1
  243. package/dist/formatters/formatPhone.d.ts.map +1 -1
  244. package/dist/formatters/index.js +6 -6
  245. package/dist/formatters/normalizeLeadingZeros.d.ts.map +1 -1
  246. package/dist/formatters/number/compact.d.ts.map +1 -1
  247. package/dist/formatters/number/formatCompactNumber.d.ts.map +1 -1
  248. package/dist/formatters/number/formatNumber.d.ts.map +1 -1
  249. package/dist/formatters/number/numberFormatConstants.d.ts +11 -0
  250. package/dist/formatters/number/numberFormatConstants.d.ts.map +1 -0
  251. package/dist/formatters/number/numberPresetNameConstants.d.ts +16 -0
  252. package/dist/formatters/number/numberPresetNameConstants.d.ts.map +1 -0
  253. package/dist/formatters/number/parseNumber.d.ts.map +1 -1
  254. package/dist/formatters/number/presets.d.ts.map +1 -1
  255. package/dist/formatters/number/types.d.ts +2 -1
  256. package/dist/formatters/number/types.d.ts.map +1 -1
  257. package/dist/formatters/pipeline/clone.d.ts.map +1 -1
  258. package/dist/formatters/pipeline/definitions.d.ts.map +1 -1
  259. package/dist/formatters/pipeline/dependencies.d.ts.map +1 -1
  260. package/dist/formatters/pipeline/execute.d.ts +4 -1
  261. package/dist/formatters/pipeline/execute.d.ts.map +1 -1
  262. package/dist/formatters/pipeline/formattersPipelineConstants.d.ts +19 -0
  263. package/dist/formatters/pipeline/formattersPipelineConstants.d.ts.map +1 -0
  264. package/dist/formatters/pipeline/normalize.d.ts.map +1 -1
  265. package/dist/formatters/pipeline/pipelineValidationConstants.d.ts +40 -0
  266. package/dist/formatters/pipeline/pipelineValidationConstants.d.ts.map +1 -0
  267. package/dist/formatters/pipeline/registry.d.ts +1 -1
  268. package/dist/formatters/pipeline/registry.d.ts.map +1 -1
  269. package/dist/formatters/pipeline/rekey.d.ts.map +1 -1
  270. package/dist/formatters/pipeline/runtime.d.ts.map +1 -1
  271. package/dist/formatters/pipeline/types.d.ts +24 -21
  272. package/dist/formatters/pipeline/types.d.ts.map +1 -1
  273. package/dist/formatters/pipeline/validate.d.ts +2 -1
  274. package/dist/formatters/pipeline/validate.d.ts.map +1 -1
  275. package/dist/formatters/strings/spaceCharacterConstants.d.ts +5 -0
  276. package/dist/formatters/strings/spaceCharacterConstants.d.ts.map +1 -0
  277. package/dist/formatters/strings/stripInnerSpaces.d.ts.map +1 -1
  278. package/dist/formatters/strings/stripLeadingZeros.d.ts.map +1 -1
  279. package/dist/formatters/valueState/fixedValueStateResolver.d.ts.map +1 -1
  280. package/dist/formatters/valueState/presentation.d.ts.map +1 -1
  281. package/dist/formatters/valueState/resolveValueStateClassName.d.ts.map +1 -1
  282. package/dist/formatters/valueState/thresholdValueStateResolver.d.ts.map +1 -1
  283. package/dist/formatters/valueState/types.d.ts +2 -1
  284. package/dist/formatters/valueState/types.d.ts.map +1 -1
  285. package/dist/formatters/valueState/valueStateRegistry.d.ts.map +1 -1
  286. package/dist/formatters/valueState/valueStateResolverConstants.d.ts +6 -0
  287. package/dist/formatters/valueState/valueStateResolverConstants.d.ts.map +1 -0
  288. package/dist/formulas/execute.d.ts +3 -2
  289. package/dist/formulas/execute.d.ts.map +1 -1
  290. package/dist/formulas/index.js +1 -1
  291. package/dist/formulas/isTableFormulaDependency.d.ts.map +1 -1
  292. package/dist/formulas/tableFormulaConstants.d.ts +12 -0
  293. package/dist/formulas/tableFormulaConstants.d.ts.map +1 -0
  294. package/dist/formulas/types.d.ts +2 -1
  295. package/dist/formulas/types.d.ts.map +1 -1
  296. package/dist/formulas/validate.d.ts +2 -1
  297. package/dist/formulas/validate.d.ts.map +1 -1
  298. package/dist/hooks/index.js +110 -107
  299. package/dist/hooks/index.js.map +1 -1
  300. package/dist/hooks/useBlockBrowserZoom.d.ts.map +1 -1
  301. package/dist/hooks/useDndSortableSensors.d.ts.map +1 -1
  302. package/dist/hooks/useFloatingListbox.d.ts +15 -33
  303. package/dist/hooks/useFloatingListbox.d.ts.map +1 -1
  304. package/dist/http/index.js +8 -7
  305. package/dist/http/index.js.map +1 -1
  306. package/dist/http/textResponse.d.ts.map +1 -1
  307. package/dist/indexed-records/createIndexedRecordsSchema.d.ts.map +1 -1
  308. package/dist/indexed-records/schema.js +24 -23
  309. package/dist/indexed-records/schema.js.map +1 -1
  310. package/dist/media/breakpointConstants.d.ts +5 -0
  311. package/dist/media/breakpointConstants.d.ts.map +1 -0
  312. package/dist/media/breakpoints.d.ts +2 -1
  313. package/dist/media/breakpoints.d.ts.map +1 -1
  314. package/dist/media/createNotificationTonePlayer.d.ts.map +1 -1
  315. package/dist/media/getCurrentFontSize.d.ts.map +1 -1
  316. package/dist/media/index.js +1 -1
  317. package/dist/media/mediaQueryConstants.d.ts +3 -0
  318. package/dist/media/mediaQueryConstants.d.ts.map +1 -0
  319. package/dist/media/responsive.d.ts +1 -1
  320. package/dist/media/responsive.d.ts.map +1 -1
  321. package/dist/media/useMatchMedia.d.ts.map +1 -1
  322. package/dist/media/useMediaQuery.d.ts.map +1 -1
  323. package/dist/metadata/baseMetaTypes.d.ts.map +1 -1
  324. package/dist/metadata/metadataTypes.d.ts +8 -7
  325. package/dist/metadata/metadataTypes.d.ts.map +1 -1
  326. package/dist/metadata/scalarTypeClassification.d.ts.map +1 -1
  327. package/dist/metadata/scalarTypeConstants.d.ts +21 -0
  328. package/dist/metadata/scalarTypeConstants.d.ts.map +1 -0
  329. package/dist/notifications/index.js +62 -62
  330. package/dist/notifications/index.js.map +1 -1
  331. package/dist/notifications/notificationTypeConstants.d.ts +6 -0
  332. package/dist/notifications/notificationTypeConstants.d.ts.map +1 -0
  333. package/dist/notifications/notify.d.ts.map +1 -1
  334. package/dist/notifications/store.d.ts.map +1 -1
  335. package/dist/notifications/types.d.ts +2 -1
  336. package/dist/notifications/types.d.ts.map +1 -1
  337. package/dist/number-scale/index.js +47 -46
  338. package/dist/number-scale/index.js.map +1 -1
  339. package/dist/number-scale/marksPositionConstants.d.ts +4 -0
  340. package/dist/number-scale/marksPositionConstants.d.ts.map +1 -0
  341. package/dist/number-scale/numberScale.d.ts +1 -1
  342. package/dist/number-scale/numberScale.d.ts.map +1 -1
  343. package/dist/number-scale/types.d.ts +2 -1
  344. package/dist/number-scale/types.d.ts.map +1 -1
  345. package/dist/odata-service/builder.d.ts.map +1 -1
  346. package/dist/odata-service/columns.d.ts.map +1 -1
  347. package/dist/odata-service/entityOperationConstants.d.ts +4 -0
  348. package/dist/odata-service/entityOperationConstants.d.ts.map +1 -0
  349. package/dist/odata-service/filterDefinitionConstants.d.ts +24 -0
  350. package/dist/odata-service/filterDefinitionConstants.d.ts.map +1 -0
  351. package/dist/odata-service/filterDefinitions.d.ts +19 -17
  352. package/dist/odata-service/filterDefinitions.d.ts.map +1 -1
  353. package/dist/odata-service/filterOperationConstants.d.ts +14 -0
  354. package/dist/odata-service/filterOperationConstants.d.ts.map +1 -0
  355. package/dist/odata-service/filters.d.ts.map +1 -1
  356. package/dist/odata-service/formatters.d.ts.map +1 -1
  357. package/dist/odata-service/index.js +439 -433
  358. package/dist/odata-service/index.js.map +1 -1
  359. package/dist/odata-service/odataMetadataConstants.d.ts +8 -0
  360. package/dist/odata-service/odataMetadataConstants.d.ts.map +1 -0
  361. package/dist/odata-service/parser.d.ts +1 -3
  362. package/dist/odata-service/parser.d.ts.map +1 -1
  363. package/dist/odata-service/schema.d.ts.map +1 -1
  364. package/dist/odata-service/sorts.d.ts.map +1 -1
  365. package/dist/odata-service/sqlFilters.d.ts +10 -5
  366. package/dist/odata-service/sqlFilters.d.ts.map +1 -1
  367. package/dist/odata-service/types.d.ts +5 -3
  368. package/dist/odata-service/types.d.ts.map +1 -1
  369. package/dist/pwa/index.js +72 -71
  370. package/dist/pwa/index.js.map +1 -1
  371. package/dist/pwa/sw-cache-policy.js +47 -47
  372. package/dist/pwa/sw-cache-policy.js.map +1 -1
  373. package/dist/pwa/swCachePolicy.d.ts +5 -1
  374. package/dist/pwa/swCachePolicy.d.ts.map +1 -1
  375. package/dist/pwa/useBrowserOnlineStatus.d.ts.map +1 -1
  376. package/dist/query-client/broadcast.d.ts +4 -3
  377. package/dist/query-client/broadcast.d.ts.map +1 -1
  378. package/dist/query-client/createQueryRestoreSchedulerGuard.d.ts.map +1 -1
  379. package/dist/query-client/createQueryRestoreStorage.d.ts.map +1 -1
  380. package/dist/query-client/index.js +1 -1
  381. package/dist/query-client/invalidationBroadcast.d.ts +2 -1
  382. package/dist/query-client/invalidationBroadcast.d.ts.map +1 -1
  383. package/dist/query-client/persistence.d.ts +9 -6
  384. package/dist/query-client/persistence.d.ts.map +1 -1
  385. package/dist/query-client/queryCacheEventConstants.d.ts +11 -0
  386. package/dist/query-client/queryCacheEventConstants.d.ts.map +1 -0
  387. package/dist/query-client/queryClient.d.ts +2 -1
  388. package/dist/query-client/queryClient.d.ts.map +1 -1
  389. package/dist/query-client/queryMeta.d.ts.map +1 -1
  390. package/dist/query-client/sessionPersistenceConstants.d.ts +5 -0
  391. package/dist/query-client/sessionPersistenceConstants.d.ts.map +1 -0
  392. package/dist/query-client/sessionScoped.d.ts.map +1 -1
  393. package/dist/query-client/sessionScopedResetConstants.d.ts +4 -0
  394. package/dist/query-client/sessionScopedResetConstants.d.ts.map +1 -0
  395. package/dist/query-client/sessionScopedResetLifecycleTypes.d.ts +2 -1
  396. package/dist/query-client/sessionScopedResetLifecycleTypes.d.ts.map +1 -1
  397. package/dist/seo/index.js +0 -1
  398. package/dist/seo/index.js.map +1 -1
  399. package/dist/seo/seo.d.ts +3 -2
  400. package/dist/seo/seo.d.ts.map +1 -1
  401. package/dist/seo/seoContentTypeConstants.d.ts +6 -0
  402. package/dist/seo/seoContentTypeConstants.d.ts.map +1 -0
  403. package/dist/seo/types.d.ts +2 -1
  404. package/dist/seo/types.d.ts.map +1 -1
  405. package/dist/session-storage/index.js +1 -1
  406. package/dist/table/cellSelection.d.ts.map +1 -1
  407. package/dist/table/columnSizing.d.ts +11 -3
  408. package/dist/table/columnSizing.d.ts.map +1 -1
  409. package/dist/table/index.d.ts +1 -0
  410. package/dist/table/index.d.ts.map +1 -1
  411. package/dist/table/index.js +102 -92
  412. package/dist/table/index.js.map +1 -1
  413. package/dist/table/odataAdapter.d.ts +3 -3
  414. package/dist/table/odataAdapter.d.ts.map +1 -1
  415. package/dist/table/resolveTableColumnsWidth.d.ts +9 -0
  416. package/dist/table/resolveTableColumnsWidth.d.ts.map +1 -0
  417. package/dist/table/selection.d.ts +2 -2
  418. package/dist/table/selection.d.ts.map +1 -1
  419. package/dist/table/tableColumnConstants.d.ts +5 -0
  420. package/dist/table/tableColumnConstants.d.ts.map +1 -0
  421. package/dist/table/tableSelectionConstants.d.ts +8 -0
  422. package/dist/table/tableSelectionConstants.d.ts.map +1 -0
  423. package/dist/table/tanStackFeatures.d.ts +8 -8
  424. package/dist/table/types.d.ts +6 -4
  425. package/dist/table/types.d.ts.map +1 -1
  426. package/dist/table/useTableRowSelection.d.ts +2 -2
  427. package/dist/table/useTableRowSelection.d.ts.map +1 -1
  428. package/dist/table-document/index.js +88 -87
  429. package/dist/table-document/index.js.map +1 -1
  430. package/dist/table-document/insertTableDocumentAxis.d.ts +2 -1
  431. package/dist/table-document/insertTableDocumentAxis.d.ts.map +1 -1
  432. package/dist/table-document/tableDocument.d.ts +2 -1
  433. package/dist/table-document/tableDocument.d.ts.map +1 -1
  434. package/dist/table-document/tableDocumentAxisGroups.d.ts +4 -3
  435. package/dist/table-document/tableDocumentAxisGroups.d.ts.map +1 -1
  436. package/dist/table-document/tableDocumentConstants.d.ts +8 -0
  437. package/dist/table-document/tableDocumentConstants.d.ts.map +1 -0
  438. package/dist/table-document/tableDocumentGeometry.d.ts.map +1 -1
  439. package/dist/three-scene/index.js +32 -32
  440. package/dist/three-scene/index.js.map +1 -1
  441. package/dist/three-scene/threeSceneAvailability.d.ts +4 -3
  442. package/dist/three-scene/threeSceneAvailability.d.ts.map +1 -1
  443. package/dist/three-scene/threeSceneConstants.d.ts +14 -0
  444. package/dist/three-scene/threeSceneConstants.d.ts.map +1 -0
  445. package/dist/three-scene/useThreeSceneAvailability.d.ts.map +1 -1
  446. package/dist/tree-table/index.js +1 -1
  447. package/dist/types/abapBooleanConstants.d.ts +4 -0
  448. package/dist/types/abapBooleanConstants.d.ts.map +1 -0
  449. package/dist/types/index.js.map +1 -1
  450. package/dist/types/types.d.ts +4 -2
  451. package/dist/types/types.d.ts.map +1 -1
  452. package/dist/types/valueStateConstants.d.ts +8 -0
  453. package/dist/types/valueStateConstants.d.ts.map +1 -0
  454. package/dist/utils/cloneFunctionStrategyConstants.d.ts +4 -0
  455. package/dist/utils/cloneFunctionStrategyConstants.d.ts.map +1 -0
  456. package/dist/utils/createLazyComponent.d.ts.map +1 -1
  457. package/dist/utils/deepCloneWithoutFunctions.d.ts +2 -1
  458. package/dist/utils/deepCloneWithoutFunctions.d.ts.map +1 -1
  459. package/dist/utils/deepCopyWithoutFunctions.d.ts +2 -1
  460. package/dist/utils/deepCopyWithoutFunctions.d.ts.map +1 -1
  461. package/dist/utils/index.js +2 -209
  462. package/dist/utils/keyboard.d.ts +2 -1
  463. package/dist/utils/keyboard.d.ts.map +1 -1
  464. package/dist/utils/keyboardConstants.d.ts +16 -0
  465. package/dist/utils/keyboardConstants.d.ts.map +1 -0
  466. package/dist/validators/index.js +3 -3
  467. package/dist/validators/index.js.map +1 -1
  468. package/dist/validators/validateUrl.d.ts.map +1 -1
  469. package/dist/value-transformers/execute.d.ts.map +1 -1
  470. package/dist/value-transformers/index.js +9 -6
  471. package/dist/value-transformers/index.js.map +1 -1
  472. package/dist/value-transformers/types.d.ts +3 -2
  473. package/dist/value-transformers/types.d.ts.map +1 -1
  474. package/dist/value-transformers/valueTransformerConstants.d.ts +4 -0
  475. package/dist/value-transformers/valueTransformerConstants.d.ts.map +1 -0
  476. package/package.json +6 -5
  477. package/src/binary/README.mdx +1 -1
  478. package/src/dom/README.mdx +1 -1
  479. package/src/query-client/README.mdx +4 -4
  480. package/src/table/README.mdx +49 -23
  481. package/dist/chunks/dom-BK22UmgF.js.map +0 -1
  482. package/dist/chunks/formatDate-BUvpRI7H.js +0 -133
  483. package/dist/chunks/formatDate-BUvpRI7H.js.map +0 -1
  484. package/dist/chunks/formatters-rxriDRPk.js.map +0 -1
  485. package/dist/chunks/formulas-BXT_XBWI.js.map +0 -1
  486. package/dist/chunks/media-WK38KtMl.js +0 -191
  487. package/dist/chunks/media-WK38KtMl.js.map +0 -1
  488. package/dist/chunks/query-client-CVRfrYZM.js.map +0 -1
  489. package/dist/chunks/scalarTypeClassification-BZcFmIyR.js +0 -764
  490. package/dist/chunks/scalarTypeClassification-BZcFmIyR.js.map +0 -1
  491. package/dist/chunks/uuid-CUJPAbRY.js.map +0 -1
  492. package/dist/chunks/validate-DsUR-bFF.js +0 -608
  493. package/dist/chunks/validate-DsUR-bFF.js.map +0 -1
  494. package/dist/utils/index.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mimeTypeConstants-BzONV-b1.js","names":[],"sources":["../../src/file/mimeTypeConstants.ts"],"sourcesContent":["/** MIME-значения общие для extension lookup, бинарного определения типа и HTTP-заголовков. */\nexport const MIME_TYPE_OCTET_STREAM = \"application/octet-stream\";\nexport const MIME_TYPE_PDF = \"application/pdf\";\nexport const MIME_TYPE_MSWORD = \"application/msword\";\nexport const MIME_TYPE_DOCX = \"application/vnd.openxmlformats-officedocument.wordprocessingml.document\";\nexport const MIME_TYPE_XLS = \"application/vnd.ms-excel\";\nexport const MIME_TYPE_XLSX = \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\";\nexport const MIME_TYPE_PPT = \"application/vnd.ms-powerpoint\";\nexport const MIME_TYPE_PPTX = \"application/vnd.openxmlformats-officedocument.presentationml.presentation\";\nexport const MIME_TYPE_ZIP = \"application/zip\";\nexport const MIME_TYPE_XML = \"application/xml\";\nexport const MIME_TYPE_TEXT_PLAIN_UTF8 = \"text/plain; charset=UTF-8\";\nexport const MIME_TYPE_IMAGE_JPEG = \"image/jpeg\";\nexport const MIME_TYPE_IMAGE_PNG = \"image/png\";\nexport const MIME_TYPE_IMAGE_GIF = \"image/gif\";\nexport const MIME_TYPE_IMAGE_WEBP = \"image/webp\";\nexport const MIME_TYPE_IMAGE_TIFF = \"image/tiff\";\n"],"mappings":";AACA,IAAa,IAAyB,4BACzB,IAAgB,mBAChB,IAAmB,sBACnB,IAAiB,2EACjB,IAAgB,4BAChB,IAAiB,qEACjB,IAAgB,iCAChB,IAAiB,6EACjB,IAAgB,mBAChB,IAAgB,mBAChB,IAA4B,6BAC5B,IAAuB,cACvB,IAAsB,aACtB,IAAsB,aACtB,IAAuB,cACvB,IAAuB"}
@@ -1,17 +1,16 @@
1
1
  import { i as e } from "./isRecord-DXDTW-jA.js";
2
- import { t } from "./uuid-CUJPAbRY.js";
2
+ import { t } from "./uuid-izDzLv18.js";
3
3
  import { broadcastQueryClient as n } from "@tanstack/query-broadcast-client-experimental";
4
4
  import { experimental_createQueryPersister as r } from "@tanstack/query-persist-client-core";
5
5
  import { CancelledError as i, MutationCache as a, QueryCache as o, QueryClient as s, isCancelledError as c } from "@tanstack/react-query";
6
- //#region src/query-client/broadcast.ts
7
- var l = null;
8
- function u(e) {
9
- l = e;
6
+ var l = "invalidate", u = "query.invalidate", d = "none", f = "active", p = null;
7
+ function m(e) {
8
+ p = e;
10
9
  }
11
- function d(e) {
12
- l?.(e);
10
+ function h(e) {
11
+ p?.(e);
13
12
  }
14
- function f(e, r) {
13
+ function g(e, r) {
15
14
  if (typeof window > "u") return {
16
15
  broadcast: () => {},
17
16
  cleanup: () => {}
@@ -20,15 +19,15 @@ function f(e, r) {
20
19
  queryClient: e,
21
20
  broadcastChannel: r.queriesChannel
22
21
  }), o = t(), s = new BroadcastChannel(r.eventsChannel), c = e.getQueryCache().subscribe((e) => {
23
- i || e.type === "updated" && e.action.type === "invalidate" && l({
24
- type: "invalidate",
22
+ i || e.type === "updated" && e.action.type === "invalidate" && u({
23
+ type: l,
25
24
  keys: [e.query.queryKey],
26
- refetchType: "none"
25
+ refetchType: d
27
26
  });
28
27
  });
29
28
  s.onmessage = (t) => {
30
29
  let n = t.data;
31
- if (!p(n) || n.tabId === o) return;
30
+ if (!_(n) || n.tabId === o) return;
32
31
  let r = n.event;
33
32
  i = !0;
34
33
  try {
@@ -48,7 +47,7 @@ function f(e, r) {
48
47
  i = !1;
49
48
  }
50
49
  };
51
- function l(e) {
50
+ function u(e) {
52
51
  let t = {
53
52
  tabId: o,
54
53
  event: e
@@ -56,31 +55,31 @@ function f(e, r) {
56
55
  s.postMessage(t);
57
56
  }
58
57
  return {
59
- broadcast: l,
58
+ broadcast: u,
60
59
  cleanup: () => {
61
60
  c(), a(), s.close();
62
61
  }
63
62
  };
64
63
  }
65
- function p(t) {
66
- return !e(t) || typeof t.tabId != "string" || !("event" in t) ? !1 : m(t.event);
64
+ function _(t) {
65
+ return !e(t) || typeof t.tabId != "string" || !("event" in t) ? !1 : ee(t.event);
67
66
  }
68
- function m(t) {
67
+ function ee(t) {
69
68
  return e(t) ? t.type === "invalidate" ? Array.isArray(t.keys) ? t.refetchType === void 0 || t.refetchType === "none" || t.refetchType === "active" || t.refetchType === "inactive" || t.refetchType === "all" : !1 : t.type === "setQueryData" && "key" in t && "data" in t : !1;
70
69
  }
71
70
  //#endregion
72
71
  //#region src/query-client/invalidationBroadcast.ts
73
- function h(t) {
72
+ function te(t) {
74
73
  return e(t) && t.type === "query.invalidate" && typeof t.senderId == "string" && Array.isArray(t.queryKey);
75
74
  }
76
- function g(e, n) {
75
+ function ne(e, n) {
77
76
  if (typeof window > "u" || typeof BroadcastChannel > "u") return {
78
77
  broadcast: () => void 0,
79
78
  cleanup: () => void 0
80
79
  };
81
80
  let r = t(), i = new BroadcastChannel(n.channelName), a = !1, o = !1, s = (e) => {
82
81
  o || !n.matchesQuery(e) || i.postMessage({
83
- type: "query.invalidate",
82
+ type: u,
84
83
  senderId: r,
85
84
  queryKey: e
86
85
  });
@@ -89,7 +88,7 @@ function g(e, n) {
89
88
  });
90
89
  return i.onmessage = (t) => {
91
90
  let i = t.data;
92
- if (!(o || !h(i) || i.senderId === r || !n.matchesQuery(i.queryKey))) {
91
+ if (!(o || !te(i) || i.senderId === r || !n.matchesQuery(i.queryKey))) {
93
92
  a = !0;
94
93
  try {
95
94
  e.cancelQueries({
@@ -113,7 +112,8 @@ function g(e, n) {
113
112
  }
114
113
  //#endregion
115
114
  //#region src/query-client/createQueryRestoreSchedulerGuard.ts
116
- function _({ query: e, assertCurrentRestore: t }) {
115
+ var v = "setState", re = "fetch";
116
+ function ie({ query: e, assertCurrentRestore: t }) {
117
117
  let n = () => {
118
118
  try {
119
119
  return t(), !0;
@@ -125,15 +125,16 @@ function _({ query: e, assertCurrentRestore: t }) {
125
125
  n() && e.setState(...t);
126
126
  }, i = (...t) => n() ? e.fetch(...t) : Promise.resolve();
127
127
  return new Proxy(e, { get: (e, t) => {
128
- if (t === "setState") return r;
129
- if (t === "fetch") return i;
128
+ if (t === v) return r;
129
+ if (t === re) return i;
130
130
  let n = Reflect.get(e, t, e);
131
131
  return typeof n == "function" ? n.bind(e) : n;
132
132
  } });
133
133
  }
134
134
  //#endregion
135
135
  //#region src/query-client/createQueryRestoreStorage.ts
136
- function ee({ storage: e, queryHash: t, prefix: n, buster: r, maxAge: i, parser: a, assertCurrentRestore: o }) {
136
+ var y = "Parser восстановленных Query data должен синхронно вернуть значение.";
137
+ function ae({ storage: e, queryHash: t, prefix: n, buster: r, maxAge: i, parser: a, assertCurrentRestore: o }) {
137
138
  return {
138
139
  ...e,
139
140
  removeItem: (t) => {
@@ -153,8 +154,8 @@ function ee({ storage: e, queryHash: t, prefix: n, buster: r, maxAge: i, parser:
153
154
  if (!l || Date.now() - l > i || c.buster !== r) return c;
154
155
  if (typeof l != "number" || !Number.isFinite(l)) throw Error("Persisted запись содержит некорректное время обновления.");
155
156
  let u = a(c.state.data);
156
- if ((typeof u == "object" || typeof u == "function") && u !== null && typeof Reflect.get(u, "then") == "function") throw Promise.resolve(u).catch(() => void 0), TypeError("Parser восстановленных Query data должен синхронно вернуть значение.");
157
- if (u === void 0) throw TypeError("Parser восстановленных Query data должен синхронно вернуть значение.");
157
+ if ((typeof u == "object" || typeof u == "function") && u !== null && typeof Reflect.get(u, "then") == "function") throw Promise.resolve(u).catch(() => void 0), TypeError(y);
158
+ if (u === void 0) throw TypeError(y);
158
159
  return o(), {
159
160
  ...c,
160
161
  state: {
@@ -165,16 +166,14 @@ function ee({ storage: e, queryHash: t, prefix: n, buster: r, maxAge: i, parser:
165
166
  }
166
167
  };
167
168
  }
168
- //#endregion
169
- //#region src/query-client/queryMeta.ts
170
- var v = Symbol("query-restored-data-parser"), y = { persist: !0 }, te = { sessionScoped: !0 };
171
- function ne(e) {
169
+ var b = /^[a-z0-9][a-z0-9_-]{0,63}$/u, x = /^[A-Za-z][A-Za-z0-9_]{0,63}$/u, S = Symbol("query-restored-data-parser"), oe = { persist: !0 }, se = { sessionScoped: !0 };
170
+ function C(e) {
172
171
  let t = e.cacheName.trim();
173
- if (!/^[a-z0-9][a-z0-9_-]{0,63}$/u.test(t)) throw Error("Имя session query cache должно содержать только строчные латинские буквы, цифры, _ и -");
172
+ if (!b.test(t)) throw Error("Имя session query cache должно содержать только строчные латинские буквы, цифры, _ и -");
174
173
  if (!Number.isSafeInteger(e.maxEntries) || e.maxEntries < 1 || e.maxEntries > 5e3) throw Error("Лимит session query cache должен быть целым числом от 1 до 5000");
175
174
  if (e.refetchOnRestore !== void 0 && typeof e.refetchOnRestore != "boolean") throw Error("Политика refetch после восстановления должна быть boolean");
176
175
  let n = e.monotonicRevisionField?.trim();
177
- if (n !== void 0 && !/^[A-Za-z][A-Za-z0-9_]{0,63}$/u.test(n)) throw Error("Имя поля монотонной ревизии должно быть JavaScript-идентификатором длиной до 64 символов");
176
+ if (n !== void 0 && !x.test(n)) throw Error("Имя поля монотонной ревизии должно быть JavaScript-идентификатором длиной до 64 символов");
178
177
  return {
179
178
  sessionScoped: !0,
180
179
  sessionPersistence: {
@@ -187,17 +186,17 @@ function ne(e) {
187
186
  }
188
187
  //#endregion
189
188
  //#region src/query-client/queryPersistenceAdapter.ts
190
- var b = {};
191
- function x(e) {
192
- b = e;
189
+ var w = {};
190
+ function ce(e) {
191
+ w = e;
193
192
  }
194
- function S() {
195
- return b;
193
+ function T() {
194
+ return w;
196
195
  }
197
196
  //#endregion
198
197
  //#region src/query-client/persistence.ts
199
- var re = "queries", ie = "session", C = __REACT_QUERY_PERSISTENCE_BUSTER__, w = 7776e6, T = null;
200
- function ae(e) {
198
+ var le = "queries", ue = "session", de = "keep", E = "set", fe = "remove", D = "readwrite", O = "readonly", pe = 1, k = __REACT_QUERY_PERSISTENCE_BUSTER__, A = 7776e6, j = null;
199
+ function me(e) {
201
200
  if (e) return e;
202
201
  try {
203
202
  return globalThis.indexedDB;
@@ -205,93 +204,93 @@ function ae(e) {
205
204
  return;
206
205
  }
207
206
  }
208
- function E(e) {
207
+ function he(e) {
209
208
  return new Promise((t, n) => {
210
209
  e.onsuccess = () => t(e.result), e.onerror = () => n(e.error);
211
210
  });
212
211
  }
213
- function D() {
212
+ function M() {
214
213
  if (__DEV__) return `dev:${__APP_ID__}`;
215
- let e = S().resolveSystemIdentifier?.();
214
+ let e = T().resolveSystemIdentifier?.();
216
215
  if (e) return e;
217
216
  let t = typeof window > "u" ? "server" : window.location.hostname;
218
217
  return `${__APP_ID__}:${t}`;
219
218
  }
220
- function O() {
221
- return `${D()}`;
219
+ function N() {
220
+ return `${M()}`;
222
221
  }
223
- function k(e) {
222
+ function P(e) {
224
223
  return encodeURIComponent(e);
225
224
  }
226
- function A() {
227
- return `${O()}-${ie}-`;
225
+ function F() {
226
+ return `${N()}-${ue}-`;
228
227
  }
229
- function j(e) {
230
- return `${A()}${k(e)}-`;
228
+ function I(e) {
229
+ return `${F()}${P(e)}-`;
231
230
  }
232
- function oe(e, t) {
233
- return `${j(e)}${k(t)}`;
231
+ function ge(e, t) {
232
+ return `${I(e)}${P(t)}`;
234
233
  }
235
- function M(e) {
234
+ function L(e) {
236
235
  return !!e?.id.trim() && Number.isFinite(Date.parse(e?.expiresAt ?? "")) && Date.parse(e?.expiresAt ?? "") > Date.now();
237
236
  }
238
- function N() {
239
- return M(T) ? T : null;
237
+ function R() {
238
+ return L(j) ? j : null;
240
239
  }
241
- async function P(e) {
242
- let t = z();
240
+ async function z(e) {
241
+ let t = W();
243
242
  if (!t?.entries) return;
244
243
  let n = await t.entries();
245
244
  await Promise.all(n.filter(([t]) => e(t)).map(([e]) => t.removeItem(e)));
246
245
  }
247
- async function F(e) {
248
- let t = e === void 0 ? A() : j(e);
249
- await P((e) => e.startsWith(t));
246
+ async function B(e) {
247
+ let t = e === void 0 ? F() : I(e);
248
+ await z((e) => e.startsWith(t));
250
249
  }
251
- async function se(e) {
252
- let t = e && M(e) ? {
250
+ async function _e(e) {
251
+ let t = e && L(e) ? {
253
252
  id: e.id.trim(),
254
253
  expiresAt: e.expiresAt
255
254
  } : null;
256
- if (T = t, !t) {
257
- await F();
255
+ if (j = t, !t) {
256
+ await B();
258
257
  return;
259
258
  }
260
- let n = j(t.id);
261
- await P((e) => e.startsWith(A()) && !e.startsWith(n));
259
+ let n = I(t.id);
260
+ await z((e) => e.startsWith(F()) && !e.startsWith(n));
262
261
  }
263
- function I(e) {
262
+ function V(e) {
264
263
  return e.meta?.persist === !0 && e.meta.sessionScoped !== !0;
265
264
  }
266
- function L(e) {
265
+ function H(e) {
267
266
  let t = e.meta?.sessionPersistence;
268
- if (e.meta?.sessionScoped !== !0 || !t || typeof t != "object" || !("cacheName" in t) || !("maxEntries" in t) || typeof t.cacheName != "string" || !/^[a-z0-9][a-z0-9_-]{0,63}$/u.test(t.cacheName) || !Number.isSafeInteger(t.maxEntries) || t.maxEntries < 1 || t.maxEntries > 5e3) return null;
267
+ if (e.meta?.sessionScoped !== !0 || !t || typeof t != "object" || !("cacheName" in t) || !("maxEntries" in t) || typeof t.cacheName != "string" || !b.test(t.cacheName) || !Number.isSafeInteger(t.maxEntries) || t.maxEntries < 1 || t.maxEntries > 5e3) return null;
269
268
  let n = "refetchOnRestore" in t ? t.refetchOnRestore : void 0;
270
269
  if (n !== void 0 && typeof n != "boolean") return null;
271
270
  let r = "monotonicRevisionField" in t ? t.monotonicRevisionField : void 0;
272
- return r !== void 0 && (typeof r != "string" || !/^[A-Za-z][A-Za-z0-9_]{0,63}$/u.test(r)) ? null : {
271
+ return r !== void 0 && (typeof r != "string" || !x.test(r)) ? null : {
273
272
  cacheName: t.cacheName,
274
273
  maxEntries: t.maxEntries,
275
274
  refetchOnRestore: n,
276
275
  monotonicRevisionField: r
277
276
  };
278
277
  }
279
- function R(e, t) {
278
+ function U(e, t) {
280
279
  let n = e.state.data;
281
280
  if (typeof n != "object" || !n || Array.isArray(n)) return null;
282
281
  let r = Reflect.get(n, t);
283
282
  return typeof r != "string" || !/^\d+$/u.test(r) ? null : r.replace(/^0+(?=\d)/u, "");
284
283
  }
285
- function ce(e, t) {
284
+ function ve(e, t) {
286
285
  return e.length === t.length ? e === t ? 0 : e < t ? -1 : 1 : e.length - t.length;
287
286
  }
288
- function z(e = {}) {
289
- let t = ae(e.indexedDB);
287
+ function W(e = {}) {
288
+ let t = me(e.indexedDB);
290
289
  if (!t) return;
291
- let n = t, r = e.dbName ?? D(), i = e.storeName ?? re, a = null;
290
+ let n = t, r = e.dbName ?? M(), i = e.storeName ?? le, a = null;
292
291
  function o() {
293
292
  return a || (a = new Promise((e, t) => {
294
- let a = n.open(r, 1);
293
+ let a = n.open(r, pe);
295
294
  a.onupgradeneeded = () => {
296
295
  let e = a.result;
297
296
  e.objectStoreNames.contains(i) || e.createObjectStore(i);
@@ -299,7 +298,7 @@ function z(e = {}) {
299
298
  }), a);
300
299
  }
301
300
  async function s(e, t) {
302
- return E(t((await o()).transaction(i, e).objectStore(i)));
301
+ return he(t((await o()).transaction(i, e).objectStore(i)));
303
302
  }
304
303
  async function c(e, t) {
305
304
  let n = await o();
@@ -316,7 +315,7 @@ function z(e = {}) {
316
315
  async function l(e, t) {
317
316
  let n = await o();
318
317
  return new Promise((r, a) => {
319
- let o = n.transaction(i, "readwrite"), s = o.objectStore(i), c = s.get(e), l, u = !1;
318
+ let o = n.transaction(i, D), s = o.objectStore(i), c = s.get(e), l, u = !1;
320
319
  o.oncomplete = () => {
321
320
  u ? r(l) : a(/* @__PURE__ */ Error("IndexedDB-транзакция завершилась без результата обновления"));
322
321
  }, o.onerror = () => a(o.error), o.onabort = () => a(o.error), c.onerror = () => {
@@ -324,7 +323,7 @@ function z(e = {}) {
324
323
  }, c.onsuccess = () => {
325
324
  try {
326
325
  let n = t(c.result);
327
- l = n.result, u = !0, n.action === "set" ? s.put(n.value, e) : n.action === "remove" && s.delete(e);
326
+ l = n.result, u = !0, n.action === E ? s.put(n.value, e) : n.action === fe && s.delete(e);
328
327
  } catch (e) {
329
328
  o.abort(), a(e);
330
329
  }
@@ -332,14 +331,14 @@ function z(e = {}) {
332
331
  });
333
332
  }
334
333
  return {
335
- getItem: (e) => s("readonly", (t) => t.get(e)),
336
- setItem: (e, t) => c("readwrite", (n) => n.put(t, e)),
337
- removeItem: (e) => c("readwrite", (t) => t.delete(e)),
334
+ getItem: (e) => s(O, (t) => t.get(e)),
335
+ setItem: (e, t) => c(D, (n) => n.put(t, e)),
336
+ removeItem: (e) => c(D, (t) => t.delete(e)),
338
337
  updateItem: l,
339
338
  entries: async () => {
340
339
  let e = await o();
341
340
  return new Promise((t, n) => {
342
- let r = e.transaction(i, "readonly"), a = r.objectStore(i).openCursor(), o = [];
341
+ let r = e.transaction(i, O), a = r.objectStore(i).openCursor(), o = [];
343
342
  r.oncomplete = () => t(o), r.onerror = () => n(r.error), r.onabort = () => n(r.error), a.onsuccess = () => {
344
343
  let e = a.result;
345
344
  e && (o.push([String(e.key), e.value]), e.continue());
@@ -348,39 +347,39 @@ function z(e = {}) {
348
347
  }
349
348
  };
350
349
  }
351
- function B() {
352
- let e = z();
350
+ function G() {
351
+ let e = W();
353
352
  if (!e) return;
354
353
  let t = e, n = r({
355
354
  storage: t,
356
355
  serialize: (e) => e,
357
356
  deserialize: (e) => e,
358
- prefix: O(),
359
- buster: S().persistenceBuster ?? C,
360
- maxAge: w,
357
+ prefix: N(),
358
+ buster: T().persistenceBuster ?? k,
359
+ maxAge: A,
361
360
  refetchOnRestore: !0,
362
- filters: { predicate: I }
361
+ filters: { predicate: V }
363
362
  }), a = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new WeakMap();
364
363
  function s(e, n, i, o = !0, s) {
365
- let c = oe(e.id, n), l = `${c}:${i}:${o}:${s ?? ""}:${e.expiresAt}`, u = a.get(l);
364
+ let c = ge(e.id, n), l = `${c}:${i}:${o}:${s ?? ""}:${e.expiresAt}`, u = a.get(l);
366
365
  if (u) return u;
367
366
  let d = Promise.resolve(), f = {
368
- getItem: (n) => N()?.id === e.id ? t.getItem(n) : void 0,
367
+ getItem: (n) => R()?.id === e.id ? t.getItem(n) : void 0,
369
368
  removeItem: (e) => t.removeItem(e),
370
369
  entries: () => t.entries(),
371
370
  setItem: async (n, r) => {
372
- N()?.id === e.id && (s === void 0 ? await t.setItem(n, r) : await t.updateItem(n, (e) => {
371
+ R()?.id === e.id && (s === void 0 ? await t.setItem(n, r) : await t.updateItem(n, (e) => {
373
372
  if (!e || e.buster !== r.buster) return {
374
- action: "set",
373
+ action: E,
375
374
  value: r,
376
375
  result: void 0
377
376
  };
378
- let t = R(e, s), n = R(r, s);
379
- return t !== null && n !== null && ce(t, n) > 0 ? {
380
- action: "keep",
377
+ let t = U(e, s), n = U(r, s);
378
+ return t !== null && n !== null && ve(t, n) > 0 ? {
379
+ action: de,
381
380
  result: void 0
382
381
  } : {
383
- action: "set",
382
+ action: E,
384
383
  value: r,
385
384
  result: void 0
386
385
  };
@@ -395,10 +394,10 @@ function B() {
395
394
  serialize: (e) => e,
396
395
  deserialize: (e) => e,
397
396
  prefix: c,
398
- buster: S().persistenceBuster ?? C,
399
- maxAge: w,
397
+ buster: T().persistenceBuster ?? k,
398
+ maxAge: A,
400
399
  refetchOnRestore: o,
401
- filters: { predicate: (e) => L(e)?.cacheName === n }
400
+ filters: { predicate: (e) => H(e)?.cacheName === n }
402
401
  }),
403
402
  storage: f,
404
403
  prefix: c
@@ -408,55 +407,56 @@ function B() {
408
407
  return {
409
408
  ...n,
410
409
  async persisterFn(e, a, c) {
411
- let l = L(c), u = N();
410
+ let l = H(c), u = R();
412
411
  if (l && !u) return Promise.resolve(e(a));
413
412
  let d = l && u ? s(u, l.cacheName, l.maxEntries, l.refetchOnRestore, l.monotonicRevisionField) : {
414
413
  persister: n,
415
414
  storage: t,
416
- prefix: O()
417
- }, f = c.meta?.[v];
415
+ prefix: N()
416
+ }, f = c.meta?.[S];
418
417
  if (f === void 0) return o.delete(c), d.persister.persisterFn(e, a, c);
419
418
  if (typeof f != "function") throw TypeError("Parser восстановленных Query data должен быть функцией.");
420
419
  let p = {};
421
420
  o.set(c, p);
422
421
  let m = () => {
423
- if (a.signal.aborted || o.get(c) !== p || l && N()?.id !== u?.id) throw new i({ revert: !0 });
424
- }, h = S().persistenceBuster ?? C, g = ee({
422
+ if (a.signal.aborted || o.get(c) !== p || l && R()?.id !== u?.id) throw new i({ revert: !0 });
423
+ }, h = T().persistenceBuster ?? k, g = ae({
425
424
  storage: d.storage,
426
425
  queryHash: c.queryHash,
427
426
  prefix: d.prefix,
428
427
  buster: h,
429
- maxAge: w,
428
+ maxAge: A,
430
429
  parser: f,
431
430
  assertCurrentRestore: m
432
- }), y = await r({
431
+ }), _ = await r({
433
432
  storage: g,
434
433
  serialize: (e) => e,
435
434
  deserialize: (e) => e,
436
435
  prefix: d.prefix,
437
436
  buster: h,
438
- maxAge: w,
437
+ maxAge: A,
439
438
  refetchOnRestore: l?.refetchOnRestore ?? !0,
440
- filters: l ? { predicate: (e) => L(e)?.cacheName === l.cacheName } : { predicate: I }
441
- }).persisterFn((t) => (m(), e(t)), a, _({
439
+ filters: l ? { predicate: (e) => H(e)?.cacheName === l.cacheName } : { predicate: V }
440
+ }).persisterFn((t) => (m(), e(t)), a, ie({
442
441
  query: c,
443
442
  assertCurrentRestore: m
444
443
  }));
445
- return m(), y;
444
+ return m(), _;
446
445
  }
447
446
  };
448
447
  }
449
448
  //#endregion
450
449
  //#region src/query-client/queryClient.ts
451
- function V({ onQueryError: e, onMutationError: t }) {
452
- let n = B();
450
+ var ye = 6e5, be = 18e5;
451
+ function xe({ onQueryError: e, onMutationError: t }) {
452
+ let n = G();
453
453
  return new s({
454
454
  queryCache: new o({ onError: e }),
455
455
  mutationCache: new a({ onError: t }),
456
456
  defaultOptions: {
457
457
  queries: {
458
- staleTime: 6e5,
459
- gcTime: 18e5,
458
+ staleTime: ye,
459
+ gcTime: be,
460
460
  throwOnError: !1,
461
461
  retry: !1,
462
462
  ...n ? { persister: n.persisterFn } : {}
@@ -468,44 +468,44 @@ function V({ onQueryError: e, onMutationError: t }) {
468
468
  }
469
469
  });
470
470
  }
471
- async function H(e, t, n) {
471
+ async function Se(e, t, n) {
472
472
  await e.cancelQueries({ queryKey: t });
473
473
  let r = e.getQueryData(t);
474
474
  return e.setQueryData(t, n), { previous: r };
475
475
  }
476
- function U(e, t, n) {
476
+ function Ce(e, t, n) {
477
477
  n?.previous !== void 0 && e.setQueryData(t, n.previous);
478
478
  }
479
- function W(e, t, n, r) {
479
+ function we(e, t, n, r) {
480
480
  e.setQueryData(t, (e) => r(e, n));
481
481
  }
482
- async function le(e, t, n) {
483
- let r = n?.refetchType ?? "none", i = ue(t) ? t : [t];
482
+ async function Te(e, t, n) {
483
+ let r = n?.refetchType ?? "none", i = Ee(t) ? t : [t];
484
484
  await Promise.all(i.map((t) => e.invalidateQueries({
485
485
  queryKey: t,
486
486
  refetchType: r
487
487
  })));
488
488
  }
489
- function ue(e) {
489
+ function Ee(e) {
490
490
  return Array.isArray(e) ? Array.isArray(e[0]) : !1;
491
491
  }
492
492
  //#endregion
493
- //#region src/query-client/sessionScopedResetLifecycle.ts
494
- var G = /* @__PURE__ */ new WeakMap();
495
- function K(e) {
496
- let t = G.get(e);
493
+ //#region src/query-client/sessionScopedResetConstants.ts
494
+ var De = "completed", Oe = "failed", K = /* @__PURE__ */ new WeakMap();
495
+ function q(e) {
496
+ let t = K.get(e);
497
497
  if (t) return t;
498
498
  let n = {
499
499
  registrations: /* @__PURE__ */ new Set(),
500
500
  activeResets: 0
501
501
  };
502
- return G.set(e, n), n;
503
- }
504
- function q(e, t) {
505
- t.activeResets === 0 && t.registrations.size === 0 && G.get(e) === t && G.delete(e);
502
+ return K.set(e, n), n;
506
503
  }
507
504
  function J(e, t) {
508
- let n = K(e);
505
+ t.activeResets === 0 && t.registrations.size === 0 && K.get(e) === t && K.delete(e);
506
+ }
507
+ function ke(e, t) {
508
+ let n = q(e);
509
509
  if (n.activeResets > 0) throw Error("Lifecycle session-scoped Query нельзя установить во время сброса");
510
510
  let r = {
511
511
  beforeReset: t.beforeReset,
@@ -514,11 +514,11 @@ function J(e, t) {
514
514
  n.registrations.add(r);
515
515
  let i = !1;
516
516
  return { cleanup() {
517
- i || (i = !0, n.registrations.delete(r), q(e, n));
517
+ i || (i = !0, n.registrations.delete(r), J(e, n));
518
518
  } };
519
519
  }
520
- function de(e) {
521
- let t = K(e);
520
+ function Ae(e) {
521
+ let t = q(e);
522
522
  t.activeResets += 1;
523
523
  let n = [...t.registrations], r = n.map(({ beforeReset: e }) => {
524
524
  try {
@@ -539,7 +539,7 @@ function de(e) {
539
539
  }
540
540
  }));
541
541
  } finally {
542
- --t.activeResets, q(e, t);
542
+ --t.activeResets, J(e, t);
543
543
  }
544
544
  }
545
545
  };
@@ -554,7 +554,7 @@ function Q(e) {
554
554
  return e.meta?.sessionScoped === !0;
555
555
  }
556
556
  async function $(e, t = {}) {
557
- let n = de(e), r = { predicate: Q }, i = [];
557
+ let n = Ae(e), r = { predicate: Q }, i = [];
558
558
  try {
559
559
  n.retirement && i.push(...await n.retirement);
560
560
  try {
@@ -578,24 +578,24 @@ async function $(e, t = {}) {
578
578
  }
579
579
  i.length === 0 && (await e.refetchQueries({
580
580
  predicate: (e) => Q(e) && e.getObserversCount() > 0,
581
- type: "active"
581
+ type: f
582
582
  }, { cancelRefetch: !0 }), t.broadcast !== !1 && Z?.());
583
583
  } catch (e) {
584
584
  i.push(e);
585
585
  } finally {
586
- i.push(...await n.complete({ status: i.length === 0 ? "completed" : "failed" }));
586
+ i.push(...await n.complete({ status: i.length === 0 ? De : Oe }));
587
587
  }
588
588
  if (i.length === 1) throw i[0];
589
589
  if (i.length > 1) throw AggregateError(i, "Не удалось завершить сброс session-scoped Query");
590
590
  }
591
- function fe(e, t) {
591
+ function je(e, t) {
592
592
  if (typeof window > "u" || typeof BroadcastChannel > "u") return { cleanup: () => void 0 };
593
593
  let n = new BroadcastChannel(t.channelName), r = () => {
594
594
  let e = { type: X };
595
595
  n.postMessage(e);
596
596
  };
597
597
  Z = r, n.onmessage = (n) => {
598
- pe(n.data) && $(e, { broadcast: !1 }).catch(async (e) => {
598
+ Me(n.data) && $(e, { broadcast: !1 }).catch(async (e) => {
599
599
  if (!t.onError) {
600
600
  console.error("Не удалось обработать межвкладочный сброс session-scoped Query", e);
601
601
  return;
@@ -612,10 +612,10 @@ function fe(e, t) {
612
612
  i || (i = !0, n.onmessage = null, n.close(), Z === r && (Z = void 0));
613
613
  } };
614
614
  }
615
- function pe(e) {
615
+ function Me(e) {
616
616
  return typeof e == "object" && !!e && "type" in e && e.type === X;
617
617
  }
618
618
  //#endregion
619
- export { te as C, u as D, f as E, y as S, d as T, I as _, V as a, v as b, le as c, w as d, F as f, se as g, N as h, J as i, W as l, B as m, Q as n, U as o, z as p, $ as r, H as s, fe as t, C as u, x as v, g as w, ne as x, S as y };
619
+ export { se as C, m as D, g as E, oe as S, h as T, V as _, xe as a, S as b, Te as c, A as d, B as f, _e as g, R as h, ke as i, we as l, G as m, Q as n, Ce as o, W as p, $ as r, Se as s, je as t, k as u, ce as v, ne as w, C as x, T as y };
620
620
 
621
- //# sourceMappingURL=query-client-CVRfrYZM.js.map
621
+ //# sourceMappingURL=query-client-D0HQZ84w.js.map