jtxa-ui 1.0.0-beta.2 → 1.0.0-beta.4

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