@djb25/digit-ui-module-wt 1.0.23 → 1.0.24

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.
@@ -944,13 +944,11 @@ const WTSearchApplication = ({
944
944
  marginTop: "16px"
945
945
  }
946
946
  }, /*#__PURE__*/React.createElement("span", {
947
- className: "clear-search-link",
947
+ className: "generic-button clear-search",
948
948
  onClick: handleClearSearch,
949
949
  style: {
950
- color: "#f47738",
951
950
  cursor: "pointer",
952
- alignSelf: "center",
953
- textDecoration: "underline"
951
+ alignSelf: "center"
954
952
  }
955
953
  }, t("ES_COMMON_CLEAR_ALL")), /*#__PURE__*/React.createElement("div", {
956
954
  style: {
@@ -3904,11 +3902,11 @@ const FixedPointScheduleManagement = ({
3904
3902
  }
3905
3903
  }, [pageOffset, pageSize]);
3906
3904
  const columns = React.useMemo(() => [{
3907
- Header: t("WT_FIXED_POINT_NAME"),
3908
- accessor: "fixedPointName"
3909
- }, {
3910
3905
  Header: t("WT_FIXED_POINT_CODE"),
3911
3906
  accessor: "fixedPoint"
3907
+ }, {
3908
+ Header: t("WT_FIXED_POINT_NAME"),
3909
+ accessor: "fixedPointName"
3912
3910
  }, {
3913
3911
  Header: t("WT_DAY"),
3914
3912
  accessor: "day"
@@ -4159,22 +4157,16 @@ const FixedPointScheduleManagement = ({
4159
4157
  },
4160
4158
  placeholder: "All Status"
4161
4159
  })), /*#__PURE__*/React.createElement("div", {
4162
- className: "finance-mainlayout-col1",
4163
- style: {
4164
- alignSelf: "flex-end"
4165
- }
4166
- }, /*#__PURE__*/React.createElement("span", {
4167
- className: "clear-search",
4160
+ className: "finance-mainlayout-col1"
4161
+ }, /*#__PURE__*/React.createElement(Label, null, "\xA0"), /*#__PURE__*/React.createElement("span", {
4162
+ className: "generic-button clear-search",
4168
4163
  onClick: clearSearch,
4169
4164
  style: {
4170
4165
  alignSelf: "center"
4171
4166
  }
4172
4167
  }, t("ES_COMMON_CLEAR_SEARCH"))), /*#__PURE__*/React.createElement("div", {
4173
- className: "finance-mainlayout-col1",
4174
- style: {
4175
- alignSelf: "flex-end"
4176
- }
4177
- }, /*#__PURE__*/React.createElement(SubmitBar, {
4168
+ className: "finance-mainlayout-col1"
4169
+ }, /*#__PURE__*/React.createElement(Label, null, "\xA0"), /*#__PURE__*/React.createElement(SubmitBar, {
4178
4170
  label: t("ES_COMMON_SEARCH"),
4179
4171
  onSubmit: () => handleSearch()
4180
4172
  }))), /*#__PURE__*/React.createElement("div", {
@@ -7195,20 +7187,16 @@ const SearchFillingPointAddress = () => {
7195
7187
  select: setStatus,
7196
7188
  t: t
7197
7189
  })), /*#__PURE__*/React.createElement("div", {
7198
- style: {
7199
- display: "flex",
7200
- marginTop: "32px",
7201
- justifyContent: isMobile ? "center" : "flex-end",
7202
- flexDirection: isMobile ? "column-reverse" : "row",
7203
- gap: "16px"
7204
- }
7205
- }, /*#__PURE__*/React.createElement("span", {
7206
- className: "clear-search",
7190
+ className: "finance-mainlayout-col1"
7191
+ }, /*#__PURE__*/React.createElement(Label, null, "\xA0"), /*#__PURE__*/React.createElement("span", {
7192
+ className: "generic-button clear-search",
7207
7193
  onClick: clearSearch,
7208
7194
  style: {
7209
7195
  alignSelf: "center"
7210
7196
  }
7211
- }, t("ES_COMMON_CLEAR_SEARCH")), /*#__PURE__*/React.createElement(SubmitBar, {
7197
+ }, t("ES_COMMON_CLEAR_SEARCH"))), /*#__PURE__*/React.createElement("div", {
7198
+ className: "finance-mainlayout-col1"
7199
+ }, /*#__PURE__*/React.createElement(Label, null, "\xA0"), /*#__PURE__*/React.createElement(SubmitBar, {
7212
7200
  label: t("ES_COMMON_SEARCH"),
7213
7201
  onSubmit: onSearch
7214
7202
  })))), /*#__PURE__*/React.createElement(Card, null, /*#__PURE__*/React.createElement(ApplicationTable, {
@@ -7333,6 +7321,7 @@ const VendorAssign = ({
7333
7321
  const {
7334
7322
  t
7335
7323
  } = useTranslation();
7324
+ const history = useHistory();
7336
7325
  const [showToast, setShowToast] = useState(null);
7337
7326
  const [vendor, setVendor] = useState(null);
7338
7327
  const [validFrom, setValidFrom] = useState("");
@@ -7399,6 +7388,9 @@ const VendorAssign = ({
7399
7388
  isError: false,
7400
7389
  label: t("ES_COMMON_SAVE_SUCCESS")
7401
7390
  });
7391
+ setTimeout(() => {
7392
+ history.push("/digit-ui/employee/vendor/search-vendor");
7393
+ }, 3000);
7402
7394
  },
7403
7395
  onError: err => {
7404
7396
  var _err$response, _err$response$data, _err$response$data$Er, _err$response$data$Er2;