ra-element 0.1.10 → 0.1.11

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.
@@ -43134,6 +43134,8 @@ const W7 = {
43134
43134
  total: { type: Number, default: 0 },
43135
43135
  // @doc 分页layout布局,默认为total, prev, pager, next
43136
43136
  layout: { type: String, default: "total, prev, pager, next, sizes, jumper" },
43137
+ // @doc 启用表格上方一层div,可以插入各个组件
43138
+ enableTopLine: { type: Boolean, default: !1 },
43137
43139
  // @doc 启用选择功能
43138
43140
  enableSelection: { type: Boolean, default: !1 },
43139
43141
  // @doc 是否开启显示列功能
@@ -43217,7 +43219,8 @@ const W7 = {
43217
43219
  }), (C, _) => {
43218
43220
  const T = K7, M = Tf, I = V7, $ = h0, P = Ol;
43219
43221
  return E(), D("div", G7, [
43220
- Y(T, {
43222
+ e.enableTopLine ? (E(), ne(T, {
43223
+ key: 0,
43221
43224
  modelValue: f.value,
43222
43225
  "onUpdate:modelValue": _[0] || (_[0] = (R) => f.value = R),
43223
43226
  onExportTable: g,
@@ -43240,7 +43243,7 @@ const W7 = {
43240
43243
  U(C.$slots, "rightModuleRight", {}, void 0, !0)
43241
43244
  ]),
43242
43245
  _: 3
43243
- }, 8, ["modelValue", "pageTotal", "selectOptions", "enableFilterColumn", "exportButtonText", "exportNumberLimit"]),
43246
+ }, 8, ["modelValue", "pageTotal", "selectOptions", "enableFilterColumn", "exportButtonText", "exportNumberLimit"])) : J("", !0),
43244
43247
  Ye((E(), ne($, Pe({
43245
43248
  key: e.tableKey,
43246
43249
  class: ["table-wrap", i.value],
@@ -43327,7 +43330,7 @@ const W7 = {
43327
43330
  ]);
43328
43331
  };
43329
43332
  }
43330
- }), Z7 = /* @__PURE__ */ Qn(X7, [["__scopeId", "data-v-e25ebea4"]]), J7 = /* @__PURE__ */ H({
43333
+ }), Z7 = /* @__PURE__ */ Qn(X7, [["__scopeId", "data-v-d084bd99"]]), J7 = /* @__PURE__ */ H({
43331
43334
  name: "RaTextarea",
43332
43335
  __name: "index",
43333
43336
  props: {