@hiver/connector-admin 1.3.1-beta.3 → 1.3.1
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":"index.d.ts","sourceRoot":"","sources":["../../../src/app/connectors/index.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAOjD,eAAO,MAAM,aAAa,2DAAsE,UAAU,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/app/connectors/index.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAOjD,eAAO,MAAM,aAAa,2DAAsE,UAAU,4CA6BzG,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/app/connectors/pages/connector-view/dashboard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAmC,MAAM,OAAO,CAAC;AAkC5D,eAAO,MAAM,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/app/connectors/pages/connector-view/dashboard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAmC,MAAM,OAAO,CAAC;AAkC5D,eAAO,MAAM,SAAS,EAAE,EA2EvB,CAAC"}
|
package/index.es.js
CHANGED
|
@@ -42331,7 +42331,7 @@ const aG = k(TA)`
|
|
|
42331
42331
|
`, PG = () => /* @__PURE__ */ b.jsx(TA, { marginTop: "28px", gap: "12px", "data-testid": "loading", children: Array(3).fill(0).map((A, e) => /* @__PURE__ */ b.jsx(TG, { justifyContent: "center", children: /* @__PURE__ */ b.jsx(DG, { variant: "rounded", maxWidth: "862px", height: "10px", animation: "wave" }) }, e)) }), pQ = () => {
|
|
42332
42332
|
const A = Dr(), { baseUrls: e } = gt(Jt), [t, n] = YA(!1), [r, o] = YA(!1), i = xe(A6), g = xe(b4), s = xe(e6), C = !!i.length, l = !!g.length, { sendTrackingEvent: E } = gt(Jt), c = s === FA.LOADING;
|
|
42333
42333
|
XA(() => {
|
|
42334
|
-
|
|
42334
|
+
A(Xa(e.v2Url)), A(za(e.v2Url)), A(Wa()), A(Za());
|
|
42335
42335
|
}, [A, e]);
|
|
42336
42336
|
const u = (B) => {
|
|
42337
42337
|
n(B), o(!1), E(ct.REQUEST_NEW_CLICKED);
|
|
@@ -47557,7 +47557,7 @@ const gJ = (A, e) => {
|
|
|
47557
47557
|
align-self: auto !important;
|
|
47558
47558
|
margin-left: 12px;
|
|
47559
47559
|
}
|
|
47560
|
-
`, d_ = ({ basename: A, baseUrls: e, extraParams: t = {}, availableFeatures: n = {} }) =>
|
|
47560
|
+
`, d_ = ({ basename: A, baseUrls: e, extraParams: t = {}, availableFeatures: n = {} }) => /* @__PURE__ */ b.jsx(o_, { children: /* @__PURE__ */ b.jsx($H, { baseUrls: e, availableFeatures: n, extraParams: t, children: Ik(n) ? /* @__PURE__ */ b.jsx(r_, { availableFeatures: n }) : /* @__PURE__ */ b.jsxs(b.Fragment, { children: [
|
|
47561
47561
|
/* @__PURE__ */ b.jsx(zJ, { basename: A }),
|
|
47562
47562
|
Dl(
|
|
47563
47563
|
/* @__PURE__ */ b.jsx(a_, { id: "toast-message", children: /* @__PURE__ */ b.jsx(
|
|
@@ -47575,7 +47575,7 @@ const gJ = (A, e) => {
|
|
|
47575
47575
|
) }),
|
|
47576
47576
|
document.body
|
|
47577
47577
|
)
|
|
47578
|
-
] }) }) })
|
|
47578
|
+
] }) }) }), g_ = "/v1/api", s_ = g_ + "/templates/metadata", C_ = {
|
|
47579
47579
|
GET: "GET",
|
|
47580
47580
|
POST: "POST",
|
|
47581
47581
|
DELETE: "DELETE",
|
package/index.umd.js
CHANGED
|
@@ -2638,7 +2638,7 @@ Take a look at the reducer(s) handling this action type: ${u.type}.
|
|
|
2638
2638
|
border: 1px solid ${Be.palette.gray.gray6};
|
|
2639
2639
|
border-radius: 8px;
|
|
2640
2640
|
box-sizing: border-box;
|
|
2641
|
-
`,fG=()=>y.jsx(DA,{marginTop:"28px",gap:"12px","data-testid":"loading",children:Array(3).fill(0).map((A,e)=>y.jsx(dG,{justifyContent:"center",children:y.jsx(uG,{variant:"rounded",maxWidth:"862px",height:"10px",animation:"wave"})},e))}),q4=()=>{const A=pr(),{baseUrls:e}=m.useContext(Zt),[t,n]=m.useState(!1),[r,o]=m.useState(!1),i=he(e4),a=he(n9),s=he(t4),C=!!i.length,l=!!a.length,{sendTrackingEvent:E}=m.useContext(Zt),c=s===FA.LOADING;m.useEffect(()=>{
|
|
2641
|
+
`,fG=()=>y.jsx(DA,{marginTop:"28px",gap:"12px","data-testid":"loading",children:Array(3).fill(0).map((A,e)=>y.jsx(dG,{justifyContent:"center",children:y.jsx(uG,{variant:"rounded",maxWidth:"862px",height:"10px",animation:"wave"})},e))}),q4=()=>{const A=pr(),{baseUrls:e}=m.useContext(Zt),[t,n]=m.useState(!1),[r,o]=m.useState(!1),i=he(e4),a=he(n9),s=he(t4),C=!!i.length,l=!!a.length,{sendTrackingEvent:E}=m.useContext(Zt),c=s===FA.LOADING;m.useEffect(()=>{A(ts(e.v2Url)),A(rs(e.v2Url)),A(os()),A(ss())},[A,e]);const u=B=>{n(B),o(!1),E(gt.REQUEST_NEW_CLICKED)},Q=B=>{o(B),n(!1)};return y.jsxs(lG,{"data-testid":"connector-dashboard",children:[y.jsxs(EG,{children:[y.jsx(IG,{variant:"h2",children:gG}),C&&!c?y.jsx(St,{"data-testid":"connector-available-request-new",onClick:()=>u(!0),children:J9}):null]}),y.jsx(BG,{variant:"body1",color:"rgba(108, 123, 148, 1)",children:aG}),c?y.jsx(fG,{}):y.jsx(y.Fragment,{children:C?y.jsx(eG,{}):y.jsx(NX,{setModalState:u})}),y.jsxs(WA,{marginTop:"32px",children:[l?y.jsxs(y.Fragment,{children:[y.jsx(cG,{variant:"h2",children:sG}),y.jsx(QG,{variant:"body1",color:Be.palette.gray.gray3,children:CG})]}):null,y.jsx(wX,{})]}),y.jsx(Z4,{shown:r||t,setShown:r?Q:u,isApi:r})]})},pG=k(WA)`
|
|
2642
2642
|
box-sizing: border-box;
|
|
2643
2643
|
background-color: #ffffff;
|
|
2644
2644
|
width: 178px;
|
|
@@ -3905,4 +3905,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
3905
3905
|
align-self: auto !important;
|
|
3906
3906
|
margin-left: 12px;
|
|
3907
3907
|
}
|
|
3908
|
-
`,JJ=({basename:A,baseUrls:e,extraParams:t={},availableFeatures:n={}})=>
|
|
3908
|
+
`,JJ=({basename:A,baseUrls:e,extraParams:t={},availableFeatures:n={}})=>y.jsx(ZJ,{children:y.jsx(zH,{baseUrls:e,availableFeatures:n,extraParams:t,children:rk(n)?y.jsx(GJ,{availableFeatures:n}):y.jsxs(y.Fragment,{children:[y.jsx(FJ,{basename:A}),Ut.createPortal(y.jsx(KJ,{id:"toast-message",children:y.jsx(f5,{position:"bottom-left",autoClose:5e3,hideProgressBar:!0,newestOnTop:!1,closeOnClick:!0,rtl:!1,draggable:!0,pauseOnHover:!0})}),document.body)]})})}),_J="/v1/api"+"/templates/metadata",$J={GET:"GET",POST:"POST",DELETE:"DELETE",PATCH:"PATCH",PUT:"PUT"},A_=async()=>Gt({url:_J,method:$J.GET});Mt.ConnectorsApp=JJ,Mt.getMetaData=A_,Mt.setAppConfig=Ck,Mt.setAppUgId=Ik,Mt.setAppUserId=lk,Object.defineProperty(Mt,Symbol.toStringTag,{value:"Module"})});
|