qidian-vue-ui 1.1.6 → 1.1.7

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-XpacV6TK.js")),
12778
- "en-US": () => Promise.resolve().then(() => require("./en-US-Px1PHQVa.js"))
12777
+ "zh-TW": () => Promise.resolve().then(() => require("./zh-TW-CPCj26uh.js")),
12778
+ "en-US": () => Promise.resolve().then(() => require("./en-US-DXG9LD9M.js"))
12779
12779
  };
12780
12780
  const loadLocale = localeMap[props.locale] || localeMap["zh-CN"];
12781
12781
  const [err, res] = await to(
@@ -13979,7 +13979,8 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
13979
13979
  __name: "index",
13980
13980
  props: {
13981
13981
  config: {},
13982
- context: {}
13982
+ context: {},
13983
+ fnInjectCtx: { type: Boolean }
13983
13984
  },
13984
13985
  emits: ["vIfChange"],
13985
13986
  setup(__props, { emit: __emit }) {
@@ -14051,7 +14052,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
14051
14052
  currentContext
14052
14053
  );
14053
14054
  componentProps2[key] = result.value;
14054
- } else if (typeof value === "function" && key.startsWith("on")) {
14055
+ } else if (props.fnInjectCtx && typeof value === "function" && key.startsWith("on")) {
14055
14056
  componentProps2[key] = (...args) => {
14056
14057
  return value(currentContext.value, ...args);
14057
14058
  };
@@ -19075,6 +19076,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
19075
19076
  }, [getActionSeparator(item, {
19076
19077
  index: index2
19077
19078
  }) ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$1)) : vue.createCommentVNode("", true), vue.withDirectives(vue.createVNode(vue.unref(_sfc_main$j), {
19079
+ "fn-inject-ctx": "",
19078
19080
  context: getConfigRendererCtx(item),
19079
19081
  config: {
19080
19082
  is: vue.unref(tdesignVueNext.Button),
@@ -19186,6 +19188,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
19186
19188
  layout: "vertical"
19187
19189
  })) : vue.createCommentVNode("", true), vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$j), {
19188
19190
  key: `${slotProps.colIndex}.${slotProps.rowIndex}.${index2}.renderer`,
19191
+ "fn-inject-ctx": "",
19189
19192
  context: getConfigRendererCtx(item, slotProps),
19190
19193
  config: {
19191
19194
  is: vue.unref(tdesignVueNext.Link),
@@ -19225,7 +19228,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
19225
19228
  };
19226
19229
  }
19227
19230
  });
19228
- const table = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-99ff6f87"]]);
19231
+ const table = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-fc26ed53"]]);
19229
19232
  const _hoisted_1$3 = {
19230
19233
  key: 0,
19231
19234
  class: "qd-crud-list__header"
@@ -28424,7 +28427,7 @@ class NodeFilterFactory extends BaseFilterFactory {
28424
28427
  }
28425
28428
  class NodeCanvasFactory extends BaseCanvasFactory {
28426
28429
  _createCanvas(width, height) {
28427
- 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-C04tKvtW.js", document.baseURI).href);
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);
28428
28431
  const canvas = require$1("@napi-rs/canvas");
28429
28432
  return canvas.createCanvas(width, height);
28430
28433
  }
@@ -55777,4 +55780,4 @@ exports.useDictDynamic = useDictDynamic;
55777
55780
  exports.useDisabled = useDisabled;
55778
55781
  exports.useModal = useModal;
55779
55782
  exports.useReadonly = useReadonly;
55780
- //# sourceMappingURL=index-C04tKvtW.js.map
55783
+ //# sourceMappingURL=index-OO-422ST.js.map