@yetuzi/vue3-query-components 1.1.23 → 1.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.
package/dist/index.css CHANGED
@@ -1 +1 @@
1
- .common-query-table[data-v-0e89f666]{--spacing: 15px;width:100%;height:100%;flex:1;display:flex;flex-direction:column;box-sizing:border-box;padding:var(--spacing) 12px;overflow:hidden}[class^=common-query-table-][data-v-0e89f666]{width:100%}[class^=common-query-table-]+[class^=common-query-table-][data-v-0e89f666]{margin-top:var(--spacing)}.common-query-table .common-query-table-table[data-v-0e89f666]{flex:1;overflow:hidden}.el-form[data-v-f82b1e19]{margin-bottom:-18px!important}.el-form .el-form-item[data-v-f82b1e19] .el-form-item__content{width:var(--d1d7abb8);min-width:200px}.el-form .el-form-item[data-v-f82b1e19] .el-select,.el-form .el-form-item[data-v-f82b1e19] .el-input,.el-form .el-form-item[data-v-f82b1e19] .el-date-editor{width:100%}.common-table[data-v-ca0cecad]{width:100%;height:100%;display:flex;flex-direction:column}
1
+ .common-query-table[data-v-3c5635ab]{--spacing: 15px;width:100%;height:100%;flex:1;display:flex;flex-direction:column;box-sizing:border-box;padding:var(--spacing) 12px;overflow:hidden}[class^=common-query-table-][data-v-3c5635ab]{width:100%}[class^=common-query-table-]+[class^=common-query-table-][data-v-3c5635ab]{margin-top:var(--spacing)}.common-query-table .common-query-table-table[data-v-3c5635ab]{flex:1;overflow:hidden}.el-form[data-v-87d77281]{margin-bottom:-18px!important}.el-form .el-form-item[data-v-87d77281] .el-form-item__content{width:var(--de6a4f08);min-width:200px}.el-form .el-form-item[data-v-87d77281] .el-select,.el-form .el-form-item[data-v-87d77281] .el-input,.el-form .el-form-item[data-v-87d77281] .el-date-editor{width:100%}.common-table[data-v-4a754aba]{width:100%;height:100%;display:flex;flex-direction:column}
package/dist/index.js CHANGED
@@ -2140,9 +2140,7 @@ const wc = { class: "common-query-table" }, xc = /* @__PURE__ */ K({
2140
2140
  } }
2141
2141
  },
2142
2142
  setup(e) {
2143
- const t = qr.directive, n = e, r = Vr("CommonFormRef"), o = Bc(["table", "form", "pagination"]), u = Hc(["table", "form", "pagination"]);
2144
- console.log(u.value);
2145
- const a = Object.fromEntries(n.form.map((P) => [P.prop, P.initialValue])), i = at(), [s, l] = zc({
2143
+ const t = qr.directive, n = e, r = Vr("CommonFormRef"), o = Bc(["table", "form", "pagination"]), u = Hc(["table", "form", "pagination"]), a = Object.fromEntries(n.form.map((P) => [P.prop, P.initialValue])), i = at(), [s, l] = zc({
2146
2144
  pageNo: i.component.pagination.defaultPageCount,
2147
2145
  pageSize: i.component.pagination.defaultPageSize
2148
2146
  }), { data: c, loading: f, run: b } = lc(n.fetch, {
@@ -2246,7 +2244,7 @@ const wc = { class: "common-query-table" }, xc = /* @__PURE__ */ K({
2246
2244
  for (const [r, o] of t)
2247
2245
  n[r] = o;
2248
2246
  return n;
2249
- }, Zc = /* @__PURE__ */ Vt(xc, [["__scopeId", "data-v-0e89f666"]]), $c = /* @__PURE__ */ K({
2247
+ }, Zc = /* @__PURE__ */ Vt(xc, [["__scopeId", "data-v-3c5635ab"]]), $c = /* @__PURE__ */ K({
2250
2248
  name: "CommonForm",
2251
2249
  __name: "index",
2252
2250
  props: /* @__PURE__ */ ne({
@@ -2278,11 +2276,9 @@ const wc = { class: "common-query-table" }, xc = /* @__PURE__ */ K({
2278
2276
  emits: /* @__PURE__ */ ne(["submit", "reset"], ["update:loading"]),
2279
2277
  setup(e, { expose: t, emit: n }) {
2280
2278
  Ir((b) => ({
2281
- d1d7abb8: d(s).component.form.formItem.components.width
2279
+ de6a4f08: d(s).component.form.formItem.components.width
2282
2280
  }));
2283
- const r = e, o = Ie(), u = n, a = V();
2284
- console.log(o);
2285
- const i = Le(
2281
+ const r = e, o = Ie(), u = n, a = V(), i = Le(
2286
2282
  Object.fromEntries(r.form.map((b) => [b.prop, b.initialValue]))
2287
2283
  ), s = at(), l = oe(e, "loading");
2288
2284
  function c() {
@@ -2392,7 +2388,7 @@ const wc = { class: "common-query-table" }, xc = /* @__PURE__ */ K({
2392
2388
  _: 3
2393
2389
  }, 16, ["model"]));
2394
2390
  }
2395
- }), Sc = /* @__PURE__ */ Vt($c, [["__scopeId", "data-v-f82b1e19"]]);
2391
+ }), Sc = /* @__PURE__ */ Vt($c, [["__scopeId", "data-v-87d77281"]]);
2396
2392
  var Je = { exports: {} }, Tc = Je.exports, Cn;
2397
2393
  function Cc() {
2398
2394
  return Cn || (Cn = 1, (function(e, t) {
@@ -2768,7 +2764,6 @@ const On = /* @__PURE__ */ vc(Oc), Ec = {
2768
2764
  });
2769
2765
  return (a, i) => (j(), he("div", Pc, [
2770
2766
  Me(d(Gr), N($($({}, n), d(r)), {
2771
- headerCellStyle: d(t).component.table.headerCellStyle,
2772
2767
  height: "100%",
2773
2768
  ref_key: "ElTableRef",
2774
2769
  ref: o
@@ -2800,10 +2795,10 @@ const On = /* @__PURE__ */ vc(Oc), Ec = {
2800
2795
  ]), 1040))), 128))
2801
2796
  ]),
2802
2797
  _: 3
2803
- }, 16, ["headerCellStyle"])
2798
+ }, 16)
2804
2799
  ]));
2805
2800
  }
2806
- }), jc = /* @__PURE__ */ Vt(Ac, [["__scopeId", "data-v-ca0cecad"]]), Rc = /* @__PURE__ */ K({
2801
+ }), jc = /* @__PURE__ */ Vt(Ac, [["__scopeId", "data-v-4a754aba"]]), Rc = /* @__PURE__ */ K({
2807
2802
  name: "CommonPagination",
2808
2803
  __name: "index",
2809
2804
  props: /* @__PURE__ */ ne({
@@ -3238,14 +3233,7 @@ const Jc = "1.1.23", Wc = Le({
3238
3233
  defaultPageCount: 1,
3239
3234
  defaultPageSize: 10
3240
3235
  },
3241
- table: {
3242
- headerCellStyle: {
3243
- color: "#000000",
3244
- fontWeight: "normal",
3245
- height: "48px",
3246
- backgroundColor: "#f1f6ff"
3247
- }
3248
- },
3236
+ table: {},
3249
3237
  form: {
3250
3238
  submitText: "搜索",
3251
3239
  resetText: "重置",