@e-llm-studio/instant-learning 1.3.0-beta.1 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -1
- package/dist/ContinueWithTemplateModal.js +1 -1
- package/dist/ContinueWithTemplateModal.module.css.js +1 -1
- package/dist/ILMarketplaceWrapper.js +1 -1
- package/dist/ILMarketplaceWrapper.module.css.js +1 -1
- package/dist/adapters/creativeWorkspaceAdapter.js +2 -0
- package/dist/adapters/creativeWorkspaceAdapter.js.map +1 -0
- package/dist/cjs/ContinueWithTemplateModal.js +1 -1
- package/dist/cjs/ContinueWithTemplateModal.module.css.js +1 -1
- package/dist/cjs/ILMarketplaceWrapper.js +1 -1
- package/dist/cjs/ILMarketplaceWrapper.module.css.js +1 -1
- package/dist/cjs/adapters/creativeWorkspaceAdapter.js +2 -0
- package/dist/cjs/adapters/creativeWorkspaceAdapter.js.map +1 -0
- package/dist/cjs/features/DocumentLearning/InstantLearning.module.css.js +1 -1
- package/dist/cjs/features/IL-OTJ/ILOTJ.js +1 -1
- package/dist/cjs/features/IL-OTJ/InstantLearning.module.css.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/ChatComponent.module.css.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/GapExplanationAccordion.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/ILPopup.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/ILPopup.styles.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/MarkdownRenderer.module.css.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/MessageRendering/ChatFeedback.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/MessageRendering/ClickableChatComponents.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/MessageRendering/RuleValidationCard.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/MessageRendering/RuleVariantCard.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/VariantLoadingOverlay.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/ButtonCognitiveIcon.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/atoms/SkeletonLoader/SkeletonLoader.module.css.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/atoms/Textarea/Textarea.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/cognitiveDecisioningThemeStyles.js +2 -0
- package/dist/cjs/features/IL-OTJ/_components/cognitiveDecisioningThemeStyles.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/ConfigSection/ConfigSection.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/organisms/ScopeSection/ScopeSection.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/organisms/TextSection/TextSection.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/templates/RuleComparison/AgentComposerRuleComparison.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/templates/RuleComparison/RuleComparisonNew.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/templates/TrafficManager/CreateRule.js +1 -1
- package/dist/cjs/features/IL-marketplace/components/GuidelineCardMenu.module.css.js +1 -1
- package/dist/cjs/features/IL-marketplace/components/GuidelineCart.module.css.js +1 -1
- package/dist/cjs/features/IL-marketplace/components/GuidelineCartHeader.module.css.js +1 -1
- package/dist/cjs/features/IL-marketplace/components/GuidelineCartItem.module.css.js +1 -1
- package/dist/cjs/features/IL-marketplace/components/GuidelineConfirmDialog.module.css.js +1 -1
- package/dist/cjs/features/IL-marketplace/components/GuidelineEmptyState.module.css.js +1 -1
- package/dist/cjs/features/IL-marketplace/components/GuidelineFilterPanel.module.css.js +1 -1
- package/dist/cjs/features/IL-marketplace/components/GuidelineHeader.module.css.js +1 -1
- package/dist/cjs/features/IL-marketplace/components/GuidelineIconButton.module.css.js +1 -1
- package/dist/cjs/features/IL-marketplace/components/GuidelineLandingPage.js +1 -1
- package/dist/cjs/features/IL-marketplace/components/GuidelineLandingPage.module.css.js +1 -1
- package/dist/cjs/features/IL-marketplace/components/GuidelineLibrary.js +1 -1
- package/dist/cjs/features/IL-marketplace/components/GuidelineLibrary.module.css.js +1 -1
- package/dist/cjs/features/IL-marketplace/components/GuidelineLibraryCard.js +1 -1
- package/dist/cjs/features/IL-marketplace/components/GuidelineLibraryCard.module.css.js +1 -1
- package/dist/cjs/features/IL-marketplace/components/GuidelineLibraryContent.js +1 -1
- package/dist/cjs/features/IL-marketplace/components/GuidelineProceedButton.module.css.js +1 -1
- package/dist/cjs/features/IL-marketplace/components/GuidelineSelectButton.module.css.js +1 -1
- package/dist/cjs/features/IL-marketplace/components/GuidelineStatusChip.js +1 -1
- package/dist/cjs/features/IL-marketplace/components/GuidelineStatusChip.module.css.js +1 -1
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/PublishEmptyState.module.css.js +1 -1
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepBody.module.css.js +1 -1
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepFooter.module.css.js +1 -1
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepper.module.css.js +1 -1
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/PublishToMarketplaceCompnent.js +1 -1
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/PublishToMarketplaceCompnent.module.css.js +1 -1
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/ReleaseSummaryBody.module.css.js +1 -1
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/TemplateDetailsBody.module.css.js +1 -1
- package/dist/cjs/features/IL-marketplace/components/LearningManagementWrapper.js +1 -1
- package/dist/cjs/features/IL-marketplace/components/VersionSelectDropdown.module.css.js +1 -1
- package/dist/cjs/features/IL-marketplace/hooks/usePublishingFlowConfig.js +1 -1
- package/dist/cjs/features/IL-marketplace/marketplaceTheme.js +2 -0
- package/dist/cjs/features/IL-marketplace/marketplaceTheme.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/services/IL-marketplace.api.js +1 -1
- package/dist/cjs/features/InstantLearning/InstantLearning.js +1 -1
- package/dist/cjs/features/InstantLearning/InstantLearning.module.css.js +1 -1
- package/dist/cjs/features/InstantLearning/_components/ContextualLearningForm.js +1 -1
- package/dist/cjs/features/LearningManagement/AuditLog/AuditLog.js +1 -1
- package/dist/cjs/features/LearningManagement/AuditLog/AuditLog.module.css.js +2 -0
- package/dist/cjs/features/LearningManagement/AuditLog/AuditLog.module.css.js.map +1 -0
- package/dist/cjs/features/LearningManagement/AuditLog/ChangeLogDiff.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/AccessManagementPanel.js +1 -1
- package/dist/cjs/features/LearningManagement/RBAC/AccessPanel.js +1 -1
- package/dist/cjs/features/LearningManagement/RBAC/AccessPanel.module.css.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/ApprovalLearningDialog.js +1 -1
- package/dist/cjs/features/LearningManagement/RuleContent/ContentLogic.js +1 -1
- package/dist/cjs/features/LearningManagement/RuleContent/DraftsAccordion.js +2 -0
- package/dist/cjs/features/LearningManagement/RuleContent/DraftsAccordion.js.map +1 -0
- package/dist/cjs/features/LearningManagement/RuleContent/RenameScopeModal.js +1 -1
- package/dist/cjs/features/LearningManagement/RuleContent/RuleContent.js +1 -1
- package/dist/cjs/features/LearningManagement/RuleContent/RuleTierList.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/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 +1 -1
- package/dist/cjs/features/LearningManagement/components/PromptTextEditor.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/StationOnboarding/StationOnboardModal.js +1 -1
- package/dist/cjs/features/LearningManagement/queries/useLMSConfigQuery.js +1 -1
- package/dist/cjs/features/LearningManagement/styles/CardSkeleton.module.css.js +1 -1
- package/dist/cjs/features/LearningManagement/styles/ConfirmationModal.module.css.js +1 -1
- package/dist/cjs/features/LearningManagement/styles/CustomTooltip.module.css.js +1 -1
- package/dist/cjs/features/LearningManagement/styles/DraftsAccordion.module.css.js +2 -0
- package/dist/cjs/features/LearningManagement/styles/DraftsAccordion.module.css.js.map +1 -0
- package/dist/cjs/features/LearningManagement/styles/EmptyRuleState.module.css.js +1 -1
- package/dist/cjs/features/LearningManagement/styles/ErrorStateDisplay.module.css.js +1 -1
- package/dist/cjs/features/LearningManagement/styles/InputField.module.css.js +1 -1
- package/dist/cjs/features/LearningManagement/styles/InstantLearningModal.module.css.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/OnboardingLoader.module.css.js +1 -1
- package/dist/cjs/features/LearningManagement/styles/OverrideTimeline.module.css.js +1 -1
- package/dist/cjs/features/LearningManagement/styles/PromptTextEditor.module.css.js +1 -1
- package/dist/cjs/features/LearningManagement/styles/RuleAccordion.module.css.js +1 -1
- package/dist/cjs/features/LearningManagement/styles/RuleHeader.module.css.js +1 -1
- package/dist/cjs/features/LearningManagement/styles/RuleTierList.module.css.js +1 -1
- package/dist/cjs/features/LearningManagement/styles/ScopeTree.module.css.js +1 -1
- package/dist/cjs/features/LearningManagement/styles/Sidebar.module.css.js +1 -1
- package/dist/cjs/features/LearningManagement/styles/StationAutocomplete.module.css.js +1 -1
- package/dist/cjs/features/LearningManagement/styles/StationOnboardModal.module.css.js +1 -1
- package/dist/cjs/features/LearningManagement/styles/StationsContent.module.css.js +1 -1
- package/dist/cjs/features/LearningManagement/styles/TemplateCard.module.css.js +1 -1
- package/dist/cjs/features/LearningManagement/styles/TierCard.module.css.js +1 -1
- package/dist/cjs/features/LearningManagement/styles/ToastContent.module.css.js +1 -1
- package/dist/cjs/features/LearningManagement/styles/ToolTip.module.css.js +1 -1
- package/dist/cjs/features/LearningManagement/styles/VariantCard.module.css.js +1 -1
- package/dist/cjs/features/LearningManagement/styles/VariantList.module.css.js +1 -1
- package/dist/cjs/features/LearningManagement/styles/common.module.css.js +1 -1
- package/dist/cjs/features/LearningManagement/styles/skeleton.module.css.js +1 -1
- package/dist/cjs/features/LearningManagement/utils/learningFlow.js +2 -0
- package/dist/cjs/features/LearningManagement/utils/learningFlow.js.map +1 -0
- package/dist/cjs/features/LearningManagement/utils/saveDraft.js +2 -0
- package/dist/cjs/features/LearningManagement/utils/saveDraft.js.map +1 -0
- package/dist/cjs/features/WtaWnta/WtaWnta.module.css.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js.map +1 -0
- 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 +1 -1
- package/dist/cjs/schema-driven/components/GlobalSetupAccordionField.js +1 -1
- package/dist/cjs/schema-driven/components/GroupEditRow.js +1 -1
- package/dist/cjs/schema-driven/components/PromptTextEditorField.js +1 -1
- package/dist/cjs/schema-driven/components/VariantListField.js +1 -1
- package/dist/cjs/schema-driven/primitives/Accordion.js +1 -1
- package/dist/cjs/utils/agentGenieAPI.js +1 -1
- package/dist/features/DocumentLearning/InstantLearning.module.css.js +1 -1
- package/dist/features/IL-OTJ/ILOTJ.js +1 -1
- package/dist/features/IL-OTJ/InstantLearning.module.css.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/ChatComponent.module.css.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/GapExplanationAccordion.js +1 -1
- package/dist/features/IL-OTJ/_components/ILPopup.js +1 -1
- package/dist/features/IL-OTJ/_components/ILPopup.styles.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/MarkdownRenderer.module.css.js +1 -1
- package/dist/features/IL-OTJ/_components/MessageRendering/ChatFeedback.js +1 -1
- package/dist/features/IL-OTJ/_components/MessageRendering/ClickableChatComponents.js +1 -1
- package/dist/features/IL-OTJ/_components/MessageRendering/RuleValidationCard.js +1 -1
- package/dist/features/IL-OTJ/_components/MessageRendering/RuleVariantCard.js +1 -1
- package/dist/features/IL-OTJ/_components/VariantLoadingOverlay.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/ButtonCognitiveIcon.js +1 -1
- package/dist/features/IL-OTJ/_components/atoms/SkeletonLoader/SkeletonLoader.module.css.js +1 -1
- package/dist/features/IL-OTJ/_components/atoms/Textarea/Textarea.js +1 -1
- package/dist/features/IL-OTJ/_components/cognitiveDecisioningThemeStyles.js +2 -0
- package/dist/features/IL-OTJ/_components/cognitiveDecisioningThemeStyles.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/ConfigSection/ConfigSection.js +1 -1
- package/dist/features/IL-OTJ/_components/organisms/ScopeSection/ScopeSection.js +1 -1
- package/dist/features/IL-OTJ/_components/organisms/TextSection/TextSection.js +1 -1
- package/dist/features/IL-OTJ/_components/templates/RuleComparison/AgentComposerRuleComparison.js +1 -1
- package/dist/features/IL-OTJ/_components/templates/RuleComparison/RuleComparisonNew.js +1 -1
- package/dist/features/IL-OTJ/_components/templates/TrafficManager/CreateRule.js +1 -1
- package/dist/features/IL-marketplace/components/GuidelineCardMenu.module.css.js +1 -1
- package/dist/features/IL-marketplace/components/GuidelineCart.module.css.js +1 -1
- package/dist/features/IL-marketplace/components/GuidelineCartHeader.module.css.js +1 -1
- package/dist/features/IL-marketplace/components/GuidelineCartItem.module.css.js +1 -1
- package/dist/features/IL-marketplace/components/GuidelineConfirmDialog.module.css.js +1 -1
- package/dist/features/IL-marketplace/components/GuidelineEmptyState.module.css.js +1 -1
- package/dist/features/IL-marketplace/components/GuidelineFilterPanel.module.css.js +1 -1
- package/dist/features/IL-marketplace/components/GuidelineHeader.module.css.js +1 -1
- package/dist/features/IL-marketplace/components/GuidelineIconButton.module.css.js +1 -1
- package/dist/features/IL-marketplace/components/GuidelineLandingPage.js +1 -1
- package/dist/features/IL-marketplace/components/GuidelineLandingPage.module.css.js +1 -1
- package/dist/features/IL-marketplace/components/GuidelineLibrary.js +1 -1
- package/dist/features/IL-marketplace/components/GuidelineLibrary.module.css.js +1 -1
- package/dist/features/IL-marketplace/components/GuidelineLibraryCard.js +1 -1
- package/dist/features/IL-marketplace/components/GuidelineLibraryCard.module.css.js +1 -1
- package/dist/features/IL-marketplace/components/GuidelineLibraryContent.js +1 -1
- package/dist/features/IL-marketplace/components/GuidelineProceedButton.module.css.js +1 -1
- package/dist/features/IL-marketplace/components/GuidelineSelectButton.module.css.js +1 -1
- package/dist/features/IL-marketplace/components/GuidelineStatusChip.js +1 -1
- package/dist/features/IL-marketplace/components/GuidelineStatusChip.module.css.js +1 -1
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/PublishEmptyState.module.css.js +1 -1
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepBody.module.css.js +1 -1
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepFooter.module.css.js +1 -1
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepper.module.css.js +1 -1
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/PublishToMarketplaceCompnent.js +1 -1
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/PublishToMarketplaceCompnent.module.css.js +1 -1
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/ReleaseSummaryBody.module.css.js +1 -1
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/TemplateDetailsBody.module.css.js +1 -1
- package/dist/features/IL-marketplace/components/LearningManagementWrapper.js +1 -1
- package/dist/features/IL-marketplace/components/VersionSelectDropdown.module.css.js +1 -1
- package/dist/features/IL-marketplace/hooks/usePublishingFlowConfig.js +1 -1
- package/dist/features/IL-marketplace/marketplaceTheme.js +2 -0
- package/dist/features/IL-marketplace/marketplaceTheme.js.map +1 -0
- package/dist/features/IL-marketplace/services/IL-marketplace.api.js +1 -1
- package/dist/features/InstantLearning/InstantLearning.js +1 -1
- package/dist/features/InstantLearning/InstantLearning.module.css.js +1 -1
- package/dist/features/InstantLearning/_components/ContextualLearningForm.js +1 -1
- package/dist/features/LearningManagement/AuditLog/AuditLog.js +1 -1
- package/dist/features/LearningManagement/AuditLog/AuditLog.module.css.js +2 -0
- package/dist/features/LearningManagement/AuditLog/AuditLog.module.css.js.map +1 -0
- package/dist/features/LearningManagement/AuditLog/ChangeLogDiff.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/AccessManagementPanel.js +1 -1
- package/dist/features/LearningManagement/RBAC/AccessPanel.js +1 -1
- package/dist/features/LearningManagement/RBAC/AccessPanel.module.css.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/ApprovalLearningDialog.js +1 -1
- package/dist/features/LearningManagement/RuleContent/ContentLogic.js +1 -1
- package/dist/features/LearningManagement/RuleContent/DraftsAccordion.js +2 -0
- package/dist/features/LearningManagement/RuleContent/DraftsAccordion.js.map +1 -0
- package/dist/features/LearningManagement/RuleContent/RenameScopeModal.js +1 -1
- package/dist/features/LearningManagement/RuleContent/RuleContent.js +1 -1
- package/dist/features/LearningManagement/RuleContent/RuleTierList.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/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 +1 -1
- package/dist/features/LearningManagement/components/PromptTextEditor.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/StationOnboarding/StationOnboardModal.js +1 -1
- package/dist/features/LearningManagement/queries/useLMSConfigQuery.js +1 -1
- package/dist/features/LearningManagement/styles/CardSkeleton.module.css.js +1 -1
- package/dist/features/LearningManagement/styles/ConfirmationModal.module.css.js +1 -1
- package/dist/features/LearningManagement/styles/CustomTooltip.module.css.js +1 -1
- package/dist/features/LearningManagement/styles/DraftsAccordion.module.css.js +2 -0
- package/dist/features/LearningManagement/styles/DraftsAccordion.module.css.js.map +1 -0
- package/dist/features/LearningManagement/styles/EmptyRuleState.module.css.js +1 -1
- package/dist/features/LearningManagement/styles/ErrorStateDisplay.module.css.js +1 -1
- package/dist/features/LearningManagement/styles/InputField.module.css.js +1 -1
- package/dist/features/LearningManagement/styles/InstantLearningModal.module.css.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/OnboardingLoader.module.css.js +1 -1
- package/dist/features/LearningManagement/styles/OverrideTimeline.module.css.js +1 -1
- package/dist/features/LearningManagement/styles/PromptTextEditor.module.css.js +1 -1
- package/dist/features/LearningManagement/styles/RuleAccordion.module.css.js +1 -1
- package/dist/features/LearningManagement/styles/RuleHeader.module.css.js +1 -1
- package/dist/features/LearningManagement/styles/RuleTierList.module.css.js +1 -1
- package/dist/features/LearningManagement/styles/ScopeTree.module.css.js +1 -1
- package/dist/features/LearningManagement/styles/Sidebar.module.css.js +1 -1
- package/dist/features/LearningManagement/styles/StationAutocomplete.module.css.js +1 -1
- package/dist/features/LearningManagement/styles/StationOnboardModal.module.css.js +1 -1
- package/dist/features/LearningManagement/styles/StationsContent.module.css.js +1 -1
- package/dist/features/LearningManagement/styles/TemplateCard.module.css.js +1 -1
- package/dist/features/LearningManagement/styles/TierCard.module.css.js +1 -1
- package/dist/features/LearningManagement/styles/ToastContent.module.css.js +1 -1
- package/dist/features/LearningManagement/styles/ToolTip.module.css.js +1 -1
- package/dist/features/LearningManagement/styles/VariantCard.module.css.js +1 -1
- package/dist/features/LearningManagement/styles/VariantList.module.css.js +1 -1
- package/dist/features/LearningManagement/styles/common.module.css.js +1 -1
- package/dist/features/LearningManagement/styles/skeleton.module.css.js +1 -1
- package/dist/features/LearningManagement/utils/learningFlow.js +2 -0
- package/dist/features/LearningManagement/utils/learningFlow.js.map +1 -0
- package/dist/features/LearningManagement/utils/saveDraft.js +2 -0
- package/dist/features/LearningManagement/utils/saveDraft.js.map +1 -0
- package/dist/features/WtaWnta/WtaWnta.module.css.js +1 -1
- package/dist/index.js +1 -1
- package/dist/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js.map +1 -0
- package/dist/plugins/ValueTypes/Default/DefaultTeachMeRenderer.js +1 -1
- package/dist/plugins/ValueTypes/RadioTrafficLearning/RadioTrafficLearningRenderer.js +1 -1
- package/dist/schema-driven/BPARenderer.js +1 -1
- package/dist/schema-driven/components/GlobalSetupAccordionField.js +1 -1
- package/dist/schema-driven/components/GroupEditRow.js +1 -1
- package/dist/schema-driven/components/PromptTextEditorField.js +1 -1
- package/dist/schema-driven/components/VariantListField.js +1 -1
- package/dist/schema-driven/primitives/Accordion.js +1 -1
- package/dist/types/src/CommonComponents/HelloWorld.d.ts +1 -0
- package/dist/types/src/CommonComponents/HelloWorld.d.ts.map +1 -1
- package/dist/types/src/CommonComponents/NoTableData.d.ts +1 -0
- package/dist/types/src/CommonComponents/NoTableData.d.ts.map +1 -1
- package/dist/types/src/ContinueWithTemplateModal.d.ts.map +1 -1
- package/dist/types/src/ILMarketplaceMockTest.d.ts.map +1 -1
- package/dist/types/src/ILMarketplaceWrapper.d.ts +15 -4
- package/dist/types/src/ILMarketplaceWrapper.d.ts.map +1 -1
- package/dist/types/src/PublishToMarketplaceTest.d.ts +1 -0
- package/dist/types/src/PublishToMarketplaceTest.d.ts.map +1 -1
- package/dist/types/src/adapters/creativeWorkspaceAdapter.d.ts +62 -0
- package/dist/types/src/adapters/creativeWorkspaceAdapter.d.ts.map +1 -0
- package/dist/types/src/api/transport.d.ts +1 -1
- package/dist/types/src/api/transport.d.ts.map +1 -1
- package/dist/types/src/features/DataSelector/components/DataSelectionOptionsScreen.d.ts +1 -0
- package/dist/types/src/features/DataSelector/components/DataSelectionOptionsScreen.d.ts.map +1 -1
- package/dist/types/src/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts +1 -0
- package/dist/types/src/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts.map +1 -1
- package/dist/types/src/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts +1 -0
- package/dist/types/src/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts.map +1 -1
- package/dist/types/src/features/DataSelector/components/RlefDataTabsComponent.d.ts +1 -0
- package/dist/types/src/features/DataSelector/components/RlefDataTabsComponent.d.ts.map +1 -1
- package/dist/types/src/features/DataSelector/components/SelectedDataList.d.ts +1 -0
- package/dist/types/src/features/DataSelector/components/SelectedDataList.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/ILOTJ.d.ts +6 -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 +10 -10
- 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 +2 -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.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/ChatComponents/ChatComponent.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/ChatComponents/NormalChat.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/CitationLink.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/CognitiveDecisioningCard.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/GapExplanationAccordion.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/ILPopup.d.ts +6 -1
- package/dist/types/src/features/IL-OTJ/_components/ILPopup.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/ILPopup.styles.d.ts +1 -1
- package/dist/types/src/features/IL-OTJ/_components/ILPopup.styles.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/ClickableChatComponents.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/MessageRendering/RuleValidationCard.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/MessageRendering/RuleVariantCard.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/ButtonCognitiveIcon.d.ts +1 -1
- package/dist/types/src/features/IL-OTJ/_components/_svg/ButtonCognitiveIcon.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/_svg/ChevronIcon.d.ts +1 -0
- package/dist/types/src/features/IL-OTJ/_components/_svg/ChevronIcon.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/_svg/LeftAndRightArrow.d.ts +1 -0
- package/dist/types/src/features/IL-OTJ/_components/_svg/LeftAndRightArrow.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/cognitiveDecisioningThemeStyles.d.ts +98 -0
- package/dist/types/src/features/IL-OTJ/_components/cognitiveDecisioningThemeStyles.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/templates/RuleComparison/AgentComposerRuleComparison.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/templates/RuleComparison/RuleComparisonNew.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/templates/TrafficManager/CreateRule.d.ts.map +1 -1
- package/dist/types/src/features/IL-marketplace/components/GuidelineLandingPage.d.ts +1 -1
- package/dist/types/src/features/IL-marketplace/components/GuidelineLandingPage.d.ts.map +1 -1
- package/dist/types/src/features/IL-marketplace/components/GuidelineLibrary.d.ts +3 -2
- package/dist/types/src/features/IL-marketplace/components/GuidelineLibrary.d.ts.map +1 -1
- package/dist/types/src/features/IL-marketplace/components/GuidelineLibraryCard.d.ts +2 -1
- package/dist/types/src/features/IL-marketplace/components/GuidelineLibraryCard.d.ts.map +1 -1
- package/dist/types/src/features/IL-marketplace/components/GuidelineLibraryContent.d.ts +2 -1
- package/dist/types/src/features/IL-marketplace/components/GuidelineLibraryContent.d.ts.map +1 -1
- package/dist/types/src/features/IL-marketplace/components/GuidelineStatusChip.d.ts +3 -2
- package/dist/types/src/features/IL-marketplace/components/GuidelineStatusChip.d.ts.map +1 -1
- package/dist/types/src/features/IL-marketplace/components/ILMarketPlacePublish/PublishToMarketplaceCompnent.d.ts +2 -6
- package/dist/types/src/features/IL-marketplace/components/ILMarketPlacePublish/PublishToMarketplaceCompnent.d.ts.map +1 -1
- package/dist/types/src/features/IL-marketplace/components/LearningManagementWrapper.d.ts +6 -1
- package/dist/types/src/features/IL-marketplace/components/LearningManagementWrapper.d.ts.map +1 -1
- package/dist/types/src/features/IL-marketplace/hooks/usePublishingFlowConfig.d.ts +3 -3
- package/dist/types/src/features/IL-marketplace/hooks/usePublishingFlowConfig.d.ts.map +1 -1
- package/dist/types/src/features/IL-marketplace/marketplaceTheme.d.ts +99 -0
- package/dist/types/src/features/IL-marketplace/marketplaceTheme.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/services/IL-marketplace.api.d.ts +25 -13
- package/dist/types/src/features/IL-marketplace/services/IL-marketplace.api.d.ts.map +1 -1
- package/dist/types/src/features/IL-marketplace/store/usePublishingFlowConfigStore.d.ts +2 -2
- package/dist/types/src/features/IL-marketplace/types.d.ts +12 -2
- package/dist/types/src/features/IL-marketplace/types.d.ts.map +1 -1
- package/dist/types/src/features/IL-marketplace/utils/addContextHelpers.d.ts +1 -0
- package/dist/types/src/features/IL-marketplace/utils/addContextHelpers.d.ts.map +1 -1
- package/dist/types/src/features/InstantLearning/InstantLearning.d.ts +2 -1
- package/dist/types/src/features/InstantLearning/InstantLearning.d.ts.map +1 -1
- package/dist/types/src/features/InstantLearning/_components/ChatComponent.d.ts +1 -0
- package/dist/types/src/features/InstantLearning/_components/ChatComponent.d.ts.map +1 -1
- package/dist/types/src/features/InstantLearning/_components/ContextualChatComponent.d.ts +1 -0
- package/dist/types/src/features/InstantLearning/_components/ContextualChatComponent.d.ts.map +1 -1
- package/dist/types/src/features/InstantLearning/_components/ContextualLearningForm.d.ts +1 -0
- package/dist/types/src/features/InstantLearning/_components/ContextualLearningForm.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/AuditLog/AuditLog.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/HumanChanges/HumanChange.d.ts +1 -0
- package/dist/types/src/features/LearningManagement/HumanChanges/HumanChange.d.ts.map +1 -0
- package/dist/types/src/features/LearningManagement/LearningManagement.d.ts +8 -2
- 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 +1 -0
- package/dist/types/src/features/LearningManagement/LearningTemplateLayout.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/RBAC/AccessManagementPanel.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/AddScopeApprovalSearchComponent.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/RuleContent/AddScopeModal.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/RuleContent/ApprovalLearningDialog.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/DraftsAccordion.d.ts +18 -0
- package/dist/types/src/features/LearningManagement/RuleContent/DraftsAccordion.d.ts.map +1 -0
- package/dist/types/src/features/LearningManagement/RuleContent/RenameScopeModal.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/RuleContent/RuleContent.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/RuleContent/RuleTierList.d.ts +2 -0
- package/dist/types/src/features/LearningManagement/RuleContent/RuleTierList.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.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 +5 -5
- package/dist/types/src/features/LearningManagement/apis/scopeApis.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/components/InstantLearningModal.d.ts +13 -0
- package/dist/types/src/features/LearningManagement/components/InstantLearningModal.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/components/InstantLearningModalDynamic.d.ts +13 -0
- package/dist/types/src/features/LearningManagement/components/InstantLearningModalDynamic.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/components/PromptTextEditor.d.ts +1 -1
- package/dist/types/src/features/LearningManagement/components/PromptTextEditor.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.map +1 -1
- package/dist/types/src/features/LearningManagement/components/StationOnboarding/StationOnboardModal.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/queries/useLMSConfigQuery.d.ts +3 -3
- package/dist/types/src/features/LearningManagement/queries/useLMSConfigQuery.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/store/useEnvStore.d.ts +3 -0
- package/dist/types/src/features/LearningManagement/store/useEnvStore.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/types.d.ts +10 -2
- package/dist/types/src/features/LearningManagement/types.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/utils/learningFlow.d.ts +30 -0
- package/dist/types/src/features/LearningManagement/utils/learningFlow.d.ts.map +1 -0
- package/dist/types/src/features/LearningManagement/utils/saveDraft.d.ts +11 -0
- package/dist/types/src/features/LearningManagement/utils/saveDraft.d.ts.map +1 -0
- package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDrive.d.ts +1 -0
- package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDrive.d.ts.map +1 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDriveButton.d.ts +1 -0
- package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDriveButton.d.ts.map +1 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystem.d.ts +1 -0
- package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystem.d.ts.map +1 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystemButton.d.ts +1 -0
- package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystemButton.d.ts.map +1 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts +1 -0
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts.map +1 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/DatasetCollectionInfo.d.ts +1 -0
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/DatasetCollectionInfo.d.ts.map +1 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts +1 -0
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts.map +1 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/input-label-with-info.d.ts +1 -0
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/input-label-with-info.d.ts.map +1 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEF.d.ts +1 -0
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEF.d.ts.map +1 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEFButton.d.ts +1 -0
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEFButton.d.ts.map +1 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSet.d.ts +1 -0
- package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSet.d.ts.map +1 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSetButton.d.ts +1 -0
- package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSetButton.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +6 -0
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/methodsToExpose.d.ts +6 -1
- package/dist/types/src/methodsToExpose.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/service/ProjectService.d.ts +2 -2
- package/dist/types/src/service/SavedDataSetService.d.ts +8 -3
- package/dist/types/src/service/SavedDataSetService.d.ts.map +1 -1
- package/dist/types/src/utils/CustomSkeleton.d.ts +1 -0
- package/dist/types/src/utils/CustomSkeleton.d.ts.map +1 -1
- package/dist/types/src/utils/SkeletonLoader.d.ts +1 -0
- package/dist/types/src/utils/SkeletonLoader.d.ts.map +1 -1
- package/dist/types/src/utils/agentGenieAPI.d.ts +5 -9
- package/dist/types/src/utils/agentGenieAPI.d.ts.map +1 -1
- package/dist/utils/agentGenieAPI.js +1 -1
- package/package.json +39 -35
- package/dist/assets/csbrainicon.svg.js +0 -2
- package/dist/assets/csbrainicon.svg.js.map +0 -1
- package/dist/cjs/assets/csbrainicon.svg.js +0 -2
- package/dist/cjs/assets/csbrainicon.svg.js.map +0 -1
- package/dist/cjs/features/CognitiveSearch/CitationComponentMarkdownRender.js +0 -2
- package/dist/cjs/features/CognitiveSearch/CitationComponentMarkdownRender.js.map +0 -1
- package/dist/cjs/features/CognitiveSearch/CognitiveSearchErrorBoundary.js +0 -2
- package/dist/cjs/features/CognitiveSearch/CognitiveSearchErrorBoundary.js.map +0 -1
- package/dist/cjs/features/CognitiveSearch/CognitiveSearchResultCard.js +0 -2
- package/dist/cjs/features/CognitiveSearch/CognitiveSearchResultCard.js.map +0 -1
- package/dist/cjs/features/CognitiveSearch/CognitiveSearchResultCard.module.css.js +0 -2
- package/dist/cjs/features/CognitiveSearch/CognitiveSearchResultCard.module.css.js.map +0 -1
- package/dist/cjs/features/CognitiveSearch/CognitiveSearchWrapper.module.css.js +0 -2
- package/dist/cjs/features/CognitiveSearch/CognitiveSearchWrapper.module.css.js.map +0 -1
- package/dist/cjs/features/CognitiveSearch/cognitiveWrapper.js +0 -2
- package/dist/cjs/features/CognitiveSearch/cognitiveWrapper.js.map +0 -1
- package/dist/cjs/features/CognitiveSearch/rulebookcitation.js +0 -2
- package/dist/cjs/features/CognitiveSearch/rulebookcitation.js.map +0 -1
- package/dist/cjs/hooks/useQueries.js +0 -2
- package/dist/cjs/hooks/useQueries.js.map +0 -1
- package/dist/cjs/node_modules/style-inject/dist/style-inject.es.js.map +0 -1
- package/dist/features/CognitiveSearch/CitationComponentMarkdownRender.js +0 -2
- package/dist/features/CognitiveSearch/CitationComponentMarkdownRender.js.map +0 -1
- package/dist/features/CognitiveSearch/CognitiveSearchErrorBoundary.js +0 -2
- package/dist/features/CognitiveSearch/CognitiveSearchErrorBoundary.js.map +0 -1
- package/dist/features/CognitiveSearch/CognitiveSearchResultCard.js +0 -2
- package/dist/features/CognitiveSearch/CognitiveSearchResultCard.js.map +0 -1
- package/dist/features/CognitiveSearch/CognitiveSearchResultCard.module.css.js +0 -2
- package/dist/features/CognitiveSearch/CognitiveSearchResultCard.module.css.js.map +0 -1
- package/dist/features/CognitiveSearch/CognitiveSearchWrapper.module.css.js +0 -2
- package/dist/features/CognitiveSearch/CognitiveSearchWrapper.module.css.js.map +0 -1
- package/dist/features/CognitiveSearch/cognitiveWrapper.js +0 -2
- package/dist/features/CognitiveSearch/cognitiveWrapper.js.map +0 -1
- package/dist/features/CognitiveSearch/rulebookcitation.js +0 -2
- package/dist/features/CognitiveSearch/rulebookcitation.js.map +0 -1
- package/dist/hooks/useQueries.js +0 -2
- package/dist/hooks/useQueries.js.map +0 -1
- package/dist/node_modules/style-inject/dist/style-inject.es.js.map +0 -1
- package/dist/types/src/features/CognitiveSearch/CitationComponentMarkdownRender.d.ts +0 -27
- package/dist/types/src/features/CognitiveSearch/CitationComponentMarkdownRender.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveSearch/CognitiveSearchErrorBoundary.d.ts +0 -30
- package/dist/types/src/features/CognitiveSearch/CognitiveSearchErrorBoundary.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveSearch/CognitiveSearchResultCard.d.ts +0 -33
- package/dist/types/src/features/CognitiveSearch/CognitiveSearchResultCard.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveSearch/CognitiveSearchTestfile.d.ts +0 -3
- package/dist/types/src/features/CognitiveSearch/CognitiveSearchTestfile.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveSearch/SearchResultSkeletonCard.d.ts +0 -3
- package/dist/types/src/features/CognitiveSearch/SearchResultSkeletonCard.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveSearch/cognitiveParser.d.ts +0 -39
- package/dist/types/src/features/CognitiveSearch/cognitiveParser.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveSearch/cognitiveSearch.types.d.ts +0 -110
- package/dist/types/src/features/CognitiveSearch/cognitiveSearch.types.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveSearch/cognitiveWrapper.d.ts +0 -56
- package/dist/types/src/features/CognitiveSearch/cognitiveWrapper.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveSearch/parseSearchResults.d.ts +0 -6
- package/dist/types/src/features/CognitiveSearch/parseSearchResults.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveSearch/rulebookcitation.d.ts +0 -23
- package/dist/types/src/features/CognitiveSearch/rulebookcitation.d.ts.map +0 -1
- package/dist/types/src/hooks/useQueries.d.ts +0 -12
- package/dist/types/src/hooks/useQueries.d.ts.map +0 -1
- /package/dist/cjs/node_modules/{style-inject → .pnpm/style-inject@0.3.0/node_modules/style-inject}/dist/style-inject.es.js +0 -0
- /package/dist/node_modules/{style-inject → .pnpm/style-inject@0.3.0/node_modules/style-inject}/dist/style-inject.es.js +0 -0
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{default as InstantLearning}from"./features/InstantLearning/InstantLearning.js";export{default as WtaWnta}from"./features/WtaWnta/WtaWnta.js";export{default as BookLearning}from"./features/DocumentLearning/DocumentLearning.js";export{default as ILOTJ}from"./features/IL-OTJ/ILOTJ.js";export{Button}from"./features/IL-OTJ/_components/atoms/Button/Button.js";export{Dropdown}from"./features/IL-OTJ/_components/atoms/Dropdown/Dropdown.js";export{Toggle}from"./features/IL-OTJ/_components/atoms/Toggle/Toggle.js";export{Textarea}from"./features/IL-OTJ/_components/atoms/Textarea/Textarea.js";export{ConditionList,hasMeaningfulText}from"./features/IL-OTJ/_components/molecules/Condition/ConditionList.js";export{SectionWrapper}from"./features/IL-OTJ/_components/molecules/Sections/SectionWrapper.js";export{SeparationRow}from"./features/IL-OTJ/_components/molecules/SeperationRow/SeparationRow.js";export{ConfigSection}from"./features/IL-OTJ/_components/organisms/ConfigSection/ConfigSection.js";export{TextSection}from"./features/IL-OTJ/_components/organisms/TextSection/TextSection.js";export{ScopeSection}from"./features/IL-OTJ/_components/organisms/ScopeSection/ScopeSection.js";export{ConditionSection}from"./features/IL-OTJ/_components/organisms/ConditionSection/ConditionSection.js";export{TrafficManagerTemplate}from"./features/IL-OTJ/_components/templates/TrafficManager/TrafficManagerTemplate.js";export{Testing}from"./features/IL-OTJ/_components/templates/Testing/Testing.js";export{TemplateList,TemplateMap}from"./features/IL-OTJ/_components/templates/TemplatesMap/templatesMap.js";export{extractAndParseResponse,extractAndParseWithProperty,extractTextFromChildren,extractVariantIds,parseValidationData,useHeaderObserver}from"./features/IL-OTJ/helpers/utils.js";export{CitationProvider,useCitations}from"./features/IL-OTJ/store/CitationsContext.js";export{dummyDat,getVariantInfo}from"./features/IL-OTJ/ILOTJTest.js";export{default as LearningManagement}from"./features/LearningManagement/LearningManagement.js";export{default as ILMarketplaceWrapper,IL_MARKETPLACE_TAB_ID,IL_MARKETPLACE_VIEW,MY_KNOWLEDGE_BASES_TAB_ID,SAVED_TAB_ID}from"./ILMarketplaceWrapper.js";export{default as TeachMePlugin,TemplateRegistry}from"./features/IL-OTJ/ValueTypeWrappers/TeachMePlugin.js";import"./features/LearningManagement/LearningManagementTest.js";export{default as ScopeSelector}from"./features/LearningManagement/ScopeSelector.js";export{setApiDebug}from"./api/transport.js";export{default as ContinueWithTemplateModal}from"./ContinueWithTemplateModal.js";export{GuidelineCart}from"./features/IL-marketplace/components/GuidelineCart.js";export{GuidelineCartHeader}from"./features/IL-marketplace/components/GuidelineCartHeader.js";export{GuidelineCartItem}from"./features/IL-marketplace/components/GuidelineCartItem.js";export{GuidelineEmptyState}from"./features/IL-marketplace/components/GuidelineEmptyState.js";export{GuidelineHeader}from"./features/IL-marketplace/components/GuidelineHeader.js";export{GuidelineIconButton}from"./features/IL-marketplace/components/GuidelineIconButton.js";export{GuidelineLandingPage}from"./features/IL-marketplace/components/GuidelineLandingPage.js";export{GuidelineFilterPanel}from"./features/IL-marketplace/components/GuidelineFilterPanel.js";export{GuidelineLibrary}from"./features/IL-marketplace/components/GuidelineLibrary.js";export{GuidelineLibraryCard}from"./features/IL-marketplace/components/GuidelineLibraryCard.js";export{LearningManagementWrapper}from"./features/IL-marketplace/components/LearningManagementWrapper.js";export{GuidelineProceedButton}from"./features/IL-marketplace/components/GuidelineProceedButton.js";export{GuidelineSelectButton}from"./features/IL-marketplace/components/GuidelineSelectButton.js";export{GuidelineCardMenu,createGuidelineCardMenuItems}from"./features/IL-marketplace/components/GuidelineCardMenu.js";export{GuidelineConfirmDialog}from"./features/IL-marketplace/components/GuidelineConfirmDialog.js";export{useGuidelineSelection}from"./features/IL-marketplace/hooks/useGuidelineSelection.js";export{DEFAULT_GUIDELINE_ARTIFACT_TEMPLATE,DEFAULT_GUIDELINE_LABELS}from"./features/IL-marketplace/constants.js";export{createGuidelineId,cx,defaultFormatAddedOnLabel,getAppIntegrationId,getGuidelineDate,getGuidelineDescription,getGuidelineDisplayDescription,getGuidelineId,getGuidelineTitle,isInstantLearningGuideline,mergeGuidelineLabels}from"./features/IL-marketplace/utils.js";export{getGuidelineWorkspaceActions,getGuidelineWorkspaceSnapshot}from"./features/IL-marketplace/workspace/workspace.runtime.js";export{useGuidelineWorkspace,useGuidelineWorkspaceActions,useOptionalGuidelineWorkspace,useOptionalGuidelineWorkspaceActions}from"./features/IL-marketplace/workspace/useGuidelineWorkspace.js";export{clearGuidelineCartClearPending,clearInstantLearningGuidelineCartPresent,getGuidelineSessionId,markGuidelineCartClearPending,rotateGuidelineSessionId}from"./features/IL-marketplace/services/guideline.session.js";export{removeInstantLearningGuidelinesFromCart}from"./features/IL-marketplace/services/instant-learning.api.js";export{closeGuidelineOverlayWithSync}from"./features/IL-marketplace/utils/guidelineOverlay.js";export{dataCartFileToGuidelineFileItem,getDataCartFilesFromResponse,isGuidelineDataCartFile,mergeGuidelineFiles}from"./features/IL-marketplace/utils/guidelineFiles.js";export{syncGuidelineCartWithMemstore}from"./features/IL-marketplace/services/guideline.cart.api.js";export{guidelineQueryClient}from"./features/IL-marketplace/queryClient.js";export{MF_EVENTS}from"./features/IL-marketplace/utils/microfrontend.js";
|
|
1
|
+
export{default as InstantLearning}from"./features/InstantLearning/InstantLearning.js";export{CreativeWorkspaceAdapterProvider,useCreativeWorkspaceAdapter}from"./adapters/creativeWorkspaceAdapter.js";export{default as WtaWnta}from"./features/WtaWnta/WtaWnta.js";export{default as BookLearning}from"./features/DocumentLearning/DocumentLearning.js";export{default as ILOTJ}from"./features/IL-OTJ/ILOTJ.js";export{Button}from"./features/IL-OTJ/_components/atoms/Button/Button.js";export{Dropdown}from"./features/IL-OTJ/_components/atoms/Dropdown/Dropdown.js";export{Toggle}from"./features/IL-OTJ/_components/atoms/Toggle/Toggle.js";export{Textarea}from"./features/IL-OTJ/_components/atoms/Textarea/Textarea.js";export{ConditionList,hasMeaningfulText}from"./features/IL-OTJ/_components/molecules/Condition/ConditionList.js";export{SectionWrapper}from"./features/IL-OTJ/_components/molecules/Sections/SectionWrapper.js";export{SeparationRow}from"./features/IL-OTJ/_components/molecules/SeperationRow/SeparationRow.js";export{ConfigSection}from"./features/IL-OTJ/_components/organisms/ConfigSection/ConfigSection.js";export{TextSection}from"./features/IL-OTJ/_components/organisms/TextSection/TextSection.js";export{ScopeSection}from"./features/IL-OTJ/_components/organisms/ScopeSection/ScopeSection.js";export{ConditionSection}from"./features/IL-OTJ/_components/organisms/ConditionSection/ConditionSection.js";export{TrafficManagerTemplate}from"./features/IL-OTJ/_components/templates/TrafficManager/TrafficManagerTemplate.js";export{Testing}from"./features/IL-OTJ/_components/templates/Testing/Testing.js";export{TemplateList,TemplateMap}from"./features/IL-OTJ/_components/templates/TemplatesMap/templatesMap.js";export{extractAndParseResponse,extractAndParseWithProperty,extractTextFromChildren,extractVariantIds,parseValidationData,useHeaderObserver}from"./features/IL-OTJ/helpers/utils.js";export{CitationProvider,useCitations}from"./features/IL-OTJ/store/CitationsContext.js";export{dummyDat,getVariantInfo}from"./features/IL-OTJ/ILOTJTest.js";export{default as LearningManagement}from"./features/LearningManagement/LearningManagement.js";export{default as ILMarketplaceWrapper,IL_MARKETPLACE_TAB_ID,IL_MARKETPLACE_VIEW,MY_KNOWLEDGE_BASES_TAB_ID,SAVED_TAB_ID}from"./ILMarketplaceWrapper.js";export{default as TeachMePlugin,TemplateRegistry}from"./features/IL-OTJ/ValueTypeWrappers/TeachMePlugin.js";import"./features/LearningManagement/LearningManagementTest.js";export{default as ScopeSelector}from"./features/LearningManagement/ScopeSelector.js";export{setApiDebug}from"./api/transport.js";export{default as ContinueWithTemplateModal}from"./ContinueWithTemplateModal.js";export{GuidelineCart}from"./features/IL-marketplace/components/GuidelineCart.js";export{GuidelineCartHeader}from"./features/IL-marketplace/components/GuidelineCartHeader.js";export{GuidelineCartItem}from"./features/IL-marketplace/components/GuidelineCartItem.js";export{GuidelineEmptyState}from"./features/IL-marketplace/components/GuidelineEmptyState.js";export{GuidelineHeader}from"./features/IL-marketplace/components/GuidelineHeader.js";export{GuidelineIconButton}from"./features/IL-marketplace/components/GuidelineIconButton.js";export{GuidelineLandingPage}from"./features/IL-marketplace/components/GuidelineLandingPage.js";export{GuidelineFilterPanel}from"./features/IL-marketplace/components/GuidelineFilterPanel.js";export{GuidelineLibrary}from"./features/IL-marketplace/components/GuidelineLibrary.js";export{GuidelineLibraryCard}from"./features/IL-marketplace/components/GuidelineLibraryCard.js";export{LearningManagementWrapper}from"./features/IL-marketplace/components/LearningManagementWrapper.js";export{getILMarketplaceThemeStyles}from"./features/IL-marketplace/marketplaceTheme.js";export{GuidelineProceedButton}from"./features/IL-marketplace/components/GuidelineProceedButton.js";export{GuidelineSelectButton}from"./features/IL-marketplace/components/GuidelineSelectButton.js";export{GuidelineCardMenu,createGuidelineCardMenuItems}from"./features/IL-marketplace/components/GuidelineCardMenu.js";export{GuidelineConfirmDialog}from"./features/IL-marketplace/components/GuidelineConfirmDialog.js";export{useGuidelineSelection}from"./features/IL-marketplace/hooks/useGuidelineSelection.js";export{DEFAULT_GUIDELINE_ARTIFACT_TEMPLATE,DEFAULT_GUIDELINE_LABELS}from"./features/IL-marketplace/constants.js";export{createGuidelineId,cx,defaultFormatAddedOnLabel,getAppIntegrationId,getGuidelineDate,getGuidelineDescription,getGuidelineDisplayDescription,getGuidelineId,getGuidelineTitle,isInstantLearningGuideline,mergeGuidelineLabels}from"./features/IL-marketplace/utils.js";export{getGuidelineWorkspaceActions,getGuidelineWorkspaceSnapshot}from"./features/IL-marketplace/workspace/workspace.runtime.js";export{useGuidelineWorkspace,useGuidelineWorkspaceActions,useOptionalGuidelineWorkspace,useOptionalGuidelineWorkspaceActions}from"./features/IL-marketplace/workspace/useGuidelineWorkspace.js";export{clearGuidelineCartClearPending,clearInstantLearningGuidelineCartPresent,getGuidelineSessionId,markGuidelineCartClearPending,rotateGuidelineSessionId}from"./features/IL-marketplace/services/guideline.session.js";export{removeInstantLearningGuidelinesFromCart}from"./features/IL-marketplace/services/instant-learning.api.js";export{closeGuidelineOverlayWithSync}from"./features/IL-marketplace/utils/guidelineOverlay.js";export{dataCartFileToGuidelineFileItem,getDataCartFilesFromResponse,isGuidelineDataCartFile,mergeGuidelineFiles}from"./features/IL-marketplace/utils/guidelineFiles.js";export{syncGuidelineCartWithMemstore}from"./features/IL-marketplace/services/guideline.cart.api.js";export{guidelineQueryClient}from"./features/IL-marketplace/queryClient.js";export{MF_EVENTS}from"./features/IL-marketplace/utils/microfrontend.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"style-inject.es.js","sources":["../../../../../../../../../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js"],"sourcesContent":["function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n"],"names":["styleInject","css","ref","insertAt","document","head","getElementsByTagName","style","createElement","type","firstChild","insertBefore","appendChild","styleSheet","cssText","createTextNode"],"mappings":"AAAA,SAASA,EAAYC,EAAKC,QACN,IAAbA,IAAiBA,EAAM,CAAA,GAC5B,IAAIC,EAAWD,EAAIC,SAEnB,GAAKF,GAA2B,oBAAbG,SAAnB,CAEA,IAAIC,EAAOD,SAASC,MAAQD,SAASE,qBAAqB,QAAQ,GAC9DC,EAAQH,SAASI,cAAc,SACnCD,EAAME,KAAO,WAEI,QAAbN,GACEE,EAAKK,WACPL,EAAKM,aAAaJ,EAAOF,EAAKK,YAKhCL,EAAKO,YAAYL,GAGfA,EAAMM,WACRN,EAAMM,WAAWC,QAAUb,EAE3BM,EAAMK,YAAYR,SAASW,eAAed,GAnBY,CAqB1D"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__assign as e}from"tslib";import{jsxs as t,jsx as
|
|
1
|
+
import{__assign as e}from"tslib";import{jsxs as t,jsx as n}from"react/jsx-runtime";import{useMemo as i}from"react";import a from"../../../features/LearningManagement/components/InstantLearningModal.js";import o from"../../../features/LearningManagement/components/InstantLearningModalDynamic.js";import{useTeachMeConfigStore as r,dtt as l,dttWelcomeMessageParts as s,dt as p,dttValue as c,resolveEnableChatLogs as d}from"../../../features/LearningManagement/store/useLMSConfigStore.js";import u from"react-markdown";import{renderToStaticMarkup as g}from"react-dom/server";import{resolveRegistryComponent as m}from"../../../ComponentRegistry.js";import{useLearningTemplateStore as f}from"../../../features/LearningManagement/store/useLearningTemplateStore.js";var h=function(h){var T,L,b=h.pluginPayload||{},v=b.flow,I=b.editingRule,M=b.editingTier,y=b.editingVariants,w=b.focusedVariantIndex,A=b.setFocusedVariantIndex,S=b.triggerAddVariant,C=b.triggerFixGaps,_=b.isDraftFlow,D=b.triggerValidateMessage,P=b.copiedRule,x=b.copiedSourceTier,V=b.copiedTargetTier,F=b.initialDraftMessage,N=b.postSaveCallback,R=b.modeId,E=b.mode,W=b.is_publishing,B=b.instant_learning_id,O=h.app_integration_id,j=h.content_mode_mapping_id,k="instruction_prompt",G=r(function(e){return e.teachMeConfig});console.log("teachMeConfig:",G);var J=l("learningMetadataComponents.properties.instruction_prompt.bpa_ui_component",""),z=f(function(e){var t;return null!==(t=e.learningMetadata[k])&&void 0!==t?t:""}),H=f(function(e){return e.setLearningMetadataField}),q=i(function(){return m(J)},[J]),K=s(),Q=K.greeting,U=K.subtitle,X=K.actions,Y=g(t("p",{children:[n("span",{children:Q}),n("div",{style:{marginTop:"8px"}}),n(u,{children:U}),n("div",{style:{marginTop:"8px"}}),n("span",e({className:"clickable-button-group"},{children:X.map(function(t){var i=t.label,a=t.value;return n("button",e({className:"clickable-button","data-value":a},{children:i}),i)})}))]})),Z=(null===(T=h.pluginPayload)||void 0===T?void 0:T.dynamicOptions)||{},$=(null===(L=h.pluginPayload)||void 0===L?void 0:L.prefilledData)||{},ee={showScope:!1,showConfiguration:!1,welcomeMessage:l("welcomeMessage","Hi! 👋 I'm your Instant Learning Concierge."),formTitle:l("formTitle","Rule setup"),setupLabel:l("setupLabel","Configure your IL"),ruleTitle:l("ruleTitle","Main Rule Name"),ruleTitleInformation:l("ruleTitleInformation","Give a concise title which isn't too specific"),scopeLabel:l("scopeLabel","Define Scope"),tierLabel:l("tierLabel","Select Tiers"),variantPillLabel:l("variantPillLabel","Variant"),ruleDescriptionTitle:l("ruleDescriptionTitle","Learning Explanation"),ruleDescriptionInformation:l("ruleDescriptionInformation","A short summary of the intent of the learning"),promptDescriptionInformation:l("promptDescriptionInformation","Provides the detailed instructions the AI should follow"),wtaInformation:l("wtaInformation","Specifies the use case when the learning should be used"),wntaInformation:l("wntaInformation","Specifies the use case when the learning should not be used"),whenToApplyTitle:l("whenToApplyTitle","Trigger Events (When to Apply)"),addWhenToApplyBtnLabel:l("addWhenToApplyBtnLabel","Add WTA"),whenNotToApplyTitle:l("whenNotToApplyTitle","Exclusion Events (When NOT to Apply)"),addWhenNotToApplyBtnLabel:l("addWhenNotToApplyBtnLabel","Add WNTA"),configTitle:l("configTitle","Advanced Settings"),saveBtnConfig:{label:l("saveBtnLabel","Save Rule"),loadingLabel:l("saveBtnLoadingLabel","Saving Rule...")},chatTitle:l("chatTitle","Teach Me OTJ - {scope} - Add Learning"),chatTitleEdit:l("chatTitleEdit","Teach Me OTJ - {scope} - Edit Learning"),chatTextareaPlaceholder:l("chatTextareaPlaceholder","Tell me more about this learning.."),LearningTerm:p("agents.LearningTerm","Learnings"),LazyPromptEditor:q,instructionPrompt:z,setInstructionPrompt:function(e){return H(k,e)},instructionPromptTitle:l("learningMetadataComponents.properties.instruction_prompt.title","Instruction Prompt"),instructionPromptDescription:l("learningMetadataComponents.properties.instruction_prompt.description",l("promptDescriptionInformation","Provides the detailed instructions the AI should follow")),instructionPromptViewToggle:c("learningMetadataComponents.properties.instruction_prompt.bpa_ui_view_toggle",!1)},te={dynamicOptions:Z,prefilledData:$},ne=h.useDynamicForm||!0===(null==G?void 0:G.useDynamicForm)?o:a,ie=d(h.enableChatLogs);return n(ne,{isOpen:h.isOpen,onClose:h.onClose,initialScope:h.initialScope,ruleSet:h.ruleSet,flow:v,editingRule:I,editingTier:M,editingVariants:y,focusedVariantIndex:w,setFocusedVariantIndex:A,triggerAddVariant:S,triggerFixGaps:C,isDraftFlow:_,triggerValidateMessage:D,copiedRule:P,copiedSourceTier:x,copiedTargetTier:V,initialDraftMessage:F,postSaveCallback:N,initialChatMessage:Y,applicationIntegrationId:null!=O?O:"",contentModeMappingId:j,instantLearningId:null!=B?B:null,modeId:R,mode:E,is_publishing:W,uiStateLabels:ee,dynamicFormConfig:te,enableChatLogs:ie,customSections:null})};export{h as default};
|
|
2
2
|
//# sourceMappingURL=DefaultTeachMeRenderer.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as e}from"react/jsx-runtime";import a from"../../../features/LearningManagement/components/InstantLearningModal.js";import{resolveEnableChatLogs as t}from"../../../features/LearningManagement/store/useLMSConfigStore.js";var i=function(i){var n=i.pluginPayload||{},r=n.
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import a from"../../../features/LearningManagement/components/InstantLearningModal.js";import{resolveEnableChatLogs as t}from"../../../features/LearningManagement/store/useLMSConfigStore.js";var i=function(i){var n=i.pluginPayload||{},r=n.flow,o=n.editingRule,d=n.editingTier,c=n.editingVariants,l=n.focusedVariantIndex,s=n.setFocusedVariantIndex,u=n.triggerAddVariant,g=n.triggerFixGaps,p=n.copiedRule,m=n.copiedSourceTier,I=n.copiedTargetTier,w=n.initialDraftMessage,f=n.app_integration_id,x=n.modeId,h={"Separation rule":"I would want to add a separation rule","Max priority rule":"I would want to set a max priority rule","Break code matching":"I would want to add a break code matching rule","Inventory code matching":"I would want to add a inventory window matching rule","Enter a rule description":"I want to add a rule description"},y="<p><span>Hi! 👋 I'm your Instant Learning Concierge.</span>\n <span>How would you like to get started? You can select an option below or describe the rule you’d like to create.</span>\n ".concat(["Separation rule","Max priority rule","Break code matching","Inventory code matching","Enter a rule description"].map(function(e){return'<button class="clickable-button" data-value="'.concat(h[e],'">').concat(e,"</button>")}).join(""),"</p>"),S=t(i.enableChatLogs);return e(a,{isOpen:i.isOpen,onClose:i.onClose,initialScope:i.initialScope,ruleSet:i.ruleSet,flow:r,editingRule:o,editingTier:d,editingVariants:c,focusedVariantIndex:l,setFocusedVariantIndex:s,triggerAddVariant:u,triggerFixGaps:g,copiedRule:p,copiedSourceTier:m,copiedTargetTier:I,initialDraftMessage:w,initialChatMessage:y,applicationIntegrationId:f,modeId:x,enableChatLogs:S})};export{i as default};
|
|
2
2
|
//# sourceMappingURL=RadioTrafficLearningRenderer.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__assign as e,__spreadArray as i}from"tslib";import{jsx as t,jsxs as n}from"react/jsx-runtime";import{useMemo as r,Suspense as o}from"react";import{Lock as d}from"lucide-react";import{resolveRegistryComponentOrFallback as l,isContainerComponent as a}from"../ComponentRegistry.js";import{useDynamicFormStore as
|
|
1
|
+
import{__assign as e,__spreadArray as i}from"tslib";import{jsx as t,jsxs as n}from"react/jsx-runtime";import{useMemo as r,Suspense as o}from"react";import{Lock as d}from"lucide-react";import{resolveRegistryComponentOrFallback as l,isContainerComponent as a}from"../ComponentRegistry.js";import{useDynamicFormStore as v}from"./store/useDynamicFormStore.js";import{DynamicFormContext as u}from"./hooks/useParentEditEnabled.js";import{isNodeLocked as s,LOCKED_IN_EDIT_FLOW_TOOLTIP as p}from"./utils/editLock.js";var c=function(r){var u,c,g,f=r.node,m=r.id,y=r.tierKey,h=r.variantIndex,b=r.uiState,E=r.state,I=r.handlers,x=r.contextOverrides,O=r.renderChildren,S=v(),_=S.getGlobalField,C=S.getVariantField,k=S.setGlobalField,F=S.setVariantField,j=S.getGlobalReasoning,V=S.getVariantReasoning,M=S.getGlobalMirage,w=S.getVariantMirage;if(f.hidden)return null;var A=f.data_key||m,K=A.startsWith("global.")||void 0===h,P=A.replace("global.",""),R=null==x?void 0:x[P],G=void 0!==(null==R?void 0:R.value)?R.value:K?null!==(u=M(P))&&void 0!==u?u:_(P):y&&void 0!==h?null!==(c=w(y,h,P))&&void 0!==c?c:C(y,h,P):void 0,z=K?void 0!==M(P):!(!y||void 0===h)&&void 0!==w(y,h,P);null==G&&(G="array"===f.type?[]:"boolean"!==f.type&&("object"===f.type?{}:""));var D=K?j(P):y&&void 0!==h?V(y,h,P):void 0,q=function(e){var i,t,n=void 0!==(null===(i=null==e?void 0:e.target)||void 0===i?void 0:i.value)?e.target.value:e;(null===(t=null==x?void 0:x[P])||void 0===t?void 0:t.onChange)?x[P].onChange(n):K?k(P,n):y&&void 0!==h&&F(y,h,P,n)},B="array"===f.type?{onAdd:function(){return q(i(i([],G||[],!0),[{id:Date.now(),text:""}],!1))},onRemove:function(e,i,t){return q((G||[]).filter(function(e){return e.id!==t}))},onEdit:function(i,t,n,r){return q((G||[]).map(function(i){return i.id===n?e(e({},i),{text:r}):i}))}}:{},L=null==b?void 0:b.isAiStreaming,N=void 0!==(null==R?void 0:R.readOnly)?R.readOnly:f.read_only||L,T=s(f,b),W=null===(g=null==b?void 0:b.validationErrors)||void 0===g?void 0:g[P],J=l(f.bpa_ui_component),H=T?{readOnly:!0,enableInlineEdit:!1,hideEditControls:!0,parentEditing:!1,value:G,onChange:void 0,lockedInEditFlow:!0,lockedTooltip:p}:{},Q=t(o,e({fallback:t("div",e({style:{padding:12,fontSize:13,color:"var(--il-muted, #9ca3af)"}},{children:"Loading..."}))},{children:t(J,e({id:m,schema:f,title:f.title,description:f.description,subtitle:f.subtitle,fieldName:f.title,placeholder:f.placeholder,required:f.is_required,tooltipDescription:f.tooltip||"No tooltip provided.",value:G,onChange:q,citation:D,readOnly:N,enableInlineEdit:!f.read_only,enableViewToggle:f.bpa_ui_view_toggle,errorMessage:W,isAiStreaming:L,uiState:b,state:E,handlers:I,tierKey:y,variantIndex:h,activeEditId:null==b?void 0:b.activeEditId,setActiveEditId:null==b?void 0:b.setActiveEditId,pendingEditId:null==b?void 0:b.pendingEditId,setPendingEditId:null==b?void 0:b.setPendingEditId,setSendMessageInChat:null==b?void 0:b.setSendMessageInChat,renderChildren:O,parentValueOverride:null==R?void 0:R.parentValueOverride,contextOverrides:x},B,{conditions:"array"===f.type?G:void 0,isMirage:z},R,H,{children:a(f.bpa_ui_component)&&O?O():null}))}));if(!T)return Q;var U=!!(null==R?void 0:R.parentEditing)||!1===(null==R?void 0:R.readOnly);return n("div",e({title:p,style:{position:"relative",opacity:.85}},{children:[U&&n("div",e({style:{display:"flex",alignItems:"center",gap:6,marginBottom:6,padding:"4px 8px",borderRadius:6,width:"fit-content",background:"var(--il-secondary-bg, #f1f5f9)",border:"1px solid var(--il-border, #E2E8F0)",color:"var(--il-muted, #64748B)",fontSize:12,fontWeight:500,fontFamily:'"Plus Jakarta Sans", sans-serif'}},{children:[t(d,{size:12})," ",p]})),Q]}))},g=function(i){var n=i.properties,o=i.tierKey,d=i.variantIndex,l=i.uiState,a=i.state,v=i.handlers,s=i.contextOverrides,p=r(function(){return n?Object.entries(n).sort(function(e,i){var t,n,r=e[1],o=i[1];return(null!==(t=r.ui_position)&&void 0!==t?t:0)-(null!==(n=o.ui_position)&&void 0!==n?n:0)}):[]},[n]);return t(u.Provider,e({value:!0},{children:p.map(function(e){var i=e[0],n=e[1];return t(c,{id:i,node:n,tierKey:o,variantIndex:d,uiState:l,state:a,handlers:v,contextOverrides:s,renderChildren:function(e,i,r){return n.properties?t(g,{properties:n.properties,tierKey:void 0!==r?r:o,variantIndex:void 0!==e?e:d,uiState:l,state:a,handlers:v,contextOverrides:i||s}):null}},i)})}))};export{g as BPARenderer};
|
|
2
2
|
//# sourceMappingURL=BPARenderer.js.map
|
|
@@ -1,2 +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
|
|
1
|
+
import{__assign as i}from"tslib";import{jsx as t,jsxs as e,Fragment as l}from"react/jsx-runtime";import{useState as n,useRef as o,useEffect as a}from"react";import{Loader2Icon as d,Pencil as r,Check as u,AlertTriangle as s}from"lucide-react";import v from"../../features/IL-OTJ/_components/AccordianSection.js";import{EditPencilIcon as c}from"../../features/IL-OTJ/_components/_svg/EditPencilIcon.js";import{useLearningTemplateStore as p}from"../../features/LearningManagement/store/useLearningTemplateStore.js";function f(f){var g,m,S,y,h,x,C,b,I,E,D,T,A,k,w,z,O,P,j,_,N,R,J,L,B,F,W,M=p(function(i){return i.backwardCompatibility}),K=n(null),U=K[0],V=K[1],q=n(null),G=q[0],H=q[1],Q=n(!1),X=Q[0],Y=Q[1],Z=o(null===(g=f.uiState)||void 0===g?void 0:g.isAiStreaming),$="rule-setup"===(null===(m=f.uiState)||void 0===m?void 0:m.activeEditId);a(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===(S=f.uiState)||void 0===S?void 0:S.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,n,o,a,d=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=d!==(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===(n=f.uiState)||void 0===n?void 0:n.setSendMessageInChat){var v="sk-".concat(Date.now(),"-").concat(Math.random().toString(36).slice(2,8)),c=[];if(u&&c.push((null==d?void 0:d.trim())?"Title with ".concat(d):"No Title"),s){var p=null==r?void 0:r.tiers;c.push(p&&p.length>0?"tiers: ".concat(p.join(", ")):"No Tier Selected")}f.uiState.setSendMessageInChat("__SKELETON__:".concat(v,":Update Rule Setup ").concat(c.join(" and ")))}Y(!0),V(null),H(null),null===(a=null===(o=f.uiState)||void 0===o?void 0:o.setActiveEditId)||void 0===a||a.call(o,null)}else ii()},ei=null!==U?null==U?void 0:U.trim():((null===(y=f.state)||void 0===y?void 0:y.ruleTitle)||"").trim(),li=null!=G?G:null===(h=f.state)||void 0===h?void 0:h.scopeData,ni=ei!==((null===(x=f.state)||void 0===x?void 0:x.ruleTitle)||"").trim(),oi=JSON.stringify(li)!==JSON.stringify(null===(C=f.state)||void 0===C?void 0:C.scopeData),ai=!ni&&!oi||""===ei,di=!((null===(b=f.state)||void 0===b?void 0:b.ruleTitle)||"").trim()&&!(null===(E=null===(I=f.state)||void 0===I?void 0:I.scopeData)||void 0===E?void 0:E.station)&&!((null===(T=null===(D=f.state)||void 0===D?void 0:D.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 var(--il-primary, #D9D6FE)",color:"var(--il-primary, #2563EB)",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:ai||X,style:i(i({},ri),{backgroundColor:X?"var(--il-primary-subtle, #f5f3ff)":"var(--il-surface, #ffffff)",cursor:ai||X?"not-allowed":"pointer",opacity:ai?.5:1})},{children:X?"Validating...":"Save"})),!X&&t("button",i({onClick:function(i){i.stopPropagation(),ii()},style:i(i({},ri),{backgroundColor:"var(--il-surface, #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(v,i({},f,{title:{type:"other",label:(null===(w=f.schema)||void 0===w?void 0:w.title)||"Rule Setup"},actionButtons:function(n,o){var a;if($)return M?null:ui();var d=!!(null===(a=f.uiState)||void 0===a?void 0:a.activeEditId)&&"rule-setup"!==f.uiState.activeEditId;return t("div",i({style:{position:"relative",display:"flex",flexDirection:"column"}},{children:t("button",i({title:d?"Save active edits first":di?"Add":"Edit",onClick:function(t){var e,l;t.stopPropagation(),d?(null===(e=f.uiState)||void 0===e?void 0:e.setPendingEditId)&&f.uiState.setPendingEditId(f.uiState.activeEditId||null):(!function(){var t,e,l,n,o,a;(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!==(o=null===(n=f.state)||void 0===n?void 0:n.ruleTitle)&&void 0!==o?o:""),H((null===(a=f.state)||void 0===a?void 0:a.scopeData)?i({},f.state.scopeData):{}))}(),(null===(l=f.uiState)||void 0===l?void 0:l.setPendingEditId)&&f.uiState.setPendingEditId(null),n||o())},disabled:X,style:{display:"flex",alignItems:"center",justifyContent:"center",gap:"6px",padding:"6px 8px",border:"1px solid var(--il-border, #e5e7eb)",borderRadius:"8px",cursor:X?"not-allowed":"pointer",backgroundColor:"var(--il-surface, #ffffff)",color:"var(--il-muted, #64748B)",opacity:X?.5:1}},{children:M?t(r,{size:14}):e(l,{children:[t(c,{size:12})," ",di?"Add":"Edit"]})}))}))},defaultOpen:null!==(O=null===(z=f.schema)||void 0===z?void 0:z.default_open)&&void 0!==O?O:"Create"===(null===(P=f.uiState)||void 0===P?void 0:P.usedFor),readOnly:"Create"!==(null===(j=f.uiState)||void 0===j?void 0:j.usedFor),editFlow:"Edit"===(null===(_=f.uiState)||void 0===_?void 0:_.usedFor),isAiStreaming:null===(N=f.uiState)||void 0===N?void 0:N.isAiStreaming,alwaysShowActions:!0,footerData:{ruleTitle:null===(R=f.state)||void 0===R?void 0:R.ruleTitle,stations:[null===(L=null===(J=f.state)||void 0===J?void 0:J.scopeData)||void 0===L?void 0:L.station],tiers:null===(F=null===(B=f.state)||void 0===B?void 0:B.scopeData)||void 0===F?void 0:F.tiers}},{children:e("div",i({style:{display:"flex",flexDirection:"column",gap:"12px"}},{children:[X&&(null===(W=f.uiState)||void 0===W?void 0:W.isAiStreaming)&&e("div",i({style:{display:"flex",alignItems:"center",color:"var(--il-foreground, #141414)",fontSize:"13px",fontWeight:500,fontStyle:"italic",marginBottom:"8px",paddingLeft:"4px"}},{children:[t(d,{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:[M&&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:"var(--il-muted, #64748B)",fontSize:"14px",fontWeight:"500",cursor:"pointer",padding:"0"}},{children:"Discard Changes"})),e("button",i({onClick:ti,disabled:ai,style:{display:"flex",alignItems:"center",gap:"8px",padding:"8px 16px",borderRadius:"12px",border:"none",backgroundColor:"var(--il-primary, #2563eb)",color:"var(--il-primary-fg, #ffffff)",fontSize:"14px",fontWeight:"500",cursor:ai?"not-allowed":"pointer",opacity:ai?.5:1}},{children:[t(u,{size:18,strokeWidth:2.5,color:"var(--il-primary-fg, #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:"var(--il-warning, #C2410C)"}}),t("div",i({style:{color:"var(--il-warning, #C2410C)",fontSize:"13px"}},{children:"Pending - Changes not applied yet. Apply or discard them to continue."}))]}))]})):null}()]}))}))}))}export{f as default};
|
|
2
2
|
//# sourceMappingURL=GlobalSetupAccordionField.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__assign as e}from"tslib";import{jsx as
|
|
1
|
+
import{__assign as e}from"tslib";import{jsx as i,jsxs as n}from"react/jsx-runtime";import{useState as t,useRef as l,useEffect as o}from"react";import{Pencil as r,Loader2Icon as d,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 v(v){var f,p,g,y,h,m,x,b,S,k,_,C,E=!!(null===(f=v.schema)||void 0===f?void 0:f.group_edit),I=c(function(e){return e.globalData}),z=c(function(e){return e.setGlobalField}),w=t({}),A=w[0],D=w[1],j=t(!1),P=j[0],W=j[1],F=null===(p=v.uiState)||void 0===p?void 0:p.isAiStreaming,O=l(F);if(o(function(){O.current&&!F&&P&&W(!1),O.current=F},[F,P]),!E)return i("div",e({style:s},{children:v.renderChildren?v.renderChildren():null}));var R=Object.entries((null===(g=v.schema)||void 0===g?void 0:g.properties)||{}).map(function(e){return{key:e[0],node:e[1]}}).filter(function(e){var i;return null===(i=e.node)||void 0===i?void 0:i.data_key}),B=v.contextOverrides||{},M=R.map(function(e){return B[String(e.node.data_key).replace("global.","")]}).find(Boolean),J=!!(null==M?void 0:M.hideEditControls),L=!!(null==M?void 0:M.parentEditing);if(J)return n("div",e({style:{border:"1px solid var(--il-border, #e5e7eb)",borderRadius:"12px",padding:"16px",width:"100%",display:"flex",flexDirection:"column",gap:"12px",backgroundColor:"var(--il-surface, #ffffff)",boxSizing:"border-box"}},{children:[n("div",e({style:{display:"flex",flexDirection:"column",gap:"2px"}},{children:[i("span",e({style:{fontSize:"14px",fontWeight:500,color:F?"var(--il-muted, #717b8c)":"var(--il-foreground, #19213D)",fontFamily:'"Plus Jakarta Sans", sans-serif'}},{children:(null===(y=v.schema)||void 0===y?void 0:y.group_title)||(null===(h=v.schema)||void 0===h?void 0:h.title)||""})),(v.subtitle||(null===(m=v.schema)||void 0===m?void 0:m.subtitle))&&i("span",e({style:{fontFamily:"Inter",fontWeight:400,fontSize:"12px",lineHeight:"130%",color:"var(--il-muted, #64748B)"}},{children:v.subtitle||(null===(x=v.schema)||void 0===x?void 0:x.subtitle)}))]})),i("div",e({style:e(e({},s),{pointerEvents:L?"auto":"none"})},{children:v.renderChildren?v.renderChildren():null}))]}));var T="group-".concat(v.id||"flexrow"),q=(null===(b=v.uiState)||void 0===b?void 0:b.activeEditId)===T,G=!!(null===(S=v.uiState)||void 0===S?void 0:S.activeEditId)&&!q,H=(null===(k=v.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 i;return""!==String(null!==(i=A[e])&&void 0!==i?i:"").trim()}),N=R.some(function(e){var i,n;return(null!==(i=A[e.node.data_key])&&void 0!==i?i:"")!==(null!==(n=I[e.node.data_key])&&void 0!==n?n:"")}),U=!K||!N||F,V={};R.forEach(function(i){var n,t,l,o,r=i.node.data_key,d=i.node.depends_on_global_key;V[r]={value:q?null!==(n=A[r])&&void 0!==n?n:"":null!==(t=I[r])&&void 0!==t?t:"",onChange:function(i){return n=r,t=i,void D(function(i){var l,o=e(e({},i),((l={})[n]=t,l));return R.forEach(function(e){e.node.depends_on_global_key===n&&(o[e.node.data_key]="")}),o});var n,t},readOnly:F,parentValueOverride:d?q?null!==(l=A[d])&&void 0!==l?l:"":null!==(o=I[d])&&void 0!==o?o:"":void 0}});var Q={display:"flex",alignItems:"center",justifyContent:"center",padding:"6px 8px",border:"1px solid var(--il-border, #e5e7eb)",borderRadius:"8px",backgroundColor:"var(--il-surface, #ffffff)",color:"var(--il-muted, #64748B)",cursor:P?"not-allowed":"pointer",opacity:P?.5:1};return n("div",e({"data-edit-id":T,style:{border:"1px solid var(--il-border, #e5e7eb)",borderRadius:"12px",padding:"16px",width:"100%",display:"flex",flexDirection:"column",gap:"12px",backgroundColor:"var(--il-surface, #ffffff)"}},{children:[n("div",e({style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},{children:[i("span",e({style:{fontSize:"14px",fontWeight:500,color:F?"var(--il-muted, #717b8c)":"var(--il-foreground, #19213D)",fontFamily:'"Plus Jakarta Sans", sans-serif'}},{children:(null===(_=v.schema)||void 0===_?void 0:_.group_title)||(null===(C=v.schema)||void 0===C?void 0:C.title)||""})),!q&&i("button",e({title:G?"Save active edits first":"Edit",onClick:function(){var e,i,n,t,l,o,r;if(!(null===(e=v.uiState)||void 0===e?void 0:e.activeEditId)||q){var d={};R.forEach(function(e){var i;d[e.node.data_key]=null!==(i=I[e.node.data_key])&&void 0!==i?i:""}),D(d),null===(l=null===(t=v.uiState)||void 0===t?void 0:t.setPendingEditId)||void 0===l||l.call(t,null),null===(r=null===(o=v.uiState)||void 0===o?void 0:o.setActiveEditId)||void 0===r||r.call(o,T)}else null===(n=null===(i=v.uiState)||void 0===i?void 0:i.setPendingEditId)||void 0===n||n.call(i,v.uiState.activeEditId)},disabled:P||F,style:Q},{children:i(r,{size:14})}))]})),P&&F&&n("div",e({style:{display:"flex",alignItems:"center",color:"var(--il-foreground, #141414)",fontSize:"13px",fontWeight:500,fontStyle:"italic",paddingLeft:"2px"}},{children:[i("style",{children:"@keyframes spin { to { transform: rotate(360deg); } }"}),i(d,{size:16,style:{marginRight:8,animation:"spin 1s linear infinite"}}),"Checking the correctness of your selection..."]})),i("div",e({style:e(e({},s),{pointerEvents:q?"auto":"none"})},{children:v.renderChildren?v.renderChildren(void 0,V):null})),q&&n("div",e({style:{display:"flex",flexDirection:"column",alignItems:"flex-start",gap:"10px"}},{children:[n("div",e({style:{display:"flex",justifyContent:"flex-start",alignItems:"center",gap:"16px"}},{children:[i("button",e({onClick:function(){var e,i,n,t;D({}),null===(i=null===(e=v.uiState)||void 0===e?void 0:e.setPendingEditId)||void 0===i||i.call(e,null),null===(t=null===(n=v.uiState)||void 0===n?void 0:n.setActiveEditId)||void 0===t||t.call(n,null)},style:{background:"none",border:"none",color:"var(--il-muted, #64748B)",fontSize:"14px",fontWeight:500,cursor:"pointer",padding:0}},{children:"Discard Changes"})),n("button",e({onClick:function(){var e,i,n,t,l;if(!U){if(R.forEach(function(e){var i;return z(e.node.data_key,null!==(i=A[e.node.data_key])&&void 0!==i?i:"")}),null===(e=v.uiState)||void 0===e?void 0:e.setSendMessageInChat){var o="sk-".concat(Date.now(),"-").concat(Math.random().toString(36).slice(2,8)),r=R.filter(function(e){return e.node.ai_generated}),d=R.filter(function(e){return!e.node.ai_generated}),a="";if(r.length>0){var u=r.map(function(e){var i;return"".concat(e.node.title||e.node.data_key," to ").concat(function(e,i){var n,t;return null!==(t=null===(n=(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===i}))||void 0===n?void 0:n.label)&&void 0!==t?t:i||"empty"}(e.node,null!==(i=A[e.node.data_key])&&void 0!==i?i:""))});a+="Update ".concat(u.join(" and "))}if(d.length>0){var c=d.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")}v.uiState.setSendMessageInChat("__SKELETON__:".concat(o,":").concat(a))}W(!0),D({}),null===(n=null===(i=v.uiState)||void 0===i?void 0:i.setPendingEditId)||void 0===n||n.call(i,null),null===(l=null===(t=v.uiState)||void 0===t?void 0:t.setActiveEditId)||void 0===l||l.call(t,null)}},disabled:U,style:{display:"flex",alignItems:"center",gap:"8px",padding:"8px 16px",borderRadius:"12px",border:"none",backgroundColor:"var(--il-primary, #2563eb)",color:"var(--il-primary-fg, #ffffff)",fontSize:"14px",fontWeight:500,cursor:U?"not-allowed":"pointer",opacity:U?.5:1}},{children:[i(a,{size:18,strokeWidth:2.5,color:"var(--il-primary-fg, #ffffff)"})," Apply"]}))]})),H&&n("div",e({style:{display:"flex",alignItems:"center",gap:"6px"}},{children:[i(u,{size:14,style:{color:"var(--il-warning, #C2410C)"}}),i("div",e({style:{color:"var(--il-warning, #C2410C)",fontSize:"13px"}},{children:"Pending - Changes not applied yet. Apply or discard them to continue."}))]}))]}))]}))}export{v as default};
|
|
2
2
|
//# sourceMappingURL=GroupEditRow.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__assign as e}from"tslib";import{jsxs as t,jsx as i,Fragment as
|
|
1
|
+
import{__assign as e}from"tslib";import{jsxs as t,jsx as i,Fragment as r}from"react/jsx-runtime";import{useRef as n,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 v=[{key:"text",label:"Text"},{key:"prompt",label:"Prompt"}];function h(h){var m,x,b,g,y,S=n(""),E=o("text"),C=E[0],k=E[1],w=p(function(e){return e.backwardCompatibility}),I=h.id||"prompt-editor",A=f(h.schema),W=void 0!==h.hideEditControls?!!h.hideEditControls:A,T=W?!!h.parentEditing:(null===(m=h.uiState)||void 0===m?void 0:m.activeEditId)===I,z=!!(null===(x=h.uiState)||void 0===x?void 0:x.activeEditId)&&h.uiState.activeEditId!==I,L=n(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 O=(h.value||"").trim()===S.current.trim(),j={display:"flex",alignItems:"center",justifyContent:"center",padding:"8px",border:"1px solid var(--il-border, #e5e7eb)",borderRadius:"8px",cursor:"pointer",width:"36px",height:"36px",backgroundColor:"var(--il-surface, #ffffff)"},B=(null===(y=null===(g=null===(b=h.uiState)||void 0===b?void 0:b.highlights)||void 0===g?void 0:g.get("".concat(h.tierKey,"_").concat(h.variantIndex)))||void 0===y?void 0:y.instruction_prompt)||!1,M="var(--il-primary, #2563EB)",_=w?"37, 99, 235":"89, 37, 220",R=h.value||"",F=function(e){return h.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:"var(--il-foreground, #19213D)",fontFamily:'"Plus Jakarta Sans", sans-serif'}},{children:h.title})),h.enableViewToggle&&i("div",e({style:{display:"flex",alignItems:"center",gap:"2px",padding:"2px",backgroundColor:"var(--il-secondary-bg, #f1f5f9)",border:"1px solid var(--il-border, #E2E8F0)",borderRadius:"6px"}},{children:v.map(function(t){var r=t.key,n=t.label,o=C===r;return i("button",e({type:"button",onClick:function(){return k(r)},style:{padding:"3px 8px",borderRadius:"4px",border:"none",cursor:"pointer",fontSize:"11px",fontWeight:500,fontFamily:"Inter, sans-serif",backgroundColor:o?"var(--il-surface, #ffffff)":"transparent",color:o?M:"var(--il-muted, #64748B)",boxShadow:o?"0px 1px 2px rgba(18, 18, 23, 0.05)":"none"}},{children:n}),r)})}))]})),(h.subtitle||h.description)&&i("div",e({style:{fontFamily:"Inter",fontWeight:400,fontSize:"12px",lineHeight:"130%",color:"var(--il-muted, #64748B)",marginBottom:"4px"}},{children:h.subtitle||h.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:B?"1px solid ".concat(M):"none",borderRadius:"8px",boxShadow:B?"0 0 12px 3px rgba(".concat(_,", 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:h.enableViewToggle&&"text"===C?i(s,{rows:6,placeholder:h.placeholder||"Enter the instruction prompt..",value:R,onChange:function(e){return F(e.target.value)},isReadOnly:h.readOnly||h.isAiStreaming,inputReadOnly:!T,isHighlighted:B,errorMessage:h.errorMessage}):i(c,e({},h,{value:R,onChange:F,minHeight:"220px",maxHeight:"400px",readOnly:h.readOnly||h.isAiStreaming||!T}))}))})),!h.readOnly&&!W&&i("div",e({style:{display:"flex",gap:"8px"}},{children:T?t(r,{children:[t("button",e({onClick:function(){var e,t,i;if((h.value||"")!==S.current&&(null===(e=h.uiState)||void 0===e?void 0:e.setSendMessageInChat)){var r="sk-".concat(Date.now(),"-").concat(Math.random().toString(36).slice(2,8));h.uiState.setSendMessageInChat("__SKELETON__:".concat(r,":The ").concat(h.title," has been updated through the Learning Form"))}null===(i=null===(t=h.uiState)||void 0===t?void 0:t.setActiveEditId)||void 0===i||i.call(t,null)},disabled:O,style:e(e({},j),{backgroundColor:"var(--il-primary, #2563eb)",color:"var(--il-primary-fg, white)",width:"auto"})},{children:[i(l,{size:20,strokeWidth:2.5})," Apply"]})),i("button",e({onClick:function(){var e,t;(h.value||"")!==S.current&&h.onChange(S.current),null===(t=null===(e=h.uiState)||void 0===e?void 0:e.setActiveEditId)||void 0===t||t.call(e,null)},style:e(e({},j),{color:"var(--il-danger, #dc2626)"})},{children:i(d,{size:20,strokeWidth:2.5})}))]}):i("button",e({onClick:function(){var e,t;z||(S.current=h.value||"",null===(t=null===(e=h.uiState)||void 0===e?void 0:e.setActiveEditId)||void 0===t||t.call(e,I))},disabled:h.isAiStreaming||z,style:e(e({},j),{color:"var(--il-muted, #64748B)"})},{children:i(u,{size:20})}))}))]}))]}))}export{h as default};
|
|
2
2
|
//# sourceMappingURL=PromptTextEditorField.js.map
|
|
@@ -1,2 +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
|
|
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 y,isWrapperEditLocked as g}from"../utils/editLock.js";function x(x){var b,C,S,w,E,A,T,D,I,V=h(x.schema),_=x.tierKey||"tier_1",k=!1!==(null===(b=x.schema)||void 0===b?void 0:b.show_variant_pill),O=(null===(S=null===(C=x.state)||void 0===C?void 0:C.variantsByTier)||void 0===S?void 0:S[_])||[{}],j=(null===(w=x.schema)||void 0===w?void 0:w.properties)||{},P=y(x.schema,x.uiState),N=g(x.schema,x.uiState),F=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||P||y(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(j),i},[j,P,null===(E=x.uiState)||void 0===E?void 0:E.usedFor]),B=function(i){return Object.entries(j).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.","")})},R=B("TextInput")[0],z=B("PromptTextEditor")[0],L=B("ConditionSection"),M=L[0],K=L[1],J=f(function(i){return i.variantData}),W=o(null===(A=x.uiState)||void 0===A?void 0:A.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===(T=x.uiState)||void 0===T?void 0:T.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(R)||"",instructionPrompt:t(z)||"",whenToApplyConditions:m(t(M)||"","wta"),whenNotToApplyConditions:m(t(K)||"","wnta")}},function(i,n){var t=f.getState(),e=t.setVariantField,o=t.setVariantMirage;void 0!==i.instructionPrompt&&z&&e(n.tierKey,n.variantIndex,z,i.instructionPrompt),void 0!==i.ruleDescription&&R&&o(n.tierKey,n.variantIndex,R,i.ruleDescription),void 0!==i.whenToApplyText&&M&&o(n.tierKey,n.variantIndex,M,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 }"}),O.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),y=!0===e.is_variant,g=null===(r=x.uiState)||void 0===r?void 0:r.activeVariantAccordionIndex,b=void 0!==g?g===o:y,C=e.isReadOnly||(null===(a=x.uiState)||void 0===a?void 0:a.isAiStreaming),S="variant-".concat(_,"-").concat(o),w=V&&(null==q?void 0:q.id)===S,E=H===S,A=w?q.draft:null,T=C||E,D=(null===(l=null==J?void 0:J[_])||void 0===l?void 0:l[o])||{},I=![R,z,M,K].some(function(i){return i&&v(D[i])}),O=!A||!v(A.ruleDescription)||!A.whenToApplyConditions.some(function(i){return v(i.text)}),j=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}(C||P));if(V){var B=function(n,t){n&&(!function(i){return!!i&&F.has(i)}(n)?j[n]=i(i({},j[n]||{}),t):j[n]=i(i({},j[n]||{}),{readOnly:!0,enableInlineEdit:!1,hideEditControls:!0,parentEditing:w}))};B(R,i({readOnly:C||!w,enableInlineEdit:!1},A?{value:A.ruleDescription,onChange:function(i){return X({ruleDescription:i})}}:{})),B(z,i({readOnly:C||!w,hideEditControls:!0,parentEditing:w},A?{value:A.instructionPrompt,onChange:function(i){return X({instructionPrompt:i})}}:{})),B(M,i({readOnly:C,hideEditControls:!0,parentEditing:w},A?{conditions:A.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)}}:{})),B(K,i({readOnly:C,hideEditControls:!0,parentEditing:w},A?{conditions:A.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 L=ei===S;return t("div",i({style:{width:"100%"},"data-edit-id":V?S:void 0},{children:t(s,i({title:{type:m?"default":"variant",label:f,number:o+1,isNewVariant:y,isDefault:e.isDefault,isModified:e.isModified},expanded:b,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,b?null:o)},variant:"rule-behavior",showTitlePill:k,footerData:{ruleTitle:f,description:e.ruleDescription||""},readOnly:C,actionButtons:V?function(e,r){return V?N?null:!C||w||E?w||E?null:n("button",i({ref:function(i){ni.current[S]=i},title:T?"Editing unavailable":I?"Add":"Edit",onClick:function(i){i.stopPropagation(),Q(o,_,o,f),e||r()},disabled:T,style:{display:"flex",alignItems:"center",justifyContent:"center",padding:"6px 8px",borderRadius:"6px",border:"1px solid ".concat(L?"var(--il-primary, #7F56D9)":"var(--il-border, #E2E8F0)"),backgroundColor:L?"var(--il-primary-subtle, #f5f3ff)":"var(--il-surface, #ffffff)",color:L?"var(--il-primary, #2563EB)":"var(--il-muted, #64748B)",fontSize:"13px",fontWeight:500,cursor:T?"not-allowed":"pointer",opacity:T?.5:1,gap:"6px",transition:"border-color 150ms ease, background-color 150ms ease, color 150ms ease",animation:L?"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||N||w||E||T||ai(S)}},{children:[x.renderChildren?x.renderChildren(o,j,_):null,V&&(w||E)&&n("div",i({style:{display:"flex",alignItems:"center",gap:"6px",justifyContent:"flex-start"}},{children:[t("button",i({onClick:function(i){i.stopPropagation(),ii()},disabled:O||E,style:{display:"flex",alignItems:"center",gap:"6px",padding:"6px 10.5px",borderRadius:"6px",border:"1px solid var(--il-primary, #D9D6FE)",backgroundColor:E?"var(--il-primary-subtle, #f5f3ff)":"var(--il-surface, #ffffff)",color:"var(--il-primary, #2563EB)",fontSize:"13px",fontWeight:500,cursor:O||E?"not-allowed":"pointer",opacity:O?.5:1}},{children:E?"Validating...":"Save"})),!E&&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 var(--il-primary, #D9D6FE)",backgroundColor:"var(--il-surface, #ffffff)",color:"var(--il-primary, #2563EB)",fontSize:"13px",fontWeight:500,cursor:"pointer"}},{children:"Cancel"}))]})),V&&w&&(null===(p=x.uiState)||void 0===p?void 0:p.pendingEditId)===S&&n("div",i({style:{display:"flex",alignItems:"center",gap:"6px"}},{children:[t(d,{size:14,style:{color:"var(--il-warning, #C2410C)"}}),t("div",i({style:{color:"var(--il-warning, #C2410C)",fontSize:"13px"}},{children:"Pending - Changes not applied yet. Apply or discard them to continue."}))]}))]}))}))}),h)})]}))}export{x as default};
|
|
2
2
|
//# sourceMappingURL=VariantListField.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__assign as i}from"tslib";import{jsxs as e,jsx as t,Fragment as
|
|
1
|
+
import{__assign as i}from"tslib";import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{useState as n}from"react";import{ChevronDown as o,AlertTriangle as l}from"lucide-react";import a from"../../features/IL-OTJ/_components/AccordianSection.js";import{EditPencilIcon as d}from"../../features/IL-OTJ/_components/_svg/EditPencilIcon.js";import{sectionHasVariantWrapper as s,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 v={display:"flex",alignItems:"center",gap:"7px",padding:"7px 10.5px",borderRadius:"6px",border:"1px solid var(--il-primary, #D9D6FE)",color:"var(--il-primary, #2563EB)",fontSize:"14px",fontWeight:500},y=function(y){var b,h=y,x=h.schema,S=h.children,C=h.renderChildren,P=h.uiState,E=n(!!x.default_open),k=E[0],I=E[1],w="section-".concat(y.id||x.title||"accordion"),D=s(x.properties),j=c(x.properties,P),z=f(x),A=u(x,P),B=z&&!D&&j.length>0&&!A,_=p(w,x.properties,P);if(!B)return e("div",i({style:{border:"1px solid var(--il-border, #E2E8F0)",borderRadius:12,marginBottom:12,overflow:"hidden"}},{children:[e("button",i({type:"button",onClick:function(){return I(function(i){return!i})},"aria-expanded":k,style:{width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between",padding:"12px 16px",background:"var(--il-surface-alt, #f8fafc)",border:"none",cursor:"pointer",fontSize:14,fontWeight:500,color:"var(--il-foreground, #19213D)",fontFamily:'"Plus Jakarta Sans", sans-serif'}},{children:[x.title,t(o,{size:18,style:{transform:k?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.2s"}})]})),k&&e("div",i({style:{padding:16,display:"flex",flexDirection:"column",gap:12}},{children:[x.subtitle&&t("div",i({style:{fontFamily:"Inter",fontWeight:400,fontSize:12,lineHeight:"130%",color:"var(--il-muted, #64748B)"}},{children:x.subtitle})),g(x,P)&&C?C(void 0,m(x.properties)):S]}))]}));return t("div",i({"data-edit-id":w},{children:t(a,i({title:{type:"other",label:x.title||""},subtitle:x.subtitle,defaultOpen:null===(b=x.default_open)||void 0===b||b,isAiStreaming:null==P?void 0:P.isAiStreaming,actionButtons:function(n,o){if(_.isEditing)return e("div",i({style:{display:"flex",alignItems:"center",gap:"6px"}},{children:[t("button",i({onClick:function(i){i.stopPropagation(),_.save()},disabled:_.isSaveDisabled||_.isPending,style:i(i({},v),{backgroundColor:_.isPending?"var(--il-primary-subtle, #f5f3ff)":"var(--il-surface, #ffffff)",cursor:_.isSaveDisabled||_.isPending?"not-allowed":"pointer",opacity:_.isSaveDisabled?.5:1})},{children:_.isPending?"Validating...":"Save"})),!_.isPending&&t("button",i({onClick:function(i){i.stopPropagation(),_.cancel()},style:i(i({},v),{backgroundColor:"var(--il-surface, #ffffff)",cursor:"pointer"})},{children:"Cancel"}))]}));var l=_.isPending||!!(null==P?void 0:P.isAiStreaming),a=_.isEmpty?"Add":"Edit";return t("button",i({title:_.isPending?"Validating...":a,onClick:function(i){i.stopPropagation(),_.start(),n||o()},disabled:l,style:{display:"flex",alignItems:"center",justifyContent:"center",gap:"6px",padding:"6px 10px",border:"1px solid var(--il-border, #CBD5E1)",borderRadius:"6px",backgroundColor:"var(--il-surface, #ffffff)",color:"var(--il-muted, #64748B)",fontSize:"13px",fontWeight:500,cursor:l?"not-allowed":"pointer",opacity:l?.5:1}},{children:_.isPending?"Validating...":e(r,{children:[t(d,{size:12})," ",a]})}))},alwaysShowActions:!0},{children:e("div",i({style:{display:"flex",flexDirection:"column",gap:12}},{children:[C?C(void 0,_.childOverrides):S,(null==P?void 0:P.pendingEditId)===w&&e("div",i({style:{display:"flex",alignItems:"center",gap:"6px"}},{children:[t(l,{size:14,style:{color:"var(--il-warning, #C2410C)"}}),t("div",i({style:{color:"var(--il-warning, #C2410C)",fontSize:"13px"}},{children:"Pending - Changes not applied yet. Apply or discard them to continue."}))]}))]}))}))}))};export{y as default};
|
|
2
2
|
//# sourceMappingURL=Accordion.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HelloWorld.d.ts","sourceRoot":"","sources":["../../../../src/CommonComponents/HelloWorld.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,mCAEtB,CAAA"}
|
|
1
|
+
{"version":3,"file":"HelloWorld.d.ts","sourceRoot":"","sources":["../../../../src/CommonComponents/HelloWorld.tsx"],"names":[],"mappings":";AAEA,eAAO,MAAM,UAAU,mCAEtB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NoTableData.d.ts","sourceRoot":"","sources":["../../../../src/CommonComponents/NoTableData.tsx"],"names":[],"mappings":"AAEA,KAAK,KAAK,GAAG;IACT,OAAO,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,QAAA,MAAM,WAAW,UAAW,KAAK,gCAYhC,CAAA;AAED,OAAO,EAAE,WAAW,EAAE,CAAC"}
|
|
1
|
+
{"version":3,"file":"NoTableData.d.ts","sourceRoot":"","sources":["../../../../src/CommonComponents/NoTableData.tsx"],"names":[],"mappings":";AAEA,KAAK,KAAK,GAAG;IACT,OAAO,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,QAAA,MAAM,WAAW,UAAW,KAAK,gCAYhC,CAAA;AAED,OAAO,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContinueWithTemplateModal.d.ts","sourceRoot":"","sources":["../../../src/ContinueWithTemplateModal.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,0BAA0B,EAA4B,MAAM,8DAA8D,CAAC;
|
|
1
|
+
{"version":3,"file":"ContinueWithTemplateModal.d.ts","sourceRoot":"","sources":["../../../src/ContinueWithTemplateModal.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,0BAA0B,EAA4B,MAAM,8DAA8D,CAAC;AAKpI,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,gCAsKhC,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ILMarketplaceMockTest.d.ts","sourceRoot":"","sources":["../../../src/ILMarketplaceMockTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ILMarketplaceMockTest.d.ts","sourceRoot":"","sources":["../../../src/ILMarketplaceMockTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA+O1B,QAAA,MAAM,qBAAqB,yBA6F1B,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { type ReactNode } from "react";
|
|
2
2
|
import { LscGuidelineSection } from "./features/IL-marketplace/types/add-context.types";
|
|
3
|
-
import { GuidelineStatusActions, LscGuidelineClassNames, LscGuidelineLabels } from "./features/IL-marketplace/types";
|
|
3
|
+
import { GuidelineStatusActions, LscGuidelineClassNames, LscGuidelineLabels, LscGuidelineStyles } from "./features/IL-marketplace/types";
|
|
4
4
|
import { FileItem } from "./features/IL-marketplace/types/file-item";
|
|
5
5
|
import type { ExploreHighlightConfig, ExternalShareRbacConfig } from "./features/IL-marketplace/components/GuidelineLibraryCard";
|
|
6
|
-
import { ScopeTreeNode } from "
|
|
6
|
+
import type { ScopeTreeNode } from "./adapters/creativeWorkspaceAdapter";
|
|
7
7
|
import type { InstantLearningApiItem, PublishStepConfig } from "./features/IL-marketplace";
|
|
8
8
|
import type { MiddleDrawerOverrides } from "./features/LearningManagement/types";
|
|
9
9
|
import { AxiosRequestConfig } from "axios";
|
|
10
|
+
import { type ILMarketplaceTheme } from "./features/IL-marketplace/marketplaceTheme";
|
|
10
11
|
import { MF_EVENTS, type ILMarketplaceConfig, type IMicroFrontendApi } from "./features/IL-marketplace/utils/microfrontend";
|
|
12
|
+
export type { ILMarketplaceTheme } from "./features/IL-marketplace/marketplaceTheme";
|
|
11
13
|
export type { ILMarketplaceConfig, IMicroFrontendApi, SendILMarketplaceDataPayload } from "./features/IL-marketplace/utils/microfrontend";
|
|
12
14
|
export { MF_EVENTS };
|
|
13
15
|
export declare const IL_MARKETPLACE_TAB_ID = "IL Marketplace";
|
|
@@ -49,6 +51,7 @@ export type ILMarketplaceWrapperProps = {
|
|
|
49
51
|
treeSidebarData?: ScopeTreeNode;
|
|
50
52
|
labels: LscGuidelineLabels;
|
|
51
53
|
isILMarketplace?: boolean;
|
|
54
|
+
handleCardClickCallback?: (guideline: FileItem) => void;
|
|
52
55
|
handleViewButtonCallback?: (guideline: FileItem) => void;
|
|
53
56
|
handlePreviewButtonCallback?: (guideline: FileItem) => void;
|
|
54
57
|
/** Pin tooltip messages keyed by `instant_learning_id`. */
|
|
@@ -108,8 +111,8 @@ export type ILMarketplaceWrapperProps = {
|
|
|
108
111
|
scopeId?: string;
|
|
109
112
|
authToken?: string;
|
|
110
113
|
baseUrl: string;
|
|
111
|
-
|
|
112
|
-
|
|
114
|
+
/** Marketplace content-mode mapping UUID used to scope all marketplace data. */
|
|
115
|
+
contentModeMappingId: string;
|
|
113
116
|
userDetails: Record<string, any>;
|
|
114
117
|
baseWebsocketUrl: string;
|
|
115
118
|
assistantName: string;
|
|
@@ -128,6 +131,13 @@ export type ILMarketplaceWrapperProps = {
|
|
|
128
131
|
treeOverrides?: MiddleDrawerOverrides;
|
|
129
132
|
/** Host-supplied class name overrides, merged over the wrapper's internal defaults (host keys win). */
|
|
130
133
|
classNames?: LscGuidelineClassNames;
|
|
134
|
+
/** Per-component inline style overrides for precise changes such as font size or font weight. */
|
|
135
|
+
styles?: LscGuidelineStyles;
|
|
136
|
+
/**
|
|
137
|
+
* Scoped visual tokens for the complete marketplace experience, including Learning Management.
|
|
138
|
+
* Omitted values preserve the current library appearance.
|
|
139
|
+
*/
|
|
140
|
+
theme?: ILMarketplaceTheme;
|
|
131
141
|
isShareEnabled?: boolean;
|
|
132
142
|
/** Tab ids the share action is shown on; defaults to `[MY_KNOWLEDGE_BASES_TAB_ID]`. */
|
|
133
143
|
shareEnabledTabIds?: string[];
|
|
@@ -158,6 +168,7 @@ export type ILMarketplaceWrapperProps = {
|
|
|
158
168
|
axiosConfig?: AxiosRequestConfig;
|
|
159
169
|
mfApi?: IMicroFrontendApi;
|
|
160
170
|
config?: ILMarketplaceConfig;
|
|
171
|
+
disableRouting?: boolean;
|
|
161
172
|
};
|
|
162
173
|
declare const ILMarketplaceWrapper: (props: ILMarketplaceWrapperProps) => import("react").JSX.Element;
|
|
163
174
|
export default ILMarketplaceWrapper;
|
|
@@ -1 +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;
|
|
1
|
+
{"version":3,"file":"ILMarketplaceWrapper.d.ts","sourceRoot":"","sources":["../../../src/ILMarketplaceWrapper.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1 +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"}
|
|
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,62 @@
|
|
|
1
|
+
import type { ComponentType, CSSProperties } from "react";
|
|
2
|
+
import type { AIPromptEditorProps } from "@e-llm-studio/prompt-editor";
|
|
3
|
+
export interface ScopeTreeNode {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
type: string;
|
|
7
|
+
metrics: {
|
|
8
|
+
learningsCount: number;
|
|
9
|
+
stationsCount?: number;
|
|
10
|
+
};
|
|
11
|
+
children: ScopeTreeNode[];
|
|
12
|
+
sections?: Array<Record<string, unknown>>;
|
|
13
|
+
}
|
|
14
|
+
export interface TreeSectionConfig {
|
|
15
|
+
id: string;
|
|
16
|
+
label?: string;
|
|
17
|
+
icon?: unknown;
|
|
18
|
+
badgeKey?: string;
|
|
19
|
+
resolveLabel?: (node: ScopeTreeNode, depth: number) => string;
|
|
20
|
+
isVisible?: (node: ScopeTreeNode, depth: number) => boolean;
|
|
21
|
+
}
|
|
22
|
+
export interface NodeTypeConfig {
|
|
23
|
+
type: string;
|
|
24
|
+
label: string;
|
|
25
|
+
addChildLabel?: string;
|
|
26
|
+
addChildType?: "SCOPE" | "SUBSCOPE";
|
|
27
|
+
}
|
|
28
|
+
export interface TreeSidebarAdapterProps {
|
|
29
|
+
data: ScopeTreeNode | null;
|
|
30
|
+
defaultExpandedIds?: string[];
|
|
31
|
+
onSectionSelect?: (nodeId: string, sectionId: string) => void;
|
|
32
|
+
onNodeOptionsClick?: (nodeId: string) => void;
|
|
33
|
+
onAddChild?: (parentId: string, childType: "SCOPE" | "SUBSCOPE", parentName?: string) => void;
|
|
34
|
+
onRenameChild?: (scopeId: string, initialName: string) => void;
|
|
35
|
+
onDeleteChild?: (scopeId: string, scopeName: string, learningsCount: number) => void;
|
|
36
|
+
searchQuery?: string;
|
|
37
|
+
searchSections?: boolean;
|
|
38
|
+
onSearchCountChange?: (count: number) => void;
|
|
39
|
+
sectionsConfig?: TreeSectionConfig[];
|
|
40
|
+
nodeTypesConfig?: NodeTypeConfig[];
|
|
41
|
+
selectedRuleSetId?: string | null;
|
|
42
|
+
activeSectionId?: string;
|
|
43
|
+
showChildrenCount?: boolean;
|
|
44
|
+
showSectionBadge?: boolean;
|
|
45
|
+
showNodeOptions?: boolean;
|
|
46
|
+
hideEmptyNodes?: boolean;
|
|
47
|
+
showEmptyState?: boolean;
|
|
48
|
+
emptyStateText?: string;
|
|
49
|
+
isDraftMode?: boolean;
|
|
50
|
+
enableEllipsis?: boolean;
|
|
51
|
+
draftChipClassName?: string;
|
|
52
|
+
draftChipDotClassName?: string;
|
|
53
|
+
draftChipStyle?: CSSProperties;
|
|
54
|
+
}
|
|
55
|
+
export type AIPromptEditorAdapterProps = AIPromptEditorProps;
|
|
56
|
+
export interface CreativeWorkspaceAdapter {
|
|
57
|
+
TreeSidebar: ComponentType<TreeSidebarAdapterProps>;
|
|
58
|
+
AIPromptEditor: ComponentType<AIPromptEditorAdapterProps>;
|
|
59
|
+
}
|
|
60
|
+
export declare const CreativeWorkspaceAdapterProvider: import("react").Provider<CreativeWorkspaceAdapter>;
|
|
61
|
+
export declare const useCreativeWorkspaceAdapter: () => CreativeWorkspaceAdapter;
|
|
62
|
+
//# sourceMappingURL=creativeWorkspaceAdapter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"creativeWorkspaceAdapter.d.ts","sourceRoot":"","sources":["../../../../src/adapters/creativeWorkspaceAdapter.tsx"],"names":[],"mappings":"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"}
|
|
@@ -27,7 +27,7 @@ export declare const applyAxiosConfig: (config?: AxiosRequestConfig) => void;
|
|
|
27
27
|
* The config currently in force, for call sites that build a one-off request
|
|
28
28
|
* rather than using a registered instance.
|
|
29
29
|
*/
|
|
30
|
-
export declare const getAxiosConfig: () => AxiosRequestConfig<any> | undefined;
|
|
30
|
+
export declare const getAxiosConfig: () => AxiosRequestConfig<any, any> | undefined;
|
|
31
31
|
/**
|
|
32
32
|
* The shared instance for every call site that does not own a dedicated one —
|
|
33
33
|
* hooks, `utils/*API.ts`, chat components, and the plain request/response calls
|
|
@@ -1 +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,
|
|
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,gDAAsB,CAAC;AAElD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,IAAI,eAAwB,CAAC"}
|