@greatapps/greatagents-ui 0.3.23 → 0.3.24

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/index.js CHANGED
@@ -852,95 +852,97 @@ function AgentFormDialog({
852
852
  toast2.error(isEditing ? "Erro ao atualizar agente" : "Erro ao criar agente");
853
853
  }
854
854
  }
855
- return /* @__PURE__ */ jsx2(Sheet, { open, onOpenChange, children: /* @__PURE__ */ jsxs2(SheetContent, { className: "sm:max-w-lg overflow-y-auto", children: [
855
+ return /* @__PURE__ */ jsx2(Sheet, { open, onOpenChange, children: /* @__PURE__ */ jsxs2(SheetContent, { className: "sm:max-w-md", children: [
856
856
  /* @__PURE__ */ jsx2(SheetHeader, { children: /* @__PURE__ */ jsx2(SheetTitle, { children: isEditing ? "Editar Agente" : "Novo Agente" }) }),
857
- /* @__PURE__ */ jsxs2("form", { onSubmit: handleSubmit, className: "space-y-4", children: [
858
- /* @__PURE__ */ jsx2("div", { className: "flex justify-center", children: /* @__PURE__ */ jsx2(
859
- ImageCropUpload,
860
- {
861
- value: form.photo || null,
862
- onChange: (url) => updateField("photo", url),
863
- onRemove: () => updateField("photo", ""),
864
- entityType: "agents",
865
- entityId: agent?.id,
866
- idAccount: typeof idAccount === "string" ? Number(idAccount) : idAccount ?? Number(config.accountId) ?? 0,
867
- name: form.title || null,
868
- disabled: isPending
869
- }
870
- ) }),
871
- /* @__PURE__ */ jsxs2("div", { className: "space-y-2", children: [
872
- /* @__PURE__ */ jsx2(Label, { htmlFor: "agent-title", children: "Nome do Agente *" }),
873
- /* @__PURE__ */ jsx2(
874
- Input2,
857
+ /* @__PURE__ */ jsxs2("form", { onSubmit: handleSubmit, className: "flex flex-1 flex-col overflow-hidden", children: [
858
+ /* @__PURE__ */ jsxs2("div", { className: "flex-1 overflow-y-auto px-4 space-y-4", children: [
859
+ /* @__PURE__ */ jsx2("div", { className: "flex justify-center", children: /* @__PURE__ */ jsx2(
860
+ ImageCropUpload,
875
861
  {
876
- id: "agent-title",
877
- name: "title",
878
- value: form.title,
879
- onChange: (e) => {
880
- setForm((prev) => ({
881
- ...prev,
882
- title: e.target.value,
883
- titleError: e.target.value.trim() ? false : prev.titleError
884
- }));
885
- },
886
- placeholder: "Ex: Assistente de Agendamento",
887
- required: true,
862
+ value: form.photo || null,
863
+ onChange: (url) => updateField("photo", url),
864
+ onRemove: () => updateField("photo", ""),
865
+ entityType: "agents",
866
+ entityId: agent?.id,
867
+ idAccount: typeof idAccount === "string" ? Number(idAccount) : idAccount ?? Number(config.accountId) ?? 0,
868
+ name: form.title || null,
888
869
  disabled: isPending
889
870
  }
890
- ),
891
- form.titleError && /* @__PURE__ */ jsx2("p", { className: "text-sm text-destructive", children: "Nome \xE9 obrigat\xF3rio" })
892
- ] }),
893
- /* @__PURE__ */ jsxs2("div", { className: "flex items-center gap-3", children: [
894
- /* @__PURE__ */ jsx2(
895
- Switch,
896
- {
897
- id: "agent-active",
898
- checked: form.active,
899
- onCheckedChange: (checked) => updateField("active", checked),
900
- disabled: isPending
901
- }
902
- ),
903
- /* @__PURE__ */ jsx2(Label, { htmlFor: "agent-active", className: "cursor-pointer", children: form.active ? "Ativo" : "Inativo" })
904
- ] }),
905
- /* @__PURE__ */ jsxs2("div", { className: "grid grid-cols-2 gap-4", children: [
871
+ ) }),
906
872
  /* @__PURE__ */ jsxs2("div", { className: "space-y-2", children: [
907
- /* @__PURE__ */ jsx2(Label, { htmlFor: "agent-delay", children: "Delay de Digita\xE7\xE3o (s)" }),
873
+ /* @__PURE__ */ jsx2(Label, { htmlFor: "agent-title", children: "Nome do Agente *" }),
908
874
  /* @__PURE__ */ jsx2(
909
875
  Input2,
910
876
  {
911
- id: "agent-delay",
912
- name: "delay",
913
- type: "number",
914
- value: form.delayTyping,
915
- onChange: (e) => updateField("delayTyping", e.target.value),
916
- placeholder: "0",
917
- min: "0",
918
- step: "0.5",
877
+ id: "agent-title",
878
+ name: "title",
879
+ value: form.title,
880
+ onChange: (e) => {
881
+ setForm((prev) => ({
882
+ ...prev,
883
+ title: e.target.value,
884
+ titleError: e.target.value.trim() ? false : prev.titleError
885
+ }));
886
+ },
887
+ placeholder: "Ex: Assistente de Agendamento",
888
+ required: true,
919
889
  disabled: isPending
920
890
  }
921
891
  ),
922
- /* @__PURE__ */ jsx2("p", { className: "text-xs text-muted-foreground", children: "Tempo de simula\xE7\xE3o de digita\xE7\xE3o" })
892
+ form.titleError && /* @__PURE__ */ jsx2("p", { className: "text-sm text-destructive", children: "Nome \xE9 obrigat\xF3rio" })
923
893
  ] }),
924
- /* @__PURE__ */ jsxs2("div", { className: "space-y-2", children: [
925
- /* @__PURE__ */ jsx2(Label, { htmlFor: "agent-waiting", children: "Tempo de Espera (s)" }),
894
+ /* @__PURE__ */ jsxs2("div", { className: "flex items-center gap-3", children: [
926
895
  /* @__PURE__ */ jsx2(
927
- Input2,
896
+ Switch,
928
897
  {
929
- id: "agent-waiting",
930
- name: "waiting",
931
- type: "number",
932
- value: form.waitingTime,
933
- onChange: (e) => updateField("waitingTime", e.target.value),
934
- placeholder: "0",
935
- min: "0",
936
- step: "0.5",
898
+ id: "agent-active",
899
+ checked: form.active,
900
+ onCheckedChange: (checked) => updateField("active", checked),
937
901
  disabled: isPending
938
902
  }
939
903
  ),
940
- /* @__PURE__ */ jsx2("p", { className: "text-xs text-muted-foreground", children: "Espera por mensagens agrupadas" })
904
+ /* @__PURE__ */ jsx2(Label, { htmlFor: "agent-active", className: "cursor-pointer", children: form.active ? "Ativo" : "Inativo" })
905
+ ] }),
906
+ /* @__PURE__ */ jsxs2("div", { className: "grid grid-cols-2 gap-4", children: [
907
+ /* @__PURE__ */ jsxs2("div", { className: "space-y-2", children: [
908
+ /* @__PURE__ */ jsx2(Label, { htmlFor: "agent-delay", children: "Delay de Digita\xE7\xE3o (s)" }),
909
+ /* @__PURE__ */ jsx2(
910
+ Input2,
911
+ {
912
+ id: "agent-delay",
913
+ name: "delay",
914
+ type: "number",
915
+ value: form.delayTyping,
916
+ onChange: (e) => updateField("delayTyping", e.target.value),
917
+ placeholder: "0",
918
+ min: "0",
919
+ step: "0.5",
920
+ disabled: isPending
921
+ }
922
+ ),
923
+ /* @__PURE__ */ jsx2("p", { className: "text-xs text-muted-foreground", children: "Tempo de simula\xE7\xE3o de digita\xE7\xE3o" })
924
+ ] }),
925
+ /* @__PURE__ */ jsxs2("div", { className: "space-y-2", children: [
926
+ /* @__PURE__ */ jsx2(Label, { htmlFor: "agent-waiting", children: "Tempo de Espera (s)" }),
927
+ /* @__PURE__ */ jsx2(
928
+ Input2,
929
+ {
930
+ id: "agent-waiting",
931
+ name: "waiting",
932
+ type: "number",
933
+ value: form.waitingTime,
934
+ onChange: (e) => updateField("waitingTime", e.target.value),
935
+ placeholder: "0",
936
+ min: "0",
937
+ step: "0.5",
938
+ disabled: isPending
939
+ }
940
+ ),
941
+ /* @__PURE__ */ jsx2("p", { className: "text-xs text-muted-foreground", children: "Espera por mensagens agrupadas" })
942
+ ] })
941
943
  ] })
942
944
  ] }),
943
- /* @__PURE__ */ jsxs2(SheetFooter, { children: [
945
+ /* @__PURE__ */ jsxs2(SheetFooter, { className: "flex-row justify-end border-t", children: [
944
946
  /* @__PURE__ */ jsx2(
945
947
  Button2,
946
948
  {
@@ -1145,11 +1147,11 @@ function AgentEditForm({ config, agent, idAccount, open, onOpenChange }) {
1145
1147
  // src/components/agents/agent-objectives-list.tsx
1146
1148
  import { useState as useState6 } from "react";
1147
1149
  import {
1148
- Input as Input5,
1150
+ Input as Input4,
1149
1151
  Button as Button5,
1150
1152
  Switch as Switch3,
1151
1153
  Skeleton,
1152
- Textarea,
1154
+ Textarea as Textarea2,
1153
1155
  Label as Label3,
1154
1156
  Badge as Badge2,
1155
1157
  Sheet as Sheet3,
@@ -1632,7 +1634,7 @@ function SortableOverlay(props) {
1632
1634
 
1633
1635
  // src/components/agents/conversation-flow-editor.tsx
1634
1636
  import { useCallback as useCallback3, useRef, useState as useState5 } from "react";
1635
- import { Button as Button4, Input as Input4 } from "@greatapps/greatauth-ui/ui";
1637
+ import { Button as Button4, Textarea } from "@greatapps/greatauth-ui/ui";
1636
1638
  import { GripVertical, Plus, Trash2 as Trash22 } from "lucide-react";
1637
1639
  import { jsx as jsx5, jsxs as jsxs4 } from "react/jsx-runtime";
1638
1640
  function renumber(steps) {
@@ -1698,46 +1700,50 @@ function ConversationFlowEditor({
1698
1700
  SortableItem,
1699
1701
  {
1700
1702
  value: step._key,
1701
- className: "flex items-center gap-2 rounded-lg border bg-card p-2",
1703
+ className: "flex flex-col gap-2 rounded-lg border bg-card p-3",
1702
1704
  children: [
1703
- /* @__PURE__ */ jsx5(SortableItemHandle, { className: "shrink-0 cursor-grab text-muted-foreground hover:text-foreground", children: /* @__PURE__ */ jsx5(GripVertical, { "aria-hidden": "true", className: "h-4 w-4" }) }),
1704
- /* @__PURE__ */ jsxs4("span", { className: "shrink-0 text-xs font-medium text-muted-foreground tabular-nums w-6 text-right", children: [
1705
- step.order,
1706
- "."
1705
+ /* @__PURE__ */ jsxs4("div", { className: "flex items-center gap-2", children: [
1706
+ /* @__PURE__ */ jsx5(SortableItemHandle, { className: "shrink-0 cursor-grab text-muted-foreground hover:text-foreground", children: /* @__PURE__ */ jsx5(GripVertical, { "aria-hidden": "true", className: "h-4 w-4" }) }),
1707
+ /* @__PURE__ */ jsxs4("span", { className: "shrink-0 text-xs font-medium text-muted-foreground tabular-nums", children: [
1708
+ step.order,
1709
+ "."
1710
+ ] }),
1711
+ /* @__PURE__ */ jsx5("span", { className: "flex-1 text-sm font-medium truncate", children: step.instruction || "Nova etapa" }),
1712
+ /* @__PURE__ */ jsx5(
1713
+ Button4,
1714
+ {
1715
+ type: "button",
1716
+ variant: "ghost",
1717
+ size: "icon",
1718
+ "aria-label": "Remover etapa",
1719
+ className: "shrink-0 text-muted-foreground hover:text-destructive",
1720
+ onClick: () => handleRemove(step._key),
1721
+ children: /* @__PURE__ */ jsx5(Trash22, { className: "h-4 w-4" })
1722
+ }
1723
+ )
1707
1724
  ] }),
1708
- /* @__PURE__ */ jsx5(
1709
- Input4,
1710
- {
1711
- value: step.instruction,
1712
- onChange: (e) => handleFieldChange(step._key, "instruction", e.target.value),
1713
- placeholder: "Instru\xE7\xE3o (obrigat\xF3rio)",
1714
- className: "flex-1 min-w-0",
1715
- required: true
1716
- }
1717
- ),
1718
- /* @__PURE__ */ jsx5(
1719
- Input4,
1720
- {
1721
- value: step.example ?? "",
1722
- onChange: (e) => handleFieldChange(step._key, "example", e.target.value),
1723
- placeholder: "Exemplo (opcional)",
1724
- className: "flex-1 min-w-0"
1725
- }
1726
- ),
1727
- /* @__PURE__ */ jsx5(
1728
- Button4,
1729
- {
1730
- type: "button",
1731
- variant: "ghost",
1732
- size: "icon",
1733
- "aria-label": "Remover etapa",
1734
- className: cn(
1735
- "shrink-0 text-muted-foreground hover:text-destructive"
1736
- ),
1737
- onClick: () => handleRemove(step._key),
1738
- children: /* @__PURE__ */ jsx5(Trash22, { className: "h-4 w-4" })
1739
- }
1740
- )
1725
+ /* @__PURE__ */ jsxs4("div", { className: "space-y-2 pl-8", children: [
1726
+ /* @__PURE__ */ jsx5(
1727
+ Textarea,
1728
+ {
1729
+ value: step.instruction,
1730
+ onChange: (e) => handleFieldChange(step._key, "instruction", e.target.value),
1731
+ placeholder: "Descreva o que o agente deve fazer nesta etapa...",
1732
+ className: "min-h-[2.5rem] resize-none",
1733
+ rows: 2
1734
+ }
1735
+ ),
1736
+ /* @__PURE__ */ jsx5(
1737
+ Textarea,
1738
+ {
1739
+ value: step.example ?? "",
1740
+ onChange: (e) => handleFieldChange(step._key, "example", e.target.value),
1741
+ placeholder: "Exemplo de resposta do agente (opcional)",
1742
+ className: "min-h-[2.5rem] resize-none text-muted-foreground",
1743
+ rows: 1
1744
+ }
1745
+ )
1746
+ ] })
1741
1747
  ]
1742
1748
  },
1743
1749
  step._key
@@ -1989,13 +1995,13 @@ function AgentObjectivesList({ agent, config }) {
1989
1995
  ]
1990
1996
  }
1991
1997
  ),
1992
- /* @__PURE__ */ jsx6(Sheet3, { open: formOpen, onOpenChange: setFormOpen, children: /* @__PURE__ */ jsxs5(SheetContent3, { className: "sm:max-w-lg overflow-y-auto", children: [
1998
+ /* @__PURE__ */ jsx6(Sheet3, { open: formOpen, onOpenChange: setFormOpen, children: /* @__PURE__ */ jsxs5(SheetContent3, { className: "sm:max-w-lg", children: [
1993
1999
  /* @__PURE__ */ jsx6(SheetHeader3, { children: /* @__PURE__ */ jsx6(SheetTitle3, { children: editTarget ? "Editar Objetivo" : "Novo Objetivo" }) }),
1994
- /* @__PURE__ */ jsxs5("div", { className: "space-y-4", children: [
2000
+ /* @__PURE__ */ jsxs5("div", { className: "flex-1 overflow-y-auto px-4 space-y-4", children: [
1995
2001
  /* @__PURE__ */ jsxs5("div", { className: "space-y-2", children: [
1996
2002
  /* @__PURE__ */ jsx6(Label3, { htmlFor: "objective-title", children: "T\xEDtulo *" }),
1997
2003
  /* @__PURE__ */ jsx6(
1998
- Input5,
2004
+ Input4,
1999
2005
  {
2000
2006
  id: "objective-title",
2001
2007
  name: "title",
@@ -2015,7 +2021,7 @@ function AgentObjectivesList({ agent, config }) {
2015
2021
  /* @__PURE__ */ jsxs5("div", { className: "space-y-2", children: [
2016
2022
  /* @__PURE__ */ jsx6(Label3, { htmlFor: "objective-slug", children: "Slug (identificador) *" }),
2017
2023
  /* @__PURE__ */ jsx6(
2018
- Input5,
2024
+ Input4,
2019
2025
  {
2020
2026
  id: "objective-slug",
2021
2027
  name: "slug",
@@ -2033,7 +2039,7 @@ function AgentObjectivesList({ agent, config }) {
2033
2039
  /* @__PURE__ */ jsxs5("div", { className: "space-y-2", children: [
2034
2040
  /* @__PURE__ */ jsx6(Label3, { htmlFor: "objective-instruction", children: "Quando ativar (instru\xE7\xE3o curta) *" }),
2035
2041
  /* @__PURE__ */ jsx6(
2036
- Input5,
2042
+ Input4,
2037
2043
  {
2038
2044
  id: "objective-instruction",
2039
2045
  name: "instruction",
@@ -2047,7 +2053,7 @@ function AgentObjectivesList({ agent, config }) {
2047
2053
  /* @__PURE__ */ jsxs5("div", { className: "space-y-2", children: [
2048
2054
  /* @__PURE__ */ jsx6(Label3, { htmlFor: "objective-description", children: "Descri\xE7\xE3o" }),
2049
2055
  /* @__PURE__ */ jsx6(
2050
- Textarea,
2056
+ Textarea2,
2051
2057
  {
2052
2058
  id: "objective-description",
2053
2059
  name: "description",
@@ -2073,7 +2079,7 @@ function AgentObjectivesList({ agent, config }) {
2073
2079
  /* @__PURE__ */ jsxs5("div", { className: "space-y-2", children: [
2074
2080
  /* @__PURE__ */ jsx6(Label3, { htmlFor: "objective-rules", children: "Regras" }),
2075
2081
  /* @__PURE__ */ jsx6(
2076
- Textarea,
2082
+ Textarea2,
2077
2083
  {
2078
2084
  id: "objective-rules",
2079
2085
  name: "rules",
@@ -2086,7 +2092,7 @@ function AgentObjectivesList({ agent, config }) {
2086
2092
  /* @__PURE__ */ jsx6("p", { className: "text-xs text-muted-foreground", children: "Restri\xE7\xF5es e limites espec\xEDficos quando este objectivo est\xE1 activo." })
2087
2093
  ] })
2088
2094
  ] }),
2089
- /* @__PURE__ */ jsxs5(SheetFooter3, { children: [
2095
+ /* @__PURE__ */ jsxs5(SheetFooter3, { className: "flex-row justify-end border-t", children: [
2090
2096
  /* @__PURE__ */ jsx6(
2091
2097
  Button5,
2092
2098
  {
@@ -3767,8 +3773,8 @@ import {
3767
3773
  Popover,
3768
3774
  PopoverContent,
3769
3775
  PopoverTrigger,
3770
- Input as Input6,
3771
- Textarea as Textarea2,
3776
+ Input as Input5,
3777
+ Textarea as Textarea3,
3772
3778
  Dialog as Dialog2,
3773
3779
  DialogContent as DialogContent2,
3774
3780
  DialogHeader as DialogHeader2,
@@ -3906,7 +3912,7 @@ function AgentToolsList({ agent, config }) {
3906
3912
  ] }) }),
3907
3913
  /* @__PURE__ */ jsxs13(PopoverContent, { className: "w-72 p-0", align: "end", children: [
3908
3914
  /* @__PURE__ */ jsx15("div", { className: "p-2", children: /* @__PURE__ */ jsx15(
3909
- Input6,
3915
+ Input5,
3910
3916
  {
3911
3917
  placeholder: "Buscar ferramenta\\u2026",
3912
3918
  "aria-label": "Buscar ferramenta",
@@ -4017,7 +4023,7 @@ function AgentToolsList({ agent, config }) {
4017
4023
  /* @__PURE__ */ jsxs13("div", { className: "space-y-2", children: [
4018
4024
  /* @__PURE__ */ jsx15(Label5, { htmlFor: "tool-instructions", children: "Instru\xE7\xF5es Personalizadas" }),
4019
4025
  /* @__PURE__ */ jsx15(
4020
- Textarea2,
4026
+ Textarea3,
4021
4027
  {
4022
4028
  id: "tool-instructions",
4023
4029
  name: "instructions",
@@ -4082,7 +4088,7 @@ function AgentToolsList({ agent, config }) {
4082
4088
  import { useMemo as useMemo9, useState as useState13 } from "react";
4083
4089
  import { DataTable as DataTable2 } from "@greatapps/greatauth-ui";
4084
4090
  import {
4085
- Input as Input7,
4091
+ Input as Input6,
4086
4092
  Badge as Badge7,
4087
4093
  Tooltip as Tooltip3,
4088
4094
  TooltipTrigger as TooltipTrigger3,
@@ -4214,7 +4220,7 @@ function ToolsTable({ onEdit, config }) {
4214
4220
  /* @__PURE__ */ jsx16("div", { className: "flex items-center gap-3", children: /* @__PURE__ */ jsxs14("div", { className: "relative flex-1 max-w-md", children: [
4215
4221
  /* @__PURE__ */ jsx16(Search2, { "aria-hidden": "true", className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground" }),
4216
4222
  /* @__PURE__ */ jsx16(
4217
- Input7,
4223
+ Input6,
4218
4224
  {
4219
4225
  placeholder: "Buscar ferramentas\\u2026",
4220
4226
  "aria-label": "Buscar ferramentas",
@@ -4277,8 +4283,8 @@ import {
4277
4283
  DialogTitle as DialogTitle3,
4278
4284
  DialogFooter as DialogFooter2,
4279
4285
  Button as Button13,
4280
- Input as Input8,
4281
- Textarea as Textarea3,
4286
+ Input as Input7,
4287
+ Textarea as Textarea4,
4282
4288
  Label as Label6,
4283
4289
  Select as Select2,
4284
4290
  SelectContent as SelectContent2,
@@ -4404,7 +4410,7 @@ function ToolFormDialog({
4404
4410
  /* @__PURE__ */ jsxs15("div", { className: "space-y-2", children: [
4405
4411
  /* @__PURE__ */ jsx17(Label6, { htmlFor: "tool-name", children: "Nome *" }),
4406
4412
  /* @__PURE__ */ jsx17(
4407
- Input8,
4413
+ Input7,
4408
4414
  {
4409
4415
  id: "tool-name",
4410
4416
  name: "name",
@@ -4427,7 +4433,7 @@ function ToolFormDialog({
4427
4433
  /* @__PURE__ */ jsxs15("div", { className: "space-y-2", children: [
4428
4434
  /* @__PURE__ */ jsx17(Label6, { htmlFor: "tool-slug", children: "Slug (identificador \xFAnico) *" }),
4429
4435
  /* @__PURE__ */ jsx17(
4430
- Input8,
4436
+ Input7,
4431
4437
  {
4432
4438
  id: "tool-slug",
4433
4439
  name: "slug",
@@ -4473,7 +4479,7 @@ function ToolFormDialog({
4473
4479
  /* @__PURE__ */ jsxs15("div", { className: "space-y-2", children: [
4474
4480
  /* @__PURE__ */ jsx17(Label6, { htmlFor: "tool-description", children: "Descri\xE7\xE3o" }),
4475
4481
  /* @__PURE__ */ jsx17(
4476
- Textarea3,
4482
+ Textarea4,
4477
4483
  {
4478
4484
  id: "tool-description",
4479
4485
  name: "description",
@@ -4488,7 +4494,7 @@ function ToolFormDialog({
4488
4494
  /* @__PURE__ */ jsxs15("div", { className: "space-y-2", children: [
4489
4495
  /* @__PURE__ */ jsx17(Label6, { htmlFor: "tool-function-defs", children: "Defini\xE7\xF5es de Fun\xE7\xE3o (JSON)" }),
4490
4496
  /* @__PURE__ */ jsx17(
4491
- Textarea3,
4497
+ Textarea4,
4492
4498
  {
4493
4499
  id: "tool-function-defs",
4494
4500
  name: "functionDefs",
@@ -4546,7 +4552,7 @@ function ToolFormDialog({
4546
4552
  import { useMemo as useMemo10, useState as useState15 } from "react";
4547
4553
  import { DataTable as DataTable3 } from "@greatapps/greatauth-ui";
4548
4554
  import {
4549
- Input as Input9,
4555
+ Input as Input8,
4550
4556
  Button as Button14,
4551
4557
  Badge as Badge8,
4552
4558
  Tooltip as Tooltip4,
@@ -4681,7 +4687,7 @@ function ToolCredentialsForm({
4681
4687
  /* @__PURE__ */ jsx18("div", { className: "flex items-center gap-3", children: /* @__PURE__ */ jsxs16("div", { className: "relative flex-1 max-w-md", children: [
4682
4688
  /* @__PURE__ */ jsx18(Search3, { "aria-hidden": "true", className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground" }),
4683
4689
  /* @__PURE__ */ jsx18(
4684
- Input9,
4690
+ Input8,
4685
4691
  {
4686
4692
  placeholder: "Buscar credenciais\\u2026",
4687
4693
  "aria-label": "Buscar credenciais",
@@ -5072,7 +5078,7 @@ function InfoStep({ integration, meta }) {
5072
5078
 
5073
5079
  // src/components/capabilities/wizard-steps/credentials-step.tsx
5074
5080
  import { CheckCircle2, Loader2 as Loader27, AlertCircle, Shield } from "lucide-react";
5075
- import { Button as Button16, Input as Input10, Label as Label7 } from "@greatapps/greatauth-ui/ui";
5081
+ import { Button as Button16, Input as Input9, Label as Label7 } from "@greatapps/greatauth-ui/ui";
5076
5082
  import { jsx as jsx22, jsxs as jsxs20 } from "react/jsx-runtime";
5077
5083
  function CredentialsStep({
5078
5084
  integration,
@@ -5195,7 +5201,7 @@ function ApiKeyCredentials({
5195
5201
  /* @__PURE__ */ jsxs20("div", { className: "space-y-2", children: [
5196
5202
  /* @__PURE__ */ jsx22(Label7, { htmlFor: "integration-api-key", children: "Chave de API" }),
5197
5203
  /* @__PURE__ */ jsx22(
5198
- Input10,
5204
+ Input9,
5199
5205
  {
5200
5206
  id: "integration-api-key",
5201
5207
  type: "password",