ra-element 0.1.23 → 0.1.24

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.
@@ -42416,7 +42416,9 @@ const E7 = {
42416
42416
  // @doc v-model绑定,如果不使用,options必须配置,最后通过ref的getFormData获取form数据
42417
42417
  modelValue: { type: Object },
42418
42418
  // @doc inline时候的每个item的margin-right距离,默认20
42419
- itemMarginRight: { type: Number, default: 20 }
42419
+ itemMarginRight: { type: Number, default: 20 },
42420
+ // @doc 表单验证规则
42421
+ rules: { type: Object, default: () => ({}) }
42420
42422
  },
42421
42423
  emits: ["update:modelValue", "itemChange"],
42422
42424
  setup(e, { expose: t, emit: n }) {
@@ -42478,7 +42480,8 @@ const E7 = {
42478
42480
  ref: f
42479
42481
  }, $.$attrs, {
42480
42482
  model: v.value,
42481
- inline: typeof e.inline == "number" ? !0 : e.inline
42483
+ inline: typeof e.inline == "number" ? !0 : e.inline,
42484
+ rules: e.rules
42482
42485
  }), {
42483
42486
  default: W(() => [
42484
42487
  U($.$slots, "default", {}, void 0, !0),
@@ -42587,10 +42590,10 @@ const E7 = {
42587
42590
  }, 1040, ["style"]))), 128))
42588
42591
  ]),
42589
42592
  _: 3
42590
- }, 16, ["class", "model", "inline"]);
42593
+ }, 16, ["class", "model", "inline", "rules"]);
42591
42594
  };
42592
42595
  }
42593
- }), T7 = /* @__PURE__ */ Qn($7, [["__scopeId", "data-v-6cad5943"]]), O7 = ["innerHTML"], N7 = /* @__PURE__ */ H({
42596
+ }), T7 = /* @__PURE__ */ Qn($7, [["__scopeId", "data-v-9908708f"]]), O7 = ["innerHTML"], N7 = /* @__PURE__ */ H({
42594
42597
  name: "RaHelpTip",
42595
42598
  __name: "index",
42596
42599
  props: {