hldesigner 0.0.140 → 0.0.141
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/{affix-widget-e9f4ff92.js → affix-widget-c0777ea0.js} +2 -2
- package/{alert-widget-f8492541.js → alert-widget-1415cd1e.js} +2 -2
- package/{auto-complete-widget-a0b415cf.js → auto-complete-widget-7d4db43a.js} +1 -1
- package/{avatar-widget-74be258b.js → avatar-widget-bcc3f4d5.js} +2 -2
- package/{backtop-widget-929ee9da.js → backtop-widget-a884fa53.js} +2 -2
- package/{badge-widget-f50f4050.js → badge-widget-dcd66eee.js} +2 -2
- package/{button-widget-5bfdf6f0.js → button-widget-b5fcd821.js} +2 -2
- package/{card-widget-3dbbe25c.js → card-widget-9693623e.js} +1 -1
- package/{configItem-19135463.js → configItem-49c17de8.js} +17 -17
- package/{cont-cell-widget-36e95947.js → cont-cell-widget-921029d4.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-8f80a9ab.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-535a226e.js} +1 -1
- package/{cont-widget-d6937503.js → cont-widget-cba5e898.js} +1 -1
- package/{default-slot-widget-4313bee1.js → default-slot-widget-72b6c85b.js} +2 -2
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-d044b7b5.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-d5d2bf13.js} +1 -1
- package/{descriptions-widget-a956acce.js → descriptions-widget-7d94d1f0.js} +1 -1
- package/designer.es.js +16 -16
- package/designer.style.css +1 -1
- package/designer.umd.js +1 -1
- package/{dialog-widget-9cc2e435.js → dialog-widget-179c5d85.js} +2 -2
- package/{divider-widget-c9f020f4.js → divider-widget-18bff6ed.js} +2 -2
- package/{drag-wrapper-dcfb2b05.js → drag-wrapper-b3d2e19c.js} +1 -1
- package/{drawer-widget-1411c746.js → drawer-widget-04226855.js} +2 -2
- package/{dropdown-widget-3afb9a01.js → dropdown-widget-e8414b0c.js} +1 -1
- package/{empty-widget-b0561328.js → empty-widget-ce397da2.js} +2 -2
- package/{feedback-widget-b3b7a152.js → feedback-widget-e8594a9a.js} +2 -2
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-0279221b.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-38d22796.js} +1 -1
- package/{file-upload-widget-91226370.js → file-upload-widget-185ac701.js} +1 -1
- package/{form-widget-2b6b1df1.js → form-widget-fd1a0eea.js} +1 -1
- package/{grid-col-widget-4c2b63ae.js → grid-col-widget-ec0de902.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-1910398b.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-46b2f307.js} +1 -1
- package/{grid-widget-62a6b660.js → grid-widget-5a9035fb.js} +1 -1
- package/{index-2edf2e79.js → index-1cbb32c9.js} +1 -1
- package/{index-1607f749.js → index-2015cdc8.js} +6 -6
- package/{index-9741d171.js → index-2fb87f1a.js} +3 -3
- package/{index-c84c0cb2.js → index-658f5e0c.js} +18 -18
- package/{index-3e51d8e3.js → index-742982e5.js} +18 -18
- package/{index-2ee58a8f.js → index-b9cb6d93.js} +16 -16
- package/{index-f04f299e.js → index-ea8cdd56.js} +1 -1
- package/{input-widget-9d1f6020.js → input-widget-71db8cc4.js} +1 -1
- package/{install-designer-aa026b32.js → install-designer-3b62fccb.js} +12 -12
- package/{link-widget-110d5e19.js → link-widget-aeb22e28.js} +2 -2
- package/{ltable-col-widget-ae1dc811.js → ltable-col-widget-41ef06e5.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-84dd9037.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-89f88e3b.js} +1 -1
- package/{ltable-widget-5f1c760b.js → ltable-widget-c9c7b137.js} +1 -1
- package/{multirow-widget-011cdfbf.js → multirow-widget-5a4b82af.js} +1 -1
- package/package.json +1 -1
- package/{progress-widget-124785f6.js → progress-widget-7b19631d.js} +1 -1
- package/{range-widget-4f193377.js → range-widget-72f68db5.js} +1 -1
- package/{reg-editor.vue_vue_type_script_setup_true_lang-76a91eb8.js → reg-editor.vue_vue_type_script_setup_true_lang-45d98d20.js} +1 -1
- package/{result-widget-d2757f64.js → result-widget-5cafce31.js} +1 -1
- package/{tab-pane-widget-a1afe582.js → tab-pane-widget-06a7009b.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-9fd91ccc.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-62571c7c.js} +1 -1
- package/{table-col-widget-bdd697a6.js → table-col-widget-3ebbf095.js} +2 -2
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-5c9ac743.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-4bf6c104.js} +1 -1
- package/{table-widget-76d6a54a.js → table-widget-8857ba46.js} +2 -2
- package/{tabs-widget-1965abaf.js → tabs-widget-634df297.js} +1 -1
- package/{tag-widget-02fd305d.js → tag-widget-a1482129.js} +2 -2
- package/{target-datasource-6b8f0618.js → target-datasource-546a3312.js} +18 -18
- package/{target-link-d5ead8dd.js → target-link-5c8967ac.js} +18 -18
- package/{target-saveForm-1983d67d.js → target-saveForm-6213d505.js} +18 -18
- package/{text-widget-b6abb538.js → text-widget-78adacb4.js} +2 -2
- package/{tmpl-widget-e4b998b0.js → tmpl-widget-1ecb22ef.js} +1 -1
- package/{verifycode-widget-480504a1.js → verifycode-widget-3e378dae.js} +56 -52
- package/{wrapper-widget-12384540.js → wrapper-widget-d1b95f93.js} +1 -1
|
@@ -2,7 +2,7 @@ import { defineComponent as E, ref as c, resolveComponent as o, openBlock as n,
|
|
|
2
2
|
import { c as C, e as _ } from "./enum-type-b832ec8a.js";
|
|
3
3
|
import { d as x } from "./enum-type-f5b76bdf.js";
|
|
4
4
|
import { s as S } from "./index-3b597f56.js";
|
|
5
|
-
import { _ as U } from "./reg-editor.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as U } from "./reg-editor.vue_vue_type_script_setup_true_lang-45d98d20.js";
|
|
6
6
|
import "./uuid-009aae31.js";
|
|
7
7
|
import "./optionItem-6a935391.js";
|
|
8
8
|
import "./baseImp-b5857827.js";
|
|
@@ -14,34 +14,34 @@ import "./icon-6342f929.js";
|
|
|
14
14
|
import "./dialog-0c8f5b0b.js";
|
|
15
15
|
import "element-plus";
|
|
16
16
|
import "./index-74922c1a.js";
|
|
17
|
-
import "./index-
|
|
17
|
+
import "./index-2015cdc8.js";
|
|
18
18
|
import "./emitter-10592b70.js";
|
|
19
|
-
import "./drag-wrapper-
|
|
19
|
+
import "./drag-wrapper-b3d2e19c.js";
|
|
20
20
|
import "./widget-base-4c2d6265.js";
|
|
21
21
|
import "./slot-55c73c2d.js";
|
|
22
22
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
23
23
|
import "./property-base-9b77b978.js";
|
|
24
24
|
import "./index-57792223.js";
|
|
25
|
-
import "./install-designer-
|
|
26
|
-
import "./cont-cell-widget-
|
|
27
|
-
import "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-
|
|
25
|
+
import "./install-designer-3b62fccb.js";
|
|
26
|
+
import "./cont-cell-widget-921029d4.js";
|
|
27
|
+
import "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-535a226e.js";
|
|
28
28
|
import "./share-field-ec11e3b0.js";
|
|
29
29
|
import "./multirow-4ef86b7f.js";
|
|
30
|
-
import "./cont-widget-
|
|
30
|
+
import "./cont-widget-cba5e898.js";
|
|
31
31
|
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1f903af2.js";
|
|
32
32
|
import "./index-14efe18d.js";
|
|
33
33
|
import "./fieldobj-26f8789d.js";
|
|
34
|
-
import "./form-widget-
|
|
35
|
-
import "./grid-col-widget-
|
|
36
|
-
import "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-
|
|
37
|
-
import "./grid-widget-
|
|
38
|
-
import "./ltable-col-widget-
|
|
39
|
-
import "./ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-
|
|
40
|
-
import "./ltable-widget-
|
|
41
|
-
import "./tab-pane-widget-
|
|
42
|
-
import "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-
|
|
43
|
-
import "./tabs-widget-
|
|
44
|
-
import "./wrapper-widget-
|
|
34
|
+
import "./form-widget-fd1a0eea.js";
|
|
35
|
+
import "./grid-col-widget-ec0de902.js";
|
|
36
|
+
import "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-46b2f307.js";
|
|
37
|
+
import "./grid-widget-5a9035fb.js";
|
|
38
|
+
import "./ltable-col-widget-41ef06e5.js";
|
|
39
|
+
import "./ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-89f88e3b.js";
|
|
40
|
+
import "./ltable-widget-c9c7b137.js";
|
|
41
|
+
import "./tab-pane-widget-06a7009b.js";
|
|
42
|
+
import "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-62571c7c.js";
|
|
43
|
+
import "./tabs-widget-634df297.js";
|
|
44
|
+
import "./wrapper-widget-d1b95f93.js";
|
|
45
45
|
import "./index-8d909f9a.js";
|
|
46
46
|
import "./setView-de8aaf40.js";
|
|
47
47
|
const W = { style: { width: "99.8%", "margin-top": "10px" } }, Ee = /* @__PURE__ */ E({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as s, createBlock as n, mergeProps as a, unref as c } from "vue";
|
|
2
2
|
import { I as f } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as l } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-
|
|
3
|
+
import { _ as l } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-d5d2bf13.js";
|
|
4
4
|
import { w as d } from "./expression-8b88cd21.js";
|
|
5
5
|
import { c as _ } from "./share-field-ec11e3b0.js";
|
|
6
6
|
import "./widget-base-4c2d6265.js";
|
|
@@ -21,7 +21,7 @@ import "./_plugin-vue_export-helper-dad06003.js";
|
|
|
21
21
|
import "./fieldobj-26f8789d.js";
|
|
22
22
|
import "./slot-55c73c2d.js";
|
|
23
23
|
import "./content-wrapper.vue_vue_type_script_setup_true_lang-c29a2dd2.js";
|
|
24
|
-
import "./drag-wrapper-
|
|
24
|
+
import "./drag-wrapper-b3d2e19c.js";
|
|
25
25
|
import "./source-map-b04aec4a.js";
|
|
26
26
|
import "./esprima-e8d15055.js";
|
|
27
27
|
import "./emitter-10592b70.js";
|
|
@@ -3,7 +3,7 @@ import { e as E, t as J, f as q } from "./enum-type-b832ec8a.js";
|
|
|
3
3
|
import { I as G } from "./widget-base-4c2d6265.js";
|
|
4
4
|
import { c as H } from "./share-field-ec11e3b0.js";
|
|
5
5
|
import { _ as K } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1f903af2.js";
|
|
6
|
-
import { D as v } from "./drag-wrapper-
|
|
6
|
+
import { D as v } from "./drag-wrapper-b3d2e19c.js";
|
|
7
7
|
import { i as Q, a as U } from "./slot-55c73c2d.js";
|
|
8
8
|
import { b as X } from "./multirow-4ef86b7f.js";
|
|
9
9
|
import { e as Y } from "./expression-8b88cd21.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as g, ref as v, onMounted as N, watch as k, openBlock as S, createElementBlock as w, createElementVNode as x, computed as C, nextTick as H, createBlock as P, mergeProps as b, unref as u, withCtx as W, createVNode as I } from "vue";
|
|
2
2
|
import { w as V } from "./expression-8b88cd21.js";
|
|
3
3
|
import { I as z } from "./field-base-5547436d.js";
|
|
4
|
-
import { c as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { S as
|
|
4
|
+
import { c as T } from "./share-field-ec11e3b0.js";
|
|
5
|
+
import { _ as B } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1f903af2.js";
|
|
6
|
+
import { S as E } from "./enum-type-b832ec8a.js";
|
|
7
7
|
import { _ as F } from "./_plugin-vue_export-helper-dad06003.js";
|
|
8
8
|
import "./source-map-b04aec4a.js";
|
|
9
9
|
import "./uuid-009aae31.js";
|
|
@@ -23,7 +23,7 @@ import "./index-74922c1a.js";
|
|
|
23
23
|
import "./multirow-4ef86b7f.js";
|
|
24
24
|
import "./index-14efe18d.js";
|
|
25
25
|
import "./fieldobj-26f8789d.js";
|
|
26
|
-
const L = { class: "s-canvas" },
|
|
26
|
+
const L = { class: "s-canvas" }, R = ["width", "height"], $ = /* @__PURE__ */ g({
|
|
27
27
|
__name: "_index",
|
|
28
28
|
props: {
|
|
29
29
|
identifyCode: {
|
|
@@ -79,81 +79,85 @@ const L = { class: "s-canvas" }, $ = ["width", "height"], j = /* @__PURE__ */ y(
|
|
|
79
79
|
default: 40
|
|
80
80
|
}
|
|
81
81
|
},
|
|
82
|
-
setup(
|
|
83
|
-
const t =
|
|
84
|
-
let i = n(e, o),
|
|
85
|
-
return "rgb(" + i + "," +
|
|
86
|
-
},
|
|
82
|
+
setup(d) {
|
|
83
|
+
const t = d, m = v(), n = (e, o) => Math.floor(Math.random() * (o - e) + e), s = (e, o) => {
|
|
84
|
+
let i = n(e, o), l = n(e, o), f = n(e, o);
|
|
85
|
+
return "rgb(" + i + "," + l + "," + f + ")";
|
|
86
|
+
}, c = (e) => {
|
|
87
87
|
for (let o = 0; o < 5; o++)
|
|
88
|
-
e.strokeStyle =
|
|
89
|
-
},
|
|
90
|
-
e.fillStyle =
|
|
91
|
-
let
|
|
92
|
-
var
|
|
93
|
-
e.translate(
|
|
94
|
-
},
|
|
88
|
+
e.strokeStyle = s(t.lineColorMin, t.lineColorMax), e.beginPath(), e.moveTo(n(0, t.contentWidth), n(0, t.contentHeight)), e.lineTo(n(0, t.contentWidth), n(0, t.contentHeight)), e.stroke();
|
|
89
|
+
}, _ = (e, o, i) => {
|
|
90
|
+
e.fillStyle = s(t.colorMin, t.colorMax), e.font = n(t.fontSizeMin, t.fontSizeMax) + "px SimHei";
|
|
91
|
+
let l = (i + 1) * (t.contentWidth / (t.identifyCode.length + 1)), f = n(t.fontSizeMax, t.contentHeight - 5);
|
|
92
|
+
var h = n(-45, 45);
|
|
93
|
+
e.translate(l, f), e.rotate(h * Math.PI / 180), e.fillText(o, 0, 0), e.rotate(-h * Math.PI / 180), e.translate(-l, -f);
|
|
94
|
+
}, y = (e) => {
|
|
95
95
|
for (let o = 0; o < 80; o++)
|
|
96
|
-
e.fillStyle =
|
|
97
|
-
},
|
|
98
|
-
let e =
|
|
99
|
-
o.textBaseline = "bottom", o.fillStyle =
|
|
96
|
+
e.fillStyle = s(0, 255), e.beginPath(), e.arc(n(0, t.contentWidth), n(0, t.contentHeight), 1, 0, 2 * Math.PI), e.fill();
|
|
97
|
+
}, a = () => {
|
|
98
|
+
let e = m.value, o = e == null ? void 0 : e.getContext("2d");
|
|
99
|
+
o.textBaseline = "bottom", o.fillStyle = s(t.backgroundColorMin, t.backgroundColorMax), o.fillRect(0, 0, t.contentWidth, t.contentHeight);
|
|
100
100
|
for (let i = 0; i < t.identifyCode.length; i++)
|
|
101
|
-
|
|
102
|
-
|
|
101
|
+
_(o, t.identifyCode[i], i);
|
|
102
|
+
c(o), y(o);
|
|
103
103
|
};
|
|
104
|
-
return
|
|
105
|
-
|
|
106
|
-
}),
|
|
104
|
+
return N(() => {
|
|
105
|
+
a();
|
|
106
|
+
}), k(
|
|
107
107
|
() => t.identifyCode,
|
|
108
|
-
() => {
|
|
109
|
-
|
|
108
|
+
(e) => {
|
|
109
|
+
e && a();
|
|
110
110
|
}
|
|
111
|
-
), (e, o) => (
|
|
112
|
-
|
|
113
|
-
|
|
111
|
+
), (e, o) => (S(), w("div", L, [
|
|
112
|
+
x("canvas", {
|
|
113
|
+
ref_key: "canavsRef",
|
|
114
|
+
ref: m,
|
|
114
115
|
width: t.contentWidth,
|
|
115
116
|
height: t.contentHeight
|
|
116
|
-
}, null, 8,
|
|
117
|
+
}, null, 8, R)
|
|
117
118
|
]));
|
|
118
119
|
}
|
|
119
120
|
});
|
|
120
|
-
const
|
|
121
|
-
...
|
|
121
|
+
const j = /* @__PURE__ */ F($, [["__scopeId", "data-v-10737829"]]), A = (d, t) => (t = t + 1, Math.floor(Math.random() * (t - d) + d)), O = g({ componentName: V.FieldWidget }), _e = /* @__PURE__ */ g({
|
|
122
|
+
...O,
|
|
122
123
|
__name: "verifycode-widget",
|
|
123
124
|
props: { ...z },
|
|
124
|
-
setup(
|
|
125
|
-
const
|
|
126
|
-
let
|
|
125
|
+
setup(d, { expose: t }) {
|
|
126
|
+
const m = d, { fieldEditor: n, exposed: s, extendAttrs: c, attrs: _, fieldObj: y } = T(m);
|
|
127
|
+
let a = v(""), e = C(() => {
|
|
127
128
|
var r;
|
|
128
129
|
return (r = c.value) == null ? void 0 : r.content;
|
|
129
|
-
}),
|
|
130
|
+
}), o = C(() => {
|
|
130
131
|
var r;
|
|
131
132
|
return (r = c.value) == null ? void 0 : r.identifyCodeLen;
|
|
132
133
|
});
|
|
133
|
-
const
|
|
134
|
-
for (let p = 0; p <
|
|
135
|
-
|
|
134
|
+
const i = (r, M) => {
|
|
135
|
+
for (let p = 0; p < M; p++)
|
|
136
|
+
a.value += r[A(0, r.length)];
|
|
136
137
|
}, l = () => {
|
|
137
|
-
|
|
138
|
-
},
|
|
139
|
-
|
|
138
|
+
a.value = "", i(e.value, o.value);
|
|
139
|
+
}, f = () => a.value, h = (r) => {
|
|
140
|
+
a.value = r;
|
|
140
141
|
};
|
|
141
|
-
return
|
|
142
|
+
return k(() => _.value, (r) => {
|
|
142
143
|
H(() => {
|
|
143
144
|
l();
|
|
144
145
|
});
|
|
145
|
-
}
|
|
146
|
-
|
|
146
|
+
}), N(() => {
|
|
147
|
+
l();
|
|
148
|
+
}), t({ ...s, refresh: l, getValue: f, setValue: h }), (r, M) => (S(), P(B, b(r.$props, {
|
|
149
|
+
"prop-options": { fieldObj: u(y) }
|
|
147
150
|
}), {
|
|
148
151
|
default: W(() => {
|
|
149
152
|
var p;
|
|
150
153
|
return [
|
|
151
|
-
I(
|
|
154
|
+
I(j, b({
|
|
152
155
|
ref_key: "fieldEditor",
|
|
153
|
-
ref:
|
|
154
|
-
},
|
|
155
|
-
"identify-code":
|
|
156
|
-
class:
|
|
156
|
+
ref: n
|
|
157
|
+
}, u(_), {
|
|
158
|
+
"identify-code": u(a),
|
|
159
|
+
class: u(E)((p = u(c)) == null ? void 0 : p.customClass),
|
|
160
|
+
onClick: l
|
|
157
161
|
}), null, 16, ["identify-code", "class"])
|
|
158
162
|
];
|
|
159
163
|
}),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as y, watch as L, defineComponent as h, resolveDirective as j, openBlock as W, createBlock as D, mergeProps as b, unref as s, withCtx as O, withDirectives as P, createElementBlock as x, normalizeClass as z, createVNode as R, createCommentVNode as S } from "vue";
|
|
2
2
|
import { I as k } from "./widget-base-4c2d6265.js";
|
|
3
|
-
import { D as A } from "./drag-wrapper-
|
|
3
|
+
import { D as A } from "./drag-wrapper-b3d2e19c.js";
|
|
4
4
|
import { _ as B } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1f903af2.js";
|
|
5
5
|
import { w as F } from "./expression-8b88cd21.js";
|
|
6
6
|
import { W as v } from "./enum-type-f5b76bdf.js";
|