qidian-vue-ui 1.1.7 → 1.1.8

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.
@@ -12774,8 +12774,8 @@ const QdConfigProvider = vue.defineComponent({
12774
12774
  vue.watchEffect(async () => {
12775
12775
  const localeMap = {
12776
12776
  "zh-CN": () => Promise.resolve().then(() => zhCN$1),
12777
- "zh-TW": () => Promise.resolve().then(() => require("./zh-TW-CPCj26uh.js")),
12778
- "en-US": () => Promise.resolve().then(() => require("./en-US-DXG9LD9M.js"))
12777
+ "zh-TW": () => Promise.resolve().then(() => require("./zh-TW-DDJbkEBG.js")),
12778
+ "en-US": () => Promise.resolve().then(() => require("./en-US-BMj7fOeo.js"))
12779
12779
  };
12780
12780
  const loadLocale = localeMap[props.locale] || localeMap["zh-CN"];
12781
12781
  const [err, res] = await to(
@@ -17234,6 +17234,10 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
17234
17234
  wrapper.onOpened?.();
17235
17235
  Object.assign(expose, formRef.value);
17236
17236
  },
17237
+ onClose: (context) => {
17238
+ wrapper.onClose?.(context);
17239
+ formRef.value?.reset();
17240
+ },
17237
17241
  confirmLoading: reConfirmLoading,
17238
17242
  closeOnEscKeydown: loading || reConfirmLoading ? false : wrapper.closeOnEscKeydown,
17239
17243
  closeOnOverlayClick: loading || reConfirmLoading ? false : wrapper.closeOnOverlayClick,
@@ -28427,7 +28431,7 @@ class NodeFilterFactory extends BaseFilterFactory {
28427
28431
  }
28428
28432
  class NodeCanvasFactory extends BaseCanvasFactory {
28429
28433
  _createCanvas(width, height) {
28430
- const require$1 = process.getBuiltinModule("module").createRequire(typeof document === "undefined" ? require("url").pathToFileURL(__filename).href : _documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === "SCRIPT" && _documentCurrentScript.src || new URL("index-OO-422ST.js", document.baseURI).href);
28434
+ const require$1 = process.getBuiltinModule("module").createRequire(typeof document === "undefined" ? require("url").pathToFileURL(__filename).href : _documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === "SCRIPT" && _documentCurrentScript.src || new URL("index-DERmcLRl.js", document.baseURI).href);
28431
28435
  const canvas = require$1("@napi-rs/canvas");
28432
28436
  return canvas.createCanvas(width, height);
28433
28437
  }
@@ -55780,4 +55784,4 @@ exports.useDictDynamic = useDictDynamic;
55780
55784
  exports.useDisabled = useDisabled;
55781
55785
  exports.useModal = useModal;
55782
55786
  exports.useReadonly = useReadonly;
55783
- //# sourceMappingURL=index-OO-422ST.js.map
55787
+ //# sourceMappingURL=index-DERmcLRl.js.map