@kp-ui/lowcode 2.14.0-beta.10 → 2.14.0-beta.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kp-ui/lowcode",
3
- "version": "2.14.0-beta.10",
3
+ "version": "2.14.0-beta.12",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -1,17 +1,17 @@
1
- import a from "../../../../utils/i18n.js";
2
- import o from "../../refMixinDesign.js";
1
+ import o from "../../../../utils/i18n.js";
2
+ import l from "../../refMixinDesign.js";
3
3
  import g from "../field-widget/index.js";
4
- import l from "./container-wrapper.vue.js";
5
- import { resolveComponent as c, createBlock as h, openBlock as n, withCtx as p, createElementBlock as m, withModifiers as f, normalizeClass as w, createElementVNode as r, toDisplayString as x } from "vue";
4
+ import c from "./container-wrapper.vue.js";
5
+ import { resolveComponent as h, createBlock as m, openBlock as r, withCtx as f, createElementBlock as p, withModifiers as w, normalizeClass as L, createElementVNode as d, toDisplayString as x } from "vue";
6
6
  /* empty css */
7
- import L from "../../../../../_virtual/_plugin-vue_export-helper.js";
7
+ import C from "../../../../../_virtual/_plugin-vue_export-helper.js";
8
8
  const W = {
9
9
  name: "vf-dialog-widget",
10
10
  componentName: "VfDialogWidget",
11
- mixins: [a, o],
11
+ mixins: [o, l],
12
12
  inject: ["refList"],
13
13
  components: {
14
- ContainerWrapper: l,
14
+ ContainerWrapper: c,
15
15
  ...g
16
16
  },
17
17
  props: {
@@ -38,6 +38,10 @@ const W = {
38
38
  this.initRefList();
39
39
  },
40
40
  methods: {
41
+ handleClickTitle() {
42
+ const e = new URL(window.location.href), { title: i, formCode: t } = this.widget.options;
43
+ t && (e.searchParams.set("formCode", t), e.searchParams.set("remark", i), window.open(e.href));
44
+ },
41
45
  onDialogDragEnd(e, i) {
42
46
  },
43
47
  onDialogDragAdd(e, i) {
@@ -71,31 +75,34 @@ const W = {
71
75
  }
72
76
  }
73
77
  }
74
- }, v = { class: "dialog-title" }, _ = { class: "tpf-link" };
75
- function u(e, i, t, C, D, s) {
76
- const d = c("container-wrapper");
77
- return n(), h(d, {
78
+ }, u = { class: "dialog-title" };
79
+ function v(e, i, t, k, D, s) {
80
+ const a = h("container-wrapper");
81
+ return r(), m(a, {
78
82
  designer: t.designer,
79
83
  widget: t.widget,
80
84
  "parent-widget": t.parentWidget,
81
85
  "parent-list": t.parentList,
82
86
  "index-of-parent-list": t.indexOfParentList
83
87
  }, {
84
- default: p(() => [
85
- (n(), m("div", {
86
- class: w(["dialog-container", [s.selected ? "selected" : "", s.customClass]]),
88
+ default: f(() => [
89
+ (r(), p("div", {
90
+ class: L(["dialog-container", [s.selected ? "selected" : "", s.customClass]]),
87
91
  key: t.widget.id,
88
- onClick: i[0] || (i[0] = f((O) => s.selectWidget(t.widget), ["stop"]))
92
+ onClick: i[1] || (i[1] = w((n) => s.selectWidget(t.widget), ["stop"]))
89
93
  }, [
90
- r("div", v, [
91
- r("div", _, x(t.widget.options.title), 1)
94
+ d("div", u, [
95
+ d("span", {
96
+ class: "tpf-link",
97
+ onClick: i[0] || (i[0] = (...n) => s.handleClickTitle && s.handleClickTitle(...n))
98
+ }, x(t.widget.options.title), 1)
92
99
  ])
93
100
  ], 2))
94
101
  ]),
95
102
  _: 1
96
103
  }, 8, ["designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"]);
97
104
  }
98
- const I = /* @__PURE__ */ L(W, [["render", u], ["__scopeId", "data-v-2de14bf1"]]);
105
+ const E = /* @__PURE__ */ C(W, [["render", v], ["__scopeId", "data-v-01fa659b"]]);
99
106
  export {
100
- I as default
107
+ E as default
101
108
  };
@@ -193,7 +193,7 @@ function M(e, n, i, N, E, t) {
193
193
  _: 1
194
194
  }, 8, ["component-size"]);
195
195
  }
196
- const B = /* @__PURE__ */ L(R, [["render", M], ["__scopeId", "data-v-3d0205b7"]]);
196
+ const B = /* @__PURE__ */ L(R, [["render", M], ["__scopeId", "data-v-2e1bcbef"]]);
197
197
  export {
198
198
  B as default
199
199
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./data-table-tableColumns-editor.vue2.js";
2
2
  /* empty css */
3
- import a from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ a(o, [["__scopeId", "data-v-b0d9c3ea"]]);
3
+ import t from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-3647cef7"]]);
5
5
  export {
6
6
  m as default
7
7
  };