@e-llm-studio/instant-learning 1.3.0-alpha.82 → 1.3.0-alpha.83
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/cjs/features/IL-OTJ/ValueTypeWrappers/TeachMeWrapper.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/templates/BaseTemplate/BaseTemplate.js +2 -0
- package/dist/cjs/features/IL-OTJ/_components/templates/BaseTemplate/BaseTemplate.js.map +1 -0
- package/dist/cjs/features/IL-OTJ/_components/templates/CreateCategory/CreateCategory.js +2 -0
- package/dist/cjs/features/IL-OTJ/_components/templates/CreateCategory/CreateCategory.js.map +1 -0
- package/dist/cjs/features/IL-OTJ/_components/templates/WorkflowComposer/WorkflowComposer.js +2 -0
- package/dist/cjs/features/IL-OTJ/_components/templates/WorkflowComposer/WorkflowComposer.js.map +1 -0
- package/dist/cjs/features/LearningManagement/LearningManagementTest.js +1 -1
- package/dist/cjs/features/LearningManagement/RuleContent/VariantCard.js +1 -1
- package/dist/cjs/features/LearningManagement/assets/Search-result(add new).svg.js +2 -0
- package/dist/cjs/features/LearningManagement/assets/Search-result(add new).svg.js.map +1 -0
- package/dist/cjs/features/LearningManagement/components/CreateLearningSetModal.js +2 -0
- package/dist/cjs/features/LearningManagement/components/CreateLearningSetModal.js.map +1 -0
- package/dist/cjs/features/LearningManagement/components/InstantLearningModal.js +1 -1
- package/dist/cjs/features/LearningManagement/components/ScopeTree/TreeNode.js +1 -1
- package/dist/cjs/features/LearningManagement/components/StationOnboarding/BackwardStationOnboardModal.js +2 -0
- package/dist/cjs/features/LearningManagement/components/StationOnboarding/BackwardStationOnboardModal.js.map +1 -0
- package/dist/cjs/features/LearningManagement/styles/CreateLearningSetModal.module.css.js +2 -0
- package/dist/cjs/features/LearningManagement/styles/CreateLearningSetModal.module.css.js.map +1 -0
- package/dist/features/IL-OTJ/ValueTypeWrappers/TeachMeWrapper.js +1 -1
- package/dist/features/IL-OTJ/_components/templates/BaseTemplate/BaseTemplate.js +2 -0
- package/dist/features/IL-OTJ/_components/templates/BaseTemplate/BaseTemplate.js.map +1 -0
- package/dist/features/IL-OTJ/_components/templates/CreateCategory/CreateCategory.js +2 -0
- package/dist/features/IL-OTJ/_components/templates/CreateCategory/CreateCategory.js.map +1 -0
- package/dist/features/IL-OTJ/_components/templates/WorkflowComposer/WorkflowComposer.js +2 -0
- package/dist/features/IL-OTJ/_components/templates/WorkflowComposer/WorkflowComposer.js.map +1 -0
- package/dist/features/LearningManagement/LearningManagementTest.js +1 -1
- package/dist/features/LearningManagement/RuleContent/VariantCard.js +1 -1
- package/dist/features/LearningManagement/assets/Search-result(add new).svg.js +2 -0
- package/dist/features/LearningManagement/assets/Search-result(add new).svg.js.map +1 -0
- package/dist/features/LearningManagement/components/CreateLearningSetModal.js +2 -0
- package/dist/features/LearningManagement/components/CreateLearningSetModal.js.map +1 -0
- package/dist/features/LearningManagement/components/InstantLearningModal.js +1 -1
- package/dist/features/LearningManagement/components/ScopeTree/TreeNode.js +1 -1
- package/dist/features/LearningManagement/components/StationOnboarding/BackwardStationOnboardModal.js +2 -0
- package/dist/features/LearningManagement/components/StationOnboarding/BackwardStationOnboardModal.js.map +1 -0
- package/dist/features/LearningManagement/styles/CreateLearningSetModal.module.css.js +2 -0
- package/dist/features/LearningManagement/styles/CreateLearningSetModal.module.css.js.map +1 -0
- package/dist/types/src/features/IL-OTJ/ValueTypeWrappers/TeachMeWrapper.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/RuleContent/VariantCard.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/BackwardStationOnboardModal.d.ts +12 -0
- package/dist/types/src/features/LearningManagement/components/StationOnboarding/BackwardStationOnboardModal.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__spreadArray as e,__assign as o}from"tslib";import{jsxs as n,jsx as i,Fragment as t}from"react/jsx-runtime";import{useRef as l,useEffect as d}from"react";import{Plus as r,Pencil as a,Trash2 as c}from"lucide-react";import
|
|
1
|
+
import{__spreadArray as e,__assign as o}from"tslib";import{jsxs as n,jsx as i,Fragment as t}from"react/jsx-runtime";import{useRef as l,useEffect as d}from"react";import{Plus as r,Pencil as a,Trash2 as c,MoveRight as s}from"lucide-react";import p from"../../styles/ScopeTree.module.css.js";import{TreeNodeHeader as u}from"./TreeNodeHeader.js";import{TreeAddAction as m}from"./TreeAddAction.js";import{dt as h,interpolate as v}from"../../store/useLMSConfigStore.js";import{MIDDLE_DRAWER_DT_PATH as f,MIDDLE_DRAWER_CONTEXT_MENU_DT_PATH as C}from"../../constants.js";import{useLearningTemplateStore as g}from"../../store/useLearningTemplateStore.js";import{TreeSectionItem as b}from"./TreeSectionItem.js";var y=function(S){var x,L,T,w,N=S.node,k=S.depth,A=void 0===k?0:k,D=S.nodePath,V=void 0===D?[]:D,j=S.expandedNodeIds,E=S.activeSelection,I=S.onToggleExpand,P=S.onSectionSelect,O=S.onNodeOptionsClick,Y=S.onAddChild,Q=S.onRenameChild,R=S.onDeleteChild,H=S.canDeleteScope,K=S.canEditScope,M=S.canCreateScope,W=S.searchQuery,z=S.sectionsConfig,J=void 0===z?[]:z,q=S.nodeTypesConfig,B=void 0===q?[]:q,F=S.forceVisible,G=void 0!==F&&F,U=S.compactView,X=void 0!==U&&U,Z=e(e([],V,!0),[N.id],!1),$=j.has(N.id),_=g.getState().backwardCompatibility,ee=_||X,oe=h("".concat(f,".scope")),ne=!!E&&E.nodePath[E.nodePath.length-1]===N.id,ie=!!E&&(E.nodePath.includes(N.id)&&!ne),te=h("".concat(f,".scopeDisplayLimit.applyToLevels"),""),le=function(){if(_)return[2];if(!te)return null;try{var e=JSON.parse(te);return Array.isArray(e)?e.map(Number):null}catch(e){return null}}(),de=A+1,re=null===le||le.includes(de),ae=(_||"true"===h("".concat(f,".scopeDisplayLimit.enabled"),"false"))&&re,ce=_?7:parseInt(h("".concat(f,".scopeDisplayLimit.count"),"7"),10)||7,se=N.children||[],pe=ae&&!W&&se.length>ce,ue=l(null);d(function(){ne&&ue.current&&ue.current.scrollIntoView({behavior:"smooth",block:"nearest"})},[ne]);var me=function(e,o){if(!o)return!0;var n=o.toLowerCase();return!!e.name.toLowerCase().includes(n)||!!e.children&&e.children.some(function(e){return me(e,o)})};if(!G&&!me(N,W||""))return null;var he=A>=B.length-1?B[B.length-1]:B[A],ve=!!(null==he?void 0:he.addChildType),fe=ee?J.filter(function(e){return"learnings"!==e.id&&"stations"!==e.id}).filter(function(e){return!e.isVisible||e.isVisible(N,A)}).map(function(e){return{label:e.label,icon:e.icon,onClick:function(){return P(Z,e.id)}}}):[],Ce=!H||H(N.id),ge=!K||K(N.id),be=!M||M(N.id),ye=N.children&&N.children.length>0,Se=!Ce||ye,xe=Ce?ye?"This scope cannot be deleted because other scopes inherit learnings from it.":void 0:"You do not have permission to delete this scope.",Le=be?void 0:"You do not have permission to add a scope here.",Te=!W||N.name.toLowerCase().includes(W.toLowerCase()),we=function(e){return i(y,{node:e,depth:A+1,nodePath:Z,expandedNodeIds:j,activeSelection:E,onToggleExpand:I,onSectionSelect:P,onNodeOptionsClick:O,onAddChild:Y,onRenameChild:Q,onDeleteChild:R,canDeleteScope:H,canEditScope:K,canCreateScope:M,searchQuery:W,forceVisible:Te,sectionsConfig:J,nodeTypesConfig:B,compactView:ee},e.id)};return n("div",o({ref:ue,className:p.nodeWrapper,style:{"--tree-depth":A}},{children:[i(u,{nodeType:N.type,name:N.name,isExpanded:$,isSelected:ne,isAncestor:ie,isExpandable:!!ye,childrenCount:null===(x=N.children)||void 0===x?void 0:x.length,learningsCount:ee?null===(L=N.metrics)||void 0===L?void 0:L.learningsCount:void 0,isCompactView:ee,onToggleExpand:function(e){e.stopPropagation(),I(N.id)},onClick:function(){P(Z,"learnings")},searchQuery:W,menuOptions:e(e(e([],ve?[{label:he.addChildLabel||"Add Child",icon:r,onClick:function(){return null==Y?void 0:Y(N.id,he.addChildType,N.name)},disabled:!be,tooltip:Le}]:[],!0),[{label:"".concat(h("".concat(C,".rename"),"Rename")),icon:a,onClick:function(){return null==Q?void 0:Q(N.id,N.name)},disabled:!ge||"station"===(null===(T=null==N?void 0:N.type)||void 0===T?void 0:T.toLocaleLowerCase()),tooltip:ge?void 0:"You do not have permission to rename this scope."},{label:"station"===(null===(w=null==N?void 0:N.type)||void 0===w?void 0:w.toLowerCase())?"Delete Station":_?"Delete Scope":"".concat(h("".concat(C,".delete"),"Delete ".concat((null==he?void 0:he.label)||"Node"),{scope:oe})),icon:c,onClick:function(){var e;return null==R?void 0:R(N.id,N.name,(null===(e=N.metrics)||void 0===e?void 0:e.learningsCount)||0)},disabled:Se,tooltip:xe,className:"text-red-500 hover:text-red-600 hover:bg-red-50"}],!1),fe,!0)}),$&&n("div",o({className:p.childrenWrapper},{children:[!ee&&J.filter(function(e){return!e.isVisible||e.isVisible(N,A)}).map(function(e){var o;return i(b,{icon:e.icon,label:e.label,badgeCount:e.badgeKey?null===(o=N.metrics)||void 0===o?void 0:o[e.badgeKey]:void 0,isActive:ne&&(null==E?void 0:E.sectionId)===e.id,onClick:function(){return P(Z,e.id)}},"".concat(N.id,"-").concat(e.id))}),pe?n(t,{children:[i("div",o({className:p.scopeScrollContainer,style:{maxHeight:"calc(var(--scope-row-height, 40px) * ".concat(ce,")"),overflowY:"scroll"}},{children:se.map(we)})),i("button",o({type:"button",className:p.addAction,onClick:function(e){e.stopPropagation(),P(Z,"stations")}},{children:i("span",o({style:{paddingLeft:"15px"}},{children:n("span",o({style:{paddingLeft:"15px",display:"flex",alignItems:"center"}},{children:[v(h("".concat(f,".scopeDisplayLimit.viewMoreText"),_?"View all {count} stations":"Show all {count} scopes"),{count:se.length}),i(s,{size:14,style:{marginLeft:"6px",flexShrink:0}})]}))}))}))]}):se.map(we),ve&&!ee&&i(m,{label:he.addChildLabel||"Add Child",onAdd:function(){return null==Y?void 0:Y(N.id,he.addChildType,N.name)},disabled:!be,tooltip:Le})]}))]}))};export{y as TreeNode};
|
|
2
2
|
//# sourceMappingURL=TreeNode.js.map
|
package/dist/features/LearningManagement/components/StationOnboarding/BackwardStationOnboardModal.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as e,__awaiter as r,__generator as n,__spreadArray as t}from"tslib";import{jsxs as o,jsx as i,Fragment as l}from"react/jsx-runtime";import{useState as a,useRef as s,useMemo as u,useEffect as c}from"react";import{Dialog as d,Box as p,Typography as f,IconButton as m,DialogContent as h,CircularProgress as g}from"@mui/material";import{X as v,Search as b,ArrowRight as x}from"lucide-react";import{Toast as S}from"primereact/toast";import{v4 as y}from"uuid";import w from"../../assets/Search-result(add new).svg.js";import C from"../../store/useAuthStore.js";import{IL_CONFIG_CONSTANTS as _}from"../../config.js";import{retrieveGenreScopes as O,fetchStationsByKeyword as F,searchScopes as T,inheritScope as A,deleteRuleSet as N,updateStation as M,createRuleSet as E}from"../../apis/scopeApis.js";import k from"./InputField.js";import D from"./StationAutocomplete.js";import z from"../CardSkeleton.js";import P from"./OnboardingLoader.js";import B from"./TemplateCard.js";var j=[{label:"5am to 7pm",value:"05:00 AM - 7:00 PM"},{label:"6am to 7pm",value:"06:00 AM - 7:00 PM"}],I=[{label:"Low Sellout",value:"Low Sellout"},{label:"High Sellout",value:"High Sellout"},{label:"None",value:""}],L=[{label:"None",value:"None"},{label:"Distribute spots evenly across all breaks in the hour",value:"Distribute spots evenly across all breaks in the hour"}],R=function(R){var W,U=R.isOpen,q=R.onClose,G=R.onBoardStation,Y=R.app_integration_id,H=R.token,K=R.stationNameParam,X=a(null),J=X[0],Q=X[1],V=a([]),Z=V[0],$=V[1],ee=a(0),re=ee[0],ne=ee[1],te=a(!0),oe=te[0],ie=te[1],le=a(!1),ae=le[0],se=le[1],ue=a([]),ce=ue[0],de=ue[1],pe=a(""),fe=pe[0],me=pe[1],he=a(""),ge=he[0],ve=he[1],be=a(!1),xe=be[0],Se=be[1],ye=a(!1),we=ye[0],Ce=ye[1],_e=a(null),Oe=_e[0],Fe=_e[1],Te=a(!1),Ae=Te[0],Ne=Te[1],Me=a(0),Ee=Me[0],ke=Me[1],De=a(""),ze=De[0],Pe=De[1],Be=C().user,je=s(null),Ie=s(null),Le=s(null),Re=s(null),We=a({region:"",primeTime:["06:00 AM - 7:00 PM"],genre:"Music",type:"",lowSelloutConfig:""}),Ue=We[0],qe=We[1],Ge=function(e,r){return e.find(function(e){return e.value===r})||null},Ye=u(function(){return Z.map(function(e){return{label:e.scope_name,value:e.scope_name}})},[Z]),He=u(function(){var e,r,n;if(!Ue.genre)return null;var t=Z.find(function(e){return e.scope_name===Ue.genre});return t?{id:t.id,title:t.scope_name||"Unnamed Template",description:(null===(e=t.description)||void 0===e?void 0:e.trim())||"No description available.",inheritedText:(null===(r=t.inheritance)||void 0===r?void 0:r[0])||void 0,rulesCount:t.rules_count||0,tiersCount:t.tier_count||0,isCopy:null!==(n=t.is_copy)&&void 0!==n&&n}:null},[Ue.genre,Z]);c(function(){return function(){Le.current&&clearTimeout(Le.current)}},[]);var Ke=function(e){return r(void 0,void 0,void 0,function(){var r,o,i;return n(this,function(n){switch(n.label){case 0:if(ae)return[2];se(!0),n.label=1;case 1:return n.trys.push([1,3,4,5]),[4,O({limit:"20",offset:String(e)})];case 2:return"success"===(null==(r=n.sent())?void 0:r.status)&&Array.isArray(null==r?void 0:r.data)?(o=r.data,$(function(r){if(0===e)return o;var n=new Set(r.map(function(e){return e.id})),i=o.filter(function(e){return!n.has(e.id)});return t(t([],r,!0),i,!0)}),o.length<20?ie(!1):ie(!0),ne(e+20)):ie(!1),[3,5];case 3:return i=n.sent(),console.error("[StationOnboard] Failed to fetch genre scopes:",i),ie(!1),[3,5];case 4:return se(!1),[7];case 5:return[2]}})})};c(function(){if(U&&($([]),ne(0),ie(!0),Ke(0),K)){Pe(K);r(void 0,void 0,void 0,function(){var e,r,t;return n(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,F(K,!0)];case 1:return!0===(null==(e=n.sent())?void 0:e.success)&&Array.isArray(null==e?void 0:e.data)&&(r=e.data.find(function(e){var r;return(null===(r=e.station_name)||void 0===r?void 0:r.toLowerCase())===K.toLowerCase()&&!e.ruleset_id}),r&&Q(r)),[3,3];case 2:return t=n.sent(),console.error("[StationOnboard] Error auto-selecting station:",t),[3,3];case 3:return[2]}})})}},[U,K]);c(function(){qe(J?function(r){var n;return e(e({},r),{region:null!==(n=J.market)&&void 0!==n?n:""})}:{region:"",primeTime:["06:00 AM - 7:00 PM"],genre:"Music",type:"",lowSelloutConfig:""})},[J]),c(function(){var e=setTimeout(function(){ve(fe)},500);return function(){return clearTimeout(e)}},[fe]),c(function(){r(void 0,void 0,void 0,function(){var e,r,t;return n(this,function(n){switch(n.label){case 0:if(!ge.trim())return de([]),[2];Se(!0),n.label=1;case 1:return n.trys.push([1,3,4,5]),[4,T({search_string:ge})];case 2:return"success"===(null==(e=n.sent())?void 0:e.status)&&Array.isArray(null==e?void 0:e.data)?(r=e.data.map(function(e){var r,n,t;return{id:e.id,title:e.scope_name||"Unnamed Template",description:(null===(r=e.description)||void 0===r?void 0:r.trim())||"No description available.",inheritedText:(null===(n=e.inheritance)||void 0===n?void 0:n[0])||void 0,rulesCount:e.rules_count||0,tiersCount:e.tier_count||0,isCopy:null!==(t=e.is_copy)&&void 0!==t&&t}}),de(r)):de([]),[3,5];case 3:return t=n.sent(),console.error("[StationOnboard] Error searching scopes:",t),de([]),[3,5];case 4:return Se(!1),[7];case 5:return[2]}})})},[ge]),c(function(){!ge.trim()&&He&&Fe(He.id)},[ge,He]);var Xe=function(){setTimeout(function(){Re.current&&Re.current.scrollTo({top:Re.current.scrollHeight,behavior:"smooth"})},100)},Je=function(){Pe(""),Q(null),qe({region:"",primeTime:["06:00 AM - 7:00 PM"],genre:"Music",type:"",lowSelloutConfig:""}),de([]),me(""),Fe(null),q()},Qe=function(r,n){var t;if("primeTime"!==r){var o=null!==(t=null==n?void 0:n.value)&&void 0!==t?t:"";qe(function(n){var t;return e(e({},n),((t={})[r]=String(o),t))}),"genre"===r&&(Ce(!0),Le.current&&clearTimeout(Le.current),Le.current=setTimeout(function(){var e=Z.find(function(e){return e.scope_name===o});Fe(e?e.id:null),Ce(!1)},800))}else{var i=(null==n?void 0:n.value)?String(n.value):"";qe(function(r){return e(e({},r),{primeTime:i?[i]:[]})})}},Ve=Boolean(J&&Ue.region&&Ue.primeTime.length>0&&Ue.genre);return o(d,e({open:U,onClose:Je,maxWidth:!1,disableEscapeKeyDown:!0,PaperProps:{sx:{width:"90vw",height:"90vh",borderRadius:"12px",display:"flex",flexDirection:"column",overflow:"hidden"}}},{children:[i(S,{ref:je}),o(p,e({sx:{p:"20px 20px 20px 27px",borderBottom:"1px solid #F0F2F5",display:"flex",justifyContent:"space-between",alignItems:"center",bgcolor:"#fff"}},{children:[o(p,e({sx:{display:"flex",flexDirection:"column",gap:.5}},{children:[i(f,e({sx:{fontSize:"18px",fontWeight:600,color:"#19213D"}},{children:"Onboard a Station"})),i(f,e({sx:{fontSize:"16px",fontWeight:400,color:"#666F8D"}},{children:"Onboard a station to start configuring learnings."}))]})),i(m,e({onClick:Je,disabled:Ae,sx:{color:"#19213D"}},{children:i(v,{size:24})}))]})),o(h,e({sx:{p:0,bgcolor:"#F8FAFC",display:"flex",flexDirection:"row",overflow:"hidden",position:"relative"}},{children:[i(P,{isLoading:Ae,currentStep:Ee,onComplete:function(){Ne(!1);var e=Ie.current;Je(),G(e||void 0),Ie.current=null}}),o(p,e({sx:{display:"flex",flex:1,paddingY:"14px",paddingX:"20px",gap:3,overflowY:"hidden"}},{children:[o(p,e({ref:Re,sx:{flex:1,bgcolor:"#fff",p:3,borderRadius:"16px",border:"1px solid #F0F2F5",height:"100%",overflowY:"auto"}},{children:[i(f,e({sx:{fontSize:"1rem",fontWeight:600,mb:.5,color:"#19213D"}},{children:"Basic Details"})),i(f,e({sx:{fontSize:"0.75rem",color:"#00000080",mb:"20px"}},{children:"Set up basic station details to unlock AI recommended scopes."})),o(p,e({sx:{display:"flex",flexDirection:"column",gap:"16px"}},{children:[o(p,e({className:"space-y-1.5"},{children:[o("label",e({className:"text-sm font-medium text-[#19213D]"},{children:[i("span",e({className:"mr-0.5 text-xs font-semibold text-[#8F2C23]"},{children:"*"})),"Station Name/Call Letters"]})),i(D,{value:ze,onChange:Pe,onStationSelect:function(e){return Q(e)}})]})),i(k,{required:!0,disabled:!0,label:"Region",placeholder:"Select Region",value:Ue.region||void 0,isSearchable:!1}),i(k,{required:!0,label:"Prime Time Window",placeholder:"Select Prime Time",options:j,value:Ge(j,(null===(W=Ue.primeTime)||void 0===W?void 0:W[0])||""),onOptionChange:function(e){return Qe("primeTime",e)},isSearchable:!1}),i(p,e({onClick:Xe,sx:{width:"100%"}},{children:i(k,{required:!0,label:"Genre",placeholder:"Select Genre",options:Ye,value:Ge(Ye,Ue.genre),onOptionChange:function(e){return Qe("genre",e)},isSearchable:!1,onMenuScrollToBottom:function(){!ae&&oe&&Ke(re)},isLoadingOptions:ae,hasMoreOptions:oe})})),i(p,e({onClick:Xe,sx:{width:"100%"}},{children:i(k,{label:"Station Type",placeholder:"None",options:I,value:Ge(I,Ue.type),onOptionChange:function(r){Qe("type",r),"Low Sellout"!==(null==r?void 0:r.value)&&qe(function(r){return e(e({},r),{lowSelloutConfig:""})})},isSearchable:!1})})),"Low Sellout"===Ue.type&&i(p,e({onClick:Xe,sx:{width:"100%"}},{children:i(k,{label:"Low Sell Out Configurations",placeholder:"Select Configuration",options:L,value:Ge(L,Ue.lowSelloutConfig),onOptionChange:function(e){return Qe("lowSelloutConfig",e)},isSearchable:!1})}))]}))]})),i(p,e({sx:{flex:1,bgcolor:"#fff",p:3,borderRadius:"12px",border:"1px solid #F0F2F5",display:"flex",flexDirection:"column",height:"100%",overflowY:"auto"}},{children:Ue.genre?o(l,{children:[i(f,e({sx:{fontSize:"1rem",fontWeight:500,mb:1.5}},{children:"Matching scope for your station"})),i(p,e({sx:{display:"flex",flexDirection:"column",gap:2,mb:4}},{children:we?i(z,{}):He?i(B,e({},He,{isSelected:Oe===He.id,onSelect:Fe}),He.id):null})),i(f,e({sx:{fontSize:"1rem",fontWeight:500,mb:1.5}},{children:"Other available stations"})),o("div",e({className:"relative mb-4 w-full"},{children:[i("input",{type:"text",value:fe,onChange:function(e){return me(e.target.value)},placeholder:"Search for station...",className:"w-full rounded-lg border border-[#E2E8F0] px-10 py-[7px] text-[12px] outline-none transition-all placeholder:text-[#BAC0CC] focus:border-blue-500 focus:ring-1 focus:ring-blue-500"}),i(b,{className:"absolute left-3 top-1/2 -translate-y-1/2 text-gray-400",size:16})]})),o(p,e({sx:{display:"flex",flexDirection:"column",gap:2}},{children:[xe&&i(z,{}),!xe&&0===ce.length&&ge.trim()&&o(f,e({sx:{fontSize:"0.875rem",color:"#64748B",textAlign:"center",py:4}},{children:['No scopes found matching "',ge,'".']})),!xe&&ce.map(function(r){return i(B,e({},r,{isSelected:Oe===r.id,onSelect:Fe}),r.id)})]}))]}):o(l,{children:[i(f,e({sx:{fontSize:"1rem",fontWeight:500,mb:1.5}},{children:"Fill in the station details to load AI recommended scopes"})),i(f,e({sx:{fontSize:"0.75rem",color:"#64748B",mb:3}},{children:"AI will recommend the most relevant scope for this station."})),i(p,e({sx:{flex:1,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",opacity:.5,py:10}},{children:i("img",{src:w,alt:"Empty Result"})}))]})}))]}))]})),o(p,e({sx:{p:"12px 20px",borderTop:"1px solid #F0F2F5",display:"flex",justifyContent:"flex-end",gap:2,bgcolor:"#fff"}},{children:[i("button",e({onClick:Je,disabled:Ae,style:{padding:"7px 10px",borderRadius:"6px",color:"#64748B",border:"1px solid #E2E8F0",backgroundColor:"#fff",cursor:"pointer",fontSize:"14px",fontWeight:500}},{children:"Cancel"})),i("button",e({onClick:function(){return r(void 0,void 0,void 0,function(){var r,o,i,l,a,s,u,c,d,p,f,m,h,g,v,b,x,S;return n(this,function(n){switch(n.label){case 0:if(!J||!Oe)return console.error("[StationOnboard] Missing required data for onboarding"),[2];r=He?t([He],ce,!0):ce,o=r.find(function(e){return e.id===Oe}),i=null!==(h=null==o?void 0:o.isCopy)&&void 0!==h&&h,Ne(!0),ke(0),l=null,n.label=1;case 1:return n.trys.push([1,3,,4]),a={topic:"customRuleSet",customScopeGroupName:(null==_?void 0:_.CUSTOM_SCOPE_GROUP_NAME)||"Audacy-Traffic-Manager",scopeDescription:J.station_name||"New Station",parentScopeId:null,customScopeName:J.station_name||"New Station",customScopeId:y(),createByName:(null==Be?void 0:Be.firstname)||"System",createdBy:(null==Be?void 0:Be.email)||"system@audacy.com",applicationMappingId:Y},console.log("[StationOnboard] Step 1: Creating rule set with payload:",a),[4,E(a,H)];case 2:if(s=n.sent(),!(l=null===(g=null==s?void 0:s.data)||void 0===g?void 0:g.scopeId))throw new Error("Failed to create scope - no scopeId returned");return ke(1),[3,4];case 3:return u=n.sent(),console.error("[StationOnboard] Error creating rule set:",u),null===(v=je.current)||void 0===v||v.show({severity:"error",life:3e3,summary:"Error",detail:"Failed to create rule set. Please try again."}),Ne(!1),ke(0),[2];case 4:return n.trys.push([4,6,,11]),c={market:J.market,region:J.region,primetime_windows:Ue.primeTime,genre:Ue.genre,station_type:""===Ue.type?null:Ue.type,low_sellout_configurations:"Low Sellout"===Ue.type?Ue.lowSelloutConfig:null,ruleset_id:l,station_guid:J.station_guid,station_name:J.station_name||"New Station"},console.log("[StationOnboard] Step 2: Updating station with payload:",c),[4,M(c)];case 5:return n.sent(),ke(2),[3,11];case 6:d=n.sent(),console.error("[StationOnboard] Error updating station, rolling back rule set:",d),409===d.status?(null===(b=je.current)||void 0===b||b.show({severity:"error",life:2500,summary:"Error updating station",detail:"Station already Onboarded."}),Q(null),Fe(null),Pe(""),qe(function(r){return e(e({},r),{region:""})})):null===(x=je.current)||void 0===x||x.show({severity:"error",life:2500,summary:"Error updating station",detail:"Please try again."}),n.label=7;case 7:return n.trys.push([7,9,,10]),[4,N(l,H)];case 8:return n.sent(),[3,10];case 9:return p=n.sent(),console.error("[StationOnboard] Failed to rollback rule set deletion:",p),[3,10];case 10:return Ne(!1),ke(0),[2];case 11:return n.trys.push([11,13,,14]),f={source_scope_id:Oe,target_scope_id:l,is_copy_parent_variant_id:i},console.log("[StationOnboard] Step 3: Inheriting scope with payload:",f),[4,A(f)];case 12:return n.sent(),ke(3),[3,14];case 13:return m=n.sent(),console.error("[StationOnboard] Error inheriting scope (no rollback):",m),null===(S=je.current)||void 0===S||S.show({severity:"error",life:3e3,summary:"Error",detail:"Failed to apply rule template. Please try again."}),Ne(!1),ke(0),[2];case 14:return Ie.current=l,[2]}})})},disabled:!Ve||Ae,style:{padding:"7px 10px",borderRadius:"6px",border:"none",backgroundColor:Ve?"#2563EB":"#BFDBFE",color:"#fff",cursor:Ve&&!Ae?"pointer":"not-allowed",fontSize:"14px",fontWeight:500,display:"flex",alignItems:"center",gap:"7px"}},{children:o(l,Ae?{children:[i(g,{size:16,color:"inherit"}),i("span",{children:"Onboarding..."})]}:{children:[i("span",{children:"Onboard Station"}),i(x,{size:16})]})}))]}))]}))};export{R as default};
|
|
2
|
+
//# sourceMappingURL=BackwardStationOnboardModal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BackwardStationOnboardModal.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateLearningSetModal.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TeachMeWrapper.d.ts","sourceRoot":"","sources":["../../../../../../src/features/IL-OTJ/ValueTypeWrappers/TeachMeWrapper.tsx"],"names":[],"mappings":";AA4LA,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,CAAC;IAChB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACpC,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAAC,CAAC,CAAC;CAClE;AAED,QAAA,MAAM,cAAc,UAAW,mBAAmB,
|
|
1
|
+
{"version":3,"file":"TeachMeWrapper.d.ts","sourceRoot":"","sources":["../../../../../../src/features/IL-OTJ/ValueTypeWrappers/TeachMeWrapper.tsx"],"names":[],"mappings":";AA4LA,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,CAAC;IAChB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACpC,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAAC,CAAC,CAAC;CAClE;AAED,QAAA,MAAM,cAAc,UAAW,mBAAmB,gCA0GjD,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VariantCard.d.ts","sourceRoot":"","sources":["../../../../../../src/features/LearningManagement/RuleContent/VariantCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAA+B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"VariantCard.d.ts","sourceRoot":"","sources":["../../../../../../src/features/LearningManagement/RuleContent/VariantCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAA+B,MAAM,OAAO,CAAC;AAOtE,OAAO,EAAiB,uBAAuB,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAqB/E;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B,oCAAoC;IACpC,OAAO,EAAE,WAAW,CAAC;IACrB,+DAA+D;IAC/D,YAAY,EAAE,MAAM,CAAC;IACrB,sFAAsF;IACtF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,qBAAqB;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,mEAAmE;IACnE,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,uDAAuD;IACvD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mDAAmD;IACnD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2CAA2C;IAC3C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,2CAA2C;IAC3C,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,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AC;IAC9B,mDAAmD;IACnD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kFAAkF;IAClF,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,wFAAwF;IACxF,oBAAoB,CAAC,EAAE,MAAM,EAAE,CAAC;IAChC,uFAAuF;IACvF,eAAe,CAAC,EAAE,KAAK,GAAG,UAAU,CAAC;IACrC,4EAA4E;IAC5E,qBAAqB,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACpC,4BAA4B;IAC5B,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,4BAA4B;IAC5B,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,kDAAkD;IAClD,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,qEAAqE;IACrE,4BAA4B,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,GAAG,iBAAiB,KAAK,IAAI,CAAC;IACjF,oDAAoD;IACtD,YAAY,CAAC,EAAE,CAAC,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACzH,qDAAqD;IACrD,wBAAwB,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CACtD;AAWD;;;;;;;;;;;GAWG;AACH,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAspB3C,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TreeNode.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/LearningManagement/components/ScopeTree/TreeNode.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAGjD,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAQ/E,UAAU,aAAa;IACrB,IAAI,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,EAAE,MAAM,KAAK,OAAO,CAAC;IAC5C,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC;IAC9C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACrC,eAAe,CAAC,EAAE,cAAc,EAAE,CAAC;IACnC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;;;;OAOG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAiT5C,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface StationOnboardModalProps {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
onClose: () => void;
|
|
5
|
+
onBoardStation: (scopeId?: string) => void;
|
|
6
|
+
app_integration_id?: string;
|
|
7
|
+
token: string;
|
|
8
|
+
stationNameParam?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const BackwardStationOnboardModal: React.FC<StationOnboardModalProps>;
|
|
11
|
+
export default BackwardStationOnboardModal;
|
|
12
|
+
//# sourceMappingURL=BackwardStationOnboardModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BackwardStationOnboardModal.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/LearningManagement/components/StationOnboarding/BackwardStationOnboardModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AA+DpE,UAAU,wBAAwB;IAChC,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,cAAc,EAAE,CAAC,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,QAAA,MAAM,2BAA2B,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAitBnE,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
|