PageSourceSearch

https://app.cognicube.ai/chunk-CDLZMEQ3.js

js cognicube.ai collected 2026-10-05 11:57:10 UTC 4,178 bytes, 1 lines download raw bytes

1import{a as Y,b as Z,c as tt}from"./chunk-DZ6RM6TY.js";import"./chunk-7RWCIHFI.js";import{b as U,c as X}from"./chunk-BQOIXXTD.js";import"./chunk-EU7ES2XX.js";import{a as Q}from"./chunk-RKVTYMQO.js";import"./chunk-MNOHV5BD.js";import{a as J,h as K}from"./chunk-HL7ZPE67.js";import"./chunk-5CQW3ENY.js";import{d as k}from"./chunk-7CHM7E4X.js";import"./chunk-ZPFBRAXZ.js";import"./chunk-K5Z5JDZA.js";import{a as I,b,d as E,e as T,f as w,g as N,h as O}from"./chunk-WLTDZ3DG.js";import{j as V,k as G}from"./chunk-EQ55S6M7.js";import"./chunk-OGLR77SS.js";import"./chunk-ZR22GKHN.js";import"./chunk-TXT32OC6.js";import{a as P,b as j}from"./chunk-4MEHE3YC.js";import"./chunk-2H7TRYTK.js";import{A as z,C as H,c as B,h as L,i as R,m as W,q as $,r as q}from"./chunk-AVVUPC4U.js";import"./chunk-DHEY2U5O.js";import{x as D}from"./chunk-KT3MDBFJ.js";import{$b as A,Ac as r,Bb as h,Dc as v,Hb as M,Sb as s,Yb as C,ac as F,bc as n,cc as a,dc as y,hc as x,la as f,lc as d,mc as p,nb as l,sb as c,va as g,wa as _,zc as S}from"./chunk-ZYY6ZGPJ.js";import"./chunk-O44YI6V6.js";var et=(i,m)=>m.id;function it(i,m){i&1&&(n(0,"p",4),r(1,"No features yet. Create a feature first from the sidebar."),a())}function ot(i,m){if(i&1&&(n(0,"mat-option",12),r(1),a()),i&2){let e=m.$implicit;s("value",e),l(),v(" ",e.title," \xB7 ",e.status," ")}}function at(i,m){if(i&1){let e=x();n(0,"form",5)(1,"mat-form-field",9)(2,"mat-label"),r(3,"Feature"),a(),y(4,"input",10),n(5,"mat-autocomplete",11,0),d("optionSelected",function(o){g(e);let u=p();return _(u.onFeatureSelected(o))}),A(7,ot,2,3,"mat-option",12,et),a()()()}if(i&2){let e=S(6),t=p();s("formGroup",t.form),l(4),s("matAutocomplete",e),l(),s("displayWith",t.displayFeatureFn),l(2),F(t.filteredFeatures)}}var vt=(()=>{class i{constructor(e,t){this.dialogRef=e,this.data=t,this.fb=f(z),this.form=this.fb.group({featureSearchInput:this.fb.control(null)}),this.selectedFeatureId=null,this.displayFeatureFn=o=>o?typeof o=="string"?o:o.title??"":""}get filteredFeatures(){let e=this.form.controls.featureSearchInput.value,t=typeof e=="string"?e.trim().toLowerCase():"";return t?(this.data.features??[]).filter(o=>(o.title??"").toLowerCase().includes(t)):this.data.features??[]}onFeatureSelected(e){let t=e.option.value;t?.id&&(this.selectedFeatureId=t.id,this.form.controls.featureSearchInput.setValue(t,{emitEvent:!1}))}onAssign(){this.selectedFeatureId&&this.dialogRef.close(this.selectedFeatureId)}static{this.\u0275fac=function(t){return new(t||i)(c(I),c(b))}}static{this.\u0275cmp=h({type:i,selectors:[["app-assign-artifacts-dialog"]],decls:15,vars:2,consts:[["featureAuto","matAutocomplete"],[1,"assign-artifacts-container"],["mat-dialog-title","",1,"assign-title"],[1,"dialog-description"],[1,"empty-features"],[1,"cc-dialog-form",3,"formGroup"],["align","end",1,"cc-dialog-actions"],["mat-button","","mat-dialog-close",""],["mat-raised-button","","color","primary",3,"click","disabled"],["appearance","outline",1,"feature-select"],["type","text","matInput","","formControlName","featureSearchInput","placeholder","Search or select a feature","aria-label","Search or select a feature",3,"matAutocomplete"],[3,"optionSelected","displayWith"],[3,"value"]],template:function(t,o){t&1&&(n(0,"div",1)(1,"h2",2)(2,"mat-icon"),r(3,"add_circle"),a(),r(4," Select feature to assign stories "),a(),n(5,"mat-dialog-content")(6,"p",3),r(7,"Choose a feature to add the selected user stories under."),a(),M(8,it,2,0,"p",4)(9,at,9,3,"form",5),a(),n(10,"mat-dialog-actions",6)(11,"button",7),r(12,"Cancel"),a(),n(13,"button",8),d("click",function(){return o.onAssign()}),r(14," Assign "),a()()()),t&2&&(l(8),C(o.data.features.length===0?8:9),l(5),s("disabled",!o.selectedFeatureId))},dependencies:[D,H,W,B,L,R,$,q,O,E,T,N,w,G,V,j,P,Q,K,J,X,U,tt,Y,k,Z],styles:["h2[mat-dialog-title][_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;margin:0}mat-dialog-content[_ngcontent-%COMP%]{max-height:60vh;overflow-y:auto}.dialog-description[_ngcontent-%COMP%]{margin:0 0 16px;color:#64748b}.empty-features[_ngcontent-%COMP%]{color:#94a3b8;font-style:italic}.feature-select[_ngcontent-%COMP%]{width:100%}"]})}}return i})();export{vt as AssignArtifactsDialogComponent};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.