@ryuzaki13/react-foundation-lib 2.31.0 → 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 -113
- 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-CZnnbdud.js → formatters-CO40zvVB.js} +496 -496
- 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 +121 -120
- 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 +2 -2
- 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 -5
- 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 +28 -25
- 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 +7 -0
- package/dist/metadata/baseMetaTypes.d.ts.map +1 -0
- package/dist/metadata/metadataTypes.d.ts +17 -0
- package/dist/metadata/metadataTypes.d.ts.map +1 -0
- package/dist/metadata/scalarTypeClassification.d.ts +8 -0
- package/dist/metadata/scalarTypeClassification.d.ts.map +1 -0
- 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/baseTypes.d.ts +1 -5
- package/dist/odata-service/baseTypes.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 +1 -2
- package/dist/odata-service/formatters.d.ts.map +1 -1
- package/dist/odata-service/index.js +1317 -2
- package/dist/odata-service/index.js.map +1 -0
- 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 +13 -14
- package/dist/odata-service/types.d.ts.map +1 -1
- package/dist/odata-service/typesValidation.d.ts +1 -5
- package/dist/odata-service/typesValidation.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/formatters/README.mdx +5 -0
- package/src/foundationLib.mdx +8 -0
- package/src/metadata/README.md +35 -0
- package/src/odata-service/README.mdx +36 -1
- package/src/query-client/README.mdx +4 -4
- package/dist/chunks/dom-BK22UmgF.js.map +0 -1
- package/dist/chunks/formatters-CZnnbdud.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/odata-service-tp2U5yIr.js +0 -2211
- package/dist/chunks/odata-service-tp2U5yIr.js.map +0 -1
- package/dist/chunks/query-client-CVRfrYZM.js.map +0 -1
- package/dist/chunks/uuid-CUJPAbRY.js.map +0 -1
- package/dist/chunks/validate-CEQHqevt.js +0 -608
- package/dist/chunks/validate-CEQHqevt.js.map +0 -1
- package/dist/utils/index.js.map +0 -1
|
@@ -1,608 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./formulas-BXT_XBWI.js";
|
|
2
|
-
import { jn as t } from "./odata-service-tp2U5yIr.js";
|
|
3
|
-
var n = {
|
|
4
|
-
decimals: 1,
|
|
5
|
-
decimalSeparator: ",",
|
|
6
|
-
grouping: !0,
|
|
7
|
-
groupingSeparator: new Intl.NumberFormat("ru-RU").formatToParts(1e3).find((e) => e.type === "group")?.value ?? "\xA0",
|
|
8
|
-
groupingSize: 3
|
|
9
|
-
}, r = Object.freeze({
|
|
10
|
-
integer: "integer",
|
|
11
|
-
decimal: "decimal",
|
|
12
|
-
decimal2: "decimal-2",
|
|
13
|
-
decimal3: "decimal-3",
|
|
14
|
-
currency: "currency",
|
|
15
|
-
price: "price",
|
|
16
|
-
percent: "percent",
|
|
17
|
-
tonnage: "tonnage",
|
|
18
|
-
compactCurrency: "compact-currency",
|
|
19
|
-
compactCurrencyRound: "compact-currency-round",
|
|
20
|
-
compactPercent: "compact-percent",
|
|
21
|
-
compactPercentRound: "compact-percent-round",
|
|
22
|
-
compactTonnage: "compact-tonnage",
|
|
23
|
-
compactTonnageRound: "compact-tonnage-round"
|
|
24
|
-
}), i = [
|
|
25
|
-
{
|
|
26
|
-
name: "integer",
|
|
27
|
-
decimals: 0,
|
|
28
|
-
decimalSeparator: ""
|
|
29
|
-
},
|
|
30
|
-
{ name: "decimal" },
|
|
31
|
-
{
|
|
32
|
-
name: "decimal-2",
|
|
33
|
-
decimals: 2
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
name: "decimal-3",
|
|
37
|
-
decimals: 3
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
name: "currency",
|
|
41
|
-
decimals: 0,
|
|
42
|
-
decimalSeparator: ""
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
name: "price",
|
|
46
|
-
decimals: 0,
|
|
47
|
-
decimalSeparator: ""
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
name: "percent",
|
|
51
|
-
decimals: 2
|
|
52
|
-
},
|
|
53
|
-
{ name: "tonnage" },
|
|
54
|
-
{
|
|
55
|
-
name: "compact-currency",
|
|
56
|
-
decimals: 0,
|
|
57
|
-
decimalSeparator: "",
|
|
58
|
-
compact: {}
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
name: "compact-currency-round",
|
|
62
|
-
decimals: 0,
|
|
63
|
-
decimalSeparator: "",
|
|
64
|
-
compact: { roundingMode: "round" }
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
name: "compact-percent",
|
|
68
|
-
decimals: 2,
|
|
69
|
-
compact: { maxDecimals: 2 }
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
name: "compact-percent-round",
|
|
73
|
-
decimals: 2,
|
|
74
|
-
compact: {
|
|
75
|
-
maxDecimals: 2,
|
|
76
|
-
roundingMode: "round"
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
name: "compact-tonnage",
|
|
81
|
-
compact: { maxDecimals: 1 }
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
name: "compact-tonnage-round",
|
|
85
|
-
compact: {
|
|
86
|
-
maxDecimals: 1,
|
|
87
|
-
roundingMode: "round"
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
], a = /* @__PURE__ */ new Map();
|
|
91
|
-
function o() {
|
|
92
|
-
for (let e of i) a.set(e.name, {
|
|
93
|
-
...n,
|
|
94
|
-
...e
|
|
95
|
-
});
|
|
96
|
-
}
|
|
97
|
-
o();
|
|
98
|
-
function s(e) {
|
|
99
|
-
return a.get(e);
|
|
100
|
-
}
|
|
101
|
-
function c() {
|
|
102
|
-
return Array.from(a.keys());
|
|
103
|
-
}
|
|
104
|
-
function l(e) {
|
|
105
|
-
let t = {
|
|
106
|
-
...n,
|
|
107
|
-
...e
|
|
108
|
-
};
|
|
109
|
-
return a.set(t.name, t), t;
|
|
110
|
-
}
|
|
111
|
-
function u() {
|
|
112
|
-
a.clear(), o();
|
|
113
|
-
}
|
|
114
|
-
function d(e) {
|
|
115
|
-
if (typeof e != "string") return e;
|
|
116
|
-
let t = s(e);
|
|
117
|
-
if (!t) throw Error(`Предустановка "${e}" не найдена`);
|
|
118
|
-
return t;
|
|
119
|
-
}
|
|
120
|
-
//#endregion
|
|
121
|
-
//#region src/formatters/pipeline/clone.ts
|
|
122
|
-
function f(e) {
|
|
123
|
-
return e ? { ...e } : void 0;
|
|
124
|
-
}
|
|
125
|
-
function p(e) {
|
|
126
|
-
return e ? { ...e } : void 0;
|
|
127
|
-
}
|
|
128
|
-
function m(e) {
|
|
129
|
-
return e.mode === "formula" ? {
|
|
130
|
-
...e,
|
|
131
|
-
dependencyIds: e.dependencyIds ? [...e.dependencyIds] : void 0
|
|
132
|
-
} : { ...e };
|
|
133
|
-
}
|
|
134
|
-
function h(e) {
|
|
135
|
-
return {
|
|
136
|
-
resolver: e.resolver.kind === "fixed" ? {
|
|
137
|
-
kind: "fixed",
|
|
138
|
-
entries: { ...e.resolver.entries },
|
|
139
|
-
fallbackState: e.resolver.fallbackState
|
|
140
|
-
} : {
|
|
141
|
-
kind: "threshold",
|
|
142
|
-
thresholds: e.resolver.thresholds.map((e) => typeof e == "number" ? e : { ...e }),
|
|
143
|
-
states: [...e.resolver.states],
|
|
144
|
-
invalidState: e.resolver.invalidState
|
|
145
|
-
},
|
|
146
|
-
valueSource: e.valueSource?.kind === "formula" ? {
|
|
147
|
-
...e.valueSource,
|
|
148
|
-
dependencyIds: [...e.valueSource.dependencyIds]
|
|
149
|
-
} : e.valueSource ? { ...e.valueSource } : void 0,
|
|
150
|
-
icon: e.icon ? { ...e.icon } : void 0
|
|
151
|
-
};
|
|
152
|
-
}
|
|
153
|
-
function g(e) {
|
|
154
|
-
switch (e.type) {
|
|
155
|
-
case "typedValueFormat": return {
|
|
156
|
-
...e,
|
|
157
|
-
config: f(e.config)
|
|
158
|
-
};
|
|
159
|
-
case "normalizeLeadingZeros": return {
|
|
160
|
-
...e,
|
|
161
|
-
config: p(e.config)
|
|
162
|
-
};
|
|
163
|
-
case "rowBasedOverride": return {
|
|
164
|
-
...e,
|
|
165
|
-
config: m(e.config)
|
|
166
|
-
};
|
|
167
|
-
case "resolveValueState": return {
|
|
168
|
-
...e,
|
|
169
|
-
config: h(e.config)
|
|
170
|
-
};
|
|
171
|
-
}
|
|
172
|
-
throw Error(`Недопустимый тип '${e?.type}' для шага FormatterPipeline`);
|
|
173
|
-
}
|
|
174
|
-
function _(e, t) {
|
|
175
|
-
switch (e.type) {
|
|
176
|
-
case "typedValueFormat": return {
|
|
177
|
-
...e,
|
|
178
|
-
position: { ...t },
|
|
179
|
-
config: f(e.config)
|
|
180
|
-
};
|
|
181
|
-
case "normalizeLeadingZeros": return {
|
|
182
|
-
...e,
|
|
183
|
-
position: { ...t },
|
|
184
|
-
config: p(e.config)
|
|
185
|
-
};
|
|
186
|
-
case "rowBasedOverride": return {
|
|
187
|
-
...e,
|
|
188
|
-
position: { ...t },
|
|
189
|
-
config: m(e.config)
|
|
190
|
-
};
|
|
191
|
-
case "resolveValueState": return {
|
|
192
|
-
...e,
|
|
193
|
-
position: { ...t },
|
|
194
|
-
config: h(e.config)
|
|
195
|
-
};
|
|
196
|
-
}
|
|
197
|
-
throw Error(`Недопустимый тип '${e?.type}' для шага FormatterPipeline`);
|
|
198
|
-
}
|
|
199
|
-
function v(e) {
|
|
200
|
-
switch (e.type) {
|
|
201
|
-
case "source":
|
|
202
|
-
case "sink": return {
|
|
203
|
-
...e,
|
|
204
|
-
position: { ...e.position }
|
|
205
|
-
};
|
|
206
|
-
default: return _(e, e.position);
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
function y(e) {
|
|
210
|
-
return {
|
|
211
|
-
nodes: e.nodes.map(v),
|
|
212
|
-
edges: e.edges.map((e) => ({ ...e })),
|
|
213
|
-
viewport: e.viewport ? { ...e.viewport } : void 0
|
|
214
|
-
};
|
|
215
|
-
}
|
|
216
|
-
function b(e) {
|
|
217
|
-
return { steps: e.steps.map(g) };
|
|
218
|
-
}
|
|
219
|
-
function x(e) {
|
|
220
|
-
if (e) return {
|
|
221
|
-
version: e.version,
|
|
222
|
-
graph: e.graph ? y(e.graph) : void 0,
|
|
223
|
-
plan: e.plan ? b(e.plan) : void 0
|
|
224
|
-
};
|
|
225
|
-
}
|
|
226
|
-
//#endregion
|
|
227
|
-
//#region src/formatters/rowBased/context.ts
|
|
228
|
-
function S(e) {
|
|
229
|
-
let n = [...e.keys ?? []], r = (t) => {
|
|
230
|
-
if (!Number.isInteger(t) || t < 0) {
|
|
231
|
-
e.instrumentation?.onOutOfRangeIndex?.(t);
|
|
232
|
-
return;
|
|
233
|
-
}
|
|
234
|
-
if (e.instrumentation?.onReadIndex?.(t), t >= n.length) {
|
|
235
|
-
e.instrumentation?.onOutOfRangeIndex?.(t);
|
|
236
|
-
return;
|
|
237
|
-
}
|
|
238
|
-
return n[t];
|
|
239
|
-
};
|
|
240
|
-
return {
|
|
241
|
-
rowData: e.rowData,
|
|
242
|
-
rawValue: e.rawValue,
|
|
243
|
-
columnId: e.columnId,
|
|
244
|
-
key: r,
|
|
245
|
-
value: (t) => {
|
|
246
|
-
let n = r(t);
|
|
247
|
-
if (n) return e.rowData[n];
|
|
248
|
-
},
|
|
249
|
-
num: (n) => {
|
|
250
|
-
let i = r(n);
|
|
251
|
-
return i ? t(e.rowData[i]) : 0;
|
|
252
|
-
}
|
|
253
|
-
};
|
|
254
|
-
}
|
|
255
|
-
//#endregion
|
|
256
|
-
//#region src/formatters/rowBased/registry.ts
|
|
257
|
-
function C(e) {
|
|
258
|
-
let t = /* @__PURE__ */ new Map(), n = [];
|
|
259
|
-
for (let r of e) {
|
|
260
|
-
let e = r.id.trim();
|
|
261
|
-
if (!e) throw Error("Formula id для RowBasedFormatter не может быть пустым");
|
|
262
|
-
if (t.has(e)) throw Error(`Найден дублирующийся formulaId в RowBasedFormatter: ${e}`);
|
|
263
|
-
let i = Object.freeze({
|
|
264
|
-
...r,
|
|
265
|
-
id: e,
|
|
266
|
-
name: r.name.trim(),
|
|
267
|
-
description: r.description.trim()
|
|
268
|
-
});
|
|
269
|
-
t.set(e, i), n.push(i);
|
|
270
|
-
}
|
|
271
|
-
return Object.freeze({
|
|
272
|
-
list: Object.freeze(n),
|
|
273
|
-
byId: t
|
|
274
|
-
});
|
|
275
|
-
}
|
|
276
|
-
var w = C([]);
|
|
277
|
-
function T(e) {
|
|
278
|
-
w = e;
|
|
279
|
-
}
|
|
280
|
-
function E() {
|
|
281
|
-
return w.list;
|
|
282
|
-
}
|
|
283
|
-
function D(e) {
|
|
284
|
-
let t = e?.trim();
|
|
285
|
-
if (t) return w.byId.get(t);
|
|
286
|
-
}
|
|
287
|
-
//#endregion
|
|
288
|
-
//#region src/formatters/pipeline/validate.ts
|
|
289
|
-
function O(e, t, n) {
|
|
290
|
-
e.errors.push({
|
|
291
|
-
code: t,
|
|
292
|
-
message: n
|
|
293
|
-
});
|
|
294
|
-
}
|
|
295
|
-
function k(e, t, n) {
|
|
296
|
-
e.warnings.push({
|
|
297
|
-
code: t,
|
|
298
|
-
message: n
|
|
299
|
-
});
|
|
300
|
-
}
|
|
301
|
-
function A(e) {
|
|
302
|
-
return [...e].sort((e, t) => e - t);
|
|
303
|
-
}
|
|
304
|
-
function j(e, t) {
|
|
305
|
-
return e.reduce((e, n, r) => (e[n] = (r + 1) * t, e), {});
|
|
306
|
-
}
|
|
307
|
-
function M(e, t) {
|
|
308
|
-
if (!e.formulaId.trim()) {
|
|
309
|
-
O(t, "step_row_based_override_formula_id_empty", "Для rowBasedOverride (formula) необходимо заполнить formulaId.");
|
|
310
|
-
return;
|
|
311
|
-
}
|
|
312
|
-
let n = D(e.formulaId), r = [...e.dependencyIds ?? []];
|
|
313
|
-
if (!n) {
|
|
314
|
-
O(t, "step_row_based_override_formula_not_found", "Формула rowBasedOverride не найдена в реестре.");
|
|
315
|
-
return;
|
|
316
|
-
}
|
|
317
|
-
let i = /* @__PURE__ */ new Set(), a = /* @__PURE__ */ new Set(), o = 0, s = (e) => {
|
|
318
|
-
try {
|
|
319
|
-
let t = S({
|
|
320
|
-
rowData: e,
|
|
321
|
-
rawValue: 100,
|
|
322
|
-
columnId: "__validation__",
|
|
323
|
-
keys: r,
|
|
324
|
-
instrumentation: {
|
|
325
|
-
onReadIndex: (e) => {
|
|
326
|
-
i.add(e);
|
|
327
|
-
},
|
|
328
|
-
onOutOfRangeIndex: (e) => {
|
|
329
|
-
a.add(e);
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
});
|
|
333
|
-
n.fn(t);
|
|
334
|
-
} catch {
|
|
335
|
-
o += 1;
|
|
336
|
-
}
|
|
337
|
-
};
|
|
338
|
-
s(j(r, 100)), s(j(r, -100));
|
|
339
|
-
let c = A(i), l = c.length > 0 ? c[c.length - 1] + 1 : 0;
|
|
340
|
-
a.size > 0 && O(t, "step_row_based_override_dependency_index_out_of_range", `Формула rowBasedOverride обращается к несуществующим индексам. Минимально требуется зависимостей: ${l}, выбрано: ${r.length}.`), c.length === 0 && k(t, "step_row_based_override_formula_does_not_use_dependencies", "Формула rowBasedOverride не использует dependencyIds.");
|
|
341
|
-
let u = r.filter((e, t) => !i.has(t));
|
|
342
|
-
u.length > 0 && k(t, "step_row_based_override_unused_dependencies", `Выбраны, но не используются формулой rowBasedOverride: ${u.join(", ")}.`), o > 0 && k(t, "step_row_based_override_formula_runtime_error", "На тестовых данных формула rowBasedOverride завершилась с ошибкой.");
|
|
343
|
-
}
|
|
344
|
-
function N(t, n) {
|
|
345
|
-
if (!t.formulaId.trim()) {
|
|
346
|
-
O(n, "step_value_state_formula_id_empty", "Для источника состояния необходимо выбрать формулу.");
|
|
347
|
-
return;
|
|
348
|
-
}
|
|
349
|
-
if (t.dependencyIds.some((e) => !e.trim())) {
|
|
350
|
-
O(n, "step_value_state_dependency_id_empty", "Зависимость формулы состояния не может иметь пустой id.");
|
|
351
|
-
return;
|
|
352
|
-
}
|
|
353
|
-
let r = e({
|
|
354
|
-
formulaId: t.formulaId,
|
|
355
|
-
dependencies: t.dependencyIds,
|
|
356
|
-
availableColumnIds: t.dependencyIds
|
|
357
|
-
});
|
|
358
|
-
for (let e of r.errors) e.code === "formula_not_found" ? O(n, "step_value_state_formula_not_found", "Формула источника состояния не найдена в реестре.") : e.code === "dependency_index_out_of_range" && O(n, "step_value_state_dependency_index_out_of_range", e.message);
|
|
359
|
-
for (let e of r.warnings) switch (e.code) {
|
|
360
|
-
case "unused_dependencies":
|
|
361
|
-
k(n, "step_value_state_unused_dependencies", e.message);
|
|
362
|
-
break;
|
|
363
|
-
case "formula_does_not_use_dependencies":
|
|
364
|
-
k(n, "step_value_state_formula_does_not_use_dependencies", e.message);
|
|
365
|
-
break;
|
|
366
|
-
case "formula_runtime_error": k(n, "step_value_state_formula_runtime_error", e.message);
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
function P(e, t) {
|
|
370
|
-
let n = /* @__PURE__ */ new Set(), r = {
|
|
371
|
-
normalizeLeadingZeros: 0,
|
|
372
|
-
rowBasedOverride: 0,
|
|
373
|
-
resolveValueState: 0,
|
|
374
|
-
typedValueFormat: 0
|
|
375
|
-
};
|
|
376
|
-
for (let i of e) {
|
|
377
|
-
let e = i.id.trim();
|
|
378
|
-
if (!e) {
|
|
379
|
-
O(t, "step_id_duplicate", "Шаг pipeline не может иметь пустой id.");
|
|
380
|
-
continue;
|
|
381
|
-
}
|
|
382
|
-
switch (n.has(e) && O(t, "step_id_duplicate", `Найден дублирующийся id шага pipeline: ${e}.`), n.add(e), i.type) {
|
|
383
|
-
case "normalizeLeadingZeros":
|
|
384
|
-
r.normalizeLeadingZeros += 1;
|
|
385
|
-
break;
|
|
386
|
-
case "rowBasedOverride":
|
|
387
|
-
r.rowBasedOverride += 1, i.config.mode === "field" && !i.config.fieldKey.trim() && O(t, "step_row_based_override_field_key_empty", "Для rowBasedOverride (field) необходимо заполнить fieldKey."), i.config.mode === "formula" && M(i.config, t);
|
|
388
|
-
break;
|
|
389
|
-
case "resolveValueState":
|
|
390
|
-
r.resolveValueState += 1, i.config.valueSource?.kind === "formula" && N(i.config.valueSource, t), i.config.resolver.kind === "threshold" && i.config.resolver.states.length !== i.config.resolver.thresholds.length + 1 && O(t, "step_threshold_states_count_invalid", "Для threshold-резолвера количество states должно быть равно thresholds + 1.");
|
|
391
|
-
break;
|
|
392
|
-
case "typedValueFormat": if (r.typedValueFormat += 1, i.config?.numberPresetName !== void 0) {
|
|
393
|
-
let e = i.config.numberPresetName.trim();
|
|
394
|
-
if (!e) {
|
|
395
|
-
O(t, "step_typed_value_format_preset_empty", "Для typedValueFormat указан пустой numberPresetName.");
|
|
396
|
-
break;
|
|
397
|
-
}
|
|
398
|
-
s(e) || O(t, "step_typed_value_format_preset_not_found", `Для typedValueFormat указан неизвестный пресет: ${e}.`);
|
|
399
|
-
}
|
|
400
|
-
}
|
|
401
|
-
}
|
|
402
|
-
r.normalizeLeadingZeros > 1 && O(t, "step_normalize_leading_zeros_multiple", "В pipeline может быть только один шаг normalizeLeadingZeros."), r.rowBasedOverride > 1 && O(t, "step_row_based_override_multiple", "В pipeline может быть только один шаг rowBasedOverride."), r.resolveValueState > 1 && O(t, "step_resolve_value_state_multiple", "В pipeline может быть только один шаг resolveValueState."), r.typedValueFormat > 1 && O(t, "step_typed_value_format_multiple", "В pipeline может быть только один шаг typedValueFormat.");
|
|
403
|
-
let i = e.findIndex((e) => e.type === "resolveValueState"), a = e.findIndex((e) => e.type === "typedValueFormat");
|
|
404
|
-
i !== -1 && a !== -1 && a < i && O(t, "step_typed_before_value_state", "Шаг typedValueFormat не может выполняться до шага resolveValueState.");
|
|
405
|
-
for (let n of e) n.type === "resolveValueState" && !n.config.icon?.enabled && n.config.icon?.showValue === !1 && k(t, "step_value_hidden_without_icon", "Для resolveValueState установлено showValue=false при выключенной иконке: значение не будет отображаться.");
|
|
406
|
-
}
|
|
407
|
-
function F(e) {
|
|
408
|
-
let t = {
|
|
409
|
-
errors: [],
|
|
410
|
-
warnings: []
|
|
411
|
-
};
|
|
412
|
-
return P(e.steps, t), {
|
|
413
|
-
ok: t.errors.length === 0,
|
|
414
|
-
errors: t.errors,
|
|
415
|
-
warnings: t.warnings,
|
|
416
|
-
plan: t.errors.length === 0 ? { steps: [...e.steps] } : void 0
|
|
417
|
-
};
|
|
418
|
-
}
|
|
419
|
-
function I(e, t, n) {
|
|
420
|
-
let r = new Map(e.map((e) => [e.id, e])), i = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map();
|
|
421
|
-
for (let t of e) i.set(t.id, []), a.set(t.id, []);
|
|
422
|
-
for (let e of t) {
|
|
423
|
-
let t = e.source.trim(), o = e.target.trim();
|
|
424
|
-
if (!r.has(t) || !r.has(o)) {
|
|
425
|
-
O(n, "edge_node_not_found", `Ребро ${e.id} ссылается на несуществующий узел: ${t} -> ${o}.`);
|
|
426
|
-
continue;
|
|
427
|
-
}
|
|
428
|
-
i.get(t)?.push(o), a.get(o)?.push(t);
|
|
429
|
-
}
|
|
430
|
-
let o = e.filter((e) => e.type === "source"), s = e.filter((e) => e.type === "sink");
|
|
431
|
-
if (o.length !== 1 && O(n, "source_count_invalid", "В графе должен быть ровно один узел source."), s.length !== 1 && O(n, "sink_count_invalid", "В графе должен быть ровно один узел sink."), n.errors.length > 0) return;
|
|
432
|
-
let c = o[0].id, l = s[0].id;
|
|
433
|
-
for (let t of e) {
|
|
434
|
-
let e = a.get(t.id)?.length ?? 0, r = i.get(t.id)?.length ?? 0;
|
|
435
|
-
if (t.type === "source") {
|
|
436
|
-
e !== 0 && O(n, "source_incoming_invalid", "Узел source не должен иметь входящих рёбер."), r !== 1 && O(n, "node_degree_invalid", "Узел source должен иметь ровно одно исходящее ребро.");
|
|
437
|
-
continue;
|
|
438
|
-
}
|
|
439
|
-
if (t.type === "sink") {
|
|
440
|
-
r !== 0 && O(n, "sink_outgoing_invalid", "Узел sink не должен иметь исходящих рёбер."), e !== 1 && O(n, "node_degree_invalid", "Узел sink должен иметь ровно одно входящее ребро.");
|
|
441
|
-
continue;
|
|
442
|
-
}
|
|
443
|
-
(e !== 1 || r !== 1) && O(n, "node_degree_invalid", `Узел ${t.id} должен иметь ровно одно входящее и одно исходящее ребро для линейного pipeline.`);
|
|
444
|
-
}
|
|
445
|
-
if (n.errors.length > 0) return;
|
|
446
|
-
let u = /* @__PURE__ */ new Set(), d = [], f = c;
|
|
447
|
-
for (;;) {
|
|
448
|
-
if (u.has(f)) {
|
|
449
|
-
O(n, "path_cycle_detected", "В графе pipeline обнаружен цикл.");
|
|
450
|
-
return;
|
|
451
|
-
}
|
|
452
|
-
if (u.add(f), d.push(f), f === l) break;
|
|
453
|
-
let e = i.get(f) ?? [];
|
|
454
|
-
if (e.length !== 1) {
|
|
455
|
-
O(n, "path_broken", "Не удалось построить линейный путь от source к sink.");
|
|
456
|
-
return;
|
|
457
|
-
}
|
|
458
|
-
f = e[0];
|
|
459
|
-
}
|
|
460
|
-
if (u.size !== e.length) {
|
|
461
|
-
O(n, "path_disconnected_nodes", "Граф содержит узлы, которые не входят в линейный путь source -> sink.");
|
|
462
|
-
return;
|
|
463
|
-
}
|
|
464
|
-
return d;
|
|
465
|
-
}
|
|
466
|
-
function L(e) {
|
|
467
|
-
let t = {
|
|
468
|
-
errors: [],
|
|
469
|
-
warnings: []
|
|
470
|
-
};
|
|
471
|
-
if (!e.nodes.length) return O(t, "path_broken", "Граф pipeline не содержит узлов."), {
|
|
472
|
-
ok: !1,
|
|
473
|
-
errors: t.errors,
|
|
474
|
-
warnings: t.warnings
|
|
475
|
-
};
|
|
476
|
-
let n = /* @__PURE__ */ new Map();
|
|
477
|
-
for (let r of e.nodes) {
|
|
478
|
-
let e = r.id.trim();
|
|
479
|
-
if (!e) {
|
|
480
|
-
O(t, "node_id_duplicate", "Узел pipeline не может иметь пустой id.");
|
|
481
|
-
continue;
|
|
482
|
-
}
|
|
483
|
-
if (n.has(e)) {
|
|
484
|
-
O(t, "node_id_duplicate", `Найден дублирующийся id узла pipeline: ${e}.`);
|
|
485
|
-
continue;
|
|
486
|
-
}
|
|
487
|
-
n.set(e, r);
|
|
488
|
-
}
|
|
489
|
-
let r = /* @__PURE__ */ new Set();
|
|
490
|
-
for (let n of e.edges) {
|
|
491
|
-
let e = n.id.trim();
|
|
492
|
-
if (!e) {
|
|
493
|
-
O(t, "edge_id_duplicate", "Ребро pipeline не может иметь пустой id.");
|
|
494
|
-
continue;
|
|
495
|
-
}
|
|
496
|
-
if (r.has(e)) {
|
|
497
|
-
O(t, "edge_id_duplicate", `Найден дублирующийся id ребра pipeline: ${e}.`);
|
|
498
|
-
continue;
|
|
499
|
-
}
|
|
500
|
-
r.add(e);
|
|
501
|
-
}
|
|
502
|
-
if (t.errors.length > 0) return {
|
|
503
|
-
ok: !1,
|
|
504
|
-
errors: t.errors,
|
|
505
|
-
warnings: t.warnings
|
|
506
|
-
};
|
|
507
|
-
let i = I(e.nodes, e.edges, t);
|
|
508
|
-
if (!i) return {
|
|
509
|
-
ok: !1,
|
|
510
|
-
errors: t.errors,
|
|
511
|
-
warnings: t.warnings
|
|
512
|
-
};
|
|
513
|
-
let a = [];
|
|
514
|
-
for (let e of i) {
|
|
515
|
-
let t = n.get(e);
|
|
516
|
-
if (!(!t || t.type === "source" || t.type === "sink")) switch (t.type) {
|
|
517
|
-
case "normalizeLeadingZeros":
|
|
518
|
-
a.push({
|
|
519
|
-
id: t.id,
|
|
520
|
-
type: "normalizeLeadingZeros",
|
|
521
|
-
config: t.config ? { ...t.config } : void 0
|
|
522
|
-
});
|
|
523
|
-
break;
|
|
524
|
-
case "rowBasedOverride":
|
|
525
|
-
a.push({
|
|
526
|
-
id: t.id,
|
|
527
|
-
type: "rowBasedOverride",
|
|
528
|
-
config: t.config.mode === "formula" ? {
|
|
529
|
-
...t.config,
|
|
530
|
-
dependencyIds: t.config.dependencyIds ? [...t.config.dependencyIds] : void 0
|
|
531
|
-
} : { ...t.config }
|
|
532
|
-
});
|
|
533
|
-
break;
|
|
534
|
-
case "resolveValueState":
|
|
535
|
-
a.push({
|
|
536
|
-
id: t.id,
|
|
537
|
-
type: "resolveValueState",
|
|
538
|
-
config: h(t.config)
|
|
539
|
-
});
|
|
540
|
-
break;
|
|
541
|
-
case "typedValueFormat": a.push({
|
|
542
|
-
id: t.id,
|
|
543
|
-
type: "typedValueFormat",
|
|
544
|
-
config: t.config ? { ...t.config } : void 0
|
|
545
|
-
});
|
|
546
|
-
}
|
|
547
|
-
}
|
|
548
|
-
return P(a, t), {
|
|
549
|
-
ok: t.errors.length === 0,
|
|
550
|
-
errors: t.errors,
|
|
551
|
-
warnings: t.warnings,
|
|
552
|
-
plan: t.errors.length === 0 ? { steps: a } : void 0
|
|
553
|
-
};
|
|
554
|
-
}
|
|
555
|
-
function R(e) {
|
|
556
|
-
let t = {
|
|
557
|
-
errors: [],
|
|
558
|
-
warnings: []
|
|
559
|
-
};
|
|
560
|
-
if (!e) return O(t, "config_not_defined", "Конфигурация pipeline не задана."), {
|
|
561
|
-
ok: !1,
|
|
562
|
-
errors: t.errors,
|
|
563
|
-
warnings: t.warnings
|
|
564
|
-
};
|
|
565
|
-
if (e.version !== 1) return O(t, "unsupported_version", `Неподдерживаемая версия pipeline: ${String(e.version)}.`), {
|
|
566
|
-
ok: !1,
|
|
567
|
-
errors: t.errors,
|
|
568
|
-
warnings: t.warnings
|
|
569
|
-
};
|
|
570
|
-
if (!e.plan && !e.graph) return O(t, "graph_or_plan_required", "Для pipeline должен быть задан хотя бы один источник: graph или plan."), {
|
|
571
|
-
ok: !1,
|
|
572
|
-
errors: t.errors,
|
|
573
|
-
warnings: t.warnings
|
|
574
|
-
};
|
|
575
|
-
if (e.plan) {
|
|
576
|
-
let n = F(e.plan);
|
|
577
|
-
if (t.errors.push(...n.errors), t.warnings.push(...n.warnings), n.ok && n.plan) return {
|
|
578
|
-
ok: !0,
|
|
579
|
-
errors: t.errors,
|
|
580
|
-
warnings: t.warnings,
|
|
581
|
-
plan: n.plan
|
|
582
|
-
};
|
|
583
|
-
if (e.graph) k(t, "path_broken", "Линейный plan невалиден. Выполнена попытка построить план из graph."), t.errors.length = 0;
|
|
584
|
-
else return {
|
|
585
|
-
ok: !1,
|
|
586
|
-
errors: t.errors,
|
|
587
|
-
warnings: t.warnings
|
|
588
|
-
};
|
|
589
|
-
}
|
|
590
|
-
if (e.graph) {
|
|
591
|
-
let n = L(e.graph);
|
|
592
|
-
return {
|
|
593
|
-
ok: n.ok,
|
|
594
|
-
errors: [...t.errors, ...n.errors],
|
|
595
|
-
warnings: [...t.warnings, ...n.warnings],
|
|
596
|
-
plan: n.plan
|
|
597
|
-
};
|
|
598
|
-
}
|
|
599
|
-
return {
|
|
600
|
-
ok: !1,
|
|
601
|
-
errors: t.errors,
|
|
602
|
-
warnings: t.warnings
|
|
603
|
-
};
|
|
604
|
-
}
|
|
605
|
-
//#endregion
|
|
606
|
-
export { d as S, n as _, C as a, l as b, S as c, x as d, p as f, r as g, f as h, T as i, g as l, m, L as n, D as o, h as p, F as r, E as s, R as t, _ as u, s as v, u as x, c as y };
|
|
607
|
-
|
|
608
|
-
//# sourceMappingURL=validate-CEQHqevt.js.map
|