@bikdotai/bik-component-library 0.0.824-beta.0 → 0.0.824
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/components/agent-builder/components/CreateSubAgentPanel.js +1 -1
- package/dist/cjs/components/agent-builder/components/CreateSubAgentPanel.js.map +1 -1
- package/dist/cjs/components/agent-builder/context/AgentBuilderContext.js +1 -1
- package/dist/cjs/components/agent-builder/context/AgentBuilderContext.js.map +1 -1
- package/dist/cjs/components/agent-builder/utils/mentionSerialization.js +2 -2
- package/dist/cjs/components/agent-builder/utils/mentionSerialization.js.map +1 -1
- package/dist/cjs/editor/BikEditor.js +1 -1
- package/dist/cjs/editor/BikEditor.js.map +1 -1
- package/dist/cjs/editor/BikEditor.styles.js +47 -29
- package/dist/cjs/editor/BikEditor.styles.js.map +1 -1
- package/dist/cjs/editor/extensions/jsonHighlight/JsonHighlightExtension.js +3 -2
- package/dist/cjs/editor/extensions/jsonHighlight/JsonHighlightExtension.js.map +1 -1
- package/dist/cjs/icons/Actions/Common actions/ProductTour.js +2 -0
- package/dist/cjs/icons/Actions/Common actions/ProductTour.js.map +1 -0
- package/dist/cjs/icons/Actions/Common actions/RestApi.js +2 -0
- package/dist/cjs/icons/Actions/Common actions/RestApi.js.map +1 -0
- package/dist/cjs/icons/Actions/Common actions/Save.js +2 -0
- package/dist/cjs/icons/Actions/Common actions/Save.js.map +1 -0
- package/dist/cjs/icons/Actions/Common actions/Shortcut.js +2 -0
- package/dist/cjs/icons/Actions/Common actions/Shortcut.js.map +1 -0
- package/dist/cjs/icons/BIK AI specific/Webhook.js +2 -0
- package/dist/cjs/icons/BIK AI specific/Webhook.js.map +1 -0
- package/dist/cjs/icons/Informational/Store related/TicketForm.js +2 -0
- package/dist/cjs/icons/Informational/Store related/TicketForm.js.map +1 -0
- package/dist/cjs/icons/Legacy - Bikayi specific/Services/LoudSpeaker.js +2 -0
- package/dist/cjs/icons/Legacy - Bikayi specific/Services/LoudSpeaker.js.map +1 -0
- package/dist/cjs/icons/index.js +1 -1
- package/dist/esm/components/agent-builder/components/CreateSubAgentPanel.js +24 -24
- package/dist/esm/components/agent-builder/components/CreateSubAgentPanel.js.map +1 -1
- package/dist/esm/components/agent-builder/context/AgentBuilderContext.js +98 -101
- package/dist/esm/components/agent-builder/context/AgentBuilderContext.js.map +1 -1
- package/dist/esm/components/agent-builder/utils/mentionSerialization.d.ts +5 -7
- package/dist/esm/components/agent-builder/utils/mentionSerialization.js +40 -37
- package/dist/esm/components/agent-builder/utils/mentionSerialization.js.map +1 -1
- package/dist/esm/editor/BikEditor.js +72 -79
- package/dist/esm/editor/BikEditor.js.map +1 -1
- package/dist/esm/editor/BikEditor.styles.d.ts +4 -4
- package/dist/esm/editor/BikEditor.styles.js +44 -26
- package/dist/esm/editor/BikEditor.styles.js.map +1 -1
- package/dist/esm/editor/extensions/jsonHighlight/JsonHighlightExtension.js +100 -32
- package/dist/esm/editor/extensions/jsonHighlight/JsonHighlightExtension.js.map +1 -1
- package/dist/esm/icons/Actions/Common actions/ProductTour.d.ts +7 -0
- package/dist/esm/icons/Actions/Common actions/ProductTour.js +51 -0
- package/dist/esm/icons/Actions/Common actions/ProductTour.js.map +1 -0
- package/dist/esm/icons/Actions/Common actions/RestApi.d.ts +7 -0
- package/dist/esm/icons/Actions/Common actions/RestApi.js +29 -0
- package/dist/esm/icons/Actions/Common actions/RestApi.js.map +1 -0
- package/dist/esm/icons/Actions/Common actions/Save.d.ts +7 -0
- package/dist/esm/icons/Actions/Common actions/Save.js +40 -0
- package/dist/esm/icons/Actions/Common actions/Save.js.map +1 -0
- package/dist/esm/icons/Actions/Common actions/Shortcut.d.ts +7 -0
- package/dist/esm/icons/Actions/Common actions/Shortcut.js +40 -0
- package/dist/esm/icons/Actions/Common actions/Shortcut.js.map +1 -0
- package/dist/esm/icons/Actions/Common actions/index.d.ts +4 -0
- package/dist/esm/icons/BIK AI specific/Webhook.d.ts +7 -0
- package/dist/esm/icons/BIK AI specific/Webhook.js +32 -0
- package/dist/esm/icons/BIK AI specific/Webhook.js.map +1 -0
- package/dist/esm/icons/BIK AI specific/index.d.ts +1 -0
- package/dist/esm/icons/Informational/Store related/TicketForm.d.ts +7 -0
- package/dist/esm/icons/Informational/Store related/TicketForm.js +65 -0
- package/dist/esm/icons/Informational/Store related/TicketForm.js.map +1 -0
- package/dist/esm/icons/Informational/Store related/index.d.ts +1 -0
- package/dist/esm/icons/Legacy - Bikayi specific/Services/LoudSpeaker.d.ts +7 -0
- package/dist/esm/icons/Legacy - Bikayi specific/Services/LoudSpeaker.js +35 -0
- package/dist/esm/icons/Legacy - Bikayi specific/Services/LoudSpeaker.js.map +1 -0
- package/dist/esm/icons/Legacy - Bikayi specific/Services/index.d.ts +1 -0
- package/dist/esm/icons/index.d.ts +4 -4
- package/dist/esm/icons/index.js +284 -270
- package/dist/esm/icons/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/icons/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Actions/Common actions/Activate.js"),r=require("./Informational/eCommerce/AddLabel.js"),t=require("./Informational/Location/Address.js"),u=require("./BIK AI specific/AiEmoji.js"),o=require("./BIK AI specific/AiIcon.js"),a=require("./BIK AI specific/AiRobot.js"),i=require("./Informational/General/AlertTriangle.js"),n=require("./Informational/Store related/AllProduct.js"),l=require("./Informational/Files and folders/Archive1.js"),s=require("./Arrows/Normal arrows/ArrowDown.js"),c=require("./Arrows/Normal arrows/ArrowDownLeft.js"),d=require("./Arrows/Normal arrows/ArrowDownRight.js"),f=require("./Arrows/Normal arrows/ArrowLeft.js"),q=require("./Actions/Navigation/ArrowRedo.js"),h=require("./Arrows/Normal arrows/ArrowRight.js"),C=require("./Arrows/Special/ArrowSwitch.js"),p=require("./Actions/Navigation/ArrowUndo.js"),g=require("./Arrows/Normal arrows/ArrowUp.js"),m=require("./Arrows/Normal arrows/ArrowUpLeft.js"),S=require("./Arrows/Normal arrows/ArrowUpRight.js"),k=require("./Informational/Finance/Bank.js"),w=require("./Media/Others/BarcodeScan.js"),A=require("./Informational/Common UI/Bell.js"),b=require("./Informational/Common UI/BellSync.js"),M=require("./Social/Channels/Bigcommerce.js"),P=require("./Informational/General/BookOpenText.js"),T=require("./Legacy - Bikayi specific/Categories/Box.js"),F=require("./Legacy - Bikayi specific/Categories/Box2.js"),R=require("./Informational/Common UI/Bulb.js"),L=require("./Legacy - Bikayi specific/Services/Businesscard.js"),v=require("./Informational/Date and time/Calendar.js"),x=require("./Informational/Date and time/CalendarAdd.js"),y=require("./Media/Visual/Camera.js"),D=require("./Media/Visual/CameraAdd.js"),I=require("./Arrows/Carat/CaratDown.js"),U=require("./Arrows/Carat/CaratLeft.js"),E=require("./Arrows/Carat/CaratRight.js"),B=require("./Arrows/Carat/CaratUp.js"),H=require("./Informational/Finance/CashOnDelivery.js"),O=require("./Informational/Finance/ChartLine.js"),W=require("./Informational/Communication/Chat.js"),G=require("./Informational/Communication/ChatCheck.js"),N=require("./Informational/Communication/ChatQuestion.js"),V=require("./Informational/Communication/ChatStar.js"),$=require("./Informational/Identity/Chatbot.js"),z=require("./Informational/General/Check.js"),j=require("./Informational/General/CheckDouble.js"),J=require("./Actions/Formatting/CheckboxIcon.js"),Q=require("./Arrows/Double chevron/ChevronDoubleDown.js"),Y=require("./Arrows/Double chevron/ChevronDoubleLeft.js"),K=require("./Arrows/Double chevron/ChevronDoubleRight.js"),X=require("./Arrows/Double chevron/ChevronDoubleUp.js"),Z=require("./Arrows/Chevron/ChevronDown.js"),_=require("./Arrows/Chevron/ChevronLeft.js"),ee=require("./Arrows/Chevron/ChevronRight.js"),re=require("./Arrows/Chevron/ChevronUp.js"),te=require("./Informational/eCommerce/Click.js"),ue=require("./Informational/Store related/Clipboard.js"),oe=require("./Informational/Customer intent/ClipboardCheck.js"),ae=require("./Informational/Store related/ClipboardCheck.js"),ie=require("./Informational/Date and time/Clock.js"),ne=require("./Informational/General/CloseTicket1.js"),le=require("./Actions/Common actions/Code.js"),se=require("./Informational/Identity/Contacts.js"),ce=require("./Actions/Formatting/Copy.js"),de=require("./Informational/Finance/CreditCard.js"),fe=require("./Media/Visual/Crop.js"),qe=require("./Actions/Common actions/Cross.js"),he=require("./Legacy - Bikayi specific/Services/Customdomain.js"),Ce=require("./Informational/Store related/CustomerReport.js"),pe=require("./Actions/Common actions/Deactivate.js"),ge=require("./Actions/Formatting/DecreaseIndent.js"),me=require("./Actions/Common actions/Delete.js"),Se=require("./Media/Devices/Desktop.js"),ke=require("./Media/Others/Download.js"),we=require("./Actions/Formatting/Dropdown.js"),Ae=require("./Actions/Common actions/Edit.js"),be=require("./Informational/Communication/Email.js"),Me=require("./Social/Channels/Email.js"),Pe=require("./Social/Channels/EmailMarketing.js"),Te=require("./Social/Social/EmailMarketing.js"),Fe=require("./Media/Others/EmojiSmile.js"),Re=require("./Informational/General/Error.js"),Le=require("./Informational/Files and folders/Excel.js"),ve=require("./BIK AI specific/Expand.js"),xe=require("./Informational/Customer intent/Experimental.js"),ye=require("./Toggles/General/Eye.js"),De=require("./Toggles/General/EyeClosed.js"),Ie=require("./Toggles/General/EyeOff.js"),Ue=require("./Social/Channels/Facebook.js"),Ee=require("./Social/Social/Facebook.js"),Be=require("./Social/Channels/FacebookComment.js"),He=require("./Informational/General/FailDoc.js"),Oe=require("./Informational/Files and folders/File.js"),We=require("./Informational/Files and folders/FileCsv.js"),Ge=require("./Informational/Files and folders/FilePage.js"),Ne=require("./Informational/Files and folders/FilePdf.js"),Ve=require("./Informational/eCommerce/Filter.js"),$e=require("./Media/Visual/FlashOff.js"),ze=require("./Media/Visual/FlashOn.js"),je=require("./Informational/Files and folders/Folder.js"),Je=require("./Informational/Common UI/Forms.js"),Qe=require("./Actions/Common actions/Forward.js"),Ye=require("./BIK AI specific/Frame27389.js"),Ke=require("./BIK AI specific/Frame27597.js"),Xe=require("./BIK AI specific/Frame27598.js"),Ze=require("./BIK AI specific/Frame27599.js"),_e=require("./Actions/Common actions/Fullscreen.js"),er=require("./BIK AI specific/GeminiSparkle.js"),rr=require("./Informational/eCommerce/Gift1.js"),tr=require("./Informational/eCommerce/GiftMinus.js"),ur=require("./Informational/eCommerce/GiftPlus.js"),or=require("./Social/Social/Google.js"),ar=require("./Informational/Identity/Group.js"),ir=require("./Informational/Finance/Growth.js"),nr=require("./Actions/Selection/HandleDrag.js"),lr=require("./Informational/Store related/Head112.js"),sr=require("./Toggles/General/HeartEmpty.js"),cr=require("./Toggles/General/HeartFilled.js"),dr=require("./Informational/Customer intent/Help.js"),fr=require("./Informational/General/Help.js"),qr=require("./Informational/Date and time/HourGlass.js"),hr=require("./Informational/General/IcList.js"),Cr=require("./Informational/Identity/IdCard.js"),pr=require("./Media/Visual/Image.js"),gr=require("./Media/Visual/ImageAdd.js"),mr=require("./Media/Visual/Images.js"),Sr=require("./Actions/Formatting/IncreaseIndent.js"),kr=require("./Informational/General/Info.js"),wr=require("./Social/Channels/Instagram.js"),Ar=require("./Social/Social/Instagram.js"),br=require("./Social/Channels/InstagramIcon.js"),Mr=require("./Informational/Store related/InventoryReport.js"),Pr=require("./Legacy - Bikayi specific/Navigation/Journeys.js"),Tr=require("./Informational/Location/LanguageChange.js"),Fr=require("./Informational/Store related/LegalBalance.js"),Rr=require("./Actions/Common actions/LinkSimpleHorizontal.js"),Lr=require("./Informational/Communication/LiveChat.js"),vr=require("./Toggles/General/Lock.js"),xr=require("./Actions/Navigation/LogIn.js"),yr=require("./Actions/Navigation/LogOut.js"),Dr=require("./BIK AI specific/ManifestSparkle.js"),Ir=require("./Informational/Location/MapPin.js"),Ur=require("./Legacy - Bikayi specific/Services/Marketing.js"),Er=require("./Media/Visual/Maximize.js"),Br=require("./Informational/Files and folders/MediaMessage.js"),Hr=require("./Informational/Common UI/MenuHamburger.js"),Or=require("./Informational/Common UI/MessageSearch.js"),Wr=require("./Social/Channels/Messenger.js"),Gr=require("./Social/Social/Messenger.js"),Nr=require("./Media/Audio/Microphone.js"),Vr=require("./Actions/Common actions/Minus.js"),$r=require("./Informational/Finance/Money1.js"),zr=require("./Informational/Common UI/MoreHorizontal.js"),jr=require("./Informational/Common UI/MoreVertical.js"),Jr=require("./Informational/Files and folders/Move.js"),Qr=require("./Actions/Formatting/MultiLine.js"),Yr=require("./Actions/Formatting/MultiSelect.js"),Kr=require("./Informational/General/NewTicket.js"),Xr=require("./Informational/Finance/NoCredits.js"),Zr=require("./Actions/Formatting/Number.js"),_r=require("./Actions/Formatting/NumberList.js"),et=require("./Actions/Navigation/OpenNewWindow.js"),rt=require("./Informational/Files and folders/OrderHistory.js"),tt=require("./Informational/Store related/OrderReport.js"),ut=require("./Media/Others/Paperclip.js"),ot=require("./Media/Audio/Pause.js"),at=require("./Legacy - Bikayi specific/Services/PaymentLink.js"),it=require("./Informational/Store related/PaymentReport.js"),nt=require("./Informational/Customer intent/Percent.js"),lt=require("./Informational/Finance/Percent.js"),st=require("./Informational/Identity/Person.js"),ct=require("./Informational/Communication/Phone.js"),dt=require("./Informational/Common UI/Placeholder.js"),ft=require("./Legacy - Bikayi specific/Plans/PlanUltimate.js"),qt=require("./Media/Audio/Play.js"),ht=require("./Actions/Common actions/Plus.js"),Ct=require("./BIK AI specific/PricePlease.js"),pt=require("./Informational/Files and folders/PrivateNote.js"),gt=require("./Informational/eCommerce/Promocode.js"),mt=require("./Informational/Customer intent/Purchase.js"),St=require("./Actions/Formatting/Quotes.js"),kt=require("./Social/Social/Rcs.js"),wt=require("./Informational/eCommerce/Receipt.js"),At=require("./Actions/Navigation/Refresh.js"),bt=require("./Actions/Navigation/Rewind.js"),Mt=require("./Informational/Identity/Robot.js"),Pt=require("./Media/Visual/RotateAnticlockwise.js"),Tt=require("./Media/Visual/RotateClockwise.js"),Ft=require("./Informational/General/RoundCheck.js"),Rt=require("./Informational/Finance/Rupee.js"),Lt=require("./Informational/Common UI/Search.js"),vt=require("./Actions/Common actions/SendAirplane.js"),xt=require("./Informational/Customer intent/Services.js"),yt=require("./Legacy - Bikayi specific/Navigation/Services.js"),Dt=require("./Informational/Common UI/Settings.js"),It=require("./BIK AI specific/Shape.js"),Ut=require("./Actions/Common actions/ShareAndroid.js"),Et=require("./Informational/eCommerce/ShieldCheck.js"),Bt=require("./Informational/eCommerce/ShoppingBag.js"),Ht=require("./Informational/eCommerce/ShoppingBasket.js"),Ot=require("./Informational/Customer intent/ShoppingCart.js"),Wt=require("./Informational/eCommerce/ShoppingCart.js"),Gt=require("./BIK AI specific/Shorter.js"),Nt=require("./Actions/Selection/SingleChoice.js"),Vt=require("./Informational/Customer intent/SingleChoice.js"),$t=require("./Informational/General/Slash.js"),zt=require("./Media/Audio/Sleep.js"),jt=require("./Media/Devices/Smartphone.js"),Jt=require("./BIK AI specific/Sparkling2Line.js"),Qt=require("./Toggles/General/StarEmpty.js"),Yt=require("./Toggles/General/StarFilled.js"),Kt=require("./Toggles/General/StarHalf.js"),Xt=require("./Informational/Store related/Store.js"),Zt=require("./Informational/Store related/StoreSync.js"),_t=require("./Actions/Formatting/Subscript.js"),eu=require("./Actions/Formatting/Superscript.js"),ru=require("./Actions/Navigation/Sync.js"),tu=require("./Informational/Finance/TablerTicket.js"),uu=require("./Social/Channels/Tasks.js"),ou=require("./Actions/Formatting/Text.js"),au=require("./Actions/Formatting/TextAlignCenter.js"),iu=require("./Actions/Formatting/TextAlignLeft.js"),nu=require("./Actions/Formatting/TextAlignRight.js"),lu=require("./Actions/Formatting/TextBold.js"),su=require("./Actions/Formatting/TextItalics.js"),cu=require("./Actions/Formatting/TextJustify.js"),du=require("./Informational/Files and folders/TextMessage.js"),fu=require("./Actions/Formatting/TextStrikethrough.js"),qu=require("./Actions/Formatting/TextUnderline.js"),hu=require("./Actions/Formatting/Textbox.js"),Cu=require("./Legacy - Bikayi specific/Services/Theme.js"),pu=require("./Informational/Common UI/Training.js"),gu=require("./Informational/Location/Truck.js"),mu=require("./Social/Social/Twitter.js"),Su=require("./Informational/Files and folders/Unarchive.js"),ku=require("./Informational/Identity/Union.js"),wu=require("./Informational/Identity/Union1.js"),Au=require("./Toggles/General/Unlock.js"),bu=require("./Informational/Customer intent/Unsatisfactory.js"),Mu=require("./Media/Others/Upload.js"),Pu=require("./Informational/Identity/UserMinus1.js"),Tu=require("./Informational/Identity/UserPlus.js"),Fu=require("./Informational/Customer intent/UserSound.js"),Ru=require("./Media/Visual/VideoCamcorder.js"),Lu=require("./Media/Visual/VideoFilm.js"),vu=require("./Media/Audio/VolumeMute.js"),xu=require("./Media/Audio/VolumeOneline.js"),yu=require("./Media/Audio/VolumeTwoline.js"),Du=require("./Informational/Finance/Wallet.js"),Iu=require("./BIK AI specific/WandSparkles.js"),Uu=require("./Social/Channels/WebPush.js"),Eu=require("./Social/Social/Website.js"),Bu=require("./Social/Channels/WhatsApp.js"),Hu=require("./Actions/Navigation/Whatsapp.js"),Ou=require("./Social/Social/Whatsapp.js"),Wu=require("./Informational/Date and time/WorkingHours.js"),Gu=require("./BIK AI specific/Write.js"),Nu=require("./Social/Social/Youtube.js");exports.Activate=e.default;exports.AddLabel=r.default;exports.Address=t.default;exports.AiEmoji=u.default;exports.AiIcon=o.default;exports.AiRobot=a.default;exports.AlertTriangle=i.default;exports.AllProduct=n.default;exports.Archive1=l.default;exports.ArrowDown=s.default;exports.ArrowDownLeft=c.default;exports.ArrowDownRight=d.default;exports.ArrowLeft=f.default;exports.ArrowRedo=q.default;exports.ArrowRight=h.default;exports.ArrowSwitch=C.default;exports.ArrowUndo=p.default;exports.ArrowUp=g.default;exports.ArrowUpLeft=m.default;exports.ArrowUpRight=S.default;exports.Bank=k.default;exports.BarcodeScan=w.default;exports.Bell=A.default;exports.BellSync=b.default;exports.Bigcommerce=M.default;exports.BookOpenText=P.default;exports.Box=T.default;exports.Box2=F.default;exports.Bulb=R.default;exports.Businesscard=L.default;exports.Calendar=v.default;exports.CalendarAdd=x.default;exports.Camera=y.default;exports.CameraAdd=D.default;exports.CaratDown=I.default;exports.CaratLeft=U.default;exports.CaratRight=E.default;exports.CaratUp=B.default;exports.CashOnDelivery=H.default;exports.ChartLine=O.default;exports.Chat=W.default;exports.ChatCheck=G.default;exports.ChatQuestion=N.default;exports.ChatStar=V.default;exports.Chatbot=$.default;exports.Check=z.default;exports.CheckDouble=j.default;exports.CheckboxIcon=J.default;exports.ChevronDoubleDown=Q.default;exports.ChevronDoubleLeft=Y.default;exports.ChevronDoubleRight=K.default;exports.ChevronDoubleUp=X.default;exports.ChevronDown=Z.default;exports.ChevronLeft=_.default;exports.ChevronRight=ee.default;exports.ChevronUp=re.default;exports.Click=te.default;exports.Clipboard=ue.default;exports.ClipboardCheck=oe.default;exports.ClipboardCheck2=ae.default;exports.Clock=ie.default;exports.CloseTicket1=ne.default;exports.Code=le.default;exports.Contacts=se.default;exports.Copy=ce.default;exports.CreditCard=de.default;exports.Crop=fe.default;exports.Cross=qe.default;exports.Customdomain=he.default;exports.CustomerReport=Ce.default;exports.Deactivate=pe.default;exports.DecreaseIndent=ge.default;exports.Delete=me.default;exports.Desktop=Se.default;exports.Download=ke.default;exports.Dropdown=we.default;exports.Edit=Ae.default;exports.Email=be.default;exports.Email2=Me.default;exports.EmailMarketing=Pe.default;exports.EmailMarketing2=Te.default;exports.EmojiSmile=Fe.default;exports.Error=Re.default;exports.Excel=Le.default;exports.Expand=ve.default;exports.Experimental=xe.default;exports.Eye=ye.default;exports.EyeClosed=De.default;exports.EyeOff=Ie.default;exports.Facebook=Ue.default;exports.Facebook2=Ee.default;exports.FacebookComment=Be.default;exports.FailDoc=He.default;exports.File=Oe.default;exports.FileCsv=We.default;exports.FilePage=Ge.default;exports.FilePdf=Ne.default;exports.Filter=Ve.default;exports.FlashOff=$e.default;exports.FlashOn=ze.default;exports.Folder=je.default;exports.Forms=Je.default;exports.Forward=Qe.default;exports.Frame27389=Ye.default;exports.Frame27597=Ke.default;exports.Frame27598=Xe.default;exports.Frame27599=Ze.default;exports.Fullscreen=_e.default;exports.GeminiSparkle=er.default;exports.Gift1=rr.default;exports.GiftMinus=tr.default;exports.GiftPlus=ur.default;exports.Google=or.default;exports.Group=ar.default;exports.Growth=ir.default;exports.HandleDrag=nr.default;exports.Head112=lr.default;exports.HeartEmpty=sr.default;exports.HeartFilled=cr.default;exports.Help=dr.default;exports.Help2=fr.default;exports.HourGlass=qr.default;exports.IcList=hr.default;exports.IdCard=Cr.default;exports.Image=pr.default;exports.ImageAdd=gr.default;exports.Images=mr.default;exports.IncreaseIndent=Sr.default;exports.Info=kr.default;exports.Instagram=wr.default;exports.Instagram2=Ar.default;exports.InstagramIcon=br.default;exports.InventoryReport=Mr.default;exports.Journeys=Pr.default;exports.LanguageChange=Tr.default;exports.LegalBalance=Fr.default;exports.LinkSimpleHorizontal=Rr.default;exports.LiveChat=Lr.default;exports.Lock=vr.default;exports.LogIn=xr.default;exports.LogOut=yr.default;exports.ManifestSparkle=Dr.default;exports.MapPin=Ir.default;exports.Marketing=Ur.default;exports.Maximize=Er.default;exports.MediaMessage=Br.default;exports.MenuHamburger=Hr.default;exports.MessageSearch=Or.default;exports.Messenger=Wr.default;exports.Messenger2=Gr.default;exports.Microphone=Nr.default;exports.Minus=Vr.default;exports.Money1=$r.default;exports.MoreHorizontal=zr.default;exports.MoreVertical=jr.default;exports.Move=Jr.default;exports.MultiLine=Qr.default;exports.MultiSelect=Yr.default;exports.NewTicket=Kr.default;exports.NoCredits=Xr.default;exports.Number=Zr.default;exports.NumberList=_r.default;exports.OpenNewWindow=et.default;exports.OrderHistory=rt.default;exports.OrderReport=tt.default;exports.Paperclip=ut.default;exports.Pause=ot.default;exports.PaymentLink=at.default;exports.PaymentReport=it.default;exports.Percent=nt.default;exports.Percent2=lt.default;exports.Person=st.default;exports.Phone=ct.default;exports.Placeholder=dt.default;exports.PlanUltimate=ft.default;exports.Play=qt.default;exports.Plus=ht.default;exports.PricePlease=Ct.default;exports.PrivateNote=pt.default;exports.Promocode=gt.default;exports.Purchase=mt.default;exports.Quotes=St.default;exports.Rcs=kt.default;exports.Receipt=wt.default;exports.Refresh=At.default;exports.Rewind=bt.default;exports.Robot=Mt.default;exports.RotateAnticlockwise=Pt.default;exports.RotateClockwise=Tt.default;exports.RoundCheck=Ft.default;exports.Rupee=Rt.default;exports.Search=Lt.default;exports.SendAirplane=vt.default;exports.Services=xt.default;exports.Services2=yt.default;exports.Settings=Dt.default;exports.Shape=It.default;exports.ShareAndroid=Ut.default;exports.ShieldCheck=Et.default;exports.ShoppingBag=Bt.default;exports.ShoppingBasket=Ht.default;exports.ShoppingCart=Ot.default;exports.ShoppingCart2=Wt.default;exports.Shorter=Gt.default;exports.SingleChoice=Nt.default;exports.SingleChoice2=Vt.default;exports.Slash=$t.default;exports.Sleep=zt.default;exports.Smartphone=jt.default;exports.Sparkling2Line=Jt.default;exports.StarEmpty=Qt.default;exports.StarFilled=Yt.default;exports.StarHalf=Kt.default;exports.Store=Xt.default;exports.StoreSync=Zt.default;exports.Subscript=_t.default;exports.Superscript=eu.default;exports.Sync=ru.default;exports.TablerTicket=tu.default;exports.Tasks=uu.default;exports.Text=ou.default;exports.TextAlignCenter=au.default;exports.TextAlignLeft=iu.default;exports.TextAlignRight=nu.default;exports.TextBold=lu.default;exports.TextItalics=su.default;exports.TextJustify=cu.default;exports.TextMessage=du.default;exports.TextStrikethrough=fu.default;exports.TextUnderline=qu.default;exports.Textbox=hu.default;exports.Theme=Cu.default;exports.Training=pu.default;exports.Truck=gu.default;exports.Twitter=mu.default;exports.Unarchive=Su.default;exports.Union=ku.default;exports.Union1=wu.default;exports.Unlock=Au.default;exports.Unsatisfactory=bu.default;exports.Upload=Mu.default;exports.UserMinus1=Pu.default;exports.UserPlus=Tu.default;exports.UserSound=Fu.default;exports.VideoCamcorder=Ru.default;exports.VideoFilm=Lu.default;exports.VolumeMute=vu.default;exports.VolumeOneline=xu.default;exports.VolumeTwoline=yu.default;exports.Wallet=Du.default;exports.WandSparkles=Iu.default;exports.WebPush=Uu.default;exports.Website=Eu.default;exports.WhatsApp=Bu.default;exports.Whatsapp=Hu.default;exports.Whatsapp2=Ou.default;exports.WorkingHours=Wu.default;exports.Write=Gu.default;exports.Youtube=Nu.default;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Actions/Common actions/Activate.js"),r=require("./Informational/eCommerce/AddLabel.js"),t=require("./Informational/Location/Address.js"),u=require("./BIK AI specific/AiEmoji.js"),o=require("./BIK AI specific/AiIcon.js"),a=require("./BIK AI specific/AiRobot.js"),i=require("./Informational/General/AlertTriangle.js"),n=require("./Informational/Store related/AllProduct.js"),l=require("./Informational/Files and folders/Archive1.js"),s=require("./Arrows/Normal arrows/ArrowDown.js"),c=require("./Arrows/Normal arrows/ArrowDownLeft.js"),d=require("./Arrows/Normal arrows/ArrowDownRight.js"),f=require("./Arrows/Normal arrows/ArrowLeft.js"),q=require("./Actions/Navigation/ArrowRedo.js"),h=require("./Arrows/Normal arrows/ArrowRight.js"),p=require("./Arrows/Special/ArrowSwitch.js"),C=require("./Actions/Navigation/ArrowUndo.js"),g=require("./Arrows/Normal arrows/ArrowUp.js"),m=require("./Arrows/Normal arrows/ArrowUpLeft.js"),S=require("./Arrows/Normal arrows/ArrowUpRight.js"),k=require("./Informational/Finance/Bank.js"),A=require("./Media/Others/BarcodeScan.js"),w=require("./Informational/Common UI/Bell.js"),b=require("./Informational/Common UI/BellSync.js"),P=require("./Social/Channels/Bigcommerce.js"),T=require("./Informational/General/BookOpenText.js"),M=require("./Legacy - Bikayi specific/Categories/Box.js"),F=require("./Legacy - Bikayi specific/Categories/Box2.js"),R=require("./Informational/Common UI/Bulb.js"),L=require("./Legacy - Bikayi specific/Services/Businesscard.js"),v=require("./Informational/Date and time/Calendar.js"),x=require("./Informational/Date and time/CalendarAdd.js"),y=require("./Media/Visual/Camera.js"),D=require("./Media/Visual/CameraAdd.js"),I=require("./Arrows/Carat/CaratDown.js"),U=require("./Arrows/Carat/CaratLeft.js"),E=require("./Arrows/Carat/CaratRight.js"),B=require("./Arrows/Carat/CaratUp.js"),H=require("./Informational/Finance/CashOnDelivery.js"),W=require("./Informational/Finance/ChartLine.js"),O=require("./Informational/Communication/Chat.js"),G=require("./Informational/Communication/ChatCheck.js"),N=require("./Informational/Communication/ChatQuestion.js"),V=require("./Informational/Communication/ChatStar.js"),$=require("./Informational/Identity/Chatbot.js"),z=require("./Informational/General/Check.js"),j=require("./Informational/General/CheckDouble.js"),J=require("./Actions/Formatting/CheckboxIcon.js"),Q=require("./Arrows/Double chevron/ChevronDoubleDown.js"),Y=require("./Arrows/Double chevron/ChevronDoubleLeft.js"),K=require("./Arrows/Double chevron/ChevronDoubleRight.js"),X=require("./Arrows/Double chevron/ChevronDoubleUp.js"),Z=require("./Arrows/Chevron/ChevronDown.js"),_=require("./Arrows/Chevron/ChevronLeft.js"),ee=require("./Arrows/Chevron/ChevronRight.js"),re=require("./Arrows/Chevron/ChevronUp.js"),te=require("./Informational/eCommerce/Click.js"),ue=require("./Informational/Store related/Clipboard.js"),oe=require("./Informational/Customer intent/ClipboardCheck.js"),ae=require("./Informational/Store related/ClipboardCheck.js"),ie=require("./Informational/Date and time/Clock.js"),ne=require("./Informational/General/CloseTicket1.js"),le=require("./Actions/Common actions/Code.js"),se=require("./Informational/Identity/Contacts.js"),ce=require("./Actions/Formatting/Copy.js"),de=require("./Informational/Finance/CreditCard.js"),fe=require("./Media/Visual/Crop.js"),qe=require("./Actions/Common actions/Cross.js"),he=require("./Legacy - Bikayi specific/Services/Customdomain.js"),pe=require("./Informational/Store related/CustomerReport.js"),Ce=require("./Actions/Common actions/Deactivate.js"),ge=require("./Actions/Formatting/DecreaseIndent.js"),me=require("./Actions/Common actions/Delete.js"),Se=require("./Media/Devices/Desktop.js"),ke=require("./Media/Others/Download.js"),Ae=require("./Actions/Formatting/Dropdown.js"),we=require("./Actions/Common actions/Edit.js"),be=require("./Informational/Communication/Email.js"),Pe=require("./Social/Channels/Email.js"),Te=require("./Social/Channels/EmailMarketing.js"),Me=require("./Social/Social/EmailMarketing.js"),Fe=require("./Media/Others/EmojiSmile.js"),Re=require("./Informational/General/Error.js"),Le=require("./Informational/Files and folders/Excel.js"),ve=require("./BIK AI specific/Expand.js"),xe=require("./Informational/Customer intent/Experimental.js"),ye=require("./Toggles/General/Eye.js"),De=require("./Toggles/General/EyeClosed.js"),Ie=require("./Toggles/General/EyeOff.js"),Ue=require("./Social/Channels/Facebook.js"),Ee=require("./Social/Social/Facebook.js"),Be=require("./Social/Channels/FacebookComment.js"),He=require("./Informational/General/FailDoc.js"),We=require("./Informational/Files and folders/File.js"),Oe=require("./Informational/Files and folders/FileCsv.js"),Ge=require("./Informational/Files and folders/FilePage.js"),Ne=require("./Informational/Files and folders/FilePdf.js"),Ve=require("./Informational/eCommerce/Filter.js"),$e=require("./Media/Visual/FlashOff.js"),ze=require("./Media/Visual/FlashOn.js"),je=require("./Informational/Files and folders/Folder.js"),Je=require("./Informational/Common UI/Forms.js"),Qe=require("./Actions/Common actions/Forward.js"),Ye=require("./BIK AI specific/Frame27389.js"),Ke=require("./BIK AI specific/Frame27597.js"),Xe=require("./BIK AI specific/Frame27598.js"),Ze=require("./BIK AI specific/Frame27599.js"),_e=require("./Actions/Common actions/Fullscreen.js"),er=require("./BIK AI specific/GeminiSparkle.js"),rr=require("./Informational/eCommerce/Gift1.js"),tr=require("./Informational/eCommerce/GiftMinus.js"),ur=require("./Informational/eCommerce/GiftPlus.js"),or=require("./Social/Social/Google.js"),ar=require("./Informational/Identity/Group.js"),ir=require("./Informational/Finance/Growth.js"),nr=require("./Actions/Selection/HandleDrag.js"),lr=require("./Informational/Store related/Head112.js"),sr=require("./Toggles/General/HeartEmpty.js"),cr=require("./Toggles/General/HeartFilled.js"),dr=require("./Informational/Customer intent/Help.js"),fr=require("./Informational/General/Help.js"),qr=require("./Informational/Date and time/HourGlass.js"),hr=require("./Informational/General/IcList.js"),pr=require("./Informational/Identity/IdCard.js"),Cr=require("./Media/Visual/Image.js"),gr=require("./Media/Visual/ImageAdd.js"),mr=require("./Media/Visual/Images.js"),Sr=require("./Actions/Formatting/IncreaseIndent.js"),kr=require("./Informational/General/Info.js"),Ar=require("./Social/Channels/Instagram.js"),wr=require("./Social/Social/Instagram.js"),br=require("./Social/Channels/InstagramIcon.js"),Pr=require("./Informational/Store related/InventoryReport.js"),Tr=require("./Legacy - Bikayi specific/Navigation/Journeys.js"),Mr=require("./Informational/Location/LanguageChange.js"),Fr=require("./Informational/Store related/LegalBalance.js"),Rr=require("./Actions/Common actions/LinkSimpleHorizontal.js"),Lr=require("./Informational/Communication/LiveChat.js"),vr=require("./Toggles/General/Lock.js"),xr=require("./Actions/Navigation/LogIn.js"),yr=require("./Actions/Navigation/LogOut.js"),Dr=require("./Legacy - Bikayi specific/Services/LoudSpeaker.js"),Ir=require("./BIK AI specific/ManifestSparkle.js"),Ur=require("./Informational/Location/MapPin.js"),Er=require("./Legacy - Bikayi specific/Services/Marketing.js"),Br=require("./Media/Visual/Maximize.js"),Hr=require("./Informational/Files and folders/MediaMessage.js"),Wr=require("./Informational/Common UI/MenuHamburger.js"),Or=require("./Informational/Common UI/MessageSearch.js"),Gr=require("./Social/Channels/Messenger.js"),Nr=require("./Social/Social/Messenger.js"),Vr=require("./Media/Audio/Microphone.js"),$r=require("./Actions/Common actions/Minus.js"),zr=require("./Informational/Finance/Money1.js"),jr=require("./Informational/Common UI/MoreHorizontal.js"),Jr=require("./Informational/Common UI/MoreVertical.js"),Qr=require("./Informational/Files and folders/Move.js"),Yr=require("./Actions/Formatting/MultiLine.js"),Kr=require("./Actions/Formatting/MultiSelect.js"),Xr=require("./Informational/General/NewTicket.js"),Zr=require("./Informational/Finance/NoCredits.js"),_r=require("./Actions/Formatting/Number.js"),et=require("./Actions/Formatting/NumberList.js"),rt=require("./Actions/Navigation/OpenNewWindow.js"),tt=require("./Informational/Files and folders/OrderHistory.js"),ut=require("./Informational/Store related/OrderReport.js"),ot=require("./Media/Others/Paperclip.js"),at=require("./Media/Audio/Pause.js"),it=require("./Legacy - Bikayi specific/Services/PaymentLink.js"),nt=require("./Informational/Store related/PaymentReport.js"),lt=require("./Informational/Customer intent/Percent.js"),st=require("./Informational/Finance/Percent.js"),ct=require("./Informational/Identity/Person.js"),dt=require("./Informational/Communication/Phone.js"),ft=require("./Informational/Common UI/Placeholder.js"),qt=require("./Legacy - Bikayi specific/Plans/PlanUltimate.js"),ht=require("./Media/Audio/Play.js"),pt=require("./Actions/Common actions/Plus.js"),Ct=require("./BIK AI specific/PricePlease.js"),gt=require("./Informational/Files and folders/PrivateNote.js"),mt=require("./Actions/Common actions/ProductTour.js"),St=require("./Informational/eCommerce/Promocode.js"),kt=require("./Informational/Customer intent/Purchase.js"),At=require("./Actions/Formatting/Quotes.js"),wt=require("./Social/Social/Rcs.js"),bt=require("./Informational/eCommerce/Receipt.js"),Pt=require("./Actions/Navigation/Refresh.js"),Tt=require("./Actions/Common actions/RestApi.js"),Mt=require("./Actions/Navigation/Rewind.js"),Ft=require("./Informational/Identity/Robot.js"),Rt=require("./Media/Visual/RotateAnticlockwise.js"),Lt=require("./Media/Visual/RotateClockwise.js"),vt=require("./Informational/General/RoundCheck.js"),xt=require("./Informational/Finance/Rupee.js"),yt=require("./Actions/Common actions/Save.js"),Dt=require("./Informational/Common UI/Search.js"),It=require("./Actions/Common actions/SendAirplane.js"),Ut=require("./Informational/Customer intent/Services.js"),Et=require("./Legacy - Bikayi specific/Navigation/Services.js"),Bt=require("./Informational/Common UI/Settings.js"),Ht=require("./BIK AI specific/Shape.js"),Wt=require("./Actions/Common actions/ShareAndroid.js"),Ot=require("./Informational/eCommerce/ShieldCheck.js"),Gt=require("./Informational/eCommerce/ShoppingBag.js"),Nt=require("./Informational/eCommerce/ShoppingBasket.js"),Vt=require("./Informational/Customer intent/ShoppingCart.js"),$t=require("./Informational/eCommerce/ShoppingCart.js"),zt=require("./Actions/Common actions/Shortcut.js"),jt=require("./BIK AI specific/Shorter.js"),Jt=require("./Actions/Selection/SingleChoice.js"),Qt=require("./Informational/Customer intent/SingleChoice.js"),Yt=require("./Informational/General/Slash.js"),Kt=require("./Media/Audio/Sleep.js"),Xt=require("./Media/Devices/Smartphone.js"),Zt=require("./BIK AI specific/Sparkling2Line.js"),_t=require("./Toggles/General/StarEmpty.js"),eu=require("./Toggles/General/StarFilled.js"),ru=require("./Toggles/General/StarHalf.js"),tu=require("./Informational/Store related/Store.js"),uu=require("./Informational/Store related/StoreSync.js"),ou=require("./Actions/Formatting/Subscript.js"),au=require("./Actions/Formatting/Superscript.js"),iu=require("./Actions/Navigation/Sync.js"),nu=require("./Informational/Finance/TablerTicket.js"),lu=require("./Social/Channels/Tasks.js"),su=require("./Actions/Formatting/Text.js"),cu=require("./Actions/Formatting/TextAlignCenter.js"),du=require("./Actions/Formatting/TextAlignLeft.js"),fu=require("./Actions/Formatting/TextAlignRight.js"),qu=require("./Actions/Formatting/TextBold.js"),hu=require("./Actions/Formatting/TextItalics.js"),pu=require("./Actions/Formatting/TextJustify.js"),Cu=require("./Informational/Files and folders/TextMessage.js"),gu=require("./Actions/Formatting/TextStrikethrough.js"),mu=require("./Actions/Formatting/TextUnderline.js"),Su=require("./Actions/Formatting/Textbox.js"),ku=require("./Legacy - Bikayi specific/Services/Theme.js"),Au=require("./Informational/Store related/TicketForm.js"),wu=require("./Informational/Common UI/Training.js"),bu=require("./Informational/Location/Truck.js"),Pu=require("./Social/Social/Twitter.js"),Tu=require("./Informational/Files and folders/Unarchive.js"),Mu=require("./Informational/Identity/Union.js"),Fu=require("./Informational/Identity/Union1.js"),Ru=require("./Toggles/General/Unlock.js"),Lu=require("./Informational/Customer intent/Unsatisfactory.js"),vu=require("./Media/Others/Upload.js"),xu=require("./Informational/Identity/UserMinus1.js"),yu=require("./Informational/Identity/UserPlus.js"),Du=require("./Informational/Customer intent/UserSound.js"),Iu=require("./Media/Visual/VideoCamcorder.js"),Uu=require("./Media/Visual/VideoFilm.js"),Eu=require("./Media/Audio/VolumeMute.js"),Bu=require("./Media/Audio/VolumeOneline.js"),Hu=require("./Media/Audio/VolumeTwoline.js"),Wu=require("./Informational/Finance/Wallet.js"),Ou=require("./BIK AI specific/WandSparkles.js"),Gu=require("./Social/Channels/WebPush.js"),Nu=require("./BIK AI specific/Webhook.js"),Vu=require("./Social/Social/Website.js"),$u=require("./Social/Channels/WhatsApp.js"),zu=require("./Actions/Navigation/Whatsapp.js"),ju=require("./Social/Social/Whatsapp.js"),Ju=require("./Informational/Date and time/WorkingHours.js"),Qu=require("./BIK AI specific/Write.js"),Yu=require("./Social/Social/Youtube.js");exports.Activate=e.default;exports.AddLabel=r.default;exports.Address=t.default;exports.AiEmoji=u.default;exports.AiIcon=o.default;exports.AiRobot=a.default;exports.AlertTriangle=i.default;exports.AllProduct=n.default;exports.Archive1=l.default;exports.ArrowDown=s.default;exports.ArrowDownLeft=c.default;exports.ArrowDownRight=d.default;exports.ArrowLeft=f.default;exports.ArrowRedo=q.default;exports.ArrowRight=h.default;exports.ArrowSwitch=p.default;exports.ArrowUndo=C.default;exports.ArrowUp=g.default;exports.ArrowUpLeft=m.default;exports.ArrowUpRight=S.default;exports.Bank=k.default;exports.BarcodeScan=A.default;exports.Bell=w.default;exports.BellSync=b.default;exports.Bigcommerce=P.default;exports.BookOpenText=T.default;exports.Box=M.default;exports.Box2=F.default;exports.Bulb=R.default;exports.Businesscard=L.default;exports.Calendar=v.default;exports.CalendarAdd=x.default;exports.Camera=y.default;exports.CameraAdd=D.default;exports.CaratDown=I.default;exports.CaratLeft=U.default;exports.CaratRight=E.default;exports.CaratUp=B.default;exports.CashOnDelivery=H.default;exports.ChartLine=W.default;exports.Chat=O.default;exports.ChatCheck=G.default;exports.ChatQuestion=N.default;exports.ChatStar=V.default;exports.Chatbot=$.default;exports.Check=z.default;exports.CheckDouble=j.default;exports.CheckboxIcon=J.default;exports.ChevronDoubleDown=Q.default;exports.ChevronDoubleLeft=Y.default;exports.ChevronDoubleRight=K.default;exports.ChevronDoubleUp=X.default;exports.ChevronDown=Z.default;exports.ChevronLeft=_.default;exports.ChevronRight=ee.default;exports.ChevronUp=re.default;exports.Click=te.default;exports.Clipboard=ue.default;exports.ClipboardCheck=oe.default;exports.ClipboardCheck2=ae.default;exports.Clock=ie.default;exports.CloseTicket1=ne.default;exports.Code=le.default;exports.Contacts=se.default;exports.Copy=ce.default;exports.CreditCard=de.default;exports.Crop=fe.default;exports.Cross=qe.default;exports.Customdomain=he.default;exports.CustomerReport=pe.default;exports.Deactivate=Ce.default;exports.DecreaseIndent=ge.default;exports.Delete=me.default;exports.Desktop=Se.default;exports.Download=ke.default;exports.Dropdown=Ae.default;exports.Edit=we.default;exports.Email=be.default;exports.Email2=Pe.default;exports.EmailMarketing=Te.default;exports.EmailMarketing2=Me.default;exports.EmojiSmile=Fe.default;exports.Error=Re.default;exports.Excel=Le.default;exports.Expand=ve.default;exports.Experimental=xe.default;exports.Eye=ye.default;exports.EyeClosed=De.default;exports.EyeOff=Ie.default;exports.Facebook=Ue.default;exports.Facebook2=Ee.default;exports.FacebookComment=Be.default;exports.FailDoc=He.default;exports.File=We.default;exports.FileCsv=Oe.default;exports.FilePage=Ge.default;exports.FilePdf=Ne.default;exports.Filter=Ve.default;exports.FlashOff=$e.default;exports.FlashOn=ze.default;exports.Folder=je.default;exports.Forms=Je.default;exports.Forward=Qe.default;exports.Frame27389=Ye.default;exports.Frame27597=Ke.default;exports.Frame27598=Xe.default;exports.Frame27599=Ze.default;exports.Fullscreen=_e.default;exports.GeminiSparkle=er.default;exports.Gift1=rr.default;exports.GiftMinus=tr.default;exports.GiftPlus=ur.default;exports.Google=or.default;exports.Group=ar.default;exports.Growth=ir.default;exports.HandleDrag=nr.default;exports.Head112=lr.default;exports.HeartEmpty=sr.default;exports.HeartFilled=cr.default;exports.Help=dr.default;exports.Help2=fr.default;exports.HourGlass=qr.default;exports.IcList=hr.default;exports.IdCard=pr.default;exports.Image=Cr.default;exports.ImageAdd=gr.default;exports.Images=mr.default;exports.IncreaseIndent=Sr.default;exports.Info=kr.default;exports.Instagram=Ar.default;exports.Instagram2=wr.default;exports.InstagramIcon=br.default;exports.InventoryReport=Pr.default;exports.Journeys=Tr.default;exports.LanguageChange=Mr.default;exports.LegalBalance=Fr.default;exports.LinkSimpleHorizontal=Rr.default;exports.LiveChat=Lr.default;exports.Lock=vr.default;exports.LogIn=xr.default;exports.LogOut=yr.default;exports.LoudSpeaker=Dr.default;exports.ManifestSparkle=Ir.default;exports.MapPin=Ur.default;exports.Marketing=Er.default;exports.Maximize=Br.default;exports.MediaMessage=Hr.default;exports.MenuHamburger=Wr.default;exports.MessageSearch=Or.default;exports.Messenger=Gr.default;exports.Messenger2=Nr.default;exports.Microphone=Vr.default;exports.Minus=$r.default;exports.Money1=zr.default;exports.MoreHorizontal=jr.default;exports.MoreVertical=Jr.default;exports.Move=Qr.default;exports.MultiLine=Yr.default;exports.MultiSelect=Kr.default;exports.NewTicket=Xr.default;exports.NoCredits=Zr.default;exports.Number=_r.default;exports.NumberList=et.default;exports.OpenNewWindow=rt.default;exports.OrderHistory=tt.default;exports.OrderReport=ut.default;exports.Paperclip=ot.default;exports.Pause=at.default;exports.PaymentLink=it.default;exports.PaymentReport=nt.default;exports.Percent=lt.default;exports.Percent2=st.default;exports.Person=ct.default;exports.Phone=dt.default;exports.Placeholder=ft.default;exports.PlanUltimate=qt.default;exports.Play=ht.default;exports.Plus=pt.default;exports.PricePlease=Ct.default;exports.PrivateNote=gt.default;exports.ProductTour=mt.default;exports.Promocode=St.default;exports.Purchase=kt.default;exports.Quotes=At.default;exports.Rcs=wt.default;exports.Receipt=bt.default;exports.Refresh=Pt.default;exports.RestApi=Tt.default;exports.Rewind=Mt.default;exports.Robot=Ft.default;exports.RotateAnticlockwise=Rt.default;exports.RotateClockwise=Lt.default;exports.RoundCheck=vt.default;exports.Rupee=xt.default;exports.Save=yt.default;exports.Search=Dt.default;exports.SendAirplane=It.default;exports.Services=Ut.default;exports.Services2=Et.default;exports.Settings=Bt.default;exports.Shape=Ht.default;exports.ShareAndroid=Wt.default;exports.ShieldCheck=Ot.default;exports.ShoppingBag=Gt.default;exports.ShoppingBasket=Nt.default;exports.ShoppingCart=Vt.default;exports.ShoppingCart2=$t.default;exports.Shortcut=zt.default;exports.Shorter=jt.default;exports.SingleChoice=Jt.default;exports.SingleChoice2=Qt.default;exports.Slash=Yt.default;exports.Sleep=Kt.default;exports.Smartphone=Xt.default;exports.Sparkling2Line=Zt.default;exports.StarEmpty=_t.default;exports.StarFilled=eu.default;exports.StarHalf=ru.default;exports.Store=tu.default;exports.StoreSync=uu.default;exports.Subscript=ou.default;exports.Superscript=au.default;exports.Sync=iu.default;exports.TablerTicket=nu.default;exports.Tasks=lu.default;exports.Text=su.default;exports.TextAlignCenter=cu.default;exports.TextAlignLeft=du.default;exports.TextAlignRight=fu.default;exports.TextBold=qu.default;exports.TextItalics=hu.default;exports.TextJustify=pu.default;exports.TextMessage=Cu.default;exports.TextStrikethrough=gu.default;exports.TextUnderline=mu.default;exports.Textbox=Su.default;exports.Theme=ku.default;exports.TicketForm=Au.default;exports.Training=wu.default;exports.Truck=bu.default;exports.Twitter=Pu.default;exports.Unarchive=Tu.default;exports.Union=Mu.default;exports.Union1=Fu.default;exports.Unlock=Ru.default;exports.Unsatisfactory=Lu.default;exports.Upload=vu.default;exports.UserMinus1=xu.default;exports.UserPlus=yu.default;exports.UserSound=Du.default;exports.VideoCamcorder=Iu.default;exports.VideoFilm=Uu.default;exports.VolumeMute=Eu.default;exports.VolumeOneline=Bu.default;exports.VolumeTwoline=Hu.default;exports.Wallet=Wu.default;exports.WandSparkles=Ou.default;exports.WebPush=Gu.default;exports.Webhook=Nu.default;exports.Website=Vu.default;exports.WhatsApp=$u.default;exports.Whatsapp=zu.default;exports.Whatsapp2=ju.default;exports.WorkingHours=Ju.default;exports.Write=Qu.default;exports.Youtube=Yu.default;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as l, Fragment as rt, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import st from "../../../assets/icons/cross.svg.js";
|
|
3
|
-
import { useState as s, useMemo as
|
|
4
|
-
import { TitleRegular as
|
|
3
|
+
import { useState as s, useMemo as at, useRef as f, useCallback as c } from "react";
|
|
4
|
+
import { TitleRegular as it, BodySecondary as lt } from "../../TypographyStyle.js";
|
|
5
5
|
import { addUnique as L } from "../../../utils/arrayUtils.js";
|
|
6
|
-
import { COLORS as
|
|
6
|
+
import { COLORS as _ } from "../../../constants/Theme.js";
|
|
7
7
|
import { SubAgentScrim as ct, SubAgentPanel as ut, SubAgentPanelHeader as dt, SubAgentPanelHeaderText as mt, SubAgentCloseButton as gt, SubAgentPanelBody as pt, SubAgentPanelFooter as ft } from "../AgentBuilder.styled.js";
|
|
8
8
|
import { AGENT_CHAR_LIMITS as ht } from "../constants/charLimits.js";
|
|
9
9
|
import { buildAgentMentionItems as bt, toolSourceLabel as yt } from "../utils/mentionSerialization.js";
|
|
@@ -16,16 +16,16 @@ import { Toaster as xt } from "../../toaster/Toaster.js";
|
|
|
16
16
|
const Ut = ({
|
|
17
17
|
onClose: h,
|
|
18
18
|
onSave: j,
|
|
19
|
-
availableTools:
|
|
19
|
+
availableTools: a,
|
|
20
20
|
onImprove: It,
|
|
21
21
|
title: w = "Create sub-agent",
|
|
22
22
|
initial: u,
|
|
23
23
|
appLabel: G = "Manifest",
|
|
24
24
|
charLimits: b = ht
|
|
25
25
|
}) => {
|
|
26
|
-
const [y, $] = s(u?.name ?? ""), [d, S] = s(u?.instructions ?? ""), [m, C] = s(u?.guardrail ?? ""), [x, g] = s(u?.tools ?? []), [M,
|
|
27
|
-
() => bt(
|
|
28
|
-
[
|
|
26
|
+
const [y, $] = s(u?.name ?? ""), [d, S] = s(u?.instructions ?? ""), [m, C] = s(u?.guardrail ?? ""), [x, g] = s(u?.tools ?? []), [M, B] = s(!1), [z, k] = s(0), [q, E] = s(0), [Tt, vt] = s(null), I = at(
|
|
27
|
+
() => bt(a, [], G),
|
|
28
|
+
[a, G]
|
|
29
29
|
), p = f({}), T = f("instructions"), W = c((t) => {
|
|
30
30
|
p.current.instructions = t ?? void 0;
|
|
31
31
|
}, []), D = c((t) => {
|
|
@@ -43,31 +43,31 @@ const Ut = ({
|
|
|
43
43
|
(p.current[T.current] ?? p.current.instructions)?.("tool", t);
|
|
44
44
|
}, []), [v, A] = s(
|
|
45
45
|
null
|
|
46
|
-
),
|
|
47
|
-
const e =
|
|
48
|
-
|
|
46
|
+
), R = f(null), H = f(0), X = (t) => {
|
|
47
|
+
const e = a.find((o) => o.tool_id === t), n = `{{tool:${t}}}`, i = (o) => o.split(n).join("");
|
|
48
|
+
R.current = { instructions: d, guardrail: m, tools: x }, S((o) => i(o)), C((o) => i(o)), g((o) => o.filter((ot) => ot !== t)), k((o) => o + 1), E((o) => o + 1), H.current += 1, A({
|
|
49
49
|
id: H.current,
|
|
50
50
|
message: `Tool "${e?.display_name ?? "Tool"}" removed`
|
|
51
51
|
});
|
|
52
52
|
}, Y = () => {
|
|
53
|
-
const t =
|
|
54
|
-
t && (S(t.instructions), C(t.guardrail), g(t.tools),
|
|
53
|
+
const t = R.current;
|
|
54
|
+
t && (S(t.instructions), C(t.guardrail), g(t.tools), k((e) => e + 1), E((e) => e + 1), R.current = null), A(null);
|
|
55
55
|
}, K = y.trim().length > 0 && (d.trim().length > 0 || m.trim().length > 0), Z = x.map((t) => {
|
|
56
|
-
const e =
|
|
56
|
+
const e = a.find((n) => n.tool_id === t);
|
|
57
57
|
return e ? {
|
|
58
58
|
id: t,
|
|
59
59
|
label: e.display_name,
|
|
60
60
|
icon: P[e.source ?? "manifest"]
|
|
61
61
|
} : null;
|
|
62
|
-
}).filter((t) => t !== null), tt =
|
|
62
|
+
}).filter((t) => t !== null), tt = a.map((t) => ({
|
|
63
63
|
label: t.display_name,
|
|
64
64
|
value: t.tool_id,
|
|
65
65
|
leadingIcon: F(P[t.source ?? "manifest"]) ?? void 0
|
|
66
66
|
})), et = (() => {
|
|
67
67
|
const t = [], e = /* @__PURE__ */ new Map();
|
|
68
|
-
return
|
|
69
|
-
const
|
|
70
|
-
e.has(
|
|
68
|
+
return a.forEach((n) => {
|
|
69
|
+
const i = n.source ?? "manifest";
|
|
70
|
+
e.has(i) || (e.set(i, []), t.push(i)), e.get(i)?.push({
|
|
71
71
|
label: n.display_name,
|
|
72
72
|
value: n.tool_id,
|
|
73
73
|
leadingIcon: F(P[n.source ?? "manifest"]) ?? void 0
|
|
@@ -87,11 +87,11 @@ const Ut = ({
|
|
|
87
87
|
tools: x
|
|
88
88
|
});
|
|
89
89
|
if (t && typeof t.then == "function") {
|
|
90
|
-
|
|
90
|
+
B(!0);
|
|
91
91
|
try {
|
|
92
92
|
await t;
|
|
93
93
|
} finally {
|
|
94
|
-
|
|
94
|
+
B(!1);
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
};
|
|
@@ -100,15 +100,15 @@ const Ut = ({
|
|
|
100
100
|
/* @__PURE__ */ l(ut, { "data-test": "create-subagent-panel", children: [
|
|
101
101
|
/* @__PURE__ */ l(dt, { children: [
|
|
102
102
|
/* @__PURE__ */ l(mt, { children: [
|
|
103
|
-
/* @__PURE__ */ r(
|
|
104
|
-
/* @__PURE__ */ r(lt, { color:
|
|
103
|
+
/* @__PURE__ */ r(it, { color: _.content.primary, children: w }),
|
|
104
|
+
/* @__PURE__ */ r(lt, { color: _.content.secondary, children: "Each sub-agent handles one piece of the job. Use @ in the main instructions to call them." })
|
|
105
105
|
] }),
|
|
106
106
|
/* @__PURE__ */ r(gt, { onClick: h, "aria-label": "Close", children: /* @__PURE__ */ r(
|
|
107
107
|
st,
|
|
108
108
|
{
|
|
109
109
|
width: 20,
|
|
110
110
|
height: 20,
|
|
111
|
-
color:
|
|
111
|
+
color: _.content.secondary
|
|
112
112
|
}
|
|
113
113
|
) })
|
|
114
114
|
] }),
|
|
@@ -139,7 +139,7 @@ const Ut = ({
|
|
|
139
139
|
minHeight: "160px",
|
|
140
140
|
resetKey: `instr-${z}`,
|
|
141
141
|
mentionItems: I,
|
|
142
|
-
tools:
|
|
142
|
+
tools: a,
|
|
143
143
|
onMentionSelect: O,
|
|
144
144
|
onFocus: J,
|
|
145
145
|
registerInsert: W
|
|
@@ -157,7 +157,7 @@ const Ut = ({
|
|
|
157
157
|
minHeight: "160px",
|
|
158
158
|
resetKey: `guard-${q}`,
|
|
159
159
|
mentionItems: I,
|
|
160
|
-
tools:
|
|
160
|
+
tools: a,
|
|
161
161
|
onMentionSelect: O,
|
|
162
162
|
onFocus: Q,
|
|
163
163
|
registerInsert: D
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateSubAgentPanel.js","sources":["../../../../../src/components/agent-builder/components/CreateSubAgentPanel.tsx"],"sourcesContent":["import CrossIcon from '@src/assets/icons/cross.svg';\nimport React, { useCallback, useMemo, useRef, useState } from 'react';\nimport { Button } from '@src/components/button';\nimport { SingleOption } from '@src/components/dropdown/type';\nimport { Input } from '@src/components/input';\nimport { Toaster } from '@src/components/toaster';\nimport { BodySecondary, TitleRegular } from '@src/components/TypographyStyle';\nimport { addUnique } from '@src/utils/arrayUtils';\nimport { COLORS } from '@src/constants/Theme';\nimport { AgentTool, SubAgentDraft } from '../AgentBuilder.model';\nimport {\n\tSubAgentCloseButton,\n\tSubAgentPanel,\n\tSubAgentPanelBody,\n\tSubAgentPanelFooter,\n\tSubAgentPanelHeader,\n\tSubAgentPanelHeaderText,\n\tSubAgentScrim,\n} from '../AgentBuilder.styled';\nimport { AGENT_CHAR_LIMITS } from '../constants/charLimits';\nimport type { AgentCharLimits } from '../constants/charLimits';\nimport {\n\tbuildAgentMentionItems,\n\ttoolSourceLabel,\n} from '../utils/mentionSerialization';\nimport { renderSourceIcon, SOURCE_ICONS } from '../utils/sourceIcons';\nimport { MentionEditor } from './MentionEditor';\nimport {\n\tSelectableItem,\n\tSelectableListSection,\n\tSourceGroup,\n} from './SelectableListSection';\n\ntype InsertFn = (kind: 'tool' | 'subagent', id: string, label?: string) => void;\n\ninterface CreateSubAgentPanelProps {\n\tonClose: () => void;\n\t/** Persist the draft. The drawer shows a loader while the returned promise is pending. */\n\tonSave: (draft: SubAgentDraft) => void | Promise<void>;\n\tavailableTools: AgentTool[];\n\t/** Optional \"Improve with AI\" for instructions / guardrails. Omit to hide the buttons. */\n\tonImprove?: (\n\t\tkind: 'instructions' | 'guardrail',\n\t\ttext: string,\n\t) => Promise<string>;\n\t/** Header title — \"Create sub-agent\" (default) or \"Edit sub-agent\". */\n\ttitle?: string;\n\t/** Initial values, e.g. when configuring an existing sub-agent. */\n\tinitial?: SubAgentDraft;\n\t/** Tool-source fallback label for chips (host app). */\n\tappLabel?: string;\n\t/** Resolved character limits (defaults to {@link AGENT_CHAR_LIMITS}). */\n\tcharLimits?: AgentCharLimits;\n}\n\n/**\n * Right-side drawer for creating / editing a sub-agent (name, instructions,\n * guardrails, tools). Instructions & Guardrails are `@`-mention editors (tools\n * only — sub-agents can't nest); adding a tool from the list inserts it at the\n * last-focused field's cursor. Mount it fresh per open (key it) so `initial`\n * seeds the draft.\n */\nexport const CreateSubAgentPanel: React.FC<CreateSubAgentPanelProps> = ({\n\tonClose,\n\tonSave,\n\tavailableTools,\n\tonImprove,\n\ttitle = 'Create sub-agent',\n\tinitial,\n\tappLabel = 'Manifest',\n\tcharLimits = AGENT_CHAR_LIMITS,\n}) => {\n\tconst [name, setName] = useState(initial?.name ?? '');\n\tconst [instructions, setInstructions] = useState(initial?.instructions ?? '');\n\tconst [guardrail, setGuardrail] = useState(initial?.guardrail ?? '');\n\tconst [tools, setTools] = useState<string[]>(initial?.tools ?? []);\n\tconst [saving, setSaving] = useState(false);\n\t// Bumped to remount a field after its text is replaced (e.g. by Improve).\n\tconst [instrKey, setInstrKey] = useState(0);\n\tconst [guardKey, setGuardKey] = useState(0);\n\tconst [improving, setImproving] = useState<\n\t\t'instructions' | 'guardrail' | null\n\t>(null);\n\n\t// Tools-only mention list (sub-agents can't reference other sub-agents).\n\tconst mentionItems = useMemo(\n\t\t() => buildAgentMentionItems(availableTools, [], appLabel),\n\t\t[availableTools, appLabel],\n\t);\n\n\t// Per-field insert + focus registry, so the Tools list inserts a chip into the\n\t// last-focused editor at its cursor.\n\tconst insertersRef = useRef<\n\t\tPartial<Record<'instructions' | 'guardrail', InsertFn>>\n\t>({});\n\tconst lastFocusedRef = useRef<'instructions' | 'guardrail'>('instructions');\n\tconst registerInstr = useCallback((fn: InsertFn | null) => {\n\t\tinsertersRef.current.instructions = fn ?? undefined;\n\t}, []);\n\tconst registerGuard = useCallback((fn: InsertFn | null) => {\n\t\tinsertersRef.current.guardrail = fn ?? undefined;\n\t}, []);\n\tconst focusInstr = useCallback(() => {\n\t\tlastFocusedRef.current = 'instructions';\n\t}, []);\n\tconst focusGuard = useCallback(() => {\n\t\tlastFocusedRef.current = 'guardrail';\n\t}, []);\n\tconst addToolMention = useCallback(\n\t\t(kind: 'tool' | 'subagent', id: string) => {\n\t\t\tif (kind === 'tool') {\n\t\t\t\tsetTools((prev) => addUnique(prev, id));\n\t\t\t}\n\t\t},\n\t\t[],\n\t);\n\tconst insertToolAtCursor = useCallback((id: string) => {\n\t\tconst target =\n\t\t\tinsertersRef.current[lastFocusedRef.current] ??\n\t\t\tinsertersRef.current.instructions;\n\t\ttarget?.('tool', id);\n\t}, []);\n\n\t// Local undo toast for tool removal (drawer state isn't in AgentValue).\n\tconst [undo, setUndo] = useState<{ id: number; message: string } | null>(\n\t\tnull,\n\t);\n\tconst undoSnapshotRef = useRef<{\n\t\tinstructions: string;\n\t\tguardrail: string;\n\t\ttools: string[];\n\t} | null>(null);\n\tconst undoIdRef = useRef(0);\n\n\tconst removeTool = (id: string) => {\n\t\tconst tool = availableTools.find((t) => t.tool_id === id);\n\t\tconst token = tool ? `{{tool:${tool.function_key}}}` : null;\n\t\tconst strip = (text: string) => (token ? text.split(token).join('') : text);\n\t\tundoSnapshotRef.current = { instructions, guardrail, tools };\n\t\tsetInstructions((prev) => strip(prev));\n\t\tsetGuardrail((prev) => strip(prev));\n\t\tsetTools((prev) => prev.filter((t) => t !== id));\n\t\tsetInstrKey((k) => k + 1);\n\t\tsetGuardKey((k) => k + 1);\n\t\tundoIdRef.current += 1;\n\t\tsetUndo({\n\t\t\tid: undoIdRef.current,\n\t\t\tmessage: `Tool \"${tool?.display_name ?? 'Tool'}\" removed`,\n\t\t});\n\t};\n\n\tconst undoRemove = () => {\n\t\tconst snap = undoSnapshotRef.current;\n\t\tif (snap) {\n\t\t\tsetInstructions(snap.instructions);\n\t\t\tsetGuardrail(snap.guardrail);\n\t\t\tsetTools(snap.tools);\n\t\t\tsetInstrKey((k) => k + 1);\n\t\t\tsetGuardKey((k) => k + 1);\n\t\t\tundoSnapshotRef.current = null;\n\t\t}\n\t\tsetUndo(null);\n\t};\n\n\tconst canSave =\n\t\tname.trim().length > 0 &&\n\t\t(instructions.trim().length > 0 || guardrail.trim().length > 0);\n\n\tconst toolItems: SelectableItem[] = tools\n\t\t.map((id): SelectableItem | null => {\n\t\t\tconst tool = availableTools.find((t) => t.tool_id === id);\n\t\t\treturn tool\n\t\t\t\t? {\n\t\t\t\t\t\tid,\n\t\t\t\t\t\tlabel: tool.display_name,\n\t\t\t\t\t\ticon: SOURCE_ICONS[tool.source ?? 'manifest'],\n\t\t\t\t }\n\t\t\t\t: null;\n\t\t})\n\t\t.filter((x): x is SelectableItem => x !== null);\n\n\t// Offer all tools (re-add allowed); the chip list stays deduped. Icon left of\n\t// the name, no description.\n\tconst toolOptions: SingleOption[] = availableTools.map((t) => ({\n\t\tlabel: t.display_name,\n\t\tvalue: t.tool_id,\n\t\tleadingIcon:\n\t\t\trenderSourceIcon(SOURCE_ICONS[t.source ?? 'manifest']) ?? undefined,\n\t}));\n\n\t// Group tools by source (Manifest / Shopify / …) so the empty state shows the\n\t// same per-source buttons as the main builder's side panel.\n\tconst toolSourceGroups: SourceGroup[] = (() => {\n\t\tconst order: string[] = [];\n\t\tconst bySource = new Map<string, SingleOption[]>();\n\t\tavailableTools.forEach((t) => {\n\t\t\tconst src = t.source ?? 'manifest';\n\t\t\tif (!bySource.has(src)) {\n\t\t\t\tbySource.set(src, []);\n\t\t\t\torder.push(src);\n\t\t\t}\n\t\t\tbySource.get(src)?.push({\n\t\t\t\tlabel: t.display_name,\n\t\t\t\tvalue: t.tool_id,\n\t\t\t\tleadingIcon:\n\t\t\t\t\trenderSourceIcon(SOURCE_ICONS[t.source ?? 'manifest']) ?? undefined,\n\t\t\t});\n\t\t});\n\t\treturn order.map((src) => ({\n\t\t\tsource: src,\n\t\t\tlabel: toolSourceLabel(src),\n\t\t\toptions: bySource.get(src) ?? [],\n\t\t}));\n\t})();\n\n\tconst handleSave = async () => {\n\t\tif (!canSave || saving) {\n\t\t\treturn;\n\t\t}\n\t\tconst result = onSave({\n\t\t\tname: name.trim(),\n\t\t\tinstructions,\n\t\t\tguardrail,\n\t\t\ttools,\n\t\t});\n\t\tif (result && typeof (result as Promise<void>).then === 'function') {\n\t\t\tsetSaving(true);\n\t\t\ttry {\n\t\t\t\tawait result;\n\t\t\t} finally {\n\t\t\t\tsetSaving(false);\n\t\t\t}\n\t\t}\n\t};\n\n\tconst handleImprove = async (kind: 'instructions' | 'guardrail') => {\n\t\tif (!onImprove || improving) {\n\t\t\treturn;\n\t\t}\n\t\tsetImproving(kind);\n\t\ttry {\n\t\t\tconst current = kind === 'instructions' ? instructions : guardrail;\n\t\t\tconst improved = await onImprove(kind, current);\n\t\t\tif (kind === 'instructions') {\n\t\t\t\tsetInstructions(improved);\n\t\t\t\tsetInstrKey((k) => k + 1);\n\t\t\t} else {\n\t\t\t\tsetGuardrail(improved);\n\t\t\t\tsetGuardKey((k) => k + 1);\n\t\t\t}\n\t\t} finally {\n\t\t\tsetImproving(null);\n\t\t}\n\t};\n\n\treturn (\n\t\t<>\n\t\t\t<SubAgentScrim onClick={onClose} data-test=\"subagent-scrim\" />\n\t\t\t<SubAgentPanel data-test=\"create-subagent-panel\">\n\t\t\t\t<SubAgentPanelHeader>\n\t\t\t\t\t<SubAgentPanelHeaderText>\n\t\t\t\t\t\t<TitleRegular color={COLORS.content.primary}>{title}</TitleRegular>\n\t\t\t\t\t\t<BodySecondary color={COLORS.content.secondary}>\n\t\t\t\t\t\t\tEach sub-agent handles one piece of the job. Use @ in the main\n\t\t\t\t\t\t\tinstructions to call them.\n\t\t\t\t\t\t</BodySecondary>\n\t\t\t\t\t</SubAgentPanelHeaderText>\n\t\t\t\t\t<SubAgentCloseButton onClick={onClose} aria-label=\"Close\">\n\t\t\t\t\t\t<CrossIcon\n\t\t\t\t\t\t\twidth={20}\n\t\t\t\t\t\t\theight={20}\n\t\t\t\t\t\t\tcolor={COLORS.content.secondary}\n\t\t\t\t\t\t/>\n\t\t\t\t\t</SubAgentCloseButton>\n\t\t\t\t</SubAgentPanelHeader>\n\n\t\t\t\t<SubAgentPanelBody>\n\t\t\t\t\t<Input\n\t\t\t\t\t\tdata-test=\"subagent-name\"\n\t\t\t\t\t\tlabelText=\"Agent name\"\n\t\t\t\t\t\tlabelTextBold\n\t\t\t\t\t\tplaceholder=\"Enter agent name\"\n\t\t\t\t\t\tvalue={name}\n\t\t\t\t\t\tmaxCharLimit={charLimits.name}\n\t\t\t\t\t\tmaxCharLimitPosition=\"TOP\"\n\t\t\t\t\t\tmaxCharStyle={{ fontSize: 12, lineHeight: '16px' }}\n\t\t\t\t\t\tonChangeText={setName}\n\t\t\t\t\t/>\n\n\t\t\t\t\t<MentionEditor\n\t\t\t\t\t\tdata-test=\"subagent-instructions\"\n\t\t\t\t\t\tlabel=\"Instructions\"\n\t\t\t\t\t\tvalue={instructions}\n\t\t\t\t\t\tonChange={setInstructions}\n\t\t\t\t\t\tmaxLength={charLimits.instructions}\n\t\t\t\t\t\tplaceholder=\"Write the steps in plain English. Type @ to reference a tool.\"\n\t\t\t\t\t\tminHeight=\"160px\"\n\t\t\t\t\t\tresetKey={`instr-${instrKey}`}\n\t\t\t\t\t\tmentionItems={mentionItems}\n\t\t\t\t\t\ttools={availableTools}\n\t\t\t\t\t\tonMentionSelect={addToolMention}\n\t\t\t\t\t\tonFocus={focusInstr}\n\t\t\t\t\t\tregisterInsert={registerInstr}\n\t\t\t\t\t/>\n\n\t\t\t\t\t<MentionEditor\n\t\t\t\t\t\tdata-test=\"subagent-guardrail\"\n\t\t\t\t\t\tlabel=\"Guardrails\"\n\t\t\t\t\t\tvalue={guardrail}\n\t\t\t\t\t\tonChange={setGuardrail}\n\t\t\t\t\t\tmaxLength={charLimits.guardrail}\n\t\t\t\t\t\tplaceholder=\"e.g. Never discuss competitor pricing. Type @ to reference a tool.\"\n\t\t\t\t\t\tminHeight=\"160px\"\n\t\t\t\t\t\tresetKey={`guard-${guardKey}`}\n\t\t\t\t\t\tmentionItems={mentionItems}\n\t\t\t\t\t\ttools={availableTools}\n\t\t\t\t\t\tonMentionSelect={addToolMention}\n\t\t\t\t\t\tonFocus={focusGuard}\n\t\t\t\t\t\tregisterInsert={registerGuard}\n\t\t\t\t\t/>\n\n\t\t\t\t\t<SelectableListSection\n\t\t\t\t\t\ttitle=\"Tools this agent can use\"\n\t\t\t\t\t\tdataTestPrefix=\"subagent-tools\"\n\t\t\t\t\t\titems={toolItems}\n\t\t\t\t\t\taddableOptions={toolOptions}\n\t\t\t\t\t\tsourceGroups={toolSourceGroups}\n\t\t\t\t\t\tmentionItems={mentionItems}\n\t\t\t\t\t\temptyText=\"No tools added yet.\"\n\t\t\t\t\t\tonAdd={(id) => {\n\t\t\t\t\t\t\tinsertToolAtCursor(id);\n\t\t\t\t\t\t\tsetTools((prev) => addUnique(prev, id));\n\t\t\t\t\t\t}}\n\t\t\t\t\t\tonRemove={removeTool}\n\t\t\t\t\t/>\n\t\t\t\t</SubAgentPanelBody>\n\n\t\t\t\t<SubAgentPanelFooter>\n\t\t\t\t\t<Button\n\t\t\t\t\t\tdata-test=\"subagent-save\"\n\t\t\t\t\t\tbuttonType=\"primary\"\n\t\t\t\t\t\tsize=\"small\"\n\t\t\t\t\t\tbuttonText=\"Save\"\n\t\t\t\t\t\tdisabled={!canSave}\n\t\t\t\t\t\tisLoading={saving}\n\t\t\t\t\t\tonClick={handleSave}\n\t\t\t\t\t/>\n\t\t\t\t\t<Button\n\t\t\t\t\t\tdata-test=\"subagent-cancel\"\n\t\t\t\t\t\tbuttonType=\"tertiaryGray\"\n\t\t\t\t\t\tsize=\"small\"\n\t\t\t\t\t\tbuttonText=\"Cancel\"\n\t\t\t\t\t\tonClick={onClose}\n\t\t\t\t\t/>\n\t\t\t\t</SubAgentPanelFooter>\n\t\t\t</SubAgentPanel>\n\n\t\t\t{undo && (\n\t\t\t\t<Toaster\n\t\t\t\t\tkey={undo.id}\n\t\t\t\t\ttext={undo.message}\n\t\t\t\t\ttype=\"info\"\n\t\t\t\t\tposition=\"top-right\"\n\t\t\t\t\tautoClose={5000}\n\t\t\t\t\thideCloseButton\n\t\t\t\t\tbuttonProps={{\n\t\t\t\t\t\tbuttonText: 'Undo',\n\t\t\t\t\t\tshowButton: true,\n\t\t\t\t\t\tonButtonClick: () => {\n\t\t\t\t\t\t\tundoRemove();\n\t\t\t\t\t\t\treturn {} as Record<string, never>;\n\t\t\t\t\t\t},\n\t\t\t\t\t}}\n\t\t\t\t\tonCloseToast={() => setUndo(null)}\n\t\t\t\t/>\n\t\t\t)}\n\t\t</>\n\t);\n};\n"],"names":["CreateSubAgentPanel","onClose","onSave","availableTools","onImprove","title","initial","appLabel","charLimits","AGENT_CHAR_LIMITS","name","setName","useState","instructions","setInstructions","guardrail","setGuardrail","tools","setTools","saving","setSaving","instrKey","setInstrKey","guardKey","setGuardKey","improving","setImproving","mentionItems","useMemo","buildAgentMentionItems","insertersRef","useRef","lastFocusedRef","registerInstr","useCallback","fn","registerGuard","focusInstr","focusGuard","addToolMention","kind","id","prev","addUnique","insertToolAtCursor","undo","setUndo","undoSnapshotRef","undoIdRef","removeTool","tool","t","token","strip","text","k","undoRemove","snap","canSave","toolItems","SOURCE_ICONS","x","toolOptions","renderSourceIcon","toolSourceGroups","order","bySource","src","toolSourceLabel","handleSave","result","jsxs","Fragment","jsx","SubAgentScrim","SubAgentPanel","SubAgentPanelHeader","SubAgentPanelHeaderText","TitleRegular","COLORS","BodySecondary","SubAgentCloseButton","CrossIcon","SubAgentPanelBody","Input","MentionEditor","SelectableListSection","SubAgentPanelFooter","Button","Toaster"],"mappings":";;;;;;;;;;;;;;;AA8DO,MAAMA,KAA0D,CAAC;AAAA,EACvE,SAAAC;AAAA,EACA,QAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,WAAAC;AAAA,EACA,OAAAC,IAAQ;AAAA,EACR,SAAAC;AAAA,EACA,UAAAC,IAAW;AAAA,EACX,YAAAC,IAAaC;AACd,MAAM;AACL,QAAM,CAACC,GAAMC,CAAO,IAAIC,EAASN,GAAS,QAAQ,EAAE,GAC9C,CAACO,GAAcC,CAAe,IAAIF,EAASN,GAAS,gBAAgB,EAAE,GACtE,CAACS,GAAWC,CAAY,IAAIJ,EAASN,GAAS,aAAa,EAAE,GAC7D,CAACW,GAAOC,CAAQ,IAAIN,EAAmBN,GAAS,SAAS,EAAE,GAC3D,CAACa,GAAQC,CAAS,IAAIR,EAAS,EAAK,GAEpC,CAACS,GAAUC,CAAW,IAAIV,EAAS,CAAC,GACpC,CAACW,GAAUC,CAAW,IAAIZ,EAAS,CAAC,GACpC,CAACa,IAAWC,EAAY,IAAId,EAEhC,IAAI,GAGAe,IAAeC;AAAA,IACpB,MAAMC,GAAuB1B,GAAgB,CAAA,GAAII,CAAQ;AAAA,IACzD,CAACJ,GAAgBI,CAAQ;AAAA,EAAA,GAKpBuB,IAAeC,EAEnB,EAAE,GACEC,IAAiBD,EAAqC,cAAc,GACpEE,IAAgBC,EAAY,CAACC,MAAwB;AAC1D,IAAAL,EAAa,QAAQ,eAAeK,KAAM;AAAA,EAC3C,GAAG,CAAA,CAAE,GACCC,IAAgBF,EAAY,CAACC,MAAwB;AAC1D,IAAAL,EAAa,QAAQ,YAAYK,KAAM;AAAA,EACxC,GAAG,CAAA,CAAE,GACCE,IAAaH,EAAY,MAA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E,CAAC;AAAA,YACvC;AAAA,YACA,UAAUQ;AAAA,UAAA;AAAA,QAAA;AAAA,MACX,GACD;AAAA,wBAECsC,IAAA,EACA,UAAA;AAAA,QAAA,gBAAAd;AAAA,UAACe;AAAA,UAAA;AAAA,YACA,aAAU;AAAA,YACV,YAAW;AAAA,YACX,MAAK;AAAA,YACL,YAAW;AAAA,YACX,UAAU,CAAC9B;AAAA,YACX,WAAWvC;AAAA,YACX,SAASkD;AAAA,UAAA;AAAA,QAAA;AAAA,QAEV,gBAAAI;AAAA,UAACe;AAAA,UAAA;AAAA,YACA,aAAU;AAAA,YACV,YAAW;AAAA,YACX,MAAK;AAAA,YACL,YAAW;AAAA,YACX,SAASvF;AAAA,UAAA;AAAA,QAAA;AAAA,MACV,EAAA,CACD;AAAA,IAAA,GACD;AAAA,IAEC4C,KACA,gBAAA4B;AAAA,MAACgB;AAAA,MAAA;AAAA,QAEA,MAAM5C,EAAK;AAAA,QACX,MAAK;AAAA,QACL,UAAS;AAAA,QACT,WAAW;AAAA,QACX,iBAAe;AAAA,QACf,aAAa;AAAA,UACZ,YAAY;AAAA,UACZ,YAAY;AAAA,UACZ,eAAe,OACdW,EAAA,GACO,CAAA;AAAA,QACR;AAAA,QAED,cAAc,MAAMV,EAAQ,IAAI;AAAA,MAAA;AAAA,MAd3BD,EAAK;AAAA,IAAA;AAAA,EAeX,GAEF;AAEF;"}
|
|
1
|
+
{"version":3,"file":"CreateSubAgentPanel.js","sources":["../../../../../src/components/agent-builder/components/CreateSubAgentPanel.tsx"],"sourcesContent":["import CrossIcon from '@src/assets/icons/cross.svg';\nimport React, { useCallback, useMemo, useRef, useState } from 'react';\nimport { Button } from '@src/components/button';\nimport { SingleOption } from '@src/components/dropdown/type';\nimport { Input } from '@src/components/input';\nimport { Toaster } from '@src/components/toaster';\nimport { BodySecondary, TitleRegular } from '@src/components/TypographyStyle';\nimport { addUnique } from '@src/utils/arrayUtils';\nimport { COLORS } from '@src/constants/Theme';\nimport { AgentTool, SubAgentDraft } from '../AgentBuilder.model';\nimport {\n\tSubAgentCloseButton,\n\tSubAgentPanel,\n\tSubAgentPanelBody,\n\tSubAgentPanelFooter,\n\tSubAgentPanelHeader,\n\tSubAgentPanelHeaderText,\n\tSubAgentScrim,\n} from '../AgentBuilder.styled';\nimport { AGENT_CHAR_LIMITS } from '../constants/charLimits';\nimport type { AgentCharLimits } from '../constants/charLimits';\nimport {\n\tbuildAgentMentionItems,\n\ttoolSourceLabel,\n} from '../utils/mentionSerialization';\nimport { renderSourceIcon, SOURCE_ICONS } from '../utils/sourceIcons';\nimport { MentionEditor } from './MentionEditor';\nimport {\n\tSelectableItem,\n\tSelectableListSection,\n\tSourceGroup,\n} from './SelectableListSection';\n\ntype InsertFn = (kind: 'tool' | 'subagent', id: string, label?: string) => void;\n\ninterface CreateSubAgentPanelProps {\n\tonClose: () => void;\n\t/** Persist the draft. The drawer shows a loader while the returned promise is pending. */\n\tonSave: (draft: SubAgentDraft) => void | Promise<void>;\n\tavailableTools: AgentTool[];\n\t/** Optional \"Improve with AI\" for instructions / guardrails. Omit to hide the buttons. */\n\tonImprove?: (\n\t\tkind: 'instructions' | 'guardrail',\n\t\ttext: string,\n\t) => Promise<string>;\n\t/** Header title — \"Create sub-agent\" (default) or \"Edit sub-agent\". */\n\ttitle?: string;\n\t/** Initial values, e.g. when configuring an existing sub-agent. */\n\tinitial?: SubAgentDraft;\n\t/** Tool-source fallback label for chips (host app). */\n\tappLabel?: string;\n\t/** Resolved character limits (defaults to {@link AGENT_CHAR_LIMITS}). */\n\tcharLimits?: AgentCharLimits;\n}\n\n/**\n * Right-side drawer for creating / editing a sub-agent (name, instructions,\n * guardrails, tools). Instructions & Guardrails are `@`-mention editors (tools\n * only — sub-agents can't nest); adding a tool from the list inserts it at the\n * last-focused field's cursor. Mount it fresh per open (key it) so `initial`\n * seeds the draft.\n */\nexport const CreateSubAgentPanel: React.FC<CreateSubAgentPanelProps> = ({\n\tonClose,\n\tonSave,\n\tavailableTools,\n\tonImprove,\n\ttitle = 'Create sub-agent',\n\tinitial,\n\tappLabel = 'Manifest',\n\tcharLimits = AGENT_CHAR_LIMITS,\n}) => {\n\tconst [name, setName] = useState(initial?.name ?? '');\n\tconst [instructions, setInstructions] = useState(initial?.instructions ?? '');\n\tconst [guardrail, setGuardrail] = useState(initial?.guardrail ?? '');\n\tconst [tools, setTools] = useState<string[]>(initial?.tools ?? []);\n\tconst [saving, setSaving] = useState(false);\n\t// Bumped to remount a field after its text is replaced (e.g. by Improve).\n\tconst [instrKey, setInstrKey] = useState(0);\n\tconst [guardKey, setGuardKey] = useState(0);\n\tconst [improving, setImproving] = useState<\n\t\t'instructions' | 'guardrail' | null\n\t>(null);\n\n\t// Tools-only mention list (sub-agents can't reference other sub-agents).\n\tconst mentionItems = useMemo(\n\t\t() => buildAgentMentionItems(availableTools, [], appLabel),\n\t\t[availableTools, appLabel],\n\t);\n\n\t// Per-field insert + focus registry, so the Tools list inserts a chip into the\n\t// last-focused editor at its cursor.\n\tconst insertersRef = useRef<\n\t\tPartial<Record<'instructions' | 'guardrail', InsertFn>>\n\t>({});\n\tconst lastFocusedRef = useRef<'instructions' | 'guardrail'>('instructions');\n\tconst registerInstr = useCallback((fn: InsertFn | null) => {\n\t\tinsertersRef.current.instructions = fn ?? undefined;\n\t}, []);\n\tconst registerGuard = useCallback((fn: InsertFn | null) => {\n\t\tinsertersRef.current.guardrail = fn ?? undefined;\n\t}, []);\n\tconst focusInstr = useCallback(() => {\n\t\tlastFocusedRef.current = 'instructions';\n\t}, []);\n\tconst focusGuard = useCallback(() => {\n\t\tlastFocusedRef.current = 'guardrail';\n\t}, []);\n\tconst addToolMention = useCallback(\n\t\t(kind: 'tool' | 'subagent', id: string) => {\n\t\t\tif (kind === 'tool') {\n\t\t\t\tsetTools((prev) => addUnique(prev, id));\n\t\t\t}\n\t\t},\n\t\t[],\n\t);\n\tconst insertToolAtCursor = useCallback((id: string) => {\n\t\tconst target =\n\t\t\tinsertersRef.current[lastFocusedRef.current] ??\n\t\t\tinsertersRef.current.instructions;\n\t\ttarget?.('tool', id);\n\t}, []);\n\n\t// Local undo toast for tool removal (drawer state isn't in AgentValue).\n\tconst [undo, setUndo] = useState<{ id: number; message: string } | null>(\n\t\tnull,\n\t);\n\tconst undoSnapshotRef = useRef<{\n\t\tinstructions: string;\n\t\tguardrail: string;\n\t\ttools: string[];\n\t} | null>(null);\n\tconst undoIdRef = useRef(0);\n\n\tconst removeTool = (id: string) => {\n\t\tconst tool = availableTools.find((t) => t.tool_id === id);\n\t\t// The token stores the tool id (a tool's id is its tool_id).\n\t\tconst token = `{{tool:${id}}}`;\n\t\tconst strip = (text: string) => text.split(token).join('');\n\t\tundoSnapshotRef.current = { instructions, guardrail, tools };\n\t\tsetInstructions((prev) => strip(prev));\n\t\tsetGuardrail((prev) => strip(prev));\n\t\tsetTools((prev) => prev.filter((t) => t !== id));\n\t\tsetInstrKey((k) => k + 1);\n\t\tsetGuardKey((k) => k + 1);\n\t\tundoIdRef.current += 1;\n\t\tsetUndo({\n\t\t\tid: undoIdRef.current,\n\t\t\tmessage: `Tool \"${tool?.display_name ?? 'Tool'}\" removed`,\n\t\t});\n\t};\n\n\tconst undoRemove = () => {\n\t\tconst snap = undoSnapshotRef.current;\n\t\tif (snap) {\n\t\t\tsetInstructions(snap.instructions);\n\t\t\tsetGuardrail(snap.guardrail);\n\t\t\tsetTools(snap.tools);\n\t\t\tsetInstrKey((k) => k + 1);\n\t\t\tsetGuardKey((k) => k + 1);\n\t\t\tundoSnapshotRef.current = null;\n\t\t}\n\t\tsetUndo(null);\n\t};\n\n\tconst canSave =\n\t\tname.trim().length > 0 &&\n\t\t(instructions.trim().length > 0 || guardrail.trim().length > 0);\n\n\tconst toolItems: SelectableItem[] = tools\n\t\t.map((id): SelectableItem | null => {\n\t\t\tconst tool = availableTools.find((t) => t.tool_id === id);\n\t\t\treturn tool\n\t\t\t\t? {\n\t\t\t\t\t\tid,\n\t\t\t\t\t\tlabel: tool.display_name,\n\t\t\t\t\t\ticon: SOURCE_ICONS[tool.source ?? 'manifest'],\n\t\t\t\t }\n\t\t\t\t: null;\n\t\t})\n\t\t.filter((x): x is SelectableItem => x !== null);\n\n\t// Offer all tools (re-add allowed); the chip list stays deduped. Icon left of\n\t// the name, no description.\n\tconst toolOptions: SingleOption[] = availableTools.map((t) => ({\n\t\tlabel: t.display_name,\n\t\tvalue: t.tool_id,\n\t\tleadingIcon:\n\t\t\trenderSourceIcon(SOURCE_ICONS[t.source ?? 'manifest']) ?? undefined,\n\t}));\n\n\t// Group tools by source (Manifest / Shopify / …) so the empty state shows the\n\t// same per-source buttons as the main builder's side panel.\n\tconst toolSourceGroups: SourceGroup[] = (() => {\n\t\tconst order: string[] = [];\n\t\tconst bySource = new Map<string, SingleOption[]>();\n\t\tavailableTools.forEach((t) => {\n\t\t\tconst src = t.source ?? 'manifest';\n\t\t\tif (!bySource.has(src)) {\n\t\t\t\tbySource.set(src, []);\n\t\t\t\torder.push(src);\n\t\t\t}\n\t\t\tbySource.get(src)?.push({\n\t\t\t\tlabel: t.display_name,\n\t\t\t\tvalue: t.tool_id,\n\t\t\t\tleadingIcon:\n\t\t\t\t\trenderSourceIcon(SOURCE_ICONS[t.source ?? 'manifest']) ?? undefined,\n\t\t\t});\n\t\t});\n\t\treturn order.map((src) => ({\n\t\t\tsource: src,\n\t\t\tlabel: toolSourceLabel(src),\n\t\t\toptions: bySource.get(src) ?? [],\n\t\t}));\n\t})();\n\n\tconst handleSave = async () => {\n\t\tif (!canSave || saving) {\n\t\t\treturn;\n\t\t}\n\t\tconst result = onSave({\n\t\t\tname: name.trim(),\n\t\t\tinstructions,\n\t\t\tguardrail,\n\t\t\ttools,\n\t\t});\n\t\tif (result && typeof (result as Promise<void>).then === 'function') {\n\t\t\tsetSaving(true);\n\t\t\ttry {\n\t\t\t\tawait result;\n\t\t\t} finally {\n\t\t\t\tsetSaving(false);\n\t\t\t}\n\t\t}\n\t};\n\n\tconst handleImprove = async (kind: 'instructions' | 'guardrail') => {\n\t\tif (!onImprove || improving) {\n\t\t\treturn;\n\t\t}\n\t\tsetImproving(kind);\n\t\ttry {\n\t\t\tconst current = kind === 'instructions' ? instructions : guardrail;\n\t\t\tconst improved = await onImprove(kind, current);\n\t\t\tif (kind === 'instructions') {\n\t\t\t\tsetInstructions(improved);\n\t\t\t\tsetInstrKey((k) => k + 1);\n\t\t\t} else {\n\t\t\t\tsetGuardrail(improved);\n\t\t\t\tsetGuardKey((k) => k + 1);\n\t\t\t}\n\t\t} finally {\n\t\t\tsetImproving(null);\n\t\t}\n\t};\n\n\treturn (\n\t\t<>\n\t\t\t<SubAgentScrim onClick={onClose} data-test=\"subagent-scrim\" />\n\t\t\t<SubAgentPanel data-test=\"create-subagent-panel\">\n\t\t\t\t<SubAgentPanelHeader>\n\t\t\t\t\t<SubAgentPanelHeaderText>\n\t\t\t\t\t\t<TitleRegular color={COLORS.content.primary}>{title}</TitleRegular>\n\t\t\t\t\t\t<BodySecondary color={COLORS.content.secondary}>\n\t\t\t\t\t\t\tEach sub-agent handles one piece of the job. Use @ in the main\n\t\t\t\t\t\t\tinstructions to call them.\n\t\t\t\t\t\t</BodySecondary>\n\t\t\t\t\t</SubAgentPanelHeaderText>\n\t\t\t\t\t<SubAgentCloseButton onClick={onClose} aria-label=\"Close\">\n\t\t\t\t\t\t<CrossIcon\n\t\t\t\t\t\t\twidth={20}\n\t\t\t\t\t\t\theight={20}\n\t\t\t\t\t\t\tcolor={COLORS.content.secondary}\n\t\t\t\t\t\t/>\n\t\t\t\t\t</SubAgentCloseButton>\n\t\t\t\t</SubAgentPanelHeader>\n\n\t\t\t\t<SubAgentPanelBody>\n\t\t\t\t\t<Input\n\t\t\t\t\t\tdata-test=\"subagent-name\"\n\t\t\t\t\t\tlabelText=\"Agent name\"\n\t\t\t\t\t\tlabelTextBold\n\t\t\t\t\t\tplaceholder=\"Enter agent name\"\n\t\t\t\t\t\tvalue={name}\n\t\t\t\t\t\tmaxCharLimit={charLimits.name}\n\t\t\t\t\t\tmaxCharLimitPosition=\"TOP\"\n\t\t\t\t\t\tmaxCharStyle={{ fontSize: 12, lineHeight: '16px' }}\n\t\t\t\t\t\tonChangeText={setName}\n\t\t\t\t\t/>\n\n\t\t\t\t\t<MentionEditor\n\t\t\t\t\t\tdata-test=\"subagent-instructions\"\n\t\t\t\t\t\tlabel=\"Instructions\"\n\t\t\t\t\t\tvalue={instructions}\n\t\t\t\t\t\tonChange={setInstructions}\n\t\t\t\t\t\tmaxLength={charLimits.instructions}\n\t\t\t\t\t\tplaceholder=\"Write the steps in plain English. Type @ to reference a tool.\"\n\t\t\t\t\t\tminHeight=\"160px\"\n\t\t\t\t\t\tresetKey={`instr-${instrKey}`}\n\t\t\t\t\t\tmentionItems={mentionItems}\n\t\t\t\t\t\ttools={availableTools}\n\t\t\t\t\t\tonMentionSelect={addToolMention}\n\t\t\t\t\t\tonFocus={focusInstr}\n\t\t\t\t\t\tregisterInsert={registerInstr}\n\t\t\t\t\t/>\n\n\t\t\t\t\t<MentionEditor\n\t\t\t\t\t\tdata-test=\"subagent-guardrail\"\n\t\t\t\t\t\tlabel=\"Guardrails\"\n\t\t\t\t\t\tvalue={guardrail}\n\t\t\t\t\t\tonChange={setGuardrail}\n\t\t\t\t\t\tmaxLength={charLimits.guardrail}\n\t\t\t\t\t\tplaceholder=\"e.g. Never discuss competitor pricing. Type @ to reference a tool.\"\n\t\t\t\t\t\tminHeight=\"160px\"\n\t\t\t\t\t\tresetKey={`guard-${guardKey}`}\n\t\t\t\t\t\tmentionItems={mentionItems}\n\t\t\t\t\t\ttools={availableTools}\n\t\t\t\t\t\tonMentionSelect={addToolMention}\n\t\t\t\t\t\tonFocus={focusGuard}\n\t\t\t\t\t\tregisterInsert={registerGuard}\n\t\t\t\t\t/>\n\n\t\t\t\t\t<SelectableListSection\n\t\t\t\t\t\ttitle=\"Tools this agent can use\"\n\t\t\t\t\t\tdataTestPrefix=\"subagent-tools\"\n\t\t\t\t\t\titems={toolItems}\n\t\t\t\t\t\taddableOptions={toolOptions}\n\t\t\t\t\t\tsourceGroups={toolSourceGroups}\n\t\t\t\t\t\tmentionItems={mentionItems}\n\t\t\t\t\t\temptyText=\"No tools added yet.\"\n\t\t\t\t\t\tonAdd={(id) => {\n\t\t\t\t\t\t\tinsertToolAtCursor(id);\n\t\t\t\t\t\t\tsetTools((prev) => addUnique(prev, id));\n\t\t\t\t\t\t}}\n\t\t\t\t\t\tonRemove={removeTool}\n\t\t\t\t\t/>\n\t\t\t\t</SubAgentPanelBody>\n\n\t\t\t\t<SubAgentPanelFooter>\n\t\t\t\t\t<Button\n\t\t\t\t\t\tdata-test=\"subagent-save\"\n\t\t\t\t\t\tbuttonType=\"primary\"\n\t\t\t\t\t\tsize=\"small\"\n\t\t\t\t\t\tbuttonText=\"Save\"\n\t\t\t\t\t\tdisabled={!canSave}\n\t\t\t\t\t\tisLoading={saving}\n\t\t\t\t\t\tonClick={handleSave}\n\t\t\t\t\t/>\n\t\t\t\t\t<Button\n\t\t\t\t\t\tdata-test=\"subagent-cancel\"\n\t\t\t\t\t\tbuttonType=\"tertiaryGray\"\n\t\t\t\t\t\tsize=\"small\"\n\t\t\t\t\t\tbuttonText=\"Cancel\"\n\t\t\t\t\t\tonClick={onClose}\n\t\t\t\t\t/>\n\t\t\t\t</SubAgentPanelFooter>\n\t\t\t</SubAgentPanel>\n\n\t\t\t{undo && (\n\t\t\t\t<Toaster\n\t\t\t\t\tkey={undo.id}\n\t\t\t\t\ttext={undo.message}\n\t\t\t\t\ttype=\"info\"\n\t\t\t\t\tposition=\"top-right\"\n\t\t\t\t\tautoClose={5000}\n\t\t\t\t\thideCloseButton\n\t\t\t\t\tbuttonProps={{\n\t\t\t\t\t\tbuttonText: 'Undo',\n\t\t\t\t\t\tshowButton: true,\n\t\t\t\t\t\tonButtonClick: () => {\n\t\t\t\t\t\t\tundoRemove();\n\t\t\t\t\t\t\treturn {} as Record<string, never>;\n\t\t\t\t\t\t},\n\t\t\t\t\t}}\n\t\t\t\t\tonCloseToast={() => setUndo(null)}\n\t\t\t\t/>\n\t\t\t)}\n\t\t</>\n\t);\n};\n"],"names":["CreateSubAgentPanel","onClose","onSave","availableTools","onImprove","title","initial","appLabel","charLimits","AGENT_CHAR_LIMITS","name","setName","useState","instructions","setInstructions","guardrail","setGuardrail","tools","setTools","saving","setSaving","instrKey","setInstrKey","guardKey","setGuardKey","improving","setImproving","mentionItems","useMemo","buildAgentMentionItems","insertersRef","useRef","lastFocusedRef","registerInstr","useCallback","fn","registerGuard","focusInstr","focusGuard","addToolMention","kind","id","prev","addUnique","insertToolAtCursor","undo","setUndo","undoSnapshotRef","undoIdRef","removeTool","tool","t","token","strip","text","k","undoRemove","snap","canSave","toolItems","SOURCE_ICONS","x","toolOptions","renderSourceIcon","toolSourceGroups","order","bySource","src","toolSourceLabel","handleSave","result","jsxs","Fragment","jsx","SubAgentScrim","SubAgentPanel","SubAgentPanelHeader","SubAgentPanelHeaderText","TitleRegular","COLORS","BodySecondary","SubAgentCloseButton","CrossIcon","SubAgentPanelBody","Input","MentionEditor","SelectableListSection","SubAgentPanelFooter","Button","Toaster"],"mappings":";;;;;;;;;;;;;;;AA8DO,MAAMA,KAA0D,CAAC;AAAA,EACvE,SAAAC;AAAA,EACA,QAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,WAAAC;AAAA,EACA,OAAAC,IAAQ;AAAA,EACR,SAAAC;AAAA,EACA,UAAAC,IAAW;AAAA,EACX,YAAAC,IAAaC;AACd,MAAM;AACL,QAAM,CAACC,GAAMC,CAAO,IAAIC,EAASN,GAAS,QAAQ,EAAE,GAC9C,CAACO,GAAcC,CAAe,IAAIF,EAASN,GAAS,gBAAgB,EAAE,GACtE,CAACS,GAAWC,CAAY,IAAIJ,EAASN,GAAS,aAAa,EAAE,GAC7D,CAACW,GAAOC,CAAQ,IAAIN,EAAmBN,GAAS,SAAS,EAAE,GAC3D,CAACa,GAAQC,CAAS,IAAIR,EAAS,EAAK,GAEpC,CAACS,GAA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