oeos-components 0.1.82 → 0.1.83

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.
@@ -4317,7 +4317,7 @@ const ih = u({ name: "OInput" }), sh = u({ ...ih, props: { modelValue: { require
4317
4317
  } }), Th = he(pe(Oh, [["__scopeId", "data-v-e4d22171"]])), Nh = u({ name: "OSwitch" }), jh = he(pe(u({ ...Nh, setup: (e) => (ze(), (n, a) => {
4318
4318
  const o = Y("el-switch");
4319
4319
  return d(), N(o, G(n.$attrs, { class: "o-custom-switch" }), null, 16);
4320
- }) }), [["__scopeId", "data-v-ef67cc48"]])), ra = (e) => (_1("data-v-d3c56419"), e = e(), M1(), e), Dh = { class: "o-table" }, Fh = ra(() => l("span", null, "序号", -1)), Rh = ["onClick"], Ph = { key: 2 }, Wh = { key: 3 }, qh = { key: 0, style: { height: "64px" } }, Uh = { class: "page-wrap" }, Gh = { class: "page-left" }, Jh = ra(() => l("span", null, "共", -1)), Zh = { class: "m-lr-5" }, Qh = ra(() => l("span", null, "项数据", -1)), Kh = u({ name: "OTable" }), Xh = u({ ...Kh, props: { data: { type: Array, default: () => [] }, columns: { type: Array, default: () => [] }, showPage: { type: Boolean, default: !0 }, showIndex: { type: Boolean, default: !0 }, pageSize: { type: Number, default: 30 }, pageSizes: { type: Array, default: () => [10, 30, 50, 100] }, total: { type: Number }, columnEmptyText: { type: String, default: "-" } }, emits: ["update"], setup(e, { emit: n }) {
4320
+ }) }), [["__scopeId", "data-v-ef67cc48"]])), ra = (e) => (_1("data-v-ffd4459e"), e = e(), M1(), e), Dh = { class: "o-table" }, Fh = ra(() => l("span", null, "序号", -1)), Rh = ["onClick"], Ph = { key: 2 }, Wh = { key: 3 }, qh = { key: 0, style: { height: "64px" } }, Uh = { class: "page-wrap" }, Gh = { class: "page-left" }, Jh = ra(() => l("span", null, "共", -1)), Zh = { class: "m-lr-5" }, Qh = ra(() => l("span", null, "项数据", -1)), Kh = u({ name: "OTable" }), Xh = u({ ...Kh, props: { data: { type: Array, default: () => [] }, columns: { type: Array, default: () => [] }, showPage: { type: Boolean, default: !0 }, showIndex: { type: Boolean, default: !0 }, pageSize: { type: Number, default: 30 }, pageSizes: { type: Array, default: () => [10, 30, 50, 100] }, total: { type: Number }, columnEmptyText: { type: String, default: "-" } }, emits: ["update"], setup(e, { emit: n }) {
4321
4321
  const a = e, o = R(null), r = H(() => a.total || a.data.length), t = R(a.pageSize), c = n, i = R([]);
4322
4322
  ce(() => a.columns, () => {
4323
4323
  i.value = a.columns.map((C) => {
@@ -4357,7 +4357,7 @@ const ih = u({ name: "OInput" }), sh = u({ ...ih, props: { modelValue: { require
4357
4357
  return (ne = E.handler) == null ? void 0 : ne.call(E, I.row, I);
4358
4358
  } }, { default: O(() => [E.useSlot ? W(C.$slots, E.prop, { key: 0, row: I.row, scope: I, value: I.row[E.prop] }, void 0, !0) : (d(), s(re, { key: 1 }, [E.comp ? (d(), N(ye(E.comp), G({ key: 0 }, E.attrs, { disabled: p(E.disabled, I.row, I) }), null, 16, ["disabled"])) : (d(), N(B, G({ key: 1 }, { ...E }, { link: "", class: "hide-btns-button", disabled: p(E.disabled, I.row, I) }), { default: O(() => [ue(X(m(E.content, I.row, I)), 1)]), _: 2 }, 1040, ["disabled"]))], 64))]), _: 2 }, 1032, ["onClick"])) : Z("", !0)], 64))), 128))]), _: 2 }, 1024)]), default: O(() => [ee(A(K2), { name: "more" })]), _: 2 }, 1024)) : Z("", !0)], 64)) : Z("", !0)]), _: 2 }, 1040)) : (d(), N(_, Z2(G({ key: 2 }, { ...L })), { default: O((I) => [L.useSlot ? W(C.$slots, L.prop, { key: 0, row: I.row, scope: I, value: I.row[L.prop] }, void 0, !0) : L.handler ? (d(), s("span", { key: 1, class: "hide-btns-button", onClick: Ye((E) => L.handler(I.row, I), ["stop"]) }, [l("span", null, X(L.filter ? L.filter(I.row[L.prop], I.row, I) : v(I, L)), 1)], 8, Rh)) : L.filter ? (d(), s("span", Ph, X(L.filter(I.row[L.prop], I.row, I)), 1)) : (d(), s("span", Wh, X(v(I, L)), 1))]), _: 2 }, 1040))], 64)) : Z("", !0)], 64))), 128))]), _: 3 }, 16, ["data", "header-cell-style"]), e.showPage ? (d(), s("div", qh, [l("div", Uh, [l("div", Gh, [Jh, l("span", Zh, X(r.value), 1), Qh]), ee(P, { class: "tab_pagination", background: "", "current-page": x.value, "page-size": t.value, "page-sizes": e.pageSizes, layout: "prev, pager, next, sizes, jumper", total: r.value, onSizeChange: f, onCurrentChange: w }, null, 8, ["current-page", "page-size", "page-sizes", "total"])])])) : Z("", !0)]);
4359
4359
  };
4360
- } }), Yh = he(pe(Xh, [["__scopeId", "data-v-d3c56419"]])), $h = u({ name: "OText" }), e7 = u({ ...$h, props: { lineClamp: { type: [String, Number] }, tippyProps: { type: Object, default: () => ({}) } }, setup(e) {
4360
+ } }), Yh = he(pe(Xh, [["__scopeId", "data-v-ffd4459e"]])), $h = u({ name: "OText" }), e7 = u({ ...$h, props: { lineClamp: { type: [String, Number] }, tippyProps: { type: Object, default: () => ({}) } }, setup(e) {
4361
4361
  const n = e, a = X2(), o = R(), r = R(), t = () => ({ content: Re(a.content || a.default), ...n.tippyProps });
4362
4362
  function c(i) {
4363
4363
  var m;