@e-llm-studio/instant-learning 1.3.0-alpha.279 → 1.3.0-alpha.280
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/dist/6fbbe065ef78c384.gif +0 -0
- package/dist/cjs/6fbbe065ef78c384.gif +0 -0
- package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/PublishToMarketplaceCompnent.js +1 -1
- package/dist/cjs/features/IL-marketplace/services/IL-marketplace.api.js +1 -1
- package/dist/cjs/features/LearningManagement/LearningTemplateLayout.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/public/ThinkingBulbIcon.gif.js +2 -0
- package/dist/cjs/features/LearningManagement/public/ThinkingBulbIcon.gif.js.map +1 -0
- package/dist/cjs/plugins/ValueTypes/Default/DefaultTeachMeRenderer.js +1 -1
- package/dist/features/IL-marketplace/components/ILMarketPlacePublish/PublishToMarketplaceCompnent.js +1 -1
- package/dist/features/IL-marketplace/services/IL-marketplace.api.js +1 -1
- package/dist/features/LearningManagement/LearningTemplateLayout.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/public/ThinkingBulbIcon.gif.js +2 -0
- package/dist/features/LearningManagement/public/ThinkingBulbIcon.gif.js.map +1 -0
- package/dist/plugins/ValueTypes/Default/DefaultTeachMeRenderer.js +1 -1
- package/dist/types/src/ThinkingBulbIconComponent.d.ts +4 -0
- package/dist/types/src/ThinkingBulbIconComponent.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/components/ILMarketPlacePublish/PublishToMarketplaceCompnent.d.ts.map +1 -1
- package/dist/types/src/features/IL-marketplace/services/IL-marketplace.api.d.ts +0 -17
- package/dist/types/src/features/IL-marketplace/services/IL-marketplace.api.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/LearningManagementTest.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/components/InstantLearningModal.d.ts +0 -2
- package/dist/types/src/features/LearningManagement/components/InstantLearningModal.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/components/InstantLearningModalDynamic.d.ts +0 -2
- package/dist/types/src/features/LearningManagement/components/InstantLearningModalDynamic.d.ts.map +1 -1
- package/dist/types/src/plugins/ValueTypes/Default/DefaultTeachMeRenderer.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/cjs/features/LearningManagement/components/CreateLearningSetModal.js +0 -2
- package/dist/cjs/features/LearningManagement/components/CreateLearningSetModal.js.map +0 -1
- package/dist/cjs/features/LearningManagement/styles/CreateLearningSetModal.module.css.js +0 -2
- package/dist/cjs/features/LearningManagement/styles/CreateLearningSetModal.module.css.js.map +0 -1
- package/dist/features/LearningManagement/components/CreateLearningSetModal.js +0 -2
- package/dist/features/LearningManagement/components/CreateLearningSetModal.js.map +0 -1
- package/dist/features/LearningManagement/styles/CreateLearningSetModal.module.css.js +0 -2
- package/dist/features/LearningManagement/styles/CreateLearningSetModal.module.css.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThinkingBulbIcon.gif.js","sources":["../../../../src/features/LearningManagement/public/ThinkingBulbIcon.gif"],"sourcesContent":["export default \"6fbbe065ef78c384.gif\""],"names":["ThinkingBulb"],"mappings":"AAAA,IAAeA,EAAA"}
|
|
@@ -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 i}from"react/jsx-runtime";import{useMemo as n}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 m}from"react-dom/server";import{resolveRegistryComponent as g}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,D=b.isDraftFlow,_=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=h.app_integration_id,O=h.content_mode_mapping_id,j="instruction_prompt",k=r(function(e){return e.teachMeConfig});console.log("teachMeConfig:",k);var G=l("learningMetadataComponents.properties.instruction_prompt.bpa_ui_component",""),J=f(function(e){var t;return null!==(t=e.learningMetadata[j])&&void 0!==t?t:""}),z=f(function(e){return e.setLearningMetadataField}),H=n(function(){return g(G)},[G]),q=s(),K=q.greeting,Q=q.subtitle,U=q.actions,X=m(t("p",{children:[i("span",{children:K}),i("div",{style:{marginTop:"8px"}}),i(u,{children:Q}),i("div",{style:{marginTop:"8px"}}),i("span",e({className:"clickable-button-group"},{children:U.map(function(t){var n=t.label,a=t.value;return i("button",e({className:"clickable-button","data-value":a},{children:n}),n)})}))]})),Y=(null===(T=h.pluginPayload)||void 0===T?void 0:T.dynamicOptions)||{},Z=(null===(L=h.pluginPayload)||void 0===L?void 0:L.prefilledData)||{},$={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:H,instructionPrompt:J,setInstructionPrompt:function(e){return z(j,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)},ee={dynamicOptions:Y,prefilledData:Z},te=h.useDynamicForm||!0===(null==k?void 0:k.useDynamicForm)?o:a,ie=d(h.enableChatLogs);return i(te,{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:D,triggerValidateMessage:_,copiedRule:P,copiedSourceTier:x,copiedTargetTier:V,initialDraftMessage:F,postSaveCallback:N,initialChatMessage:X,applicationIntegrationId:null!=B?B:"",contentModeMappingId:O,modeId:R,mode:E,is_publishing:W,uiStateLabels:$,dynamicFormConfig:ee,enableChatLogs:ie,customSections:null})};export{h as default};
|
|
2
2
|
//# sourceMappingURL=DefaultTeachMeRenderer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThinkingBulbIconComponent.d.ts","sourceRoot":"","sources":["../../../src/ThinkingBulbIconComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,QAAA,MAAM,yBAAyB,yBAI9B,CAAA;AAED,eAAe,yBAAyB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublishToMarketplaceCompnent.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/IL-marketplace/components/ILMarketPlacePublish/PublishToMarketplaceCompnent.tsx"],"names":[],"mappings":";AAKA,OAAO,KAAK,EACV,sBAAsB,EACtB,iBAAiB,EAGlB,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"PublishToMarketplaceCompnent.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/IL-marketplace/components/ILMarketPlacePublish/PublishToMarketplaceCompnent.tsx"],"names":[],"mappings":";AAKA,OAAO,KAAK,EACV,sBAAsB,EACtB,iBAAiB,EAGlB,MAAM,8BAA8B,CAAC;AAqBtC,eAAO,MAAM,qBAAqB,EAAE,iBAAiB,EAKpD,CAAC;AAYF,MAAM,WAAW,kCAAkC;IACjD,KAAK,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAC5B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAC;IACnC;;;;OAIG;IACH,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,CAAC,sBAAsB,CAAC,KAAK,IAAI,CAAC;IACrE,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB;;;OAGG;IACH,0BAA0B,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;IAC3D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,gEAAgE;IAChE,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,4BAA4B,EAAE,MAAM,CAAC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAubD,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,kCAAkC,+BAMtF"}
|
|
@@ -40,17 +40,6 @@ export interface ContentTypeData {
|
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
42
|
export type MarketplaceDomainsResponse = StandardAPIResponse<MarketplaceDomainsData>;
|
|
43
|
-
/** Tiers are application-mapping scoped, including for marketplace TeachMe. */
|
|
44
|
-
export interface MarketplaceTier {
|
|
45
|
-
id: string;
|
|
46
|
-
tier_title: string;
|
|
47
|
-
tier_priority: number | null;
|
|
48
|
-
}
|
|
49
|
-
export interface MarketplaceTiersData {
|
|
50
|
-
status: string;
|
|
51
|
-
data: MarketplaceTier[];
|
|
52
|
-
}
|
|
53
|
-
export type MarketplaceTiersResponse = StandardAPIResponse<MarketplaceTiersData>;
|
|
54
43
|
export type ContentTypesResponse = StandardAPIResponse<ContentTypeData>;
|
|
55
44
|
export interface MarketplaceInstanceVersionData {
|
|
56
45
|
data: {
|
|
@@ -88,12 +77,6 @@ export declare const fetchMarketplacePublishILKBData: (ilInstanceApplicationMapp
|
|
|
88
77
|
*/
|
|
89
78
|
export declare const fetchInstanceScopeTree: (ilInstanceApplicationMappingId: string, authToken?: string, baseUrl?: string) => Promise<MarketplaceDomainsResponse>;
|
|
90
79
|
export declare const fetchMarketplaceDomains: (applicationMappingId: string, authToken?: string, baseUrl?: string, params?: Pick<MarketplaceQueryParams, "content_mode_mapping_id">) => Promise<MarketplaceDomainsResponse>;
|
|
91
|
-
/**
|
|
92
|
-
* Loads the tier set belonging to a marketplace application mapping.
|
|
93
|
-
* Keep this separate from the store-backed LMS `fetchTiers`: publishing may
|
|
94
|
-
* follow another application's TeachMe session, whose tiers must not be reused.
|
|
95
|
-
*/
|
|
96
|
-
export declare const fetchMarketplaceTiers: (applicationMappingId: string, authToken?: string, baseUrl?: string) => Promise<MarketplaceTiersResponse>;
|
|
97
80
|
export interface CreateMarketplaceDomainPayload {
|
|
98
81
|
topic: string;
|
|
99
82
|
scope_reference_id: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IL-marketplace.api.d.ts","sourceRoot":"","sources":["../../../../../../src/features/IL-marketplace/services/IL-marketplace.api.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,+DAA+D,CAAC;AAsD5G,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE,iBAAiB,EAAE,CAAC;QAC7B,OAAO,CAAC,EAAE,iBAAiB,EAAE,CAAC;KAC/B,CAAC;IACF,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,4BAA4B,GAAG,mBAAmB,CAAC,wBAAwB,CAAC,CAAC;AAEzF,MAAM,WAAW,wBAAwB;IACvC,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,wBAAwB,CAAC;IAClC,QAAQ,EAAE,qBAAqB,EAAE,CAAC;CACnC;AAED,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE;QACJ,IAAI,EAAE,qBAAqB,CAAC;KAC7B,CAAC;CACH;AAED,MAAM,WAAW,WAAW;IAC1B,eAAe,EAAE,MAAM,CAAC;IACxB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,wBAAwB,EAAE,MAAM,CAAC;CAClC;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,WAAW,EAAE,CAAC;KACxB,CAAA;CACF;AAED,MAAM,MAAM,0BAA0B,GAAG,mBAAmB,CAAC,sBAAsB,CAAC,CAAC;AAErF
|
|
1
|
+
{"version":3,"file":"IL-marketplace.api.d.ts","sourceRoot":"","sources":["../../../../../../src/features/IL-marketplace/services/IL-marketplace.api.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,+DAA+D,CAAC;AAsD5G,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE,iBAAiB,EAAE,CAAC;QAC7B,OAAO,CAAC,EAAE,iBAAiB,EAAE,CAAC;KAC/B,CAAC;I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,CAAC;AAEL,MAAM,WAAW,kCAAkC;IACjD,UAAU,EAAE,MAAM,CAAC;IACnB,kCAAkC,EAAE,MAAM,CAAC;IAC3C,sBAAsB,EAAE,MAAM,CAAC;IAC/B,MAAM,EAAE,UAAU,GAAG,UAAU,CAAC;CACjC;AAED,MAAM,MAAM,mCAAmC,GAAG,mBAAmB,CAAC,GAAG,CAAC,CAAC;AAE3E,eAAO,MAAM,2BAA2B,YAC7B,kCAAkC,cAC/B,MAAM,YACR,MAAM,KACf,QAAQ,mCAAmC,CAM1C,CAAC;AAEL,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,mBAAmB,EAAE,CAAC;CAC9B;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,yBAAyB,CAAC;IAChC,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,MAAM,4BAA4B,GAAG,mBAAmB,CAAC,wBAAwB,CAAC,CAAC;AAEzF,eAAO,MAAM,yBAAyB,sBACjB,MAAM,WAChB,MAAM,cACH,MAAM,YACR,MAAM,KACf,QAAQ,4BAA4B,CAKpC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LearningManagementTest.d.ts","sourceRoot":"","sources":["../../../../../src/features/LearningManagement/LearningManagementTest.tsx"],"names":[],"mappings":";AAMA,iBAAS,sBAAsB,
|
|
1
|
+
{"version":3,"file":"LearningManagementTest.d.ts","sourceRoot":"","sources":["../../../../../src/features/LearningManagement/LearningManagementTest.tsx"],"names":[],"mappings":";AAMA,iBAAS,sBAAsB,gCAiW9B;AAGD,eAAe,sBAAsB,CAAA"}
|
|
@@ -35,8 +35,6 @@ interface InstantLearningModalProps {
|
|
|
35
35
|
applicationIntegrationId: string;
|
|
36
36
|
/** Marketplace content-mode mapping forwarded to the graphql customMetadata. */
|
|
37
37
|
contentModeMappingId?: string;
|
|
38
|
-
/** Source template ID supplied by marketplace publishing; null for other Teach Me flows. */
|
|
39
|
-
instantLearningId?: string | null;
|
|
40
38
|
modeId: string;
|
|
41
39
|
uiStateLabels?: any;
|
|
42
40
|
customSections?: React.ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InstantLearningModal.d.ts","sourceRoot":"","sources":["../../../../../../src/features/LearningManagement/components/InstantLearningModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAqCjF,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAWpE,OAAO,EAAE,mBAAmB,EAAqB,MAAM,uBAAuB,CAAC;AAoB/E,UAAU,yBAAyB;IACjC,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,+EAA+E;IAC/E,WAAW,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;IACpC,sFAAsF;IACtF,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,qEAAqE;IACrE,eAAe,CAAC,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC;IACvC;;;;;OAKG;IACH,IAAI,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAC;IAClC,iFAAiF;IACjF,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,sBAAsB,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC,CAAC;IAC7E,6FAA6F;IAC7F,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;IACnC,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,gBAAgB,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9C,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,wBAAwB,EAAE,MAAM,CAAC;IACjC,gFAAgF;IAChF,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,
|
|
1
|
+
{"version":3,"file":"InstantLearningModal.d.ts","sourceRoot":"","sources":["../../../../../../src/features/LearningManagement/components/InstantLearningModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAqCjF,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAWpE,OAAO,EAAE,mBAAmB,EAAqB,MAAM,uBAAuB,CAAC;AAoB/E,UAAU,yBAAyB;IACjC,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,+EAA+E;IAC/E,WAAW,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;IACpC,sFAAsF;IACtF,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,qEAAqE;IACrE,eAAe,CAAC,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC;IACvC;;;;;OAKG;IACH,IAAI,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAC;IAClC,iFAAiF;IACjF,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,sBAAsB,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC,CAAC;IAC7E,6FAA6F;IAC7F,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;IACnC,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,gBAAgB,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9C,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,wBAAwB,EAAE,MAAM,CAAC;IACjC,gFAAgF;IAChF,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAC,GAAG,CAAC;IACnB,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACjC,iFAAiF;IACjF,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAoBD;;;;GAIG;AACH,eAAO,MAAM,eAAe,QAAS,MAAM,GAAG,GAAG,WAMhD,CAAC;AAwJF,QAAA,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CA4+O7D,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
package/dist/types/src/features/LearningManagement/components/InstantLearningModalDynamic.d.ts
CHANGED
|
@@ -38,8 +38,6 @@ interface InstantLearningModalProps {
|
|
|
38
38
|
applicationIntegrationId: string;
|
|
39
39
|
/** Marketplace content-mode mapping forwarded to the graphql customMetadata. */
|
|
40
40
|
contentModeMappingId?: string;
|
|
41
|
-
/** Source template ID supplied by marketplace publishing; null for other Teach Me flows. */
|
|
42
|
-
instantLearningId?: string | null;
|
|
43
41
|
modeId: string;
|
|
44
42
|
uiStateLabels?: any;
|
|
45
43
|
/**
|
package/dist/types/src/features/LearningManagement/components/InstantLearningModalDynamic.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InstantLearningModalDynamic.d.ts","sourceRoot":"","sources":["../../../../../../src/features/LearningManagement/components/InstantLearningModalDynamic.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAkCjF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8CAA8C,CAAC;AAMhF,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAWpE,OAAO,EAAE,mBAAmB,EAAqB,MAAM,uBAAuB,CAAC;AAuB/E,UAAU,yBAAyB;IACjC,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,+EAA+E;IAC/E,WAAW,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;IACpC,sFAAsF;IACtF,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,qEAAqE;IACrE,eAAe,CAAC,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC;IACvC;;;;;OAKG;IACH,IAAI,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAC;IAClC,iFAAiF;IACjF,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,sBAAsB,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC,CAAC;IAC7E,6FAA6F;IAC7F,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,uFAAuF;IACvF,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,UAAU,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;IACnC,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,gBAAgB,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9C,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,wBAAwB,EAAE,MAAM,CAAC;IACjC,gFAAgF;IAChF,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,
|
|
1
|
+
{"version":3,"file":"InstantLearningModalDynamic.d.ts","sourceRoot":"","sources":["../../../../../../src/features/LearningManagement/components/InstantLearningModalDynamic.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAkCjF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8CAA8C,CAAC;AAMhF,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAWpE,OAAO,EAAE,mBAAmB,EAAqB,MAAM,uBAAuB,CAAC;AAuB/E,UAAU,yBAAyB;IACjC,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,+EAA+E;IAC/E,WAAW,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;IACpC,sFAAsF;IACtF,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,qEAAqE;IACrE,eAAe,CAAC,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC;IACvC;;;;;OAKG;IACH,IAAI,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAC;IAClC,iFAAiF;IACjF,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,sBAAsB,CAAC,EAAE,KAAK,C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AE,CAAC,yBAAyB,CA6jPpE,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultTeachMeRenderer.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/ValueTypes/Default/DefaultTeachMeRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,EAAE,mBAAmB,EAAE,MAAM,2DAA2D,CAAC;AAMhG,MAAM,WAAW,cAAc;IAC3B,WAAW,EAAE;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,6BAA6B,EAAE,MAAM,CAAA;KAAE,CAAC;IACzE,gBAAgB,EAAE;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,6BAA6B,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9E,eAAe,EAAE;QAAE,sBAAsB,EAAE,OAAO,CAAA;KAAE,CAAC;IACrD,gBAAgB,EAAE;QAAE,kBAAkB,EAAE,OAAO,CAAA;KAAE,CAAC;IAClD,kBAAkB,EAAE,OAAO,CAAC;CAC/B;AAUD,QAAA,MAAM,sBAAsB,UAAW,mBAAmB,
|
|
1
|
+
{"version":3,"file":"DefaultTeachMeRenderer.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/ValueTypes/Default/DefaultTeachMeRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,EAAE,mBAAmB,EAAE,MAAM,2DAA2D,CAAC;AAMhG,MAAM,WAAW,cAAc;IAC3B,WAAW,EAAE;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,6BAA6B,EAAE,MAAM,CAAA;KAAE,CAAC;IACzE,gBAAgB,EAAE;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,6BAA6B,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9E,eAAe,EAAE;QAAE,sBAAsB,EAAE,OAAO,CAAA;KAAE,CAAC;IACrD,gBAAgB,EAAE;QAAE,kBAAkB,EAAE,OAAO,CAAA;KAAE,CAAC;IAClD,kBAAkB,EAAE,OAAO,CAAC;CAC/B;AAUD,QAAA,MAAM,sBAAsB,UAAW,mBAAmB,sBA2LzD,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@e-llm-studio/instant-learning",
|
|
3
|
-
"version": "1.3.0-alpha.
|
|
3
|
+
"version": "1.3.0-alpha.280",
|
|
4
4
|
"author": "Devesh Patel",
|
|
5
5
|
"description": "",
|
|
6
6
|
"license": "MIT",
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
"@e-llm-studio/audit-log": "^2.0.12",
|
|
158
158
|
"@e-llm-studio/citation": "^0.0.216",
|
|
159
159
|
"@e-llm-studio/creative-workspace-ui-component": "0.0.48",
|
|
160
|
-
"@e-llm-studio/federated-dashboard-components": "
|
|
160
|
+
"@e-llm-studio/federated-dashboard-components": "^2.1.2-test-UIFixes-HumInt",
|
|
161
161
|
"@e-llm-studio/watch-me-work": "^0.0.25",
|
|
162
162
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
163
163
|
"@react-pdf-viewer/core": "^3.12.0",
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),s=require("react/jsx-runtime"),a=require("react"),l=require("lucide-react"),i=require("../styles/CreateLearningSetModal.module.css.js");exports.default=function(n){var t=n.isOpen,r=n.onClose,c=n.onSubmit,d=n.title,u=n.description,o=n.inputLabel,_=n.submitLabel,f=n.placeholder,m=void 0===f?"":f,g=n.initialValue,h=void 0===g?"":g,v=n.isLoading,x=void 0!==v&&v,j=a.useState(""),p=j[0],b=j[1],N=a.useState(null),C=N[0],q=N[1];return a.useEffect(function(){t&&(b(h),q(null))},[t,h]),t?s.jsx("div",e.__assign({className:i.default.overlay},{children:s.jsxs("div",e.__assign({className:i.default.modal},{children:[s.jsxs("div",e.__assign({className:i.default.header},{children:[s.jsxs("div",e.__assign({className:i.default.headerContent},{children:[s.jsx("h2",e.__assign({className:i.default.title},{children:d})),u&&s.jsx("p",e.__assign({className:i.default.description},{children:u}))]})),s.jsx("button",e.__assign({onClick:r,className:i.default.closeBtn,disabled:x},{children:s.jsx(l.X,{size:24})}))]})),s.jsx("div",e.__assign({className:i.default.form},{children:s.jsxs("div",e.__assign({className:i.default.formGroup},{children:[s.jsxs("label",e.__assign({className:i.default.label},{children:[s.jsx("span",e.__assign({className:i.default.asterisk},{children:"*"})),o]})),s.jsx("input",{type:"text",value:p,onChange:function(e){b(e.target.value),C&&q(null)},className:"".concat(i.default.inputField," ").concat(C?i.default.inputError:""),placeholder:m,disabled:x}),C&&s.jsx("p",e.__assign({className:i.default.errorMessage},{children:C}))]}))})),s.jsxs("div",e.__assign({className:i.default.footer},{children:[s.jsx("button",e.__assign({onClick:r,className:i.default.cancelBtn,disabled:x},{children:"Cancel"})),s.jsx("button",e.__assign({onClick:function(){return e.__awaiter(void 0,void 0,void 0,function(){var s;return e.__generator(this,function(e){switch(e.label){case 0:if(!(p.trim()?(q(null),1):(q("".concat(o.replace("*","").trim()," is required")),0)))return[2];e.label=1;case 1:return e.trys.push([1,3,,4]),[4,c(p)];case 2:return e.sent(),r(),[3,4];case 3:return s=e.sent(),q((null==s?void 0:s.message)||"An error occurred. Please try again."),[3,4];case 4:return[2]}})})},className:i.default.confirmBtn,disabled:x},{children:x?s.jsxs(s.Fragment,{children:[s.jsx(l.Loader2,{className:i.default.spinner}),"Save"===_?"Saving...":"Creating..."]}):_}))]}))]}))})):null};
|
|
2
|
-
//# sourceMappingURL=CreateLearningSetModal.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CreateLearningSetModal.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("../../../node_modules/style-inject/dist/style-inject.es.js").default("@keyframes CreateLearningSetModal-module_spin__0BrCH{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.CreateLearningSetModal-module_overlay__iwLU2{align-items:center;background-color:#0000004d;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:9999}.CreateLearningSetModal-module_modal__TIP0O{background-color:#fff;border-radius:.75rem;box-shadow:0 25px 50px -12px #00000040;display:flex;flex-direction:column;max-width:90%;padding:1.5rem;position:relative;width:600px}.CreateLearningSetModal-module_header__alW8D{align-items:flex-start;display:flex;gap:1rem;justify-content:space-between;margin-bottom:1.5rem}.CreateLearningSetModal-module_headerContent__bxA6y{flex:1}.CreateLearningSetModal-module_title__vlj8Q{color:#19213d;font-size:1.125rem;font-weight:500;margin:0}.CreateLearningSetModal-module_description__TGliO{color:#666f8d;font-size:.875rem;font-weight:400;line-height:1.5;margin-top:.25rem}.CreateLearningSetModal-module_closeBtn__33qJN{align-items:center;background:#0000;border:none;border-radius:.375rem;color:#9ca3af;cursor:pointer;display:flex;justify-content:center;padding:.25rem;transition:color .2s,background-color .2s}.CreateLearningSetModal-module_closeBtn__33qJN:hover{background-color:#f3f4f6;color:#4b5563}.CreateLearningSetModal-module_closeBtn__33qJN:focus{outline:none}.CreateLearningSetModal-module_form__e8iCL{display:flex;flex-direction:column;gap:1.25rem}.CreateLearningSetModal-module_formGroup__RydF4{display:flex;flex-direction:column;gap:.375rem;position:relative}.CreateLearningSetModal-module_label__q-hkm{align-items:center;color:#19213d;display:flex;font-size:.875rem;font-weight:500}.CreateLearningSetModal-module_asterisk__cXpjU{color:#8f2c23;font-size:1rem;font-weight:600;margin-right:.25rem}.CreateLearningSetModal-module_inputField__nnq0-{background-color:#fff;border:1px solid #f0f2f5;border-radius:.375rem;box-sizing:border-box;color:#19213d;font-size:.875rem;outline:none;padding:.625rem .75rem;transition:border-color .2s,box-shadow .2s;width:100%}.CreateLearningSetModal-module_inputField__nnq0-::placeholder{color:#9ca3af}.CreateLearningSetModal-module_inputField__nnq0-:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb33}.CreateLearningSetModal-module_inputError__Q78Vy{border-color:#8f2c23}.CreateLearningSetModal-module_inputError__Q78Vy:focus{border-color:#8f2c23;box-shadow:0 0 0 2px #8f2c2333}.CreateLearningSetModal-module_errorMessage__z0WBC{color:#8f2c23;font-size:.75rem;font-weight:400;margin-top:.25rem}.CreateLearningSetModal-module_footer__qc-SJ{display:flex;gap:.75rem;justify-content:flex-end;margin-top:1rem}.CreateLearningSetModal-module_cancelBtn__YiIV7{background-color:initial;border:1px solid #e2e8f0;border-radius:.375rem;color:#64748b;cursor:pointer;font-size:.875rem;font-weight:500;padding:.5rem 1rem;transition:background-color .2s}.CreateLearningSetModal-module_cancelBtn__YiIV7:hover:not(:disabled){background-color:#f9fafb}.CreateLearningSetModal-module_cancelBtn__YiIV7:disabled{cursor:not-allowed;opacity:.5}.CreateLearningSetModal-module_confirmBtn__8oMwL{align-items:center;background-color:#2563eb;border:none;border-radius:.375rem;color:#fff;cursor:pointer;display:inline-flex;font-size:.875rem;font-weight:500;justify-content:center;padding:.5rem 1rem;transition:background-color .2s}.CreateLearningSetModal-module_confirmBtn__8oMwL:hover:not(:disabled){background-color:#1d4ed8}.CreateLearningSetModal-module_confirmBtn__8oMwL:disabled{cursor:not-allowed;opacity:.5}.CreateLearningSetModal-module_spinner__SERKD{animation:CreateLearningSetModal-module_spin__0BrCH 1s linear infinite;color:#fff;height:1rem;margin-right:.5rem;width:1rem}"),exports.default={overlay:"CreateLearningSetModal-module_overlay__iwLU2",modal:"CreateLearningSetModal-module_modal__TIP0O",header:"CreateLearningSetModal-module_header__alW8D",headerContent:"CreateLearningSetModal-module_headerContent__bxA6y",title:"CreateLearningSetModal-module_title__vlj8Q",description:"CreateLearningSetModal-module_description__TGliO",closeBtn:"CreateLearningSetModal-module_closeBtn__33qJN",form:"CreateLearningSetModal-module_form__e8iCL",formGroup:"CreateLearningSetModal-module_formGroup__RydF4",label:"CreateLearningSetModal-module_label__q-hkm",asterisk:"CreateLearningSetModal-module_asterisk__cXpjU",inputField:"CreateLearningSetModal-module_inputField__nnq0-",inputError:"CreateLearningSetModal-module_inputError__Q78Vy",errorMessage:"CreateLearningSetModal-module_errorMessage__z0WBC",footer:"CreateLearningSetModal-module_footer__qc-SJ",cancelBtn:"CreateLearningSetModal-module_cancelBtn__YiIV7",confirmBtn:"CreateLearningSetModal-module_confirmBtn__8oMwL",spinner:"CreateLearningSetModal-module_spinner__SERKD",spin:"CreateLearningSetModal-module_spin__0BrCH"};
|
|
2
|
-
//# sourceMappingURL=CreateLearningSetModal.module.css.js.map
|
package/dist/cjs/features/LearningManagement/styles/CreateLearningSetModal.module.css.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CreateLearningSetModal.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as e,__awaiter as a,__generator as l}from"tslib";import{jsx as r,jsxs as i,Fragment as n}from"react/jsx-runtime";import{useState as s,useEffect as t}from"react";import{X as c,Loader2 as o}from"lucide-react";import d from"../styles/CreateLearningSetModal.module.css.js";var u=function(u){var m=u.isOpen,h=u.onClose,p=u.onSubmit,v=u.title,f=u.description,N=u.inputLabel,b=u.submitLabel,g=u.placeholder,C=void 0===g?"":g,y=u.initialValue,k=void 0===y?"":y,L=u.isLoading,S=void 0!==L&&L,x=s(""),B=x[0],j=x[1],M=s(null),q=M[0],w=M[1];return t(function(){m&&(j(k),w(null))},[m,k]),m?r("div",e({className:d.overlay},{children:i("div",e({className:d.modal},{children:[i("div",e({className:d.header},{children:[i("div",e({className:d.headerContent},{children:[r("h2",e({className:d.title},{children:v})),f&&r("p",e({className:d.description},{children:f}))]})),r("button",e({onClick:h,className:d.closeBtn,disabled:S},{children:r(c,{size:24})}))]})),r("div",e({className:d.form},{children:i("div",e({className:d.formGroup},{children:[i("label",e({className:d.label},{children:[r("span",e({className:d.asterisk},{children:"*"})),N]})),r("input",{type:"text",value:B,onChange:function(e){j(e.target.value),q&&w(null)},className:"".concat(d.inputField," ").concat(q?d.inputError:""),placeholder:C,disabled:S}),q&&r("p",e({className:d.errorMessage},{children:q}))]}))})),i("div",e({className:d.footer},{children:[r("button",e({onClick:h,className:d.cancelBtn,disabled:S},{children:"Cancel"})),r("button",e({onClick:function(){return a(void 0,void 0,void 0,function(){var e;return l(this,function(a){switch(a.label){case 0:if(!(B.trim()?(w(null),1):(w("".concat(N.replace("*","").trim()," is required")),0)))return[2];a.label=1;case 1:return a.trys.push([1,3,,4]),[4,p(B)];case 2:return a.sent(),h(),[3,4];case 3:return e=a.sent(),w((null==e?void 0:e.message)||"An error occurred. Please try again."),[3,4];case 4:return[2]}})})},className:d.confirmBtn,disabled:S},{children:S?i(n,{children:[r(o,{className:d.spinner}),"Save"===b?"Saving...":"Creating..."]}):b}))]}))]}))})):null};export{u as default};
|
|
2
|
-
//# sourceMappingURL=CreateLearningSetModal.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CreateLearningSetModal.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import e from"../../../node_modules/style-inject/dist/style-inject.es.js";var o={overlay:"CreateLearningSetModal-module_overlay__iwLU2",modal:"CreateLearningSetModal-module_modal__TIP0O",header:"CreateLearningSetModal-module_header__alW8D",headerContent:"CreateLearningSetModal-module_headerContent__bxA6y",title:"CreateLearningSetModal-module_title__vlj8Q",description:"CreateLearningSetModal-module_description__TGliO",closeBtn:"CreateLearningSetModal-module_closeBtn__33qJN",form:"CreateLearningSetModal-module_form__e8iCL",formGroup:"CreateLearningSetModal-module_formGroup__RydF4",label:"CreateLearningSetModal-module_label__q-hkm",asterisk:"CreateLearningSetModal-module_asterisk__cXpjU",inputField:"CreateLearningSetModal-module_inputField__nnq0-",inputError:"CreateLearningSetModal-module_inputError__Q78Vy",errorMessage:"CreateLearningSetModal-module_errorMessage__z0WBC",footer:"CreateLearningSetModal-module_footer__qc-SJ",cancelBtn:"CreateLearningSetModal-module_cancelBtn__YiIV7",confirmBtn:"CreateLearningSetModal-module_confirmBtn__8oMwL",spinner:"CreateLearningSetModal-module_spinner__SERKD",spin:"CreateLearningSetModal-module_spin__0BrCH"};e("@keyframes CreateLearningSetModal-module_spin__0BrCH{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.CreateLearningSetModal-module_overlay__iwLU2{align-items:center;background-color:#0000004d;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:9999}.CreateLearningSetModal-module_modal__TIP0O{background-color:#fff;border-radius:.75rem;box-shadow:0 25px 50px -12px #00000040;display:flex;flex-direction:column;max-width:90%;padding:1.5rem;position:relative;width:600px}.CreateLearningSetModal-module_header__alW8D{align-items:flex-start;display:flex;gap:1rem;justify-content:space-between;margin-bottom:1.5rem}.CreateLearningSetModal-module_headerContent__bxA6y{flex:1}.CreateLearningSetModal-module_title__vlj8Q{color:#19213d;font-size:1.125rem;font-weight:500;margin:0}.CreateLearningSetModal-module_description__TGliO{color:#666f8d;font-size:.875rem;font-weight:400;line-height:1.5;margin-top:.25rem}.CreateLearningSetModal-module_closeBtn__33qJN{align-items:center;background:#0000;border:none;border-radius:.375rem;color:#9ca3af;cursor:pointer;display:flex;justify-content:center;padding:.25rem;transition:color .2s,background-color .2s}.CreateLearningSetModal-module_closeBtn__33qJN:hover{background-color:#f3f4f6;color:#4b5563}.CreateLearningSetModal-module_closeBtn__33qJN:focus{outline:none}.CreateLearningSetModal-module_form__e8iCL{display:flex;flex-direction:column;gap:1.25rem}.CreateLearningSetModal-module_formGroup__RydF4{display:flex;flex-direction:column;gap:.375rem;position:relative}.CreateLearningSetModal-module_label__q-hkm{align-items:center;color:#19213d;display:flex;font-size:.875rem;font-weight:500}.CreateLearningSetModal-module_asterisk__cXpjU{color:#8f2c23;font-size:1rem;font-weight:600;margin-right:.25rem}.CreateLearningSetModal-module_inputField__nnq0-{background-color:#fff;border:1px solid #f0f2f5;border-radius:.375rem;box-sizing:border-box;color:#19213d;font-size:.875rem;outline:none;padding:.625rem .75rem;transition:border-color .2s,box-shadow .2s;width:100%}.CreateLearningSetModal-module_inputField__nnq0-::placeholder{color:#9ca3af}.CreateLearningSetModal-module_inputField__nnq0-:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb33}.CreateLearningSetModal-module_inputError__Q78Vy{border-color:#8f2c23}.CreateLearningSetModal-module_inputError__Q78Vy:focus{border-color:#8f2c23;box-shadow:0 0 0 2px #8f2c2333}.CreateLearningSetModal-module_errorMessage__z0WBC{color:#8f2c23;font-size:.75rem;font-weight:400;margin-top:.25rem}.CreateLearningSetModal-module_footer__qc-SJ{display:flex;gap:.75rem;justify-content:flex-end;margin-top:1rem}.CreateLearningSetModal-module_cancelBtn__YiIV7{background-color:initial;border:1px solid #e2e8f0;border-radius:.375rem;color:#64748b;cursor:pointer;font-size:.875rem;font-weight:500;padding:.5rem 1rem;transition:background-color .2s}.CreateLearningSetModal-module_cancelBtn__YiIV7:hover:not(:disabled){background-color:#f9fafb}.CreateLearningSetModal-module_cancelBtn__YiIV7:disabled{cursor:not-allowed;opacity:.5}.CreateLearningSetModal-module_confirmBtn__8oMwL{align-items:center;background-color:#2563eb;border:none;border-radius:.375rem;color:#fff;cursor:pointer;display:inline-flex;font-size:.875rem;font-weight:500;justify-content:center;padding:.5rem 1rem;transition:background-color .2s}.CreateLearningSetModal-module_confirmBtn__8oMwL:hover:not(:disabled){background-color:#1d4ed8}.CreateLearningSetModal-module_confirmBtn__8oMwL:disabled{cursor:not-allowed;opacity:.5}.CreateLearningSetModal-module_spinner__SERKD{animation:CreateLearningSetModal-module_spin__0BrCH 1s linear infinite;color:#fff;height:1rem;margin-right:.5rem;width:1rem}");export{o as default};
|
|
2
|
-
//# sourceMappingURL=CreateLearningSetModal.module.css.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CreateLearningSetModal.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|