@hiver/connector-agent 4.27.0-appWidgets-beta.24 → 4.27.0-appWidgets-beta.25

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.
@@ -1 +1 @@
1
- {"version":3,"file":"link-menu.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/link-search/link-menu.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AA0BtD,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED,UAAU,aAAa,CAAC,CAAC,SAAS,UAAU;IAC1C,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,WAAW,GAAG,IAAI,CAAC;IAC7B,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,CAAC,EAAE,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,QAAQ,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,IAAI,CAAC;IAC9B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B,MAAM,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;QAAC,SAAS,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAA;KAAE,CAAC;IAEzG,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,MAAM,GAAG,SAAS,CAAC;IAChD,gBAAgB,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,OAAO,CAAC;IAC1C,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,MAAM,GAAG,SAAS,CAAC;IAClD,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB;AAED,eAAO,MAAM,QAAQ,GAAI,CAAC,SAAS,UAAU,kLAiB1C,aAAa,CAAC,CAAC,CAAC,uCAyGlB,CAAC"}
1
+ {"version":3,"file":"link-menu.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/link-search/link-menu.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AA0BtD,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED,UAAU,aAAa,CAAC,CAAC,SAAS,UAAU;IAC1C,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,WAAW,GAAG,IAAI,CAAC;IAC7B,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,CAAC,EAAE,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,QAAQ,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,IAAI,CAAC;IAC9B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B,MAAM,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;QAAC,SAAS,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAA;KAAE,CAAC;IAEzG,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,MAAM,GAAG,SAAS,CAAC;IAChD,gBAAgB,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,OAAO,CAAC;IAC1C,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,MAAM,GAAG,SAAS,CAAC;IAClD,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB;AAED,eAAO,MAAM,QAAQ,GAAI,CAAC,SAAS,UAAU,kLAiB1C,aAAa,CAAC,CAAC,CAAC,uCAmHlB,CAAC"}
package/index.es.js CHANGED
@@ -24239,7 +24239,17 @@ const uM = w(vf)`
24239
24239
  tabIndex: -1,
24240
24240
  title: b ? void 0 : F.label,
24241
24241
  endBadge: !!B,
24242
- slotProps: B ? { endBadge: { children: B, variant: "subtle", tone: "neutral", size: "xs", sx: PM } } : {},
24242
+ slotProps: B ? {
24243
+ // The chip ellipsizes too; its own title shows it whole, over the row's.
24244
+ endBadge: {
24245
+ children: B,
24246
+ title: B,
24247
+ variant: "subtle",
24248
+ tone: "neutral",
24249
+ size: "xs",
24250
+ sx: PM
24251
+ }
24252
+ } : {},
24243
24253
  onMouseEnter: () => u(g),
24244
24254
  onMouseDown: (y) => {
24245
24255
  y.preventDefault(), E || i(F);
package/index.umd.js CHANGED
@@ -2946,7 +2946,7 @@ Do you want to continue?`,MO="Select an object to create",Lp="Select an object t
2946
2946
  height: 20px;
2947
2947
  flex-shrink: 0;
2948
2948
  }
2949
- `,R1=({cardData:e,cardDataApiStatus:t,objectToLink:n,args:r})=>{const o=Vt(),{availableFeatures:u}=p.useContext($e),[s,i]=p.useState(!1),[c,l]=p.useState(!0),{id:D="",cardTitle:d="",logoUrl:E}=e||{},m=t===Ae.LOADING;if(pt(u,pa)&&t===Ae.FAILED)return a.jsx(k5,{sx:{padding:"11px"},children:a.jsx(f.Typography,{variant:"body2",color:"error",children:BO})});const C=A=>{A.stopPropagation();const h=A.currentTarget.offsetWidth<A.currentTarget.scrollWidth;i(!!h)},g=A=>{o(Oo({id:n,args:r,isRefresh:!0}));const h=A.currentTarget.querySelector("svg");h==null||h.classList.remove("selected"),setTimeout(()=>h==null?void 0:h.classList.add("selected"),1)};return a.jsxs(k5,{children:[a.jsxs(Pj,{direction:"row",justifyContent:"space-between",children:[m?a.jsxs(f.Stack,{gap:"6px",direction:"row",children:[a.jsx(hn,{width:"16px",height:"24px"}),a.jsx(hn,{width:"100px",height:"24px"})]}):a.jsxs(Rj,{children:[E&&a.jsx("img",{src:E,alt:d}),a.jsx(f.Tooltip,{title:s?d:"",children:a.jsx(f.Typography,{variant:"h4",onMouseOver:A=>C(A),onMouseLeave:A=>C(A),children:d})})]}),a.jsxs(f.Stack,{direction:"row",alignItems:"center",children:[c?a.jsx(f.Tooltip,{title:g3,placement:"bottom",children:a.jsx(Du,{onClick:A=>g(A),children:a.jsx(o5,{"aria-hidden":!0})})}):null,a.jsx(f.Tooltip,{title:c?C3:H0,placement:"bottom",children:a.jsx(Du,{onClick:()=>l(A=>!A),children:a.jsx(ec,{className:c?"":"hiver-up"})})})]})]}),a.jsx(Xp,{id:D,cardTitle:d,specificCardData:{[D]:e},specificConnectorApiStatus:{[D]:t},isOpen:c})]})},_o=e=>e,ai=_o(lr.Button),Hj=_o(lr.IconButton),Wj=_o(lr.Tooltip),T5={Text:_o(lr.Input.Text)},H1={Field:_o(lr.Dropdown.Field),Menu:_o(lr.Dropdown.Menu),ListItem:_o(lr.Dropdown.ListItem)},L5=({formFields:e,formId:t,formState:n,appDispatch:r})=>e.reduce((o,u)=>{if(u.type!=="async-select"||!u.interfaceDetails)return o;const s=u.interfaceDetails,i={loadOptions:(c,l,D,d)=>{let E=s;u.searchInterfaceDetails&&typeof c=="string"&&c.trim().length>0&&!D&&(E=u.searchInterfaceDetails);const m=Ep(n,E==null?void 0:E.args),C=Object.values((E==null?void 0:E.args)||{});if(m.length===C.length){r(Lo({fieldName:u.name,formId:String(t),searchTerm:c,fieldConfig:u,interfaceId:E==null?void 0:E.id,pagination:E==null?void 0:E.pagination,callback:l,args:{...ja(n,E==null?void 0:E.args),...ja(n,E==null?void 0:E.optionalArgs)},isScrollToBottomEvent:D,controller:d}));return}return l([])}};return{...o,[u.name]:i}},{}),O5=({formFields:e,formId:t,formState:n,conversationId:r,appDispatch:o})=>e.reduce((u,s)=>{if(!s.createOptionInterfaceDetails)return u;const i=s.createOptionInterfaceDetails;return{...u,[s.name]:{createOption:(c,l)=>{var d,E;if(!c)return;const D={values:{name:s.name,value:c},errors:{}};o(Gf({fieldName:s.name,formId:String(t),interfaceId:i.id,conversationId:r,label:c,callback:l,args:{...ja(n,(d=s==null?void 0:s.interfaceDetails)==null?void 0:d.args),...ja(n,(E=s==null?void 0:s.interfaceDetails)==null?void 0:E.optionalArgs)},createArgs:{...ja(D,i.args)}}))}}}},{}),W1=({formFields:e,formState:t,formId:n,conversationId:r})=>{const o=Vt(),u=p.useMemo(()=>{if(e&&e.length){const i=L5({formFields:e,formId:n,formState:t,appDispatch:o});return e.reduce((l,D)=>{const d=D.columns;if(!d)return l;const E=L5({formFields:d,formId:n,formState:t,appDispatch:o});return{...l,[D.name]:{loadOptionsList:E}}},i)}return null},[e,t,n,o]),s=p.useMemo(()=>{const i=O5({formFields:e,formId:n,formState:t,conversationId:r,appDispatch:o});return e.reduce((l,D)=>{const d=D.columns;if(!d)return l;const E=O5({formFields:d,formId:n,formState:t,conversationId:r,appDispatch:o});return{...l,[D.name]:{createOptionList:E}}},i)},[e,n,t,r,o]);return{fetchConfig:u,createConfig:s}},Gj="Link an object",Vj="Search or paste a link",zj="No results found",M5="No tasks found. Try another word or paste the link below.",Xj="Type to search",Zj="This link is invalid",Jj="or",N5="Search...",Yj="Link",qj="Cancel",G1="Already linked to this conversation",j5="Already linked",Uj="Results from the 1,000 most recently updated tasks",Kj="Search didn't work.",$j="Try again",e_="This location wasn't found. Choose it again.",si="item",br=e=>e.toLowerCase(),V1=e=>/^[aeiou]/i.test(e)?"an":"a",fi=e=>/s$/i.test(e)?e:`${e}s`,t_=(e=si)=>`Search ${br(fi(e))} or paste URL/ID`,n_=e=>`Select ${V1(e)} ${br(e)}`,r_=(e=si)=>`Search ${br(fi(e))}`,_5=e=>`Select ${V1(e)} ${br(e)} first`,o_=e=>`Couldn’t load ${br(fi(e))}.`,u_=e=>e?`No data found in this ${br(e)}`:"No data found",a_=(e,t)=>`Skip if the ${br(e)} isn’t in ${V1(t)} ${br(t)}`,P5=e=>`Searching ${e}…`,s_=(e,t)=>`You don’t have access to ${e} in ${t}. Ask your ${t} admin for access.`,Q5=e=>`We couldn’t find ${e}. Check the link or ID`,f_=(e=si)=>`Couldn’t load this ${br(e)}.`,i_=e=>`This isn’t a ${e} link or ID`,c_=(e,t,n=si)=>t?{title:`Your ${e} connection has expired`,body:`Reconnect ${e} to search and link ${br(fi(n))} again.`,action:`Reconnect ${e}`}:{title:`${e} connection has expired`,body:`Ask your admin to reconnect ${e}.`,action:null},l_=(e,t)=>{const[n,r]=p.useState(null);return p.useLayoutEffect(()=>{if(!t||!e)return;const o=()=>r(e.getBoundingClientRect());return o(),window.addEventListener("scroll",o,!0),window.addEventListener("resize",o),()=>{window.removeEventListener("scroll",o,!0),window.removeEventListener("resize",o)}},[e,t]),n},D_=4,d_=232,A_={maxWidth:"40%",flexShrink:0},R5=({id:e,anchorEl:t,open:n,options:r,activeIndex:o,setActiveIndex:u,onSelect:s,onClose:i,loading:c,loadingText:l,emptyText:D,search:d,optionBadge:E,isOptionDisabled:m,optionTooltip:C,footer:g})=>{const A=l_(t,n),h=c?a.jsxs(f.Stack,{role:"status",direction:"row",alignItems:"center",gap:"8px",padding:"8px",children:[a.jsx(f.CircularProgress,{size:16,color:"inherit","aria-hidden":!0}),a.jsx(f.Typography,{variant:"body_sm_regular",children:l})]}):r.length?a.jsx(f.Stack,{role:"listbox",id:`${e}-listbox`,gap:"4px",children:r.map((b,F)=>{const x=!!(m!=null&&m(b)),y=C==null?void 0:C(b),S=E==null?void 0:E(b),v=a.jsx(H1.ListItem,{id:`${e}-option-${F}`,role:"option","aria-selected":F===o,"aria-disabled":x,selected:F===o,disabled:x,tabIndex:-1,title:y?void 0:b.label,endBadge:!!S,slotProps:S?{endBadge:{children:S,variant:"subtle",tone:"neutral",size:"xs",sx:A_}}:{},onMouseEnter:()=>u(F),onMouseDown:w=>{w.preventDefault(),x||s(b)},children:b.label},b.value);return y?a.jsx(Wj,{label:y,placement:"bottom-start",describeChild:!0,children:a.jsx("div",{children:v})},b.value):v})}):D?a.jsx(f.Typography,{role:"status",variant:"body_sm_regular",align:"center",padding:"8px",children:D}):null;return!n||!t||!A||!d&&!h&&!g?null:_t.createPortal(a.jsx("div",{style:{position:"fixed",top:A.bottom+D_,left:A.left,width:A.width,zIndex:1500},children:a.jsx(f.ClickAwayListener,{onClickAway:b=>{t.contains(b.target)||i()},children:a.jsx(H1.Menu,{id:`${e}-menu`,showSearch:!!d,maxHeight:d_,showFooter:!!g,customFooter:g??void 0,slotProps:d?{search:{value:d.value,placeholder:N5,autoFocus:!0,onChange:b=>d.onChange(b.target.value),onClear:()=>d.onChange(""),onKeyDown:d.onKeyDown,slotProps:{input:{"aria-label":N5,"aria-controls":`${e}-listbox`}}}}:void 0,children:h})})}),document.body)},H5=({open:e,options:t,activeIndex:n,setActiveIndex:r,isOptionDisabled:o,onSelect:u,onClose:s})=>i=>{if(e)if(i.key==="ArrowDown"||i.key==="ArrowUp"){if(i.preventDefault(),!t.length)return;const c=i.key==="ArrowDown"?1:-1;r((n+c+t.length)%t.length)}else if(i.key==="Enter"){const c=t[n];c&&!(o!=null&&o(c))&&(i.preventDefault(),u(c))}else i.key==="Escape"&&s()},W5=({id:e,label:t,value:n,options:r,placeholder:o,helperText:u,disabled:s,hasError:i,loading:c,loadingText:l,emptyText:D,onSearch:d,onOpen:E,onChange:m,onClear:C,renderValue:g,isOptionDisabled:A,optionTooltip:h,optionBadge:b,footer:F})=>{const x=p.useRef(null),[y,S]=p.useState(!1),[v,w]=p.useState(""),[I,O]=p.useState(0),M=()=>{S(!1),v&&(w(""),d(""))},T=P=>{var W;m(P),M(),(W=x.current)==null||W.focus()},L=H5({open:y,options:r,activeIndex:I,setActiveIndex:O,isOptionDisabled:A,onSelect:T,onClose:()=>{var P;M(),(P=x.current)==null||P.focus()}}),N=()=>{if(y){M();return}O(0),S(!0),E==null||E()},j=C&&n&&!s?a.jsxs(f.Stack,{direction:"row",alignItems:"center",gap:"4px",children:[a.jsx(Hj,{variant:"ghost",size:"2xs","aria-label":"Clear",onClick:P=>{var W;P.stopPropagation(),C(),(W=x.current)==null||W.focus()},onMouseDown:P=>P.preventDefault(),children:a.jsx(Ku.XClose,{})}),a.jsx(Ku.ChevronDown,{width:16,height:16,"aria-hidden":!0})]}):void 0;return a.jsxs(a.Fragment,{children:[a.jsx(H1.Field,{ref:x,id:e,size:"sm",label:t,placeholder:o,value:n?(g==null?void 0:g(n))??n.label:void 0,helperText:u,disabled:s,error:i,open:y,suffix:j,slotProps:{field:{"aria-label":t}},onTriggerClick:N,onTriggerKeyDown:P=>{!y&&(P.key==="ArrowDown"||P.key==="Enter"||P.key===" ")&&(P.preventDefault(),N())}}),a.jsx(R5,{id:e,anchorEl:x.current,open:y&&!s,options:r,activeIndex:I,setActiveIndex:O,onSelect:T,onClose:M,loading:c,loadingText:l,emptyText:D,search:{value:v,onChange:P=>{w(P),O(0),d(P)},onKeyDown:L},isOptionDisabled:A,optionTooltip:h,optionBadge:b,footer:F})]})},ii=({children:e,onRetry:t})=>a.jsxs(f.Typography,{role:"alert",variant:"body_sm_regular",color:"text.error.soft",component:"span",children:[e,t?a.jsxs(a.Fragment,{children:[" ",a.jsx(ai,{variant:"linkWithUnderline",size:"2xs",onClick:t,children:$j})]}):null]}),G5=()=>a.jsxs(f.Stack,{direction:"row",alignItems:"flex-start",gap:"6px",color:"text.neutral.soft",children:[a.jsx(Ku.InfoCircle,{width:14,height:14,"aria-hidden":!0}),a.jsx(f.Typography,{variant:"caption_regular",children:Uj})]}),z1=e=>({value:e.externalResourceId,label:e.title,row:e}),p_=(e,t)=>{var r,o;const n=Object.values(((r=e.interfaceDetails)==null?void 0:r.args)??{});return Ep(t,(o=e.interfaceDetails)==null?void 0:o.args).length===n.length},g_=/^https?:\/\//i,ci=e=>g_.test(e.trim()),C_=/^[A-Za-z][A-Za-z0-9]*-\d+$/,X1=e=>{const t=e.trim();if(!ci(t))return t;try{const n=new URL(t).pathname.split("/").filter(Boolean).map(decodeURIComponent);return[...n].reverse().find(o=>C_.test(o))??n[n.length-1]??t}catch{return t}},h_=e=>ci(e)||/^\S+$/.test(e.trim()),F_=300,m_=e=>{var t,n;return[...Object.values(((t=e.interfaceDetails)==null?void 0:t.args)??{}),...Object.values(((n=e.interfaceDetails)==null?void 0:n.optionalArgs)??{})]},E_=e=>e&&typeof e=="object"&&"value"in e?String(e.value):"",V5=e=>e.flatMap(t=>{if(t&&typeof t=="object"&&"options"in t)return V5(t.options);const{value:n,label:r}=t;return n===void 0?[]:[{value:String(n),label:String(r),raw:{value:n,label:String(r)}}]}),b_=({field:e,config:t,value:n,disabled:r,placeholder:o,emptyText:u,hint:s,onChange:i,onEmpty:c})=>{const[l,D]=p.useState([]),[d,E]=p.useState(""),[m,C]=p.useState(!1),[g,A]=p.useState(!1),[h,b]=p.useState(!1),F=p.useRef(),x=p.useRef();p.useEffect(()=>()=>{var O;(O=F.current)==null||O.abort(),clearTimeout(x.current)},[]);const y=O=>{var L;if(!(t!=null&&t.loadOptions))return;(L=F.current)==null||L.abort();const M=new AbortController;F.current=M,C(!0),A(!1),b(!1);const T=(N,j)=>{if(M.signal.aborted)return;const P=j!=null&&j.isError?[]:V5(N);D(P),C(!1),A(!(j!=null&&j.isError)),b(!!(j!=null&&j.isError)),!O&&!(j!=null&&j.isError)&&P.length===0&&c()};t.loadOptions(O,T,!1,M)},S=O=>{E(O),clearTimeout(x.current),x.current=setTimeout(()=>y(O),F_)},v=d.trim().toLowerCase(),w=v?l.filter(O=>O.label.toLowerCase().includes(v)):l,I=n?{value:String(n.value),label:n.label,raw:n}:null;return a.jsx(W5,{id:`pm-link-level-${e.name}`,label:e.label,value:I,options:w,placeholder:o,helperText:s,disabled:r,hasError:h,loading:m&&!l.length,emptyText:g?v?zj:u:null,onOpen:()=>y(""),onSearch:S,onChange:O=>i(O.raw),footer:h?a.jsx(ii,{onRetry:()=>y(d),children:o_(e.label)}):null})},x_=({formId:e,levelFields:t,optionalLevels:n,objectLabel:r,formState:o,onLevelChange:u,onEmptyLevel:s})=>{const{fetchConfig:i}=W1({formFields:t,formId:e,formState:o}),c=i??{};return a.jsx(a.Fragment,{children:t.map((l,D)=>{var b;const d=m_(l),E=t.filter(F=>F.name!==l.name&&d.includes(F.name)),m=[...E].reverse().find(F=>!!o.values[F.name]),C=E.find(F=>!n.includes(F.name)&&!o.values[F.name]),g=p_(l,o),A=((b=t[D+1])==null?void 0:b.label)??r,h=o.values[l.name];return a.jsx(b_,{field:l,config:c[l.name],value:h&&typeof h=="object"?h:null,disabled:!g,placeholder:!g&&C?_5(C.label):n_(l.label),emptyText:u_(m==null?void 0:m.label),hint:n.includes(l.name)?a_(A,l.label):void 0,onChange:F=>u(l.name,F),onEmpty:()=>s==null?void 0:s(l.name)},`${l.name}:${d.map(F=>E_(o.values[F])).join("|")}`)})})},y_=({id:e,label:t,value:n,inputValue:r,rows:o,status:u,app:s,placeholder:i,helperText:c,showCapNote:l,hideEmptyMessage:D,disabled:d,hasError:E,onInputChange:m,onChange:C})=>{const g=p.useRef(null),[A,h]=p.useState(null),[b,F]=p.useState(!1),[x,y]=p.useState(0),S=r?o.map(T=>z1(T)):[],v=T=>!!T.row.alreadyLinked,w=T=>{var L;C(T),F(!1),(L=g.current)==null||L.blur()},I=H5({open:b,options:S,activeIndex:x,setActiveIndex:y,isOptionDisabled:v,onSelect:w,onClose:()=>F(!1)}),O=u==="loading",M=b&&!d&&!n&&!!r&&(O||u==="done");return a.jsxs(a.Fragment,{children:[a.jsx(T5.Text,{id:e,size:"sm",label:t,placeholder:i,value:r||(n==null?void 0:n.label)||"",disabled:d,error:E,helperText:c,autoComplete:"off",inputRef:g,prefix:a.jsx(Ku.SearchMd,{width:16,height:16,"aria-hidden":!0}),showClearSelection:!!(n||r)&&!d,onClear:()=>{var T;C(null),F(!1),(T=g.current)==null||T.focus()},slotProps:{field:{ref:h},input:{role:"combobox","aria-label":t,"aria-expanded":M,"aria-controls":`${e}-listbox`,"aria-invalid":E||void 0},clear:{"aria-label":"Clear"}},onFocus:()=>{r&&F(!0)},onClick:()=>{r&&F(!0)},onChange:T=>{y(0),F(!0),m(T.target.value)},onKeyDown:T=>{if(!b&&r&&T.key==="ArrowDown"){T.preventDefault(),y(0),F(!0);return}I(T)}}),a.jsx(R5,{id:e,anchorEl:A,open:M,options:S,activeIndex:x,setActiveIndex:y,onSelect:w,onClose:()=>F(!1),loading:O,loadingText:P5(s),emptyText:D?null:M5,optionBadge:T=>T.row.alreadyLinked?j5:T.row.location?`In ${T.row.location}`:void 0,isOptionDisabled:v,optionTooltip:T=>T.row.alreadyLinked?G1:void 0,footer:l&&!O?a.jsx(G5,{}):null})]})},B_=async({formId:e,query:t,conversationId:n,args:r,channelType:o="email",smId:u,smIds:s})=>{const i=I1(tO.replace(":id",e),u,s),c=i.includes("?")?"&":"?",l=await Ee({url:`${i}${c}channel_type=${encodeURIComponent(o)}`,method:Be.POST,data:{query:t,conversationId:n,args:r}}),D=l!=null&&l.data&&"data"in l.data?l.data.data:l==null?void 0:l.data;return{rows:Array.isArray(D==null?void 0:D.rows)?D.rows:[],route:(D==null?void 0:D.route)??"name",truncatedAtCap:!!(D!=null&&D.truncatedAtCap),outcome:(D==null?void 0:D.outcome)??"ok"}},v_=300,w_=2e4,z5=({formId:e,query:t,args:n,enabled:r,onSettled:o})=>{const{conversationId:u}=p.useContext($e),s=Ha(),i=vu(),[c,l]=p.useState("idle"),[D,d]=p.useState(null),[E,m]=p.useState(0),C=p.useCallback(()=>m(F=>F+1),[]),g=p.useRef(0),A=p.useRef(o);A.current=o;const h=t.trim(),b=JSON.stringify(n);return p.useEffect(()=>{const F=++g.current;if(!r||!h||!u){l("idle"),d(null);return}l("loading");let x;const y=setTimeout(()=>{x=setTimeout(()=>{F===g.current&&(g.current+=1,d(null),l("error"))},w_),B_({formId:e,query:h,conversationId:u,args:JSON.parse(b),smId:s,smIds:i}).then(S=>{var v;F===g.current&&(d(S),l("done"),(v=A.current)==null||v.call(A,S))}).catch(S=>{var v;F===g.current&&(Qe.error(S),d(null),l(((v=S==null?void 0:S.response)==null?void 0:v.status)===404?"unavailable":"error"))}).finally(()=>clearTimeout(x))},v_);return()=>{clearTimeout(y),clearTimeout(x)}},[e,h,b,r,u,s,i,E]),{status:c,result:D,retry:C}},S_=f.styled("p")`
2949
+ `,R1=({cardData:e,cardDataApiStatus:t,objectToLink:n,args:r})=>{const o=Vt(),{availableFeatures:u}=p.useContext($e),[s,i]=p.useState(!1),[c,l]=p.useState(!0),{id:D="",cardTitle:d="",logoUrl:E}=e||{},m=t===Ae.LOADING;if(pt(u,pa)&&t===Ae.FAILED)return a.jsx(k5,{sx:{padding:"11px"},children:a.jsx(f.Typography,{variant:"body2",color:"error",children:BO})});const C=A=>{A.stopPropagation();const h=A.currentTarget.offsetWidth<A.currentTarget.scrollWidth;i(!!h)},g=A=>{o(Oo({id:n,args:r,isRefresh:!0}));const h=A.currentTarget.querySelector("svg");h==null||h.classList.remove("selected"),setTimeout(()=>h==null?void 0:h.classList.add("selected"),1)};return a.jsxs(k5,{children:[a.jsxs(Pj,{direction:"row",justifyContent:"space-between",children:[m?a.jsxs(f.Stack,{gap:"6px",direction:"row",children:[a.jsx(hn,{width:"16px",height:"24px"}),a.jsx(hn,{width:"100px",height:"24px"})]}):a.jsxs(Rj,{children:[E&&a.jsx("img",{src:E,alt:d}),a.jsx(f.Tooltip,{title:s?d:"",children:a.jsx(f.Typography,{variant:"h4",onMouseOver:A=>C(A),onMouseLeave:A=>C(A),children:d})})]}),a.jsxs(f.Stack,{direction:"row",alignItems:"center",children:[c?a.jsx(f.Tooltip,{title:g3,placement:"bottom",children:a.jsx(Du,{onClick:A=>g(A),children:a.jsx(o5,{"aria-hidden":!0})})}):null,a.jsx(f.Tooltip,{title:c?C3:H0,placement:"bottom",children:a.jsx(Du,{onClick:()=>l(A=>!A),children:a.jsx(ec,{className:c?"":"hiver-up"})})})]})]}),a.jsx(Xp,{id:D,cardTitle:d,specificCardData:{[D]:e},specificConnectorApiStatus:{[D]:t},isOpen:c})]})},_o=e=>e,ai=_o(lr.Button),Hj=_o(lr.IconButton),Wj=_o(lr.Tooltip),T5={Text:_o(lr.Input.Text)},H1={Field:_o(lr.Dropdown.Field),Menu:_o(lr.Dropdown.Menu),ListItem:_o(lr.Dropdown.ListItem)},L5=({formFields:e,formId:t,formState:n,appDispatch:r})=>e.reduce((o,u)=>{if(u.type!=="async-select"||!u.interfaceDetails)return o;const s=u.interfaceDetails,i={loadOptions:(c,l,D,d)=>{let E=s;u.searchInterfaceDetails&&typeof c=="string"&&c.trim().length>0&&!D&&(E=u.searchInterfaceDetails);const m=Ep(n,E==null?void 0:E.args),C=Object.values((E==null?void 0:E.args)||{});if(m.length===C.length){r(Lo({fieldName:u.name,formId:String(t),searchTerm:c,fieldConfig:u,interfaceId:E==null?void 0:E.id,pagination:E==null?void 0:E.pagination,callback:l,args:{...ja(n,E==null?void 0:E.args),...ja(n,E==null?void 0:E.optionalArgs)},isScrollToBottomEvent:D,controller:d}));return}return l([])}};return{...o,[u.name]:i}},{}),O5=({formFields:e,formId:t,formState:n,conversationId:r,appDispatch:o})=>e.reduce((u,s)=>{if(!s.createOptionInterfaceDetails)return u;const i=s.createOptionInterfaceDetails;return{...u,[s.name]:{createOption:(c,l)=>{var d,E;if(!c)return;const D={values:{name:s.name,value:c},errors:{}};o(Gf({fieldName:s.name,formId:String(t),interfaceId:i.id,conversationId:r,label:c,callback:l,args:{...ja(n,(d=s==null?void 0:s.interfaceDetails)==null?void 0:d.args),...ja(n,(E=s==null?void 0:s.interfaceDetails)==null?void 0:E.optionalArgs)},createArgs:{...ja(D,i.args)}}))}}}},{}),W1=({formFields:e,formState:t,formId:n,conversationId:r})=>{const o=Vt(),u=p.useMemo(()=>{if(e&&e.length){const i=L5({formFields:e,formId:n,formState:t,appDispatch:o});return e.reduce((l,D)=>{const d=D.columns;if(!d)return l;const E=L5({formFields:d,formId:n,formState:t,appDispatch:o});return{...l,[D.name]:{loadOptionsList:E}}},i)}return null},[e,t,n,o]),s=p.useMemo(()=>{const i=O5({formFields:e,formId:n,formState:t,conversationId:r,appDispatch:o});return e.reduce((l,D)=>{const d=D.columns;if(!d)return l;const E=O5({formFields:d,formId:n,formState:t,conversationId:r,appDispatch:o});return{...l,[D.name]:{createOptionList:E}}},i)},[e,n,t,r,o]);return{fetchConfig:u,createConfig:s}},Gj="Link an object",Vj="Search or paste a link",zj="No results found",M5="No tasks found. Try another word or paste the link below.",Xj="Type to search",Zj="This link is invalid",Jj="or",N5="Search...",Yj="Link",qj="Cancel",G1="Already linked to this conversation",j5="Already linked",Uj="Results from the 1,000 most recently updated tasks",Kj="Search didn't work.",$j="Try again",e_="This location wasn't found. Choose it again.",si="item",br=e=>e.toLowerCase(),V1=e=>/^[aeiou]/i.test(e)?"an":"a",fi=e=>/s$/i.test(e)?e:`${e}s`,t_=(e=si)=>`Search ${br(fi(e))} or paste URL/ID`,n_=e=>`Select ${V1(e)} ${br(e)}`,r_=(e=si)=>`Search ${br(fi(e))}`,_5=e=>`Select ${V1(e)} ${br(e)} first`,o_=e=>`Couldn’t load ${br(fi(e))}.`,u_=e=>e?`No data found in this ${br(e)}`:"No data found",a_=(e,t)=>`Skip if the ${br(e)} isn’t in ${V1(t)} ${br(t)}`,P5=e=>`Searching ${e}…`,s_=(e,t)=>`You don’t have access to ${e} in ${t}. Ask your ${t} admin for access.`,Q5=e=>`We couldn’t find ${e}. Check the link or ID`,f_=(e=si)=>`Couldn’t load this ${br(e)}.`,i_=e=>`This isn’t a ${e} link or ID`,c_=(e,t,n=si)=>t?{title:`Your ${e} connection has expired`,body:`Reconnect ${e} to search and link ${br(fi(n))} again.`,action:`Reconnect ${e}`}:{title:`${e} connection has expired`,body:`Ask your admin to reconnect ${e}.`,action:null},l_=(e,t)=>{const[n,r]=p.useState(null);return p.useLayoutEffect(()=>{if(!t||!e)return;const o=()=>r(e.getBoundingClientRect());return o(),window.addEventListener("scroll",o,!0),window.addEventListener("resize",o),()=>{window.removeEventListener("scroll",o,!0),window.removeEventListener("resize",o)}},[e,t]),n},D_=4,d_=232,A_={maxWidth:"40%",flexShrink:0},R5=({id:e,anchorEl:t,open:n,options:r,activeIndex:o,setActiveIndex:u,onSelect:s,onClose:i,loading:c,loadingText:l,emptyText:D,search:d,optionBadge:E,isOptionDisabled:m,optionTooltip:C,footer:g})=>{const A=l_(t,n),h=c?a.jsxs(f.Stack,{role:"status",direction:"row",alignItems:"center",gap:"8px",padding:"8px",children:[a.jsx(f.CircularProgress,{size:16,color:"inherit","aria-hidden":!0}),a.jsx(f.Typography,{variant:"body_sm_regular",children:l})]}):r.length?a.jsx(f.Stack,{role:"listbox",id:`${e}-listbox`,gap:"4px",children:r.map((b,F)=>{const x=!!(m!=null&&m(b)),y=C==null?void 0:C(b),S=E==null?void 0:E(b),v=a.jsx(H1.ListItem,{id:`${e}-option-${F}`,role:"option","aria-selected":F===o,"aria-disabled":x,selected:F===o,disabled:x,tabIndex:-1,title:y?void 0:b.label,endBadge:!!S,slotProps:S?{endBadge:{children:S,title:S,variant:"subtle",tone:"neutral",size:"xs",sx:A_}}:{},onMouseEnter:()=>u(F),onMouseDown:w=>{w.preventDefault(),x||s(b)},children:b.label},b.value);return y?a.jsx(Wj,{label:y,placement:"bottom-start",describeChild:!0,children:a.jsx("div",{children:v})},b.value):v})}):D?a.jsx(f.Typography,{role:"status",variant:"body_sm_regular",align:"center",padding:"8px",children:D}):null;return!n||!t||!A||!d&&!h&&!g?null:_t.createPortal(a.jsx("div",{style:{position:"fixed",top:A.bottom+D_,left:A.left,width:A.width,zIndex:1500},children:a.jsx(f.ClickAwayListener,{onClickAway:b=>{t.contains(b.target)||i()},children:a.jsx(H1.Menu,{id:`${e}-menu`,showSearch:!!d,maxHeight:d_,showFooter:!!g,customFooter:g??void 0,slotProps:d?{search:{value:d.value,placeholder:N5,autoFocus:!0,onChange:b=>d.onChange(b.target.value),onClear:()=>d.onChange(""),onKeyDown:d.onKeyDown,slotProps:{input:{"aria-label":N5,"aria-controls":`${e}-listbox`}}}}:void 0,children:h})})}),document.body)},H5=({open:e,options:t,activeIndex:n,setActiveIndex:r,isOptionDisabled:o,onSelect:u,onClose:s})=>i=>{if(e)if(i.key==="ArrowDown"||i.key==="ArrowUp"){if(i.preventDefault(),!t.length)return;const c=i.key==="ArrowDown"?1:-1;r((n+c+t.length)%t.length)}else if(i.key==="Enter"){const c=t[n];c&&!(o!=null&&o(c))&&(i.preventDefault(),u(c))}else i.key==="Escape"&&s()},W5=({id:e,label:t,value:n,options:r,placeholder:o,helperText:u,disabled:s,hasError:i,loading:c,loadingText:l,emptyText:D,onSearch:d,onOpen:E,onChange:m,onClear:C,renderValue:g,isOptionDisabled:A,optionTooltip:h,optionBadge:b,footer:F})=>{const x=p.useRef(null),[y,S]=p.useState(!1),[v,w]=p.useState(""),[I,O]=p.useState(0),M=()=>{S(!1),v&&(w(""),d(""))},T=P=>{var W;m(P),M(),(W=x.current)==null||W.focus()},L=H5({open:y,options:r,activeIndex:I,setActiveIndex:O,isOptionDisabled:A,onSelect:T,onClose:()=>{var P;M(),(P=x.current)==null||P.focus()}}),N=()=>{if(y){M();return}O(0),S(!0),E==null||E()},j=C&&n&&!s?a.jsxs(f.Stack,{direction:"row",alignItems:"center",gap:"4px",children:[a.jsx(Hj,{variant:"ghost",size:"2xs","aria-label":"Clear",onClick:P=>{var W;P.stopPropagation(),C(),(W=x.current)==null||W.focus()},onMouseDown:P=>P.preventDefault(),children:a.jsx(Ku.XClose,{})}),a.jsx(Ku.ChevronDown,{width:16,height:16,"aria-hidden":!0})]}):void 0;return a.jsxs(a.Fragment,{children:[a.jsx(H1.Field,{ref:x,id:e,size:"sm",label:t,placeholder:o,value:n?(g==null?void 0:g(n))??n.label:void 0,helperText:u,disabled:s,error:i,open:y,suffix:j,slotProps:{field:{"aria-label":t}},onTriggerClick:N,onTriggerKeyDown:P=>{!y&&(P.key==="ArrowDown"||P.key==="Enter"||P.key===" ")&&(P.preventDefault(),N())}}),a.jsx(R5,{id:e,anchorEl:x.current,open:y&&!s,options:r,activeIndex:I,setActiveIndex:O,onSelect:T,onClose:M,loading:c,loadingText:l,emptyText:D,search:{value:v,onChange:P=>{w(P),O(0),d(P)},onKeyDown:L},isOptionDisabled:A,optionTooltip:h,optionBadge:b,footer:F})]})},ii=({children:e,onRetry:t})=>a.jsxs(f.Typography,{role:"alert",variant:"body_sm_regular",color:"text.error.soft",component:"span",children:[e,t?a.jsxs(a.Fragment,{children:[" ",a.jsx(ai,{variant:"linkWithUnderline",size:"2xs",onClick:t,children:$j})]}):null]}),G5=()=>a.jsxs(f.Stack,{direction:"row",alignItems:"flex-start",gap:"6px",color:"text.neutral.soft",children:[a.jsx(Ku.InfoCircle,{width:14,height:14,"aria-hidden":!0}),a.jsx(f.Typography,{variant:"caption_regular",children:Uj})]}),z1=e=>({value:e.externalResourceId,label:e.title,row:e}),p_=(e,t)=>{var r,o;const n=Object.values(((r=e.interfaceDetails)==null?void 0:r.args)??{});return Ep(t,(o=e.interfaceDetails)==null?void 0:o.args).length===n.length},g_=/^https?:\/\//i,ci=e=>g_.test(e.trim()),C_=/^[A-Za-z][A-Za-z0-9]*-\d+$/,X1=e=>{const t=e.trim();if(!ci(t))return t;try{const n=new URL(t).pathname.split("/").filter(Boolean).map(decodeURIComponent);return[...n].reverse().find(o=>C_.test(o))??n[n.length-1]??t}catch{return t}},h_=e=>ci(e)||/^\S+$/.test(e.trim()),F_=300,m_=e=>{var t,n;return[...Object.values(((t=e.interfaceDetails)==null?void 0:t.args)??{}),...Object.values(((n=e.interfaceDetails)==null?void 0:n.optionalArgs)??{})]},E_=e=>e&&typeof e=="object"&&"value"in e?String(e.value):"",V5=e=>e.flatMap(t=>{if(t&&typeof t=="object"&&"options"in t)return V5(t.options);const{value:n,label:r}=t;return n===void 0?[]:[{value:String(n),label:String(r),raw:{value:n,label:String(r)}}]}),b_=({field:e,config:t,value:n,disabled:r,placeholder:o,emptyText:u,hint:s,onChange:i,onEmpty:c})=>{const[l,D]=p.useState([]),[d,E]=p.useState(""),[m,C]=p.useState(!1),[g,A]=p.useState(!1),[h,b]=p.useState(!1),F=p.useRef(),x=p.useRef();p.useEffect(()=>()=>{var O;(O=F.current)==null||O.abort(),clearTimeout(x.current)},[]);const y=O=>{var L;if(!(t!=null&&t.loadOptions))return;(L=F.current)==null||L.abort();const M=new AbortController;F.current=M,C(!0),A(!1),b(!1);const T=(N,j)=>{if(M.signal.aborted)return;const P=j!=null&&j.isError?[]:V5(N);D(P),C(!1),A(!(j!=null&&j.isError)),b(!!(j!=null&&j.isError)),!O&&!(j!=null&&j.isError)&&P.length===0&&c()};t.loadOptions(O,T,!1,M)},S=O=>{E(O),clearTimeout(x.current),x.current=setTimeout(()=>y(O),F_)},v=d.trim().toLowerCase(),w=v?l.filter(O=>O.label.toLowerCase().includes(v)):l,I=n?{value:String(n.value),label:n.label,raw:n}:null;return a.jsx(W5,{id:`pm-link-level-${e.name}`,label:e.label,value:I,options:w,placeholder:o,helperText:s,disabled:r,hasError:h,loading:m&&!l.length,emptyText:g?v?zj:u:null,onOpen:()=>y(""),onSearch:S,onChange:O=>i(O.raw),footer:h?a.jsx(ii,{onRetry:()=>y(d),children:o_(e.label)}):null})},x_=({formId:e,levelFields:t,optionalLevels:n,objectLabel:r,formState:o,onLevelChange:u,onEmptyLevel:s})=>{const{fetchConfig:i}=W1({formFields:t,formId:e,formState:o}),c=i??{};return a.jsx(a.Fragment,{children:t.map((l,D)=>{var b;const d=m_(l),E=t.filter(F=>F.name!==l.name&&d.includes(F.name)),m=[...E].reverse().find(F=>!!o.values[F.name]),C=E.find(F=>!n.includes(F.name)&&!o.values[F.name]),g=p_(l,o),A=((b=t[D+1])==null?void 0:b.label)??r,h=o.values[l.name];return a.jsx(b_,{field:l,config:c[l.name],value:h&&typeof h=="object"?h:null,disabled:!g,placeholder:!g&&C?_5(C.label):n_(l.label),emptyText:u_(m==null?void 0:m.label),hint:n.includes(l.name)?a_(A,l.label):void 0,onChange:F=>u(l.name,F),onEmpty:()=>s==null?void 0:s(l.name)},`${l.name}:${d.map(F=>E_(o.values[F])).join("|")}`)})})},y_=({id:e,label:t,value:n,inputValue:r,rows:o,status:u,app:s,placeholder:i,helperText:c,showCapNote:l,hideEmptyMessage:D,disabled:d,hasError:E,onInputChange:m,onChange:C})=>{const g=p.useRef(null),[A,h]=p.useState(null),[b,F]=p.useState(!1),[x,y]=p.useState(0),S=r?o.map(T=>z1(T)):[],v=T=>!!T.row.alreadyLinked,w=T=>{var L;C(T),F(!1),(L=g.current)==null||L.blur()},I=H5({open:b,options:S,activeIndex:x,setActiveIndex:y,isOptionDisabled:v,onSelect:w,onClose:()=>F(!1)}),O=u==="loading",M=b&&!d&&!n&&!!r&&(O||u==="done");return a.jsxs(a.Fragment,{children:[a.jsx(T5.Text,{id:e,size:"sm",label:t,placeholder:i,value:r||(n==null?void 0:n.label)||"",disabled:d,error:E,helperText:c,autoComplete:"off",inputRef:g,prefix:a.jsx(Ku.SearchMd,{width:16,height:16,"aria-hidden":!0}),showClearSelection:!!(n||r)&&!d,onClear:()=>{var T;C(null),F(!1),(T=g.current)==null||T.focus()},slotProps:{field:{ref:h},input:{role:"combobox","aria-label":t,"aria-expanded":M,"aria-controls":`${e}-listbox`,"aria-invalid":E||void 0},clear:{"aria-label":"Clear"}},onFocus:()=>{r&&F(!0)},onClick:()=>{r&&F(!0)},onChange:T=>{y(0),F(!0),m(T.target.value)},onKeyDown:T=>{if(!b&&r&&T.key==="ArrowDown"){T.preventDefault(),y(0),F(!0);return}I(T)}}),a.jsx(R5,{id:e,anchorEl:A,open:M,options:S,activeIndex:x,setActiveIndex:y,onSelect:w,onClose:()=>F(!1),loading:O,loadingText:P5(s),emptyText:D?null:M5,optionBadge:T=>T.row.alreadyLinked?j5:T.row.location?`In ${T.row.location}`:void 0,isOptionDisabled:v,optionTooltip:T=>T.row.alreadyLinked?G1:void 0,footer:l&&!O?a.jsx(G5,{}):null})]})},B_=async({formId:e,query:t,conversationId:n,args:r,channelType:o="email",smId:u,smIds:s})=>{const i=I1(tO.replace(":id",e),u,s),c=i.includes("?")?"&":"?",l=await Ee({url:`${i}${c}channel_type=${encodeURIComponent(o)}`,method:Be.POST,data:{query:t,conversationId:n,args:r}}),D=l!=null&&l.data&&"data"in l.data?l.data.data:l==null?void 0:l.data;return{rows:Array.isArray(D==null?void 0:D.rows)?D.rows:[],route:(D==null?void 0:D.route)??"name",truncatedAtCap:!!(D!=null&&D.truncatedAtCap),outcome:(D==null?void 0:D.outcome)??"ok"}},v_=300,w_=2e4,z5=({formId:e,query:t,args:n,enabled:r,onSettled:o})=>{const{conversationId:u}=p.useContext($e),s=Ha(),i=vu(),[c,l]=p.useState("idle"),[D,d]=p.useState(null),[E,m]=p.useState(0),C=p.useCallback(()=>m(F=>F+1),[]),g=p.useRef(0),A=p.useRef(o);A.current=o;const h=t.trim(),b=JSON.stringify(n);return p.useEffect(()=>{const F=++g.current;if(!r||!h||!u){l("idle"),d(null);return}l("loading");let x;const y=setTimeout(()=>{x=setTimeout(()=>{F===g.current&&(g.current+=1,d(null),l("error"))},w_),B_({formId:e,query:h,conversationId:u,args:JSON.parse(b),smId:s,smIds:i}).then(S=>{var v;F===g.current&&(d(S),l("done"),(v=A.current)==null||v.call(A,S))}).catch(S=>{var v;F===g.current&&(Qe.error(S),d(null),l(((v=S==null?void 0:S.response)==null?void 0:v.status)===404?"unavailable":"error"))}).finally(()=>clearTimeout(x))},v_);return()=>{clearTimeout(y),clearTimeout(x)}},[e,h,b,r,u,s,i,E]),{status:c,result:D,retry:C}},S_=f.styled("p")`
2950
2950
  margin: 12px 0 0;
2951
2951
  font-size: 16px;
2952
2952
  font-weight: 600;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hiver/connector-agent",
3
- "version": "4.27.0-appWidgets-beta.24",
3
+ "version": "4.27.0-appWidgets-beta.25",
4
4
  "main": "index.es.js",
5
5
  "module": "index.es.js",
6
6
  "types": "index.d.ts",