@bikdotai/bik-component-library 0.0.831-beta.1 → 0.0.831-beta.3
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/ConfigToolPanel.js +6 -6
- package/dist/cjs/components/agent-builder/components/ConfigToolPanel.js.map +1 -1
- package/dist/cjs/components/agent-builder/components/CreateSubAgentPanel.js +2 -2
- package/dist/cjs/components/agent-builder/components/CreateSubAgentPanel.js.map +1 -1
- package/dist/cjs/components/agent-builder/components/DrawerHeaderText.js +3 -3
- package/dist/cjs/components/agent-builder/components/DrawerHeaderText.js.map +1 -1
- package/dist/cjs/components/agent-builder/components/MentionField.js +1 -1
- package/dist/cjs/components/agent-builder/components/MentionField.js.map +1 -1
- package/dist/cjs/components/agent-builder/components/MentionPicker.js +19 -19
- package/dist/cjs/components/agent-builder/components/MentionPicker.js.map +1 -1
- package/dist/cjs/components/agent-builder/components/RestApiToolPanel.js +4 -4
- package/dist/cjs/components/agent-builder/components/RestApiToolPanel.js.map +1 -1
- package/dist/cjs/components/agent-builder/components/SelectableListSection.js +4 -4
- package/dist/cjs/components/agent-builder/components/SelectableListSection.js.map +1 -1
- package/dist/cjs/components/agent-builder/steps/Step3HowItResponds.js +1 -1
- package/dist/cjs/components/agent-builder/steps/Step3HowItResponds.js.map +1 -1
- package/dist/cjs/components/agent-builder/utils/sourceIcons.js +1 -1
- package/dist/cjs/components/agent-builder/utils/sourceIcons.js.map +1 -1
- package/dist/cjs/components/agent-builder/utils/toolActions.js +2 -0
- package/dist/cjs/components/agent-builder/utils/toolActions.js.map +1 -0
- package/dist/cjs/components/states-modal/DeleteConfirmationModal.js +1 -1
- package/dist/cjs/components/states-modal/DeleteConfirmationModal.js.map +1 -1
- package/dist/cjs/icons/Media/Visual/{FormkitNeutral.js → Frame26086263.js} +1 -1
- package/dist/cjs/icons/Media/Visual/Frame26086263.js.map +1 -0
- package/dist/cjs/icons/Media/Visual/{FormkitSad.js → IconTrailing.js} +1 -1
- package/dist/cjs/icons/Media/Visual/IconTrailing.js.map +1 -0
- package/dist/cjs/icons/Social/Social/SlackIcon.js +2 -0
- package/dist/cjs/icons/Social/Social/SlackIcon.js.map +1 -0
- package/dist/cjs/icons/index.js +1 -1
- package/dist/esm/components/agent-builder/components/ConfigToolPanel.js +92 -101
- package/dist/esm/components/agent-builder/components/ConfigToolPanel.js.map +1 -1
- package/dist/esm/components/agent-builder/components/CreateSubAgentPanel.js +149 -154
- package/dist/esm/components/agent-builder/components/CreateSubAgentPanel.js.map +1 -1
- package/dist/esm/components/agent-builder/components/DrawerHeaderText.d.ts +2 -9
- package/dist/esm/components/agent-builder/components/DrawerHeaderText.js +15 -19
- package/dist/esm/components/agent-builder/components/DrawerHeaderText.js.map +1 -1
- package/dist/esm/components/agent-builder/components/MentionField.js +57 -66
- package/dist/esm/components/agent-builder/components/MentionField.js.map +1 -1
- package/dist/esm/components/agent-builder/components/MentionPicker.js +66 -55
- package/dist/esm/components/agent-builder/components/MentionPicker.js.map +1 -1
- package/dist/esm/components/agent-builder/components/RestApiToolPanel.js +77 -80
- package/dist/esm/components/agent-builder/components/RestApiToolPanel.js.map +1 -1
- package/dist/esm/components/agent-builder/components/SelectableListSection.d.ts +10 -0
- package/dist/esm/components/agent-builder/components/SelectableListSection.js +134 -118
- package/dist/esm/components/agent-builder/components/SelectableListSection.js.map +1 -1
- package/dist/esm/components/agent-builder/steps/Step3HowItResponds.js +144 -148
- package/dist/esm/components/agent-builder/steps/Step3HowItResponds.js.map +1 -1
- package/dist/esm/components/agent-builder/utils/sourceIcons.js +14 -14
- package/dist/esm/components/agent-builder/utils/sourceIcons.js.map +1 -1
- package/dist/esm/components/agent-builder/utils/toolActions.d.ts +11 -0
- package/dist/esm/components/agent-builder/utils/toolActions.js +15 -0
- package/dist/esm/components/agent-builder/utils/toolActions.js.map +1 -0
- package/dist/esm/components/states-modal/DeleteConfirmationModal.d.ts +2 -0
- package/dist/esm/components/states-modal/DeleteConfirmationModal.js +11 -10
- package/dist/esm/components/states-modal/DeleteConfirmationModal.js.map +1 -1
- package/dist/esm/icons/Media/Visual/Frame26086263.d.ts +7 -0
- package/dist/esm/icons/Media/Visual/{FormkitNeutral.js → Frame26086263.js} +1 -1
- package/dist/esm/icons/Media/Visual/Frame26086263.js.map +1 -0
- package/dist/esm/icons/Media/Visual/IconTrailing.d.ts +7 -0
- package/dist/esm/icons/Media/Visual/{FormkitSad.js → IconTrailing.js} +1 -1
- package/dist/esm/icons/Media/Visual/IconTrailing.js.map +1 -0
- package/dist/esm/icons/Media/Visual/index.d.ts +2 -2
- package/dist/esm/icons/Social/Social/SlackIcon.d.ts +7 -0
- package/dist/esm/icons/Social/Social/SlackIcon.js +47 -0
- package/dist/esm/icons/Social/Social/SlackIcon.js.map +1 -0
- package/dist/esm/icons/Social/Social/index.d.ts +1 -0
- package/dist/esm/icons/index.d.ts +25 -25
- package/dist/esm/icons/index.js +246 -244
- package/dist/esm/icons/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/cjs/icons/Media/Visual/FormkitNeutral.js.map +0 -1
- package/dist/cjs/icons/Media/Visual/FormkitSad.js.map +0 -1
- package/dist/esm/icons/Media/Visual/FormkitNeutral.js.map +0 -1
- package/dist/esm/icons/Media/Visual/FormkitSad.js.map +0 -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"),n=require("./Informational/General/AlertTriangle.js"),i=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"),m=require("./Arrows/Normal arrows/ArrowUp.js"),g=require("./Arrows/Normal arrows/ArrowUpLeft.js"),k=require("./Arrows/Normal arrows/ArrowUpRight.js"),S=require("./Informational/Finance/Bank.js"),M=require("./Media/Others/BarcodeScan.js"),A=require("./Informational/Common UI/Bell.js"),b=require("./Informational/Common UI/BellSync.js"),w=require("./Social/Social/BigCommerce.js"),T=require("./Social/Channels/Bigcommerce.js"),F=require("./Informational/General/BookOpenText.js"),P=require("./Legacy - Bikayi specific/Categories/Box.js"),y=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"),D=require("./Informational/Date and time/CalendarAdd.js"),x=require("./Informational/Date and time/CalendarCheck.js"),I=require("./Media/Visual/Camera.js"),U=require("./Media/Visual/CameraAdd.js"),B=require("./Arrows/Carat/CaratDown.js"),E=require("./Arrows/Carat/CaratLeft.js"),H=require("./Arrows/Carat/CaratRight.js"),W=require("./Arrows/Carat/CaratUp.js"),O=require("./Informational/Finance/CashOnDelivery.js"),G=require("./Informational/Finance/ChartLine.js"),N=require("./Informational/Communication/Chat.js"),V=require("./Informational/Communication/ChatCheck.js"),$=require("./Informational/Communication/ChatQuestion.js"),z=require("./Informational/Communication/ChatStar.js"),j=require("./Informational/Identity/Chatbot.js"),J=require("./Informational/General/Check.js"),Q=require("./Informational/General/CheckDouble.js"),K=require("./Actions/Formatting/CheckboxIcon.js"),Y=require("./Arrows/Double chevron/ChevronDoubleDown.js"),Z=require("./Arrows/Double chevron/ChevronDoubleLeft.js"),X=require("./Arrows/Double chevron/ChevronDoubleRight.js"),_=require("./Arrows/Double chevron/ChevronDoubleUp.js"),ee=require("./Arrows/Chevron/ChevronDown.js"),re=require("./Arrows/Chevron/ChevronLeft.js"),te=require("./Arrows/Chevron/ChevronRight.js"),ue=require("./Arrows/Chevron/ChevronUp.js"),oe=require("./Informational/eCommerce/Click.js"),ae=require("./Informational/Store related/Clipboard.js"),ne=require("./Informational/Customer intent/ClipboardCheck.js"),ie=require("./Informational/Store related/ClipboardCheck.js"),le=require("./Informational/Date and time/Clock.js"),se=require("./Informational/General/CloseTicket1.js"),ce=require("./Actions/Common actions/Code.js"),de=require("./Informational/Identity/Contacts.js"),fe=require("./Actions/Formatting/Copy.js"),qe=require("./Informational/Finance/CreditCard.js"),he=require("./Media/Visual/Crop.js"),pe=require("./Actions/Common actions/Cross.js"),Ce=require("./Legacy - Bikayi specific/Services/Customdomain.js"),me=require("./Informational/Store related/CustomerReport.js"),ge=require("./Actions/Common actions/Deactivate.js"),ke=require("./Actions/Formatting/DecreaseIndent.js"),Se=require("./Actions/Common actions/Delete.js"),Me=require("./Media/Devices/Desktop.js"),Ae=require("./Media/Others/Download.js"),be=require("./Actions/Formatting/Dropdown.js"),we=require("./Actions/Common actions/Edit.js"),Te=require("./Informational/Communication/Email.js"),Fe=require("./Social/Channels/Email.js"),Pe=require("./Social/Channels/EmailMarketing.js"),ye=require("./Social/Social/EmailMarketing.js"),Re=require("./Media/Others/EmojiSmile.js"),Le=require("./Informational/General/Error.js"),ve=require("./Informational/Files and folders/Excel.js"),De=require("./BIK AI specific/Expand.js"),xe=require("./Informational/Customer intent/Experimental.js"),Ie=require("./Toggles/General/Eye.js"),Ue=require("./Toggles/General/EyeClosed.js"),Be=require("./Toggles/General/EyeOff.js"),Ee=require("./Social/Channels/Facebook.js"),He=require("./Social/Social/Facebook.js"),We=require("./Social/Channels/FacebookComment.js"),Oe=require("./Informational/General/FailDoc.js"),Ge=require("./Informational/Files and folders/File.js"),Ne=require("./Informational/Files and folders/FileCsv.js"),Ve=require("./Informational/Files and folders/FilePage.js"),$e=require("./Informational/Files and folders/FilePdf.js"),ze=require("./Informational/eCommerce/Filter.js"),je=require("./Media/Visual/FlashOff.js"),Je=require("./Media/Visual/FlashOn.js"),Qe=require("./Informational/Files and folders/Folder.js"),Ke=require("./Media/Visual/FormkitHappy.js"),Ye=require("./Media/Visual/FormkitNeutral.js"),Ze=require("./Media/Visual/FormkitSad.js"),Xe=require("./Informational/Common UI/Forms.js"),_e=require("./Actions/Common actions/Forward.js"),er=require("./BIK AI specific/Frame27389.js"),rr=require("./BIK AI specific/Frame27597.js"),tr=require("./BIK AI specific/Frame27598.js"),ur=require("./BIK AI specific/Frame27599.js"),or=require("./Actions/Common actions/Fullscreen.js"),ar=require("./BIK AI specific/GeminiSparkle.js"),nr=require("./Informational/eCommerce/Gift1.js"),ir=require("./Informational/eCommerce/GiftMinus.js"),lr=require("./Informational/eCommerce/GiftPlus.js"),sr=require("./Social/Social/Google.js"),cr=require("./Social/Social/Gorgias.js"),dr=require("./Informational/Identity/Group.js"),fr=require("./Informational/Finance/Growth.js"),qr=require("./Actions/Selection/HandleDrag.js"),hr=require("./Informational/Store related/Head112.js"),pr=require("./Toggles/General/HeartEmpty.js"),Cr=require("./Toggles/General/HeartFilled.js"),mr=require("./Informational/Customer intent/Help.js"),gr=require("./Informational/General/Help.js"),kr=require("./Informational/Date and time/HourGlass.js"),Sr=require("./Informational/General/IcList.js"),Mr=require("./Informational/Identity/IdCard.js"),Ar=require("./Media/Visual/Image.js"),br=require("./Media/Visual/ImageAdd.js"),wr=require("./Media/Visual/Images.js"),Tr=require("./Actions/Formatting/IncreaseIndent.js"),Fr=require("./Informational/General/Info.js"),Pr=require("./Social/Channels/Instagram.js"),yr=require("./Social/Social/Instagram.js"),Rr=require("./Social/Channels/InstagramIcon.js"),Lr=require("./Informational/Store related/InventoryReport.js"),vr=require("./Legacy - Bikayi specific/Navigation/Journeys.js"),Dr=require("./Social/Social/Kustomer.js"),xr=require("./Informational/Location/LanguageChange.js"),Ir=require("./Informational/Store related/LegalBalance.js"),Ur=require("./Actions/Common actions/LinkSimpleHorizontal.js"),Br=require("./Informational/Communication/LiveChat.js"),Er=require("./Toggles/General/Lock.js"),Hr=require("./Actions/Navigation/LogIn.js"),Wr=require("./Actions/Navigation/LogOut.js"),Or=require("./Legacy - Bikayi specific/Services/LoudSpeaker.js"),Gr=require("./BIK AI specific/ManifestSparkle.js"),Nr=require("./Informational/Location/MapPin.js"),Vr=require("./Legacy - Bikayi specific/Services/Marketing.js"),$r=require("./Media/Visual/Maximize.js"),zr=require("./Informational/Files and folders/MediaMessage.js"),jr=require("./Informational/Common UI/MenuHamburger.js"),Jr=require("./Informational/General/Merge.js"),Qr=require("./Informational/Common UI/MessageSearch.js"),Kr=require("./Social/Channels/Messenger.js"),Yr=require("./Social/Social/Messenger.js"),Zr=require("./Media/Audio/Microphone.js"),Xr=require("./Actions/Common actions/Minus.js"),_r=require("./Informational/Finance/Money1.js"),et=require("./Social/Channels/MonoFacebook.js"),rt=require("./Social/Channels/MonoFacebookComment.js"),tt=require("./Social/Channels/MonoInstagram.js"),ut=require("./Social/Channels/MonoInstagramComment.js"),ot=require("./Social/Channels/MonoMail.js"),at=require("./Social/Channels/MonoMessenger.js"),nt=require("./Social/Channels/MonoPhone.js"),it=require("./Social/Channels/MonoTasks.js"),lt=require("./Social/Channels/MonoWhatsapp.js"),st=require("./Informational/Common UI/MoreHorizontal.js"),ct=require("./Informational/Common UI/MoreVertical.js"),dt=require("./Informational/Files and folders/Move.js"),ft=require("./Actions/Formatting/MultiLine.js"),qt=require("./Actions/Formatting/MultiSelect.js"),ht=require("./Informational/General/NewTicket.js"),pt=require("./Informational/Finance/NoCredits.js"),Ct=require("./Actions/Formatting/Number.js"),mt=require("./Actions/Formatting/NumberList.js"),gt=require("./Actions/Navigation/OpenNewWindow.js"),kt=require("./Informational/Files and folders/OrderHistory.js"),St=require("./Informational/Store related/OrderReport.js"),Mt=require("./Media/Others/Paperclip.js"),At=require("./Media/Audio/Pause.js"),bt=require("./Legacy - Bikayi specific/Services/PaymentLink.js"),wt=require("./Informational/Store related/PaymentReport.js"),Tt=require("./Informational/Customer intent/Percent.js"),Ft=require("./Informational/Finance/Percent.js"),Pt=require("./Informational/Identity/Person.js"),yt=require("./Informational/Communication/Phone.js"),Rt=require("./Informational/Common UI/Placeholder.js"),Lt=require("./Legacy - Bikayi specific/Plans/PlanUltimate.js"),vt=require("./Media/Audio/Play.js"),Dt=require("./Actions/Common actions/Plus.js"),xt=require("./BIK AI specific/PricePlease.js"),It=require("./Informational/Files and folders/PrivateNote.js"),Ut=require("./Actions/Common actions/ProductTour.js"),Bt=require("./Informational/eCommerce/Promocode.js"),Et=require("./Informational/Customer intent/Purchase.js"),Ht=require("./Actions/Formatting/Quotes.js"),Wt=require("./Social/Social/Rcs.js"),Ot=require("./Informational/eCommerce/Receipt.js"),Gt=require("./Actions/Navigation/Refresh.js"),Nt=require("./Actions/Common actions/RestApi.js"),Vt=require("./Actions/Navigation/Rewind.js"),$t=require("./Informational/Identity/Robot.js"),zt=require("./Media/Visual/RotateAnticlockwise.js"),jt=require("./Media/Visual/RotateClockwise.js"),Jt=require("./Informational/General/RoundCheck.js"),Qt=require("./Informational/Finance/Rupee.js"),Kt=require("./Actions/Common actions/Save.js"),Yt=require("./Informational/Common UI/Search.js"),Zt=require("./Actions/Common actions/SendAirplane.js"),Xt=require("./Informational/Customer intent/Services.js"),_t=require("./Legacy - Bikayi specific/Navigation/Services.js"),eu=require("./Informational/Common UI/Settings.js"),ru=require("./BIK AI specific/Shape.js"),tu=require("./Actions/Common actions/ShareAndroid.js"),uu=require("./Informational/eCommerce/ShieldCheck.js"),ou=require("./Social/Channels/ShopifyBrand.js"),au=require("./Social/Social/ShopifyDefault.js"),nu=require("./Informational/eCommerce/ShoppingBag.js"),iu=require("./Informational/eCommerce/ShoppingBasket.js"),lu=require("./Informational/Customer intent/ShoppingCart.js"),su=require("./Informational/eCommerce/ShoppingCart.js"),cu=require("./Actions/Common actions/Shortcut.js"),du=require("./BIK AI specific/Shorter.js"),fu=require("./Actions/Selection/SingleChoice.js"),qu=require("./Informational/Customer intent/SingleChoice.js"),hu=require("./Informational/General/Slash.js"),pu=require("./Media/Audio/Sleep.js"),Cu=require("./Media/Devices/Smartphone.js"),mu=require("./BIK AI specific/Sparkling2Line.js"),gu=require("./Toggles/General/StarEmpty.js"),ku=require("./Toggles/General/StarFilled.js"),Su=require("./Toggles/General/StarHalf.js"),Mu=require("./Informational/Store related/Store.js"),Au=require("./Informational/Store related/StoreSync.js"),bu=require("./Actions/Formatting/Subscript.js"),wu=require("./Actions/Formatting/Superscript.js"),Tu=require("./Actions/Navigation/Sync.js"),Fu=require("./Informational/Finance/TablerTicket.js"),Pu=require("./Actions/Common actions/Task.js"),yu=require("./Social/Channels/Tasks.js"),Ru=require("./Actions/Formatting/Text.js"),Lu=require("./Actions/Formatting/TextAlignCenter.js"),vu=require("./Actions/Formatting/TextAlignLeft.js"),Du=require("./Actions/Formatting/TextAlignRight.js"),xu=require("./Actions/Formatting/TextBold.js"),Iu=require("./Actions/Formatting/TextItalics.js"),Uu=require("./Actions/Formatting/TextJustify.js"),Bu=require("./Informational/Files and folders/TextMessage.js"),Eu=require("./Actions/Formatting/TextStrikethrough.js"),Hu=require("./Actions/Formatting/TextUnderline.js"),Wu=require("./Actions/Formatting/Textbox.js"),Ou=require("./Legacy - Bikayi specific/Services/Theme.js"),Gu=require("./Informational/Store related/TicketForm.js"),Nu=require("./Informational/General/TicketV2.js"),Vu=require("./Informational/Common UI/Training.js"),$u=require("./Informational/Location/Truck.js"),zu=require("./Social/Social/Twitter.js"),ju=require("./Informational/Files and folders/Unarchive.js"),Ju=require("./Informational/Identity/Union.js"),Qu=require("./Informational/Identity/Union1.js"),Ku=require("./Toggles/General/Unlock.js"),Yu=require("./Informational/Customer intent/Unsatisfactory.js"),Zu=require("./Media/Others/Upload.js"),Xu=require("./Informational/Identity/User.js"),_u=require("./Informational/Identity/UserMinus1.js"),eo=require("./Informational/Identity/UserPlus.js"),ro=require("./Informational/Customer intent/UserSound.js"),to=require("./Media/Visual/VideoCamcorder.js"),uo=require("./Media/Visual/VideoFilm.js"),oo=require("./Media/Audio/VolumeMute.js"),ao=require("./Media/Audio/VolumeOneline.js"),no=require("./Media/Audio/VolumeTwoline.js"),io=require("./Informational/Finance/Wallet.js"),lo=require("./BIK AI specific/WandSparkles.js"),so=require("./Social/Channels/WebPush.js"),co=require("./BIK AI specific/Webhook.js"),fo=require("./Social/Social/Website.js"),qo=require("./Social/Channels/WhatsApp.js"),ho=require("./Actions/Navigation/Whatsapp.js"),po=require("./Social/Social/Whatsapp.js"),Co=require("./Social/Social/WooCommerce.js"),mo=require("./Informational/Date and time/WorkingHours.js"),go=require("./BIK AI specific/Write.js"),ko=require("./Social/Social/Youtube.js"),So=require("./Social/Social/Zendesk.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=n.default;exports.AllProduct=i.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=m.default;exports.ArrowUpLeft=g.default;exports.ArrowUpRight=k.default;exports.Bank=S.default;exports.BarcodeScan=M.default;exports.Bell=A.default;exports.BellSync=b.default;exports.BigCommerce=w.default;exports.Bigcommerce=T.default;exports.BookOpenText=F.default;exports.Box=P.default;exports.Box2=y.default;exports.Bulb=R.default;exports.Businesscard=L.default;exports.Calendar=v.default;exports.CalendarAdd=D.default;exports.CalendarCheck=x.default;exports.Camera=I.default;exports.CameraAdd=U.default;exports.CaratDown=B.default;exports.CaratLeft=E.default;exports.CaratRight=H.default;exports.CaratUp=W.default;exports.CashOnDelivery=O.default;exports.ChartLine=G.default;exports.Chat=N.default;exports.ChatCheck=V.default;exports.ChatQuestion=$.default;exports.ChatStar=z.default;exports.Chatbot=j.default;exports.Check=J.default;exports.CheckDouble=Q.default;exports.CheckboxIcon=K.default;exports.ChevronDoubleDown=Y.default;exports.ChevronDoubleLeft=Z.default;exports.ChevronDoubleRight=X.default;exports.ChevronDoubleUp=_.default;exports.ChevronDown=ee.default;exports.ChevronLeft=re.default;exports.ChevronRight=te.default;exports.ChevronUp=ue.default;exports.Click=oe.default;exports.Clipboard=ae.default;exports.ClipboardCheck=ne.default;exports.ClipboardCheck2=ie.default;exports.Clock=le.default;exports.CloseTicket1=se.default;exports.Code=ce.default;exports.Contacts=de.default;exports.Copy=fe.default;exports.CreditCard=qe.default;exports.Crop=he.default;exports.Cross=pe.default;exports.Customdomain=Ce.default;exports.CustomerReport=me.default;exports.Deactivate=ge.default;exports.DecreaseIndent=ke.default;exports.Delete=Se.default;exports.Desktop=Me.default;exports.Download=Ae.default;exports.Dropdown=be.default;exports.Edit=we.default;exports.Email=Te.default;exports.Email2=Fe.default;exports.EmailMarketing=Pe.default;exports.EmailMarketing2=ye.default;exports.EmojiSmile=Re.default;exports.Error=Le.default;exports.Excel=ve.default;exports.Expand=De.default;exports.Experimental=xe.default;exports.Eye=Ie.default;exports.EyeClosed=Ue.default;exports.EyeOff=Be.default;exports.Facebook=Ee.default;exports.Facebook2=He.default;exports.FacebookComment=We.default;exports.FailDoc=Oe.default;exports.File=Ge.default;exports.FileCsv=Ne.default;exports.FilePage=Ve.default;exports.FilePdf=$e.default;exports.Filter=ze.default;exports.FlashOff=je.default;exports.FlashOn=Je.default;exports.Folder=Qe.default;exports.FormkitHappy=Ke.default;exports.FormkitNeutral=Ye.default;exports.FormkitSad=Ze.default;exports.Forms=Xe.default;exports.Forward=_e.default;exports.Frame27389=er.default;exports.Frame27597=rr.default;exports.Frame27598=tr.default;exports.Frame27599=ur.default;exports.Fullscreen=or.default;exports.GeminiSparkle=ar.default;exports.Gift1=nr.default;exports.GiftMinus=ir.default;exports.GiftPlus=lr.default;exports.Google=sr.default;exports.Gorgias=cr.default;exports.Group=dr.default;exports.Growth=fr.default;exports.HandleDrag=qr.default;exports.Head112=hr.default;exports.HeartEmpty=pr.default;exports.HeartFilled=Cr.default;exports.Help=mr.default;exports.Help2=gr.default;exports.HourGlass=kr.default;exports.IcList=Sr.default;exports.IdCard=Mr.default;exports.Image=Ar.default;exports.ImageAdd=br.default;exports.Images=wr.default;exports.IncreaseIndent=Tr.default;exports.Info=Fr.default;exports.Instagram=Pr.default;exports.Instagram2=yr.default;exports.InstagramIcon=Rr.default;exports.InventoryReport=Lr.default;exports.Journeys=vr.default;exports.Kustomer=Dr.default;exports.LanguageChange=xr.default;exports.LegalBalance=Ir.default;exports.LinkSimpleHorizontal=Ur.default;exports.LiveChat=Br.default;exports.Lock=Er.default;exports.LogIn=Hr.default;exports.LogOut=Wr.default;exports.LoudSpeaker=Or.default;exports.ManifestSparkle=Gr.default;exports.MapPin=Nr.default;exports.Marketing=Vr.default;exports.Maximize=$r.default;exports.MediaMessage=zr.default;exports.MenuHamburger=jr.default;exports.Merge=Jr.default;exports.MessageSearch=Qr.default;exports.Messenger=Kr.default;exports.Messenger2=Yr.default;exports.Microphone=Zr.default;exports.Minus=Xr.default;exports.Money1=_r.default;exports.MonoFacebook=et.default;exports.MonoFacebookComment=rt.default;exports.MonoInstagram=tt.default;exports.MonoInstagramComment=ut.default;exports.MonoMail=ot.default;exports.MonoMessenger=at.default;exports.MonoPhone=nt.default;exports.MonoTasks=it.default;exports.MonoWhatsapp=lt.default;exports.MoreHorizontal=st.default;exports.MoreVertical=ct.default;exports.Move=dt.default;exports.MultiLine=ft.default;exports.MultiSelect=qt.default;exports.NewTicket=ht.default;exports.NoCredits=pt.default;exports.Number=Ct.default;exports.NumberList=mt.default;exports.OpenNewWindow=gt.default;exports.OrderHistory=kt.default;exports.OrderReport=St.default;exports.Paperclip=Mt.default;exports.Pause=At.default;exports.PaymentLink=bt.default;exports.PaymentReport=wt.default;exports.Percent=Tt.default;exports.Percent2=Ft.default;exports.Person=Pt.default;exports.Phone=yt.default;exports.Placeholder=Rt.default;exports.PlanUltimate=Lt.default;exports.Play=vt.default;exports.Plus=Dt.default;exports.PricePlease=xt.default;exports.PrivateNote=It.default;exports.ProductTour=Ut.default;exports.Promocode=Bt.default;exports.Purchase=Et.default;exports.Quotes=Ht.default;exports.Rcs=Wt.default;exports.Receipt=Ot.default;exports.Refresh=Gt.default;exports.RestApi=Nt.default;exports.Rewind=Vt.default;exports.Robot=$t.default;exports.RotateAnticlockwise=zt.default;exports.RotateClockwise=jt.default;exports.RoundCheck=Jt.default;exports.Rupee=Qt.default;exports.Save=Kt.default;exports.Search=Yt.default;exports.SendAirplane=Zt.default;exports.Services=Xt.default;exports.Services2=_t.default;exports.Settings=eu.default;exports.Shape=ru.default;exports.ShareAndroid=tu.default;exports.ShieldCheck=uu.default;exports.ShopifyBrand=ou.default;exports.ShopifyDefault=au.default;exports.ShoppingBag=nu.default;exports.ShoppingBasket=iu.default;exports.ShoppingCart=lu.default;exports.ShoppingCart2=su.default;exports.Shortcut=cu.default;exports.Shorter=du.default;exports.SingleChoice=fu.default;exports.SingleChoice2=qu.default;exports.Slash=hu.default;exports.Sleep=pu.default;exports.Smartphone=Cu.default;exports.Sparkling2Line=mu.default;exports.StarEmpty=gu.default;exports.StarFilled=ku.default;exports.StarHalf=Su.default;exports.Store=Mu.default;exports.StoreSync=Au.default;exports.Subscript=bu.default;exports.Superscript=wu.default;exports.Sync=Tu.default;exports.TablerTicket=Fu.default;exports.Task=Pu.default;exports.Tasks=yu.default;exports.Text=Ru.default;exports.TextAlignCenter=Lu.default;exports.TextAlignLeft=vu.default;exports.TextAlignRight=Du.default;exports.TextBold=xu.default;exports.TextItalics=Iu.default;exports.TextJustify=Uu.default;exports.TextMessage=Bu.default;exports.TextStrikethrough=Eu.default;exports.TextUnderline=Hu.default;exports.Textbox=Wu.default;exports.Theme=Ou.default;exports.TicketForm=Gu.default;exports.TicketV2=Nu.default;exports.Training=Vu.default;exports.Truck=$u.default;exports.Twitter=zu.default;exports.Unarchive=ju.default;exports.Union=Ju.default;exports.Union1=Qu.default;exports.Unlock=Ku.default;exports.Unsatisfactory=Yu.default;exports.Upload=Zu.default;exports.User=Xu.default;exports.UserMinus1=_u.default;exports.UserPlus=eo.default;exports.UserSound=ro.default;exports.VideoCamcorder=to.default;exports.VideoFilm=uo.default;exports.VolumeMute=oo.default;exports.VolumeOneline=ao.default;exports.VolumeTwoline=no.default;exports.Wallet=io.default;exports.WandSparkles=lo.default;exports.WebPush=so.default;exports.Webhook=co.default;exports.Website=fo.default;exports.WhatsApp=qo.default;exports.Whatsapp=ho.default;exports.Whatsapp2=po.default;exports.WooCommerce=Co.default;exports.WorkingHours=mo.default;exports.Write=go.default;exports.Youtube=ko.default;exports.Zendesk=So.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"),n=require("./Informational/General/AlertTriangle.js"),i=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"),m=require("./Arrows/Normal arrows/ArrowUp.js"),g=require("./Arrows/Normal arrows/ArrowUpLeft.js"),k=require("./Arrows/Normal arrows/ArrowUpRight.js"),S=require("./Informational/Finance/Bank.js"),M=require("./Media/Others/BarcodeScan.js"),A=require("./Informational/Common UI/Bell.js"),b=require("./Informational/Common UI/BellSync.js"),w=require("./Social/Social/BigCommerce.js"),T=require("./Social/Channels/Bigcommerce.js"),F=require("./Informational/General/BookOpenText.js"),P=require("./Legacy - Bikayi specific/Categories/Box.js"),y=require("./Legacy - Bikayi specific/Categories/Box2.js"),R=require("./Informational/Common UI/Bulb.js"),I=require("./Legacy - Bikayi specific/Services/Businesscard.js"),L=require("./Informational/Date and time/Calendar.js"),v=require("./Informational/Date and time/CalendarAdd.js"),D=require("./Informational/Date and time/CalendarCheck.js"),x=require("./Media/Visual/Camera.js"),U=require("./Media/Visual/CameraAdd.js"),B=require("./Arrows/Carat/CaratDown.js"),E=require("./Arrows/Carat/CaratLeft.js"),H=require("./Arrows/Carat/CaratRight.js"),W=require("./Arrows/Carat/CaratUp.js"),O=require("./Informational/Finance/CashOnDelivery.js"),G=require("./Informational/Finance/ChartLine.js"),V=require("./Informational/Communication/Chat.js"),N=require("./Informational/Communication/ChatCheck.js"),$=require("./Informational/Communication/ChatQuestion.js"),z=require("./Informational/Communication/ChatStar.js"),j=require("./Informational/Identity/Chatbot.js"),J=require("./Informational/General/Check.js"),Q=require("./Informational/General/CheckDouble.js"),K=require("./Actions/Formatting/CheckboxIcon.js"),Y=require("./Arrows/Double chevron/ChevronDoubleDown.js"),Z=require("./Arrows/Double chevron/ChevronDoubleLeft.js"),X=require("./Arrows/Double chevron/ChevronDoubleRight.js"),_=require("./Arrows/Double chevron/ChevronDoubleUp.js"),ee=require("./Arrows/Chevron/ChevronDown.js"),re=require("./Arrows/Chevron/ChevronLeft.js"),te=require("./Arrows/Chevron/ChevronRight.js"),ue=require("./Arrows/Chevron/ChevronUp.js"),oe=require("./Informational/eCommerce/Click.js"),ae=require("./Informational/Store related/Clipboard.js"),ne=require("./Informational/Customer intent/ClipboardCheck.js"),ie=require("./Informational/Store related/ClipboardCheck.js"),le=require("./Informational/Date and time/Clock.js"),se=require("./Informational/General/CloseTicket1.js"),ce=require("./Actions/Common actions/Code.js"),de=require("./Informational/Identity/Contacts.js"),fe=require("./Actions/Formatting/Copy.js"),qe=require("./Informational/Finance/CreditCard.js"),he=require("./Media/Visual/Crop.js"),pe=require("./Actions/Common actions/Cross.js"),Ce=require("./Legacy - Bikayi specific/Services/Customdomain.js"),me=require("./Informational/Store related/CustomerReport.js"),ge=require("./Actions/Common actions/Deactivate.js"),ke=require("./Actions/Formatting/DecreaseIndent.js"),Se=require("./Actions/Common actions/Delete.js"),Me=require("./Media/Devices/Desktop.js"),Ae=require("./Media/Others/Download.js"),be=require("./Actions/Formatting/Dropdown.js"),we=require("./Actions/Common actions/Edit.js"),Te=require("./Informational/Communication/Email.js"),Fe=require("./Social/Channels/Email.js"),Pe=require("./Social/Channels/EmailMarketing.js"),ye=require("./Social/Social/EmailMarketing.js"),Re=require("./Media/Others/EmojiSmile.js"),Ie=require("./Informational/General/Error.js"),Le=require("./Informational/Files and folders/Excel.js"),ve=require("./BIK AI specific/Expand.js"),De=require("./Informational/Customer intent/Experimental.js"),xe=require("./Toggles/General/Eye.js"),Ue=require("./Toggles/General/EyeClosed.js"),Be=require("./Toggles/General/EyeOff.js"),Ee=require("./Social/Channels/Facebook.js"),He=require("./Social/Social/Facebook.js"),We=require("./Social/Channels/FacebookComment.js"),Oe=require("./Informational/General/FailDoc.js"),Ge=require("./Informational/Files and folders/File.js"),Ve=require("./Informational/Files and folders/FileCsv.js"),Ne=require("./Informational/Files and folders/FilePage.js"),$e=require("./Informational/Files and folders/FilePdf.js"),ze=require("./Informational/eCommerce/Filter.js"),je=require("./Media/Visual/FlashOff.js"),Je=require("./Media/Visual/FlashOn.js"),Qe=require("./Informational/Files and folders/Folder.js"),Ke=require("./Media/Visual/FormkitHappy.js"),Ye=require("./Informational/Common UI/Forms.js"),Ze=require("./Actions/Common actions/Forward.js"),Xe=require("./Media/Visual/Frame26086263.js"),_e=require("./BIK AI specific/Frame27389.js"),er=require("./BIK AI specific/Frame27597.js"),rr=require("./BIK AI specific/Frame27598.js"),tr=require("./BIK AI specific/Frame27599.js"),ur=require("./Actions/Common actions/Fullscreen.js"),or=require("./BIK AI specific/GeminiSparkle.js"),ar=require("./Informational/eCommerce/Gift1.js"),nr=require("./Informational/eCommerce/GiftMinus.js"),ir=require("./Informational/eCommerce/GiftPlus.js"),lr=require("./Social/Social/Google.js"),sr=require("./Social/Social/Gorgias.js"),cr=require("./Informational/Identity/Group.js"),dr=require("./Informational/Finance/Growth.js"),fr=require("./Actions/Selection/HandleDrag.js"),qr=require("./Informational/Store related/Head112.js"),hr=require("./Toggles/General/HeartEmpty.js"),pr=require("./Toggles/General/HeartFilled.js"),Cr=require("./Informational/Customer intent/Help.js"),mr=require("./Informational/General/Help.js"),gr=require("./Informational/Date and time/HourGlass.js"),kr=require("./Informational/General/IcList.js"),Sr=require("./Media/Visual/IconTrailing.js"),Mr=require("./Informational/Identity/IdCard.js"),Ar=require("./Media/Visual/Image.js"),br=require("./Media/Visual/ImageAdd.js"),wr=require("./Media/Visual/Images.js"),Tr=require("./Actions/Formatting/IncreaseIndent.js"),Fr=require("./Informational/General/Info.js"),Pr=require("./Social/Channels/Instagram.js"),yr=require("./Social/Social/Instagram.js"),Rr=require("./Social/Channels/InstagramIcon.js"),Ir=require("./Informational/Store related/InventoryReport.js"),Lr=require("./Legacy - Bikayi specific/Navigation/Journeys.js"),vr=require("./Social/Social/Kustomer.js"),Dr=require("./Informational/Location/LanguageChange.js"),xr=require("./Informational/Store related/LegalBalance.js"),Ur=require("./Actions/Common actions/LinkSimpleHorizontal.js"),Br=require("./Informational/Communication/LiveChat.js"),Er=require("./Toggles/General/Lock.js"),Hr=require("./Actions/Navigation/LogIn.js"),Wr=require("./Actions/Navigation/LogOut.js"),Or=require("./Legacy - Bikayi specific/Services/LoudSpeaker.js"),Gr=require("./BIK AI specific/ManifestSparkle.js"),Vr=require("./Informational/Location/MapPin.js"),Nr=require("./Legacy - Bikayi specific/Services/Marketing.js"),$r=require("./Media/Visual/Maximize.js"),zr=require("./Informational/Files and folders/MediaMessage.js"),jr=require("./Informational/Common UI/MenuHamburger.js"),Jr=require("./Informational/General/Merge.js"),Qr=require("./Informational/Common UI/MessageSearch.js"),Kr=require("./Social/Channels/Messenger.js"),Yr=require("./Social/Social/Messenger.js"),Zr=require("./Media/Audio/Microphone.js"),Xr=require("./Actions/Common actions/Minus.js"),_r=require("./Informational/Finance/Money1.js"),et=require("./Social/Channels/MonoFacebook.js"),rt=require("./Social/Channels/MonoFacebookComment.js"),tt=require("./Social/Channels/MonoInstagram.js"),ut=require("./Social/Channels/MonoInstagramComment.js"),ot=require("./Social/Channels/MonoMail.js"),at=require("./Social/Channels/MonoMessenger.js"),nt=require("./Social/Channels/MonoPhone.js"),it=require("./Social/Channels/MonoTasks.js"),lt=require("./Social/Channels/MonoWhatsapp.js"),st=require("./Informational/Common UI/MoreHorizontal.js"),ct=require("./Informational/Common UI/MoreVertical.js"),dt=require("./Informational/Files and folders/Move.js"),ft=require("./Actions/Formatting/MultiLine.js"),qt=require("./Actions/Formatting/MultiSelect.js"),ht=require("./Informational/General/NewTicket.js"),pt=require("./Informational/Finance/NoCredits.js"),Ct=require("./Actions/Formatting/Number.js"),mt=require("./Actions/Formatting/NumberList.js"),gt=require("./Actions/Navigation/OpenNewWindow.js"),kt=require("./Informational/Files and folders/OrderHistory.js"),St=require("./Informational/Store related/OrderReport.js"),Mt=require("./Media/Others/Paperclip.js"),At=require("./Media/Audio/Pause.js"),bt=require("./Legacy - Bikayi specific/Services/PaymentLink.js"),wt=require("./Informational/Store related/PaymentReport.js"),Tt=require("./Informational/Customer intent/Percent.js"),Ft=require("./Informational/Finance/Percent.js"),Pt=require("./Informational/Identity/Person.js"),yt=require("./Informational/Communication/Phone.js"),Rt=require("./Informational/Common UI/Placeholder.js"),It=require("./Legacy - Bikayi specific/Plans/PlanUltimate.js"),Lt=require("./Media/Audio/Play.js"),vt=require("./Actions/Common actions/Plus.js"),Dt=require("./BIK AI specific/PricePlease.js"),xt=require("./Informational/Files and folders/PrivateNote.js"),Ut=require("./Actions/Common actions/ProductTour.js"),Bt=require("./Informational/eCommerce/Promocode.js"),Et=require("./Informational/Customer intent/Purchase.js"),Ht=require("./Actions/Formatting/Quotes.js"),Wt=require("./Social/Social/Rcs.js"),Ot=require("./Informational/eCommerce/Receipt.js"),Gt=require("./Actions/Navigation/Refresh.js"),Vt=require("./Actions/Common actions/RestApi.js"),Nt=require("./Actions/Navigation/Rewind.js"),$t=require("./Informational/Identity/Robot.js"),zt=require("./Media/Visual/RotateAnticlockwise.js"),jt=require("./Media/Visual/RotateClockwise.js"),Jt=require("./Informational/General/RoundCheck.js"),Qt=require("./Informational/Finance/Rupee.js"),Kt=require("./Actions/Common actions/Save.js"),Yt=require("./Informational/Common UI/Search.js"),Zt=require("./Actions/Common actions/SendAirplane.js"),Xt=require("./Informational/Customer intent/Services.js"),_t=require("./Legacy - Bikayi specific/Navigation/Services.js"),eu=require("./Informational/Common UI/Settings.js"),ru=require("./BIK AI specific/Shape.js"),tu=require("./Actions/Common actions/ShareAndroid.js"),uu=require("./Informational/eCommerce/ShieldCheck.js"),ou=require("./Social/Channels/ShopifyBrand.js"),au=require("./Social/Social/ShopifyDefault.js"),nu=require("./Informational/eCommerce/ShoppingBag.js"),iu=require("./Informational/eCommerce/ShoppingBasket.js"),lu=require("./Informational/Customer intent/ShoppingCart.js"),su=require("./Informational/eCommerce/ShoppingCart.js"),cu=require("./Actions/Common actions/Shortcut.js"),du=require("./BIK AI specific/Shorter.js"),fu=require("./Actions/Selection/SingleChoice.js"),qu=require("./Informational/Customer intent/SingleChoice.js"),hu=require("./Social/Social/SlackIcon.js"),pu=require("./Informational/General/Slash.js"),Cu=require("./Media/Audio/Sleep.js"),mu=require("./Media/Devices/Smartphone.js"),gu=require("./BIK AI specific/Sparkling2Line.js"),ku=require("./Toggles/General/StarEmpty.js"),Su=require("./Toggles/General/StarFilled.js"),Mu=require("./Toggles/General/StarHalf.js"),Au=require("./Informational/Store related/Store.js"),bu=require("./Informational/Store related/StoreSync.js"),wu=require("./Actions/Formatting/Subscript.js"),Tu=require("./Actions/Formatting/Superscript.js"),Fu=require("./Actions/Navigation/Sync.js"),Pu=require("./Informational/Finance/TablerTicket.js"),yu=require("./Actions/Common actions/Task.js"),Ru=require("./Social/Channels/Tasks.js"),Iu=require("./Actions/Formatting/Text.js"),Lu=require("./Actions/Formatting/TextAlignCenter.js"),vu=require("./Actions/Formatting/TextAlignLeft.js"),Du=require("./Actions/Formatting/TextAlignRight.js"),xu=require("./Actions/Formatting/TextBold.js"),Uu=require("./Actions/Formatting/TextItalics.js"),Bu=require("./Actions/Formatting/TextJustify.js"),Eu=require("./Informational/Files and folders/TextMessage.js"),Hu=require("./Actions/Formatting/TextStrikethrough.js"),Wu=require("./Actions/Formatting/TextUnderline.js"),Ou=require("./Actions/Formatting/Textbox.js"),Gu=require("./Legacy - Bikayi specific/Services/Theme.js"),Vu=require("./Informational/Store related/TicketForm.js"),Nu=require("./Informational/General/TicketV2.js"),$u=require("./Informational/Common UI/Training.js"),zu=require("./Informational/Location/Truck.js"),ju=require("./Social/Social/Twitter.js"),Ju=require("./Informational/Files and folders/Unarchive.js"),Qu=require("./Informational/Identity/Union.js"),Ku=require("./Informational/Identity/Union1.js"),Yu=require("./Toggles/General/Unlock.js"),Zu=require("./Informational/Customer intent/Unsatisfactory.js"),Xu=require("./Media/Others/Upload.js"),_u=require("./Informational/Identity/User.js"),eo=require("./Informational/Identity/UserMinus1.js"),ro=require("./Informational/Identity/UserPlus.js"),to=require("./Informational/Customer intent/UserSound.js"),uo=require("./Media/Visual/VideoCamcorder.js"),oo=require("./Media/Visual/VideoFilm.js"),ao=require("./Media/Audio/VolumeMute.js"),no=require("./Media/Audio/VolumeOneline.js"),io=require("./Media/Audio/VolumeTwoline.js"),lo=require("./Informational/Finance/Wallet.js"),so=require("./BIK AI specific/WandSparkles.js"),co=require("./Social/Channels/WebPush.js"),fo=require("./BIK AI specific/Webhook.js"),qo=require("./Social/Social/Website.js"),ho=require("./Social/Channels/WhatsApp.js"),po=require("./Actions/Navigation/Whatsapp.js"),Co=require("./Social/Social/Whatsapp.js"),mo=require("./Social/Social/WooCommerce.js"),go=require("./Informational/Date and time/WorkingHours.js"),ko=require("./BIK AI specific/Write.js"),So=require("./Social/Social/Youtube.js"),Mo=require("./Social/Social/Zendesk.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=n.default;exports.AllProduct=i.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=m.default;exports.ArrowUpLeft=g.default;exports.ArrowUpRight=k.default;exports.Bank=S.default;exports.BarcodeScan=M.default;exports.Bell=A.default;exports.BellSync=b.default;exports.BigCommerce=w.default;exports.Bigcommerce=T.default;exports.BookOpenText=F.default;exports.Box=P.default;exports.Box2=y.default;exports.Bulb=R.default;exports.Businesscard=I.default;exports.Calendar=L.default;exports.CalendarAdd=v.default;exports.CalendarCheck=D.default;exports.Camera=x.default;exports.CameraAdd=U.default;exports.CaratDown=B.default;exports.CaratLeft=E.default;exports.CaratRight=H.default;exports.CaratUp=W.default;exports.CashOnDelivery=O.default;exports.ChartLine=G.default;exports.Chat=V.default;exports.ChatCheck=N.default;exports.ChatQuestion=$.default;exports.ChatStar=z.default;exports.Chatbot=j.default;exports.Check=J.default;exports.CheckDouble=Q.default;exports.CheckboxIcon=K.default;exports.ChevronDoubleDown=Y.default;exports.ChevronDoubleLeft=Z.default;exports.ChevronDoubleRight=X.default;exports.ChevronDoubleUp=_.default;exports.ChevronDown=ee.default;exports.ChevronLeft=re.default;exports.ChevronRight=te.default;exports.ChevronUp=ue.default;exports.Click=oe.default;exports.Clipboard=ae.default;exports.ClipboardCheck=ne.default;exports.ClipboardCheck2=ie.default;exports.Clock=le.default;exports.CloseTicket1=se.default;exports.Code=ce.default;exports.Contacts=de.default;exports.Copy=fe.default;exports.CreditCard=qe.default;exports.Crop=he.default;exports.Cross=pe.default;exports.Customdomain=Ce.default;exports.CustomerReport=me.default;exports.Deactivate=ge.default;exports.DecreaseIndent=ke.default;exports.Delete=Se.default;exports.Desktop=Me.default;exports.Download=Ae.default;exports.Dropdown=be.default;exports.Edit=we.default;exports.Email=Te.default;exports.Email2=Fe.default;exports.EmailMarketing=Pe.default;exports.EmailMarketing2=ye.default;exports.EmojiSmile=Re.default;exports.Error=Ie.default;exports.Excel=Le.default;exports.Expand=ve.default;exports.Experimental=De.default;exports.Eye=xe.default;exports.EyeClosed=Ue.default;exports.EyeOff=Be.default;exports.Facebook=Ee.default;exports.Facebook2=He.default;exports.FacebookComment=We.default;exports.FailDoc=Oe.default;exports.File=Ge.default;exports.FileCsv=Ve.default;exports.FilePage=Ne.default;exports.FilePdf=$e.default;exports.Filter=ze.default;exports.FlashOff=je.default;exports.FlashOn=Je.default;exports.Folder=Qe.default;exports.FormkitHappy=Ke.default;exports.Forms=Ye.default;exports.Forward=Ze.default;exports.Frame26086263=Xe.default;exports.Frame27389=_e.default;exports.Frame27597=er.default;exports.Frame27598=rr.default;exports.Frame27599=tr.default;exports.Fullscreen=ur.default;exports.GeminiSparkle=or.default;exports.Gift1=ar.default;exports.GiftMinus=nr.default;exports.GiftPlus=ir.default;exports.Google=lr.default;exports.Gorgias=sr.default;exports.Group=cr.default;exports.Growth=dr.default;exports.HandleDrag=fr.default;exports.Head112=qr.default;exports.HeartEmpty=hr.default;exports.HeartFilled=pr.default;exports.Help=Cr.default;exports.Help2=mr.default;exports.HourGlass=gr.default;exports.IcList=kr.default;exports.IconTrailing=Sr.default;exports.IdCard=Mr.default;exports.Image=Ar.default;exports.ImageAdd=br.default;exports.Images=wr.default;exports.IncreaseIndent=Tr.default;exports.Info=Fr.default;exports.Instagram=Pr.default;exports.Instagram2=yr.default;exports.InstagramIcon=Rr.default;exports.InventoryReport=Ir.default;exports.Journeys=Lr.default;exports.Kustomer=vr.default;exports.LanguageChange=Dr.default;exports.LegalBalance=xr.default;exports.LinkSimpleHorizontal=Ur.default;exports.LiveChat=Br.default;exports.Lock=Er.default;exports.LogIn=Hr.default;exports.LogOut=Wr.default;exports.LoudSpeaker=Or.default;exports.ManifestSparkle=Gr.default;exports.MapPin=Vr.default;exports.Marketing=Nr.default;exports.Maximize=$r.default;exports.MediaMessage=zr.default;exports.MenuHamburger=jr.default;exports.Merge=Jr.default;exports.MessageSearch=Qr.default;exports.Messenger=Kr.default;exports.Messenger2=Yr.default;exports.Microphone=Zr.default;exports.Minus=Xr.default;exports.Money1=_r.default;exports.MonoFacebook=et.default;exports.MonoFacebookComment=rt.default;exports.MonoInstagram=tt.default;exports.MonoInstagramComment=ut.default;exports.MonoMail=ot.default;exports.MonoMessenger=at.default;exports.MonoPhone=nt.default;exports.MonoTasks=it.default;exports.MonoWhatsapp=lt.default;exports.MoreHorizontal=st.default;exports.MoreVertical=ct.default;exports.Move=dt.default;exports.MultiLine=ft.default;exports.MultiSelect=qt.default;exports.NewTicket=ht.default;exports.NoCredits=pt.default;exports.Number=Ct.default;exports.NumberList=mt.default;exports.OpenNewWindow=gt.default;exports.OrderHistory=kt.default;exports.OrderReport=St.default;exports.Paperclip=Mt.default;exports.Pause=At.default;exports.PaymentLink=bt.default;exports.PaymentReport=wt.default;exports.Percent=Tt.default;exports.Percent2=Ft.default;exports.Person=Pt.default;exports.Phone=yt.default;exports.Placeholder=Rt.default;exports.PlanUltimate=It.default;exports.Play=Lt.default;exports.Plus=vt.default;exports.PricePlease=Dt.default;exports.PrivateNote=xt.default;exports.ProductTour=Ut.default;exports.Promocode=Bt.default;exports.Purchase=Et.default;exports.Quotes=Ht.default;exports.Rcs=Wt.default;exports.Receipt=Ot.default;exports.Refresh=Gt.default;exports.RestApi=Vt.default;exports.Rewind=Nt.default;exports.Robot=$t.default;exports.RotateAnticlockwise=zt.default;exports.RotateClockwise=jt.default;exports.RoundCheck=Jt.default;exports.Rupee=Qt.default;exports.Save=Kt.default;exports.Search=Yt.default;exports.SendAirplane=Zt.default;exports.Services=Xt.default;exports.Services2=_t.default;exports.Settings=eu.default;exports.Shape=ru.default;exports.ShareAndroid=tu.default;exports.ShieldCheck=uu.default;exports.ShopifyBrand=ou.default;exports.ShopifyDefault=au.default;exports.ShoppingBag=nu.default;exports.ShoppingBasket=iu.default;exports.ShoppingCart=lu.default;exports.ShoppingCart2=su.default;exports.Shortcut=cu.default;exports.Shorter=du.default;exports.SingleChoice=fu.default;exports.SingleChoice2=qu.default;exports.SlackIcon=hu.default;exports.Slash=pu.default;exports.Sleep=Cu.default;exports.Smartphone=mu.default;exports.Sparkling2Line=gu.default;exports.StarEmpty=ku.default;exports.StarFilled=Su.default;exports.StarHalf=Mu.default;exports.Store=Au.default;exports.StoreSync=bu.default;exports.Subscript=wu.default;exports.Superscript=Tu.default;exports.Sync=Fu.default;exports.TablerTicket=Pu.default;exports.Task=yu.default;exports.Tasks=Ru.default;exports.Text=Iu.default;exports.TextAlignCenter=Lu.default;exports.TextAlignLeft=vu.default;exports.TextAlignRight=Du.default;exports.TextBold=xu.default;exports.TextItalics=Uu.default;exports.TextJustify=Bu.default;exports.TextMessage=Eu.default;exports.TextStrikethrough=Hu.default;exports.TextUnderline=Wu.default;exports.Textbox=Ou.default;exports.Theme=Gu.default;exports.TicketForm=Vu.default;exports.TicketV2=Nu.default;exports.Training=$u.default;exports.Truck=zu.default;exports.Twitter=ju.default;exports.Unarchive=Ju.default;exports.Union=Qu.default;exports.Union1=Ku.default;exports.Unlock=Yu.default;exports.Unsatisfactory=Zu.default;exports.Upload=Xu.default;exports.User=_u.default;exports.UserMinus1=eo.default;exports.UserPlus=ro.default;exports.UserSound=to.default;exports.VideoCamcorder=uo.default;exports.VideoFilm=oo.default;exports.VolumeMute=ao.default;exports.VolumeOneline=no.default;exports.VolumeTwoline=io.default;exports.Wallet=lo.default;exports.WandSparkles=so.default;exports.WebPush=co.default;exports.Webhook=fo.default;exports.Website=qo.default;exports.WhatsApp=ho.default;exports.Whatsapp=po.default;exports.Whatsapp2=Co.default;exports.WooCommerce=mo.default;exports.WorkingHours=go.default;exports.Write=ko.default;exports.Youtube=So.default;exports.Zendesk=Mo.default;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
import { jsx as r, jsxs as k } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { useState as
|
|
2
|
+
import $ from "../../../assets/icons/cross.svg.js";
|
|
3
|
+
import { useState as w } from "react";
|
|
4
4
|
import u from "styled-components";
|
|
5
|
-
import { TitleSmall as
|
|
5
|
+
import { TitleSmall as C, BodyCaption as E } from "../../TypographyStyle.js";
|
|
6
6
|
import { COLORS as i } from "../../../constants/Theme.js";
|
|
7
|
-
import { FieldBlock as
|
|
8
|
-
import { AGENT_CHAR_LIMITS as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
|
|
16
|
-
import { Tag as V } from "../../tag/Tag.js";
|
|
17
|
-
const M = {
|
|
7
|
+
import { FieldBlock as D } from "../AgentBuilder.styled.js";
|
|
8
|
+
import { AGENT_CHAR_LIMITS as O } from "../constants/charLimits.js";
|
|
9
|
+
import { DRAWER_BODY_STYLE as R, DRAWER_HEADER_STYLE as L, DrawerHeaderText as A } from "./DrawerHeaderText.js";
|
|
10
|
+
import { ToolInstructionsField as j } from "./ToolInstructionsField.js";
|
|
11
|
+
import { SideModal as P } from "../../side-modal/SideModal.js";
|
|
12
|
+
import { Switch as Y } from "../../switch/Switch.js";
|
|
13
|
+
import { Input as F } from "../../input/Input.js";
|
|
14
|
+
import { Tag as z } from "../../tag/Tag.js";
|
|
15
|
+
const H = {
|
|
18
16
|
send_email: {
|
|
19
17
|
title: "Handover to email",
|
|
20
18
|
subtitle: "Notify someone by email when this agent can't continue. You pick the recipient, the AI drafts the message."
|
|
@@ -23,77 +21,77 @@ const M = {
|
|
|
23
21
|
title: "Send Slack message",
|
|
24
22
|
subtitle: "Post a message to a Slack channel. You pick the channel, the AI composes the message from the conversation."
|
|
25
23
|
}
|
|
26
|
-
},
|
|
24
|
+
}, V = ({
|
|
27
25
|
chips: o,
|
|
28
26
|
onChange: a,
|
|
29
27
|
placeholder: c,
|
|
30
|
-
nativeID:
|
|
28
|
+
nativeID: p,
|
|
31
29
|
hint: d
|
|
32
30
|
}) => {
|
|
33
|
-
const [
|
|
34
|
-
const
|
|
35
|
-
|
|
31
|
+
const [m, h] = w(""), y = () => {
|
|
32
|
+
const e = m.split(",").map((s) => s.trim()).filter(Boolean);
|
|
33
|
+
e.length && a([...o, ...e.filter((s) => !o.includes(s))]), h("");
|
|
36
34
|
};
|
|
37
|
-
return /* @__PURE__ */ k(
|
|
35
|
+
return /* @__PURE__ */ k(G, { children: [
|
|
38
36
|
/* @__PURE__ */ r(
|
|
39
|
-
|
|
37
|
+
N,
|
|
40
38
|
{
|
|
41
|
-
id:
|
|
39
|
+
id: p,
|
|
42
40
|
type: "text",
|
|
43
41
|
placeholder: c,
|
|
44
|
-
value:
|
|
45
|
-
onChange: (
|
|
42
|
+
value: m,
|
|
43
|
+
onChange: (e) => h(e.target.value),
|
|
46
44
|
onBlur: y,
|
|
47
|
-
onKeyDown: (
|
|
48
|
-
|
|
45
|
+
onKeyDown: (e) => {
|
|
46
|
+
e.key === "Enter" || e.key === "," ? (e.preventDefault(), y()) : e.key === "Backspace" && m === "" && o.length > 0 && a(o.slice(0, -1));
|
|
49
47
|
}
|
|
50
48
|
}
|
|
51
49
|
),
|
|
52
50
|
d,
|
|
53
|
-
o.length > 0 && /* @__PURE__ */ r(
|
|
54
|
-
|
|
51
|
+
o.length > 0 && /* @__PURE__ */ r(q, { children: o.map((e, s) => /* @__PURE__ */ r(
|
|
52
|
+
z,
|
|
55
53
|
{
|
|
56
|
-
tagText:
|
|
54
|
+
tagText: e,
|
|
57
55
|
theme: "light",
|
|
58
56
|
type: "neutral",
|
|
59
57
|
variant: "regular",
|
|
60
|
-
TrailingIcon:
|
|
58
|
+
TrailingIcon: $,
|
|
61
59
|
onTrailingIconClicked: () => a(o.filter((x, g) => g !== s))
|
|
62
60
|
},
|
|
63
|
-
`${
|
|
61
|
+
`${e}-${s}`
|
|
64
62
|
)) })
|
|
65
63
|
] });
|
|
66
|
-
},
|
|
64
|
+
}, M = (o, a) => {
|
|
67
65
|
const c = {};
|
|
68
|
-
return Object.keys(o).forEach((
|
|
69
|
-
c[
|
|
66
|
+
return Object.keys(o).forEach((p) => {
|
|
67
|
+
c[p] = a?.params[p]?.value ?? o[p].value;
|
|
70
68
|
}), c;
|
|
71
|
-
},
|
|
69
|
+
}, W = (o) => String(o ?? "").split(",").map((a) => a.trim()).filter(Boolean), pt = ({
|
|
72
70
|
toolKey: o,
|
|
73
71
|
template: a,
|
|
74
72
|
onClose: c,
|
|
75
|
-
onSave:
|
|
73
|
+
onSave: p,
|
|
76
74
|
initial: d,
|
|
77
|
-
onImprove:
|
|
78
|
-
charLimits: h =
|
|
75
|
+
onImprove: m,
|
|
76
|
+
charLimits: h = O,
|
|
79
77
|
zIndex: y
|
|
80
78
|
}) => {
|
|
81
|
-
const [
|
|
82
|
-
() =>
|
|
83
|
-
), [x, g] =
|
|
84
|
-
(
|
|
85
|
-
),
|
|
79
|
+
const [e, s] = w(
|
|
80
|
+
() => M(a, d)
|
|
81
|
+
), [x, g] = w(!1), v = Object.values(a), B = o === "send_email", f = (t, l) => s((n) => ({ ...n, [t]: l })), T = v.every(
|
|
82
|
+
(t) => !t.required || String(e[t.key] ?? "").trim() !== ""
|
|
83
|
+
), I = async () => {
|
|
86
84
|
if (!T || x)
|
|
87
85
|
return;
|
|
88
|
-
const
|
|
89
|
-
v.forEach((
|
|
90
|
-
|
|
86
|
+
const t = {};
|
|
87
|
+
v.forEach((S) => {
|
|
88
|
+
t[S.key] = { ...S, value: e[S.key] };
|
|
91
89
|
});
|
|
92
90
|
const l = {
|
|
93
91
|
id: d?.id ?? `${o}_${Date.now().toString(36)}`,
|
|
94
92
|
tool_key: o,
|
|
95
|
-
params:
|
|
96
|
-
}, n =
|
|
93
|
+
params: t
|
|
94
|
+
}, n = p(l);
|
|
97
95
|
if (n && typeof n.then == "function") {
|
|
98
96
|
g(!0);
|
|
99
97
|
try {
|
|
@@ -102,89 +100,82 @@ const M = {
|
|
|
102
100
|
g(!1);
|
|
103
101
|
}
|
|
104
102
|
}
|
|
105
|
-
},
|
|
106
|
-
const l = `config-tool-${
|
|
107
|
-
switch (
|
|
103
|
+
}, _ = (t) => {
|
|
104
|
+
const l = `config-tool-${t.key.toLowerCase()}`;
|
|
105
|
+
switch (t.component) {
|
|
108
106
|
// Multi-value email chips — only for the email tool. Slack's KeywordInput
|
|
109
107
|
// (channelId) falls through to the plain input below.
|
|
110
108
|
case "KeywordInput":
|
|
111
|
-
if (!
|
|
109
|
+
if (!B)
|
|
112
110
|
break;
|
|
113
|
-
return /* @__PURE__ */ k(
|
|
114
|
-
/* @__PURE__ */ r(
|
|
111
|
+
return /* @__PURE__ */ k(D, { children: [
|
|
112
|
+
/* @__PURE__ */ r(C, { color: i.content.primary, children: t.title }),
|
|
115
113
|
/* @__PURE__ */ r(
|
|
116
|
-
|
|
114
|
+
V,
|
|
117
115
|
{
|
|
118
116
|
nativeID: l,
|
|
119
|
-
placeholder:
|
|
120
|
-
chips:
|
|
121
|
-
onChange: (n) => f(
|
|
117
|
+
placeholder: t.hint ?? "",
|
|
118
|
+
chips: W(e[t.key]),
|
|
119
|
+
onChange: (n) => f(t.key, n.join(",")),
|
|
122
120
|
hint: /* @__PURE__ */ r(E, { color: i.content.secondary, children: "Press Enter or comma to add multiple emails" })
|
|
123
121
|
}
|
|
124
122
|
)
|
|
125
|
-
] },
|
|
123
|
+
] }, t.key);
|
|
126
124
|
case "MultilineInput":
|
|
127
125
|
return /* @__PURE__ */ r(
|
|
128
|
-
|
|
126
|
+
j,
|
|
129
127
|
{
|
|
130
128
|
"data-test": l,
|
|
131
|
-
label:
|
|
132
|
-
value: String(t
|
|
133
|
-
onChange: (n) => f(
|
|
129
|
+
label: t.title,
|
|
130
|
+
value: String(e[t.key] ?? ""),
|
|
131
|
+
onChange: (n) => f(t.key, n),
|
|
134
132
|
maxLength: h.instructions,
|
|
135
|
-
placeholder:
|
|
136
|
-
onImprove:
|
|
133
|
+
placeholder: t.hint ?? "",
|
|
134
|
+
onImprove: m
|
|
137
135
|
},
|
|
138
|
-
|
|
136
|
+
t.key
|
|
139
137
|
);
|
|
140
138
|
case "Switch":
|
|
141
|
-
return /* @__PURE__ */ k(
|
|
142
|
-
/* @__PURE__ */ k(
|
|
143
|
-
/* @__PURE__ */ r(
|
|
144
|
-
|
|
139
|
+
return /* @__PURE__ */ k(J, { children: [
|
|
140
|
+
/* @__PURE__ */ k(K, { children: [
|
|
141
|
+
/* @__PURE__ */ r(C, { color: i.content.primary, children: t.title }),
|
|
142
|
+
t.hint && /* @__PURE__ */ r(E, { color: i.content.secondary, children: t.hint })
|
|
145
143
|
] }),
|
|
146
144
|
/* @__PURE__ */ r(
|
|
147
|
-
|
|
145
|
+
Y,
|
|
148
146
|
{
|
|
149
147
|
"data-test": l,
|
|
150
|
-
value: !!t
|
|
151
|
-
onValueChange: async (n) => f(
|
|
148
|
+
value: !!e[t.key],
|
|
149
|
+
onValueChange: async (n) => f(t.key, n)
|
|
152
150
|
}
|
|
153
151
|
)
|
|
154
|
-
] },
|
|
152
|
+
] }, t.key);
|
|
155
153
|
}
|
|
156
154
|
return /* @__PURE__ */ r(
|
|
157
|
-
|
|
155
|
+
F,
|
|
158
156
|
{
|
|
159
157
|
"data-test": l,
|
|
160
158
|
variant: "small",
|
|
161
|
-
labelText:
|
|
159
|
+
labelText: t.title,
|
|
162
160
|
labelTextBold: !0,
|
|
163
|
-
placeholder:
|
|
164
|
-
value: String(t
|
|
165
|
-
onChangeText: (n) => f(
|
|
161
|
+
placeholder: t.hint ?? "",
|
|
162
|
+
value: String(e[t.key] ?? ""),
|
|
163
|
+
onChangeText: (n) => f(t.key, n)
|
|
166
164
|
},
|
|
167
|
-
|
|
165
|
+
t.key
|
|
168
166
|
);
|
|
169
|
-
},
|
|
167
|
+
}, b = H[o];
|
|
170
168
|
return /* @__PURE__ */ r(
|
|
171
|
-
|
|
169
|
+
P,
|
|
172
170
|
{
|
|
173
|
-
header:
|
|
171
|
+
header: b.title,
|
|
174
172
|
closeOnEscapeKey: !1,
|
|
175
173
|
zIndex: y,
|
|
176
|
-
headerCustomComponent: /* @__PURE__ */ r(
|
|
177
|
-
P,
|
|
178
|
-
{
|
|
179
|
-
title: S.title,
|
|
180
|
-
subtitle: S.subtitle,
|
|
181
|
-
icon: L[o === "send_slack_message" ? _.Slack : _.EmailHandover]
|
|
182
|
-
}
|
|
183
|
-
),
|
|
174
|
+
headerCustomComponent: /* @__PURE__ */ r(A, { title: b.title, subtitle: b.subtitle }),
|
|
184
175
|
hideCrossButton: !1,
|
|
185
176
|
width: "431px",
|
|
186
|
-
headerStyle:
|
|
187
|
-
bodyStyle:
|
|
177
|
+
headerStyle: L,
|
|
178
|
+
bodyStyle: R,
|
|
188
179
|
onClose: c,
|
|
189
180
|
saveButtonProps: {
|
|
190
181
|
"data-test": "config-tool-save",
|
|
@@ -193,7 +184,7 @@ const M = {
|
|
|
193
184
|
size: "small",
|
|
194
185
|
disabled: !T,
|
|
195
186
|
isLoading: x,
|
|
196
|
-
onClick:
|
|
187
|
+
onClick: I
|
|
197
188
|
},
|
|
198
189
|
cancelButtonProps: {
|
|
199
190
|
"data-test": "config-tool-cancel",
|
|
@@ -202,14 +193,14 @@ const M = {
|
|
|
202
193
|
size: "small",
|
|
203
194
|
onClick: c
|
|
204
195
|
},
|
|
205
|
-
children: v.map(
|
|
196
|
+
children: v.map(_)
|
|
206
197
|
}
|
|
207
198
|
);
|
|
208
|
-
},
|
|
199
|
+
}, G = u.div`
|
|
209
200
|
display: flex;
|
|
210
201
|
flex-direction: column;
|
|
211
202
|
gap: 8px;
|
|
212
|
-
`,
|
|
203
|
+
`, N = u.input`
|
|
213
204
|
width: 100%;
|
|
214
205
|
min-width: 0;
|
|
215
206
|
box-sizing: border-box;
|
|
@@ -230,22 +221,22 @@ const M = {
|
|
|
230
221
|
&:focus {
|
|
231
222
|
border-color: ${i.stroke.brand};
|
|
232
223
|
}
|
|
233
|
-
`,
|
|
224
|
+
`, q = u.div`
|
|
234
225
|
display: flex;
|
|
235
226
|
flex-wrap: wrap;
|
|
236
227
|
gap: 6px;
|
|
237
|
-
`,
|
|
228
|
+
`, J = u.div`
|
|
238
229
|
display: flex;
|
|
239
230
|
align-items: center;
|
|
240
231
|
justify-content: space-between;
|
|
241
232
|
gap: 12px;
|
|
242
|
-
`,
|
|
233
|
+
`, K = u.div`
|
|
243
234
|
display: flex;
|
|
244
235
|
flex-direction: column;
|
|
245
236
|
gap: 4px;
|
|
246
237
|
min-width: 0;
|
|
247
238
|
`;
|
|
248
239
|
export {
|
|
249
|
-
|
|
240
|
+
pt as ConfigToolPanel
|
|
250
241
|
};
|
|
251
242
|
//# sourceMappingURL=ConfigToolPanel.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfigToolPanel.js","sources":["../../../../../src/components/agent-builder/components/ConfigToolPanel.tsx"],"sourcesContent":["import CrossIcon from '@src/assets/icons/cross.svg';\nimport React, { useState } from 'react';\nimport styled from 'styled-components';\nimport { Input } from '@src/components/input';\nimport { SideModal } from '@src/components/side-modal';\nimport { Switch } from '@src/components/switch';\nimport { Tag } from '@src/components/tag';\nimport { BodyCaption, TitleSmall } from '@src/components/TypographyStyle';\nimport { COLORS } from '@src/constants/Theme';\nimport {\n\tConfigToolConfig,\n\tConfigToolKey,\n\tParamField,\n\tParamsBlob,\n} from '../AgentBuilder.model';\nimport { FieldBlock } from '../AgentBuilder.styled';\nimport type { AgentCharLimits } from '../constants/charLimits';\nimport { AGENT_CHAR_LIMITS } from '../constants/charLimits';\nimport { ToolSource } from '../constants/tools';\nimport { SOURCE_ICONS } from '../utils/sourceIcons';\nimport {\n\tDRAWER_BODY_STYLE,\n\tDRAWER_HEADER_STYLE,\n\tDrawerHeaderText,\n} from './DrawerHeaderText';\nimport { ToolInstructionsField } from './ToolInstructionsField';\n\n/** Header copy per shared-drawer tool. */\nconst TOOL_COPY: Record<ConfigToolKey, { title: string; subtitle: string }> = {\n\tsend_email: {\n\t\ttitle: 'Handover to email',\n\t\tsubtitle:\n\t\t\t\"Notify someone by email when this agent can't continue. You pick the recipient, the AI drafts the message.\",\n\t},\n\tsend_slack_message: {\n\t\ttitle: 'Send Slack message',\n\t\tsubtitle:\n\t\t\t'Post a message to a Slack channel. You pick the channel, the AI composes the message from the conversation.',\n\t},\n};\n\ninterface ConfigToolPanelProps {\n\t/** Which tool this drawer configures (drives copy + persistence). */\n\ttoolKey: ConfigToolKey;\n\t/**\n\t * The backend template (`list-catalog` → params) for `toolKey`. The form is\n\t * DYNAMIC: exactly these fields render, in this order, each by its\n\t * `component` kind (KeywordInput | MultilineInput | Switch | fallback input).\n\t */\n\ttemplate: ParamsBlob;\n\tonClose: () => void;\n\t/** Persist the filled template. A pending promise shows the Save loader. */\n\tonSave: (config: ConfigToolConfig) => void | Promise<void>;\n\t/** Seed values when editing an existing tool. */\n\tinitial?: ConfigToolConfig;\n\t/** Optional \"Improve with AI\" for multiline fields. Omit to hide it. */\n\tonImprove?: (text: string) => Promise<string>;\n\tcharLimits?: AgentCharLimits;\n\t/** SideModal stacking order — raise it when opened over another drawer. */\n\tzIndex?: number;\n}\n\ninterface EmailChipsFieldProps {\n\tchips: string[];\n\tonChange: (next: string[]) => void;\n\tplaceholder: string;\n\tnativeID?: string;\n\t/** Optional helper caption shown between the input and the chips. */\n\thint?: React.ReactNode;\n}\n\n/**\n * Email entry field: type an address and press Enter / comma (or blur) to add\n * it. Added emails render as removable chips BELOW the input — not inside it.\n * Backspace on an empty input removes the last chip.\n */\nconst EmailChipsField: React.FC<EmailChipsFieldProps> = ({\n\tchips,\n\tonChange,\n\tplaceholder,\n\tnativeID,\n\thint,\n}) => {\n\tconst [buffer, setBuffer] = useState('');\n\n\tconst commit = () => {\n\t\tconst parts = buffer\n\t\t\t.split(',')\n\t\t\t.map((s) => s.trim())\n\t\t\t.filter(Boolean);\n\t\tif (parts.length) {\n\t\t\tonChange([...chips, ...parts.filter((p) => !chips.includes(p))]);\n\t\t}\n\t\tsetBuffer('');\n\t};\n\n\treturn (\n\t\t<ChipsFieldWrap>\n\t\t\t<EmailInputBox\n\t\t\t\tid={nativeID}\n\t\t\t\ttype=\"text\"\n\t\t\t\tplaceholder={placeholder}\n\t\t\t\tvalue={buffer}\n\t\t\t\tonChange={(e) => setBuffer(e.target.value)}\n\t\t\t\tonBlur={commit}\n\t\t\t\tonKeyDown={(e) => {\n\t\t\t\t\tif (e.key === 'Enter' || e.key === ',') {\n\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\tcommit();\n\t\t\t\t\t} else if (\n\t\t\t\t\t\te.key === 'Backspace' &&\n\t\t\t\t\t\tbuffer === '' &&\n\t\t\t\t\t\tchips.length > 0\n\t\t\t\t\t) {\n\t\t\t\t\t\tonChange(chips.slice(0, -1));\n\t\t\t\t\t}\n\t\t\t\t}}\n\t\t\t/>\n\t\t\t{hint}\n\t\t\t{chips.length > 0 && (\n\t\t\t\t<ChipRow>\n\t\t\t\t\t{chips.map((email, i) => (\n\t\t\t\t\t\t<Tag\n\t\t\t\t\t\t\tkey={`${email}-${i}`}\n\t\t\t\t\t\t\ttagText={email}\n\t\t\t\t\t\t\ttheme=\"light\"\n\t\t\t\t\t\t\ttype=\"neutral\"\n\t\t\t\t\t\t\tvariant=\"regular\"\n\t\t\t\t\t\t\tTrailingIcon={CrossIcon}\n\t\t\t\t\t\t\tonTrailingIconClicked={() =>\n\t\t\t\t\t\t\t\tonChange(chips.filter((_, idx) => idx !== i))\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t/>\n\t\t\t\t\t))}\n\t\t\t\t</ChipRow>\n\t\t\t)}\n\t\t</ChipsFieldWrap>\n\t);\n};\n\n/** Field values keyed by param key (the editable part of a {@link ParamsBlob}). */\ntype ParamValues = Record<string, string | boolean | number | object>;\n\nconst seedValues = (\n\ttemplate: ParamsBlob,\n\tinitial?: ConfigToolConfig,\n): ParamValues => {\n\tconst values: ParamValues = {};\n\tObject.keys(template).forEach((key) => {\n\t\tvalues[key] = initial?.params[key]?.value ?? template[key].value;\n\t});\n\treturn values;\n};\n\n/** Chips ↔ the string value KeywordInput fields carry (comma-separated). */\nconst toChips = (value: unknown): string[] =>\n\tString(value ?? '')\n\t\t.split(',')\n\t\t.map((s) => s.trim())\n\t\t.filter(Boolean);\n\n/**\n * Shared right-side drawer for the params-driven configurable tools (email /\n * Slack). Fully backend-driven: it renders the template fields by their\n * `component` kind and returns the same blob with values filled in. KeywordInput\n * renders as multi-value email chips only for `send_email`; every other tool\n * gets a plain single-line input. Mount it fresh per open (key it) so `initial`\n * seeds the state. Built on the shared `SideModal` shell.\n */\nexport const ConfigToolPanel: React.FC<ConfigToolPanelProps> = ({\n\ttoolKey,\n\ttemplate,\n\tonClose,\n\tonSave,\n\tinitial,\n\tonImprove,\n\tcharLimits = AGENT_CHAR_LIMITS,\n\tzIndex,\n}) => {\n\tconst [values, setValues] = useState<ParamValues>(() =>\n\t\tseedValues(template, initial),\n\t);\n\tconst [saving, setSaving] = useState(false);\n\n\tconst fields = Object.values(template);\n\tconst isEmail = toolKey === 'send_email';\n\tconst setValue = (key: string, value: string | boolean | number | object) =>\n\t\tsetValues((prev) => ({ ...prev, [key]: value }));\n\n\tconst canSave = fields.every(\n\t\t(f) => !f.required || String(values[f.key] ?? '').trim() !== '',\n\t);\n\n\tconst handleSave = async () => {\n\t\tif (!canSave || saving) {\n\t\t\treturn;\n\t\t}\n\t\tconst params: ParamsBlob = {};\n\t\tfields.forEach((f) => {\n\t\t\t// Save the FULL descriptor with only `value` changed — the backend\n\t\t\t// infers each field's type from `component` and reads `required`.\n\t\t\tparams[f.key] = { ...f, value: values[f.key] };\n\t\t});\n\t\tconst config: ConfigToolConfig = {\n\t\t\tid: initial?.id ?? `${toolKey}_${Date.now().toString(36)}`,\n\t\t\ttool_key: toolKey,\n\t\t\tparams,\n\t\t};\n\t\tconst result = onSave(config);\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 renderField = (field: ParamField) => {\n\t\tconst testId = `config-tool-${field.key.toLowerCase()}`;\n\t\tswitch (field.component) {\n\t\t\t// Multi-value email chips — only for the email tool. Slack's KeywordInput\n\t\t\t// (channelId) falls through to the plain input below.\n\t\t\tcase 'KeywordInput':\n\t\t\t\tif (!isEmail) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\treturn (\n\t\t\t\t\t<FieldBlock key={field.key}>\n\t\t\t\t\t\t<TitleSmall color={COLORS.content.primary}>\n\t\t\t\t\t\t\t{field.title}\n\t\t\t\t\t\t</TitleSmall>\n\t\t\t\t\t\t<EmailChipsField\n\t\t\t\t\t\t\tnativeID={testId}\n\t\t\t\t\t\t\tplaceholder={field.hint ?? ''}\n\t\t\t\t\t\t\tchips={toChips(values[field.key])}\n\t\t\t\t\t\t\tonChange={(chips) => setValue(field.key, chips.join(','))}\n\t\t\t\t\t\t\thint={\n\t\t\t\t\t\t\t\t<BodyCaption color={COLORS.content.secondary}>\n\t\t\t\t\t\t\t\t\tPress Enter or comma to add multiple emails\n\t\t\t\t\t\t\t\t</BodyCaption>\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t/>\n\t\t\t\t\t</FieldBlock>\n\t\t\t\t);\n\t\t\tcase 'MultilineInput':\n\t\t\t\treturn (\n\t\t\t\t\t<ToolInstructionsField\n\t\t\t\t\t\tkey={field.key}\n\t\t\t\t\t\tdata-test={testId}\n\t\t\t\t\t\tlabel={field.title}\n\t\t\t\t\t\tvalue={String(values[field.key] ?? '')}\n\t\t\t\t\t\tonChange={(text) => setValue(field.key, text)}\n\t\t\t\t\t\tmaxLength={charLimits.instructions}\n\t\t\t\t\t\tplaceholder={field.hint ?? ''}\n\t\t\t\t\t\tonImprove={onImprove}\n\t\t\t\t\t/>\n\t\t\t\t);\n\t\t\tcase 'Switch':\n\t\t\t\treturn (\n\t\t\t\t\t<SwitchRow key={field.key}>\n\t\t\t\t\t\t<SwitchText>\n\t\t\t\t\t\t\t<TitleSmall color={COLORS.content.primary}>\n\t\t\t\t\t\t\t\t{field.title}\n\t\t\t\t\t\t\t</TitleSmall>\n\t\t\t\t\t\t\t{field.hint && (\n\t\t\t\t\t\t\t\t<BodyCaption color={COLORS.content.secondary}>\n\t\t\t\t\t\t\t\t\t{field.hint}\n\t\t\t\t\t\t\t\t</BodyCaption>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t</SwitchText>\n\t\t\t\t\t\t<Switch\n\t\t\t\t\t\t\tdata-test={testId}\n\t\t\t\t\t\t\tvalue={Boolean(values[field.key])}\n\t\t\t\t\t\t\tonValueChange={async (next) => setValue(field.key, next)}\n\t\t\t\t\t\t/>\n\t\t\t\t\t</SwitchRow>\n\t\t\t\t);\n\t\t\tdefault:\n\t\t\t\tbreak;\n\t\t}\n\t\treturn (\n\t\t\t<Input\n\t\t\t\tkey={field.key}\n\t\t\t\tdata-test={testId}\n\t\t\t\tvariant=\"small\"\n\t\t\t\tlabelText={field.title}\n\t\t\t\tlabelTextBold\n\t\t\t\tplaceholder={field.hint ?? ''}\n\t\t\t\tvalue={String(values[field.key] ?? '')}\n\t\t\t\tonChangeText={(text) => setValue(field.key, text)}\n\t\t\t/>\n\t\t);\n\t};\n\n\tconst copy = TOOL_COPY[toolKey];\n\n\treturn (\n\t\t<SideModal\n\t\t\theader={copy.title}\n\t\t\tcloseOnEscapeKey={false}\n\t\t\tzIndex={zIndex}\n\t\t\theaderCustomComponent={\n\t\t\t\t<DrawerHeaderText\n\t\t\t\t\ttitle={copy.title}\n\t\t\t\t\tsubtitle={copy.subtitle}\n\t\t\t\t\ticon={\n\t\t\t\t\t\tSOURCE_ICONS[\n\t\t\t\t\t\t\ttoolKey === 'send_slack_message'\n\t\t\t\t\t\t\t\t? ToolSource.Slack\n\t\t\t\t\t\t\t\t: ToolSource.EmailHandover\n\t\t\t\t\t\t]\n\t\t\t\t\t}\n\t\t\t\t/>\n\t\t\t}\n\t\t\thideCrossButton={false}\n\t\t\twidth=\"431px\"\n\t\t\theaderStyle={DRAWER_HEADER_STYLE}\n\t\t\tbodyStyle={DRAWER_BODY_STYLE}\n\t\t\tonClose={onClose}\n\t\t\tsaveButtonProps={{\n\t\t\t\t'data-test': 'config-tool-save',\n\t\t\t\tbuttonText: 'Save',\n\t\t\t\tbuttonType: 'primary',\n\t\t\t\tsize: 'small',\n\t\t\t\tdisabled: !canSave,\n\t\t\t\tisLoading: saving,\n\t\t\t\tonClick: handleSave,\n\t\t\t}}\n\t\t\tcancelButtonProps={{\n\t\t\t\t'data-test': 'config-tool-cancel',\n\t\t\t\tbuttonText: 'Cancel',\n\t\t\t\tbuttonType: 'tertiaryGray',\n\t\t\t\tsize: 'small',\n\t\t\t\tonClick: onClose,\n\t\t\t}}\n\t\t>\n\t\t\t{fields.map(renderField)}\n\t\t</SideModal>\n\t);\n};\n\nconst ChipsFieldWrap = styled.div`\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: 8px;\n`;\n\nconst EmailInputBox = styled.input`\n\twidth: 100%;\n\tmin-width: 0;\n\tbox-sizing: border-box;\n\theight: 32px;\n\tpadding: 0 8px;\n\tborder: 1px solid ${COLORS.stroke.primary};\n\tborder-radius: 4px;\n\tfont-family: 'Inter', sans-serif;\n\tfont-size: 14px;\n\tcolor: ${COLORS.content.primary};\n\tbackground: ${COLORS.surface.standard};\n\toutline: none;\n\n\t&::placeholder {\n\t\tcolor: ${COLORS.content.secondary};\n\t}\n\n\t&:focus {\n\t\tborder-color: ${COLORS.stroke.brand};\n\t}\n`;\n\nconst ChipRow = styled.div`\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tgap: 6px;\n`;\n\nconst SwitchRow = styled.div`\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: space-between;\n\tgap: 12px;\n`;\n\nconst SwitchText = styled.div`\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: 4px;\n\tmin-width: 0;\n`;\n"],"names":["TOOL_COPY","EmailChipsField","chips","onChange","placeholder","nativeID","hint","buffer","setBuffer","useState","commit","parts","p","ChipsFieldWrap","jsx","EmailInputBox","e","ChipRow","email","i","Tag","CrossIcon","_","idx","seedValues","template","initial","values","key","toChips","value","s","ConfigToolPanel","toolKey","onClose","onSave","onImprove","charLimits","AGENT_CHAR_LIMITS","zIndex","setValues","saving","setSaving","fields","isEmail","setValue","prev","canSave","f","handleSave","params","config","result","renderField","field","testId","FieldBlock","TitleSmall","COLORS","BodyCaption","ToolInstructionsField","text","SwitchRow","jsxs","SwitchText","Switch","next","Input","copy","SideModal","DrawerHeaderText","SOURCE_ICONS","ToolSource","DRAWER_HEADER_STYLE","DRAWER_BODY_STYLE","styled"],"mappings":";;;;;;;;;;;;;;;;AA4BA,MAAMA,IAAwE;AAAA,EAC7E,YAAY;AAAA,IACX,OAAO;AAAA,IACP,UACC;AAAA,EAAA;AAAA,EAEF,oBAAoB;AAAA,IACnB,OAAO;AAAA,IACP,UACC;AAAA,EAAA;AAEH,GAqCMC,IAAkD,CAAC;AAAA,EACxD,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,aAAAC;AAAA,EACA,UAAAC;AAAA,EACA,MAAAC;AACD,MAAM;AACL,QAAM,CAACC,GAAQC,CAAS,IAAIC,EAAS,EAAE,GAEjCC,IAAS,MAAM;AACpB,UAAMC,IAAQJ,EACZ,MAAM,GAAG,EACT,IAAI,CAAC,MAAM,EAAE,KAAA,CAAM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Y;AAAA,QACZ,YAAY;AAAA,QACZ,MAAM;AAAA,QACN,UAAU,CAACa;AAAA,QACX,WAAWN;AAAA,QACX,SAASQ;AAAA,MAAA;AAAA,MAEV,mBAAmB;AAAA,QAClB,aAAa;AAAA,QACb,YAAY;AAAA,QACZ,YAAY;AAAA,QACZ,MAAM;AAAA,QACN,SAASf;AAAA,MAAA;AAAA,MAGT,UAAAS,EAAO,IAAIU,CAAW;AAAA,IAAA;AAAA,EAAA;AAG1B,GAEMxC,IAAiB8D,EAAO;AAAA;AAAA;AAAA;AAAA,GAMxB5D,IAAgB4D,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,qBAMRjB,EAAO,OAAO,OAAO;AAAA;AAAA;AAAA;AAAA,UAIhCA,EAAO,QAAQ,OAAO;AAAA,eACjBA,EAAO,QAAQ,QAAQ;AAAA;AAAA;AAAA;AAAA,WAI3BA,EAAO,QAAQ,SAAS;AAAA;AAAA;AAAA;AAAA,kBAIjBA,EAAO,OAAO,KAAK;AAAA;AAAA,GAI/BzC,IAAU0D,EAAO;AAAA;AAAA;AAAA;AAAA,GAMjBb,IAAYa,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA,GAOnBX,IAAaW,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;"}
|
|
1
|
+
{"version":3,"file":"ConfigToolPanel.js","sources":["../../../../../src/components/agent-builder/components/ConfigToolPanel.tsx"],"sourcesContent":["import CrossIcon from '@src/assets/icons/cross.svg';\nimport React, { useState } from 'react';\nimport styled from 'styled-components';\nimport { Input } from '@src/components/input';\nimport { SideModal } from '@src/components/side-modal';\nimport { Switch } from '@src/components/switch';\nimport { Tag } from '@src/components/tag';\nimport { BodyCaption, TitleSmall } from '@src/components/TypographyStyle';\nimport { COLORS } from '@src/constants/Theme';\nimport {\n\tConfigToolConfig,\n\tConfigToolKey,\n\tParamField,\n\tParamsBlob,\n} from '../AgentBuilder.model';\nimport { FieldBlock } from '../AgentBuilder.styled';\nimport type { AgentCharLimits } from '../constants/charLimits';\nimport { AGENT_CHAR_LIMITS } from '../constants/charLimits';\nimport {\n\tDRAWER_BODY_STYLE,\n\tDRAWER_HEADER_STYLE,\n\tDrawerHeaderText,\n} from './DrawerHeaderText';\nimport { ToolInstructionsField } from './ToolInstructionsField';\n\n/** Header copy per shared-drawer tool. */\nconst TOOL_COPY: Record<ConfigToolKey, { title: string; subtitle: string }> = {\n\tsend_email: {\n\t\ttitle: 'Handover to email',\n\t\tsubtitle:\n\t\t\t\"Notify someone by email when this agent can't continue. You pick the recipient, the AI drafts the message.\",\n\t},\n\tsend_slack_message: {\n\t\ttitle: 'Send Slack message',\n\t\tsubtitle:\n\t\t\t'Post a message to a Slack channel. You pick the channel, the AI composes the message from the conversation.',\n\t},\n};\n\ninterface ConfigToolPanelProps {\n\t/** Which tool this drawer configures (drives copy + persistence). */\n\ttoolKey: ConfigToolKey;\n\t/**\n\t * The backend template (`list-catalog` → params) for `toolKey`. The form is\n\t * DYNAMIC: exactly these fields render, in this order, each by its\n\t * `component` kind (KeywordInput | MultilineInput | Switch | fallback input).\n\t */\n\ttemplate: ParamsBlob;\n\tonClose: () => void;\n\t/** Persist the filled template. A pending promise shows the Save loader. */\n\tonSave: (config: ConfigToolConfig) => void | Promise<void>;\n\t/** Seed values when editing an existing tool. */\n\tinitial?: ConfigToolConfig;\n\t/** Optional \"Improve with AI\" for multiline fields. Omit to hide it. */\n\tonImprove?: (text: string) => Promise<string>;\n\tcharLimits?: AgentCharLimits;\n\t/** SideModal stacking order — raise it when opened over another drawer. */\n\tzIndex?: number;\n}\n\ninterface EmailChipsFieldProps {\n\tchips: string[];\n\tonChange: (next: string[]) => void;\n\tplaceholder: string;\n\tnativeID?: string;\n\t/** Optional helper caption shown between the input and the chips. */\n\thint?: React.ReactNode;\n}\n\n/**\n * Email entry field: type an address and press Enter / comma (or blur) to add\n * it. Added emails render as removable chips BELOW the input — not inside it.\n * Backspace on an empty input removes the last chip.\n */\nconst EmailChipsField: React.FC<EmailChipsFieldProps> = ({\n\tchips,\n\tonChange,\n\tplaceholder,\n\tnativeID,\n\thint,\n}) => {\n\tconst [buffer, setBuffer] = useState('');\n\n\tconst commit = () => {\n\t\tconst parts = buffer\n\t\t\t.split(',')\n\t\t\t.map((s) => s.trim())\n\t\t\t.filter(Boolean);\n\t\tif (parts.length) {\n\t\t\tonChange([...chips, ...parts.filter((p) => !chips.includes(p))]);\n\t\t}\n\t\tsetBuffer('');\n\t};\n\n\treturn (\n\t\t<ChipsFieldWrap>\n\t\t\t<EmailInputBox\n\t\t\t\tid={nativeID}\n\t\t\t\ttype=\"text\"\n\t\t\t\tplaceholder={placeholder}\n\t\t\t\tvalue={buffer}\n\t\t\t\tonChange={(e) => setBuffer(e.target.value)}\n\t\t\t\tonBlur={commit}\n\t\t\t\tonKeyDown={(e) => {\n\t\t\t\t\tif (e.key === 'Enter' || e.key === ',') {\n\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\tcommit();\n\t\t\t\t\t} else if (\n\t\t\t\t\t\te.key === 'Backspace' &&\n\t\t\t\t\t\tbuffer === '' &&\n\t\t\t\t\t\tchips.length > 0\n\t\t\t\t\t) {\n\t\t\t\t\t\tonChange(chips.slice(0, -1));\n\t\t\t\t\t}\n\t\t\t\t}}\n\t\t\t/>\n\t\t\t{hint}\n\t\t\t{chips.length > 0 && (\n\t\t\t\t<ChipRow>\n\t\t\t\t\t{chips.map((email, i) => (\n\t\t\t\t\t\t<Tag\n\t\t\t\t\t\t\tkey={`${email}-${i}`}\n\t\t\t\t\t\t\ttagText={email}\n\t\t\t\t\t\t\ttheme=\"light\"\n\t\t\t\t\t\t\ttype=\"neutral\"\n\t\t\t\t\t\t\tvariant=\"regular\"\n\t\t\t\t\t\t\tTrailingIcon={CrossIcon}\n\t\t\t\t\t\t\tonTrailingIconClicked={() =>\n\t\t\t\t\t\t\t\tonChange(chips.filter((_, idx) => idx !== i))\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t/>\n\t\t\t\t\t))}\n\t\t\t\t</ChipRow>\n\t\t\t)}\n\t\t</ChipsFieldWrap>\n\t);\n};\n\n/** Field values keyed by param key (the editable part of a {@link ParamsBlob}). */\ntype ParamValues = Record<string, string | boolean | number | object>;\n\nconst seedValues = (\n\ttemplate: ParamsBlob,\n\tinitial?: ConfigToolConfig,\n): ParamValues => {\n\tconst values: ParamValues = {};\n\tObject.keys(template).forEach((key) => {\n\t\tvalues[key] = initial?.params[key]?.value ?? template[key].value;\n\t});\n\treturn values;\n};\n\n/** Chips ↔ the string value KeywordInput fields carry (comma-separated). */\nconst toChips = (value: unknown): string[] =>\n\tString(value ?? '')\n\t\t.split(',')\n\t\t.map((s) => s.trim())\n\t\t.filter(Boolean);\n\n/**\n * Shared right-side drawer for the params-driven configurable tools (email /\n * Slack). Fully backend-driven: it renders the template fields by their\n * `component` kind and returns the same blob with values filled in. KeywordInput\n * renders as multi-value email chips only for `send_email`; every other tool\n * gets a plain single-line input. Mount it fresh per open (key it) so `initial`\n * seeds the state. Built on the shared `SideModal` shell.\n */\nexport const ConfigToolPanel: React.FC<ConfigToolPanelProps> = ({\n\ttoolKey,\n\ttemplate,\n\tonClose,\n\tonSave,\n\tinitial,\n\tonImprove,\n\tcharLimits = AGENT_CHAR_LIMITS,\n\tzIndex,\n}) => {\n\tconst [values, setValues] = useState<ParamValues>(() =>\n\t\tseedValues(template, initial),\n\t);\n\tconst [saving, setSaving] = useState(false);\n\n\tconst fields = Object.values(template);\n\tconst isEmail = toolKey === 'send_email';\n\tconst setValue = (key: string, value: string | boolean | number | object) =>\n\t\tsetValues((prev) => ({ ...prev, [key]: value }));\n\n\tconst canSave = fields.every(\n\t\t(f) => !f.required || String(values[f.key] ?? '').trim() !== '',\n\t);\n\n\tconst handleSave = async () => {\n\t\tif (!canSave || saving) {\n\t\t\treturn;\n\t\t}\n\t\tconst params: ParamsBlob = {};\n\t\tfields.forEach((f) => {\n\t\t\t// Save the FULL descriptor with only `value` changed — the backend\n\t\t\t// infers each field's type from `component` and reads `required`.\n\t\t\tparams[f.key] = { ...f, value: values[f.key] };\n\t\t});\n\t\tconst config: ConfigToolConfig = {\n\t\t\tid: initial?.id ?? `${toolKey}_${Date.now().toString(36)}`,\n\t\t\ttool_key: toolKey,\n\t\t\tparams,\n\t\t};\n\t\tconst result = onSave(config);\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 renderField = (field: ParamField) => {\n\t\tconst testId = `config-tool-${field.key.toLowerCase()}`;\n\t\tswitch (field.component) {\n\t\t\t// Multi-value email chips — only for the email tool. Slack's KeywordInput\n\t\t\t// (channelId) falls through to the plain input below.\n\t\t\tcase 'KeywordInput':\n\t\t\t\tif (!isEmail) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\treturn (\n\t\t\t\t\t<FieldBlock key={field.key}>\n\t\t\t\t\t\t<TitleSmall color={COLORS.content.primary}>\n\t\t\t\t\t\t\t{field.title}\n\t\t\t\t\t\t</TitleSmall>\n\t\t\t\t\t\t<EmailChipsField\n\t\t\t\t\t\t\tnativeID={testId}\n\t\t\t\t\t\t\tplaceholder={field.hint ?? ''}\n\t\t\t\t\t\t\tchips={toChips(values[field.key])}\n\t\t\t\t\t\t\tonChange={(chips) => setValue(field.key, chips.join(','))}\n\t\t\t\t\t\t\thint={\n\t\t\t\t\t\t\t\t<BodyCaption color={COLORS.content.secondary}>\n\t\t\t\t\t\t\t\t\tPress Enter or comma to add multiple emails\n\t\t\t\t\t\t\t\t</BodyCaption>\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t/>\n\t\t\t\t\t</FieldBlock>\n\t\t\t\t);\n\t\t\tcase 'MultilineInput':\n\t\t\t\treturn (\n\t\t\t\t\t<ToolInstructionsField\n\t\t\t\t\t\tkey={field.key}\n\t\t\t\t\t\tdata-test={testId}\n\t\t\t\t\t\tlabel={field.title}\n\t\t\t\t\t\tvalue={String(values[field.key] ?? '')}\n\t\t\t\t\t\tonChange={(text) => setValue(field.key, text)}\n\t\t\t\t\t\tmaxLength={charLimits.instructions}\n\t\t\t\t\t\tplaceholder={field.hint ?? ''}\n\t\t\t\t\t\tonImprove={onImprove}\n\t\t\t\t\t/>\n\t\t\t\t);\n\t\t\tcase 'Switch':\n\t\t\t\treturn (\n\t\t\t\t\t<SwitchRow key={field.key}>\n\t\t\t\t\t\t<SwitchText>\n\t\t\t\t\t\t\t<TitleSmall color={COLORS.content.primary}>\n\t\t\t\t\t\t\t\t{field.title}\n\t\t\t\t\t\t\t</TitleSmall>\n\t\t\t\t\t\t\t{field.hint && (\n\t\t\t\t\t\t\t\t<BodyCaption color={COLORS.content.secondary}>\n\t\t\t\t\t\t\t\t\t{field.hint}\n\t\t\t\t\t\t\t\t</BodyCaption>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t</SwitchText>\n\t\t\t\t\t\t<Switch\n\t\t\t\t\t\t\tdata-test={testId}\n\t\t\t\t\t\t\tvalue={Boolean(values[field.key])}\n\t\t\t\t\t\t\tonValueChange={async (next) => setValue(field.key, next)}\n\t\t\t\t\t\t/>\n\t\t\t\t\t</SwitchRow>\n\t\t\t\t);\n\t\t\tdefault:\n\t\t\t\tbreak;\n\t\t}\n\t\treturn (\n\t\t\t<Input\n\t\t\t\tkey={field.key}\n\t\t\t\tdata-test={testId}\n\t\t\t\tvariant=\"small\"\n\t\t\t\tlabelText={field.title}\n\t\t\t\tlabelTextBold\n\t\t\t\tplaceholder={field.hint ?? ''}\n\t\t\t\tvalue={String(values[field.key] ?? '')}\n\t\t\t\tonChangeText={(text) => setValue(field.key, text)}\n\t\t\t/>\n\t\t);\n\t};\n\n\tconst copy = TOOL_COPY[toolKey];\n\n\treturn (\n\t\t<SideModal\n\t\t\theader={copy.title}\n\t\t\tcloseOnEscapeKey={false}\n\t\t\tzIndex={zIndex}\n\t\t\theaderCustomComponent={\n\t\t\t\t<DrawerHeaderText title={copy.title} subtitle={copy.subtitle} />\n\t\t\t}\n\t\t\thideCrossButton={false}\n\t\t\twidth=\"431px\"\n\t\t\theaderStyle={DRAWER_HEADER_STYLE}\n\t\t\tbodyStyle={DRAWER_BODY_STYLE}\n\t\t\tonClose={onClose}\n\t\t\tsaveButtonProps={{\n\t\t\t\t'data-test': 'config-tool-save',\n\t\t\t\tbuttonText: 'Save',\n\t\t\t\tbuttonType: 'primary',\n\t\t\t\tsize: 'small',\n\t\t\t\tdisabled: !canSave,\n\t\t\t\tisLoading: saving,\n\t\t\t\tonClick: handleSave,\n\t\t\t}}\n\t\t\tcancelButtonProps={{\n\t\t\t\t'data-test': 'config-tool-cancel',\n\t\t\t\tbuttonText: 'Cancel',\n\t\t\t\tbuttonType: 'tertiaryGray',\n\t\t\t\tsize: 'small',\n\t\t\t\tonClick: onClose,\n\t\t\t}}\n\t\t>\n\t\t\t{fields.map(renderField)}\n\t\t</SideModal>\n\t);\n};\n\nconst ChipsFieldWrap = styled.div`\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: 8px;\n`;\n\nconst EmailInputBox = styled.input`\n\twidth: 100%;\n\tmin-width: 0;\n\tbox-sizing: border-box;\n\theight: 32px;\n\tpadding: 0 8px;\n\tborder: 1px solid ${COLORS.stroke.primary};\n\tborder-radius: 4px;\n\tfont-family: 'Inter', sans-serif;\n\tfont-size: 14px;\n\tcolor: ${COLORS.content.primary};\n\tbackground: ${COLORS.surface.standard};\n\toutline: none;\n\n\t&::placeholder {\n\t\tcolor: ${COLORS.content.secondary};\n\t}\n\n\t&:focus {\n\t\tborder-color: ${COLORS.stroke.brand};\n\t}\n`;\n\nconst ChipRow = styled.div`\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tgap: 6px;\n`;\n\nconst SwitchRow = styled.div`\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: space-between;\n\tgap: 12px;\n`;\n\nconst SwitchText = styled.div`\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: 4px;\n\tmin-width: 0;\n`;\n"],"names":["TOOL_COPY","EmailChipsField","chips","onChange","placeholder","nativeID","hint","buffer","setBuffer","useState","commit","parts","p","ChipsFieldWrap","jsx","EmailInputBox","ChipRow","email","i","Tag","CrossIcon","_","idx","seedValues","template","initial","values","key","toChips","value","s","ConfigToolPanel","toolKey","onClose","onSave","onImprove","charLimits","AGENT_CHAR_LIMITS","zIndex","setValues","saving","setSaving","fields","isEmail","setValue","prev","canSave","f","handleSave","params","config","result","renderField","field","testId","FieldBlock","TitleSmall","COLORS","BodyCaption","ToolInstructionsField","text","SwitchRow","jsxs","SwitchText","Switch","next","Input","copy","SideModal","DrawerHeaderText","DRAWER_HEADER_STYLE","DRAWER_BODY_STYLE","styled"],"mappings":";;;;;;;;;;;;;;AA0BA,MAAMA,IAAwE;AAAA,EAC7E,YAAY;AAAA,IACX,OAAO;AAAA,IACP,UACC;AAAA,EAAA;AAAA,EAEF,oBAAoB;AAAA,IACnB,OAAO;AAAA,IACP,UACC;AAAA,EAAA;AAEH,GAqCMC,IAAkD,CAAC;AAAA,EACxD,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,aAAAC;AAAA,EACA,UAAAC;AAAA,EACA,MAAAC;AACD,MAAM;AACL,QAAM,CAACC,GAAQC,CAAS,IAAIC,EAAS,EAAE,GAEjCC,IAAS,MAAM;AACpB,UAAMC,IAAQJ,EACZ,MAAM,GAAG,EACT,IAAI,CAAC,MAAM,EAAE,KAAA,CAAM,EACnB,OAAO,OAAO;AAChB,IAAII,EAAM,UACTR,EAAS,CAAC,GAAGD,GAAO,GAAGS,EAAM,OAAO,CAACC,MAAM,CAACV,EAAM,SAASU,CAAC,CAAC,CAAC,CAAC,GAEhEJ,EAAU,EAAE;AAAA,EACb;AAEA,2BACEK,GAAA,EACA,UAAA;AAAA,IAAA,gBAAAC;AAAA,MAACC;AAAA,MAAA;AAAA,QACA,IAAIV;AAAA,QACJ,MAAK;AAAA,QACL,a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