@hiver/connector-admin 1.3.2 → 1.3.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/index.es.js +1 -1
- package/index.umd.js +1 -1
- package/package.json +1 -1
package/index.es.js
CHANGED
|
@@ -42220,7 +42220,7 @@ const $Y = k(vA)`
|
|
|
42220
42220
|
source: g
|
|
42221
42221
|
});
|
|
42222
42222
|
}, E = () => {
|
|
42223
|
-
localStorage.setItem(g1, "true"), s(!1), n(nt.
|
|
42223
|
+
localStorage.setItem(g1, "true"), s(!1), n(nt.SCHEDULE_CALL_CROSS_CLICKED, {
|
|
42224
42224
|
source: g
|
|
42225
42225
|
});
|
|
42226
42226
|
};
|
package/index.umd.js
CHANGED
|
@@ -2693,7 +2693,7 @@ Take a look at the reducer(s) handling this action type: ${u.type}.
|
|
|
2693
2693
|
color: ${ne.palette.gray.black};
|
|
2694
2694
|
`,PG=k(XA)`
|
|
2695
2695
|
color: #4d596c;
|
|
2696
|
-
`,t3=({isApiViewPage:A=!1,isSettingsPage:e=!1})=>{const{availableFeatures:t,sendTrackingEvent:n}=m.useContext(Vt),{DETAILS_PAGE:r,AUTH_PAGE:o,CONNECTORS_PAGE_ADMIN_SIDE:i}=lV,a=e?o:A?r:i,[s,C]=m.useState(()=>!(localStorage.getItem(e3)==="true")&&j2(t,jN));m.useEffect(()=>{localStorage.getItem(e3)==="true"&&C(!1)},[]);const l=()=>{window.open(pG,"_blank"),n(Je.SCHEDULE_CALL_CLICKED,{source:a})},E=()=>{localStorage.setItem(e3,"true"),C(!1),n(Je.
|
|
2696
|
+
`,t3=({isApiViewPage:A=!1,isSettingsPage:e=!1})=>{const{availableFeatures:t,sendTrackingEvent:n}=m.useContext(Vt),{DETAILS_PAGE:r,AUTH_PAGE:o,CONNECTORS_PAGE_ADMIN_SIDE:i}=lV,a=e?o:A?r:i,[s,C]=m.useState(()=>!(localStorage.getItem(e3)==="true")&&j2(t,jN));m.useEffect(()=>{localStorage.getItem(e3)==="true"&&C(!1)},[]);const l=()=>{window.open(pG,"_blank"),n(Je.SCHEDULE_CALL_CLICKED,{source:a})},E=()=>{localStorage.setItem(e3,"true"),C(!1),n(Je.SCHEDULE_CALL_CROSS_CLICKED,{source:a})};return s?b.jsxs(hG,{direction:"row",justifyContent:"space-between",alignItems:"center",gap:"12px",isApiViewPage:A,isSettingsPage:e,children:[b.jsxs(mG,{isSettingsPage:e,children:[b.jsxs(bG,{children:[b.jsx(vA,{direction:"row",justifyContent:"space-between",children:b.jsxs(vA,{direction:"row",children:[b.jsx(TG,{variant:"body2_medium",children:EG}),b.jsx(XA,{variant:"body2",children:IG})]})}),b.jsx(PG,{variant:"body2",children:BG})]}),b.jsxs(yG,{onClick:l,direction:"row",alignItems:"center",children:[b.jsx(DG,{}),b.jsx(wG,{children:cG})]})]}),b.jsx(vG,{onClick:E,isSettingsPage:e,children:b.jsx(xG,{})})]}):null},q4=()=>{const A=Hr(),{baseUrls:e}=m.useContext(Vt),[t,n]=m.useState(!1),[r,o]=m.useState(!1),i=ye(e4),a=ye(n9),s=ye(t4),C=!!i.length,l=!!a.length,{sendTrackingEvent:E}=m.useContext(Vt),c=s===MA.LOADING;m.useEffect(()=>{A(es(e.v2Url)),A(ns(e.v2Url)),A(rs()),A(gs())},[A,e]);const u=B=>{n(B),o(!1),E(Je.REQUEST_NEW_CLICKED)},Q=B=>{o(B),n(!1)};return b.jsxs(nG,{"data-testid":"connector-dashboard",children:[b.jsx(t3,{}),b.jsxs(rG,{children:[b.jsx(oG,{variant:"h2",children:$Y}),C&&!c?b.jsx(Rt,{"data-testid":"connector-available-request-new",onClick:()=>u(!0),children:J9}):null]}),b.jsx(iG,{variant:"body1",color:"rgba(108, 123, 148, 1)",children:AG}),c?b.jsx(lG,{}):b.jsx(b.Fragment,{children:C?b.jsx(GY,{}):b.jsx(DV,{setModalState:u})}),b.jsxs(te,{marginTop:"32px",children:[l?b.jsxs(b.Fragment,{children:[b.jsx(gG,{variant:"h2",children:eG}),b.jsx(aG,{variant:"body1",color:ne.palette.gray.gray3,children:tG})]}):null,b.jsx(dV,{})]}),b.jsx(Z4,{shown:r||t,setShown:r?Q:u,isApi:r})]})},OG=k(te)`
|
|
2697
2697
|
box-sizing: border-box;
|
|
2698
2698
|
background-color: #ffffff;
|
|
2699
2699
|
width: 178px;
|