@mseva/digit-ui-module-ptr 1.0.72 → 1.0.73

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.
@@ -14380,11 +14380,11 @@ const PTRCitizenDetails = ({
14380
14380
  })
14381
14381
  }), errors.fatherOrHusbandName && /*#__PURE__*/React.createElement(CardLabelError, {
14382
14382
  style: errorStyle
14383
- }, getErrorMessage("fatherOrHusbandName")), /*#__PURE__*/React.createElement(CardLabel, null, `${t("PROPERTY_ADDRESS")}`, " *"), /*#__PURE__*/React.createElement(Controller, {
14383
+ }, getErrorMessage("fatherOrHusbandName")), /*#__PURE__*/React.createElement(CardLabel, null, `${t("PTR_ADDRESS")}`, " *"), /*#__PURE__*/React.createElement(Controller, {
14384
14384
  control: control,
14385
14385
  name: "address",
14386
14386
  rules: {
14387
- required: t("NDC_MESSAGE_ADDRESS"),
14387
+ required: t("PTR_ADDRESS_REQUIRED"),
14388
14388
  pattern: {
14389
14389
  value: /^[A-Za-z0-9\s.,'/-]{10,}$/,
14390
14390
  message: t("PTR_ADDRESS_INVALID")
@@ -14413,7 +14413,7 @@ const PTRCitizenDetails = ({
14413
14413
  })
14414
14414
  }), errors.address && /*#__PURE__*/React.createElement(CardLabelError, {
14415
14415
  style: errorStyle
14416
- }, getErrorMessage("address")), /*#__PURE__*/React.createElement(CardLabel, null, `${t("CORE_COMMON_PINCODE")}`, " *"), /*#__PURE__*/React.createElement(Controller, {
14416
+ }, getErrorMessage("address")), /*#__PURE__*/React.createElement(CardLabel, null, `${t("PTR_PINCODE")}`, " *"), /*#__PURE__*/React.createElement(Controller, {
14417
14417
  control: control,
14418
14418
  name: "pincode",
14419
14419
  rules: {
@@ -18557,7 +18557,7 @@ const Filter = ({
18557
18557
  const applyLocalFilters = () => {
18558
18558
  onFilterChange({
18559
18559
  ..._searchParams,
18560
- wfFilters
18560
+ ...wfFilters
18561
18561
  });
18562
18562
  };
18563
18563
  const clearAll = () => {
@@ -18578,16 +18578,15 @@ const Filter = ({
18578
18578
  const onRadioChange = value => {
18579
18579
  setSelectedAssigned(value);
18580
18580
  const assigneeCode = value.code === "ASSIGNED_TO_ME" ? uuid : "";
18581
- const updatedWfFilters = {
18582
- ...wfFilters,
18583
- assignee: [{
18584
- code: assigneeCode
18585
- }]
18586
- };
18587
- setWfFilters(updatedWfFilters);
18581
+ const updatedAssignee = [{
18582
+ code: assigneeCode
18583
+ }];
18584
+ setWfFilters({
18585
+ assignee: updatedAssignee
18586
+ });
18588
18587
  onFilterChange({
18589
18588
  ..._searchParams,
18590
- wfFilters: updatedWfFilters
18589
+ assignee: updatedAssignee
18591
18590
  });
18592
18591
  };
18593
18592
  console.log("statusMap", statusMap);