sales-frontend-components 0.0.161 → 0.0.163

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.
package/dist/index.esm.js CHANGED
@@ -4366,7 +4366,7 @@ function DudUpload() {
4366
4366
  function DudDownload() {
4367
4367
  const [fileId, setFileId] = useState("");
4368
4368
  const [enabled, setEnable] = useState(false);
4369
- const { data } = useDudExternalFileDownloadQuery(
4369
+ const { data, isError, isSuccess } = useDudExternalFileDownloadQuery(
4370
4370
  {
4371
4371
  fileMgmtId: fileId,
4372
4372
  outputType: "BINARY"
@@ -4385,7 +4385,9 @@ function DudDownload() {
4385
4385
  return /* @__PURE__ */ jsxs(Fragment, { children: [
4386
4386
  /* @__PURE__ */ jsx("input", { type: "text", value: fileId, onChange: (e) => setFileId(e.target.value) }),
4387
4387
  /* @__PURE__ */ jsx("input", { type: "button", value: "down", onClick: () => setEnable(true) }),
4388
- JSON.stringify(data)
4388
+ JSON.stringify(data),
4389
+ isError && /* @__PURE__ */ jsx("div", { children: "\uC5D0\uB7EC" }),
4390
+ isSuccess && /* @__PURE__ */ jsx("div", { children: "\uC131\uACF5" })
4389
4391
  ] });
4390
4392
  }
4391
4393