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