@acuteinfo/common-screens 1.0.54 → 1.0.55

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,10 +1,10 @@
1
- :root {
2
- --theme-color1: #07288e;
3
- --white: #ffffff;
4
- --theme-color3: #4263c7;
5
- --theme-color4: #eceff9;
6
- --primary-bg: linear-gradient(71.66deg, #4285f4 -2.97%, #885df5 111.3%);
7
- --theme-color6: rgba(148, 149, 151, 1);
8
- }
9
-
10
- /*# sourceMappingURL=index~NFLKLAwc.css.map */
1
+ :root {
2
+ --theme-color1: #07288e;
3
+ --white: #ffffff;
4
+ --theme-color3: #4263c7;
5
+ --theme-color4: #eceff9;
6
+ --primary-bg: linear-gradient(71.66deg, #4285f4 -2.97%, #885df5 111.3%);
7
+ --theme-color6: rgba(148, 149, 151, 1);
8
+ }
9
+
10
+ /*# sourceMappingURL=index~JRjrREMB.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/assets/css/index.css"],"names":[],"mappings":"AAAA;EACE,uBAAuB;EACvB,gBAAgB;EAChB,uBAAuB;EACvB,uBAAuB;EACvB,uEAAuE;EACvE,sCAAsC;AACxC","file":"index~JRjrREMB.css","sourcesContent":[":root {\n --theme-color1: #07288e;\n --white: #ffffff;\n --theme-color3: #4263c7;\n --theme-color4: #eceff9;\n --primary-bg: linear-gradient(71.66deg, #4285f4 -2.97%, #885df5 111.3%);\n --theme-color6: rgba(148, 149, 151, 1);\n}\n"]}
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import 'regenerator-runtime/runtime';
2
- import './assets/index~NFLKLAwc.css';
2
+ import './assets/index~JRjrREMB.css';
3
3
  import { jsx, jsxs, Fragment as Fragment$1 } from 'react/jsx-runtime';
4
4
  import { TextField, GradientButton, utilFunction, ClearCacheProvider, queryClient, Alert, GridWrapper, SearchBar } from '@acuteinfo/common-base';
5
5
  import { useState, useRef, useEffect, Fragment, useMemo, useReducer, useCallback } from 'react';
@@ -17,7 +17,6 @@ import './assets/verify~MOgwPpDY.css';
17
17
  import CryptoJS from 'crypto-js';
18
18
  import './assets/styles~ILuxAzHT.css';
19
19
  import { useQuery, useMutation } from 'react-query';
20
- import { useNavigate } from 'react-router-dom';
21
20
  import bank_logo_default from './assets/BecomePartnerImg~cwVtJhaB.svg';
22
21
  import Waving_hand from './assets/waving-hand~JqQoivUD.png';
23
22
  import { styled } from '@mui/material/styles';
@@ -572,12 +571,12 @@ const OTPModelForm = ({ classes, OTPResendRequest, handleClose, loginState, Veri
572
571
  gap: "10px",
573
572
  margin: "42px 0 0 42px",
574
573
  width: "60%",
575
- }, children: [jsx(GradientButton, { fullWidth: true, disabled: loginState.otploading, onClick: handleCloseEvent, className: classes.otpButtons, starticon: "West", textColor: "var(--theme-color3) !important", sx: {
574
+ }, children: [jsx(GradientButton, { fullWidth: true, disabled: loginState.otploading, onClick: handleCloseEvent, className: classes.otpButtons, starticon: "West", textColor: "var(--white) !important", sx: {
576
575
  "&:disabled": {
577
576
  color: "var(-theme-color3) !important",
578
577
  },
579
578
  }, rotateIcon: "scale(1.4) rotateX(360deg)", style: {
580
- border: "var(--theme-color3)1px solid",
579
+ border: "var(--theme-color3) 1px solid",
581
580
  // color: "var(--white)",
582
581
  // background: "var(--white)",
583
582
  borderRadius: "10px",
@@ -2070,11 +2069,8 @@ const actions = [
2070
2069
  ];
2071
2070
  const BranchSelectionGrid = ({ selectionMode, authState, isBranchSelectedFn, isLoggedInFn, logoutFn, logos, logo, navigate, BranchSelectionGridDataApiFn, GetMenuDataApiFn, sideImage, branchSelectFn, dashboardUrl, loginUrl, appTranCd, }) => {
2072
2071
  const classes = useStyles$2();
2073
- const testNavigate = useNavigate();
2074
- console.log("test navigate", testNavigate);
2075
- console.log("test location", window.location);
2076
2072
  const { enqueueSnackbar } = useSnackbar();
2077
- const { data, isLoading, isFetching, refetch, error, isError } = useQuery(["BranchSelectionGridData"], () => BranchSelectionGridDataApiFn());
2073
+ const { data, isLoading, isFetching, error, isError } = useQuery(["BranchSelectionGridData"], () => BranchSelectionGridDataApiFn());
2078
2074
  useEffect(() => {
2079
2075
  return () => {
2080
2076
  queryClient.removeQueries(["BranchSelectionGridData", {}]);