@a2simcode/dui 0.0.60 → 0.0.61

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/dui.es.js CHANGED
@@ -11359,7 +11359,7 @@ var Q0 = { class: "d-layout" }, U0 = [
11359
11359
  }
11360
11360
  },
11361
11361
  setup(e) {
11362
- const A = e, { t } = tr(), n = yA(() => A.componentData.config?.notShowLabel ? "" : A.componentData.config?.label || ""), r = yA(() => n.value === "" ? 0 : A.componentData.config?.labelWidth === void 0 && A.globalConfig.labelWidth !== void 0 ? `${A.globalConfig.labelWidth}px` : A.componentData.config?.labelWidth ? `${A.componentData.config?.labelWidth}px` : void 0), s = yA(() => {
11362
+ const A = e, { t } = tr(), n = yA(() => A.componentData.config?.notLabel ? "" : A.componentData.config?.label || ""), r = yA(() => n.value === "" ? 0 : A.componentData.config?.labelWidth === void 0 && A.globalConfig.labelWidth !== void 0 ? `${A.globalConfig.labelWidth}px` : A.componentData.config?.labelWidth ? `${A.componentData.config?.labelWidth}px` : void 0), s = yA(() => {
11363
11363
  const u = { ...A.componentData?.config };
11364
11364
  return u.size === void 0 && (u.size = A.globalConfig.size), u.display = !0, u;
11365
11365
  });
@@ -11493,10 +11493,10 @@ var Q0 = { class: "d-layout" }, U0 = [
11493
11493
  id: "label",
11494
11494
  type: "j-input",
11495
11495
  config: { label: j || "标题" },
11496
- getCompConfig: ({ formData: _ }) => ({ display: NA !== !1 && !_.notShowLabel })
11496
+ getCompConfig: ({ formData: _ }) => ({ display: NA !== !1 && !_.notLabel })
11497
11497
  },
11498
11498
  {
11499
- id: "notShowLabel",
11499
+ id: "notLabel",
11500
11500
  type: "j-switch",
11501
11501
  config: {
11502
11502
  label: "不显示" + (j || "标题"),
@@ -11509,7 +11509,7 @@ var Q0 = { class: "d-layout" }, U0 = [
11509
11509
  id: "labelWidth",
11510
11510
  type: "j-number",
11511
11511
  config: { label: "标题宽度" },
11512
- getCompConfig: ({ formData: _ }) => ({ display: J && !_.notShowLabel && !_.isSubTable })
11512
+ getCompConfig: ({ formData: _ }) => ({ display: J && !_.notLabel && !_.isSubTable })
11513
11513
  },
11514
11514
  {
11515
11515
  id: "labelPosition",
@@ -11531,7 +11531,7 @@ var Q0 = { class: "d-layout" }, U0 = [
11531
11531
  }
11532
11532
  ]
11533
11533
  },
11534
- getCompConfig: ({ formData: _ }) => ({ display: J && !_.notShowLabel && !_.isSubTable })
11534
+ getCompConfig: ({ formData: _ }) => ({ display: J && !_.notLabel && !_.isSubTable })
11535
11535
  },
11536
11536
  {
11537
11537
  id: "placeholder",