qidian-vue-ui 1.0.96 → 1.0.97

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.
@@ -12762,8 +12762,8 @@ const QdConfigProvider = vue.defineComponent({
12762
12762
  vue.watchEffect(async () => {
12763
12763
  const localeMap = {
12764
12764
  "zh-CN": () => Promise.resolve().then(() => zhCN$1),
12765
- "zh-TW": () => Promise.resolve().then(() => require("./zh-TW-DGz9UUnr.js")),
12766
- "en-US": () => Promise.resolve().then(() => require("./en-US-Cbar2SsB.js"))
12765
+ "zh-TW": () => Promise.resolve().then(() => require("./zh-TW-BL0ZJ55v.js")),
12766
+ "en-US": () => Promise.resolve().then(() => require("./en-US-BviPtLaZ.js"))
12767
12767
  };
12768
12768
  const loadLocale = localeMap[props.locale] || localeMap["zh-CN"];
12769
12769
  const [err, res] = await to(
@@ -14053,6 +14053,10 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
14053
14053
  currentContext
14054
14054
  );
14055
14055
  componentProps2[key] = result.value;
14056
+ } else if (typeof value === "function" && key.startsWith("on")) {
14057
+ componentProps2[key] = (...args) => {
14058
+ return value(currentContext.value, ...args);
14059
+ };
14056
14060
  } else {
14057
14061
  componentProps2[key] = value;
14058
14062
  }
@@ -15735,6 +15739,9 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
15735
15739
  firstLoad,
15736
15740
  manualTriggerLoad,
15737
15741
  loading,
15742
+ current,
15743
+ pageSize,
15744
+ total,
15738
15745
  changeCurrent,
15739
15746
  changePageSize,
15740
15747
  changePagination,
@@ -15800,7 +15807,7 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
15800
15807
  };
15801
15808
  }
15802
15809
  });
15803
- const QdServiceTable = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-dcd10848"]]);
15810
+ const QdServiceTable = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-5a4b2682"]]);
15804
15811
  const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
15805
15812
  ...{
15806
15813
  name: "QdServiceList"
@@ -17126,6 +17133,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
17126
17133
  passive: true
17127
17134
  });
17128
17135
  const { t } = useConfig("crud");
17136
+ const formRef = vue.useTemplateRef("form");
17129
17137
  const formSubmitLoad = vue.ref(false);
17130
17138
  const reProps = vue.computed(() => {
17131
17139
  const {
@@ -17155,6 +17163,10 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
17155
17163
  },
17156
17164
  qdDialogOptions: {
17157
17165
  ...wrapper,
17166
+ onOpened: () => {
17167
+ wrapper.onOpened?.();
17168
+ Object.assign(expose, formRef.value);
17169
+ },
17158
17170
  confirmLoading: reConfirmLoading,
17159
17171
  closeOnEscKeydown: loading || reConfirmLoading ? false : wrapper.closeOnEscKeydown,
17160
17172
  closeOnOverlayClick: loading || reConfirmLoading ? false : wrapper.closeOnOverlayClick,
@@ -17173,7 +17185,6 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
17173
17185
  models: { data: data2, visible: inVisible }
17174
17186
  };
17175
17187
  });
17176
- const formRef = vue.useTemplateRef("form");
17177
17188
  function show(newData) {
17178
17189
  if (newData != void 0) data.value = newData;
17179
17190
  visible.value = true;
@@ -17185,9 +17196,6 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
17185
17196
  show,
17186
17197
  hide
17187
17198
  };
17188
- vue.onMounted(() => {
17189
- Object.assign(expose, formRef.value);
17190
- });
17191
17199
  __expose(expose);
17192
17200
  return (_ctx, _cache) => {
17193
17201
  return vue.openBlock(), vue.createBlock(_sfc_main$e, vue.mergeProps({
@@ -19098,7 +19106,7 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
19098
19106
  };
19099
19107
  }
19100
19108
  });
19101
- const table = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-94011095"]]);
19109
+ const table = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-7532ec3d"]]);
19102
19110
  const _hoisted_1$2 = {
19103
19111
  key: 0,
19104
19112
  class: "qd-crud-list__header"
@@ -28297,7 +28305,7 @@ class NodeFilterFactory extends BaseFilterFactory {
28297
28305
  }
28298
28306
  class NodeCanvasFactory extends BaseCanvasFactory {
28299
28307
  _createCanvas(width, height) {
28300
- 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-DUtSEQJ3.js", document.baseURI).href);
28308
+ 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-tSsnJxCl.js", document.baseURI).href);
28301
28309
  const canvas = require$1("@napi-rs/canvas");
28302
28310
  return canvas.createCanvas(width, height);
28303
28311
  }
@@ -55381,4 +55389,4 @@ exports.useDictDynamic = useDictDynamic;
55381
55389
  exports.useDisabled = useDisabled;
55382
55390
  exports.useModal = useModal;
55383
55391
  exports.useReadonly = useReadonly;
55384
- //# sourceMappingURL=index-DUtSEQJ3.js.map
55392
+ //# sourceMappingURL=index-tSsnJxCl.js.map