@hiver/connector-admin 3.0.5 → 3.0.6

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":"style.d.ts","sourceRoot":"","sources":["../../src/app/style.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEpD,eAAO,MAAM,mBAAmB,EAAE,eAAe,CAAC,QAAQ,CAIzD,CAAC;AAguBF,eAAO,MAAM,eAAe,EAAE,eAAe,CAAC,QAAQ,CAiDrD,CAAC"}
1
+ {"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../src/app/style.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEpD,eAAO,MAAM,mBAAmB,EAAE,eAAe,CAAC,QAAQ,CAQzD,CAAC;AAguBF,eAAO,MAAM,eAAe,EAAE,eAAe,CAAC,QAAQ,CAiDrD,CAAC"}
package/index.es.js CHANGED
@@ -28507,6 +28507,10 @@ const tM = B(fe)`
28507
28507
  ] })
28508
28508
  ] });
28509
28509
  }, DM = B(He)`
28510
+ height: 100%;
28511
+ & > div {
28512
+ height: 100%;
28513
+ }
28510
28514
  [hidden] {
28511
28515
  display: none;
28512
28516
  }
@@ -29298,7 +29302,7 @@ const tM = B(fe)`
29298
29302
  connectorFunctions: i
29299
29303
  }) => {
29300
29304
  const { userId: o } = ms() || {};
29301
- return /* @__PURE__ */ w.jsx(A1, { children: /* @__PURE__ */ w.jsx(DM, { children: /* @__PURE__ */ w.jsx(
29305
+ return /* @__PURE__ */ w.jsx(A1, { sx: { height: "100%" }, children: /* @__PURE__ */ w.jsx(DM, { children: /* @__PURE__ */ w.jsx(
29302
29306
  _2,
29303
29307
  {
29304
29308
  baseUrls: t,
package/index.umd.js CHANGED
@@ -1376,6 +1376,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1376
1376
  `,gy=w.styled(w.Typography)`
1377
1377
  white-space: pre;
1378
1378
  `,V9="data:image/svg+xml,%3csvg%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1.44441%207.72259C1.2339%206.35423%201.02339%204.98592%200.812876%203.61756C0.766191%203.31424%201.11132%203.10736%201.35682%203.2915C2.01269%203.7834%202.66853%204.27527%203.32439%204.76717C3.54034%204.92913%203.84799%204.87642%203.9977%204.65182L5.63574%202.19474C5.80885%201.93509%206.19035%201.93509%206.36346%202.19474L8.0015%204.65182C8.15121%204.87642%208.45886%204.92909%208.67481%204.76717C9.33068%204.27527%209.98651%203.7834%2010.6424%203.2915C10.8879%203.10736%2011.233%203.31424%2011.1864%203.61756C10.9758%204.98592%2010.7653%206.35423%2010.5548%207.72259H1.44441Z'%20fill='white'/%3e%3cpath%20d='M10.0788%2010.0027H1.91834C1.65602%2010.0027%201.44336%209.79009%201.44336%209.52777V8.48438H10.5538V9.52777C10.5537%209.79009%2010.3411%2010.0027%2010.0788%2010.0027Z'%20fill='white'/%3e%3c/svg%3e",G9=({availableFeatures:e})=>{const t=n=>{n.stopPropagation(),br(e,tm)&&Gp()};return I.jsxs(O9,{children:[I.jsx(N9,{children:I.jsx(Fc,{variant:"h2",children:ac})}),I.jsxs(D9,{children:[I.jsxs(P9,{children:[I.jsxs(L9,{children:[I.jsx("img",{src:V9}),I.jsx(F9,{variant:"caption",children:FE})]}),I.jsx(Fc,{variant:"h2",children:ac}),I.jsx(M9,{variant:"body2",children:ME}),I.jsxs(hy,{children:[I.jsx(B9,{children:BE}),I.jsx(j9,{variant:"outlined",children:jE})]}),I.jsxs(R9,{children:[I.jsx(gy,{variant:"body1",children:VE}),"  ",I.jsx(gy,{component:"a",variant:"body1",color:"#1a70e0",onClick:n=>t(n),children:Fp})]})]}),I.jsx(k9,{children:I.jsx("img",{src:$S})})]})]})},W9=w.styled(w.Box)`
1379
+ height: 100%;
1380
+ & > div {
1381
+ height: 100%;
1382
+ }
1379
1383
  [hidden] {
1380
1384
  display: none;
1381
1385
  }
@@ -2159,4 +2163,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2159
2163
  align-self: auto !important;
2160
2164
  margin-left: 12px;
2161
2165
  }
2162
- `,X9=({basename:e,baseUrls:t,extraParams:n={},availableFeatures:r={},connectorFunctions:o})=>{const{userId:i}=hi()||{};return I.jsx(w.ScopedCssBaseline,{children:I.jsx(W9,{children:I.jsx(GI,{baseUrls:t,availableFeatures:r,extraParams:n,connectorFunctions:o,children:ZE(r)?I.jsx(G9,{availableFeatures:r}):I.jsxs(I.Fragment,{children:[I.jsx(_9,{basename:e,metaData:n.metaData,userId:i}),Qe.createPortal(I.jsx(z9,{id:"toast-message",children:I.jsx(zy,{position:"bottom-left",autoClose:5e3,hideProgressBar:!0,newestOnTop:!1,closeOnClick:!0,rtl:!1,draggable:!0,pauseOnHover:!0})}),document.body)]})})})})},Z9="/v1/api"+"/templates/metadata",Y9={GET:"GET",POST:"POST",DELETE:"DELETE",PATCH:"PATCH",PUT:"PUT"},U9=async e=>{const t=new URLSearchParams,{inboxIds:n,channelType:r,conversationId:o}=e||{};return n&&n.forEach(i=>t.append("inbox_ids",i)),r&&t.append("channel_type",r),o&&t.append("conversation_id",o),on({url:`${Z9}?${t.toString()}`,method:Y9.GET})};Ve.ConnectorsApp=X9,Ve.HiverConnectorBifrostAuth=on,Ve.getConnectorsBifrostConfigs=hi,Ve.getMetaData=U9,Ve.initConnectorsBifrost=xw,Object.defineProperty(Ve,Symbol.toStringTag,{value:"Module"})});
2166
+ `,X9=({basename:e,baseUrls:t,extraParams:n={},availableFeatures:r={},connectorFunctions:o})=>{const{userId:i}=hi()||{};return I.jsx(w.ScopedCssBaseline,{sx:{height:"100%"},children:I.jsx(W9,{children:I.jsx(GI,{baseUrls:t,availableFeatures:r,extraParams:n,connectorFunctions:o,children:ZE(r)?I.jsx(G9,{availableFeatures:r}):I.jsxs(I.Fragment,{children:[I.jsx(_9,{basename:e,metaData:n.metaData,userId:i}),Qe.createPortal(I.jsx(z9,{id:"toast-message",children:I.jsx(zy,{position:"bottom-left",autoClose:5e3,hideProgressBar:!0,newestOnTop:!1,closeOnClick:!0,rtl:!1,draggable:!0,pauseOnHover:!0})}),document.body)]})})})})},Z9="/v1/api"+"/templates/metadata",Y9={GET:"GET",POST:"POST",DELETE:"DELETE",PATCH:"PATCH",PUT:"PUT"},U9=async e=>{const t=new URLSearchParams,{inboxIds:n,channelType:r,conversationId:o}=e||{};return n&&n.forEach(i=>t.append("inbox_ids",i)),r&&t.append("channel_type",r),o&&t.append("conversation_id",o),on({url:`${Z9}?${t.toString()}`,method:Y9.GET})};Ve.ConnectorsApp=X9,Ve.HiverConnectorBifrostAuth=on,Ve.getConnectorsBifrostConfigs=hi,Ve.getMetaData=U9,Ve.initConnectorsBifrost=xw,Object.defineProperty(Ve,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hiver/connector-admin",
3
- "version": "3.0.5",
3
+ "version": "3.0.6",
4
4
  "main": "index.es.js",
5
5
  "module": "index.es.js",
6
6
  "types": "index.d.ts",