@e-llm-studio/instant-learning 1.3.0-alpha.99 → 1.3.0-beta.1
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 +5 -3
- package/dist/ComponentRegistry.js +2 -0
- package/dist/ComponentRegistry.js.map +1 -0
- package/dist/ContinueWithTemplateModal.js +2 -0
- package/dist/ContinueWithTemplateModal.js.map +1 -0
- package/dist/ContinueWithTemplateModal.module.css.js +2 -0
- package/dist/ContinueWithTemplateModal.module.css.js.map +1 -0
- package/dist/ILMarketplaceWrapper.js +2 -0
- package/dist/ILMarketplaceWrapper.js.map +1 -0
- package/dist/ILMarketplaceWrapper.module.css.js +2 -0
- package/dist/ILMarketplaceWrapper.module.css.js.map +1 -0
- package/dist/api/transport.js +2 -0
- package/dist/api/transport.js.map +1 -0
- package/dist/assets/csbrainicon.svg.js +2 -0
- package/dist/assets/csbrainicon.svg.js.map +1 -0
- package/dist/cjs/ComponentRegistry.js +2 -0
- package/dist/cjs/ComponentRegistry.js.map +1 -0
- package/dist/cjs/ContinueWithTemplateModal.js +2 -0
- package/dist/cjs/ContinueWithTemplateModal.js.map +1 -0
- package/dist/cjs/ContinueWithTemplateModal.module.css.js +2 -0
- package/dist/cjs/ContinueWithTemplateModal.module.css.js.map +1 -0
- package/dist/cjs/ILMarketplaceWrapper.js +2 -0
- package/dist/cjs/ILMarketplaceWrapper.js.map +1 -0
- package/dist/cjs/ILMarketplaceWrapper.module.css.js +2 -0
- package/dist/cjs/ILMarketplaceWrapper.module.css.js.map +1 -0
- package/dist/cjs/api/transport.js +2 -0
- package/dist/cjs/api/transport.js.map +1 -0
- package/dist/cjs/assets/csbrainicon.svg.js +2 -0
- package/dist/cjs/assets/csbrainicon.svg.js.map +1 -0
- package/dist/cjs/features/CognitiveSearch/CitationComponentMarkdownRender.js +2 -0
- package/dist/cjs/features/CognitiveSearch/CitationComponentMarkdownRender.js.map +1 -0
- package/dist/cjs/features/CognitiveSearch/CognitiveSearchErrorBoundary.js +2 -0
- package/dist/cjs/features/CognitiveSearch/CognitiveSearchErrorBoundary.js.map +1 -0
- package/dist/cjs/features/CognitiveSearch/CognitiveSearchResultCard.js +2 -0
- package/dist/cjs/features/CognitiveSearch/CognitiveSearchResultCard.js.map +1 -0
- package/dist/cjs/features/CognitiveSearch/CognitiveSearchResultCard.module.css.js +2 -0
- package/dist/cjs/features/CognitiveSearch/CognitiveSearchResultCard.module.css.js.map +1 -0
- package/dist/cjs/features/CognitiveSearch/CognitiveSearchWrapper.module.css.js +2 -0
- package/dist/cjs/features/CognitiveSearch/CognitiveSearchWrapper.module.css.js.map +1 -0
- package/dist/cjs/features/CognitiveSearch/cognitiveWrapper.js +2 -0
- package/dist/cjs/features/CognitiveSearch/cognitiveWrapper.js.map +1 -0
- package/dist/cjs/features/CognitiveSearch/rulebookcitation.js +2 -0
- package/dist/cjs/features/CognitiveSearch/rulebookcitation.js.map +1 -0
- package/dist/cjs/features/DocumentLearning/DocumentLearning.js +1 -1
- package/dist/cjs/features/DocumentLearning/_components/BookLearningForm.js +1 -1
- package/dist/cjs/features/DocumentLearning/_components/ChatComponent.js +1 -1
- package/dist/cjs/features/IL-OTJ/ILOTJ.js +1 -1
- package/dist/cjs/features/IL-OTJ/ILOTJTest.js +1 -1
- package/dist/cjs/features/IL-OTJ/ValueTypeWrappers/TeachMePlugin.js +1 -1
- package/dist/cjs/features/IL-OTJ/ValueTypeWrappers/TeachMeWrapper.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/AccordianSection.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/ChatComponents/ChatComponent.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/ChatComponents/ChatHeader.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/ChatComponents/ChatHeader.module.css.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/ChatComponents/NormalChat.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/CitationLink.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/CriticalGaps.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/ILPopup.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/InputDataReasoningCard.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/MarkdownComponents/MarkdownElements.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/MarkdownComponents/MarkdownSelect.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/MessageRendering/MessageRendering.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/ViewFormUpdateCard.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/ViewIdentifiedFieldsCard.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/_svg/EditPencilIcon.js +2 -0
- package/dist/cjs/features/IL-OTJ/_components/_svg/EditPencilIcon.js.map +1 -0
- package/dist/cjs/features/IL-OTJ/_components/atoms/Textarea/Textarea.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/hooks/usePendingEditHighlight.js +2 -0
- package/dist/cjs/features/IL-OTJ/_components/hooks/usePendingEditHighlight.js.map +1 -0
- package/dist/cjs/features/IL-OTJ/_components/hooks/useVariantEditSession.js +2 -0
- package/dist/cjs/features/IL-OTJ/_components/hooks/useVariantEditSession.js.map +1 -0
- package/dist/cjs/features/IL-OTJ/_components/molecules/Condition/ConditionList.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/molecules/Sections/SectionWrapper.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/organisms/ConditionSection/ConditionSection.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/organisms/DropdownSection/DropdownSection.js +2 -0
- package/dist/cjs/features/IL-OTJ/_components/organisms/DropdownSection/DropdownSection.js.map +1 -0
- package/dist/cjs/features/IL-OTJ/_components/organisms/TextSection/TextSection.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/templates/SchemaDriven/SchemaDrivenCreateRule.js +2 -0
- package/dist/cjs/features/IL-OTJ/_components/templates/SchemaDriven/SchemaDrivenCreateRule.js.map +1 -0
- package/dist/cjs/features/IL-OTJ/_components/templates/TemplatesMap/templatesMap.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/templates/TrafficManager/CreateRule.js +1 -1
- package/dist/cjs/features/IL-marketplace/components/GuidelineCardMenu.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineCardMenu.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineCardMenu.module.css.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineCardMenu.module.css.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineCart.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineCart.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineCart.module.css.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineCart.module.css.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineCartHeader.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineCartHeader.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineCartHeader.module.css.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineCartHeader.module.css.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineCartItem.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineCartItem.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineCartItem.module.css.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineCartItem.module.css.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineConfirmDialog.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineConfirmDialog.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineConfirmDialog.module.css.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineConfirmDialog.module.css.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineEmptyState.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineEmptyState.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineEmptyState.module.css.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineEmptyState.module.css.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineFilterPanel.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineFilterPanel.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineFilterPanel.module.css.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineFilterPanel.module.css.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineHeader.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineHeader.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineHeader.module.css.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineHeader.module.css.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineIconButton.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineIconButton.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineIconButton.module.css.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineIconButton.module.css.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineLandingPage.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineLandingPage.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineLandingPage.module.css.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineLandingPage.module.css.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineLibrary.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineLibrary.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineLibrary.module.css.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineLibrary.module.css.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineLibraryCard.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineLibraryCard.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineLibraryCard.module.css.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineLibraryCard.module.css.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineLibraryContent.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineLibraryContent.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineLibraryTab.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineLibraryTab.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineProceedButton.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineProceedButton.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineProceedButton.module.css.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineProceedButton.module.css.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineSelectButton.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineSelectButton.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineSelectButton.module.css.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineSelectButton.module.css.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineStatusChip.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineStatusChip.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineStatusChip.module.css.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineStatusChip.module.css.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineTooltip.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineTooltip.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/LearningsSelectionBody.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/LearningsSelectionBody.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/LearningsSelectionFooter.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/LearningsSelectionFooter.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/LearningsValidationBody.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/LearningsValidationBody.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/LearningsValidationFooter.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/LearningsValidationFooter.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/PublishDetailsCards.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/PublishDetailsCards.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/PublishEmptyState.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/PublishEmptyState.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/PublishEmptyState.module.css.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/PublishEmptyState.module.css.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepBody.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepBody.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepBody.module.css.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepBody.module.css.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepFooter.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepFooter.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepFooter.module.css.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepFooter.module.css.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepper.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepper.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepper.module.css.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepper.module.css.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/PublishToMarketplace.constants.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/PublishToMarketplace.constants.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/PublishToMarketplaceCompnent.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/PublishToMarketplaceCompnent.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/PublishToMarketplaceCompnent.module.css.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/PublishToMarketplaceCompnent.module.css.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/ReleaseSummaryBody.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/ReleaseSummaryBody.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/ReleaseSummaryBody.module.css.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/ReleaseSummaryBody.module.css.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/ReleaseSummaryFooter.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/ReleaseSummaryFooter.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/TemplateDetailsBody.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/TemplateDetailsBody.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/TemplateDetailsBody.module.css.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/TemplateDetailsBody.module.css.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/TemplateDetailsFooter.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/TemplateDetailsFooter.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/LearningManagementWrapper.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/VersionSelectDropdown.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/VersionSelectDropdown.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/VersionSelectDropdown.module.css.js +2 -0
- package/dist/cjs/features/IL-marketplace/components/VersionSelectDropdown.module.css.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/constants.js +2 -0
- package/dist/cjs/features/IL-marketplace/constants.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/hooks/useControllableState.js +2 -0
- package/dist/cjs/features/IL-marketplace/hooks/useControllableState.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/hooks/useDeleteGuidelineMutation.js +2 -0
- package/dist/cjs/features/IL-marketplace/hooks/useDeleteGuidelineMutation.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/hooks/useGuidelineSelection.js +2 -0
- package/dist/cjs/features/IL-marketplace/hooks/useGuidelineSelection.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/hooks/useMarketplaceApprovalStatus.js +2 -0
- package/dist/cjs/features/IL-marketplace/hooks/useMarketplaceApprovalStatus.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/hooks/useMarketplacePublishILKBData.js +2 -0
- package/dist/cjs/features/IL-marketplace/hooks/useMarketplacePublishILKBData.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/hooks/usePublishingFlowConfig.js +2 -0
- package/dist/cjs/features/IL-marketplace/hooks/usePublishingFlowConfig.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/icons/GuidelineSpinner.js +2 -0
- package/dist/cjs/features/IL-marketplace/icons/GuidelineSpinner.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/queryClient.js +2 -0
- package/dist/cjs/features/IL-marketplace/queryClient.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/services/IL-marketplace.api.js +2 -0
- package/dist/cjs/features/IL-marketplace/services/IL-marketplace.api.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/services/guideline.cart.api.js +2 -0
- package/dist/cjs/features/IL-marketplace/services/guideline.cart.api.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/services/guideline.core.api.js +2 -0
- package/dist/cjs/features/IL-marketplace/services/guideline.core.api.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/services/guideline.runtime.config.js +2 -0
- package/dist/cjs/features/IL-marketplace/services/guideline.runtime.config.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/services/guideline.session.js +2 -0
- package/dist/cjs/features/IL-marketplace/services/guideline.session.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/services/instant-learning.api.js +2 -0
- package/dist/cjs/features/IL-marketplace/services/instant-learning.api.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/store/usePublishTemplateStore.js +2 -0
- package/dist/cjs/features/IL-marketplace/store/usePublishTemplateStore.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/store/usePublishingFlowConfigStore.js +2 -0
- package/dist/cjs/features/IL-marketplace/store/usePublishingFlowConfigStore.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/utils/guidelineFiles.js +2 -0
- package/dist/cjs/features/IL-marketplace/utils/guidelineFiles.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/utils/guidelineOverlay.js +2 -0
- package/dist/cjs/features/IL-marketplace/utils/guidelineOverlay.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/utils/microfrontend.js +2 -0
- package/dist/cjs/features/IL-marketplace/utils/microfrontend.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/utils/publishingFlow.js +2 -0
- package/dist/cjs/features/IL-marketplace/utils/publishingFlow.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/utils/session.js +2 -0
- package/dist/cjs/features/IL-marketplace/utils/session.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/utils.js +2 -0
- package/dist/cjs/features/IL-marketplace/utils.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/workspace/useGuidelineWorkspace.js +2 -0
- package/dist/cjs/features/IL-marketplace/workspace/useGuidelineWorkspace.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/workspace/workspace.context.js +2 -0
- package/dist/cjs/features/IL-marketplace/workspace/workspace.context.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/workspace/workspace.runtime.js +2 -0
- package/dist/cjs/features/IL-marketplace/workspace/workspace.runtime.js.map +1 -0
- package/dist/cjs/features/InstantLearning/_components/ChatComponent.js +1 -1
- package/dist/cjs/features/InstantLearning/_components/ContextualChatComponent.js +1 -1
- package/dist/cjs/features/InstantLearning/_components/ContextualLearningForm.js +1 -1
- package/dist/cjs/features/InstantLearning/_components/LearningDetailsForm.js +1 -1
- package/dist/cjs/features/LearningManagement/AuditLog/AuditLog.js +1 -1
- package/dist/cjs/features/LearningManagement/LearningManagement.js +1 -1
- package/dist/cjs/features/LearningManagement/LearningManagementTest.js +1 -1
- package/dist/cjs/features/LearningManagement/LearningTemplateLayout.js +1 -1
- package/dist/cjs/features/LearningManagement/RBAC/AccessPanel.js +1 -1
- package/dist/cjs/features/LearningManagement/RuleContent/AddScopeApprovalSearchComponent.js +1 -1
- package/dist/cjs/features/LearningManagement/RuleContent/AddScopeModal.js +1 -1
- package/dist/cjs/features/LearningManagement/RuleContent/ContentLogic.js +1 -1
- package/dist/cjs/features/LearningManagement/RuleContent/InstructionPromptBlock.js +2 -0
- package/dist/cjs/features/LearningManagement/RuleContent/InstructionPromptBlock.js.map +1 -0
- package/dist/cjs/features/LearningManagement/RuleContent/RuleContent.js +1 -1
- package/dist/cjs/features/LearningManagement/RuleContent/RuleHeader.js +1 -1
- package/dist/cjs/features/LearningManagement/RuleContent/TierCard.js +1 -1
- package/dist/cjs/features/LearningManagement/RuleContent/VariantCard.js +1 -1
- package/dist/cjs/features/LearningManagement/ScopeSelector.js +2 -0
- package/dist/cjs/features/LearningManagement/ScopeSelector.js.map +1 -0
- package/dist/cjs/features/LearningManagement/Sidebar.js +1 -1
- package/dist/cjs/features/LearningManagement/SidebarWrapper.js +1 -1
- package/dist/cjs/features/LearningManagement/apis/apiConfig.js +1 -1
- package/dist/cjs/features/LearningManagement/apis/scopeApis.js +1 -1
- package/dist/cjs/features/LearningManagement/components/InstantLearningModal.js +1 -1
- package/dist/cjs/features/LearningManagement/components/InstantLearningModalDynamic.js +2 -0
- package/dist/cjs/features/LearningManagement/components/InstantLearningModalDynamic.js.map +1 -0
- package/dist/cjs/features/LearningManagement/components/PromptTextEditor.js +2 -0
- package/dist/cjs/features/LearningManagement/components/PromptTextEditor.js.map +1 -0
- package/dist/cjs/features/LearningManagement/components/ScopeSkeletonLoader.js +1 -1
- package/dist/cjs/features/LearningManagement/components/ScopeTree/TreeMenu.js +1 -1
- package/dist/cjs/features/LearningManagement/components/ScopeTree/TreeNode.js +1 -1
- package/dist/cjs/features/LearningManagement/components/ScopeTree/TreeNodeHeader.js +1 -1
- package/dist/cjs/features/LearningManagement/components/ScopeTree/TreeSidebar.js +1 -1
- package/dist/cjs/features/LearningManagement/config.js +1 -1
- package/dist/cjs/features/LearningManagement/constants.js +1 -1
- package/dist/cjs/features/LearningManagement/hooks/useLearningTemplateQueryParams.js +1 -1
- package/dist/cjs/features/LearningManagement/queries/useLMSConfigQuery.js +1 -1
- package/dist/cjs/features/LearningManagement/store/useExternalWorkflowStore.js +2 -0
- package/dist/cjs/features/LearningManagement/store/useExternalWorkflowStore.js.map +1 -0
- package/dist/cjs/features/LearningManagement/store/useLMSConfigStore.js +1 -1
- package/dist/cjs/features/LearningManagement/store/useLearningTemplateStore.js +1 -1
- package/dist/cjs/features/LearningManagement/styles/LearningContent.module.css.js +1 -1
- package/dist/cjs/features/LearningManagement/styles/LearningContentSkeleton.module.css.js +1 -1
- package/dist/cjs/features/LearningManagement/styles/LearningTemplateLayout.module.css.js +1 -1
- package/dist/cjs/features/LearningManagement/styles/LearningTemplateManagement.module.css.js +1 -1
- package/dist/cjs/features/LearningManagement/styles/LearningTemplateManagementSkeleton.module.css.js +1 -1
- package/dist/cjs/features/LearningManagement/styles/PromptTextEditor.module.css.js +2 -0
- package/dist/cjs/features/LearningManagement/styles/PromptTextEditor.module.css.js.map +1 -0
- package/dist/cjs/features/LearningManagement/styles/RuleAccordion.module.css.js +1 -1
- package/dist/cjs/features/LearningManagement/styles/Sidebar.module.css.js +1 -1
- package/dist/cjs/features/LearningManagement/styles/StationsContent.module.css.js +1 -1
- package/dist/cjs/features/LearningManagement/utils/learningMetadataUtils.js +2 -0
- package/dist/cjs/features/LearningManagement/utils/learningMetadataUtils.js.map +1 -0
- package/dist/cjs/hooks/useAgentFix.js +1 -1
- package/dist/cjs/hooks/useAgentSuggestions.js +1 -1
- package/dist/cjs/hooks/useAgentValidation.js +1 -1
- package/dist/cjs/hooks/useExistingAgentCheck.js +1 -1
- package/dist/cjs/hooks/useExistingPromptCheck.js +1 -1
- package/dist/cjs/hooks/usePromptFix.js +1 -1
- package/dist/cjs/hooks/usePromptSuggestions.js +1 -1
- package/dist/cjs/hooks/usePromptValidation.js +1 -1
- package/dist/cjs/hooks/useQueries.js +2 -0
- package/dist/cjs/hooks/useQueries.js.map +1 -0
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/plugins/ValueTypes/Default/DefaultTeachMeRenderer.js +1 -1
- package/dist/cjs/plugins/ValueTypes/RadioTrafficLearning/RadioTrafficLearningRenderer.js +1 -1
- package/dist/cjs/schema-driven/BPARenderer.js +2 -0
- package/dist/cjs/schema-driven/BPARenderer.js.map +1 -0
- package/dist/cjs/schema-driven/FallbackField.js +2 -0
- package/dist/cjs/schema-driven/FallbackField.js.map +1 -0
- package/dist/cjs/schema-driven/components/ConditionSectionField.js +2 -0
- package/dist/cjs/schema-driven/components/ConditionSectionField.js.map +1 -0
- package/dist/cjs/schema-driven/components/ConfigSectionField.js +2 -0
- package/dist/cjs/schema-driven/components/ConfigSectionField.js.map +1 -0
- package/dist/cjs/schema-driven/components/DropdownSectionField.js +2 -0
- package/dist/cjs/schema-driven/components/DropdownSectionField.js.map +1 -0
- package/dist/cjs/schema-driven/components/GlobalSetupAccordionField.js +2 -0
- package/dist/cjs/schema-driven/components/GlobalSetupAccordionField.js.map +1 -0
- package/dist/cjs/schema-driven/components/GroupEditRow.js +2 -0
- package/dist/cjs/schema-driven/components/GroupEditRow.js.map +1 -0
- package/dist/cjs/schema-driven/components/PromptTextEditorField.js +2 -0
- package/dist/cjs/schema-driven/components/PromptTextEditorField.js.map +1 -0
- package/dist/cjs/schema-driven/components/ScopeSectionField.js +2 -0
- package/dist/cjs/schema-driven/components/ScopeSectionField.js.map +1 -0
- package/dist/cjs/schema-driven/components/TextInputField.js +2 -0
- package/dist/cjs/schema-driven/components/TextInputField.js.map +1 -0
- package/dist/cjs/schema-driven/components/VariantListField.js +2 -0
- package/dist/cjs/schema-driven/components/VariantListField.js.map +1 -0
- package/dist/cjs/schema-driven/hooks/useParentEditEnabled.js +2 -0
- package/dist/cjs/schema-driven/hooks/useParentEditEnabled.js.map +1 -0
- package/dist/cjs/schema-driven/hooks/useSectionEditSession.js +2 -0
- package/dist/cjs/schema-driven/hooks/useSectionEditSession.js.map +1 -0
- package/dist/cjs/schema-driven/primitives/Accordion.js +2 -0
- package/dist/cjs/schema-driven/primitives/Accordion.js.map +1 -0
- package/dist/cjs/schema-driven/store/useDynamicFormStore.js +2 -0
- package/dist/cjs/schema-driven/store/useDynamicFormStore.js.map +1 -0
- package/dist/cjs/schema-driven/utils/PayloadUtils.js +2 -0
- package/dist/cjs/schema-driven/utils/PayloadUtils.js.map +1 -0
- package/dist/cjs/schema-driven/utils/aiReasoning.js +2 -0
- package/dist/cjs/schema-driven/utils/aiReasoning.js.map +1 -0
- package/dist/cjs/schema-driven/utils/conditionText.js +2 -0
- package/dist/cjs/schema-driven/utils/conditionText.js.map +1 -0
- package/dist/cjs/schema-driven/utils/editLock.js +2 -0
- package/dist/cjs/schema-driven/utils/editLock.js.map +1 -0
- package/dist/cjs/service/InstantLearningService.js +1 -1
- package/dist/cjs/utils/agentGenieAPI.js +1 -1
- package/dist/cjs/utils/bookGenieAPI.js +1 -1
- package/dist/cjs/utils/instantLearningAPI.js +1 -1
- package/dist/features/CognitiveSearch/CitationComponentMarkdownRender.js +2 -0
- package/dist/features/CognitiveSearch/CitationComponentMarkdownRender.js.map +1 -0
- package/dist/features/CognitiveSearch/CognitiveSearchErrorBoundary.js +2 -0
- package/dist/features/CognitiveSearch/CognitiveSearchErrorBoundary.js.map +1 -0
- package/dist/features/CognitiveSearch/CognitiveSearchResultCard.js +2 -0
- package/dist/features/CognitiveSearch/CognitiveSearchResultCard.js.map +1 -0
- package/dist/features/CognitiveSearch/CognitiveSearchResultCard.module.css.js +2 -0
- package/dist/features/CognitiveSearch/CognitiveSearchResultCard.module.css.js.map +1 -0
- package/dist/features/CognitiveSearch/CognitiveSearchWrapper.module.css.js +2 -0
- package/dist/features/CognitiveSearch/CognitiveSearchWrapper.module.css.js.map +1 -0
- package/dist/features/CognitiveSearch/cognitiveWrapper.js +2 -0
- package/dist/features/CognitiveSearch/cognitiveWrapper.js.map +1 -0
- package/dist/features/CognitiveSearch/rulebookcitation.js +2 -0
- package/dist/features/CognitiveSearch/rulebookcitation.js.map +1 -0
- package/dist/features/DocumentLearning/DocumentLearning.js +1 -1
- package/dist/features/DocumentLearning/_components/BookLearningForm.js +1 -1
- package/dist/features/DocumentLearning/_components/ChatComponent.js +1 -1
- package/dist/features/IL-OTJ/ILOTJ.js +1 -1
- package/dist/features/IL-OTJ/ILOTJTest.js +1 -1
- package/dist/features/IL-OTJ/ValueTypeWrappers/TeachMePlugin.js +1 -1
- package/dist/features/IL-OTJ/ValueTypeWrappers/TeachMeWrapper.js +1 -1
- package/dist/features/IL-OTJ/_components/AccordianSection.js +1 -1
- package/dist/features/IL-OTJ/_components/ChatComponents/ChatComponent.js +1 -1
- package/dist/features/IL-OTJ/_components/ChatComponents/ChatHeader.js +1 -1
- package/dist/features/IL-OTJ/_components/ChatComponents/ChatHeader.module.css.js +1 -1
- package/dist/features/IL-OTJ/_components/ChatComponents/NormalChat.js +1 -1
- package/dist/features/IL-OTJ/_components/CitationLink.js +1 -1
- package/dist/features/IL-OTJ/_components/CriticalGaps.js +1 -1
- package/dist/features/IL-OTJ/_components/ILPopup.js +1 -1
- package/dist/features/IL-OTJ/_components/InputDataReasoningCard.js +1 -1
- package/dist/features/IL-OTJ/_components/MarkdownComponents/MarkdownElements.js +1 -1
- package/dist/features/IL-OTJ/_components/MarkdownComponents/MarkdownSelect.js +1 -1
- package/dist/features/IL-OTJ/_components/MessageRendering/MessageRendering.js +1 -1
- package/dist/features/IL-OTJ/_components/ViewFormUpdateCard.js +1 -1
- package/dist/features/IL-OTJ/_components/ViewIdentifiedFieldsCard.js +1 -1
- package/dist/features/IL-OTJ/_components/_svg/EditPencilIcon.js +2 -0
- package/dist/features/IL-OTJ/_components/_svg/EditPencilIcon.js.map +1 -0
- package/dist/features/IL-OTJ/_components/atoms/Textarea/Textarea.js +1 -1
- package/dist/features/IL-OTJ/_components/hooks/usePendingEditHighlight.js +2 -0
- package/dist/features/IL-OTJ/_components/hooks/usePendingEditHighlight.js.map +1 -0
- package/dist/features/IL-OTJ/_components/hooks/useVariantEditSession.js +2 -0
- package/dist/features/IL-OTJ/_components/hooks/useVariantEditSession.js.map +1 -0
- package/dist/features/IL-OTJ/_components/molecules/Condition/ConditionList.js +1 -1
- package/dist/features/IL-OTJ/_components/molecules/Sections/SectionWrapper.js +1 -1
- package/dist/features/IL-OTJ/_components/organisms/ConditionSection/ConditionSection.js +1 -1
- package/dist/features/IL-OTJ/_components/organisms/DropdownSection/DropdownSection.js +2 -0
- package/dist/features/IL-OTJ/_components/organisms/DropdownSection/DropdownSection.js.map +1 -0
- package/dist/features/IL-OTJ/_components/organisms/TextSection/TextSection.js +1 -1
- package/dist/features/IL-OTJ/_components/templates/SchemaDriven/SchemaDrivenCreateRule.js +2 -0
- package/dist/features/IL-OTJ/_components/templates/SchemaDriven/SchemaDrivenCreateRule.js.map +1 -0
- package/dist/features/IL-OTJ/_components/templates/TemplatesMap/templatesMap.js +1 -1
- package/dist/features/IL-OTJ/_components/templates/TrafficManager/CreateRule.js +1 -1
- package/dist/features/IL-marketplace/components/GuidelineCardMenu.js +2 -0
- package/dist/features/IL-marketplace/components/GuidelineCardMenu.js.map +1 -0
- package/dist/features/IL-marketplace/components/GuidelineCardMenu.module.css.js +2 -0
- package/dist/features/IL-marketplace/components/GuidelineCardMenu.module.css.js.map +1 -0
- package/dist/features/IL-marketplace/components/GuidelineCart.js +2 -0
- package/dist/features/IL-marketplace/components/GuidelineCart.js.map +1 -0
- package/dist/features/IL-marketplace/components/GuidelineCart.module.css.js +2 -0
- package/dist/features/IL-marketplace/components/GuidelineCart.module.css.js.map +1 -0
- package/dist/features/IL-marketplace/components/GuidelineCartHeader.js +2 -0
- package/dist/features/IL-marketplace/components/GuidelineCartHeader.js.map +1 -0
- package/dist/features/IL-marketplace/components/GuidelineCartHeader.module.css.js +2 -0
- package/dist/features/IL-marketplace/components/GuidelineCartHeader.module.css.js.map +1 -0
- package/dist/features/IL-marketplace/components/GuidelineCartItem.js +2 -0
- package/dist/features/IL-marketplace/components/GuidelineCartItem.js.map +1 -0
- package/dist/features/IL-marketplace/components/GuidelineCartItem.module.css.js +2 -0
- package/dist/features/IL-marketplace/components/GuidelineCartItem.module.css.js.map +1 -0
- package/dist/features/IL-marketplace/components/GuidelineConfirmDialog.js +2 -0
- package/dist/features/IL-marketplace/components/GuidelineConfirmDialog.js.map +1 -0
- package/dist/features/IL-marketplace/components/GuidelineConfirmDialog.module.css.js +2 -0
- package/dist/features/IL-marketplace/components/GuidelineConfirmDialog.module.css.js.map +1 -0
- package/dist/features/IL-marketplace/components/GuidelineEmptyState.js +2 -0
- package/dist/features/IL-marketplace/components/GuidelineEmptyState.js.map +1 -0
- package/dist/features/IL-marketplace/components/GuidelineEmptyState.module.css.js +2 -0
- package/dist/features/IL-marketplace/components/GuidelineEmptyState.module.css.js.map +1 -0
- package/dist/features/IL-marketplace/components/GuidelineFilterPanel.js +2 -0
- package/dist/features/IL-marketplace/components/GuidelineFilterPanel.js.map +1 -0
- package/dist/features/IL-marketplace/components/GuidelineFilterPanel.module.css.js +2 -0
- package/dist/features/IL-marketplace/components/GuidelineFilterPanel.module.css.js.map +1 -0
- package/dist/features/IL-marketplace/components/GuidelineHeader.js +2 -0
- package/dist/features/IL-marketplace/components/GuidelineHeader.js.map +1 -0
- package/dist/features/IL-marketplace/components/GuidelineHeader.module.css.js +2 -0
- package/dist/features/IL-marketplace/components/GuidelineHeader.module.css.js.map +1 -0
- package/dist/features/IL-marketplace/components/GuidelineIconButton.js +2 -0
- package/dist/features/IL-marketplace/components/GuidelineIconButton.js.map +1 -0
- package/dist/features/IL-marketplace/components/GuidelineIconButton.module.css.js +2 -0
- package/dist/features/IL-marketplace/components/GuidelineIconButton.module.css.js.map +1 -0
- package/dist/features/IL-marketplace/components/GuidelineLandingPage.js +2 -0
- package/dist/features/IL-marketplace/components/GuidelineLandingPage.js.map +1 -0
- package/dist/features/IL-marketplace/components/GuidelineLandingPage.module.css.js +2 -0
- package/dist/features/IL-marketplace/components/GuidelineLandingPage.module.css.js.map +1 -0
- package/dist/features/IL-marketplace/components/GuidelineLibrary.js +2 -0
- package/dist/features/IL-marketplace/components/GuidelineLibrary.js.map +1 -0
- package/dist/features/IL-marketplace/components/GuidelineLibrary.module.css.js +2 -0
- package/dist/features/IL-marketplace/components/GuidelineLibrary.module.css.js.map +1 -0
- package/dist/features/IL-marketplace/components/GuidelineLibraryCard.js +2 -0
- package/dist/features/IL-marketplace/components/GuidelineLibraryCard.js.map +1 -0
- package/dist/features/IL-marketplace/components/GuidelineLibraryCard.module.css.js +2 -0
- package/dist/features/IL-marketplace/components/GuidelineLibraryCard.module.css.js.map +1 -0
- package/dist/features/IL-marketplace/components/GuidelineLibraryContent.js +2 -0
- package/dist/features/IL-marketplace/components/GuidelineLibraryContent.js.map +1 -0
- package/dist/features/IL-marketplace/components/GuidelineLibraryTab.js +2 -0
- package/dist/features/IL-marketplace/components/GuidelineLibraryTab.js.map +1 -0
- package/dist/features/IL-marketplace/components/GuidelineProceedButton.js +2 -0
- package/dist/features/IL-marketplace/components/GuidelineProceedButton.js.map +1 -0
- package/dist/features/IL-marketplace/components/GuidelineProceedButton.module.css.js +2 -0
- package/dist/features/IL-marketplace/components/GuidelineProceedButton.module.css.js.map +1 -0
- package/dist/features/IL-marketplace/components/GuidelineSelectButton.js +2 -0
- package/dist/features/IL-marketplace/components/GuidelineSelectButton.js.map +1 -0
- package/dist/features/IL-marketplace/components/GuidelineSelectButton.module.css.js +2 -0
- package/dist/features/IL-marketplace/components/GuidelineSelectButton.module.css.js.map +1 -0
- package/dist/features/IL-marketplace/components/GuidelineStatusChip.js +2 -0
- package/dist/features/IL-marketplace/components/GuidelineStatusChip.js.map +1 -0
- package/dist/features/IL-marketplace/components/GuidelineStatusChip.module.css.js +2 -0
- package/dist/features/IL-marketplace/components/GuidelineStatusChip.module.css.js.map +1 -0
- package/dist/features/IL-marketplace/components/GuidelineTooltip.js +2 -0
- package/dist/features/IL-marketplace/components/GuidelineTooltip.js.map +1 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/LearningsSelectionBody.js +2 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/LearningsSelectionBody.js.map +1 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/LearningsSelectionFooter.js +2 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/LearningsSelectionFooter.js.map +1 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/LearningsValidationBody.js +2 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/LearningsValidationBody.js.map +1 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/LearningsValidationFooter.js +2 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/LearningsValidationFooter.js.map +1 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/PublishDetailsCards.js +2 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/PublishDetailsCards.js.map +1 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/PublishEmptyState.js +2 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/PublishEmptyState.js.map +1 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/PublishEmptyState.module.css.js +2 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/PublishEmptyState.module.css.js.map +1 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepBody.js +2 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepBody.js.map +1 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepBody.module.css.js +2 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepBody.module.css.js.map +1 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepFooter.js +2 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepFooter.js.map +1 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepFooter.module.css.js +2 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepFooter.module.css.js.map +1 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepper.js +2 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepper.js.map +1 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepper.module.css.js +2 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepper.module.css.js.map +1 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/PublishToMarketplace.constants.js +2 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/PublishToMarketplace.constants.js.map +1 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/PublishToMarketplaceCompnent.js +2 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/PublishToMarketplaceCompnent.js.map +1 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/PublishToMarketplaceCompnent.module.css.js +2 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/PublishToMarketplaceCompnent.module.css.js.map +1 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/ReleaseSummaryBody.js +2 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/ReleaseSummaryBody.js.map +1 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/ReleaseSummaryBody.module.css.js +2 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/ReleaseSummaryBody.module.css.js.map +1 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/ReleaseSummaryFooter.js +2 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/ReleaseSummaryFooter.js.map +1 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/TemplateDetailsBody.js +2 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/TemplateDetailsBody.js.map +1 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/TemplateDetailsBody.module.css.js +2 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/TemplateDetailsBody.module.css.js.map +1 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/TemplateDetailsFooter.js +2 -0
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/TemplateDetailsFooter.js.map +1 -0
- package/dist/features/IL-marketplace/components/LearningManagementWrapper.js +2 -0
- package/dist/features/IL-marketplace/components/VersionSelectDropdown.js +2 -0
- package/dist/features/IL-marketplace/components/VersionSelectDropdown.js.map +1 -0
- package/dist/features/IL-marketplace/components/VersionSelectDropdown.module.css.js +2 -0
- package/dist/features/IL-marketplace/components/VersionSelectDropdown.module.css.js.map +1 -0
- package/dist/features/IL-marketplace/constants.js +2 -0
- package/dist/features/IL-marketplace/constants.js.map +1 -0
- package/dist/features/IL-marketplace/hooks/useControllableState.js +2 -0
- package/dist/features/IL-marketplace/hooks/useControllableState.js.map +1 -0
- package/dist/features/IL-marketplace/hooks/useDeleteGuidelineMutation.js +2 -0
- package/dist/features/IL-marketplace/hooks/useDeleteGuidelineMutation.js.map +1 -0
- package/dist/features/IL-marketplace/hooks/useGuidelineSelection.js +2 -0
- package/dist/features/IL-marketplace/hooks/useGuidelineSelection.js.map +1 -0
- package/dist/features/IL-marketplace/hooks/useMarketplaceApprovalStatus.js +2 -0
- package/dist/features/IL-marketplace/hooks/useMarketplaceApprovalStatus.js.map +1 -0
- package/dist/features/IL-marketplace/hooks/useMarketplacePublishILKBData.js +2 -0
- package/dist/features/IL-marketplace/hooks/useMarketplacePublishILKBData.js.map +1 -0
- package/dist/features/IL-marketplace/hooks/usePublishingFlowConfig.js +2 -0
- package/dist/features/IL-marketplace/hooks/usePublishingFlowConfig.js.map +1 -0
- package/dist/features/IL-marketplace/icons/GuidelineSpinner.js +2 -0
- package/dist/features/IL-marketplace/icons/GuidelineSpinner.js.map +1 -0
- package/dist/features/IL-marketplace/queryClient.js +2 -0
- package/dist/features/IL-marketplace/queryClient.js.map +1 -0
- package/dist/features/IL-marketplace/services/IL-marketplace.api.js +2 -0
- package/dist/features/IL-marketplace/services/IL-marketplace.api.js.map +1 -0
- package/dist/features/IL-marketplace/services/guideline.cart.api.js +2 -0
- package/dist/features/IL-marketplace/services/guideline.cart.api.js.map +1 -0
- package/dist/features/IL-marketplace/services/guideline.core.api.js +2 -0
- package/dist/features/IL-marketplace/services/guideline.core.api.js.map +1 -0
- package/dist/features/IL-marketplace/services/guideline.runtime.config.js +2 -0
- package/dist/features/IL-marketplace/services/guideline.runtime.config.js.map +1 -0
- package/dist/features/IL-marketplace/services/guideline.session.js +2 -0
- package/dist/features/IL-marketplace/services/guideline.session.js.map +1 -0
- package/dist/features/IL-marketplace/services/instant-learning.api.js +2 -0
- package/dist/features/IL-marketplace/services/instant-learning.api.js.map +1 -0
- package/dist/features/IL-marketplace/store/usePublishTemplateStore.js +2 -0
- package/dist/features/IL-marketplace/store/usePublishTemplateStore.js.map +1 -0
- package/dist/features/IL-marketplace/store/usePublishingFlowConfigStore.js +2 -0
- package/dist/features/IL-marketplace/store/usePublishingFlowConfigStore.js.map +1 -0
- package/dist/features/IL-marketplace/utils/guidelineFiles.js +2 -0
- package/dist/features/IL-marketplace/utils/guidelineFiles.js.map +1 -0
- package/dist/features/IL-marketplace/utils/guidelineOverlay.js +2 -0
- package/dist/features/IL-marketplace/utils/guidelineOverlay.js.map +1 -0
- package/dist/features/IL-marketplace/utils/microfrontend.js +2 -0
- package/dist/features/IL-marketplace/utils/microfrontend.js.map +1 -0
- package/dist/features/IL-marketplace/utils/publishingFlow.js +2 -0
- package/dist/features/IL-marketplace/utils/publishingFlow.js.map +1 -0
- package/dist/features/IL-marketplace/utils/session.js +2 -0
- package/dist/features/IL-marketplace/utils/session.js.map +1 -0
- package/dist/features/IL-marketplace/utils.js +2 -0
- package/dist/features/IL-marketplace/utils.js.map +1 -0
- package/dist/features/IL-marketplace/workspace/useGuidelineWorkspace.js +2 -0
- package/dist/features/IL-marketplace/workspace/useGuidelineWorkspace.js.map +1 -0
- package/dist/features/IL-marketplace/workspace/workspace.context.js +2 -0
- package/dist/features/IL-marketplace/workspace/workspace.context.js.map +1 -0
- package/dist/features/IL-marketplace/workspace/workspace.runtime.js +2 -0
- package/dist/features/IL-marketplace/workspace/workspace.runtime.js.map +1 -0
- package/dist/features/InstantLearning/_components/ChatComponent.js +1 -1
- package/dist/features/InstantLearning/_components/ContextualChatComponent.js +1 -1
- package/dist/features/InstantLearning/_components/ContextualLearningForm.js +1 -1
- package/dist/features/InstantLearning/_components/LearningDetailsForm.js +1 -1
- package/dist/features/LearningManagement/AuditLog/AuditLog.js +1 -1
- package/dist/features/LearningManagement/LearningManagement.js +1 -1
- package/dist/features/LearningManagement/LearningManagementTest.js +1 -1
- package/dist/features/LearningManagement/LearningTemplateLayout.js +1 -1
- package/dist/features/LearningManagement/RBAC/AccessPanel.js +1 -1
- package/dist/features/LearningManagement/RuleContent/AddScopeApprovalSearchComponent.js +1 -1
- package/dist/features/LearningManagement/RuleContent/AddScopeModal.js +1 -1
- package/dist/features/LearningManagement/RuleContent/ContentLogic.js +1 -1
- package/dist/features/LearningManagement/RuleContent/InstructionPromptBlock.js +2 -0
- package/dist/features/LearningManagement/RuleContent/InstructionPromptBlock.js.map +1 -0
- package/dist/features/LearningManagement/RuleContent/RuleContent.js +1 -1
- package/dist/features/LearningManagement/RuleContent/RuleHeader.js +1 -1
- package/dist/features/LearningManagement/RuleContent/TierCard.js +1 -1
- package/dist/features/LearningManagement/RuleContent/VariantCard.js +1 -1
- package/dist/features/LearningManagement/ScopeSelector.js +2 -0
- package/dist/features/LearningManagement/ScopeSelector.js.map +1 -0
- package/dist/features/LearningManagement/Sidebar.js +1 -1
- package/dist/features/LearningManagement/SidebarWrapper.js +1 -1
- package/dist/features/LearningManagement/apis/apiConfig.js +1 -1
- package/dist/features/LearningManagement/apis/scopeApis.js +1 -1
- package/dist/features/LearningManagement/components/InstantLearningModal.js +1 -1
- package/dist/features/LearningManagement/components/InstantLearningModalDynamic.js +2 -0
- package/dist/features/LearningManagement/components/InstantLearningModalDynamic.js.map +1 -0
- package/dist/features/LearningManagement/components/PromptTextEditor.js +2 -0
- package/dist/features/LearningManagement/components/PromptTextEditor.js.map +1 -0
- package/dist/features/LearningManagement/components/ScopeSkeletonLoader.js +1 -1
- package/dist/features/LearningManagement/components/ScopeTree/TreeMenu.js +1 -1
- package/dist/features/LearningManagement/components/ScopeTree/TreeNode.js +1 -1
- package/dist/features/LearningManagement/components/ScopeTree/TreeNodeHeader.js +1 -1
- package/dist/features/LearningManagement/components/ScopeTree/TreeSidebar.js +1 -1
- package/dist/features/LearningManagement/config.js +1 -1
- package/dist/features/LearningManagement/constants.js +1 -1
- package/dist/features/LearningManagement/hooks/useLearningTemplateQueryParams.js +1 -1
- package/dist/features/LearningManagement/queries/useLMSConfigQuery.js +1 -1
- package/dist/features/LearningManagement/store/useExternalWorkflowStore.js +2 -0
- package/dist/features/LearningManagement/store/useExternalWorkflowStore.js.map +1 -0
- package/dist/features/LearningManagement/store/useLMSConfigStore.js +1 -1
- package/dist/features/LearningManagement/store/useLearningTemplateStore.js +1 -1
- package/dist/features/LearningManagement/styles/LearningContent.module.css.js +1 -1
- package/dist/features/LearningManagement/styles/LearningContentSkeleton.module.css.js +1 -1
- package/dist/features/LearningManagement/styles/LearningTemplateLayout.module.css.js +1 -1
- package/dist/features/LearningManagement/styles/LearningTemplateManagement.module.css.js +1 -1
- package/dist/features/LearningManagement/styles/LearningTemplateManagementSkeleton.module.css.js +1 -1
- package/dist/features/LearningManagement/styles/PromptTextEditor.module.css.js +2 -0
- package/dist/features/LearningManagement/styles/PromptTextEditor.module.css.js.map +1 -0
- package/dist/features/LearningManagement/styles/RuleAccordion.module.css.js +1 -1
- package/dist/features/LearningManagement/styles/Sidebar.module.css.js +1 -1
- package/dist/features/LearningManagement/styles/StationsContent.module.css.js +1 -1
- package/dist/features/LearningManagement/utils/learningMetadataUtils.js +2 -0
- package/dist/features/LearningManagement/utils/learningMetadataUtils.js.map +1 -0
- package/dist/hooks/useAgentFix.js +1 -1
- package/dist/hooks/useAgentSuggestions.js +1 -1
- package/dist/hooks/useAgentValidation.js +1 -1
- package/dist/hooks/useExistingAgentCheck.js +1 -1
- package/dist/hooks/useExistingPromptCheck.js +1 -1
- package/dist/hooks/usePromptFix.js +1 -1
- package/dist/hooks/usePromptSuggestions.js +1 -1
- package/dist/hooks/usePromptValidation.js +1 -1
- package/dist/hooks/useQueries.js +2 -0
- package/dist/hooks/useQueries.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/plugins/ValueTypes/Default/DefaultTeachMeRenderer.js +1 -1
- package/dist/plugins/ValueTypes/RadioTrafficLearning/RadioTrafficLearningRenderer.js +1 -1
- package/dist/schema-driven/BPARenderer.js +2 -0
- package/dist/schema-driven/BPARenderer.js.map +1 -0
- package/dist/schema-driven/FallbackField.js +2 -0
- package/dist/schema-driven/FallbackField.js.map +1 -0
- package/dist/schema-driven/components/ConditionSectionField.js +2 -0
- package/dist/schema-driven/components/ConditionSectionField.js.map +1 -0
- package/dist/schema-driven/components/ConfigSectionField.js +2 -0
- package/dist/schema-driven/components/ConfigSectionField.js.map +1 -0
- package/dist/schema-driven/components/DropdownSectionField.js +2 -0
- package/dist/schema-driven/components/DropdownSectionField.js.map +1 -0
- package/dist/schema-driven/components/GlobalSetupAccordionField.js +2 -0
- package/dist/schema-driven/components/GlobalSetupAccordionField.js.map +1 -0
- package/dist/schema-driven/components/GroupEditRow.js +2 -0
- package/dist/schema-driven/components/GroupEditRow.js.map +1 -0
- package/dist/schema-driven/components/PromptTextEditorField.js +2 -0
- package/dist/schema-driven/components/PromptTextEditorField.js.map +1 -0
- package/dist/schema-driven/components/ScopeSectionField.js +2 -0
- package/dist/schema-driven/components/ScopeSectionField.js.map +1 -0
- package/dist/schema-driven/components/TextInputField.js +2 -0
- package/dist/schema-driven/components/TextInputField.js.map +1 -0
- package/dist/schema-driven/components/VariantListField.js +2 -0
- package/dist/schema-driven/components/VariantListField.js.map +1 -0
- package/dist/schema-driven/hooks/useParentEditEnabled.js +2 -0
- package/dist/schema-driven/hooks/useParentEditEnabled.js.map +1 -0
- package/dist/schema-driven/hooks/useSectionEditSession.js +2 -0
- package/dist/schema-driven/hooks/useSectionEditSession.js.map +1 -0
- package/dist/schema-driven/primitives/Accordion.js +2 -0
- package/dist/schema-driven/primitives/Accordion.js.map +1 -0
- package/dist/schema-driven/store/useDynamicFormStore.js +2 -0
- package/dist/schema-driven/store/useDynamicFormStore.js.map +1 -0
- package/dist/schema-driven/utils/PayloadUtils.js +2 -0
- package/dist/schema-driven/utils/PayloadUtils.js.map +1 -0
- package/dist/schema-driven/utils/aiReasoning.js +2 -0
- package/dist/schema-driven/utils/aiReasoning.js.map +1 -0
- package/dist/schema-driven/utils/conditionText.js +2 -0
- package/dist/schema-driven/utils/conditionText.js.map +1 -0
- package/dist/schema-driven/utils/editLock.js +2 -0
- package/dist/schema-driven/utils/editLock.js.map +1 -0
- package/dist/service/InstantLearningService.js +1 -1
- package/dist/types/src/ComponentRegistry.d.ts +13 -0
- package/dist/types/src/ComponentRegistry.d.ts.map +1 -0
- package/dist/types/src/ContinueWithTemplateModal.d.ts +24 -0
- package/dist/types/src/ContinueWithTemplateModal.d.ts.map +1 -0
- package/dist/types/src/ILMarketplaceMockTest.d.ts +4 -0
- package/dist/types/src/ILMarketplaceMockTest.d.ts.map +1 -0
- package/dist/types/src/ILMarketplaceWrapper.d.ts +164 -0
- package/dist/types/src/ILMarketplaceWrapper.d.ts.map +1 -0
- package/dist/types/src/PublishToMarketplaceTest.d.ts +3 -0
- package/dist/types/src/PublishToMarketplaceTest.d.ts.map +1 -0
- package/dist/types/src/api/transport.d.ts +44 -0
- package/dist/types/src/api/transport.d.ts.map +1 -0
- package/dist/types/src/features/CognitiveSearch/CitationComponentMarkdownRender.d.ts +27 -0
- package/dist/types/src/features/CognitiveSearch/CitationComponentMarkdownRender.d.ts.map +1 -0
- package/dist/types/src/features/CognitiveSearch/CognitiveSearchErrorBoundary.d.ts +30 -0
- package/dist/types/src/features/CognitiveSearch/CognitiveSearchErrorBoundary.d.ts.map +1 -0
- package/dist/types/src/features/CognitiveSearch/CognitiveSearchResultCard.d.ts +33 -0
- package/dist/types/src/features/CognitiveSearch/CognitiveSearchResultCard.d.ts.map +1 -0
- package/dist/types/src/features/CognitiveSearch/CognitiveSearchTestfile.d.ts +3 -0
- package/dist/types/src/features/CognitiveSearch/CognitiveSearchTestfile.d.ts.map +1 -0
- package/dist/types/src/features/CognitiveSearch/SearchResultSkeletonCard.d.ts +3 -0
- package/dist/types/src/features/CognitiveSearch/SearchResultSkeletonCard.d.ts.map +1 -0
- package/dist/types/src/features/CognitiveSearch/cognitiveParser.d.ts +39 -0
- package/dist/types/src/features/CognitiveSearch/cognitiveParser.d.ts.map +1 -0
- package/dist/types/src/features/CognitiveSearch/cognitiveSearch.types.d.ts +110 -0
- package/dist/types/src/features/CognitiveSearch/cognitiveSearch.types.d.ts.map +1 -0
- package/dist/types/src/features/CognitiveSearch/cognitiveWrapper.d.ts +56 -0
- package/dist/types/src/features/CognitiveSearch/cognitiveWrapper.d.ts.map +1 -0
- package/dist/types/src/features/CognitiveSearch/parseSearchResults.d.ts +6 -0
- package/dist/types/src/features/CognitiveSearch/parseSearchResults.d.ts.map +1 -0
- package/dist/types/src/features/CognitiveSearch/rulebookcitation.d.ts +23 -0
- package/dist/types/src/features/CognitiveSearch/rulebookcitation.d.ts.map +1 -0
- package/dist/types/src/features/DocumentLearning/DocumentLearning.d.ts.map +1 -1
- package/dist/types/src/features/DocumentLearning/_components/BookLearningForm.d.ts.map +1 -1
- package/dist/types/src/features/DocumentLearning/_components/LearningDetailsForm.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/ILOTJ.d.ts +10 -0
- package/dist/types/src/features/IL-OTJ/ILOTJ.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/ValueTypeWrappers/TeachMePlugin.d.ts +53 -0
- package/dist/types/src/features/IL-OTJ/ValueTypeWrappers/TeachMePlugin.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/ValueTypeWrappers/TeachMeWrapper.d.ts +14 -1
- package/dist/types/src/features/IL-OTJ/ValueTypeWrappers/TeachMeWrapper.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/AccordianSection.d.ts +10 -1
- package/dist/types/src/features/IL-OTJ/_components/AccordianSection.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/ChatComponents/ChatComponent.d.ts +4 -0
- package/dist/types/src/features/IL-OTJ/_components/ChatComponents/ChatComponent.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/ChatComponents/ChatHeader.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/CitationLink.d.ts +1 -1
- package/dist/types/src/features/IL-OTJ/_components/CitationLink.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/CriticalGaps.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/ILPopup.d.ts +3 -1
- package/dist/types/src/features/IL-OTJ/_components/ILPopup.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/InputDataReasoningCard.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/MarkdownComponents/MarkdownElements.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/MarkdownComponents/MarkdownSelect.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/MessageRendering/MessageRendering.d.ts +9 -1
- package/dist/types/src/features/IL-OTJ/_components/MessageRendering/MessageRendering.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/ViewFormUpdateCard.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/ViewIdentifiedFieldsCard.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/_svg/EditPencilIcon.d.ts +7 -0
- package/dist/types/src/features/IL-OTJ/_components/_svg/EditPencilIcon.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/atoms/Textarea/Textarea.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/hooks/usePendingEditHighlight.d.ts +5 -0
- package/dist/types/src/features/IL-OTJ/_components/hooks/usePendingEditHighlight.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/hooks/useVariantEditSession.d.ts +66 -0
- package/dist/types/src/features/IL-OTJ/_components/hooks/useVariantEditSession.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/index.d.ts +1 -0
- package/dist/types/src/features/IL-OTJ/_components/index.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/molecules/Condition/ConditionList.d.ts +4 -1
- package/dist/types/src/features/IL-OTJ/_components/molecules/Condition/ConditionList.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/molecules/Sections/SectionWrapper.d.ts +2 -1
- package/dist/types/src/features/IL-OTJ/_components/molecules/Sections/SectionWrapper.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/organisms/ConditionSection/ConditionSection.d.ts +1 -1
- package/dist/types/src/features/IL-OTJ/_components/organisms/ConditionSection/ConditionSection.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/organisms/DropdownSection/DropdownSection.d.ts +17 -0
- package/dist/types/src/features/IL-OTJ/_components/organisms/DropdownSection/DropdownSection.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/organisms/DropdownSection/index.d.ts +2 -0
- package/dist/types/src/features/IL-OTJ/_components/organisms/DropdownSection/index.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/organisms/TextSection/TextSection.d.ts +1 -1
- package/dist/types/src/features/IL-OTJ/_components/organisms/TextSection/TextSection.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/templates/SchemaDriven/SchemaDrivenCreateRule.d.ts +12 -0
- package/dist/types/src/features/IL-OTJ/_components/templates/SchemaDriven/SchemaDrivenCreateRule.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/templates/TemplatesMap/templatesMap.d.ts +2 -1
- package/dist/types/src/features/IL-OTJ/_components/templates/TemplatesMap/templatesMap.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/templates/TrafficManager/CreateRule.d.ts +7 -0
- package/dist/types/src/features/IL-OTJ/_components/templates/TrafficManager/CreateRule.d.ts.map +1 -1
- package/dist/types/src/features/IL-marketplace/components/GuidelineCardMenu.d.ts +34 -0
- package/dist/types/src/features/IL-marketplace/components/GuidelineCardMenu.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/components/GuidelineCart.d.ts +4 -0
- package/dist/types/src/features/IL-marketplace/components/GuidelineCart.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/components/GuidelineCartHeader.d.ts +14 -0
- package/dist/types/src/features/IL-marketplace/components/GuidelineCartHeader.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/components/GuidelineCartItem.d.ts +16 -0
- package/dist/types/src/features/IL-marketplace/components/GuidelineCartItem.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/components/GuidelineConfirmDialog.d.ts +18 -0
- package/dist/types/src/features/IL-marketplace/components/GuidelineConfirmDialog.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/components/GuidelineEmptyState.d.ts +11 -0
- package/dist/types/src/features/IL-marketplace/components/GuidelineEmptyState.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/components/GuidelineFilterPanel.d.ts +9 -0
- package/dist/types/src/features/IL-marketplace/components/GuidelineFilterPanel.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/components/GuidelineHeader.d.ts +4 -0
- package/dist/types/src/features/IL-marketplace/components/GuidelineHeader.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/components/GuidelineIconButton.d.ts +15 -0
- package/dist/types/src/features/IL-marketplace/components/GuidelineIconButton.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/components/GuidelineLandingPage.d.ts +4 -0
- package/dist/types/src/features/IL-marketplace/components/GuidelineLandingPage.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/components/GuidelineLibrary.d.ts +67 -0
- package/dist/types/src/features/IL-marketplace/components/GuidelineLibrary.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/components/GuidelineLibraryCard.d.ts +93 -0
- package/dist/types/src/features/IL-marketplace/components/GuidelineLibraryCard.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/components/GuidelineLibraryContent.d.ts +95 -0
- package/dist/types/src/features/IL-marketplace/components/GuidelineLibraryContent.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/components/GuidelineLibraryTab.d.ts +27 -0
- package/dist/types/src/features/IL-marketplace/components/GuidelineLibraryTab.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/components/GuidelineProceedButton.d.ts +4 -0
- package/dist/types/src/features/IL-marketplace/components/GuidelineProceedButton.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/components/GuidelineSelectButton.d.ts +11 -0
- package/dist/types/src/features/IL-marketplace/components/GuidelineSelectButton.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/components/GuidelineStatusChip.d.ts +9 -0
- package/dist/types/src/features/IL-marketplace/components/GuidelineStatusChip.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/components/GuidelineTooltip.d.ts +10 -0
- package/dist/types/src/features/IL-marketplace/components/GuidelineTooltip.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/components/ILMarketPlacePublish/LearningsSelectionBody.d.ts +3 -0
- package/dist/types/src/features/IL-marketplace/components/ILMarketPlacePublish/LearningsSelectionBody.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/components/ILMarketPlacePublish/LearningsSelectionFooter.d.ts +8 -0
- package/dist/types/src/features/IL-marketplace/components/ILMarketPlacePublish/LearningsSelectionFooter.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/components/ILMarketPlacePublish/LearningsValidationBody.d.ts +3 -0
- package/dist/types/src/features/IL-marketplace/components/ILMarketPlacePublish/LearningsValidationBody.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/components/ILMarketPlacePublish/LearningsValidationFooter.d.ts +8 -0
- package/dist/types/src/features/IL-marketplace/components/ILMarketPlacePublish/LearningsValidationFooter.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/components/ILMarketPlacePublish/PublishDetailsCards.d.ts +24 -0
- package/dist/types/src/features/IL-marketplace/components/ILMarketPlacePublish/PublishDetailsCards.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/components/ILMarketPlacePublish/PublishEmptyState.d.ts +8 -0
- package/dist/types/src/features/IL-marketplace/components/ILMarketPlacePublish/PublishEmptyState.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepBody.d.ts +4 -0
- package/dist/types/src/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepBody.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepFooter.d.ts +4 -0
- package/dist/types/src/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepFooter.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepper.d.ts +5 -0
- package/dist/types/src/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepper.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/components/ILMarketPlacePublish/PublishToMarketplace.constants.d.ts +3 -0
- package/dist/types/src/features/IL-marketplace/components/ILMarketPlacePublish/PublishToMarketplace.constants.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/components/ILMarketPlacePublish/PublishToMarketplace.types.d.ts +94 -0
- package/dist/types/src/features/IL-marketplace/components/ILMarketPlacePublish/PublishToMarketplace.types.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/components/ILMarketPlacePublish/PublishToMarketplaceCompnent.d.ts +39 -0
- package/dist/types/src/features/IL-marketplace/components/ILMarketPlacePublish/PublishToMarketplaceCompnent.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/components/ILMarketPlacePublish/ReleaseSummaryBody.d.ts +4 -0
- package/dist/types/src/features/IL-marketplace/components/ILMarketPlacePublish/ReleaseSummaryBody.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/components/ILMarketPlacePublish/ReleaseSummaryFooter.d.ts +14 -0
- package/dist/types/src/features/IL-marketplace/components/ILMarketPlacePublish/ReleaseSummaryFooter.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/components/ILMarketPlacePublish/TemplateDetailsBody.d.ts +4 -0
- package/dist/types/src/features/IL-marketplace/components/ILMarketPlacePublish/TemplateDetailsBody.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/components/ILMarketPlacePublish/TemplateDetailsFooter.d.ts +8 -0
- package/dist/types/src/features/IL-marketplace/components/ILMarketPlacePublish/TemplateDetailsFooter.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/components/LearningManagementWrapper.d.ts +28 -0
- package/dist/types/src/features/IL-marketplace/components/LearningManagementWrapper.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/components/VersionSelectDropdown.d.ts +13 -0
- package/dist/types/src/features/IL-marketplace/components/VersionSelectDropdown.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/constants.d.ts +183 -0
- package/dist/types/src/features/IL-marketplace/constants.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/hooks/useControllableState.d.ts +8 -0
- package/dist/types/src/features/IL-marketplace/hooks/useControllableState.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/hooks/useDeleteGuidelineMutation.d.ts +10 -0
- package/dist/types/src/features/IL-marketplace/hooks/useDeleteGuidelineMutation.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/hooks/useGuidelineSelection.d.ts +17 -0
- package/dist/types/src/features/IL-marketplace/hooks/useGuidelineSelection.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/hooks/useGuidelineWorkspaceLegacyBridge.d.ts +6 -0
- package/dist/types/src/features/IL-marketplace/hooks/useGuidelineWorkspaceLegacyBridge.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/hooks/useMarketplaceApprovalStatus.d.ts +4 -0
- package/dist/types/src/features/IL-marketplace/hooks/useMarketplaceApprovalStatus.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/hooks/useMarketplacePublishILKBData.d.ts +29 -0
- package/dist/types/src/features/IL-marketplace/hooks/useMarketplacePublishILKBData.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/hooks/usePublishingFlowConfig.d.ts +16 -0
- package/dist/types/src/features/IL-marketplace/hooks/usePublishingFlowConfig.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/icons/GuidelineSpinner.d.ts +7 -0
- package/dist/types/src/features/IL-marketplace/icons/GuidelineSpinner.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/index.d.ts +42 -0
- package/dist/types/src/features/IL-marketplace/index.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/queryClient.d.ts +3 -0
- package/dist/types/src/features/IL-marketplace/queryClient.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/services/IL-marketplace.api.d.ts +156 -0
- package/dist/types/src/features/IL-marketplace/services/IL-marketplace.api.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/services/guideline.api.d.ts +2 -0
- package/dist/types/src/features/IL-marketplace/services/guideline.api.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/services/guideline.cart.api.d.ts +28 -0
- package/dist/types/src/features/IL-marketplace/services/guideline.cart.api.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/services/guideline.chat.d.ts +2 -0
- package/dist/types/src/features/IL-marketplace/services/guideline.chat.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/services/guideline.content.d.ts +2 -0
- package/dist/types/src/features/IL-marketplace/services/guideline.content.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/services/guideline.core.api.d.ts +51 -0
- package/dist/types/src/features/IL-marketplace/services/guideline.core.api.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/services/guideline.runtime.config.d.ts +47 -0
- package/dist/types/src/features/IL-marketplace/services/guideline.runtime.config.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/services/guideline.session.d.ts +10 -0
- package/dist/types/src/features/IL-marketplace/services/guideline.session.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/services/instant-learning.api.d.ts +112 -0
- package/dist/types/src/features/IL-marketplace/services/instant-learning.api.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/services/instant-learning.wishlist.d.ts +8 -0
- package/dist/types/src/features/IL-marketplace/services/instant-learning.wishlist.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/store/usePublishTemplateStore.d.ts +14 -0
- package/dist/types/src/features/IL-marketplace/store/usePublishTemplateStore.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/store/usePublishingFlowConfigStore.d.ts +132 -0
- package/dist/types/src/features/IL-marketplace/store/usePublishingFlowConfigStore.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/types/add-context.types.d.ts +40 -0
- package/dist/types/src/features/IL-marketplace/types/add-context.types.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/types/api.types.d.ts +116 -0
- package/dist/types/src/features/IL-marketplace/types/api.types.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/types/file-item.d.ts +60 -0
- package/dist/types/src/features/IL-marketplace/types/file-item.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/types/guideline.api.types.d.ts +11 -0
- package/dist/types/src/features/IL-marketplace/types/guideline.api.types.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/types/guideline.types.d.ts +42 -0
- package/dist/types/src/features/IL-marketplace/types/guideline.types.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/types.d.ts +434 -0
- package/dist/types/src/features/IL-marketplace/types.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/utils/addContextHelpers.d.ts +6 -0
- package/dist/types/src/features/IL-marketplace/utils/addContextHelpers.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/utils/cn.d.ts +3 -0
- package/dist/types/src/features/IL-marketplace/utils/cn.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/utils/guidelineFiles.d.ts +17 -0
- package/dist/types/src/features/IL-marketplace/utils/guidelineFiles.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/utils/guidelineOverlay.d.ts +3 -0
- package/dist/types/src/features/IL-marketplace/utils/guidelineOverlay.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/utils/guidelineSort.d.ts +3 -0
- package/dist/types/src/features/IL-marketplace/utils/guidelineSort.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/utils/microfrontend.d.ts +23 -0
- package/dist/types/src/features/IL-marketplace/utils/microfrontend.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/utils/publishingFlow.d.ts +35 -0
- package/dist/types/src/features/IL-marketplace/utils/publishingFlow.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/utils/session.d.ts +4 -0
- package/dist/types/src/features/IL-marketplace/utils/session.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/utils/url.d.ts +2 -0
- package/dist/types/src/features/IL-marketplace/utils/url.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/utils.d.ts +75 -0
- package/dist/types/src/features/IL-marketplace/utils.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/workspace/useGuidelineWorkspace.d.ts +44 -0
- package/dist/types/src/features/IL-marketplace/workspace/useGuidelineWorkspace.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/workspace/workspace.context.d.ts +9 -0
- package/dist/types/src/features/IL-marketplace/workspace/workspace.context.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/workspace/workspace.runtime.d.ts +12 -0
- package/dist/types/src/features/IL-marketplace/workspace/workspace.runtime.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/workspace/workspace.selectors.d.ts +5 -0
- package/dist/types/src/features/IL-marketplace/workspace/workspace.selectors.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/workspace/workspace.types.d.ts +89 -0
- package/dist/types/src/features/IL-marketplace/workspace/workspace.types.d.ts.map +1 -0
- package/dist/types/src/features/InstantLearning/_components/ContextualLearningForm.d.ts.map +1 -1
- package/dist/types/src/features/InstantLearning/_components/LearningDetailsForm.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/AuditLog/AuditLog.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/LearningManagement.d.ts +24 -1
- package/dist/types/src/features/LearningManagement/LearningManagement.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/LearningManagementTest.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/LearningTemplateLayout.d.ts +9 -2
- package/dist/types/src/features/LearningManagement/LearningTemplateLayout.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/RBAC/AccessPanel.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/RuleContent/AddScopeModal.d.ts +3 -0
- package/dist/types/src/features/LearningManagement/RuleContent/AddScopeModal.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/RuleContent/ContentLogic.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/RuleContent/InstructionPromptBlock.d.ts +27 -0
- package/dist/types/src/features/LearningManagement/RuleContent/InstructionPromptBlock.d.ts.map +1 -0
- package/dist/types/src/features/LearningManagement/RuleContent/RuleContent.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/RuleContent/RuleHeader.d.ts +2 -0
- package/dist/types/src/features/LearningManagement/RuleContent/RuleHeader.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/RuleContent/TierCard.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/RuleContent/VariantCard.d.ts +4 -0
- package/dist/types/src/features/LearningManagement/RuleContent/VariantCard.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/ScopeSelector.d.ts +45 -0
- package/dist/types/src/features/LearningManagement/ScopeSelector.d.ts.map +1 -0
- package/dist/types/src/features/LearningManagement/Sidebar.d.ts +2 -1
- package/dist/types/src/features/LearningManagement/Sidebar.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/SidebarWrapper.d.ts +2 -1
- package/dist/types/src/features/LearningManagement/SidebarWrapper.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/apis/apiConfig.d.ts +2 -0
- package/dist/types/src/features/LearningManagement/apis/apiConfig.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/apis/scopeApis.d.ts +44 -3
- package/dist/types/src/features/LearningManagement/apis/scopeApis.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/components/InstantLearningModal.d.ts +4 -0
- package/dist/types/src/features/LearningManagement/components/InstantLearningModal.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/components/InstantLearningModalDynamic.d.ts +62 -0
- package/dist/types/src/features/LearningManagement/components/InstantLearningModalDynamic.d.ts.map +1 -0
- package/dist/types/src/features/LearningManagement/components/PromptTextEditor.d.ts +44 -0
- package/dist/types/src/features/LearningManagement/components/PromptTextEditor.d.ts.map +1 -0
- package/dist/types/src/features/LearningManagement/components/ScopeSkeletonLoader.d.ts +4 -0
- package/dist/types/src/features/LearningManagement/components/ScopeSkeletonLoader.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/components/ScopeTree/TreeMenu.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/components/ScopeTree/TreeNode.d.ts +2 -1
- package/dist/types/src/features/LearningManagement/components/ScopeTree/TreeNode.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/components/ScopeTree/TreeNodeHeader.d.ts +2 -0
- package/dist/types/src/features/LearningManagement/components/ScopeTree/TreeNodeHeader.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/components/ScopeTree/TreeSidebar.d.ts +2 -1
- package/dist/types/src/features/LearningManagement/components/ScopeTree/TreeSidebar.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/config.d.ts +15 -0
- package/dist/types/src/features/LearningManagement/config.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/constants.d.ts +10 -0
- package/dist/types/src/features/LearningManagement/constants.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/hooks/useLearningTemplateQueryParams.d.ts +11 -0
- package/dist/types/src/features/LearningManagement/hooks/useLearningTemplateQueryParams.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/queries/useApprovalQueries.d.ts +11 -8
- package/dist/types/src/features/LearningManagement/queries/useApprovalQueries.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/queries/useLMSConfigQuery.d.ts +8 -1
- package/dist/types/src/features/LearningManagement/queries/useLMSConfigQuery.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/store/useEnvStore.d.ts +4 -0
- package/dist/types/src/features/LearningManagement/store/useEnvStore.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/store/useExternalWorkflowStore.d.ts +38 -0
- package/dist/types/src/features/LearningManagement/store/useExternalWorkflowStore.d.ts.map +1 -0
- package/dist/types/src/features/LearningManagement/store/useLMSConfigStore.d.ts +162 -9
- package/dist/types/src/features/LearningManagement/store/useLMSConfigStore.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/store/useLearningTemplateStore.d.ts +15 -0
- package/dist/types/src/features/LearningManagement/store/useLearningTemplateStore.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/types.d.ts +62 -6
- package/dist/types/src/features/LearningManagement/types.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/utils/learningMetadataUtils.d.ts +17 -0
- package/dist/types/src/features/LearningManagement/utils/learningMetadataUtils.d.ts.map +1 -0
- package/dist/types/src/hooks/useAgentFix.d.ts.map +1 -1
- package/dist/types/src/hooks/useAgentSuggestions.d.ts.map +1 -1
- package/dist/types/src/hooks/useAgentValidation.d.ts.map +1 -1
- package/dist/types/src/hooks/useExistingAgentCheck.d.ts.map +1 -1
- package/dist/types/src/hooks/useExistingPromptCheck.d.ts.map +1 -1
- package/dist/types/src/hooks/usePromptFix.d.ts.map +1 -1
- package/dist/types/src/hooks/usePromptSuggestions.d.ts.map +1 -1
- package/dist/types/src/hooks/usePromptValidation.d.ts.map +1 -1
- package/dist/types/src/hooks/useQueries.d.ts +12 -0
- package/dist/types/src/hooks/useQueries.d.ts.map +1 -0
- package/dist/types/src/index.d.ts +46 -0
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/plugins/ValueTypes/Default/DefaultTeachMeRenderer.d.ts.map +1 -1
- package/dist/types/src/plugins/ValueTypes/RadioTrafficLearning/RadioTrafficLearningRenderer.d.ts.map +1 -1
- package/dist/types/src/schema-driven/BPARenderer.d.ts +14 -0
- package/dist/types/src/schema-driven/BPARenderer.d.ts.map +1 -0
- package/dist/types/src/schema-driven/FallbackField.d.ts +13 -0
- package/dist/types/src/schema-driven/FallbackField.d.ts.map +1 -0
- package/dist/types/src/schema-driven/components/ConditionSectionField.d.ts +3 -0
- package/dist/types/src/schema-driven/components/ConditionSectionField.d.ts.map +1 -0
- package/dist/types/src/schema-driven/components/ConfigSectionField.d.ts +3 -0
- package/dist/types/src/schema-driven/components/ConfigSectionField.d.ts.map +1 -0
- package/dist/types/src/schema-driven/components/DropdownSectionField.d.ts +3 -0
- package/dist/types/src/schema-driven/components/DropdownSectionField.d.ts.map +1 -0
- package/dist/types/src/schema-driven/components/GlobalSetupAccordionField.d.ts +3 -0
- package/dist/types/src/schema-driven/components/GlobalSetupAccordionField.d.ts.map +1 -0
- package/dist/types/src/schema-driven/components/GroupEditRow.d.ts +3 -0
- package/dist/types/src/schema-driven/components/GroupEditRow.d.ts.map +1 -0
- package/dist/types/src/schema-driven/components/PromptTextEditorField.d.ts +3 -0
- package/dist/types/src/schema-driven/components/PromptTextEditorField.d.ts.map +1 -0
- package/dist/types/src/schema-driven/components/ScopeSectionField.d.ts +3 -0
- package/dist/types/src/schema-driven/components/ScopeSectionField.d.ts.map +1 -0
- package/dist/types/src/schema-driven/components/TextInputField.d.ts +3 -0
- package/dist/types/src/schema-driven/components/TextInputField.d.ts.map +1 -0
- package/dist/types/src/schema-driven/components/VariantListField.d.ts +3 -0
- package/dist/types/src/schema-driven/components/VariantListField.d.ts.map +1 -0
- package/dist/types/src/schema-driven/demoSchema.d.ts +13 -0
- package/dist/types/src/schema-driven/demoSchema.d.ts.map +1 -0
- package/dist/types/src/schema-driven/hooks/useParentEditEnabled.d.ts +18 -0
- package/dist/types/src/schema-driven/hooks/useParentEditEnabled.d.ts.map +1 -0
- package/dist/types/src/schema-driven/hooks/useSectionEditSession.d.ts +34 -0
- package/dist/types/src/schema-driven/hooks/useSectionEditSession.d.ts.map +1 -0
- package/dist/types/src/schema-driven/primitives/Accordion.d.ts +21 -0
- package/dist/types/src/schema-driven/primitives/Accordion.d.ts.map +1 -0
- package/dist/types/src/schema-driven/store/useDynamicFormStore.d.ts +28 -0
- package/dist/types/src/schema-driven/store/useDynamicFormStore.d.ts.map +1 -0
- package/dist/types/src/schema-driven/types.d.ts +81 -0
- package/dist/types/src/schema-driven/types.d.ts.map +1 -0
- package/dist/types/src/schema-driven/utils/PayloadUtils.d.ts +82 -0
- package/dist/types/src/schema-driven/utils/PayloadUtils.d.ts.map +1 -0
- package/dist/types/src/schema-driven/utils/aiReasoning.d.ts +5 -0
- package/dist/types/src/schema-driven/utils/aiReasoning.d.ts.map +1 -0
- package/dist/types/src/schema-driven/utils/conditionText.d.ts +8 -0
- package/dist/types/src/schema-driven/utils/conditionText.d.ts.map +1 -0
- package/dist/types/src/schema-driven/utils/editLock.d.ts +39 -0
- package/dist/types/src/schema-driven/utils/editLock.d.ts.map +1 -0
- package/dist/types/src/service/API.d.ts.map +1 -1
- package/dist/types/src/service/GoogleFilePickerService.d.ts.map +1 -1
- package/dist/types/src/service/InstantLearningService.d.ts +12 -1
- package/dist/types/src/service/InstantLearningService.d.ts.map +1 -1
- package/dist/types/src/service/ModelService.d.ts.map +1 -1
- package/dist/types/src/service/SavedDataSetService.d.ts.map +1 -1
- package/dist/types/src/utils/bookGenieAPI.d.ts.map +1 -1
- package/dist/types/src/utils/date.d.ts.map +1 -1
- package/dist/types/src/utils/instantLearningAPI.d.ts.map +1 -1
- package/dist/utils/agentGenieAPI.js +1 -1
- package/dist/utils/bookGenieAPI.js +1 -1
- package/dist/utils/instantLearningAPI.js +1 -1
- package/package.json +35 -18
- package/dist/6fbbe065ef78c384.gif +0 -0
- package/dist/cjs/6fbbe065ef78c384.gif +0 -0
- package/dist/cjs/features/IL-OTJ/_components/templates/BaseTemplate/BaseTemplate.js +0 -2
- package/dist/cjs/features/IL-OTJ/_components/templates/BaseTemplate/BaseTemplate.js.map +0 -1
- package/dist/cjs/features/IL-OTJ/_components/templates/CreateCategory/CreateCategory.js +0 -2
- package/dist/cjs/features/IL-OTJ/_components/templates/CreateCategory/CreateCategory.js.map +0 -1
- package/dist/cjs/features/IL-OTJ/_components/templates/WorkflowComposer/WorkflowComposer.js +0 -2
- package/dist/cjs/features/IL-OTJ/_components/templates/WorkflowComposer/WorkflowComposer.js.map +0 -1
- package/dist/cjs/features/LSCGuidelinesCart/Cart/Cart.js +0 -2
- package/dist/cjs/features/LSCGuidelinesCart/Cart/Cart.js.map +0 -1
- package/dist/cjs/features/LSCGuidelinesCart/Cart/Cart.styles.js +0 -2
- package/dist/cjs/features/LSCGuidelinesCart/Cart/Cart.styles.js.map +0 -1
- package/dist/cjs/features/LSCGuidelinesCart/GuidelineCard.js +0 -2
- package/dist/cjs/features/LSCGuidelinesCart/GuidelineCard.js.map +0 -1
- package/dist/cjs/features/LSCGuidelinesCart/GuidelineCard.styles.js +0 -2
- package/dist/cjs/features/LSCGuidelinesCart/GuidelineCard.styles.js.map +0 -1
- package/dist/cjs/features/LSCGuidelinesCart/GuidelinesLandingPage.js +0 -2
- package/dist/cjs/features/LSCGuidelinesCart/GuidelinesLandingPage.js.map +0 -1
- package/dist/cjs/features/LSCGuidelinesCart/GuidelinesLandingPage.styles.js +0 -2
- package/dist/cjs/features/LSCGuidelinesCart/GuidelinesLandingPage.styles.js.map +0 -1
- package/dist/cjs/features/LSCGuidelinesCart/LearningManagementWrapper.js +0 -2
- package/dist/cjs/features/LSCGuidelinesCart/api.js +0 -2
- package/dist/cjs/features/LSCGuidelinesCart/api.js.map +0 -1
- package/dist/cjs/features/LSCGuidelinesCart/endpoints.js +0 -2
- package/dist/cjs/features/LSCGuidelinesCart/endpoints.js.map +0 -1
- package/dist/cjs/features/LearningManagement/assets/Search-result(add new).svg.js +0 -2
- package/dist/cjs/features/LearningManagement/assets/Search-result(add new).svg.js.map +0 -1
- package/dist/cjs/features/LearningManagement/components/CreateLearningSetModal.js +0 -2
- package/dist/cjs/features/LearningManagement/components/CreateLearningSetModal.js.map +0 -1
- package/dist/cjs/features/LearningManagement/components/StationOnboarding/BackwardStationOnboardModal.js +0 -2
- package/dist/cjs/features/LearningManagement/components/StationOnboarding/BackwardStationOnboardModal.js.map +0 -1
- package/dist/cjs/features/LearningManagement/public/ThinkingBulbIcon.gif.js +0 -2
- package/dist/cjs/features/LearningManagement/public/ThinkingBulbIcon.gif.js.map +0 -1
- package/dist/cjs/features/LearningManagement/styles/CreateLearningSetModal.module.css.js +0 -2
- package/dist/cjs/features/LearningManagement/styles/CreateLearningSetModal.module.css.js.map +0 -1
- package/dist/features/IL-OTJ/_components/templates/BaseTemplate/BaseTemplate.js +0 -2
- package/dist/features/IL-OTJ/_components/templates/BaseTemplate/BaseTemplate.js.map +0 -1
- package/dist/features/IL-OTJ/_components/templates/CreateCategory/CreateCategory.js +0 -2
- package/dist/features/IL-OTJ/_components/templates/CreateCategory/CreateCategory.js.map +0 -1
- package/dist/features/IL-OTJ/_components/templates/WorkflowComposer/WorkflowComposer.js +0 -2
- package/dist/features/IL-OTJ/_components/templates/WorkflowComposer/WorkflowComposer.js.map +0 -1
- package/dist/features/LSCGuidelinesCart/Cart/Cart.js +0 -2
- package/dist/features/LSCGuidelinesCart/Cart/Cart.js.map +0 -1
- package/dist/features/LSCGuidelinesCart/Cart/Cart.styles.js +0 -2
- package/dist/features/LSCGuidelinesCart/Cart/Cart.styles.js.map +0 -1
- package/dist/features/LSCGuidelinesCart/GuidelineCard.js +0 -2
- package/dist/features/LSCGuidelinesCart/GuidelineCard.js.map +0 -1
- package/dist/features/LSCGuidelinesCart/GuidelineCard.styles.js +0 -2
- package/dist/features/LSCGuidelinesCart/GuidelineCard.styles.js.map +0 -1
- package/dist/features/LSCGuidelinesCart/GuidelinesLandingPage.js +0 -2
- package/dist/features/LSCGuidelinesCart/GuidelinesLandingPage.js.map +0 -1
- package/dist/features/LSCGuidelinesCart/GuidelinesLandingPage.styles.js +0 -2
- package/dist/features/LSCGuidelinesCart/GuidelinesLandingPage.styles.js.map +0 -1
- package/dist/features/LSCGuidelinesCart/LearningManagementWrapper.js +0 -2
- package/dist/features/LSCGuidelinesCart/api.js +0 -2
- package/dist/features/LSCGuidelinesCart/api.js.map +0 -1
- package/dist/features/LSCGuidelinesCart/endpoints.js +0 -2
- package/dist/features/LSCGuidelinesCart/endpoints.js.map +0 -1
- package/dist/features/LearningManagement/assets/Search-result(add new).svg.js +0 -2
- package/dist/features/LearningManagement/assets/Search-result(add new).svg.js.map +0 -1
- package/dist/features/LearningManagement/components/CreateLearningSetModal.js +0 -2
- package/dist/features/LearningManagement/components/CreateLearningSetModal.js.map +0 -1
- package/dist/features/LearningManagement/components/StationOnboarding/BackwardStationOnboardModal.js +0 -2
- package/dist/features/LearningManagement/components/StationOnboarding/BackwardStationOnboardModal.js.map +0 -1
- package/dist/features/LearningManagement/public/ThinkingBulbIcon.gif.js +0 -2
- package/dist/features/LearningManagement/public/ThinkingBulbIcon.gif.js.map +0 -1
- package/dist/features/LearningManagement/styles/CreateLearningSetModal.module.css.js +0 -2
- package/dist/features/LearningManagement/styles/CreateLearningSetModal.module.css.js.map +0 -1
- package/dist/types/src/ThinkingBulbIconComponent.d.ts +0 -4
- package/dist/types/src/ThinkingBulbIconComponent.d.ts.map +0 -1
- package/dist/types/src/features/LSCGuidelinesCart/Cart/Cart.d.ts +0 -10
- package/dist/types/src/features/LSCGuidelinesCart/Cart/Cart.d.ts.map +0 -1
- package/dist/types/src/features/LSCGuidelinesCart/Cart/Cart.styles.d.ts +0 -6
- package/dist/types/src/features/LSCGuidelinesCart/Cart/Cart.styles.d.ts.map +0 -1
- package/dist/types/src/features/LSCGuidelinesCart/GuidelineCard.d.ts +0 -11
- package/dist/types/src/features/LSCGuidelinesCart/GuidelineCard.d.ts.map +0 -1
- package/dist/types/src/features/LSCGuidelinesCart/GuidelineCard.styles.d.ts +0 -6
- package/dist/types/src/features/LSCGuidelinesCart/GuidelineCard.styles.d.ts.map +0 -1
- package/dist/types/src/features/LSCGuidelinesCart/GuidelinesLandingPage.d.ts +0 -11
- package/dist/types/src/features/LSCGuidelinesCart/GuidelinesLandingPage.d.ts.map +0 -1
- package/dist/types/src/features/LSCGuidelinesCart/GuidelinesLandingPage.styles.d.ts +0 -6
- package/dist/types/src/features/LSCGuidelinesCart/GuidelinesLandingPage.styles.d.ts.map +0 -1
- package/dist/types/src/features/LSCGuidelinesCart/LearningManagementWrapper.d.ts +0 -14
- package/dist/types/src/features/LSCGuidelinesCart/LearningManagementWrapper.d.ts.map +0 -1
- package/dist/types/src/features/LSCGuidelinesCart/api.d.ts +0 -3
- package/dist/types/src/features/LSCGuidelinesCart/api.d.ts.map +0 -1
- package/dist/types/src/features/LSCGuidelinesCart/endpoints.d.ts +0 -4
- package/dist/types/src/features/LSCGuidelinesCart/endpoints.d.ts.map +0 -1
- package/dist/types/src/features/LSCGuidelinesCart/interfacesApi.d.ts +0 -25
- package/dist/types/src/features/LSCGuidelinesCart/interfacesApi.d.ts.map +0 -1
- package/dist/types/src/features/LearningManagement/components/StationOnboarding/BackwardStationOnboardModal.d.ts +0 -12
- package/dist/types/src/features/LearningManagement/components/StationOnboarding/BackwardStationOnboardModal.d.ts.map +0 -1
- package/dist/types/src/routes/ErrorBoundary.d.ts +0 -22
- package/dist/types/src/routes/ErrorBoundary.d.ts.map +0 -1
- package/dist/types/src/routes/Routes.d.ts +0 -3
- package/dist/types/src/routes/Routes.d.ts.map +0 -1
- /package/dist/cjs/features/{LSCGuidelinesCart → IL-marketplace/components}/LearningManagementWrapper.js.map +0 -0
- /package/dist/features/{LSCGuidelinesCart → IL-marketplace/components}/LearningManagementWrapper.js.map +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as i}from"tslib";import{jsx as t,jsxs as e,Fragment as l}from"react/jsx-runtime";import{useState as o,useRef as n,useEffect as d}from"react";import{Loader2Icon as a,Pencil as r,Check as u,AlertTriangle as s}from"lucide-react";import c from"../../features/IL-OTJ/_components/AccordianSection.js";import{EditPencilIcon as v}from"../../features/IL-OTJ/_components/_svg/EditPencilIcon.js";import{useLearningTemplateStore as p}from"../../features/LearningManagement/store/useLearningTemplateStore.js";function f(f){var g,S,m,h,x,y,C,b,I,D,E,T,A,k,z,w,F,O,P,j,_,N,R,J,L,W,M,B=p(function(i){return i.backwardCompatibility}),K=o(null),U=K[0],V=K[1],q=o(null),G=q[0],H=q[1],Q=o(!1),X=Q[0],Y=Q[1],Z=n(null===(g=f.uiState)||void 0===g?void 0:g.isAiStreaming),$="rule-setup"===(null===(S=f.uiState)||void 0===S?void 0:S.activeEditId);d(function(){var i,t;Z.current&&!(null===(i=f.uiState)||void 0===i?void 0:i.isAiStreaming)&&X&&Y(!1),Z.current=null===(t=f.uiState)||void 0===t?void 0:t.isAiStreaming},[null===(m=f.uiState)||void 0===m?void 0:m.isAiStreaming,X]);var ii=function(){var i,t;V(null),H(null),null===(t=null===(i=f.uiState)||void 0===i?void 0:i.setActiveEditId)||void 0===t||t.call(i,null)},ti=function(){var i,t,e,l,o,n,d,a=null!=U?U:null===(i=f.state)||void 0===i?void 0:i.ruleTitle,r=null!=G?G:null===(t=f.state)||void 0===t?void 0:t.scopeData,u=a!==(null===(e=f.state)||void 0===e?void 0:e.ruleTitle),s=JSON.stringify(r)!==JSON.stringify(null===(l=f.state)||void 0===l?void 0:l.scopeData);if(u||s){if(null===(o=f.uiState)||void 0===o?void 0:o.setSendMessageInChat){var c="sk-".concat(Date.now(),"-").concat(Math.random().toString(36).slice(2,8)),v=[];if(u&&v.push((null==a?void 0:a.trim())?"Title with ".concat(a):"No Title"),s){var p=null==r?void 0:r.tiers;v.push(p&&p.length>0?"tiers: ".concat(p.join(", ")):"No Tier Selected")}f.uiState.setSendMessageInChat("__SKELETON__:".concat(c,":Update Rule Setup ").concat(v.join(" and ")))}Y(!0),V(null),H(null),null===(d=null===(n=f.uiState)||void 0===n?void 0:n.setActiveEditId)||void 0===d||d.call(n,null)}else ii()},ei=null!==U?null==U?void 0:U.trim():((null===(h=f.state)||void 0===h?void 0:h.ruleTitle)||"").trim(),li=null!=G?G:null===(x=f.state)||void 0===x?void 0:x.scopeData,oi=ei!==((null===(y=f.state)||void 0===y?void 0:y.ruleTitle)||"").trim(),ni=JSON.stringify(li)!==JSON.stringify(null===(C=f.state)||void 0===C?void 0:C.scopeData),di=!oi&&!ni||""===ei,ai=!((null===(b=f.state)||void 0===b?void 0:b.ruleTitle)||"").trim()&&!(null===(D=null===(I=f.state)||void 0===I?void 0:I.scopeData)||void 0===D?void 0:D.station)&&!((null===(T=null===(E=f.state)||void 0===E?void 0:E.scopeData)||void 0===T?void 0:T.tiers)||[]).length,ri={display:"flex",alignItems:"center",gap:"7px",padding:"7px 10.5px",borderRadius:"6px",border:"1px solid #D9D6FE",color:"#5925DC",fontSize:"14px",fontWeight:500},ui=function(){return e("div",i({style:{display:"flex",alignItems:"center",gap:"6px"}},{children:[t("button",i({onClick:function(i){i.stopPropagation(),ti()},disabled:di||X,style:i(i({},ri),{backgroundColor:X?"#F5F3FF":"#ffffff",cursor:di||X?"not-allowed":"pointer",opacity:di?.5:1})},{children:X?"Validating...":"Save"})),!X&&t("button",i({onClick:function(i){i.stopPropagation(),ii()},style:i(i({},ri),{backgroundColor:"#ffffff",cursor:"pointer"})},{children:"Cancel"}))]}))},si=$?{ruleTitle:{value:null!==U?U:null===(A=f.state)||void 0===A?void 0:A.ruleTitle,onChange:V},scopeData:{value:null!==G?G:null===(k=f.state)||void 0===k?void 0:k.scopeData,onChange:H}}:{};return t("div",i({"data-edit-id":"rule-setup"},{children:t(c,i({},f,{title:{type:"other",label:(null===(z=f.schema)||void 0===z?void 0:z.title)||"Rule Setup"},actionButtons:function(o,n){var d;if($)return B?null:ui();var a=!!(null===(d=f.uiState)||void 0===d?void 0:d.activeEditId)&&"rule-setup"!==f.uiState.activeEditId;return t("div",i({style:{position:"relative",display:"flex",flexDirection:"column"}},{children:t("button",i({title:a?"Save active edits first":ai?"Add":"Edit",onClick:function(t){var e,l;t.stopPropagation(),a?(null===(e=f.uiState)||void 0===e?void 0:e.setPendingEditId)&&f.uiState.setPendingEditId(f.uiState.activeEditId||null):(!function(){var t,e,l,o,n,d;(null===(t=f.uiState)||void 0===t?void 0:t.activeEditId)&&"rule-setup"!==f.uiState.activeEditId||(null===(l=null===(e=f.uiState)||void 0===e?void 0:e.setActiveEditId)||void 0===l||l.call(e,"rule-setup"),V(null!==(n=null===(o=f.state)||void 0===o?void 0:o.ruleTitle)&&void 0!==n?n:""),H((null===(d=f.state)||void 0===d?void 0:d.scopeData)?i({},f.state.scopeData):{}))}(),(null===(l=f.uiState)||void 0===l?void 0:l.setPendingEditId)&&f.uiState.setPendingEditId(null),o||n())},disabled:X,style:{display:"flex",alignItems:"center",justifyContent:"center",gap:"6px",padding:"6px 8px",border:"1px solid #e5e7eb",borderRadius:"8px",cursor:X?"not-allowed":"pointer",backgroundColor:"#ffffff",color:"#6b7280",opacity:X?.5:1}},{children:B?t(r,{size:14}):e(l,{children:[t(v,{size:12})," ",ai?"Add":"Edit"]})}))}))},defaultOpen:null!==(F=null===(w=f.schema)||void 0===w?void 0:w.default_open)&&void 0!==F?F:"Create"===(null===(O=f.uiState)||void 0===O?void 0:O.usedFor),readOnly:"Create"!==(null===(P=f.uiState)||void 0===P?void 0:P.usedFor),editFlow:"Edit"===(null===(j=f.uiState)||void 0===j?void 0:j.usedFor),isAiStreaming:null===(_=f.uiState)||void 0===_?void 0:_.isAiStreaming,alwaysShowActions:!0,footerData:{ruleTitle:null===(N=f.state)||void 0===N?void 0:N.ruleTitle,stations:[null===(J=null===(R=f.state)||void 0===R?void 0:R.scopeData)||void 0===J?void 0:J.station],tiers:null===(W=null===(L=f.state)||void 0===L?void 0:L.scopeData)||void 0===W?void 0:W.tiers}},{children:e("div",i({style:{display:"flex",flexDirection:"column",gap:"12px"}},{children:[X&&(null===(M=f.uiState)||void 0===M?void 0:M.isAiStreaming)&&e("div",i({style:{display:"flex",alignItems:"center",color:"#141414ff",fontSize:"13px",fontWeight:500,fontStyle:"italic",marginBottom:"8px",paddingLeft:"4px"}},{children:[t(a,{size:16,style:{marginRight:8,animation:"spin 1s linear infinite"}}),"Checking the correctness of your Rule Setup..."]})),f.renderChildren?f.renderChildren(void 0,si):null,function(){var l;return $?e("div",i({style:{display:"flex",flexDirection:"column",alignItems:"flex-start"}},{children:[B&&e("div",i({style:{display:"flex",justifyContent:"flex-start",alignItems:"center",gap:"16px"}},{children:[t("button",i({onClick:ii,style:{background:"none",border:"none",color:"#6b7280",fontSize:"14px",fontWeight:"500",cursor:"pointer",padding:"0"}},{children:"Discard Changes"})),e("button",i({onClick:ti,disabled:di,style:{display:"flex",alignItems:"center",gap:"8px",padding:"8px 16px",borderRadius:"12px",border:"none",backgroundColor:"#2563eb",color:"#ffffff",fontSize:"14px",fontWeight:"500",cursor:di?"not-allowed":"pointer",opacity:di?.5:1}},{children:[t(u,{size:18,strokeWidth:2.5,color:"#ffffff"})," Save Changes"]}))]})),"rule-setup"===(null===(l=f.uiState)||void 0===l?void 0:l.pendingEditId)&&e("div",i({style:{display:"flex",alignItems:"center",gap:"6px",marginTop:"10px"}},{children:[t(s,{size:14,style:{color:"#C2410C"}}),t("div",i({style:{color:"#C2410C",fontSize:"13px"}},{children:"Pending - Changes not applied yet. Apply or discard them to continue."}))]}))]})):null}()]}))}))}))}export{f as default};
|
|
2
|
+
//# sourceMappingURL=GlobalSetupAccordionField.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GlobalSetupAccordionField.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as e}from"tslib";import{jsx as n,jsxs as i}from"react/jsx-runtime";import{useState as t,useRef as o,useEffect as l}from"react";import{Pencil as d,Loader2Icon as r,Check as a,AlertTriangle as u}from"lucide-react";import{useDynamicFormStore as c}from"../store/useDynamicFormStore.js";var s={display:"flex",gap:"16px",width:"100%",alignItems:"flex-start"};function f(f){var v,p,y,g,h,m,x,b,S,k,_,C,E=!!(null===(v=f.schema)||void 0===v?void 0:v.group_edit),I=c(function(e){return e.globalData}),z=c(function(e){return e.setGlobalField}),A=t({}),D=A[0],j=A[1],w=t(!1),P=w[0],W=w[1],F=null===(p=f.uiState)||void 0===p?void 0:p.isAiStreaming,O=o(F);if(l(function(){O.current&&!F&&P&&W(!1),O.current=F},[F,P]),!E)return n("div",e({style:s},{children:f.renderChildren?f.renderChildren():null}));var R=Object.entries((null===(y=f.schema)||void 0===y?void 0:y.properties)||{}).map(function(e){return{key:e[0],node:e[1]}}).filter(function(e){var n;return null===(n=e.node)||void 0===n?void 0:n.data_key}),M=f.contextOverrides||{},B=R.map(function(e){return M[String(e.node.data_key).replace("global.","")]}).find(Boolean),J=!!(null==B?void 0:B.hideEditControls),L=!!(null==B?void 0:B.parentEditing);if(J)return i("div",e({style:{border:"1px solid #e5e7eb",borderRadius:"12px",padding:"16px",width:"100%",display:"flex",flexDirection:"column",gap:"12px",backgroundColor:"#ffffff",boxSizing:"border-box"}},{children:[i("div",e({style:{display:"flex",flexDirection:"column",gap:"2px"}},{children:[n("span",e({style:{fontSize:"14px",fontWeight:500,color:F?"#717b8c":"#19213D",fontFamily:'"Plus Jakarta Sans", sans-serif'}},{children:(null===(g=f.schema)||void 0===g?void 0:g.group_title)||(null===(h=f.schema)||void 0===h?void 0:h.title)||""})),(f.subtitle||(null===(m=f.schema)||void 0===m?void 0:m.subtitle))&&n("span",e({style:{fontFamily:"Inter",fontWeight:400,fontSize:"12px",lineHeight:"130%",color:"#64748B"}},{children:f.subtitle||(null===(x=f.schema)||void 0===x?void 0:x.subtitle)}))]})),n("div",e({style:e(e({},s),{pointerEvents:L?"auto":"none"})},{children:f.renderChildren?f.renderChildren():null}))]}));var T="group-".concat(f.id||"flexrow"),q=(null===(b=f.uiState)||void 0===b?void 0:b.activeEditId)===T,G=!!(null===(S=f.uiState)||void 0===S?void 0:S.activeEditId)&&!q,H=(null===(k=f.uiState)||void 0===k?void 0:k.pendingEditId)===T,K=R.filter(function(e){return e.node.is_required}).map(function(e){return e.node.data_key}).every(function(e){var n;return""!==String(null!==(n=D[e])&&void 0!==n?n:"").trim()}),N=R.some(function(e){var n,i;return(null!==(n=D[e.node.data_key])&&void 0!==n?n:"")!==(null!==(i=I[e.node.data_key])&&void 0!==i?i:"")}),U=!K||!N||F,V={};R.forEach(function(n){var i,t,o,l,d=n.node.data_key,r=n.node.depends_on_global_key;V[d]={value:q?null!==(i=D[d])&&void 0!==i?i:"":null!==(t=I[d])&&void 0!==t?t:"",onChange:function(n){return i=d,t=n,void j(function(n){var o,l=e(e({},n),((o={})[i]=t,o));return R.forEach(function(e){e.node.depends_on_global_key===i&&(l[e.node.data_key]="")}),l});var i,t},readOnly:F,parentValueOverride:r?q?null!==(o=D[r])&&void 0!==o?o:"":null!==(l=I[r])&&void 0!==l?l:"":void 0}});var Q={display:"flex",alignItems:"center",justifyContent:"center",padding:"6px 8px",border:"1px solid #e5e7eb",borderRadius:"8px",backgroundColor:"#ffffff",color:"#6b7280",cursor:P?"not-allowed":"pointer",opacity:P?.5:1};return i("div",e({"data-edit-id":T,style:{border:"1px solid #e5e7eb",borderRadius:"12px",padding:"16px",width:"100%",display:"flex",flexDirection:"column",gap:"12px",backgroundColor:"#ffffff"}},{children:[i("div",e({style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},{children:[n("span",e({style:{fontSize:"14px",fontWeight:500,color:F?"#717b8c":"#19213D",fontFamily:'"Plus Jakarta Sans", sans-serif'}},{children:(null===(_=f.schema)||void 0===_?void 0:_.group_title)||(null===(C=f.schema)||void 0===C?void 0:C.title)||""})),!q&&n("button",e({title:G?"Save active edits first":"Edit",onClick:function(){var e,n,i,t,o,l,d;if(!(null===(e=f.uiState)||void 0===e?void 0:e.activeEditId)||q){var r={};R.forEach(function(e){var n;r[e.node.data_key]=null!==(n=I[e.node.data_key])&&void 0!==n?n:""}),j(r),null===(o=null===(t=f.uiState)||void 0===t?void 0:t.setPendingEditId)||void 0===o||o.call(t,null),null===(d=null===(l=f.uiState)||void 0===l?void 0:l.setActiveEditId)||void 0===d||d.call(l,T)}else null===(i=null===(n=f.uiState)||void 0===n?void 0:n.setPendingEditId)||void 0===i||i.call(n,f.uiState.activeEditId)},disabled:P||F,style:Q},{children:n(d,{size:14})}))]})),P&&F&&i("div",e({style:{display:"flex",alignItems:"center",color:"#141414",fontSize:"13px",fontWeight:500,fontStyle:"italic",paddingLeft:"2px"}},{children:[n("style",{children:"@keyframes spin { to { transform: rotate(360deg); } }"}),n(r,{size:16,style:{marginRight:8,animation:"spin 1s linear infinite"}}),"Checking the correctness of your selection..."]})),n("div",e({style:e(e({},s),{pointerEvents:q?"auto":"none"})},{children:f.renderChildren?f.renderChildren(void 0,V):null})),q&&i("div",e({style:{display:"flex",flexDirection:"column",alignItems:"flex-start",gap:"10px"}},{children:[i("div",e({style:{display:"flex",justifyContent:"flex-start",alignItems:"center",gap:"16px"}},{children:[n("button",e({onClick:function(){var e,n,i,t;j({}),null===(n=null===(e=f.uiState)||void 0===e?void 0:e.setPendingEditId)||void 0===n||n.call(e,null),null===(t=null===(i=f.uiState)||void 0===i?void 0:i.setActiveEditId)||void 0===t||t.call(i,null)},style:{background:"none",border:"none",color:"#6b7280",fontSize:"14px",fontWeight:500,cursor:"pointer",padding:0}},{children:"Discard Changes"})),i("button",e({onClick:function(){var e,n,i,t,o;if(!U){if(R.forEach(function(e){var n;return z(e.node.data_key,null!==(n=D[e.node.data_key])&&void 0!==n?n:"")}),null===(e=f.uiState)||void 0===e?void 0:e.setSendMessageInChat){var l="sk-".concat(Date.now(),"-").concat(Math.random().toString(36).slice(2,8)),d=R.filter(function(e){return e.node.ai_generated}),r=R.filter(function(e){return!e.node.ai_generated}),a="";if(d.length>0){var u=d.map(function(e){var n;return"".concat(e.node.title||e.node.data_key," to ").concat(function(e,n){var i,t;return null!==(t=null===(i=(Array.isArray(null==e?void 0:e.options)?e.options:Array.isArray(null==e?void 0:e.enum)?e.enum.map(function(e){return e&&"object"==typeof e?e:{label:String(e),value:e}}):[]).find(function(e){return e.value===n}))||void 0===i?void 0:i.label)&&void 0!==t?t:n||"empty"}(e.node,null!==(n=D[e.node.data_key])&&void 0!==n?n:""))});a+="Update ".concat(u.join(" and "))}if(r.length>0){var c=r.map(function(e){return e.node.title||e.node.data_key}).join(" and ");a+="".concat(a?" and ":"","The ").concat(c," have been updated through the learning form")}f.uiState.setSendMessageInChat("__SKELETON__:".concat(l,":").concat(a))}W(!0),j({}),null===(i=null===(n=f.uiState)||void 0===n?void 0:n.setPendingEditId)||void 0===i||i.call(n,null),null===(o=null===(t=f.uiState)||void 0===t?void 0:t.setActiveEditId)||void 0===o||o.call(t,null)}},disabled:U,style:{display:"flex",alignItems:"center",gap:"8px",padding:"8px 16px",borderRadius:"12px",border:"none",backgroundColor:"#2563eb",color:"#ffffff",fontSize:"14px",fontWeight:500,cursor:U?"not-allowed":"pointer",opacity:U?.5:1}},{children:[n(a,{size:18,strokeWidth:2.5,color:"#ffffff"})," Apply"]}))]})),H&&i("div",e({style:{display:"flex",alignItems:"center",gap:"6px"}},{children:[n(u,{size:14,style:{color:"#C2410C"}}),n("div",e({style:{color:"#C2410C",fontSize:"13px"}},{children:"Pending - Changes not applied yet. Apply or discard them to continue."}))]}))]}))]}))}export{f as default};
|
|
2
|
+
//# sourceMappingURL=GroupEditRow.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GroupEditRow.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as e}from"tslib";import{jsxs as t,jsx as i,Fragment as n}from"react/jsx-runtime";import{useRef as r,useState as o,useEffect as a}from"react";import{Check as l,X as d,Pencil as u}from"lucide-react";import c from"../../features/LearningManagement/components/PromptTextEditor.js";import{Textarea as s}from"../../features/IL-OTJ/_components/atoms/Textarea/Textarea.js";import{useLearningTemplateStore as p}from"../../features/LearningManagement/store/useLearningTemplateStore.js";import{useParentEditEnabled as f}from"../hooks/useParentEditEnabled.js";var h=[{key:"text",label:"Text"},{key:"prompt",label:"Prompt"}];function v(v){var x,m,b,g,y,S=r(""),E=o("text"),C=E[0],k=E[1],w=p(function(e){return e.backwardCompatibility}),I=v.id||"prompt-editor",A=f(v.schema),W=void 0!==v.hideEditControls?!!v.hideEditControls:A,T=W?!!v.parentEditing:(null===(x=v.uiState)||void 0===x?void 0:x.activeEditId)===I,z=!!(null===(m=v.uiState)||void 0===m?void 0:m.activeEditId)&&v.uiState.activeEditId!==I,L=r(null);a(function(){if(!T&&L.current){var e=L.current,t=e.querySelector(":focus");t&&t.blur();var i=function(e){T||(e.preventDefault(),e.target.blur())};return e.addEventListener("focus",i,{capture:!0}),function(){e.removeEventListener("focus",i,{capture:!0})}}},[T]),a(function(){L.current&&(T?(L.current.inert=!1,L.current.querySelectorAll('[aria-hidden="true"]').forEach(function(e){e.removeAttribute("aria-hidden");var t=e.tagName.toLowerCase();"button"!==t&&"input"!==t&&"textarea"!==t&&"a"!==t||(e.removeAttribute("tabindex"),e.disabled=!1)})):(L.current.inert=!0,L.current.querySelectorAll("input, textarea, button, a, [tabindex], [contenteditable]").forEach(function(e){e.setAttribute("tabindex","-1"),e.setAttribute("aria-hidden","true"),e.disabled=!0})))},[T]);var F=(v.value||"").trim()===S.current.trim(),O={display:"flex",alignItems:"center",justifyContent:"center",padding:"8px",border:"1px solid #e5e7eb",borderRadius:"8px",cursor:"pointer",width:"36px",height:"36px",backgroundColor:"#ffffff"},j=(null===(y=null===(g=null===(b=v.uiState)||void 0===b?void 0:b.highlights)||void 0===g?void 0:g.get("".concat(v.tierKey,"_").concat(v.variantIndex)))||void 0===y?void 0:y.instruction_prompt)||!1,B=w?"#2563EB":"#5925DC",M=w?"37, 99, 235":"89, 37, 220",_=v.value||"",R=function(e){return v.onChange(e)};return t("div",e({style:{display:"flex",flexDirection:"column",gap:"4px",width:"100%",maxWidth:"100%",boxSizing:"border-box",minWidth:0,marginBottom:"12px"},"data-edit-id":I},{children:[t("div",e({style:{display:"flex",alignItems:"center",width:"100%",justifyContent:"space-between"}},{children:[i("span",e({style:{fontSize:"14px",fontWeight:500,color:"#19213D",fontFamily:'"Plus Jakarta Sans", sans-serif'}},{children:v.title})),v.enableViewToggle&&i("div",e({style:{display:"flex",alignItems:"center",gap:"2px",padding:"2px",backgroundColor:"#F1F5F9",border:"1px solid #E2E8F0",borderRadius:"6px"}},{children:h.map(function(t){var n=t.key,r=t.label,o=C===n;return i("button",e({type:"button",onClick:function(){return k(n)},style:{padding:"3px 8px",borderRadius:"4px",border:"none",cursor:"pointer",fontSize:"11px",fontWeight:500,fontFamily:"Inter, sans-serif",backgroundColor:o?"#ffffff":"transparent",color:o?B:"#64748B",boxShadow:o?"0px 1px 2px rgba(18, 18, 23, 0.05)":"none"}},{children:r}),n)})}))]})),(v.subtitle||v.description)&&i("div",e({style:{fontFamily:"Inter",fontWeight:400,fontSize:"12px",lineHeight:"130%",color:"#64748B",marginBottom:"4px"}},{children:v.subtitle||v.description})),t("div",e({style:{display:"flex",alignItems:"flex-start",gap:"8px",width:"100%",maxWidth:"100%",minWidth:0,boxSizing:"border-box"}},{children:[i("div",e({ref:L,style:{flex:"1 1 0%",minWidth:0,maxWidth:"100%",overflow:"hidden",boxSizing:"border-box",border:j?"1px solid ".concat(B):"none",borderRadius:"8px",boxShadow:j?"0 0 12px 3px rgba(".concat(M,", 0.3)"):"none",transition:"all 0.3s",scrollBehavior:T?"auto":"unset"},"aria-disabled":!T},{children:i("div",e({style:{pointerEvents:T?"auto":"none",opacity:T?1:.75,maxWidth:"100%",minWidth:0,overflow:"hidden"}},{children:v.enableViewToggle&&"text"===C?i(s,{rows:6,placeholder:v.placeholder||"Enter the instruction prompt..",value:_,onChange:function(e){return R(e.target.value)},isReadOnly:v.readOnly||v.isAiStreaming,inputReadOnly:!T,isHighlighted:j,errorMessage:v.errorMessage}):i(c,e({},v,{value:_,onChange:R,minHeight:"220px",maxHeight:"400px",readOnly:v.readOnly||v.isAiStreaming||!T}))}))})),!v.readOnly&&!W&&i("div",e({style:{display:"flex",gap:"8px"}},{children:T?t(n,{children:[t("button",e({onClick:function(){var e,t,i;if((v.value||"")!==S.current&&(null===(e=v.uiState)||void 0===e?void 0:e.setSendMessageInChat)){var n="sk-".concat(Date.now(),"-").concat(Math.random().toString(36).slice(2,8));v.uiState.setSendMessageInChat("__SKELETON__:".concat(n,":The ").concat(v.title," has been updated through the Learning Form"))}null===(i=null===(t=v.uiState)||void 0===t?void 0:t.setActiveEditId)||void 0===i||i.call(t,null)},disabled:F,style:e(e({},O),{backgroundColor:"#2563EB",color:"white",width:"auto"})},{children:[i(l,{size:20,strokeWidth:2.5})," Apply"]})),i("button",e({onClick:function(){var e,t;(v.value||"")!==S.current&&v.onChange(S.current),null===(t=null===(e=v.uiState)||void 0===e?void 0:e.setActiveEditId)||void 0===t||t.call(e,null)},style:e(e({},O),{color:"#dc2626"})},{children:i(d,{size:20,strokeWidth:2.5})}))]}):i("button",e({onClick:function(){var e,t;z||(S.current=v.value||"",null===(t=null===(e=v.uiState)||void 0===e?void 0:e.setActiveEditId)||void 0===t||t.call(e,I))},disabled:v.isAiStreaming||z,style:e(e({},O),{color:"#6b7280"})},{children:i(u,{size:20})}))}))]}))]}))}export{v as default};
|
|
2
|
+
//# sourceMappingURL=PromptTextEditorField.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PromptTextEditorField.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as o}from"tslib";import{jsx as t}from"react/jsx-runtime";import{ScopeSection as i}from"../../features/IL-OTJ/_components/organisms/ScopeSection/ScopeSection.js";function n(n){var e,a;return t(i,o({},n,{scopeData:n.value||{},onScopeChange:function(t,i){var e;n.onChange(o(o({},n.value||{}),((e={})[t]=i,e)))},stationOptions:(null===(e=n.uiState)||void 0===e?void 0:e.stationOptions)||[],tierOptions:(null===(a=n.uiState)||void 0===a?void 0:a.tierOptions)||[]}))}export{n as default};
|
|
2
|
+
//# sourceMappingURL=ScopeSectionField.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScopeSectionField.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as e}from"tslib";import{jsxs as i,Fragment as t,jsx as o}from"react/jsx-runtime";import{useState as a,useEffect as r}from"react";import{TextSection as n}from"../../features/IL-OTJ/_components/organisms/TextSection/TextSection.js";import{InputDataReasoningCard as l}from"../../features/IL-OTJ/_components/InputDataReasoningCard.js";import{useDynamicFormStore as s}from"../store/useDynamicFormStore.js";function c(c){var d,m,u,f=a(!1),g=f[0],p=f[1],v=c.citation,h=c.title,b=c.value,x=c.state,I=c.isMirage,M=c.tierKey,T=c.variantIndex,j=s(),y=j.getGlobalField,V=j.getVariantField,_=j.clearAllMirages,F=j.getGlobalMirage,O=j.getVariantMirage,S=((null===(d=c.schema)||void 0===d?void 0:d.data_key)||c.id).replace("global.",""),k=((null===(m=c.schema)||void 0===m?void 0:m.data_key)||"").startsWith("global.")||void 0===T;return r(function(){if(I){var e=k?F(S):O(M,T,S),i=k?y(S):V(M,T,S);void 0!==i&&i!==e&&""!==i&&_()}},[b,I]),i(t,{children:[o(n,e({},c,{placeholder:null===(u=c.schema)||void 0===u?void 0:u.placeholder,showCognitiveIcon:!!v,isOpen:g,onToggle:function(){return p(function(e){return!e})},isMirage:I})),v&&o(l,{isVisible:g,citation:v,citations:null==x?void 0:x.citations,fieldName:h,fieldValue:b})]})}export{c as default};
|
|
2
|
+
//# sourceMappingURL=TextInputField.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextInputField.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as i}from"tslib";import{jsxs as n,jsx as t}from"react/jsx-runtime";import e,{useRef as o,useEffect as r,useState as a,useCallback as l}from"react";import{AlertTriangle as d}from"lucide-react";import{VariantListWrapper as u}from"../../features/IL-OTJ/_components/templates/TrafficManager/CreateRule.js";import s from"../../features/IL-OTJ/_components/AccordianSection.js";import{EditPencilIcon as c}from"../../features/IL-OTJ/_components/_svg/EditPencilIcon.js";import{useVariantEditSession as p,hasMeaningfulText as v}from"../../features/IL-OTJ/_components/hooks/useVariantEditSession.js";import{useDynamicFormStore as f}from"../store/useDynamicFormStore.js";import{splitConditions as m}from"../utils/conditionText.js";import{useParentEditEnabled as h}from"../hooks/useParentEditEnabled.js";import{isNodeLocked as g,isWrapperEditLocked as y}from"../utils/editLock.js";function x(x){var C,S,b,A,w,T,E,D,I,V=h(x.schema),_=x.tierKey||"tier_1",k=!1!==(null===(C=x.schema)||void 0===C?void 0:C.show_variant_pill),F=(null===(b=null===(S=x.state)||void 0===S?void 0:S.variantsByTier)||void 0===b?void 0:b[_])||[{}],O=(null===(A=x.schema)||void 0===A?void 0:A.properties)||{},j=g(x.schema,x.uiState),P=y(x.schema,x.uiState),N=e.useMemo(function(){var i=new Set,n=function(t,e){void 0===t&&(t={}),void 0===e&&(e=!1),Object.entries(t).forEach(function(t){var o=t[0],r=t[1],a=e||j||g(r,x.uiState);a&&i.add(String((null==r?void 0:r.data_key)||o).replace("global.","")),(null==r?void 0:r.properties)&&n(r.properties,a)})};return n(O),i},[O,j,null===(w=x.uiState)||void 0===w?void 0:w.usedFor]),R=function(i){return Object.entries(O).filter(function(n){var t=n[1];return(null==t?void 0:t.bpa_ui_component)===i&&!(null==t?void 0:t.hidden)}).sort(function(i,n){var t,e,o=i[1],r=n[1];return(null!==(t=null==o?void 0:o.ui_position)&&void 0!==t?t:0)-(null!==(e=null==r?void 0:r.ui_position)&&void 0!==e?e:0)}).map(function(i){var n=i[0],t=i[1];return String((null==t?void 0:t.data_key)||n).replace("global.","")})},z=R("TextInput")[0],L=R("PromptTextEditor")[0],M=R("ConditionSection"),B=M[0],K=M[1],J=f(function(i){return i.variantData}),W=o(null===(T=x.uiState)||void 0===T?void 0:T.isAiStreaming);r(function(){var i,n;W.current&&!(null===(i=x.uiState)||void 0===i?void 0:i.isAiStreaming)&&f.getState().clearAllMirages(),W.current=null===(n=x.uiState)||void 0===n?void 0:n.isAiStreaming},[null===(E=x.uiState)||void 0===E?void 0:E.isAiStreaming]);var G=p(x.uiState,function(i){var n=f.getState().getVariantField,t=function(t){return t?n(_,i,t):void 0};return{ruleDescription:t(z)||"",instructionPrompt:t(L)||"",whenToApplyConditions:m(t(B)||"","wta"),whenNotToApplyConditions:m(t(K)||"","wnta")}},function(i,n){var t=f.getState(),e=t.setVariantField,o=t.setVariantMirage;void 0!==i.instructionPrompt&&L&&e(n.tierKey,n.variantIndex,L,i.instructionPrompt),void 0!==i.ruleDescription&&z&&o(n.tierKey,n.variantIndex,z,i.ruleDescription),void 0!==i.whenToApplyText&&B&&o(n.tierKey,n.variantIndex,B,i.whenToApplyText),void 0!==i.whenNotToApplyText&&K&&o(n.tierKey,n.variantIndex,K,i.whenNotToApplyText)}),q=G.variantEdit,H=G.pendingVariantId,Q=G.handleStartVariantEdit,U=G.handleCancelVariantEdit,X=G.patchVariantDraft,Y=G.editDraftCondition,Z=G.removeDraftCondition,$=G.addDraftCondition,ii=G.handleSaveVariantEdit,ni=o({}),ti=a(null),ei=ti[0],oi=ti[1],ri=o(null);r(function(){return function(){ri.current&&clearTimeout(ri.current)}},[]);var ai=l(function(i){var n=ni.current[i];n&&!n.disabled&&(n.scrollIntoView({behavior:"smooth",block:"center"}),oi(i),ri.current&&clearTimeout(ri.current),ri.current=setTimeout(function(){return oi(null)},1800))},[]);return n(u,i({onAddVariant:function(){var i;(null===(i=x.handlers)||void 0===i?void 0:i.addNewVariant)&&x.handlers.addNewVariant(_)},isDisabled:null===(D=x.uiState)||void 0===D?void 0:D.isAiStreaming,showAddVariantBtn:!V&&"Edit"!==(null===(I=x.uiState)||void 0===I?void 0:I.usedFor),showConnectorLines:!V},{children:[t("style",{children:"@keyframes ilVariantEditGlow {\n 0%, 100% { box-shadow: 0 0 0 0 rgba(127, 86, 217, 0); }\n 50% { box-shadow: 0 0 0 4px rgba(127, 86, 217, 0.25), 0 0 10px 2px rgba(127, 86, 217, 0.35); }\n }"}),F.map(function(e,o){var r,a,l,u,p,f=e.variantType||"default",m="default"===f||"default_variant"===f,h="".concat(_,"-variant-").concat(o),g=!0===e.is_variant,y=null===(r=x.uiState)||void 0===r?void 0:r.activeVariantAccordionIndex,C=void 0!==y?y===o:g,S=e.isReadOnly||(null===(a=x.uiState)||void 0===a?void 0:a.isAiStreaming),b="variant-".concat(_,"-").concat(o),A=V&&(null==q?void 0:q.id)===b,w=H===b,T=A?q.draft:null,E=S||w,D=(null===(l=null==J?void 0:J[_])||void 0===l?void 0:l[o])||{},I=![z,L,B,K].some(function(i){return i&&v(D[i])}),F=!T||!v(T.ruleDescription)||!T.whenToApplyConditions.some(function(i){return v(i.text)}),O=i({},function(i){var n,t={},e=function(n){void 0===n&&(n={}),Object.entries(n).forEach(function(n){var o=n[0],r=n[1],a=((null==r?void 0:r.data_key)||o).replace("global.","");t[a]={readOnly:i},(null==r?void 0:r.properties)&&e(r.properties)})};return e(null===(n=x.schema)||void 0===n?void 0:n.properties),t}(S||j));if(V){var R=function(n,t){n&&(!function(i){return!!i&&N.has(i)}(n)?O[n]=i(i({},O[n]||{}),t):O[n]=i(i({},O[n]||{}),{readOnly:!0,enableInlineEdit:!1,hideEditControls:!0,parentEditing:A}))};R(z,i({readOnly:S||!A,enableInlineEdit:!1},T?{value:T.ruleDescription,onChange:function(i){return X({ruleDescription:i})}}:{})),R(L,i({readOnly:S||!A,hideEditControls:!0,parentEditing:A},T?{value:T.instructionPrompt,onChange:function(i){return X({instructionPrompt:i})}}:{})),R(B,i({readOnly:S,hideEditControls:!0,parentEditing:A},T?{conditions:T.whenToApplyConditions,onAdd:function(){return $("whenToApplyConditions")},onRemove:function(i,n,t){return Z("whenToApplyConditions",t)},onEdit:function(i,n,t,e){return Y("whenToApplyConditions",t,e)}}:{})),R(K,i({readOnly:S,hideEditControls:!0,parentEditing:A},T?{conditions:T.whenNotToApplyConditions,onAdd:function(){return $("whenNotToApplyConditions")},onRemove:function(i,n,t){return Z("whenNotToApplyConditions",t)},onEdit:function(i,n,t,e){return Y("whenNotToApplyConditions",t,e)}}:{}))}var M=ei===b;return t("div",i({style:{width:"100%"},"data-edit-id":V?b:void 0},{children:t(s,i({title:{type:m?"default":"variant",label:f,number:o+1,isNewVariant:g,isDefault:e.isDefault,isModified:e.isModified},expanded:C,onToggle:function(){var i,n;return null===(n=null===(i=x.uiState)||void 0===i?void 0:i.setActiveVariantAccordionIndex)||void 0===n?void 0:n.call(i,C?null:o)},variant:"rule-behavior",showTitlePill:k,footerData:{ruleTitle:f,description:e.ruleDescription||""},readOnly:S,actionButtons:V?function(e,r){return V?P?null:!S||A||w?A||w?null:n("button",i({ref:function(i){ni.current[b]=i},title:E?"Editing unavailable":I?"Add":"Edit",onClick:function(i){i.stopPropagation(),Q(o,_,o,f),e||r()},disabled:E,style:{display:"flex",alignItems:"center",justifyContent:"center",padding:"6px 8px",borderRadius:"6px",border:"1px solid ".concat(M?"#7F56D9":"#CBD5E1"),backgroundColor:M?"#F9F5FF":"#ffffff",color:M?"#5925DC":"#64748B",fontSize:"13px",fontWeight:500,cursor:E?"not-allowed":"pointer",opacity:E?.5:1,gap:"6px",transition:"border-color 150ms ease, background-color 150ms ease, color 150ms ease",animation:M?"ilVariantEditGlow 900ms ease-in-out 2":void 0}},{children:[t(c,{size:12})," ",I?"Add":"Edit"]})):null:null}:void 0,isAiStreaming:null===(u=x.uiState)||void 0===u?void 0:u.isAiStreaming,alwaysShowActions:V},{children:n("div",i({style:{display:"flex",flexDirection:"column",gap:"12px"},onClickCapture:function(){!V||P||A||w||E||ai(b)}},{children:[x.renderChildren?x.renderChildren(o,O,_):null,V&&(A||w)&&n("div",i({style:{display:"flex",alignItems:"center",gap:"6px",justifyContent:"flex-start"}},{children:[t("button",i({onClick:function(i){i.stopPropagation(),ii()},disabled:F||w,style:{display:"flex",alignItems:"center",gap:"6px",padding:"6px 10.5px",borderRadius:"6px",border:"1px solid #D9D6FE",backgroundColor:w?"#F5F3FF":"#ffffff",color:"#5925DC",fontSize:"13px",fontWeight:500,cursor:F||w?"not-allowed":"pointer",opacity:F?.5:1}},{children:w?"Validating...":"Save"})),!w&&t("button",i({onClick:function(i){i.stopPropagation(),U()},style:{display:"flex",alignItems:"center",gap:"6px",padding:"6px 10.5px",borderRadius:"6px",border:"1px solid #D9D6FE",backgroundColor:"#ffffff",color:"#5925DC",fontSize:"13px",fontWeight:500,cursor:"pointer"}},{children:"Cancel"}))]})),V&&A&&(null===(p=x.uiState)||void 0===p?void 0:p.pendingEditId)===b&&n("div",i({style:{display:"flex",alignItems:"center",gap:"6px"}},{children:[t(d,{size:14,style:{color:"#C2410C"}}),t("div",i({style:{color:"#C2410C",fontSize:"13px"}},{children:"Pending - Changes not applied yet. Apply or discard them to continue."}))]}))]}))}))}),h)})]}))}export{x as default};
|
|
2
|
+
//# sourceMappingURL=VariantListField.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VariantListField.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import r,{useContext as t}from"react";import{useLearningTemplateStore as e}from"../../features/LearningManagement/store/useLearningTemplateStore.js";var n=r.createContext(!1),a=function(){return t(n)};function o(r){var t=a(),n=e(function(r){return r.backwardCompatibility});return t?!0===(null==r?void 0:r.parent_edit):!n}export{n as DynamicFormContext,a as useIsDynamicForm,o as useParentEditEnabled};
|
|
2
|
+
//# sourceMappingURL=useParentEditEnabled.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useParentEditEnabled.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as n}from"tslib";import{useMemo as e,useState as i,useRef as t,useEffect as l}from"react";import{useDynamicFormStore as r}from"../store/useDynamicFormStore.js";import{hasMeaningfulText as o,buildEditMessage as a}from"../../features/IL-OTJ/_components/hooks/useVariantEditSession.js";import{isNodeLocked as u}from"../utils/editLock.js";var d=function(n){return"PromptTextEditor"===(null==n?void 0:n.bpa_ui_component)},c=function(n){return!0===(null==n?void 0:n.is_repeatable_variant)||"VariantListWrapper"===(null==n?void 0:n.bpa_ui_component)},v=function(n){return void 0===n&&(n={}),Object.values(n||{}).some(function(n){return c(n)||(null==n?void 0:n.properties)&&v(n.properties)})},s=function(n,e){void 0===n&&(n={});var i=[],t=function(n,l){void 0===n&&(n={}),void 0===l&&(l=!1),Object.entries(n||{}).forEach(function(n){var r=n[0],o=n[1];if(o&&!o.hidden&&!c(o)){var a=l||u(o,e);!o.data_key||o.read_only||a||i.push({propKey:r,node:o,cleanKey:String(o.data_key).replace("global.","")}),o.properties&&t(o.properties,a)}})};return t(n),i};function f(u,c,v){var f=e(function(){return s(c,v)},[c,null==v?void 0:v.usedFor]),g=i(null),p=g[0],m=g[1],y=i(!1),E=y[0],S=y[1],_=t(null==v?void 0:v.isAiStreaming),K=(null==v?void 0:v.activeEditId)===u&&null!==p;l(function(){_.current&&!(null==v?void 0:v.isAiStreaming)&&(E&&S(!1),r.getState().clearAllMirages()),_.current=null==v?void 0:v.isAiStreaming},[null==v?void 0:v.isAiStreaming,E]);var b=function(){var n,e;m(null),null===(n=null==v?void 0:v.setActiveEditId)||void 0===n||n.call(v,null),null===(e=null==v?void 0:v.setPendingEditId)||void 0===e||e.call(v,null)},h=r(function(n){return n.globalData}),I=!f.some(function(n){var e;return o(String(null!==(e=h[n.cleanKey])&&void 0!==e?e:""))}),A=!!p&&f.some(function(n){var e,i;return String(null!==(e=p[n.cleanKey])&&void 0!==e?e:"")!==String(null!==(i=r.getState().globalData[n.cleanKey])&&void 0!==i?i:"")}),k=!!p&&f.some(function(n){var e;return n.node.is_required&&""===String(null!==(e=p[n.cleanKey])&&void 0!==e?e:"").trim()}),D=!p||!A||k,O=e(function(){var e={};return f.forEach(function(i){var t,l=i.node.depends_on_global_key;e[i.cleanKey]=n({readOnly:!K||!!(null==v?void 0:v.isAiStreaming),enableInlineEdit:!1,hideEditControls:!0,parentEditing:K},K?n({value:p[i.cleanKey],onChange:function(e){return m(function(t){var l;if(!t)return t;var r=n(n({},t),((l={})[i.cleanKey]=e,l));return f.forEach(function(n){n.node.depends_on_global_key===i.cleanKey&&(r[n.cleanKey]="")}),r})}},l?{parentValueOverride:null!==(t=p[l])&&void 0!==t?t:""}:{}):{})}),e},[f,K,p,null==v?void 0:v.isAiStreaming]);return{leaves:f,isEditing:K,isEmpty:I,isPending:E,isSaveDisabled:D,start:function(){var n,e,i;if((null==v?void 0:v.activeEditId)&&v.activeEditId!==u)null===(n=null==v?void 0:v.setPendingEditId)||void 0===n||n.call(v,v.activeEditId);else{var t=r.getState().globalData,l={};f.forEach(function(n){var e;l[n.cleanKey]=null!==(e=t[n.cleanKey])&&void 0!==e?e:""}),m(l),null===(e=null==v?void 0:v.setActiveEditId)||void 0===e||e.call(v,u),null===(i=null==v?void 0:v.setPendingEditId)||void 0===i||i.call(v,null)}},cancel:b,save:function(){var n,e;if(p){var i=r.getState(),t=i.globalData,l=i.setGlobalField,o=i.setGlobalMirage,u=f.filter(function(n){var e,i;return String(null!==(e=p[n.cleanKey])&&void 0!==e?e:"")!==String(null!==(i=t[n.cleanKey])&&void 0!==i?i:"")});if(0!==u.length){if(u.filter(function(n){return!n.node.ai_generated||d(n.node)}).forEach(function(n){return l(n.cleanKey,p[n.cleanKey])}),u.filter(function(n){return n.node.ai_generated&&!d(n.node)}).forEach(function(n){return o(n.cleanKey,p[n.cleanKey])}),null==v?void 0:v.setSendMessageInChat){var c="sk-".concat(Date.now(),"-").concat(Math.random().toString(36).slice(2,8)),s=u.filter(function(n){return!d(n.node)}).map(function(n){var e;return{action:"update",label:n.node.title||n.cleanKey,value:String(null!==(e=p[n.cleanKey])&&void 0!==e?e:"").trim()||"None"}}),g=a(s,u.some(function(n){return d(n.node)}));v.setSendMessageInChat("__SKELETON__:".concat(c,":").concat(g)),S(!0)}m(null),null===(n=null==v?void 0:v.setActiveEditId)||void 0===n||n.call(v,null),null===(e=null==v?void 0:v.setPendingEditId)||void 0===e||e.call(v,null)}else b()}},childOverrides:O}}export{s as collectSectionLeaves,v as sectionHasVariantWrapper,f as useSectionEditSession};
|
|
2
|
+
//# sourceMappingURL=useSectionEditSession.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSectionEditSession.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as i}from"tslib";import{jsxs as e,jsx as t,Fragment as n}from"react/jsx-runtime";import{useState as o}from"react";import{ChevronDown as r,AlertTriangle as l}from"lucide-react";import d from"../../features/IL-OTJ/_components/AccordianSection.js";import{EditPencilIcon as s}from"../../features/IL-OTJ/_components/_svg/EditPencilIcon.js";import{sectionHasVariantWrapper as a,collectSectionLeaves as c,useSectionEditSession as p}from"../hooks/useSectionEditSession.js";import{useParentEditEnabled as f}from"../hooks/useParentEditEnabled.js";import{isWrapperEditLocked as u,isNodeLocked as g,buildLockedSubtreeOverrides as m}from"../utils/editLock.js";var h={display:"flex",alignItems:"center",gap:"7px",padding:"7px 10.5px",borderRadius:"6px",border:"1px solid #D9D6FE",color:"#5925DC",fontSize:"14px",fontWeight:500},y=function(y){var x,b=y,v=b.schema,C=b.children,S=b.renderChildren,P=b.uiState,k=o(!!v.default_open),E=k[0],F=k[1],D="section-".concat(y.id||v.title||"accordion"),I=a(v.properties),j=c(v.properties,P),z=f(v),A=u(v,P),w=z&&!I&&j.length>0&&!A,B=p(D,v.properties,P);if(!w)return e("div",i({style:{border:"1px solid #E2E8F0",borderRadius:12,marginBottom:12,overflow:"hidden"}},{children:[e("button",i({type:"button",onClick:function(){return F(function(i){return!i})},"aria-expanded":E,style:{width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between",padding:"12px 16px",background:"#F8FAFC",border:"none",cursor:"pointer",fontSize:14,fontWeight:500,color:"#19213D",fontFamily:'"Plus Jakarta Sans", sans-serif'}},{children:[v.title,t(r,{size:18,style:{transform:E?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.2s"}})]})),E&&e("div",i({style:{padding:16,display:"flex",flexDirection:"column",gap:12}},{children:[v.subtitle&&t("div",i({style:{fontFamily:"Inter",fontWeight:400,fontSize:12,lineHeight:"130%",color:"#64748B"}},{children:v.subtitle})),g(v,P)&&S?S(void 0,m(v.properties)):C]}))]}));return t("div",i({"data-edit-id":D},{children:t(d,i({title:{type:"other",label:v.title||""},subtitle:v.subtitle,defaultOpen:null===(x=v.default_open)||void 0===x||x,isAiStreaming:null==P?void 0:P.isAiStreaming,actionButtons:function(o,r){if(B.isEditing)return e("div",i({style:{display:"flex",alignItems:"center",gap:"6px"}},{children:[t("button",i({onClick:function(i){i.stopPropagation(),B.save()},disabled:B.isSaveDisabled||B.isPending,style:i(i({},h),{backgroundColor:B.isPending?"#F5F3FF":"#ffffff",cursor:B.isSaveDisabled||B.isPending?"not-allowed":"pointer",opacity:B.isSaveDisabled?.5:1})},{children:B.isPending?"Validating...":"Save"})),!B.isPending&&t("button",i({onClick:function(i){i.stopPropagation(),B.cancel()},style:i(i({},h),{backgroundColor:"#ffffff",cursor:"pointer"})},{children:"Cancel"}))]}));var l=B.isPending||!!(null==P?void 0:P.isAiStreaming),d=B.isEmpty?"Add":"Edit";return t("button",i({title:B.isPending?"Validating...":d,onClick:function(i){i.stopPropagation(),B.start(),o||r()},disabled:l,style:{display:"flex",alignItems:"center",justifyContent:"center",gap:"6px",padding:"6px 10px",border:"1px solid #CBD5E1",borderRadius:"6px",backgroundColor:"#ffffff",color:"#64748B",fontSize:"13px",fontWeight:500,cursor:l?"not-allowed":"pointer",opacity:l?.5:1}},{children:B.isPending?"Validating...":e(n,{children:[t(s,{size:12})," ",d]})}))},alwaysShowActions:!0},{children:e("div",i({style:{display:"flex",flexDirection:"column",gap:12}},{children:[S?S(void 0,B.childOverrides):C,(null==P?void 0:P.pendingEditId)===D&&e("div",i({style:{display:"flex",alignItems:"center",gap:"6px"}},{children:[t(l,{size:14,style:{color:"#C2410C"}}),t("div",i({style:{color:"#C2410C",fontSize:"13px"}},{children:"Pending - Changes not applied yet. Apply or discard them to continue."}))]}))]}))}))}))};export{y as default};
|
|
2
|
+
//# sourceMappingURL=Accordion.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Accordion.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as a}from"tslib";import{create as n}from"zustand";var t=n(function(n,t){return{globalData:{},variantData:{},globalReasoning:{},variantReasoning:{},globalMirage:{},variantMirage:{},setGlobalField:function(t,r){return n(function(n){var i;return{globalData:a(a({},n.globalData),(i={},i[t]=r,i))}})},setVariantField:function(t,r,i,e){return n(function(n){var o,l,g,v=n.variantData[t]||{},u=v[r]||{};return{variantData:a(a({},n.variantData),(o={},o[t]=a(a({},v),(l={},l[r]=a(a({},u),(g={},g[i]=e,g)),l)),o))}})},setGlobalReasoning:function(t,r){return n(function(n){var i;return{globalReasoning:a(a({},n.globalReasoning),(i={},i[t]=r,i))}})},setVariantReasoning:function(t,r,i,e){return n(function(n){var o,l,g,v=n.variantReasoning[t]||{},u=v[r]||{};return{variantReasoning:a(a({},n.variantReasoning),(o={},o[t]=a(a({},v),(l={},l[r]=a(a({},u),(g={},g[i]=e,g)),l)),o))}})},getGlobalField:function(a){return t().globalData[a]},getVariantField:function(a,n,r){var i,e;return null===(e=null===(i=t().variantData[a])||void 0===i?void 0:i[n])||void 0===e?void 0:e[r]},getGlobalReasoning:function(a){return t().globalReasoning[a]},getVariantReasoning:function(a,n,r){var i,e;return null===(e=null===(i=t().variantReasoning[a])||void 0===i?void 0:i[n])||void 0===e?void 0:e[r]},getGlobalMirage:function(a){return t().globalMirage[a]},getVariantMirage:function(a,n,r){var i,e;return null===(e=null===(i=t().variantMirage[a])||void 0===i?void 0:i[n])||void 0===e?void 0:e[r]},setGlobalMirage:function(t,r){return n(function(n){var i;return{globalMirage:a(a({},n.globalMirage),(i={},i[t]=r,i))}})},setVariantMirage:function(t,r,i,e){return n(function(n){var o,l,g,v=n.variantMirage[t]||{},u=v[r]||{};return{variantMirage:a(a({},n.variantMirage),(o={},o[t]=a(a({},v),(l={},l[r]=a(a({},u),(g={},g[i]=e,g)),l)),o))}})},mergeVariantSlot:function(t,r,i,e){return n(function(n){var o,l,g,v,u={};if(i&&Object.keys(i).length>0){var s=n.variantData[t]||{};u.variantData=a(a({},n.variantData),((o={})[t]=a(a({},s),((l={})[r]=a(a({},s[r]||{}),i),l)),o))}if(e&&Object.keys(e).length>0){s=n.variantReasoning[t]||{};u.variantReasoning=a(a({},n.variantReasoning),((g={})[t]=a(a({},s),((v={})[r]=a(a({},s[r]||{}),e),v)),g))}return u})},resetVariantSlots:function(t){return n(function(n){var r,i,e;return{variantData:a(a({},n.variantData),(r={},r[t]={},r)),variantReasoning:a(a({},n.variantReasoning),(i={},i[t]={},i)),variantMirage:a(a({},n.variantMirage),(e={},e[t]={},e))}})},initializeStore:function(t,r){return void 0===r&&(r={}),n(function(n){var i=a({},n.globalData);return Object.entries(t||{}).forEach(function(a){var n=a[0],t=a[1];void 0!==t&&void 0===i[n]&&(i[n]=t)}),{globalData:i,variantData:a(a({},n.variantData),r)}})},resetStore:function(){return n({globalData:{},variantData:{},globalReasoning:{},variantReasoning:{},globalMirage:{},variantMirage:{}})},clearAllMirages:function(){return n({globalMirage:{},variantMirage:{}})}}});export{t as useDynamicFormStore};
|
|
2
|
+
//# sourceMappingURL=useDynamicFormStore.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDynamicFormStore.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{useDynamicFormStore as e}from"../store/useDynamicFormStore.js";import{stripAiReasoning as r}from"./aiReasoning.js";var t=function(e,r){return{cleanKey:e.replace("global.",""),isGlobal:e.startsWith("global.")||!r}},i=function(e){return!0===(null==e?void 0:e.is_repeatable_variant)||"VariantListWrapper"===(null==e?void 0:e.bpa_ui_component)},n={rule_title:["title","ruleTitle"],rule_description:["description","variant_description"],wta:["whenToApply","when_to_apply"],wnta:["whenNotToApply","when_not_to_apply"]},o=function(e){var r={},t=function(e){e&&Object.entries(e).forEach(function(e){var i,o=e[0],a=e[1];(null==a?void 0:a.data_key)&&(null==a?void 0:a.title)&&(r[o]=a.title,null===(i=n[o])||void 0===i||i.forEach(function(e){r[e]=a.title})),(null==a?void 0:a.properties)&&t(a.properties)})};return t(null==e?void 0:e.properties),r},a=function(n,o,a){var l=e.getState(),u=l.getGlobalField,p=l.getVariantField,s={},d={},c=[],v=[],f=function(e,n){void 0===n&&(n=!1),e&&Object.entries(e).forEach(function(e){var l=e[0],y=e[1];if(y.ui_only){if(i(y))return;y.properties&&f(y.properties,n)}else{if(y.data_key){var _=t(y.data_key,n),b=_.cleanKey,g=_.isGlobal,h=g?u(b):p(o,a,b);void 0===h&&(h="array"===y.type?[]:"boolean"!==y.type&&("object"===y.type?{}:"")),"string"==typeof h&&h.includes("<ai_reasoning>")&&(h=r(h).clean),y.core_field?s[l]=h:(d[l]=h,y.is_required&&!c.includes(l)&&c.push(l),g||v.push(l))}y.properties&&!i(y)&&f(y.properties,n)}})},y=(null==n?void 0:n.properties)||{};f(y,!1);var _=Object.values(y).find(i);return _&&_.properties&&f(_.properties,!0),{rootPayload:s,learningMetadata:{properties:d,required:c},variantScopedMetadataKeys:v}},l=["ruleset_id","scope_id"],u=function(e){if(!e)return null;for(var r=0,t=Object.entries(e);r<t.length;r++){var i=t[r],n=i[0],o=i[1];if(l.includes(n)&&(null==o?void 0:o.data_key))return o;var a=u(null==o?void 0:o.properties);if(a)return a}return null},p=function(r,i){var n,o=u(null==r?void 0:r.properties);if(!o)return null;var a=t(o.data_key,!1).cleanKey,l=e.getState().getGlobalField(a);if(!l)return null;var p=function(e,r){var t=(null==e?void 0:e.dynamic_options_key)||"".concat(null==e?void 0:e.data_key,"Options"),i=null==r?void 0:r[t];return Array.isArray(i)&&i.length>0?i:Array.isArray(null==e?void 0:e.options)?e.options:Array.isArray(null==e?void 0:e.enum)?e.enum.map(function(e){return e&&"object"==typeof e?e:{label:String(e),value:e}}):[]}(o,i).find(function(e){return(null==e?void 0:e.value)===l});return null!==(n=null==p?void 0:p.id)&&void 0!==n?n:null},s=function(r,n){var o=e.getState(),a=o.getGlobalField,l=o.getVariantField,u=(null==r?void 0:r.properties)||{},p=!0,s=function(e,r,n){e&&Object.entries(e).forEach(function(e){var o=e[1];if(!o.ui_only||!i(o)){if(o.data_key&&o.is_required){var u=t(o.data_key,void 0!==r),d=u.cleanKey;(function(e){return null!=e&&(Array.isArray(e)?e.length>0:"string"!=typeof e||""!==e.trim())})(u.isGlobal?a(d):l(r,n,d))||(p=!1)}o.properties&&!i(o)&&s(o.properties,r,n)}})};s(u);var d=Object.values(u).find(i);return(null==d?void 0:d.properties)&&n.forEach(function(e,r){e.forEach(function(e,t){s(d.properties,r,t)})}),p},d=function(o,a,l,u,p){var s,d;if(a&&"object"==typeof a){var c=e.getState(),v=c.setGlobalField,f=c.setVariantField,y=c.setGlobalReasoning,_=c.setVariantReasoning,b=!!l&&void 0!==u,g=Symbol("not-found"),h=null!==(d=null===(s=a.learning_metadata)||void 0===s?void 0:s.properties)&&void 0!==d?d:a.learning_metadata,j=function(e,o){void 0===o&&(o=!1),e&&Object.entries(e).forEach(function(e){var s=e[0],d=e[1];if(d.ui_only){if(i(d))return;d.properties&&j(d.properties,o)}else{if(d.data_key&&(!0===d.ai_generated||(null==p?void 0:p.hydrateAll))){var c=t(d.data_key,o),m=c.cleanKey,A=c.isGlobal,O=function(e,r){var t;if(r){if(Object.prototype.hasOwnProperty.call(a,e))return a[e];var i=null===(t=n[e])||void 0===t?void 0:t.find(function(e){return Object.prototype.hasOwnProperty.call(a,e)});return i?a[i]:g}if(h&&"object"==typeof h&&e in h){var o=h[e];return o&&"object"==typeof o&&!Array.isArray(o)&&"value"in o?o.value:o}return g}(s,!!d.core_field);if(O!==g&&("array"!==d.type&&Array.isArray(O)&&(O=O.join("\n")),void 0!==O)){var k=null;if(!("ConditionSection"===d.bpa_ui_component)&&"string"==typeof O&&O.includes("<ai_reasoning>")){var w=r(O);O=w.clean,k=w.raw}A?(v(m,O),k&&y(m,k)):b&&(f(l,u,m,O),k&&_(l,u,m,k))}}d.properties&&!i(d)&&j(d.properties,o)}})},m=(null==o?void 0:o.properties)||{};(null==p?void 0:p.variantOnly)||j(m,!1);var A=Object.values(m).find(i);A&&A.properties&&j(A.properties,!0)}};export{n as CORE_KEY_ALIASES,d as applyResponseToStore,s as areRequiredFieldsFilled,o as buildFieldLabelMap,a as generatePayloadFromSchema,p as resolveSchemaRuleSetId};
|
|
2
|
+
//# sourceMappingURL=PayloadUtils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PayloadUtils.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aiReasoning.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var n=/<ai_reasoning>([\s\S]*?)<\/ai_reasoning>/,r=/<ai_reasoning>[\s\S]*?<\/ai_reasoning>/g,a=/(?:<ai_reasoning>[\s\S]*?<\/ai_reasoning>|[^\r\n])+/g,i=function(i,e){var t;return(null!==(t=String(null!=i?i:"").replace(/\\+n/g,"\n").match(a))&&void 0!==t?t:[]).map(function(a){var i,e=null===(i=a.match(n))||void 0===i?void 0:i[1];return{text:a.replace(r,"").trim().replace(/^-\s*/,""),reasoning:e}}).filter(function(n){return n.text}).map(function(n,r){return{id:"".concat(e,"-").concat(r),text:n.text,reasoning:n.reasoning}})};export{i as splitConditions};
|
|
2
|
+
//# sourceMappingURL=conditionText.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conditionText.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var e="This field is locked and cannot be changed after it has been created.",n=function(e){return"Edit"===(null==e?void 0:e.usedFor)},r=function(e,r){return n(r)&&!0===(null==e?void 0:e.read_only_in_edit_flow)},i=function(e,n){void 0===e&&(e={});var i=[],t=function(e,o){void 0===e&&(e={}),void 0===o&&(o=!1),Object.entries(e||{}).forEach(function(e){var a=e[1];if(a&&!a.hidden&&!function(e){return!0===(null==e?void 0:e.is_repeatable_variant)||"VariantListWrapper"===(null==e?void 0:e.bpa_ui_component)}(a)){var d=o||r(a,n);a.data_key&&!a.read_only&&i.push({node:a,locked:d}),a.properties&&t(a.properties,d)}})};return t(e),i},t=function(e,t){if(!n(t))return!1;if(r(e,t))return!0;var o=i(null==e?void 0:e.properties,t);return o.length>0&&o.every(function(e){return e.locked})},o=function(e){void 0===e&&(e={});var n={},r=function(e){void 0===e&&(e={}),Object.entries(e||{}).forEach(function(e){var i=e[0],t=e[1];if(t){var o=String(t.data_key||i).replace("global.","");n[o]={readOnly:!0,enableInlineEdit:!1,hideEditControls:!0,parentEditing:!1},t.properties&&r(t.properties)}})};return r(e),n};export{e as LOCKED_IN_EDIT_FLOW_TOOLTIP,o as buildLockedSubtreeOverrides,i as collectLockableLeaves,n as isEditFlow,r as isNodeLocked,t as isWrapperEditLocked};
|
|
2
|
+
//# sourceMappingURL=editLock.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"editLock.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__assign as
|
|
1
|
+
import{__awaiter as t,__generator as a,__assign as e}from"tslib";import{http as n}from"../api/transport.js";function s(s){return t(this,void 0,void 0,function(){var t,r,o,i,c,u,l;return a(this,function(a){switch(a.label){case 0:t=s.baseUrl,r=s.organizationName,o=s.payload,i=s.additionalHeaders,c="".concat(t,"/api/chatbot/publishAgenticFeedbackForVariantIngestion?name=ilnewtest&organizationName=").concat(encodeURIComponent(r)),a.label=1;case 1:return a.trys.push([1,3,,4]),[4,n.post(c,"string"==typeof o?o:JSON.stringify(o),{headers:e({"Content-Type":"application/json"},null!=i?i:{}),withCredentials:!0,validateStatus:function(){return!0}})];case 2:return[2,{ok:(u=a.sent()).status>=200&&u.status<300,status:u.status,statusText:u.statusText,data:u.data}];case 3:throw l=a.sent(),console.error("[InstantLearningService] Request error:",l),l;case 4:return[2]}})})}export{s as publishAgenticFeedbackForVariantIngestion};
|
|
2
2
|
//# sourceMappingURL=InstantLearningService.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface RegistryEntry {
|
|
3
|
+
importPath: () => Promise<{
|
|
4
|
+
default: React.ComponentType<any>;
|
|
5
|
+
}>;
|
|
6
|
+
isContainer?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const componentRegistry: Record<string, RegistryEntry>;
|
|
9
|
+
export declare const isRegistryComponentName: (name: string) => boolean;
|
|
10
|
+
export declare const resolveRegistryComponent: (name?: string | null) => React.LazyExoticComponent<React.ComponentType<any>> | null;
|
|
11
|
+
export declare const resolveRegistryComponentOrFallback: (name?: string | null) => React.FC<import("./schema-driven/types").SchemaComponentProps> | React.LazyExoticComponent<React.ComponentType<any>>;
|
|
12
|
+
export declare const isContainerComponent: (name?: string | null) => boolean;
|
|
13
|
+
//# sourceMappingURL=ComponentRegistry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ComponentRegistry.d.ts","sourceRoot":"","sources":["../../../src/ComponentRegistry.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,aAAa;IAC5B,UAAU,EAAE,MAAM,OAAO,CAAC;QAAE,OAAO,EAAE,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAA;KAAE,CAAC,CAAC;IACjE,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAMD,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAW3D,CAAC;AAGF,eAAO,MAAM,uBAAuB,SAAU,MAAM,KAAG,OAAoC,CAAC;AAI5F,eAAO,MAAM,wBAAwB,UAC5B,MAAM,GAAG,IAAI,KACnB,MAAM,mBAAmB,CAAC,MAAM,aAAa,CAAC,GAAG,CAAC,CAAC,GAAG,IAWxD,CAAC;AAEF,eAAO,MAAM,kCAAkC,UAAW,MAAM,GAAG,IAAI,yHACtB,CAAC;AAElD,eAAO,MAAM,oBAAoB,UAAW,MAAM,GAAG,IAAI,KAAG,OACsB,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ExternalWorkflowStepBadges } from './features/LearningManagement/store/useExternalWorkflowStore';
|
|
3
|
+
export interface TemplateContinueOption {
|
|
4
|
+
id: string;
|
|
5
|
+
icon: React.ReactNode;
|
|
6
|
+
title: string;
|
|
7
|
+
description: string;
|
|
8
|
+
onClick: () => void;
|
|
9
|
+
footerNote?: string;
|
|
10
|
+
stepBadges?: string[];
|
|
11
|
+
}
|
|
12
|
+
export interface ContinueWithTemplateModalProps {
|
|
13
|
+
heading?: string;
|
|
14
|
+
options?: TemplateContinueOption[];
|
|
15
|
+
/**
|
|
16
|
+
* Step chips for the default cards. Normally supplied by the host through
|
|
17
|
+
* `externalWorkflowMetaData.stepBadges` on <TeachMePlugin />; this prop is
|
|
18
|
+
* only for rendering the modal standalone.
|
|
19
|
+
*/
|
|
20
|
+
stepBadges?: ExternalWorkflowStepBadges;
|
|
21
|
+
}
|
|
22
|
+
declare const ContinueWithTemplateModal: ({ heading, options, stepBadges, }: ContinueWithTemplateModalProps) => import("react").JSX.Element;
|
|
23
|
+
export default ContinueWithTemplateModal;
|
|
24
|
+
//# sourceMappingURL=ContinueWithTemplateModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContinueWithTemplateModal.d.ts","sourceRoot":"","sources":["../../../src/ContinueWithTemplateModal.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,0BAA0B,EAA4B,MAAM,8DAA8D,CAAC;AAIpI,MAAM,WAAW,sBAAsB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACzB;AAED,MAAM,WAAW,8BAA8B;IAC3C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,sBAAsB,EAAE,CAAC;IACnC;;;;OAIG;IACH,UAAU,CAAC,EAAE,0BAA0B,CAAC;CAC3C;AAED,QAAA,MAAM,yBAAyB,sCAI5B,8BAA8B,gCAqKhC,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ILMarketplaceMockTest.d.ts","sourceRoot":"","sources":["../../../src/ILMarketplaceMockTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAsI1B,QAAA,MAAM,qBAAqB,yBA6F1B,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
import { LscGuidelineSection } from "./features/IL-marketplace/types/add-context.types";
|
|
3
|
+
import { GuidelineStatusActions, LscGuidelineClassNames, LscGuidelineLabels } from "./features/IL-marketplace/types";
|
|
4
|
+
import { FileItem } from "./features/IL-marketplace/types/file-item";
|
|
5
|
+
import type { ExploreHighlightConfig, ExternalShareRbacConfig } from "./features/IL-marketplace/components/GuidelineLibraryCard";
|
|
6
|
+
import { ScopeTreeNode } from "@e-llm-studio/creative-workspace-ui-component/dist/types/types";
|
|
7
|
+
import type { InstantLearningApiItem, PublishStepConfig } from "./features/IL-marketplace";
|
|
8
|
+
import type { MiddleDrawerOverrides } from "./features/LearningManagement/types";
|
|
9
|
+
import { AxiosRequestConfig } from "axios";
|
|
10
|
+
import { MF_EVENTS, type ILMarketplaceConfig, type IMicroFrontendApi } from "./features/IL-marketplace/utils/microfrontend";
|
|
11
|
+
export type { ILMarketplaceConfig, IMicroFrontendApi, SendILMarketplaceDataPayload } from "./features/IL-marketplace/utils/microfrontend";
|
|
12
|
+
export { MF_EVENTS };
|
|
13
|
+
export declare const IL_MARKETPLACE_TAB_ID = "IL Marketplace";
|
|
14
|
+
export declare const MY_KNOWLEDGE_BASES_TAB_ID = "My_Knowledge_Bases";
|
|
15
|
+
export declare const SAVED_TAB_ID = "Saved";
|
|
16
|
+
export declare const IL_MARKETPLACE_VIEW: {
|
|
17
|
+
readonly marketplace: "IL Marketplace";
|
|
18
|
+
readonly myKnowledgeBases: "My_Knowledge_Bases";
|
|
19
|
+
readonly saved: "Saved";
|
|
20
|
+
readonly publishing: "publishing";
|
|
21
|
+
};
|
|
22
|
+
/** Any of the known views, or a custom tab id from `guidelineSections`. */
|
|
23
|
+
export type ILMarketplaceView = (typeof IL_MARKETPLACE_VIEW)[keyof typeof IL_MARKETPLACE_VIEW] | (string & {});
|
|
24
|
+
export type ILMarketplaceLabelsConfig = {
|
|
25
|
+
testKnowledgebaseLabel?: string;
|
|
26
|
+
emptyTitle?: string;
|
|
27
|
+
emptyDescription?: string;
|
|
28
|
+
searchPlaceholder?: string;
|
|
29
|
+
searchEmptyTitle?: string;
|
|
30
|
+
addKnowledgeBaseLabel?: string;
|
|
31
|
+
addKnowledgeBaseDisabledTooltip?: string;
|
|
32
|
+
};
|
|
33
|
+
export type GuidelineFilterSectionState = {
|
|
34
|
+
id: string;
|
|
35
|
+
title: string;
|
|
36
|
+
singleSelect?: boolean;
|
|
37
|
+
options: GuidelineFilterOptionState[];
|
|
38
|
+
};
|
|
39
|
+
export type GuidelineFilterOptionState = {
|
|
40
|
+
id: string;
|
|
41
|
+
label: string;
|
|
42
|
+
checked: boolean;
|
|
43
|
+
disabled?: boolean;
|
|
44
|
+
};
|
|
45
|
+
export type ILMarketplaceWrapperProps = {
|
|
46
|
+
guidelineSections?: LscGuidelineSection[];
|
|
47
|
+
guidelineFiles?: FileItem[];
|
|
48
|
+
/** Fallback sidebar tree used until `applicationMappingId` resolves via the marketplace domain API. */
|
|
49
|
+
treeSidebarData?: ScopeTreeNode;
|
|
50
|
+
labels: LscGuidelineLabels;
|
|
51
|
+
isILMarketplace?: boolean;
|
|
52
|
+
handleViewButtonCallback?: (guideline: FileItem) => void;
|
|
53
|
+
handlePreviewButtonCallback?: (guideline: FileItem) => void;
|
|
54
|
+
/** Pin tooltip messages keyed by `instant_learning_id`. */
|
|
55
|
+
guidelinePinnedMessages?: Record<string, string>;
|
|
56
|
+
/**
|
|
57
|
+
* Status-driven primary button (Configure for `statusActions.configurableStatuses`,
|
|
58
|
+
* Test Template otherwise). Applied only when `statusActions.modeName` is set; any
|
|
59
|
+
* other mode keeps the existing `handleViewButtonCallback` behaviour.
|
|
60
|
+
*/
|
|
61
|
+
statusActions?: GuidelineStatusActions<FileItem>;
|
|
62
|
+
previewDisabledTooltip?: string;
|
|
63
|
+
/**
|
|
64
|
+
* Shows the publish icon on every library card and runs the built-in `PublishToMarketplaceComponent`
|
|
65
|
+
* flow on click. Ignored when `handlePublishButtonCallback` is supplied.
|
|
66
|
+
*/
|
|
67
|
+
enablePublishToMarketplace?: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* Publish icon click, same contract as `handlePreviewButtonCallback`: supplying it both shows the
|
|
70
|
+
* icon and replaces the built-in flow, so the host can render whatever it wants instead.
|
|
71
|
+
*/
|
|
72
|
+
handlePublishButtonCallback?: (guideline: FileItem) => void;
|
|
73
|
+
/** Step overrides for the built-in publish flow; defaults to `DEFAULT_PUBLISH_STEPS`. */
|
|
74
|
+
publishSteps?: PublishStepConfig[];
|
|
75
|
+
/**
|
|
76
|
+
* Handler for "View Template" on the publish flow's Template Details step. Omit it and the action
|
|
77
|
+
* is not rendered at all; provide it and the action appears, with the click doing nothing except
|
|
78
|
+
* calling this — the flow opens no preview of its own.
|
|
79
|
+
*
|
|
80
|
+
* Receives the template as the publish flow fetched it, which is richer and fresher than the
|
|
81
|
+
* card's `FileItem`, and is deliberately independent of `handlePreviewButtonCallback`.
|
|
82
|
+
*/
|
|
83
|
+
handleViewTemplateCallback?: (template: Partial<InstantLearningApiItem>) => void;
|
|
84
|
+
/**
|
|
85
|
+
* Full header node for the built-in publish flow, for hosts that would rather hand one over than
|
|
86
|
+
* render it themselves. Omit it to get the default back row.
|
|
87
|
+
*/
|
|
88
|
+
renderPublishHeader?: (context: {
|
|
89
|
+
guideline: FileItem;
|
|
90
|
+
onBack: () => void;
|
|
91
|
+
}) => ReactNode;
|
|
92
|
+
/** Called after the built-in publish flow is submitted, once the flow has closed. */
|
|
93
|
+
onPublished?: (guideline: FileItem) => void;
|
|
94
|
+
/**
|
|
95
|
+
* Hands the host the built-in publish flow's "Validate & proceed" action (same one the Template
|
|
96
|
+
* Details step's own button calls), so a host-rendered button outside this library
|
|
97
|
+
*/
|
|
98
|
+
onValidateAndProceedReady?: (trigger: () => void) => void;
|
|
99
|
+
/** Host-supplied delete handler for the library card's three-dot menu; the menu item is hidden when omitted. */
|
|
100
|
+
onDeleteGuideline?: (guideline: FileItem) => void | Promise<void>;
|
|
101
|
+
onApproveGuideline?: (guideline: FileItem) => void | Promise<void>;
|
|
102
|
+
onRejectGuideline?: (guideline: FileItem) => void | Promise<void>;
|
|
103
|
+
/** "Create New Template" click — the host opens its own TeachMePlugin from here. */
|
|
104
|
+
onAddKnowledgeBase?: () => void;
|
|
105
|
+
marketplaceLabels?: ILMarketplaceLabelsConfig;
|
|
106
|
+
fetchGuidelinesForTab?: (tabId: string) => Promise<FileItem[]>;
|
|
107
|
+
applicationMappingId?: string;
|
|
108
|
+
scopeId?: string;
|
|
109
|
+
authToken?: string;
|
|
110
|
+
baseUrl: string;
|
|
111
|
+
contentTypeIds?: string[];
|
|
112
|
+
contentTypeGroup?: string;
|
|
113
|
+
userDetails: Record<string, any>;
|
|
114
|
+
baseWebsocketUrl: string;
|
|
115
|
+
assistantName: string;
|
|
116
|
+
appsecRbacUrl: string;
|
|
117
|
+
appsecBaseUrl: string;
|
|
118
|
+
modeId?: string;
|
|
119
|
+
/** Passed through to the built-in publish flow's TeachMePlugin `config`. Defaults to "techolution". */
|
|
120
|
+
organizationName?: string;
|
|
121
|
+
/** Passed through to the built-in publish flow's TeachMePlugin `config` as `BASE_APPMOD_URL`. */
|
|
122
|
+
appmodUrl?: string;
|
|
123
|
+
/** Passed through to the built-in publish flow's TeachMePlugin `config` as `CONFIG_MASTER_NAME`. */
|
|
124
|
+
configMasterName?: string;
|
|
125
|
+
/**
|
|
126
|
+
* Overrides for the Learning Management scope tree on the IL Marketplace tab. Omitted fields keep the LMS defaults.
|
|
127
|
+
*/
|
|
128
|
+
treeOverrides?: MiddleDrawerOverrides;
|
|
129
|
+
/** Host-supplied class name overrides, merged over the wrapper's internal defaults (host keys win). */
|
|
130
|
+
classNames?: LscGuidelineClassNames;
|
|
131
|
+
isShareEnabled?: boolean;
|
|
132
|
+
/** Tab ids the share action is shown on; defaults to `[MY_KNOWLEDGE_BASES_TAB_ID]`. */
|
|
133
|
+
shareEnabledTabIds?: string[];
|
|
134
|
+
/** Statuses (lowercased) the share action is shown for; omit to allow sharing regardless of status. */
|
|
135
|
+
shareableGuidelineStatuses?: string[];
|
|
136
|
+
externalShareRbacConfig?: ExternalShareRbacConfig;
|
|
137
|
+
/** Whether to display the dashboard button in the guideline library content. */
|
|
138
|
+
showDashboardButton?: boolean;
|
|
139
|
+
/** Callback function invoked when the dashboard button is clicked. */
|
|
140
|
+
onDashboardClick?: () => void;
|
|
141
|
+
/**
|
|
142
|
+
* The URL prefix this wrapper is mounted under in the host app, e.g. `/mode/Instant Learning Mode`.
|
|
143
|
+
* ALL tab routes (default or from `guidelineSections[].route`) are resolved as `basePath + route`
|
|
144
|
+
* when navigating and when matching the active tab from the URL. Pass whatever prefix your router
|
|
145
|
+
* uses to reach this component — this is the one thing that varies per consumer, so it is the one
|
|
146
|
+
* thing consumers must supply explicitly rather than the wrapper trying to guess it.
|
|
147
|
+
* Defaults to "" (mounted at the router root).
|
|
148
|
+
*
|
|
149
|
+
* IMPORTANT: this wrapper does NOT render its own Router. It must be mounted inside the host's
|
|
150
|
+
* existing <BrowserRouter>/<Routes> tree (with a matching route registered for
|
|
151
|
+
* `basePath + "/marketplace/*"`), so that `useNavigate()`/`useLocation()` resolve against the
|
|
152
|
+
* same router instance the rest of the host app uses.
|
|
153
|
+
*/
|
|
154
|
+
basePath?: string;
|
|
155
|
+
exploreHighlightGuidelineIds?: string[];
|
|
156
|
+
/** Label + styling applied to the explore/preview button for ids in `exploreHighlightGuidelineIds`. */
|
|
157
|
+
exploreHighlightConfig?: ExploreHighlightConfig;
|
|
158
|
+
axiosConfig?: AxiosRequestConfig;
|
|
159
|
+
mfApi?: IMicroFrontendApi;
|
|
160
|
+
config?: ILMarketplaceConfig;
|
|
161
|
+
};
|
|
162
|
+
declare const ILMarketplaceWrapper: (props: ILMarketplaceWrapperProps) => import("react").JSX.Element;
|
|
163
|
+
export default ILMarketplaceWrapper;
|
|
164
|
+
//# sourceMappingURL=ILMarketplaceWrapper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ILMarketplaceWrapper.d.ts","sourceRoot":"","sources":["../../../src/ILMarketplaceWrapper.tsx"],"names":[],"mappings":"AACA,OAAO,EAA+D,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIpG,OAAO,EAAE,mBAAmB,EAAE,MAAM,mDAAmD,CAAC;AACxF,OAAO,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrH,OAAO,EAAE,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AAIrE,OAAO,KAAK,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,2DAA2D,CAAC;AAOjI,OAAO,EAAkB,aAAa,EAAqB,MAAM,gEAAgE,CAAC;AA8BlI,OAAO,KAAK,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC3F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AACjF,OAAO,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AAG3C,OAAO,EAAE,SAAS,EAAE,KAAK,mBAAmB,EAAE,KAAK,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AAC5H,YAAY,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAC1I,OAAO,EAAE,SAAS,EAAE,CAAA;AAEpB,eAAO,MAAM,qBAAqB,mBAAmB,CAAC;AACtD,eAAO,MAAM,yBAAyB,uBAAuB,CAAC;AAC9D,eAAO,MAAM,YAAY,UAAU,CAAC;AAGpC,eAAO,MAAM,mBAAmB;;;;;CAKtB,CAAC;AAEX,2EAA2E;AAC3E,MAAM,MAAM,iBAAiB,GACvB,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OAAO,mBAAmB,CAAC,GAC9D,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AA0RpB,MAAM,MAAM,yBAAyB,GAAG;IACpC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,+BAA+B,CAAC,EAAE,MAAM,CAAC;CAC5C,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,OAAO,EAAE,0BAA0B,EAAE,CAAC;CACzC,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACpC,iBAAiB,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAC1C,cAAc,CAAC,EAAE,QAAQ,EAAE,CAAC;IAC5B,uGAAuG;IACvG,eAAe,CAAC,EAAE,aAAa,CAAC;IAChC,MAAM,EAAE,kBAAkB,CAAC;IAC3B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,wBAAwB,CAAC,EAAE,CAAC,SAAS,EAAE,QAAQ,KAAK,IAAI,CAAC;IACzD,2BAA2B,CAAC,EAAE,CAAC,SAAS,EAAE,QAAQ,KAAK,IAAI,CAAC;IAC5D,2DAA2D;IAC3D,uBAAuB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjD;;;;OAIG;IACH,aAAa,CAAC,EAAE,sBAAsB,CAAC,QAAQ,CAAC,CAAC;IACjD,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC;;;OAGG;IACH,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC;;;OAGG;IACH,2BAA2B,CAAC,EAAE,CAAC,SAAS,EAAE,QAAQ,KAAK,IAAI,CAAC;IAC5D,yFAAyF;IACzF,YAAY,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACnC;;;;;;;OAOG;IACH,0BAA0B,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,CAAC,sBAAsB,CAAC,KAAK,IAAI,CAAC;IACjF;;;OAGG;IACH,mBAAmB,CAAC,EAAE,CAAC,OAAO,EAAE;QAAE,SAAS,EAAE,QAAQ,CAAC;QAAC,MAAM,EAAE,MAAM,IAAI,CAAA;KAAE,KAAK,SAAS,CAAC;IAC1F,qFAAqF;IACrF,WAAW,CAAC,EAAE,CAAC,SAAS,EAAE,QAAQ,KAAK,IAAI,CAAC;IAC5C;;;OAGG;IACH,yBAAyB,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;IAC1D,gHAAgH;IAChH,iBAAiB,CAAC,EAAE,CAAC,SAAS,EAAE,QAAQ,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAClE,kBAAkB,CAAC,EAAE,CAAC,SAAS,EAAE,QAAQ,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACnE,iBAAiB,CAAC,EAAE,CAAC,SAAS,EAAE,QAAQ,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAClE,oFAAoF;IACpF,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC,iBAAiB,CAAC,EAAE,yBAAyB,CAAC;IAC9C,qBAAqB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC;IAC/D,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACjC,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,uGAAuG;IACvG,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iGAAiG;IACjG,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oGAAoG;IACpG,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,aAAa,CAAC,EAAE,qBAAqB,CAAC;IACtC,uGAAuG;IACvG,UAAU,CAAC,EAAE,sBAAsB,CAAC;IACpC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,uFAAuF;IACvF,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC9B,uGAAuG;IACvG,0BAA0B,CAAC,EAAE,MAAM,EAAE,CAAC;IAEtC,uBAAuB,CAAC,EAAE,uBAAuB,CAAC;IAClD,gFAAgF;IAChF,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,sEAAsE;IACtE,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAE9B;;;;;;;;;;;;OAYG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,4BAA4B,CAAC,EAAE,MAAM,EAAE,CAAC;IACxC,uGAAuG;IACvG,sBAAsB,CAAC,EAAE,sBAAsB,CAAC;IAChD,WAAW,CAAC,EAAE,kBAAkB,CAAC;IACjC,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAC1B,MAAM,CAAC,EAAE,mBAAmB,CAAC;CAChC,CAAC;AAgmCF,QAAA,MAAM,oBAAoB,UAAW,yBAAyB,gCAI7D,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PublishToMarketplaceTest.d.ts","sourceRoot":"","sources":["../../../src/PublishToMarketplaceTest.tsx"],"names":[],"mappings":"AAIA,QAAA,MAAM,wBAAwB,mCAa7B,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { type AxiosInstance, type AxiosRequestConfig } from "axios";
|
|
2
|
+
/**
|
|
3
|
+
* Logs every request this library makes, with its resolved URL and outcome.
|
|
4
|
+
* Useful when a screen renders an empty/no-access state and you need to know
|
|
5
|
+
* which call produced it.
|
|
6
|
+
*/
|
|
7
|
+
export declare const setApiDebug: (enabled: boolean) => void;
|
|
8
|
+
/**
|
|
9
|
+
* Opt an instance into host transport control. Returns the instance so it can
|
|
10
|
+
* wrap an `axios.create(...)` call inline.
|
|
11
|
+
*/
|
|
12
|
+
export declare const registerInstance: <T extends AxiosInstance>(instance: T) => T;
|
|
13
|
+
/**
|
|
14
|
+
* Creates an instance already registered for host transport control. Prefer this
|
|
15
|
+
* over calling `axios.create` directly.
|
|
16
|
+
*/
|
|
17
|
+
export declare const createAxiosInstance: (config?: AxiosRequestConfig) => AxiosInstance;
|
|
18
|
+
/**
|
|
19
|
+
* Applies the host's axios config to every registered instance, and to any
|
|
20
|
+
* registered later. Call this synchronously during render, before any request.
|
|
21
|
+
*
|
|
22
|
+
* A no-op when `config` is undefined, so consumers that never pass one keep
|
|
23
|
+
* axios's own default transport and behave exactly as before.
|
|
24
|
+
*/
|
|
25
|
+
export declare const applyAxiosConfig: (config?: AxiosRequestConfig) => void;
|
|
26
|
+
/**
|
|
27
|
+
* The config currently in force, for call sites that build a one-off request
|
|
28
|
+
* rather than using a registered instance.
|
|
29
|
+
*/
|
|
30
|
+
export declare const getAxiosConfig: () => AxiosRequestConfig<any> | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* The shared instance for every call site that does not own a dedicated one —
|
|
33
|
+
* hooks, `utils/*API.ts`, chat components, and the plain request/response calls
|
|
34
|
+
* that used to go through `fetch`.
|
|
35
|
+
*
|
|
36
|
+
* It is registered, so a host-supplied `adapter` reaches it like any other
|
|
37
|
+
* instance. Call sites pass absolute URLs, so no `baseURL` is set here.
|
|
38
|
+
*
|
|
39
|
+
* Import this instead of the bare `axios` default export: the default export is
|
|
40
|
+
* not in the registry, so requests made through it silently bypass the host
|
|
41
|
+
* transport.
|
|
42
|
+
*/
|
|
43
|
+
export declare const http: AxiosInstance;
|
|
44
|
+
//# sourceMappingURL=transport.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transport.d.ts","sourceRoot":"","sources":["../../../../src/api/transport.ts"],"names":[],"mappings":"AAAA,OAAc,EAAE,KAAK,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,OAAO,CAAC;AAmB3E;;;;GAIG;AACH,eAAO,MAAM,WAAW,YAAa,OAAO,SAE3C,CAAC;AAgDF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,6CAK5B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,YACtB,kBAAkB,KACzB,aAMA,CAAC;AAEJ;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB,YAAa,kBAAkB,SAI3D,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,cAAc,2CAAsB,CAAC;AAElD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,IAAI,eAAwB,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
export type INonReasoningSource = {
|
|
3
|
+
text: string;
|
|
4
|
+
dataSource?: string;
|
|
5
|
+
trainingDataTitle?: string;
|
|
6
|
+
confidence_score?: number;
|
|
7
|
+
paraphrase?: string;
|
|
8
|
+
artifactUrl?: string;
|
|
9
|
+
citation_id?: number | string;
|
|
10
|
+
negativeReasoning?: string;
|
|
11
|
+
relevantScore?: number;
|
|
12
|
+
exactPhraseToSearch?: string;
|
|
13
|
+
artifactId?: string;
|
|
14
|
+
};
|
|
15
|
+
export interface CitationComponentMarkdownRenderProps {
|
|
16
|
+
/** Anchor href from the markdown renderer; carries `citation_identifier` as a query param. */
|
|
17
|
+
href?: string;
|
|
18
|
+
children?: ReactNode;
|
|
19
|
+
/** IL request this citation belongs to, used to fetch its instruction checklist. */
|
|
20
|
+
instantLearningRequestId?: string | null;
|
|
21
|
+
/** Query params of the surrounding citation link (carries `citation_type`). */
|
|
22
|
+
paramsData: URLSearchParams;
|
|
23
|
+
/** Base URL for the instruction-checklist fetch; forwarded to `fetchInstantLearningCitation`. */
|
|
24
|
+
baseUrl?: string;
|
|
25
|
+
}
|
|
26
|
+
export declare const CitationComponentMarkdownRender: ({ href, children, instantLearningRequestId, paramsData, baseUrl, }: CitationComponentMarkdownRenderProps) => import("react").JSX.Element;
|
|
27
|
+
//# sourceMappingURL=CitationComponentMarkdownRender.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CitationComponentMarkdownRender.d.ts","sourceRoot":"","sources":["../../../../../src/features/CognitiveSearch/CitationComponentMarkdownRender.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,MAAM,MAAM,mBAAmB,GAAC;IAC9B,IAAI,EAAC,MAAM,CAAC;IACZ,UAAU,CAAC,EAAC,MAAM,CAAC;IACnB,iBAAiB,CAAC,EAAC,MAAM,CAAC;IAC1B,gBAAgB,CAAC,EAAC,MAAM,CAAC;IACzB,UAAU,CAAC,EAAC,MAAM,CAAC;IACnB,WAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC9B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAA;AASD,MAAM,WAAW,oCAAoC;IACnD,8FAA8F;IAC9F,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,oFAAoF;IACpF,wBAAwB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzC,+EAA+E;IAC/E,UAAU,EAAE,eAAe,CAAC;IAC5B,iGAAiG;IACjG,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,+BAA+B,uEAMzC,oCAAoC,gCAwDtC,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Component } from 'react';
|
|
2
|
+
import type { ErrorInfo, ReactNode } from 'react';
|
|
3
|
+
export interface CognitiveSearchErrorBoundaryProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
/** Label used in the console error prefix, e.g. "CognitiveSearchResultCard". */
|
|
6
|
+
context: string;
|
|
7
|
+
/** Rendered instead of the crashed subtree; defaults to nothing so the rest of the UI stays intact. */
|
|
8
|
+
fallback?: ReactNode;
|
|
9
|
+
/** Forwarded to the host app's own error tracking (Sentry, Datadog, etc.). */
|
|
10
|
+
onError?: (error: Error, errorInfo?: ErrorInfo) => void;
|
|
11
|
+
}
|
|
12
|
+
interface CognitiveSearchErrorBoundaryState {
|
|
13
|
+
hasError: boolean;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Contains render-time crashes to the subtree they happen in instead of taking
|
|
17
|
+
* down the rest of the host app's UI. Does not catch errors from event
|
|
18
|
+
* handlers or async code (React error boundaries never do) — those should be
|
|
19
|
+
* try/caught and logged at the call site.
|
|
20
|
+
*/
|
|
21
|
+
export declare class CognitiveSearchErrorBoundary extends Component<CognitiveSearchErrorBoundaryProps, CognitiveSearchErrorBoundaryState> {
|
|
22
|
+
state: CognitiveSearchErrorBoundaryState;
|
|
23
|
+
static getDerivedStateFromError(): {
|
|
24
|
+
hasError: boolean;
|
|
25
|
+
};
|
|
26
|
+
componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
|
|
27
|
+
render(): ReactNode;
|
|
28
|
+
}
|
|
29
|
+
export {};
|
|
30
|
+
//# sourceMappingURL=CognitiveSearchErrorBoundary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CognitiveSearchErrorBoundary.d.ts","sourceRoot":"","sources":["../../../../../src/features/CognitiveSearch/CognitiveSearchErrorBoundary.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElD,MAAM,WAAW,iCAAiC;IAChD,QAAQ,EAAE,SAAS,CAAC;IACpB,gFAAgF;IAChF,OAAO,EAAE,MAAM,CAAC;IAChB,uGAAuG;IACvG,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,8EAA8E;IAC9E,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,SAAS,CAAC,EAAE,SAAS,KAAK,IAAI,CAAC;CACzD;AAED,UAAU,iCAAiC;IACzC,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED;;;;;GAKG;AACH,qBAAa,4BAA6B,SAAQ,SAAS,CACzD,iCAAiC,EACjC,iCAAiC,CAClC;IACC,KAAK,EAAE,iCAAiC,CAAuB;IAE/D,MAAM,CAAC,wBAAwB;;;IAI/B,iBAAiB,CAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS;IAKpD,MAAM;CAMP"}
|