@nibssplc/cams-sdk-react 1.0.0-rc.105 → 1.0.0-rc.107

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.esm.js CHANGED
@@ -1385,11 +1385,11 @@ function DialogTitle(_a) {
1385
1385
  return (jsx(DialogPrimitive.Title, __assign({ "data-slot": "dialog-title", className: cn("text-lg leading-none font-semibold", className) }, props)));
1386
1386
  }
1387
1387
 
1388
- var a="container_f782f4",i="inner_37f4c9",c="bar_409d0f";const r=({size:r=35,color:l="black",speed:d=1,stroke:o=3.5})=>jsx("div",{className:a,style:{"--uib-size":r+"px","--uib-color":l,"--uib-speed":d+"s","--uib-stroke":o+"px"},children:jsxs("div",{className:i,children:[jsx("div",{className:c}),jsx("div",{className:c}),jsx("div",{className:c}),jsx("div",{className:c})]})});
1388
+ var a="container_e31963",i="inner_5211a3",c="dot_fb1bed";const d=({size:d=78,color:l="black",speed:r=1.4})=>jsx("div",{className:a,style:{"--uib-size":d+"px","--uib-color":l,"--uib-speed":r+"s"},children:jsxs("div",{className:i,children:[jsx("div",{className:c}),jsx("div",{className:c}),jsx("div",{className:c}),jsx("div",{className:c})]})});
1389
1389
 
1390
1390
  var LoadingSpinner = function (_a) {
1391
1391
  var loadingText = _a.loadingText;
1392
- return (jsxs("div", { className: "flex flex-col justify-center items-center h-full w-full py-10", children: [jsx("script", { type: "module", defer: true, src: "https://cdn.jsdelivr.net/npm/ldrs/dist/auto/waveform.js" }), jsx(r, { size: "35", stroke: "3.5", speed: "1", color: "green" }), loadingText && (jsx("p", { className: "text-center font-semibold mt-3", children: "Loading..." }))] }));
1392
+ return (jsxs("div", { className: "flex flex-col justify-center items-center h-full w-full py-10", children: [jsx(d, { size: "35", speed: "1", color: "green" }), loadingText && (jsx("p", { className: "text-center font-semibold mt-3", children: "Loading..." }))] }));
1393
1393
  };
1394
1394
 
1395
1395
  var AuthSuccessAnimation = function (_a) {
@@ -1508,13 +1508,13 @@ var useCredentialsHandler = function (onAuthComplete) {
1508
1508
  return [2 /*return*/, true];
1509
1509
  }
1510
1510
  else {
1511
- onAuthComplete(false, response.response.data);
1511
+ onAuthComplete(false, response);
1512
1512
  return [2 /*return*/, false];
1513
1513
  }
1514
1514
  case 2:
1515
1515
  error_2 = _a.sent();
1516
1516
  console.error(error_2);
1517
- onAuthComplete(false, error_2.response.data);
1517
+ onAuthComplete(false, error_2);
1518
1518
  return [2 /*return*/, false];
1519
1519
  case 3:
1520
1520
  setLoading(false);