@a2simcode/ui 0.0.250 → 0.0.252

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.
@@ -6,6 +6,8 @@ export interface InputLayerProps {
6
6
  icon?: string;
7
7
  /** 弹窗宽度 */
8
8
  width?: number;
9
+ /** 弹窗宽度,区分子表时,设置的列宽度 */
10
+ layerWidth?: number;
9
11
  /** 弹窗高度 */
10
12
  height?: number;
11
13
  /** 弹窗标题 */
@@ -5293,7 +5293,7 @@ var Dp = class {
5293
5293
  type: u.value,
5294
5294
  config: h.value,
5295
5295
  children: n.children
5296
- })), b = P(() => nl(u.value) && !h.value?.notInput || h.value?.isInput), x = P(() => h.value.notShowLabel ? "" : h.value.label || ""), w = P(() => x.value === "" ? 0 : h.value?.labelWidth || r.value), m = P(() => (h.value?.rule || []).some((C) => C.required === !0)), y = P(() => o?.value?.[n.id]?.msg || "");
5296
+ })), b = P(() => nl(u.value) && !h.value?.notInput || h.value?.isInput), x = P(() => h.value.notLabel ? "" : h.value.label || ""), w = P(() => x.value === "" ? 0 : h.value?.labelWidth || r.value), m = P(() => (h.value?.rule || []).some((C) => C.required === !0)), y = P(() => o?.value?.[n.id]?.msg || "");
5297
5297
  return (C, v) => {
5298
5298
  const _ = F("j-comp"), S = F("el-form-item"), R = F("el-col");
5299
5299
  return p.value && !e.isNotCol ? (k(), N(R, {
@@ -14386,6 +14386,7 @@ var Jc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14386
14386
  modelValue: { default: "" },
14387
14387
  icon: { default: "mdi:library-edit-outline" },
14388
14388
  width: { default: 800 },
14389
+ layerWidth: {},
14389
14390
  height: { default: 600 },
14390
14391
  title: {},
14391
14392
  placeholder: { default: "请选择" },
@@ -14540,7 +14541,7 @@ var Jc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14540
14541
  ref_key: "layerRef",
14541
14542
  ref: r,
14542
14543
  title: e.title || e.placeholder,
14543
- width: e.width,
14544
+ width: e.layerWidth || e.width,
14544
14545
  height: e.height,
14545
14546
  "has-btns": !s.value,
14546
14547
  "btn-text": "确定",