@djb25/digit-ui-module-ws 1.0.40 → 1.0.41

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.
@@ -20724,16 +20724,6 @@ const SearchFormFieldsComponents = _ref => {
20724
20724
  title: t("ERR_INVALID_APPLICATION_NO")
20725
20725
  }))), /*#__PURE__*/React.createElement(SearchField, {
20726
20726
  className: "wns-search-field"
20727
- }, /*#__PURE__*/React.createElement("label", null, t("WS_MYCONNECTIONS_CONSUMER_NO")), /*#__PURE__*/React.createElement(TextInput, _extends({
20728
- name: "consumerNo",
20729
- inputRef: registerRef({})
20730
- }, validation = {
20731
- isRequired: false,
20732
- pattern: "^[a-zA-Z0-9/-]*$",
20733
- type: "text",
20734
- title: t("ERR_INVALID_CONSUMER_NO")
20735
- }))), /*#__PURE__*/React.createElement(SearchField, {
20736
- className: "wns-search-field"
20737
20727
  }, /*#__PURE__*/React.createElement("label", null, t("CORE_COMMON_MOBILE_NUMBER")), /*#__PURE__*/React.createElement(MobileNumber, _extends({
20738
20728
  name: "mobileNumber",
20739
20729
  type: "number",
@@ -20949,10 +20939,6 @@ const useInboxTableConfig = _ref => {
20949
20939
  className: "link"
20950
20940
  }, row.original["applicationNo"])));
20951
20941
  }
20952
- }, {
20953
- Header: t("WS_COMMON_TABLE_COL_CONSUMER_NO_LABEL"),
20954
- accessor: "connectionNo",
20955
- disableSortBy: true
20956
20942
  }, {
20957
20943
  Header: t("WS_COMMON_TABLE_COL_OWN_NAME_LABEL"),
20958
20944
  accessor: "owner",
@@ -21137,7 +21123,7 @@ const WSInbox = _ref => {
21137
21123
  sortOrder: "DESC"
21138
21124
  };
21139
21125
  sessionStorage.removeItem("Digit.BILL.INBOX");
21140
- sessionStorage.removeItem("Digit.SW.INBOX");
21126
+ sessionStorage.removeItem("Digit.BILL.SW.INBOX");
21141
21127
  function formReducer(state, payload) {
21142
21128
  if (checkPathName) {
21143
21129
  switch (payload.action) {
@@ -21189,7 +21175,7 @@ const WSInbox = _ref => {
21189
21175
  }
21190
21176
  }
21191
21177
  }
21192
- const InboxObjectInSessionStorage = Digit.SessionStorage.get("BILL.INBOX");
21178
+ const InboxObjectInSessionStorage = checkPathName ? Digit.SessionStorage.get("BILL.INBOX") : Digit.SessionStorage.get("BILL.SW.INBOX");
21193
21179
  const onSearchFormReset = setSearchFormValue => {
21194
21180
  setSearchFormValue("mobileNumber", null);
21195
21181
  setSearchFormValue("applicationNumber", null);
@@ -23399,9 +23385,14 @@ const WSCard = () => {
23399
23385
  }],
23400
23386
  links: [{
23401
23387
  count: isWSInboxLoading ? "-" : wsData === null || wsData === void 0 ? void 0 : wsData.totalCount,
23402
- label: t("WS_INBOX_HEADER"),
23388
+ label: t("WATER_INBOX"),
23403
23389
  link: "/digit-ui/employee/ws/water/inbox",
23404
23390
  roles: ["WS_CEMP", "WS_APPROVER", "WS_FIELD_INSPECTOR", "WS_DOC_VERIFIER", "WS_CLERK"]
23391
+ }, {
23392
+ count: isWSInboxLoading ? "-" : wsData === null || wsData === void 0 ? void 0 : wsData.totalCount,
23393
+ label: t("SEWERAGE_INBOX"),
23394
+ link: "/digit-ui/employee/ws/sewerage/inbox",
23395
+ roles: ["SW_CEMP", "SW_APPROVER", "SW_FIELD_INSPECTOR", "SW_DOC_VERIFIER", "SW_CLERK"]
23405
23396
  }, ...links, {
23406
23397
  label: t("WS_WATER_CONNECTION_SEARCH_LABEL"),
23407
23398
  link: "/digit-ui/employee/ws/water/search-connection",
@@ -32459,7 +32450,7 @@ const WSInfoPage = () => {
32459
32450
  }) : /*#__PURE__*/React.createElement(SubmitBar, {
32460
32451
  label: t("CS_COMMON_NEXT"),
32461
32452
  onSubmit: handleNext,
32462
- disabled: (hasProperty === null || hasProperty === void 0 ? void 0 : hasProperty.code) === "NO" && isEmployee
32453
+ disabled: (hasProperty === null || hasProperty === void 0 ? void 0 : hasProperty.code) === "NO"
32463
32454
  })));
32464
32455
  };
32465
32456