@mseva/digit-ui-module-core 1.0.66-dev.1.8 → 1.0.66-dev.1.9

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.
@@ -16736,10 +16736,6 @@ const Home = () => {
16736
16736
  const toDigitUrl = url => {
16737
16737
  console.log("url", url);
16738
16738
  if (!url) return url;
16739
- if (url.includes("property-tax")) {
16740
- history.push("/digit-ui/citizen/pt-home");
16741
- return;
16742
- }
16743
16739
  if (url.startsWith("/digit-ui")) {
16744
16740
  history.push(url);
16745
16741
  return;
@@ -16936,6 +16932,7 @@ const LocationSelect = ({
16936
16932
  onLocationChange,
16937
16933
  selectedCity
16938
16934
  }) => {
16935
+ var _cities$map;
16939
16936
  const {
16940
16937
  t
16941
16938
  } = useTranslation();
@@ -16943,10 +16940,10 @@ const LocationSelect = ({
16943
16940
  data: cities,
16944
16941
  isLoading
16945
16942
  } = Digit.Hooks.useTenants();
16946
- const cityOptions = (cities === null || cities === void 0 ? void 0 : cities.map(city => ({
16943
+ const cityOptions = (cities === null || cities === void 0 ? void 0 : (_cities$map = cities.map(city => ({
16947
16944
  ...city,
16948
16945
  displayName: t(city.i18nKey)
16949
- }))) || [];
16946
+ }))) === null || _cities$map === void 0 ? void 0 : _cities$map.filter(city => city.code != "pb.punjab")) || [];
16950
16947
  function setCity(city) {
16951
16948
  Digit.SessionStorage.set("CITIZEN.COMMON.HOME.CITY", city);
16952
16949
  localStorage.setItem("CITIZEN.CITY", city === null || city === void 0 ? void 0 : city.code);
@@ -17693,9 +17690,6 @@ const NewRegistration = ({
17693
17690
  selectedCity: selectedCity
17694
17691
  });
17695
17692
  };
17696
- useEffect(() => {
17697
- console.log("getGender", getGender);
17698
- }, [getGender]);
17699
17693
  return /*#__PURE__*/React.createElement("div", {
17700
17694
  className: "login-page-cover"
17701
17695
  }, /*#__PURE__*/React.createElement("div", {
@@ -17786,7 +17780,7 @@ const NewRegistration = ({
17786
17780
  id: "name",
17787
17781
  selected: getGender,
17788
17782
  select: setGender,
17789
- placeholder: t("CORE_COMMON_GENDER")
17783
+ placeholder: t("COMMON_TABLE_SEARCH")
17790
17784
  })), step === "FORM" && /*#__PURE__*/React.createElement(RegistrationForm, {
17791
17785
  onRegisterSubmit: onRegisterSubmit,
17792
17786
  onAgeError: onAgeError,
@@ -21223,7 +21217,6 @@ const Home$1 = ({
21223
21217
  tenants
21224
21218
  }, index) => {
21225
21219
  const Module = Digit.ComponentRegistryService.getComponent(`${code}Module`);
21226
- console.log("➡️", Module);
21227
21220
  return Module ? /*#__PURE__*/React.createElement(Route, {
21228
21221
  key: index,
21229
21222
  path: `${path}/${code.toLowerCase()}`
@@ -21243,9 +21236,6 @@ const Home$1 = ({
21243
21236
  (mdmsDataObj === null || mdmsDataObj === void 0 ? void 0 : mdmsDataObj.links) && (mdmsDataObj === null || mdmsDataObj === void 0 ? void 0 : mdmsDataObj.links.sort((a, b) => {
21244
21237
  return a.orderNumber - b.orderNumber;
21245
21238
  }));
21246
- {
21247
- console.log("****", mdmsDataObj);
21248
- }
21249
21239
  return /*#__PURE__*/React.createElement(React.Fragment, {
21250
21240
  key: index
21251
21241
  }, /*#__PURE__*/React.createElement(Route, {
@@ -21447,17 +21437,7 @@ const Home$1 = ({
21447
21437
  stateCode: stateCode
21448
21438
  })), /*#__PURE__*/React.createElement(Route, {
21449
21439
  path: `${path}/faqss`
21450
- }, /*#__PURE__*/React.createElement(FAQ, null)), /*#__PURE__*/React.createElement(Route, {
21451
- path: `${path}/firenoc`
21452
- }, (() => {
21453
- const FireNocMod = Digit.ComponentRegistryService.getComponent("FIRENOCModule") || Digit.ComponentRegistryService.getComponent("FireNOCModule");
21454
- return FireNocMod ? /*#__PURE__*/React.createElement(FireNocMod, {
21455
- stateCode: stateCode,
21456
- moduleCode: "FIRENOC",
21457
- userType: "citizen",
21458
- tenants: appTenants
21459
- }) : null;
21460
- })()), /*#__PURE__*/React.createElement(ErrorBoundary, {
21440
+ }, /*#__PURE__*/React.createElement(FAQ, null)), /*#__PURE__*/React.createElement(ErrorBoundary, {
21461
21441
  initData: initData
21462
21442
  }, appRoutes, ModuleLevelLinkHomePages))), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(DashboardFooter, null)));
21463
21443
  };