jtxa-ui 1.1.9 → 1.2.0

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.
@@ -1,9 +1,9 @@
1
- import { defineAsyncComponent as d, ref as r, onMounted as u, onActivated as s, openBlock as f, createElementBlock as g, createVNode as p, unref as b, createCommentVNode as v } from "vue";
2
- import { _ as y } from "./index-DFHUaVbw.js";
1
+ import { defineAsyncComponent as u, ref as n, onMounted as l, onActivated as s, openBlock as f, createElementBlock as g, createVNode as p, unref as v, createCommentVNode as b } from "vue";
2
+ import { _ as y } from "./index-B3eaM1vJ.js";
3
3
  const h = {
4
4
  key: 0,
5
5
  class: "jt-form-mttable-pc"
6
- }, j = {
6
+ }, x = {
7
7
  __name: "jt-form-mttable-pc",
8
8
  props: {
9
9
  page: {
@@ -16,9 +16,9 @@ const h = {
16
16
  }
17
17
  },
18
18
  emits: ["update:modelValue"],
19
- setup(e, { expose: m, emit: x }) {
20
- const c = d({
21
- loader: () => import("./index-DFHUaVbw.js").then((n) => n.a),
19
+ setup(e, { expose: r, emit: C }) {
20
+ const m = u({
21
+ loader: () => import("./index-B3eaM1vJ.js").then((a) => a.a),
22
22
  loadingComponent: {
23
23
  template: '<div class="mtt-loading">组件加载中...</div>'
24
24
  },
@@ -27,25 +27,25 @@ const h = {
27
27
  },
28
28
  delay: 200,
29
29
  timeout: 1e4
30
- }), t = e, a = r(), o = r(!1);
31
- console.log("jt-form-mttable-pc props.page => ", t.page), u(() => {
32
- o.value = !0, console.log("jt-form-mttable-pc onMounted => ", t.page);
30
+ }), i = e, o = n(), t = n(!1);
31
+ l(() => {
32
+ t.value = !0;
33
33
  }), s(() => {
34
- o.value = !0, console.log("jt-form-mttable-pc onActivated => ", t.page);
34
+ t.value = !0;
35
35
  });
36
- function l() {
37
- return Promise.resolve(t.page?.model || {});
36
+ function c() {
37
+ return Promise.resolve(i.page?.model || {});
38
38
  }
39
- function i() {
40
- console.log("jt-form-mttable-pc onActivated => ", t.page), a.value?.search?.();
39
+ function d() {
40
+ o.value?.search?.();
41
41
  }
42
- return m({
43
- validateForm: l,
44
- reload: i
45
- }), (n, C) => o.value ? (f(), g("div", h, [
46
- p(b(c), {
42
+ return r({
43
+ validateForm: c,
44
+ reload: d
45
+ }), (a, P) => t.value ? (f(), g("div", h, [
46
+ p(v(m), {
47
47
  ref_key: "mttRef",
48
- ref: a,
48
+ ref: o,
49
49
  subTable: !0,
50
50
  compPath: e.page.submit || e.page.path,
51
51
  config: e.page.queryConfig || e.page.config || e.page.mttConfig,
@@ -55,9 +55,9 @@ const h = {
55
55
  needRoot: e.page.needRoot !== !1,
56
56
  axios: e.axios
57
57
  }, null, 8, ["compPath", "config", "mode", "rootQueryParams", "buttonWidth", "needRoot", "axios"])
58
- ])) : v("", !0);
58
+ ])) : b("", !0);
59
59
  }
60
- }, k = /* @__PURE__ */ y(j, [["__scopeId", "data-v-5cfc2267"]]);
60
+ }, k = /* @__PURE__ */ y(x, [["__scopeId", "data-v-069b4fa3"]]);
61
61
  export {
62
62
  k as default
63
63
  };