@ryuzaki13/react-foundation-lib 2.31.1 → 2.31.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -5
- package/dist/analytical-table/definition/analyticalDefinitionConstants.d.ts +17 -0
- package/dist/analytical-table/definition/analyticalDefinitionConstants.d.ts.map +1 -0
- package/dist/analytical-table/definition/compileAnalyticalTableDefinition.d.ts.map +1 -1
- package/dist/analytical-table/definition/types.d.ts +6 -5
- package/dist/analytical-table/definition/types.d.ts.map +1 -1
- package/dist/analytical-table/dynamic-columns/analyticalDateColumnConstants.d.ts +7 -0
- package/dist/analytical-table/dynamic-columns/analyticalDateColumnConstants.d.ts.map +1 -0
- package/dist/analytical-table/dynamic-columns/dateColumns.d.ts.map +1 -1
- package/dist/analytical-table/dynamic-columns/types.d.ts +2 -1
- package/dist/analytical-table/dynamic-columns/types.d.ts.map +1 -1
- package/dist/analytical-table/index.js +124 -114
- package/dist/analytical-table/index.js.map +1 -1
- package/dist/analytical-table/projections/analyticalExportConstants.d.ts +7 -0
- package/dist/analytical-table/projections/analyticalExportConstants.d.ts.map +1 -0
- package/dist/analytical-table/projections/expansion.d.ts +2 -1
- package/dist/analytical-table/projections/expansion.d.ts.map +1 -1
- package/dist/analytical-table/projections/exportProjection.d.ts.map +1 -1
- package/dist/analytical-table/projections/types.d.ts +3 -2
- package/dist/analytical-table/projections/types.d.ts.map +1 -1
- package/dist/analytical-table/runtime/aggregation.d.ts.map +1 -1
- package/dist/analytical-table/runtime/analyticalRowConstants.d.ts +4 -0
- package/dist/analytical-table/runtime/analyticalRowConstants.d.ts.map +1 -0
- package/dist/analytical-table/runtime/analyticalViewConstants.d.ts +16 -0
- package/dist/analytical-table/runtime/analyticalViewConstants.d.ts.map +1 -0
- package/dist/analytical-table/runtime/buildGroupedModel.d.ts.map +1 -1
- package/dist/analytical-table/runtime/filtering.d.ts.map +1 -1
- package/dist/analytical-table/runtime/grouping.d.ts.map +1 -1
- package/dist/analytical-table/runtime/hierarchy.d.ts +2 -1
- package/dist/analytical-table/runtime/hierarchy.d.ts.map +1 -1
- package/dist/analytical-table/runtime/totals.d.ts +2 -2
- package/dist/analytical-table/runtime/totals.d.ts.map +1 -1
- package/dist/analytical-table/runtime/types.d.ts +5 -3
- package/dist/analytical-table/runtime/types.d.ts.map +1 -1
- package/dist/analytical-table/runtime/valueComparison.d.ts.map +1 -1
- package/dist/array/index.js +1 -1
- package/dist/array/reorder.d.ts +6 -1
- package/dist/array/reorder.d.ts.map +1 -1
- package/dist/async-task-runner/createCoalescingTaskRunner.d.ts.map +1 -1
- package/dist/async-task-runner/createDeadlineTimer.d.ts.map +1 -1
- package/dist/async-task-runner/index.js +39 -36
- package/dist/async-task-runner/index.js.map +1 -1
- package/dist/async-task-runner/nativeTimerConstants.d.ts +3 -0
- package/dist/async-task-runner/nativeTimerConstants.d.ts.map +1 -0
- package/dist/binary/base64Constants.d.ts +6 -0
- package/dist/binary/base64Constants.d.ts.map +1 -0
- package/dist/binary/binaryToBlob.d.ts.map +1 -1
- package/dist/binary/getBase64DecodedSize.d.ts.map +1 -1
- package/dist/binary/index.js +95 -70
- package/dist/binary/index.js.map +1 -1
- package/dist/browser-notifications/browserNotificationConstants.d.ts +3 -0
- package/dist/browser-notifications/browserNotificationConstants.d.ts.map +1 -0
- package/dist/browser-notifications/browserNotificationTypes.d.ts +2 -1
- package/dist/browser-notifications/browserNotificationTypes.d.ts.map +1 -1
- package/dist/browser-notifications/createBrowserNotificationPresenter.d.ts.map +1 -1
- package/dist/browser-notifications/index.js +38 -37
- package/dist/browser-notifications/index.js.map +1 -1
- package/dist/chunks/{array-D-_yMMUK.js → array-bd7LYFto.js} +1 -3
- package/dist/chunks/{array-D-_yMMUK.js.map → array-bd7LYFto.js.map} +1 -1
- package/dist/chunks/{dom-BK22UmgF.js → dom-ZSeWZ0Gg.js} +103 -98
- package/dist/chunks/dom-ZSeWZ0Gg.js.map +1 -0
- package/dist/chunks/formatDate-CNPcfNte.js +133 -0
- package/dist/chunks/formatDate-CNPcfNte.js.map +1 -0
- package/dist/chunks/{formatters-rxriDRPk.js → formatters-CO40zvVB.js} +496 -497
- package/dist/chunks/formatters-CO40zvVB.js.map +1 -0
- package/dist/chunks/{formulas-BXT_XBWI.js → formulas-Y0HOcFhe.js} +90 -86
- package/dist/chunks/formulas-Y0HOcFhe.js.map +1 -0
- package/dist/chunks/hasSignatureBytes-D2wO_Myl.js +11 -0
- package/dist/chunks/hasSignatureBytes-D2wO_Myl.js.map +1 -0
- package/dist/chunks/keyboardConstants-BZKskWsm.js +6 -0
- package/dist/chunks/keyboardConstants-BZKskWsm.js.map +1 -0
- package/dist/chunks/media-imBOXWwa.js +192 -0
- package/dist/chunks/media-imBOXWwa.js.map +1 -0
- package/dist/chunks/mimeTypeConstants-BzONV-b1.js +6 -0
- package/dist/chunks/mimeTypeConstants-BzONV-b1.js.map +1 -0
- package/dist/chunks/{query-client-CVRfrYZM.js → query-client-D0HQZ84w.js} +142 -142
- package/dist/chunks/query-client-D0HQZ84w.js.map +1 -0
- package/dist/chunks/scalarTypeClassification-D4YcGxtQ.js +766 -0
- package/dist/chunks/scalarTypeClassification-D4YcGxtQ.js.map +1 -0
- package/dist/chunks/scalarTypeConstants-CnSsjpGO.js +6 -0
- package/dist/chunks/scalarTypeConstants-CnSsjpGO.js.map +1 -0
- package/dist/chunks/utils-DW0Yso1Q.js +210 -0
- package/dist/chunks/utils-DW0Yso1Q.js.map +1 -0
- package/dist/chunks/{uuid-CUJPAbRY.js → uuid-izDzLv18.js} +1 -2
- package/dist/chunks/uuid-izDzLv18.js.map +1 -0
- package/dist/chunks/validate-8URYKKly.js +613 -0
- package/dist/chunks/validate-8URYKKly.js.map +1 -0
- package/dist/copy/index.js +5 -5
- package/dist/copy/index.js.map +1 -1
- package/dist/copy/useCopyFeedback.d.ts.map +1 -1
- package/dist/crypto/hashString.d.ts.map +1 -1
- package/dist/crypto/hexadecimalConstants.d.ts +3 -0
- package/dist/crypto/hexadecimalConstants.d.ts.map +1 -0
- package/dist/crypto/index.js +25 -24
- package/dist/crypto/index.js.map +1 -1
- package/dist/crypto/uuid.d.ts.map +1 -1
- package/dist/date-segments/index.js +81 -81
- package/dist/date-segments/index.js.map +1 -1
- package/dist/date-segments/mask.d.ts +13 -3
- package/dist/date-segments/mask.d.ts.map +1 -1
- package/dist/decimal/decimalConstants.d.ts +3 -0
- package/dist/decimal/decimalConstants.d.ts.map +1 -0
- package/dist/decimal/index.js +0 -2
- package/dist/decimal/index.js.map +1 -1
- package/dist/decimal/normalizeDecimal.d.ts.map +1 -1
- package/dist/decimal/normalizeDecimalLiteral.d.ts.map +1 -1
- package/dist/decimal/resolveDecimalMaxLength.d.ts.map +1 -1
- package/dist/decimal/sumDecimals.d.ts.map +1 -1
- package/dist/decimal/writeDecimalParts.d.ts.map +1 -1
- package/dist/dom/document-scroll/acquireDocumentScrollLock.d.ts.map +1 -1
- package/dist/dom/document-scroll/attachDocumentTouchScrollGuard.d.ts.map +1 -1
- package/dist/dom/document-scroll/canConsumeVerticalTouchScroll.d.ts.map +1 -1
- package/dist/dom/domEventConstants.d.ts +4 -0
- package/dist/dom/domEventConstants.d.ts.map +1 -0
- package/dist/dom/domScrollConstants.d.ts +3 -0
- package/dist/dom/domScrollConstants.d.ts.map +1 -0
- package/dist/dom/index.js +1 -1
- package/dist/dom/installFaviconOverride.d.ts.map +1 -1
- package/dist/dom/overlayFocusConstants.d.ts +4 -0
- package/dist/dom/overlayFocusConstants.d.ts.map +1 -0
- package/dist/dom/scroll-anchor/captureScrollAnchor.d.ts.map +1 -1
- package/dist/dom/useClickOutside.d.ts +1 -1
- package/dist/dom/useClickOutside.d.ts.map +1 -1
- package/dist/dom/useEscapeDismiss.d.ts +1 -1
- package/dist/dom/useEscapeDismiss.d.ts.map +1 -1
- package/dist/dom/useFocusTrap.d.ts.map +1 -1
- package/dist/dom/useIsTouchDevice.d.ts.map +1 -1
- package/dist/dom/useOverlayFocus.d.ts +3 -2
- package/dist/dom/useOverlayFocus.d.ts.map +1 -1
- package/dist/dom/visual-viewport/attachVisualViewportFrame.d.ts.map +1 -1
- package/dist/error-report/breadcrumbs.d.ts.map +1 -1
- package/dist/error-report/capture.d.ts.map +1 -1
- package/dist/error-report/captureOptions.d.ts +3 -2
- package/dist/error-report/captureOptions.d.ts.map +1 -1
- package/dist/error-report/capturePolicyConstants.d.ts +4 -0
- package/dist/error-report/capturePolicyConstants.d.ts.map +1 -0
- package/dist/error-report/dataPreview.d.ts.map +1 -1
- package/dist/error-report/diagnostics.d.ts.map +1 -1
- package/dist/error-report/drafts.d.ts.map +1 -1
- package/dist/error-report/environment.d.ts.map +1 -1
- package/dist/error-report/errorInfo.d.ts.map +1 -1
- package/dist/error-report/errorReportCaptureLimits.d.ts +26 -0
- package/dist/error-report/errorReportCaptureLimits.d.ts.map +1 -0
- package/dist/error-report/errorReportContractConstants.d.ts +32 -0
- package/dist/error-report/errorReportContractConstants.d.ts.map +1 -0
- package/dist/error-report/index.js +586 -587
- package/dist/error-report/index.js.map +1 -1
- package/dist/error-report/payload.d.ts.map +1 -1
- package/dist/error-report/queue.d.ts.map +1 -1
- package/dist/error-report/queueContract.d.ts +7 -6
- package/dist/error-report/queueContract.d.ts.map +1 -1
- package/dist/error-report/queueRecord.d.ts.map +1 -1
- package/dist/error-report/queueResultConstants.d.ts +14 -0
- package/dist/error-report/queueResultConstants.d.ts.map +1 -0
- package/dist/error-report/runtimeDeduplication.d.ts +2 -1
- package/dist/error-report/runtimeDeduplication.d.ts.map +1 -1
- package/dist/error-report/safeValue.d.ts.map +1 -1
- package/dist/error-report/safeValueMarkerConstants.d.ts +16 -0
- package/dist/error-report/safeValueMarkerConstants.d.ts.map +1 -0
- package/dist/error-report/schema.d.ts.map +1 -1
- package/dist/error-report/types.d.ts +10 -8
- package/dist/error-report/types.d.ts.map +1 -1
- package/dist/error-report-source-maps/archive.d.ts.map +1 -1
- package/dist/error-report-source-maps/artifact.d.ts.map +1 -1
- package/dist/error-report-source-maps/index.js +238 -238
- package/dist/error-report-source-maps/index.js.map +1 -1
- package/dist/error-report-source-maps/manifest.d.ts.map +1 -1
- package/dist/error-report-source-maps/package.d.ts.map +1 -1
- package/dist/error-report-source-maps/sourceMapArtifactConstants.d.ts +11 -0
- package/dist/error-report-source-maps/sourceMapArtifactConstants.d.ts.map +1 -0
- package/dist/error-report-source-maps/symbolicate.d.ts.map +1 -1
- package/dist/error-report-source-maps/symbolicationResultConstants.d.ts +6 -0
- package/dist/error-report-source-maps/symbolicationResultConstants.d.ts.map +1 -0
- package/dist/error-report-source-maps/types.d.ts +4 -2
- package/dist/error-report-source-maps/types.d.ts.map +1 -1
- package/dist/excel/excel.d.ts.map +1 -1
- package/dist/excel/excelWorkbookConstants.d.ts +6 -0
- package/dist/excel/excelWorkbookConstants.d.ts.map +1 -0
- package/dist/excel/index.js +117 -116
- package/dist/excel/index.js.map +1 -1
- package/dist/excel/matrixWorkbook.d.ts +6 -1
- package/dist/excel/matrixWorkbook.d.ts.map +1 -1
- package/dist/excel/tableExport.d.ts.map +1 -1
- package/dist/file/checkFileSignature.d.ts.map +1 -1
- package/dist/file/contentDisposition.d.ts.map +1 -1
- package/dist/file/fileSignatureConstants.d.ts +14 -18
- package/dist/file/fileSignatureConstants.d.ts.map +1 -1
- package/dist/file/fileSignatureTypes.d.ts +3 -3
- package/dist/file/fileSignatureTypes.d.ts.map +1 -1
- package/dist/file/image/imageReadConstants.d.ts +3 -0
- package/dist/file/image/imageReadConstants.d.ts.map +1 -0
- package/dist/file/image/readImageFile.d.ts +3 -2
- package/dist/file/image/readImageFile.d.ts.map +1 -1
- package/dist/file/image/types.d.ts +5 -3
- package/dist/file/image/types.d.ts.map +1 -1
- package/dist/file/index.js +139 -165
- package/dist/file/index.js.map +1 -1
- package/dist/file/mimeType.d.ts.map +1 -1
- package/dist/file/mimeTypeConstants.d.ts +18 -0
- package/dist/file/mimeTypeConstants.d.ts.map +1 -0
- package/dist/file/read-file/assert.d.ts.map +1 -1
- package/dist/file/read-file/readFile.d.ts +3 -11
- package/dist/file/read-file/readFile.d.ts.map +1 -1
- package/dist/file/read-file/readFileConstants.d.ts +13 -0
- package/dist/file/read-file/readFileConstants.d.ts.map +1 -0
- package/dist/file/read-file/types.d.ts +7 -6
- package/dist/file/read-file/types.d.ts.map +1 -1
- package/dist/file/signature/checkArchiveSignature.d.ts.map +1 -1
- package/dist/file-system/fileSystemConstants.d.ts +5 -0
- package/dist/file-system/fileSystemConstants.d.ts.map +1 -0
- package/dist/file-system/fileSystemTypes.d.ts +2 -1
- package/dist/file-system/fileSystemTypes.d.ts.map +1 -1
- package/dist/file-system/index.js +11 -10
- package/dist/file-system/index.js.map +1 -1
- package/dist/file-system/resolvePathInsideRoot.d.ts.map +1 -1
- package/dist/formatters/boolean/parseAbapBoolean.d.ts.map +1 -1
- package/dist/formatters/boolean/toAbapBoolean.d.ts.map +1 -1
- package/dist/formatters/date/calendarDate.d.ts.map +1 -1
- package/dist/formatters/date/calendarDateConstants.d.ts +13 -0
- package/dist/formatters/date/calendarDateConstants.d.ts.map +1 -0
- package/dist/formatters/date/calendarPeriod.d.ts +11 -2
- package/dist/formatters/date/calendarPeriod.d.ts.map +1 -1
- package/dist/formatters/date/dateFormatConstants.d.ts +17 -0
- package/dist/formatters/date/dateFormatConstants.d.ts.map +1 -0
- package/dist/formatters/date/datePatternConstants.d.ts +16 -0
- package/dist/formatters/date/datePatternConstants.d.ts.map +1 -0
- package/dist/formatters/date/datePresetNameConstants.d.ts +27 -0
- package/dist/formatters/date/datePresetNameConstants.d.ts.map +1 -0
- package/dist/formatters/date/dateRange.d.ts +3 -1
- package/dist/formatters/date/dateRange.d.ts.map +1 -1
- package/dist/formatters/date/dateValueConstants.d.ts +15 -0
- package/dist/formatters/date/dateValueConstants.d.ts.map +1 -0
- package/dist/formatters/date/educationDate.d.ts.map +1 -1
- package/dist/formatters/date/formatDate.d.ts.map +1 -1
- package/dist/formatters/date/formatInstantDateTime.d.ts.map +1 -1
- package/dist/formatters/date/parseDate.d.ts.map +1 -1
- package/dist/formatters/date/pattern.d.ts.map +1 -1
- package/dist/formatters/date/presets.d.ts.map +1 -1
- package/dist/formatters/date/types.d.ts +8 -6
- package/dist/formatters/date/types.d.ts.map +1 -1
- package/dist/formatters/formatDurationMinutes.d.ts.map +1 -1
- package/dist/formatters/formatFileSize.d.ts.map +1 -1
- package/dist/formatters/formatPhone.d.ts.map +1 -1
- package/dist/formatters/index.js +6 -6
- package/dist/formatters/normalizeLeadingZeros.d.ts.map +1 -1
- package/dist/formatters/number/compact.d.ts.map +1 -1
- package/dist/formatters/number/formatCompactNumber.d.ts.map +1 -1
- package/dist/formatters/number/formatNumber.d.ts.map +1 -1
- package/dist/formatters/number/numberFormatConstants.d.ts +11 -0
- package/dist/formatters/number/numberFormatConstants.d.ts.map +1 -0
- package/dist/formatters/number/numberPresetNameConstants.d.ts +16 -0
- package/dist/formatters/number/numberPresetNameConstants.d.ts.map +1 -0
- package/dist/formatters/number/parseNumber.d.ts.map +1 -1
- package/dist/formatters/number/presets.d.ts.map +1 -1
- package/dist/formatters/number/types.d.ts +2 -1
- package/dist/formatters/number/types.d.ts.map +1 -1
- package/dist/formatters/pipeline/clone.d.ts.map +1 -1
- package/dist/formatters/pipeline/definitions.d.ts.map +1 -1
- package/dist/formatters/pipeline/dependencies.d.ts.map +1 -1
- package/dist/formatters/pipeline/execute.d.ts +4 -1
- package/dist/formatters/pipeline/execute.d.ts.map +1 -1
- package/dist/formatters/pipeline/formattersPipelineConstants.d.ts +19 -0
- package/dist/formatters/pipeline/formattersPipelineConstants.d.ts.map +1 -0
- package/dist/formatters/pipeline/normalize.d.ts.map +1 -1
- package/dist/formatters/pipeline/pipelineValidationConstants.d.ts +40 -0
- package/dist/formatters/pipeline/pipelineValidationConstants.d.ts.map +1 -0
- package/dist/formatters/pipeline/registry.d.ts +1 -1
- package/dist/formatters/pipeline/registry.d.ts.map +1 -1
- package/dist/formatters/pipeline/rekey.d.ts.map +1 -1
- package/dist/formatters/pipeline/runtime.d.ts.map +1 -1
- package/dist/formatters/pipeline/types.d.ts +24 -21
- package/dist/formatters/pipeline/types.d.ts.map +1 -1
- package/dist/formatters/pipeline/validate.d.ts +2 -1
- package/dist/formatters/pipeline/validate.d.ts.map +1 -1
- package/dist/formatters/strings/spaceCharacterConstants.d.ts +5 -0
- package/dist/formatters/strings/spaceCharacterConstants.d.ts.map +1 -0
- package/dist/formatters/strings/stripInnerSpaces.d.ts.map +1 -1
- package/dist/formatters/strings/stripLeadingZeros.d.ts.map +1 -1
- package/dist/formatters/valueState/fixedValueStateResolver.d.ts.map +1 -1
- package/dist/formatters/valueState/presentation.d.ts.map +1 -1
- package/dist/formatters/valueState/resolveValueStateClassName.d.ts.map +1 -1
- package/dist/formatters/valueState/thresholdValueStateResolver.d.ts.map +1 -1
- package/dist/formatters/valueState/types.d.ts +2 -1
- package/dist/formatters/valueState/types.d.ts.map +1 -1
- package/dist/formatters/valueState/valueStateRegistry.d.ts.map +1 -1
- package/dist/formatters/valueState/valueStateResolverConstants.d.ts +6 -0
- package/dist/formatters/valueState/valueStateResolverConstants.d.ts.map +1 -0
- package/dist/formulas/execute.d.ts +3 -2
- package/dist/formulas/execute.d.ts.map +1 -1
- package/dist/formulas/index.js +1 -1
- package/dist/formulas/isTableFormulaDependency.d.ts.map +1 -1
- package/dist/formulas/tableFormulaConstants.d.ts +12 -0
- package/dist/formulas/tableFormulaConstants.d.ts.map +1 -0
- package/dist/formulas/types.d.ts +2 -1
- package/dist/formulas/types.d.ts.map +1 -1
- package/dist/formulas/validate.d.ts +2 -1
- package/dist/formulas/validate.d.ts.map +1 -1
- package/dist/hooks/index.js +110 -107
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/useBlockBrowserZoom.d.ts.map +1 -1
- package/dist/hooks/useDndSortableSensors.d.ts.map +1 -1
- package/dist/hooks/useFloatingListbox.d.ts +15 -33
- package/dist/hooks/useFloatingListbox.d.ts.map +1 -1
- package/dist/http/index.js +8 -7
- package/dist/http/index.js.map +1 -1
- package/dist/http/textResponse.d.ts.map +1 -1
- package/dist/indexed-records/createIndexedRecordsSchema.d.ts.map +1 -1
- package/dist/indexed-records/schema.js +24 -23
- package/dist/indexed-records/schema.js.map +1 -1
- package/dist/media/breakpointConstants.d.ts +5 -0
- package/dist/media/breakpointConstants.d.ts.map +1 -0
- package/dist/media/breakpoints.d.ts +2 -1
- package/dist/media/breakpoints.d.ts.map +1 -1
- package/dist/media/createNotificationTonePlayer.d.ts.map +1 -1
- package/dist/media/getCurrentFontSize.d.ts.map +1 -1
- package/dist/media/index.js +1 -1
- package/dist/media/mediaQueryConstants.d.ts +3 -0
- package/dist/media/mediaQueryConstants.d.ts.map +1 -0
- package/dist/media/responsive.d.ts +1 -1
- package/dist/media/responsive.d.ts.map +1 -1
- package/dist/media/useMatchMedia.d.ts.map +1 -1
- package/dist/media/useMediaQuery.d.ts.map +1 -1
- package/dist/metadata/baseMetaTypes.d.ts.map +1 -1
- package/dist/metadata/metadataTypes.d.ts +8 -7
- package/dist/metadata/metadataTypes.d.ts.map +1 -1
- package/dist/metadata/scalarTypeClassification.d.ts.map +1 -1
- package/dist/metadata/scalarTypeConstants.d.ts +21 -0
- package/dist/metadata/scalarTypeConstants.d.ts.map +1 -0
- package/dist/notifications/index.js +62 -62
- package/dist/notifications/index.js.map +1 -1
- package/dist/notifications/notificationTypeConstants.d.ts +6 -0
- package/dist/notifications/notificationTypeConstants.d.ts.map +1 -0
- package/dist/notifications/notify.d.ts.map +1 -1
- package/dist/notifications/store.d.ts.map +1 -1
- package/dist/notifications/types.d.ts +2 -1
- package/dist/notifications/types.d.ts.map +1 -1
- package/dist/number-scale/index.js +47 -46
- package/dist/number-scale/index.js.map +1 -1
- package/dist/number-scale/marksPositionConstants.d.ts +4 -0
- package/dist/number-scale/marksPositionConstants.d.ts.map +1 -0
- package/dist/number-scale/numberScale.d.ts +1 -1
- package/dist/number-scale/numberScale.d.ts.map +1 -1
- package/dist/number-scale/types.d.ts +2 -1
- package/dist/number-scale/types.d.ts.map +1 -1
- package/dist/odata-service/builder.d.ts.map +1 -1
- package/dist/odata-service/columns.d.ts.map +1 -1
- package/dist/odata-service/entityOperationConstants.d.ts +4 -0
- package/dist/odata-service/entityOperationConstants.d.ts.map +1 -0
- package/dist/odata-service/filterDefinitionConstants.d.ts +24 -0
- package/dist/odata-service/filterDefinitionConstants.d.ts.map +1 -0
- package/dist/odata-service/filterDefinitions.d.ts +19 -17
- package/dist/odata-service/filterDefinitions.d.ts.map +1 -1
- package/dist/odata-service/filterOperationConstants.d.ts +14 -0
- package/dist/odata-service/filterOperationConstants.d.ts.map +1 -0
- package/dist/odata-service/filters.d.ts.map +1 -1
- package/dist/odata-service/formatters.d.ts.map +1 -1
- package/dist/odata-service/index.js +439 -433
- package/dist/odata-service/index.js.map +1 -1
- package/dist/odata-service/odataMetadataConstants.d.ts +8 -0
- package/dist/odata-service/odataMetadataConstants.d.ts.map +1 -0
- package/dist/odata-service/parser.d.ts +1 -3
- package/dist/odata-service/parser.d.ts.map +1 -1
- package/dist/odata-service/schema.d.ts.map +1 -1
- package/dist/odata-service/sorts.d.ts.map +1 -1
- package/dist/odata-service/sqlFilters.d.ts +10 -5
- package/dist/odata-service/sqlFilters.d.ts.map +1 -1
- package/dist/odata-service/types.d.ts +5 -3
- package/dist/odata-service/types.d.ts.map +1 -1
- package/dist/pwa/index.js +72 -71
- package/dist/pwa/index.js.map +1 -1
- package/dist/pwa/sw-cache-policy.js +47 -47
- package/dist/pwa/sw-cache-policy.js.map +1 -1
- package/dist/pwa/swCachePolicy.d.ts +5 -1
- package/dist/pwa/swCachePolicy.d.ts.map +1 -1
- package/dist/pwa/useBrowserOnlineStatus.d.ts.map +1 -1
- package/dist/query-client/broadcast.d.ts +4 -3
- package/dist/query-client/broadcast.d.ts.map +1 -1
- package/dist/query-client/createQueryRestoreSchedulerGuard.d.ts.map +1 -1
- package/dist/query-client/createQueryRestoreStorage.d.ts.map +1 -1
- package/dist/query-client/index.js +1 -1
- package/dist/query-client/invalidationBroadcast.d.ts +2 -1
- package/dist/query-client/invalidationBroadcast.d.ts.map +1 -1
- package/dist/query-client/persistence.d.ts +9 -6
- package/dist/query-client/persistence.d.ts.map +1 -1
- package/dist/query-client/queryCacheEventConstants.d.ts +11 -0
- package/dist/query-client/queryCacheEventConstants.d.ts.map +1 -0
- package/dist/query-client/queryClient.d.ts +2 -1
- package/dist/query-client/queryClient.d.ts.map +1 -1
- package/dist/query-client/queryMeta.d.ts.map +1 -1
- package/dist/query-client/sessionPersistenceConstants.d.ts +5 -0
- package/dist/query-client/sessionPersistenceConstants.d.ts.map +1 -0
- package/dist/query-client/sessionScoped.d.ts.map +1 -1
- package/dist/query-client/sessionScopedResetConstants.d.ts +4 -0
- package/dist/query-client/sessionScopedResetConstants.d.ts.map +1 -0
- package/dist/query-client/sessionScopedResetLifecycleTypes.d.ts +2 -1
- package/dist/query-client/sessionScopedResetLifecycleTypes.d.ts.map +1 -1
- package/dist/seo/index.js +0 -1
- package/dist/seo/index.js.map +1 -1
- package/dist/seo/seo.d.ts +3 -2
- package/dist/seo/seo.d.ts.map +1 -1
- package/dist/seo/seoContentTypeConstants.d.ts +6 -0
- package/dist/seo/seoContentTypeConstants.d.ts.map +1 -0
- package/dist/seo/types.d.ts +2 -1
- package/dist/seo/types.d.ts.map +1 -1
- package/dist/session-storage/index.js +1 -1
- package/dist/table/cellSelection.d.ts.map +1 -1
- package/dist/table/index.js +83 -79
- package/dist/table/index.js.map +1 -1
- package/dist/table/odataAdapter.d.ts +3 -3
- package/dist/table/odataAdapter.d.ts.map +1 -1
- package/dist/table/selection.d.ts +2 -2
- package/dist/table/selection.d.ts.map +1 -1
- package/dist/table/tableColumnConstants.d.ts +5 -0
- package/dist/table/tableColumnConstants.d.ts.map +1 -0
- package/dist/table/tableSelectionConstants.d.ts +8 -0
- package/dist/table/tableSelectionConstants.d.ts.map +1 -0
- package/dist/table/tanStackFeatures.d.ts +8 -8
- package/dist/table/types.d.ts +5 -3
- package/dist/table/types.d.ts.map +1 -1
- package/dist/table/useTableRowSelection.d.ts +2 -2
- package/dist/table/useTableRowSelection.d.ts.map +1 -1
- package/dist/table-document/index.js +88 -87
- package/dist/table-document/index.js.map +1 -1
- package/dist/table-document/insertTableDocumentAxis.d.ts +2 -1
- package/dist/table-document/insertTableDocumentAxis.d.ts.map +1 -1
- package/dist/table-document/tableDocument.d.ts +2 -1
- package/dist/table-document/tableDocument.d.ts.map +1 -1
- package/dist/table-document/tableDocumentAxisGroups.d.ts +4 -3
- package/dist/table-document/tableDocumentAxisGroups.d.ts.map +1 -1
- package/dist/table-document/tableDocumentConstants.d.ts +8 -0
- package/dist/table-document/tableDocumentConstants.d.ts.map +1 -0
- package/dist/table-document/tableDocumentGeometry.d.ts.map +1 -1
- package/dist/three-scene/index.js +32 -32
- package/dist/three-scene/index.js.map +1 -1
- package/dist/three-scene/threeSceneAvailability.d.ts +4 -3
- package/dist/three-scene/threeSceneAvailability.d.ts.map +1 -1
- package/dist/three-scene/threeSceneConstants.d.ts +14 -0
- package/dist/three-scene/threeSceneConstants.d.ts.map +1 -0
- package/dist/three-scene/useThreeSceneAvailability.d.ts.map +1 -1
- package/dist/tree-table/index.js +1 -1
- package/dist/types/abapBooleanConstants.d.ts +4 -0
- package/dist/types/abapBooleanConstants.d.ts.map +1 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/types.d.ts +4 -2
- package/dist/types/types.d.ts.map +1 -1
- package/dist/types/valueStateConstants.d.ts +8 -0
- package/dist/types/valueStateConstants.d.ts.map +1 -0
- package/dist/utils/cloneFunctionStrategyConstants.d.ts +4 -0
- package/dist/utils/cloneFunctionStrategyConstants.d.ts.map +1 -0
- package/dist/utils/createLazyComponent.d.ts.map +1 -1
- package/dist/utils/deepCloneWithoutFunctions.d.ts +2 -1
- package/dist/utils/deepCloneWithoutFunctions.d.ts.map +1 -1
- package/dist/utils/deepCopyWithoutFunctions.d.ts +2 -1
- package/dist/utils/deepCopyWithoutFunctions.d.ts.map +1 -1
- package/dist/utils/index.js +2 -209
- package/dist/utils/keyboard.d.ts +2 -1
- package/dist/utils/keyboard.d.ts.map +1 -1
- package/dist/utils/keyboardConstants.d.ts +16 -0
- package/dist/utils/keyboardConstants.d.ts.map +1 -0
- package/dist/validators/index.js +3 -3
- package/dist/validators/index.js.map +1 -1
- package/dist/validators/validateUrl.d.ts.map +1 -1
- package/dist/value-transformers/execute.d.ts.map +1 -1
- package/dist/value-transformers/index.js +9 -6
- package/dist/value-transformers/index.js.map +1 -1
- package/dist/value-transformers/types.d.ts +3 -2
- package/dist/value-transformers/types.d.ts.map +1 -1
- package/dist/value-transformers/valueTransformerConstants.d.ts +4 -0
- package/dist/value-transformers/valueTransformerConstants.d.ts.map +1 -0
- package/package.json +6 -5
- package/src/binary/README.mdx +1 -1
- package/src/dom/README.mdx +1 -1
- package/src/query-client/README.mdx +4 -4
- package/dist/chunks/dom-BK22UmgF.js.map +0 -1
- package/dist/chunks/formatDate-BUvpRI7H.js +0 -133
- package/dist/chunks/formatDate-BUvpRI7H.js.map +0 -1
- package/dist/chunks/formatters-rxriDRPk.js.map +0 -1
- package/dist/chunks/formulas-BXT_XBWI.js.map +0 -1
- package/dist/chunks/media-WK38KtMl.js +0 -191
- package/dist/chunks/media-WK38KtMl.js.map +0 -1
- package/dist/chunks/query-client-CVRfrYZM.js.map +0 -1
- package/dist/chunks/scalarTypeClassification-BZcFmIyR.js +0 -764
- package/dist/chunks/scalarTypeClassification-BZcFmIyR.js.map +0 -1
- package/dist/chunks/uuid-CUJPAbRY.js.map +0 -1
- package/dist/chunks/validate-DsUR-bFF.js +0 -608
- package/dist/chunks/validate-DsUR-bFF.js.map +0 -1
- package/dist/utils/index.js.map +0 -1
|
@@ -13,39 +13,39 @@ var m = Object.create, h = Object.defineProperty, g = Object.getOwnPropertyDescr
|
|
|
13
13
|
}, ne = (e, t, n) => (n = e == null ? {} : m(v(e)), te(t || !e || !e.__esModule || !y.call(e, "default") ? h(n, "default", {
|
|
14
14
|
value: e,
|
|
15
15
|
enumerable: !0
|
|
16
|
-
}) : n, e)), re =
|
|
17
|
-
function
|
|
16
|
+
}) : n, e)), b = "client", x = "server", S = ".map", C = "manifest.json", w = "utf8", re = "sha256", T = "server/", ie = 1, E = 2097152, D = 33554432, O = 268435456, ae = 83808e5, k = "custom", oe = 128, se = 1024, ce = 1e4, le = /^[a-z0-9]+(?:[.-][a-z0-9]+)*$/, ue = /^[0-9a-f]{64}$/;
|
|
17
|
+
function A(e) {
|
|
18
18
|
return !e || e.startsWith("/") || e.includes("\\") || e.includes("\0") ? !1 : e.split("/").every((e) => e !== "" && e !== "." && e !== "..");
|
|
19
19
|
}
|
|
20
|
-
function
|
|
21
|
-
return e.includes("\\") || e.includes("\0") || e.includes("?") || e.includes("#") ? !1 : t === "client" ? e.startsWith("/") &&
|
|
20
|
+
function de(e, t) {
|
|
21
|
+
return e.includes("\\") || e.includes("\0") || e.includes("?") || e.includes("#") ? !1 : t === "client" ? e.startsWith("/") && A(e.slice(1)) : e.startsWith("server/") && A(e);
|
|
22
22
|
}
|
|
23
|
-
var
|
|
24
|
-
kind: t.enum([
|
|
25
|
-
bundle: t.string().max(
|
|
26
|
-
map: t.string().max(
|
|
27
|
-
sha256: t.string().regex(
|
|
28
|
-
size: t.number().int().positive().max(
|
|
23
|
+
var fe = t.object({
|
|
24
|
+
kind: t.enum([b, x]),
|
|
25
|
+
bundle: t.string().max(se),
|
|
26
|
+
map: t.string().max(se),
|
|
27
|
+
sha256: t.string().regex(ue),
|
|
28
|
+
size: t.number().int().positive().max(D)
|
|
29
29
|
}).strict().superRefine((e, t) => {
|
|
30
|
-
|
|
31
|
-
code:
|
|
30
|
+
de(e.bundle, e.kind) || t.addIssue({
|
|
31
|
+
code: k,
|
|
32
32
|
path: ["bundle"],
|
|
33
33
|
message: "Bundle path должен быть нормализован."
|
|
34
|
-
}), (!
|
|
35
|
-
code:
|
|
34
|
+
}), (!A(e.map) || !e.map.startsWith(`${e.kind}/`) || !e.map.endsWith(".map")) && t.addIssue({
|
|
35
|
+
code: k,
|
|
36
36
|
path: ["map"],
|
|
37
37
|
message: "Map path должен оставаться внутри kind-каталога."
|
|
38
38
|
});
|
|
39
|
-
}),
|
|
39
|
+
}), pe = t.object({
|
|
40
40
|
version: t.literal(1),
|
|
41
|
-
application: t.string().min(1).max(
|
|
41
|
+
application: t.string().min(1).max(oe).regex(le),
|
|
42
42
|
buildId: t.string().regex(e),
|
|
43
43
|
createdUtc: t.iso.datetime({ offset: !0 }),
|
|
44
|
-
entries: t.array(
|
|
44
|
+
entries: t.array(fe).max(ce)
|
|
45
45
|
}).strict().superRefine((e, t) => {
|
|
46
46
|
let n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), i = 0;
|
|
47
47
|
for (let [a, o] of e.entries.entries()) n.has(o.bundle) && t.addIssue({
|
|
48
|
-
code:
|
|
48
|
+
code: k,
|
|
49
49
|
path: [
|
|
50
50
|
"entries",
|
|
51
51
|
a,
|
|
@@ -53,7 +53,7 @@ var ce = t.object({
|
|
|
53
53
|
],
|
|
54
54
|
message: "Bundle должен быть уникальным."
|
|
55
55
|
}), r.has(o.map) && t.addIssue({
|
|
56
|
-
code:
|
|
56
|
+
code: k,
|
|
57
57
|
path: [
|
|
58
58
|
"entries",
|
|
59
59
|
a,
|
|
@@ -62,88 +62,88 @@ var ce = t.object({
|
|
|
62
62
|
message: "Map path должен быть уникальным."
|
|
63
63
|
}), n.add(o.bundle), r.add(o.map), i += o.size;
|
|
64
64
|
i > 268435456 && t.addIssue({
|
|
65
|
-
code:
|
|
65
|
+
code: k,
|
|
66
66
|
path: ["entries"],
|
|
67
67
|
message: "Private source-map artifact превышает общий предел."
|
|
68
68
|
});
|
|
69
69
|
});
|
|
70
|
-
function
|
|
71
|
-
let t =
|
|
70
|
+
function j(e) {
|
|
71
|
+
let t = pe.safeParse(e);
|
|
72
72
|
return t.success ? t.data : null;
|
|
73
73
|
}
|
|
74
|
-
function
|
|
75
|
-
return typeof e == "string" && e.length <=
|
|
74
|
+
function M(e) {
|
|
75
|
+
return typeof e == "string" && e.length <= oe && le.test(e);
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function N(t) {
|
|
78
78
|
return typeof t == "string" && e.test(t);
|
|
79
79
|
}
|
|
80
80
|
//#endregion
|
|
81
81
|
//#region src/error-report-source-maps/artifact.ts
|
|
82
|
-
var
|
|
82
|
+
var P = class extends Error {
|
|
83
83
|
constructor() {
|
|
84
84
|
super("Private source-map artifact не прошёл проверку целостности."), this.name = "PrivateSourceMapArtifactError";
|
|
85
85
|
}
|
|
86
86
|
};
|
|
87
|
-
function
|
|
87
|
+
function F(e) {
|
|
88
88
|
return e instanceof Error && "code" in e && e.code === "ENOENT";
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function I(e, t) {
|
|
91
91
|
let n = p.relative(e, t);
|
|
92
92
|
return n !== "" && !n.startsWith("..") && !p.isAbsolute(n);
|
|
93
93
|
}
|
|
94
|
-
async function
|
|
94
|
+
async function L(e, t, n) {
|
|
95
95
|
let i = await r(e);
|
|
96
|
-
if (!i.isFile() || i.isSymbolicLink() || i.size <= 0 || i.size > n) throw new
|
|
96
|
+
if (!i.isFile() || i.isSymbolicLink() || i.size <= 0 || i.size > n) throw new P();
|
|
97
97
|
let o = await s(e);
|
|
98
|
-
if (!
|
|
98
|
+
if (!I(t, o)) throw new P();
|
|
99
99
|
let c = await a(o);
|
|
100
|
-
if (c.byteLength !== i.size) throw new
|
|
100
|
+
if (c.byteLength !== i.size) throw new P();
|
|
101
101
|
return c;
|
|
102
102
|
}
|
|
103
|
-
async function
|
|
104
|
-
if (!
|
|
103
|
+
async function R(e, t, n) {
|
|
104
|
+
if (!M(t) || !N(n)) throw new P();
|
|
105
105
|
let r, i;
|
|
106
106
|
try {
|
|
107
107
|
r = await s(p.resolve(e)), i = await s(p.join(r, t, n));
|
|
108
108
|
} catch (e) {
|
|
109
|
-
if (
|
|
110
|
-
throw new
|
|
109
|
+
if (F(e)) return null;
|
|
110
|
+
throw new P();
|
|
111
111
|
}
|
|
112
|
-
if (!
|
|
112
|
+
if (!I(r, i)) throw new P();
|
|
113
113
|
let a;
|
|
114
114
|
try {
|
|
115
|
-
a = await
|
|
115
|
+
a = await L(p.join(i, C), i, E);
|
|
116
116
|
} catch (e) {
|
|
117
|
-
if (
|
|
118
|
-
throw e instanceof
|
|
117
|
+
if (F(e)) return null;
|
|
118
|
+
throw e instanceof P ? e : new P();
|
|
119
119
|
}
|
|
120
120
|
let o;
|
|
121
121
|
try {
|
|
122
|
-
o = JSON.parse(a.toString(
|
|
122
|
+
o = JSON.parse(a.toString(w));
|
|
123
123
|
} catch {
|
|
124
|
-
throw new
|
|
124
|
+
throw new P();
|
|
125
125
|
}
|
|
126
|
-
let c =
|
|
127
|
-
if (!c || c.application !== t || c.buildId !== n) throw new
|
|
126
|
+
let c = j(o);
|
|
127
|
+
if (!c || c.application !== t || c.buildId !== n) throw new P();
|
|
128
128
|
return {
|
|
129
129
|
buildDirectory: i,
|
|
130
130
|
manifest: c,
|
|
131
131
|
entriesByBundle: new Map(c.entries.map((e) => [e.bundle, e]))
|
|
132
132
|
};
|
|
133
133
|
}
|
|
134
|
-
async function
|
|
134
|
+
async function z(e, t) {
|
|
135
135
|
try {
|
|
136
|
-
let r = await
|
|
137
|
-
if (r.byteLength !== t.size || n("sha256").update(r).digest("hex") !== t.sha256) throw new
|
|
138
|
-
return r.toString(
|
|
136
|
+
let r = await L(p.join(e.buildDirectory, t.map), e.buildDirectory, t.size);
|
|
137
|
+
if (r.byteLength !== t.size || n("sha256").update(r).digest("hex") !== t.sha256) throw new P();
|
|
138
|
+
return r.toString(w);
|
|
139
139
|
} catch (e) {
|
|
140
|
-
throw e instanceof
|
|
140
|
+
throw e instanceof P ? e : new P();
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
//#endregion
|
|
144
144
|
//#region src/error-report-source-maps/archive.ts
|
|
145
|
-
var
|
|
146
|
-
async function
|
|
145
|
+
var me = 864e5;
|
|
146
|
+
async function he(e, t, n, r) {
|
|
147
147
|
let a = p.join(p.resolve(t), n), o = p.join(a, r), s = p.join(a, `.${r}.tmp-${process.pid}`);
|
|
148
148
|
await i(a, { recursive: !0 }), await l(s, {
|
|
149
149
|
force: !0,
|
|
@@ -151,131 +151,131 @@ async function pe(e, t, n, r) {
|
|
|
151
151
|
}), await i(s, { recursive: !1 });
|
|
152
152
|
try {
|
|
153
153
|
for (let t of e.manifest.entries) {
|
|
154
|
-
let n = await
|
|
154
|
+
let n = await z(e, t), r = p.join(s, t.map);
|
|
155
155
|
await i(p.dirname(r), { recursive: !0 }), await f(r, n, {
|
|
156
|
-
encoding:
|
|
156
|
+
encoding: w,
|
|
157
157
|
flag: "wx"
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
|
-
await f(p.join(s,
|
|
161
|
-
encoding:
|
|
160
|
+
await f(p.join(s, C), `${JSON.stringify(e.manifest, null, 2)}\n`, {
|
|
161
|
+
encoding: w,
|
|
162
162
|
flag: "wx"
|
|
163
163
|
}), await c(s, o);
|
|
164
164
|
} catch (e) {
|
|
165
165
|
if (await l(s, {
|
|
166
166
|
force: !0,
|
|
167
167
|
recursive: !0
|
|
168
|
-
}), !await
|
|
168
|
+
}), !await R(t, n, r).catch(() => null)) throw e;
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
|
-
async function
|
|
172
|
-
if (!
|
|
171
|
+
async function B(e) {
|
|
172
|
+
if (!N(e.buildId)) return;
|
|
173
173
|
await i(e.archiveRoot, { recursive: !0 });
|
|
174
|
-
let t = await
|
|
174
|
+
let t = await R(e.archiveRoot, e.application, e.buildId), n = e.seedRoot ? await R(e.seedRoot, e.application, e.buildId) : null;
|
|
175
175
|
if (t && n && JSON.stringify(t.manifest.entries) !== JSON.stringify(n.manifest.entries)) throw Error("Persistent source-map artifact не совпадает с image seed для того же build ID.");
|
|
176
|
-
!t && n && await
|
|
176
|
+
!t && n && await he(n, e.archiveRoot, e.application, e.buildId);
|
|
177
177
|
let r = p.join(p.resolve(e.archiveRoot), e.application);
|
|
178
178
|
await i(r, { recursive: !0 });
|
|
179
179
|
let a = (e.now ?? (() => /* @__PURE__ */ new Date()))().getTime();
|
|
180
|
-
for (let t of await o(r, { withFileTypes: !0 })) if (!(!t.isDirectory() || !
|
|
181
|
-
let n = await
|
|
180
|
+
for (let t of await o(r, { withFileTypes: !0 })) if (!(!t.isDirectory() || !N(t.name) || t.name === e.buildId)) try {
|
|
181
|
+
let n = await R(e.archiveRoot, e.application, t.name);
|
|
182
182
|
if (!n) continue;
|
|
183
183
|
let r = Date.parse(n.manifest.createdUtc);
|
|
184
184
|
Number.isFinite(r) && r + 83808e5 <= a && await l(n.buildDirectory, { recursive: !0 });
|
|
185
185
|
} catch {}
|
|
186
186
|
}
|
|
187
|
-
function
|
|
188
|
-
let t = () => void
|
|
187
|
+
function ge(e) {
|
|
188
|
+
let t = () => void B(e).catch((t) => e.onError?.(t));
|
|
189
189
|
t();
|
|
190
|
-
let n = setInterval(t,
|
|
190
|
+
let n = setInterval(t, me);
|
|
191
191
|
return n.unref(), () => clearInterval(n);
|
|
192
192
|
}
|
|
193
193
|
//#endregion
|
|
194
194
|
//#region src/error-report-source-maps/package.ts
|
|
195
|
-
var
|
|
196
|
-
async function
|
|
195
|
+
var V = "public", _e = 3, ve = /(?:\/\*[#@]\s*sourceMappingURL=[^*]*\*\/|\/\/[#@]\s*sourceMappingURL=.*)$/gm, H = /\.(?:css|html|js|mjs)$/, ye = /"(\/[^"\n]+\.map)"\s*:\s*\{/, be = ".private-source-maps-staging/client";
|
|
196
|
+
async function U(e, t = /* @__PURE__ */ new Set()) {
|
|
197
197
|
let n = [];
|
|
198
198
|
for (let r of await o(e, { withFileTypes: !0 })) {
|
|
199
199
|
let i = p.join(e, r.name);
|
|
200
200
|
if (!t.has(p.resolve(i))) {
|
|
201
201
|
if (r.isSymbolicLink()) throw Error(`Build output содержит недопустимую symbolic link: ${i}`);
|
|
202
|
-
r.isDirectory() ? n.push(...await
|
|
202
|
+
r.isDirectory() ? n.push(...await U(i, t)) : r.isFile() && n.push(i);
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
205
|
return n.sort((e, t) => e.localeCompare(t));
|
|
206
206
|
}
|
|
207
|
-
function
|
|
208
|
-
if (e.byteLength === 0 || e.byteLength > 33554432) throw Error(`Source map выходит за предел ${
|
|
207
|
+
function xe(e, t) {
|
|
208
|
+
if (e.byteLength === 0 || e.byteLength > 33554432) throw Error(`Source map выходит за предел ${D} bytes: ${t}`);
|
|
209
209
|
let n;
|
|
210
210
|
try {
|
|
211
|
-
n = JSON.parse(e.toString(
|
|
211
|
+
n = JSON.parse(e.toString(w));
|
|
212
212
|
} catch {
|
|
213
213
|
throw Error(`Source map содержит некорректный JSON: ${t}`);
|
|
214
214
|
}
|
|
215
|
-
if (!n || typeof n != "object" || !("version" in n) || n.version !==
|
|
215
|
+
if (!n || typeof n != "object" || !("version" in n) || n.version !== _e) throw Error(`Source map имеет неподдерживаемый формат: ${t}`);
|
|
216
216
|
let r = "sources" in n ? n.sources : void 0, i = "sourcesContent" in n ? n.sourcesContent : void 0;
|
|
217
217
|
if (!Array.isArray(r)) throw Error(`Source map не содержит список sources: ${t}`);
|
|
218
218
|
if (i !== void 0 && (!Array.isArray(i) || i.length !== r.length)) throw Error(`Source map содержит неполный sourcesContent: ${t}`);
|
|
219
219
|
}
|
|
220
|
-
function
|
|
221
|
-
let r = p.join(e,
|
|
220
|
+
function Se(e, t, n) {
|
|
221
|
+
let r = p.join(e, V), i = p.join(e, "server"), a = p.relative(r, n);
|
|
222
222
|
if (a && !a.startsWith("..") && !p.isAbsolute(a)) {
|
|
223
223
|
let e = a.split(p.sep).join("/");
|
|
224
224
|
return {
|
|
225
|
-
kind:
|
|
226
|
-
bundle: `/${e.slice(0, -
|
|
227
|
-
map:
|
|
225
|
+
kind: b,
|
|
226
|
+
bundle: `/${e.slice(0, -S.length)}`,
|
|
227
|
+
map: `${b}/${e}`
|
|
228
228
|
};
|
|
229
229
|
}
|
|
230
230
|
let o = p.relative(t, n);
|
|
231
231
|
if (o && !o.startsWith("..") && !p.isAbsolute(o)) {
|
|
232
232
|
let e = o.split(p.sep).join("/");
|
|
233
233
|
return {
|
|
234
|
-
kind:
|
|
235
|
-
bundle: `/${e.slice(0, -
|
|
236
|
-
map:
|
|
234
|
+
kind: b,
|
|
235
|
+
bundle: `/${e.slice(0, -S.length)}`,
|
|
236
|
+
map: `${b}/${e}`
|
|
237
237
|
};
|
|
238
238
|
}
|
|
239
239
|
let s = p.relative(i, n);
|
|
240
240
|
if (s && !s.startsWith("..") && !p.isAbsolute(s)) {
|
|
241
241
|
let e = s.split(p.sep).join("/");
|
|
242
242
|
return {
|
|
243
|
-
kind:
|
|
244
|
-
bundle:
|
|
245
|
-
map:
|
|
243
|
+
kind: x,
|
|
244
|
+
bundle: `${T}${e.slice(0, -S.length)}`,
|
|
245
|
+
map: `${x}/${e}`
|
|
246
246
|
};
|
|
247
247
|
}
|
|
248
248
|
throw Error(`Source map находится вне public/server output: ${n}`);
|
|
249
249
|
}
|
|
250
|
-
async function
|
|
251
|
-
let t = await a(e,
|
|
252
|
-
n !== t && await f(e, n,
|
|
250
|
+
async function W(e) {
|
|
251
|
+
let t = await a(e, w), n = t.replace(ve, "");
|
|
252
|
+
n !== t && await f(e, n, w);
|
|
253
253
|
}
|
|
254
|
-
async function
|
|
255
|
-
let n = p.resolve(e), r = p.resolve(t.publicRoot ?? p.join(n,
|
|
254
|
+
async function Ce(e, t = {}) {
|
|
255
|
+
let n = p.resolve(e), r = p.resolve(t.publicRoot ?? p.join(n, V)), a = p.resolve(t.clientSourceMapStagingRoot ?? p.join(n, ".private-source-maps-staging/client")), o = await U(r), s = o.filter((e) => e.endsWith(S));
|
|
256
256
|
for (let e of s) {
|
|
257
257
|
let t = p.relative(r, e), n = p.join(a, t);
|
|
258
258
|
await i(p.dirname(n), { recursive: !0 }), await c(e, n);
|
|
259
259
|
}
|
|
260
|
-
for (let e of o) !e.endsWith(".map") &&
|
|
260
|
+
for (let e of o) !e.endsWith(".map") && H.test(e) && await W(e);
|
|
261
261
|
return s.length;
|
|
262
262
|
}
|
|
263
|
-
async function
|
|
264
|
-
let t = await a(e,
|
|
263
|
+
async function we(e) {
|
|
264
|
+
let t = await a(e, w), n = ye.exec(t)?.[1];
|
|
265
265
|
if (n) throw Error(`Nitro static asset manifest содержит source map: ${n}`);
|
|
266
266
|
}
|
|
267
|
-
async function
|
|
268
|
-
for (let t of await
|
|
267
|
+
async function Te(e) {
|
|
268
|
+
for (let t of await U(e)) {
|
|
269
269
|
if (t.endsWith(".map")) throw Error(`Public output содержит source map: ${t}`);
|
|
270
|
-
if (
|
|
270
|
+
if (H.test(t) && (await a(t, "utf8")).includes("sourceMappingURL")) throw Error(`Public output содержит sourceMappingURL: ${t}`);
|
|
271
271
|
}
|
|
272
272
|
}
|
|
273
|
-
async function
|
|
274
|
-
if (!
|
|
275
|
-
let t = p.resolve(e.outputRoot), r = p.resolve(e.artifactRoot), o = p.resolve(e.clientSourceMapStagingRoot ?? p.join(t, ".private-source-maps-staging/client")), s = p.join(r, e.application, e.buildId), m = `${s}.tmp-${process.pid}`, h = await
|
|
273
|
+
async function Ee(e) {
|
|
274
|
+
if (!M(e.application) || !N(e.buildId)) throw Error("Application или build ID private source-map artifact недопустим.");
|
|
275
|
+
let t = p.resolve(e.outputRoot), r = p.resolve(e.artifactRoot), o = p.resolve(e.clientSourceMapStagingRoot ?? p.join(t, ".private-source-maps-staging/client")), s = p.join(r, e.application, e.buildId), m = `${s}.tmp-${process.pid}`, h = await U(t, /* @__PURE__ */ new Set([p.resolve(t, "server/node_modules")])), g = (() => {
|
|
276
276
|
let e = p.relative(t, o);
|
|
277
277
|
return e === "" || !e.startsWith("..") && !p.isAbsolute(e);
|
|
278
|
-
})() ? [] : await
|
|
278
|
+
})() ? [] : await U(o), _ = [...h, ...g].filter((e) => e.endsWith(S));
|
|
279
279
|
if (_.length === 0) throw Error("Production build не создал private source maps.");
|
|
280
280
|
await l(m, {
|
|
281
281
|
force: !0,
|
|
@@ -285,11 +285,11 @@ async function xe(e) {
|
|
|
285
285
|
try {
|
|
286
286
|
for (let e of _) {
|
|
287
287
|
let r = await a(e);
|
|
288
|
-
if (
|
|
289
|
-
let s =
|
|
288
|
+
if (xe(r, e), y += r.byteLength, y > 268435456) throw Error(`Private source-map artifact превышает ${O} bytes.`);
|
|
289
|
+
let s = Se(t, o, e), c = p.join(m, s.map);
|
|
290
290
|
await i(p.dirname(c), { recursive: !0 }), await f(c, r, { flag: "wx" }), v.push({
|
|
291
291
|
...s,
|
|
292
|
-
sha256: n(
|
|
292
|
+
sha256: n(re).update(r).digest("hex"),
|
|
293
293
|
size: r.byteLength
|
|
294
294
|
});
|
|
295
295
|
}
|
|
@@ -303,16 +303,16 @@ async function xe(e) {
|
|
|
303
303
|
createdUtc: e.createdUtc ?? (/* @__PURE__ */ new Date()).toISOString(),
|
|
304
304
|
entries: v
|
|
305
305
|
};
|
|
306
|
-
await f(p.join(m,
|
|
307
|
-
encoding:
|
|
306
|
+
await f(p.join(m, C), `${JSON.stringify(r, null, 2)}\n`, {
|
|
307
|
+
encoding: w,
|
|
308
308
|
flag: "wx"
|
|
309
309
|
}), await l(s, {
|
|
310
310
|
force: !0,
|
|
311
311
|
recursive: !0
|
|
312
312
|
}), await i(p.dirname(s), { recursive: !0 }), await c(m, s);
|
|
313
313
|
for (let e of _) await d(e);
|
|
314
|
-
for (let e of h) !e.endsWith(".map") &&
|
|
315
|
-
if (await
|
|
314
|
+
for (let e of h) !e.endsWith(".map") && H.test(e) && await W(e);
|
|
315
|
+
if (await Te(p.join(t, V)), await we(p.join(t, "server/index.mjs")), !(await u(p.join(s, "manifest.json"))).isFile()) throw Error("Private source-map manifest не был создан.");
|
|
316
316
|
return r;
|
|
317
317
|
} catch (e) {
|
|
318
318
|
throw await l(m, {
|
|
@@ -322,24 +322,24 @@ async function xe(e) {
|
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
324
|
//#endregion
|
|
325
|
-
//#region node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs
|
|
326
|
-
var
|
|
327
|
-
for (let e = 0; e <
|
|
328
|
-
let t =
|
|
329
|
-
|
|
325
|
+
//#region node_modules/.pnpm/@jridgewell+sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs
|
|
326
|
+
var De = 44, Oe = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", ke = /* @__PURE__ */ new Uint8Array(64), Ae = /* @__PURE__ */ new Uint8Array(128);
|
|
327
|
+
for (let e = 0; e < Oe.length; e++) {
|
|
328
|
+
let t = Oe.charCodeAt(e);
|
|
329
|
+
ke[e] = t, Ae[t] = e;
|
|
330
330
|
}
|
|
331
|
-
function
|
|
331
|
+
function G(e, t) {
|
|
332
332
|
let n = 0, r = 0, i = 0;
|
|
333
333
|
do
|
|
334
|
-
i =
|
|
334
|
+
i = Ae[e.next()], n |= (i & 31) << r, r += 5;
|
|
335
335
|
while (i & 32);
|
|
336
336
|
let a = n & 1;
|
|
337
337
|
return n >>>= 1, a && (n = -2147483648 | -n), t + n;
|
|
338
338
|
}
|
|
339
|
-
function
|
|
340
|
-
return e.pos >= t ? !1 : e.peek() !==
|
|
339
|
+
function je(e, t) {
|
|
340
|
+
return e.pos >= t ? !1 : e.peek() !== De;
|
|
341
341
|
}
|
|
342
|
-
var
|
|
342
|
+
var Me = class {
|
|
343
343
|
constructor(e) {
|
|
344
344
|
this.pos = 0, this.buffer = e;
|
|
345
345
|
}
|
|
@@ -354,13 +354,13 @@ var we = class {
|
|
|
354
354
|
return r === -1 ? t.length : r;
|
|
355
355
|
}
|
|
356
356
|
};
|
|
357
|
-
function
|
|
358
|
-
let { length: t } = e, n = new
|
|
357
|
+
function Ne(e) {
|
|
358
|
+
let { length: t } = e, n = new Me(e), r = [], i = 0, a = 0, o = 0, s = 0, c = 0;
|
|
359
359
|
do {
|
|
360
360
|
let e = n.indexOf(";"), t = [], l = !0, u = 0;
|
|
361
361
|
for (i = 0; n.pos < e;) {
|
|
362
362
|
let r;
|
|
363
|
-
i =
|
|
363
|
+
i = G(n, i), i < u && (l = !1), u = i, je(n, e) ? (a = G(n, a), o = G(n, o), s = G(n, s), je(n, e) ? (c = G(n, c), r = [
|
|
364
364
|
i,
|
|
365
365
|
a,
|
|
366
366
|
o,
|
|
@@ -373,19 +373,19 @@ function Te(e) {
|
|
|
373
373
|
s
|
|
374
374
|
]) : r = [i], t.push(r), n.pos++;
|
|
375
375
|
}
|
|
376
|
-
l ||
|
|
376
|
+
l || Pe(t), r.push(t), n.pos = e + 1;
|
|
377
377
|
} while (n.pos <= t);
|
|
378
378
|
return r;
|
|
379
379
|
}
|
|
380
|
-
function
|
|
381
|
-
e.sort(
|
|
380
|
+
function Pe(e) {
|
|
381
|
+
e.sort(Fe);
|
|
382
382
|
}
|
|
383
|
-
function
|
|
383
|
+
function Fe(e, t) {
|
|
384
384
|
return e[0] - t[0];
|
|
385
385
|
}
|
|
386
386
|
//#endregion
|
|
387
|
-
//#region node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs
|
|
388
|
-
var
|
|
387
|
+
//#region node_modules/.pnpm/@jridgewell+trace-mapping@0.3.31/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs
|
|
388
|
+
var Ie = /* @__PURE__ */ ne((/* @__PURE__ */ ee(((e, t) => {
|
|
389
389
|
(function(n, r) {
|
|
390
390
|
typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self, n.resolveURI = r());
|
|
391
391
|
})(e, (function() {
|
|
@@ -498,77 +498,77 @@ var Oe = /* @__PURE__ */ ne((/* @__PURE__ */ ee(((e, t) => {
|
|
|
498
498
|
return h;
|
|
499
499
|
}));
|
|
500
500
|
})))(), 1);
|
|
501
|
-
function
|
|
501
|
+
function Le(e) {
|
|
502
502
|
if (!e) return "";
|
|
503
503
|
let t = e.lastIndexOf("/");
|
|
504
504
|
return e.slice(0, t + 1);
|
|
505
505
|
}
|
|
506
|
-
function
|
|
507
|
-
let n =
|
|
508
|
-
return (e) => (0,
|
|
506
|
+
function Re(e, t) {
|
|
507
|
+
let n = Le(e), r = t ? t + "/" : "";
|
|
508
|
+
return (e) => (0, Ie.default)(r + (e || ""), n);
|
|
509
509
|
}
|
|
510
|
-
var
|
|
511
|
-
function
|
|
512
|
-
let n =
|
|
510
|
+
var K = 0, ze = 1, Be = 2, Ve = 3, He = 4;
|
|
511
|
+
function Ue(e, t) {
|
|
512
|
+
let n = We(e, 0);
|
|
513
513
|
if (n === e.length) return e;
|
|
514
514
|
t || (e = e.slice());
|
|
515
|
-
for (let r = n; r < e.length; r =
|
|
515
|
+
for (let r = n; r < e.length; r = We(e, r + 1)) e[r] = Ke(e[r], t);
|
|
516
516
|
return e;
|
|
517
517
|
}
|
|
518
|
-
function
|
|
519
|
-
for (let n = t; n < e.length; n++) if (!
|
|
518
|
+
function We(e, t) {
|
|
519
|
+
for (let n = t; n < e.length; n++) if (!Ge(e[n])) return n;
|
|
520
520
|
return e.length;
|
|
521
521
|
}
|
|
522
|
-
function
|
|
523
|
-
for (let t = 1; t < e.length; t++) if (e[t][
|
|
522
|
+
function Ge(e) {
|
|
523
|
+
for (let t = 1; t < e.length; t++) if (e[t][K] < e[t - 1][K]) return !1;
|
|
524
524
|
return !0;
|
|
525
525
|
}
|
|
526
|
-
function
|
|
527
|
-
return t || (e = e.slice()), e.sort(
|
|
526
|
+
function Ke(e, t) {
|
|
527
|
+
return t || (e = e.slice()), e.sort(qe);
|
|
528
528
|
}
|
|
529
|
-
function
|
|
530
|
-
return e[
|
|
529
|
+
function qe(e, t) {
|
|
530
|
+
return e[K] - t[K];
|
|
531
531
|
}
|
|
532
532
|
var q = !1;
|
|
533
|
-
function
|
|
533
|
+
function Je(e, t, n, r) {
|
|
534
534
|
for (; n <= r;) {
|
|
535
|
-
let i = n + (r - n >> 1), a = e[i][
|
|
535
|
+
let i = n + (r - n >> 1), a = e[i][K] - t;
|
|
536
536
|
if (a === 0) return q = !0, i;
|
|
537
537
|
a < 0 ? n = i + 1 : r = i - 1;
|
|
538
538
|
}
|
|
539
539
|
return q = !1, n - 1;
|
|
540
540
|
}
|
|
541
|
-
function
|
|
542
|
-
for (let r = n + 1; r < e.length && e[r][
|
|
541
|
+
function Ye(e, t, n) {
|
|
542
|
+
for (let r = n + 1; r < e.length && e[r][K] === t; n = r++);
|
|
543
543
|
return n;
|
|
544
544
|
}
|
|
545
|
-
function
|
|
546
|
-
for (let r = n - 1; r >= 0 && e[r][
|
|
545
|
+
function Xe(e, t, n) {
|
|
546
|
+
for (let r = n - 1; r >= 0 && e[r][K] === t; n = r--);
|
|
547
547
|
return n;
|
|
548
548
|
}
|
|
549
|
-
function
|
|
549
|
+
function Ze() {
|
|
550
550
|
return {
|
|
551
551
|
lastKey: -1,
|
|
552
552
|
lastNeedle: -1,
|
|
553
553
|
lastIndex: -1
|
|
554
554
|
};
|
|
555
555
|
}
|
|
556
|
-
function
|
|
556
|
+
function Qe(e, t, n, r) {
|
|
557
557
|
let { lastKey: i, lastNeedle: a, lastIndex: o } = n, s = 0, c = e.length - 1;
|
|
558
558
|
if (r === i) {
|
|
559
|
-
if (t === a) return q = o !== -1 && e[o][
|
|
559
|
+
if (t === a) return q = o !== -1 && e[o][K] === t, o;
|
|
560
560
|
t >= a ? s = o === -1 ? 0 : o : c = o;
|
|
561
561
|
}
|
|
562
|
-
return n.lastKey = r, n.lastNeedle = t, n.lastIndex =
|
|
562
|
+
return n.lastKey = r, n.lastNeedle = t, n.lastIndex = Je(e, t, s, c);
|
|
563
563
|
}
|
|
564
564
|
function J(e) {
|
|
565
565
|
return typeof e == "string" ? JSON.parse(e) : e;
|
|
566
566
|
}
|
|
567
|
-
var
|
|
567
|
+
var $e = function(e, t) {
|
|
568
568
|
let n = J(e);
|
|
569
|
-
if (!("sections" in n)) return new
|
|
569
|
+
if (!("sections" in n)) return new X(n, t);
|
|
570
570
|
let r = [], i = [], a = [], o = [], s = [];
|
|
571
|
-
return
|
|
571
|
+
return et(n, t, r, i, a, o, s, 0, 0, Infinity, Infinity), lt({
|
|
572
572
|
version: 3,
|
|
573
573
|
file: n.file,
|
|
574
574
|
names: o,
|
|
@@ -578,7 +578,7 @@ var Be = function(e, t) {
|
|
|
578
578
|
ignoreList: s
|
|
579
579
|
});
|
|
580
580
|
};
|
|
581
|
-
function
|
|
581
|
+
function et(e, t, n, r, i, a, o, s, c, l, u) {
|
|
582
582
|
let { sections: d } = e;
|
|
583
583
|
for (let e = 0; e < d.length; e++) {
|
|
584
584
|
let { map: f, offset: p } = d[e], m = l, h = u;
|
|
@@ -586,28 +586,28 @@ function Y(e, t, n, r, i, a, o, s, c, l, u) {
|
|
|
586
586
|
let t = d[e + 1].offset;
|
|
587
587
|
m = Math.min(l, s + t.line), m === l ? h = Math.min(u, c + t.column) : m < l && (h = c + t.column);
|
|
588
588
|
}
|
|
589
|
-
|
|
589
|
+
tt(f, t, n, r, i, a, o, s + p.line, c + p.column, m, h);
|
|
590
590
|
}
|
|
591
591
|
}
|
|
592
|
-
function
|
|
592
|
+
function tt(e, t, n, r, i, a, o, s, c, l, u) {
|
|
593
593
|
let d = J(e);
|
|
594
|
-
if ("sections" in d) return
|
|
595
|
-
let f = new
|
|
596
|
-
if (
|
|
594
|
+
if ("sections" in d) return et(...arguments);
|
|
595
|
+
let f = new X(d, t), p = r.length, m = a.length, h = at(f), { resolvedSources: g, sourcesContent: _, ignoreList: v } = f;
|
|
596
|
+
if (Y(r, g), Y(a, f.names), _) Y(i, _);
|
|
597
597
|
else for (let e = 0; e < g.length; e++) i.push(null);
|
|
598
598
|
if (v) for (let e = 0; e < v.length; e++) o.push(v[e] + p);
|
|
599
599
|
for (let e = 0; e < h.length; e++) {
|
|
600
600
|
let t = s + e;
|
|
601
601
|
if (t > l) return;
|
|
602
|
-
let r =
|
|
602
|
+
let r = nt(n, t), i = e === 0 ? c : 0, a = h[e];
|
|
603
603
|
for (let e = 0; e < a.length; e++) {
|
|
604
|
-
let n = a[e], o = i + n[
|
|
604
|
+
let n = a[e], o = i + n[K];
|
|
605
605
|
if (t === l && o >= u) return;
|
|
606
606
|
if (n.length === 1) {
|
|
607
607
|
r.push([o]);
|
|
608
608
|
continue;
|
|
609
609
|
}
|
|
610
|
-
let s = p + n[
|
|
610
|
+
let s = p + n[ze], c = n[Be], d = n[Ve];
|
|
611
611
|
r.push(n.length === 4 ? [
|
|
612
612
|
o,
|
|
613
613
|
s,
|
|
@@ -618,69 +618,69 @@ function Ve(e, t, n, r, i, a, o, s, c, l, u) {
|
|
|
618
618
|
s,
|
|
619
619
|
c,
|
|
620
620
|
d,
|
|
621
|
-
m + n[
|
|
621
|
+
m + n[He]
|
|
622
622
|
]);
|
|
623
623
|
}
|
|
624
624
|
}
|
|
625
625
|
}
|
|
626
|
-
function
|
|
626
|
+
function Y(e, t) {
|
|
627
627
|
for (let n = 0; n < t.length; n++) e.push(t[n]);
|
|
628
628
|
}
|
|
629
|
-
function
|
|
629
|
+
function nt(e, t) {
|
|
630
630
|
for (let n = e.length; n <= t; n++) e[n] = [];
|
|
631
631
|
return e[t];
|
|
632
632
|
}
|
|
633
|
-
var
|
|
633
|
+
var rt = "`line` must be greater than 0 (lines start at line 1)", it = "`column` must be greater than or equal to 0 (columns start at column 0)", X = class {
|
|
634
634
|
constructor(e, t) {
|
|
635
635
|
let n = typeof e == "string";
|
|
636
636
|
if (!n && e._decodedMemo) return e;
|
|
637
637
|
let r = J(e), { version: i, file: a, names: o, sourceRoot: s, sources: c, sourcesContent: l } = r;
|
|
638
638
|
this.version = i, this.file = a, this.names = o || [], this.sourceRoot = s, this.sources = c, this.sourcesContent = l, this.ignoreList = r.ignoreList || r.x_google_ignoreList || void 0;
|
|
639
|
-
let u =
|
|
639
|
+
let u = Re(t, s);
|
|
640
640
|
this.resolvedSources = c.map(u);
|
|
641
641
|
let { mappings: d } = r;
|
|
642
642
|
if (typeof d == "string") this._encoded = d, this._decoded = void 0;
|
|
643
|
-
else if (Array.isArray(d)) this._encoded = void 0, this._decoded =
|
|
643
|
+
else if (Array.isArray(d)) this._encoded = void 0, this._decoded = Ue(d, n);
|
|
644
644
|
else if (r.sections) throw Error("TraceMap passed sectioned source map, please use FlattenMap export instead");
|
|
645
645
|
else throw Error(`invalid source map: ${JSON.stringify(r)}`);
|
|
646
|
-
this._decodedMemo =
|
|
646
|
+
this._decodedMemo = Ze(), this._bySources = void 0, this._bySourceMemos = void 0;
|
|
647
647
|
}
|
|
648
648
|
};
|
|
649
|
-
function
|
|
649
|
+
function Z(e) {
|
|
650
650
|
return e;
|
|
651
651
|
}
|
|
652
|
-
function
|
|
652
|
+
function at(e) {
|
|
653
653
|
var t;
|
|
654
|
-
return (t =
|
|
654
|
+
return (t = Z(e))._decoded || (t._decoded = Ne(Z(e)._encoded));
|
|
655
655
|
}
|
|
656
|
-
function
|
|
656
|
+
function ot(e, t) {
|
|
657
657
|
let { line: n, column: r, bias: i } = t;
|
|
658
|
-
if (n--, n < 0) throw Error(
|
|
659
|
-
if (r < 0) throw Error(
|
|
660
|
-
let a =
|
|
661
|
-
if (n >= a.length) return
|
|
662
|
-
let o = a[n], s =
|
|
663
|
-
if (s === -1) return
|
|
658
|
+
if (n--, n < 0) throw Error(rt);
|
|
659
|
+
if (r < 0) throw Error(it);
|
|
660
|
+
let a = at(e);
|
|
661
|
+
if (n >= a.length) return Q(null, null, null, null);
|
|
662
|
+
let o = a[n], s = dt(o, Z(e)._decodedMemo, n, r, i || 1);
|
|
663
|
+
if (s === -1) return Q(null, null, null, null);
|
|
664
664
|
let c = o[s];
|
|
665
|
-
if (c.length === 1) return
|
|
665
|
+
if (c.length === 1) return Q(null, null, null, null);
|
|
666
666
|
let { names: l, resolvedSources: u } = e;
|
|
667
|
-
return
|
|
667
|
+
return Q(u[c[ze]], c[Be] + 1, c[Ve], c.length === 5 ? l[c[He]] : null);
|
|
668
668
|
}
|
|
669
|
-
function
|
|
669
|
+
function st(e, t) {
|
|
670
670
|
let { sources: n, resolvedSources: r } = e, i = n.indexOf(t);
|
|
671
671
|
return i === -1 && (i = r.indexOf(t)), i;
|
|
672
672
|
}
|
|
673
|
-
function
|
|
673
|
+
function ct(e, t) {
|
|
674
674
|
let { sourcesContent: n } = e;
|
|
675
675
|
if (n == null) return null;
|
|
676
|
-
let r =
|
|
676
|
+
let r = st(e, t);
|
|
677
677
|
return r === -1 ? null : n[r];
|
|
678
678
|
}
|
|
679
|
-
function
|
|
680
|
-
let n = new
|
|
681
|
-
return
|
|
679
|
+
function lt(e, t) {
|
|
680
|
+
let n = new X(ut(e, []), t);
|
|
681
|
+
return Z(n)._decoded = e.mappings, n;
|
|
682
682
|
}
|
|
683
|
-
function
|
|
683
|
+
function ut(e, t) {
|
|
684
684
|
return {
|
|
685
685
|
version: e.version,
|
|
686
686
|
file: e.file,
|
|
@@ -692,7 +692,7 @@ function Xe(e, t) {
|
|
|
692
692
|
ignoreList: e.ignoreList || e.x_google_ignoreList
|
|
693
693
|
};
|
|
694
694
|
}
|
|
695
|
-
function
|
|
695
|
+
function Q(e, t, n, r) {
|
|
696
696
|
return {
|
|
697
697
|
source: e,
|
|
698
698
|
line: t,
|
|
@@ -700,50 +700,50 @@ function $(e, t, n, r) {
|
|
|
700
700
|
name: r
|
|
701
701
|
};
|
|
702
702
|
}
|
|
703
|
-
function
|
|
704
|
-
let a =
|
|
705
|
-
return q ? a = (i === -1 ?
|
|
703
|
+
function dt(e, t, n, r, i) {
|
|
704
|
+
let a = Qe(e, r, t, n);
|
|
705
|
+
return q ? a = (i === -1 ? Ye : Xe)(e, r, a) : i === -1 && a++, a === -1 || a === e.length ? -1 : a;
|
|
706
706
|
}
|
|
707
707
|
//#endregion
|
|
708
|
-
//#region src/error-report-source-maps/
|
|
709
|
-
var
|
|
710
|
-
function
|
|
708
|
+
//#region src/error-report-source-maps/symbolicationResultConstants.ts
|
|
709
|
+
var ft = "not-required", pt = "resolved", mt = "maps-unavailable", ht = "failed", gt = "chromium", _t = "safari", vt = "/server/", $ = 256, yt = 1024, bt = 512, xt = 40, St = 10, Ct = 2, wt = 500, Tt = 262144;
|
|
710
|
+
function Et(e) {
|
|
711
711
|
let t = Number(e);
|
|
712
712
|
return Number.isSafeInteger(t) && t > 0 ? t : null;
|
|
713
713
|
}
|
|
714
|
-
function
|
|
715
|
-
return e?.trim().replace(/^async\s+/, "").slice(0,
|
|
714
|
+
function Dt(e) {
|
|
715
|
+
return e?.trim().replace(/^async\s+/, "").slice(0, $) || void 0;
|
|
716
716
|
}
|
|
717
|
-
function
|
|
717
|
+
function Ot(e) {
|
|
718
718
|
try {
|
|
719
719
|
return new URL(e).pathname;
|
|
720
720
|
} catch {
|
|
721
721
|
return null;
|
|
722
722
|
}
|
|
723
723
|
}
|
|
724
|
-
function
|
|
725
|
-
let t = e.replace(/[?#].*$/, "").replaceAll("\\", "/"), n = (
|
|
724
|
+
function kt(e) {
|
|
725
|
+
let t = e.replace(/[?#].*$/, "").replaceAll("\\", "/"), n = (Ot(t) ?? t).replaceAll("\\", "/");
|
|
726
726
|
if (n.startsWith("/static/") || n === "/sw.js" || n === "/sw.mjs" || n.startsWith("server/")) return n;
|
|
727
|
-
let r = n.lastIndexOf(
|
|
728
|
-
return r >= 0 ?
|
|
727
|
+
let r = n.lastIndexOf(vt);
|
|
728
|
+
return r >= 0 ? `${T}${n.slice(r + 8)}` : null;
|
|
729
729
|
}
|
|
730
|
-
function
|
|
730
|
+
function At(e, t) {
|
|
731
731
|
let n = /^\s*at\s+(.+?)\s+\((.+):(\d+):(\d+)\)\s*$/.exec(e), r = /^\s*at\s+(.+):(\d+):(\d+)\s*$/.exec(e), i = /^([^@]*)@(.+):(\d+):(\d+)\s*$/.exec(e), a = n ?? r ?? i;
|
|
732
732
|
if (!a) return null;
|
|
733
|
-
let o = a === n, s = a === i, c = o || s ? 2 : 1, l = a[c], u = a[c + 1] ?
|
|
733
|
+
let o = a === n, s = a === i, c = o || s ? 2 : 1, l = a[c], u = a[c + 1] ? Et(a[c + 1]) : null, d = a[c + 2] ? Et(a[c + 2]) : null;
|
|
734
734
|
if (!l || u === null || d === null) return null;
|
|
735
|
-
let f =
|
|
735
|
+
let f = kt(l);
|
|
736
736
|
return f ? {
|
|
737
737
|
lineIndex: t,
|
|
738
|
-
style: s ?
|
|
739
|
-
functionName:
|
|
738
|
+
style: s ? _t : gt,
|
|
739
|
+
functionName: Dt(o || s ? a[1] : void 0),
|
|
740
740
|
source: l,
|
|
741
741
|
line: u,
|
|
742
742
|
column: d,
|
|
743
743
|
bundle: f
|
|
744
744
|
} : null;
|
|
745
745
|
}
|
|
746
|
-
function
|
|
746
|
+
function jt(e) {
|
|
747
747
|
let t = e.replaceAll("\\", "/").replace(/[?#].*$/, "").replaceAll("\0", "");
|
|
748
748
|
for (let e of [
|
|
749
749
|
"/src/",
|
|
@@ -752,7 +752,7 @@ function ct(e) {
|
|
|
752
752
|
"/node_modules/"
|
|
753
753
|
]) {
|
|
754
754
|
let n = t.lastIndexOf(e);
|
|
755
|
-
if (n >= 0) return t.slice(n + 1).slice(0,
|
|
755
|
+
if (n >= 0) return t.slice(n + 1).slice(0, yt);
|
|
756
756
|
}
|
|
757
757
|
for (let e of [
|
|
758
758
|
"src/",
|
|
@@ -761,44 +761,44 @@ function ct(e) {
|
|
|
761
761
|
"node_modules/"
|
|
762
762
|
]) {
|
|
763
763
|
let n = t.indexOf(e);
|
|
764
|
-
if (n >= 0) return t.slice(n).slice(0,
|
|
764
|
+
if (n >= 0) return t.slice(n).slice(0, yt);
|
|
765
765
|
}
|
|
766
|
-
return `source/${(t.split("/").filter(Boolean).at(-1) ?? "unknown-source").slice(0,
|
|
766
|
+
return `source/${(t.split("/").filter(Boolean).at(-1) ?? "unknown-source").slice(0, bt)}`;
|
|
767
767
|
}
|
|
768
|
-
function
|
|
769
|
-
let r =
|
|
768
|
+
function Mt(e, t, n) {
|
|
769
|
+
let r = ct(e, t);
|
|
770
770
|
if (r === null) return;
|
|
771
|
-
let i = r.split(/\r?\n/), a = Math.max(1, n -
|
|
771
|
+
let i = r.split(/\r?\n/), a = Math.max(1, n - Ct), o = Math.min(i.length, n + Ct);
|
|
772
772
|
return Array.from({ length: o - a + 1 }, (e, t) => {
|
|
773
773
|
let r = a + t;
|
|
774
774
|
return {
|
|
775
775
|
line: r,
|
|
776
|
-
content: (i[r - 1] ?? "").slice(0,
|
|
776
|
+
content: (i[r - 1] ?? "").slice(0, wt),
|
|
777
777
|
focus: r === n
|
|
778
778
|
};
|
|
779
779
|
});
|
|
780
780
|
}
|
|
781
|
-
function
|
|
781
|
+
function Nt(e, t) {
|
|
782
782
|
let n = t.original;
|
|
783
783
|
if (!n) return "";
|
|
784
784
|
let r = n.name ?? e.functionName, i = `${n.source}:${n.line}:${n.column}`;
|
|
785
|
-
return e.style ===
|
|
785
|
+
return e.style === _t ? `${r ?? "global code"}@${i}` : r ? ` at ${r} (${i})` : ` at ${i}`;
|
|
786
786
|
}
|
|
787
|
-
async function
|
|
787
|
+
async function Pt(e, t, n) {
|
|
788
788
|
for (let r of e) {
|
|
789
|
-
let e = await
|
|
789
|
+
let e = await R(r, t, n);
|
|
790
790
|
if (e) return e;
|
|
791
791
|
}
|
|
792
792
|
return null;
|
|
793
793
|
}
|
|
794
|
-
function
|
|
794
|
+
function Ft() {
|
|
795
795
|
return [process.env.ERROR_REPORT_SOURCE_MAP_SEED_ROOT, process.env.ERROR_REPORT_SOURCE_MAP_ROOT].filter((e) => !!e);
|
|
796
796
|
}
|
|
797
|
-
async function
|
|
798
|
-
if (!n?.trim()) return { status:
|
|
799
|
-
let i = n.split("\n"), a = i.map(
|
|
800
|
-
if (a.length === 0) return { status:
|
|
801
|
-
let o = a.slice(0,
|
|
797
|
+
async function It(e, t, n, r = {}) {
|
|
798
|
+
if (!n?.trim()) return { status: ft };
|
|
799
|
+
let i = n.split("\n"), a = i.map(At).filter((e) => e !== null);
|
|
800
|
+
if (a.length === 0) return { status: ft };
|
|
801
|
+
let o = a.slice(0, xt), s = o.map((e) => ({
|
|
802
802
|
...e.functionName ? { functionName: e.functionName } : {},
|
|
803
803
|
generated: {
|
|
804
804
|
source: e.bundle,
|
|
@@ -807,12 +807,12 @@ async function pt(e, t, n, r = {}) {
|
|
|
807
807
|
}
|
|
808
808
|
}));
|
|
809
809
|
try {
|
|
810
|
-
let n = await
|
|
810
|
+
let n = await Pt(r.artifactRoots ?? Ft(), e, t);
|
|
811
811
|
if (!n) return {
|
|
812
|
-
status:
|
|
812
|
+
status: mt,
|
|
813
813
|
frames: s
|
|
814
814
|
};
|
|
815
|
-
let c = /* @__PURE__ */ new Map(), l = [], u = a.length >
|
|
815
|
+
let c = /* @__PURE__ */ new Map(), l = [], u = a.length > xt, d = 0;
|
|
816
816
|
for (let e of o) {
|
|
817
817
|
let t = n.entriesByBundle.get(e.bundle);
|
|
818
818
|
if (!t) {
|
|
@@ -827,8 +827,8 @@ async function pt(e, t, n, r = {}) {
|
|
|
827
827
|
continue;
|
|
828
828
|
}
|
|
829
829
|
let r = c.get(t.map);
|
|
830
|
-
r || (r = new
|
|
831
|
-
let a =
|
|
830
|
+
r || (r = new $e(await z(n, t), t.map), c.set(t.map, r));
|
|
831
|
+
let a = ot(r, {
|
|
832
832
|
line: e.line,
|
|
833
833
|
column: e.column - 1
|
|
834
834
|
});
|
|
@@ -843,7 +843,7 @@ async function pt(e, t, n, r = {}) {
|
|
|
843
843
|
});
|
|
844
844
|
continue;
|
|
845
845
|
}
|
|
846
|
-
let o = d <
|
|
846
|
+
let o = d < St ? Mt(r, a.source, a.line) : void 0;
|
|
847
847
|
o && (d += 1);
|
|
848
848
|
let s = {
|
|
849
849
|
...e.functionName ? { functionName: e.functionName } : {},
|
|
@@ -853,29 +853,29 @@ async function pt(e, t, n, r = {}) {
|
|
|
853
853
|
column: e.column
|
|
854
854
|
},
|
|
855
855
|
original: {
|
|
856
|
-
source:
|
|
856
|
+
source: jt(a.source),
|
|
857
857
|
line: a.line,
|
|
858
858
|
column: a.column + 1,
|
|
859
|
-
...a.name ? { name: a.name.slice(0,
|
|
859
|
+
...a.name ? { name: a.name.slice(0, $) } : {}
|
|
860
860
|
},
|
|
861
861
|
...o ? { sourceContext: o } : {}
|
|
862
862
|
};
|
|
863
|
-
l.push(s), i[e.lineIndex] =
|
|
863
|
+
l.push(s), i[e.lineIndex] = Nt(e, s);
|
|
864
864
|
}
|
|
865
865
|
let f = l.some((e) => e.original !== void 0);
|
|
866
866
|
return {
|
|
867
|
-
status: u || !f ?
|
|
868
|
-
...f ? { stackTrace: i.join("\n").slice(0,
|
|
867
|
+
status: u || !f ? ht : pt,
|
|
868
|
+
...f ? { stackTrace: i.join("\n").slice(0, Tt) } : {},
|
|
869
869
|
frames: l
|
|
870
870
|
};
|
|
871
871
|
} catch {
|
|
872
872
|
return {
|
|
873
|
-
status:
|
|
873
|
+
status: ht,
|
|
874
874
|
frames: s
|
|
875
875
|
};
|
|
876
876
|
}
|
|
877
877
|
}
|
|
878
878
|
//#endregion
|
|
879
|
-
export { e as ERROR_REPORT_BUILD_ID_PATTERN,
|
|
879
|
+
export { e as ERROR_REPORT_BUILD_ID_PATTERN, O as PRIVATE_SOURCE_MAP_ARTIFACT_MAX_BYTES, ae as PRIVATE_SOURCE_MAP_ARTIFACT_RETENTION_MS, E as PRIVATE_SOURCE_MAP_MANIFEST_MAX_BYTES, ie as PRIVATE_SOURCE_MAP_MANIFEST_VERSION, D as PRIVATE_SOURCE_MAP_MAX_BYTES, P as PrivateSourceMapArtifactError, be as STAGED_CLIENT_SOURCE_MAP_DIRECTORY, we as assertNoNitroSourceMapManifestLeaks, Te as assertNoPublicSourceMapLeaks, N as isErrorReportBuildId, M as isPrivateSourceMapApplicationId, R as loadPrivateSourceMapArtifact, B as maintainPrivateSourceMapArchive, Ee as packageErrorReportSourceMaps, j as parsePrivateSourceMapManifest, z as readPrivateSourceMap, Ce as stageClientSourceMapsForNitro, ge as startPrivateSourceMapArchiveMaintenance, It as symbolicateErrorReportStack };
|
|
880
880
|
|
|
881
881
|
//# sourceMappingURL=index.js.map
|