@yetuzi/vue3-query-components 1.1.12 → 1.1.13

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-ee2bbffc]{--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-ee2bbffc]{width:100%}[class^=common-query-table-]+[class^=common-query-table-][data-v-ee2bbffc]{margin-top:var(--spacing)}.common-query-table .common-query-table-table[data-v-ee2bbffc]{flex:1;overflow:hidden}.el-form[data-v-c4d2d6d9]{margin-bottom:-18px!important}.el-form .el-form-item[data-v-c4d2d6d9] .el-form-item__content{width:var(--a303f588);min-width:200px}.el-form .el-form-item[data-v-c4d2d6d9] .el-select,.el-form .el-form-item[data-v-c4d2d6d9] .el-input,.el-form .el-form-item[data-v-c4d2d6d9] .el-date-editor{width:100%}.common-table[data-v-5da80890]{width:100%;height:100%;display:flex;flex-direction:column}
1
+ .common-query-table[data-v-ee2bbffc]{--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-ee2bbffc]{width:100%}[class^=common-query-table-]+[class^=common-query-table-][data-v-ee2bbffc]{margin-top:var(--spacing)}.common-query-table .common-query-table-table[data-v-ee2bbffc]{flex:1;overflow:hidden}.el-form[data-v-3dbe168c]{margin-bottom:-18px!important}.el-form .el-form-item[data-v-3dbe168c] .el-form-item__content{width:var(--v132f6484);min-width:200px}.el-form .el-form-item[data-v-3dbe168c] .el-select,.el-form .el-form-item[data-v-3dbe168c] .el-input,.el-form .el-form-item[data-v-3dbe168c] .el-date-editor{width:100%}.common-table[data-v-5da80890]{width:100%;height:100%;display:flex;flex-direction:column}
package/dist/index.js CHANGED
@@ -2252,7 +2252,7 @@ const wc = { class: "common-query-table" }, xc = /* @__PURE__ */ Q({
2252
2252
  requireAsteriskPosition: {},
2253
2253
  labelWidth: { default: "auto" },
2254
2254
  labelSuffix: {},
2255
- inline: {},
2255
+ inline: { default: !0 },
2256
2256
  inlineMessage: {},
2257
2257
  statusIcon: {},
2258
2258
  showMessage: {},
@@ -2271,9 +2271,11 @@ const wc = { class: "common-query-table" }, xc = /* @__PURE__ */ Q({
2271
2271
  emits: /* @__PURE__ */ te(["submit", "reset"], ["update:loading"]),
2272
2272
  setup(e, { expose: t, emit: n }) {
2273
2273
  Fr((d) => ({
2274
- a303f588: m(s).component.form.formItem.components.width
2274
+ v132f6484: m(s).component.form.formItem.components.width
2275
2275
  }));
2276
- const r = e, o = n, i = Ct("elFormRef"), a = Ie(
2276
+ const r = e;
2277
+ console.log(r);
2278
+ const o = n, i = Ct("elFormRef"), a = Ie(
2277
2279
  Object.fromEntries(r.form.map((d) => [d.prop, d.initialValue]))
2278
2280
  ), s = ot(), u = oe(e, "loading");
2279
2281
  function l() {
@@ -2293,11 +2295,13 @@ const wc = { class: "common-query-table" }, xc = /* @__PURE__ */ Q({
2293
2295
  ref: i
2294
2296
  }, r, {
2295
2297
  model: a,
2298
+ inline: !1,
2296
2299
  onSubmit: y[0] || (y[0] = Ur(() => {
2297
2300
  }, ["prevent"]))
2298
2301
  }), {
2299
2302
  default: k(() => [
2300
2303
  (P(!0), he(Qe, null, le(e.form, (c) => (P(), F(m(Bt), U({ ref_for: !0 }, c.formItem, {
2304
+ label: c.label,
2301
2305
  prop: String(c.prop),
2302
2306
  key: c.prop
2303
2307
  }), {
@@ -2353,7 +2357,7 @@ const wc = { class: "common-query-table" }, xc = /* @__PURE__ */ Q({
2353
2357
  ], !0)
2354
2358
  ]),
2355
2359
  _: 2
2356
- }, 1040, ["prop"]))), 128)),
2360
+ }, 1040, ["label", "prop"]))), 128)),
2357
2361
  Me(m(Bt), { label: " " }, {
2358
2362
  default: k(() => [
2359
2363
  Me(m(Ht), {
@@ -2382,7 +2386,7 @@ const wc = { class: "common-query-table" }, xc = /* @__PURE__ */ Q({
2382
2386
  _: 3
2383
2387
  }, 16, ["model"]));
2384
2388
  }
2385
- }), Sc = /* @__PURE__ */ Vt($c, [["__scopeId", "data-v-c4d2d6d9"]]);
2389
+ }), Sc = /* @__PURE__ */ Vt($c, [["__scopeId", "data-v-3dbe168c"]]);
2386
2390
  var Xe = { exports: {} }, Tc = Xe.exports, Cn;
2387
2391
  function Cc() {
2388
2392
  return Cn || (Cn = 1, (function(e, t) {