hlrender 0.0.138 → 0.0.140
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/{_pdf-3e3edebc.js → _pdf-cdb84afc.js} +10 -10
- package/{_txt-4e2ecc06.js → _txt-6e540baf.js} +10 -10
- package/{_unsupport-e6f84e26.js → _unsupport-2b9e5fba.js} +1 -1
- package/{affix-widget-b0bd1a26.js → affix-widget-e7798066.js} +15 -15
- package/{alert-widget-e54cb7f4.js → alert-widget-62aff3a6.js} +15 -15
- package/{anchor-widget-5f091d11.js → anchor-widget-fce9d845.js} +12 -12
- package/{auto-complete-widget-57f8c0e7.js → auto-complete-widget-9f4d5f7b.js} +15 -15
- package/{avatar-widget-c288d63d.js → avatar-widget-952882d9.js} +15 -15
- package/{backtop-widget-3d54226e.js → backtop-widget-cff373c8.js} +15 -15
- package/{badge-widget-8acb0c82.js → badge-widget-334d56fb.js} +15 -15
- package/barcode-widget-a80a8770.js +2696 -0
- package/{baseImp-1b9355d2.js → baseImp-df7b65ff.js} +5 -5
- package/{breadcrumb-widget-c6755d6b.js → breadcrumb-widget-160657a9.js} +12 -12
- package/{button-widget-b05e4690.js → button-widget-fd0d1f85.js} +15 -15
- package/{cache-widget-7077a030.js → cache-widget-2e4b6c83.js} +14 -14
- package/{card-widget-fb553cda.js → card-widget-989a1469.js} +13 -13
- package/{carousel-widget-fe11a287.js → carousel-widget-87f91572.js} +13 -13
- package/{cascader-widget-5a886d49.js → cascader-widget-1b26fd91.js} +14 -14
- package/{chart-widget-0aa7ea40.js → chart-widget-e60614e5.js} +12 -12
- package/{checkbox-widget-84c09d07.js → checkbox-widget-0d017343.js} +14 -14
- package/{collapse-widget-c087b2df.js → collapse-widget-d220a6ac.js} +13 -13
- package/{color-picker-widget-8d4b012d.js → color-picker-widget-15a31ec7.js} +14 -14
- package/{cont-cell-widget-1f5af847.js → cont-cell-widget-ba7cd2a7.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-9d79d3d3.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-b6a750ee.js} +5 -5
- package/{cont-widget-a87b7d7c.js → cont-widget-85f85933.js} +5 -5
- package/{content-wrapper-567a6faf.js → content-wrapper-e9cd3fef.js} +6 -6
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-131fb31a.js → content-wrapper.vue_vue_type_script_setup_true_lang-52d323bd.js} +3 -3
- package/{date-picker-range-widget-0e1bf5e9.js → date-picker-range-widget-b271beb9.js} +14 -14
- package/{date-picker-widget-45e11211.js → date-picker-widget-076d1b61.js} +14 -14
- package/default-slot-widget-2293bd1d.js +26 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-8cc5dc14.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-1f74e994.js} +7 -7
- package/{descriptions-widget-5dda5522.js → descriptions-widget-2e0c004c.js} +13 -13
- package/{dialog-c4706078.js → dialog-9acc103b.js} +2 -2
- package/{dialog-widget-45f2a6a8.js → dialog-widget-a369a3e6.js} +14 -14
- package/{divider-widget-74895eb7.js → divider-widget-2f432df7.js} +15 -15
- package/drag-wrapper-a8450f3c.js +244 -0
- package/{drawer-widget-f8f175ab.js → drawer-widget-1f000c3c.js} +14 -14
- package/{dropdown-widget-c3781e0a.js → dropdown-widget-d275b613.js} +13 -13
- package/{empty-widget-4a854aa4.js → empty-widget-a28f146d.js} +15 -15
- package/{enum-type-bb2bfafa.js → enum-type-58e23005.js} +77 -75
- package/{enum-type-4a798b1a.js → enum-type-f3133577.js} +32 -9
- package/{expression-490b4335.js → expression-8b6f7687.js} +1 -1
- package/feedback-widget-2f35f513.js +26 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-060df774.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-13030f0c.js} +5 -5
- package/{fieldobj-a9f1231d.js → fieldobj-a02ef2e2.js} +1 -1
- package/{file-upload-widget-4acfb0c0.js → file-upload-widget-ea9b32c2.js} +19 -19
- package/{form-item-wrapper-14987803.js → form-item-wrapper-eaf885e6.js} +10 -10
- package/{form-widget-4a8adbeb.js → form-widget-6f7eaf39.js} +57 -55
- package/{grid-col-widget-d2ab53a1.js → grid-col-widget-a0fba7ab.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-76ff5dfa.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-f42dc4d4.js} +5 -5
- package/{grid-widget-b4864397.js → grid-widget-fa0867c3.js} +5 -5
- package/{html-text-widget-e409615c.js → html-text-widget-1a035241.js} +13 -13
- package/{icon-widget-198c97a3.js → icon-widget-8ea10b7a.js} +12 -12
- package/{iframe-widget-88ef0855.js → iframe-widget-fdcbd295.js} +12 -12
- package/{image-widget-b4e6fc06.js → image-widget-c0853c91.js} +12 -12
- package/{index-f6240372.js → index-979d8892.js} +1208 -1101
- package/{index-79892b9c.js → index-da0d157b.js} +1 -1
- package/{index-cda65e40.js → index-f78fbbeb.js} +3 -3
- package/{input-number-widget-3f018315.js → input-number-widget-fb864728.js} +14 -14
- package/{input-widget-33d18b8b.js → input-widget-0d3d3ee0.js} +15 -15
- package/{label-wrapper-f087426c.js → label-wrapper-36b48c7a.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-62dc93f6.js → label-wrapper.vue_vue_type_style_index_0_lang-74566ee5.js} +3 -3
- package/{link-widget-5bd3d4b3.js → link-widget-843c1236.js} +15 -15
- package/{ltable-col-widget-e4a78a11.js → ltable-col-widget-fbfab46e.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-7f1adfe3.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-58833baa.js} +85 -86
- package/{ltable-widget-5b59d003.js → ltable-widget-9a34d74f.js} +5 -5
- package/{menu-widget-38506dc7.js → menu-widget-dc8d5780.js} +18 -18
- package/{model-widget-7f740f10.js → model-widget-89008e97.js} +12 -12
- package/multirow-58ad99da.js +229 -0
- package/{multirow-widget-7fb52aeb.js → multirow-widget-b60b1428.js} +14 -14
- package/noimg-89eb860b.js +4 -0
- package/package.json +3 -3
- package/{pagination-widget-93b4ff18.js → pagination-widget-32535ab0.js} +12 -12
- package/{picture-upload-widget-2b281639.js → picture-upload-widget-ff26df6b.js} +34 -34
- package/{progress-widget-69257fe5.js → progress-widget-2acd7cd5.js} +13 -13
- package/{propresult-e7e86b43.js → propresult-c5aa6107.js} +1 -1
- package/qrcode-widget-9378df8d.js +1525 -0
- package/{radio-widget-3419a061.js → radio-widget-707d3022.js} +14 -14
- package/{range-widget-bc9eb3bc.js → range-widget-b807b64a.js} +15 -15
- package/{rate-widget-51ea66b0.js → rate-widget-02971bac.js} +14 -14
- package/render.es.js +31 -31
- package/render.style.css +1 -1
- package/render.umd.js +543 -536
- package/{result-widget-48bbee71.js → result-widget-84c65928.js} +13 -13
- package/{rich-editor-widget-f6a707d6.js → rich-editor-widget-e3d8355c.js} +14 -14
- package/{router-widget-9d95900e.js → router-widget-dcb8c262.js} +12 -12
- package/{select-widget-9f5875de.js → select-widget-2b05e4ad.js} +14 -14
- package/{sfc-ca9005bb.js → sfc-923fe44b.js} +24 -24
- package/{sfcview-e342deea.js → sfcview-00af6113.js} +6 -6
- package/{share-field-70e53805.js → share-field-400ac785.js} +212 -212
- package/{share-file-81d7679e.js → share-file-f88746ee.js} +91 -87
- package/{slider-widget-c1e7cf1b.js → slider-widget-db50317c.js} +14 -14
- package/{slot-afdbaf6a.js → slot-6c074606.js} +3 -3
- package/{static-text-widget-c498c4f8.js → static-text-widget-905c9384.js} +13 -13
- package/{steps-widget-0794d0f5.js → steps-widget-ee105d50.js} +12 -12
- package/{subMenu-widget-2cbfb9e4.js → subMenu-widget-b0d22b12.js} +7 -7
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-27a0540a.js → subMenu-widget.vue_vue_type_script_setup_true_lang-287e6546.js} +6 -6
- package/{switch-widget-658399b0.js → switch-widget-ec49af95.js} +14 -14
- package/{tab-pane-widget-6bb27163.js → tab-pane-widget-50780c7f.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-bf376251.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-a16718fa.js} +5 -5
- package/{table-col-widget-c6667f25.js → table-col-widget-8a0d855a.js} +10 -10
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-d683bcb7.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-f5e913d7.js} +5 -5
- package/{table-widget-81bb288f.js → table-widget-9a7dac8f.js} +14 -14
- package/{tabs-widget-7359728f.js → tabs-widget-7469b515.js} +7 -7
- package/{tag-widget-eb60301a.js → tag-widget-34f24c18.js} +15 -15
- package/{text-widget-3de85e13.js → text-widget-22b4e468.js} +15 -15
- package/{textarea-widget-beafa36f.js → textarea-widget-3cc28caf.js} +14 -14
- package/{time-picker-range-widget-c889d4c1.js → time-picker-range-widget-af4def18.js} +14 -14
- package/{time-picker-widget-11438a8b.js → time-picker-widget-19168f19.js} +14 -14
- package/{time-select-widget-53ecd39a.js → time-select-widget-c435dca1.js} +14 -14
- package/{tmpl-widget-5036dded.js → tmpl-widget-ae841f04.js} +13 -13
- package/{tree-select-widget-fcf77445.js → tree-select-widget-84f7cd8f.js} +14 -14
- package/{tree-widget-8b15bfd7.js → tree-widget-e5add9ae.js} +12 -12
- package/verifycode-widget-85b3d2b4.js +163 -0
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-2eadd5b2.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-cb6e938b.js} +6 -6
- package/{wrapper-widget-b8e27139.js → wrapper-widget-827d047f.js} +6 -6
- package/default-slot-widget-a4037130.js +0 -26
- package/drag-wrapper-f6aa00f6.js +0 -244
- package/feedback-widget-fc966cfd.js +0 -26
- package/multirow-3a97c61a.js +0 -229
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { defineComponent as H, ref as O, computed as de, reactive as fe, onMounted as ge, resolveComponent as k, resolveDirective as ce, openBlock as f, createBlock as z, mergeProps as W, unref as t, withCtx as $, withDirectives as ve, createElementBlock as K, toHandlers as _e, Fragment as ye, renderList as be, createCommentVNode as he } from "vue";
|
|
2
2
|
import { I as Se } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as Pe } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
4
|
-
import { b as Oe } from "./share-field-
|
|
5
|
-
import { w as ze, g as Ne } from "./expression-
|
|
6
|
-
import { _ as Re } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-
|
|
7
|
-
import { x as Ce, e as U, g as x, a as je, f as ke, t as Fe, o as Ie } from "./enum-type-
|
|
8
|
-
import { F as De } from "./slot-
|
|
9
|
-
import { c as Te, p as G } from "./multirow-
|
|
3
|
+
import { _ as Pe } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-cb6e938b.js";
|
|
4
|
+
import { b as Oe } from "./share-field-400ac785.js";
|
|
5
|
+
import { w as ze, g as Ne } from "./expression-8b6f7687.js";
|
|
6
|
+
import { _ as Re } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-f5e913d7.js";
|
|
7
|
+
import { x as Ce, e as U, g as x, a as je, f as ke, t as Fe, o as Ie } from "./enum-type-f3133577.js";
|
|
8
|
+
import { F as De } from "./slot-6c074606.js";
|
|
9
|
+
import { c as Te, p as G } from "./multirow-58ad99da.js";
|
|
10
10
|
import "./widget-base-4c2d6265.js";
|
|
11
|
-
import "./index-
|
|
11
|
+
import "./index-979d8892.js";
|
|
12
12
|
import "./uuid-4999945f.js";
|
|
13
|
-
import "./enum-type-
|
|
14
|
-
import "./baseImp-
|
|
13
|
+
import "./enum-type-58e23005.js";
|
|
14
|
+
import "./baseImp-df7b65ff.js";
|
|
15
15
|
import "./icon-a0e0cdb0.js";
|
|
16
|
-
import "./dialog-
|
|
16
|
+
import "./dialog-9acc103b.js";
|
|
17
17
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
18
18
|
import "element-plus";
|
|
19
|
-
import "./index-
|
|
19
|
+
import "./index-da0d157b.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
-
import "./fieldobj-
|
|
21
|
+
import "./fieldobj-a02ef2e2.js";
|
|
22
22
|
import "./source-map-b04aec4a.js";
|
|
23
23
|
import "./esprima-e8d15055.js";
|
|
24
|
-
import "./drag-wrapper-
|
|
24
|
+
import "./drag-wrapper-a8450f3c.js";
|
|
25
25
|
const Ee = { key: 1 }, Me = H({ componentName: ze.FieldWidget }), lt = /* @__PURE__ */ H({
|
|
26
26
|
...Me,
|
|
27
27
|
__name: "table-widget",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as y, computed as _, ref as L, resolveComponent as R, resolveDirective as U, openBlock as r, createBlock as d, mergeProps as v, unref as t, withCtx as w, withDirectives as W, toHandlers as z, isRef as E, createElementBlock as q, Fragment as G, renderList as J } from "vue";
|
|
2
|
-
import { c as n, k as Q } from "./enum-type-
|
|
3
|
-
import { g as X, w as Y } from "./expression-
|
|
2
|
+
import { c as n, k as Q } from "./enum-type-f3133577.js";
|
|
3
|
+
import { g as X, w as Y } from "./expression-8b6f7687.js";
|
|
4
4
|
import { I as Z } from "./widget-base-4c2d6265.js";
|
|
5
|
-
import { b as ee } from "./share-field-
|
|
6
|
-
import { _ as te } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
7
|
-
import { _ as ae } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-
|
|
8
|
-
import { u as oe } from "./index-
|
|
9
|
-
import { B as T } from "./baseImp-
|
|
5
|
+
import { b as ee } from "./share-field-400ac785.js";
|
|
6
|
+
import { _ as te } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-cb6e938b.js";
|
|
7
|
+
import { _ as ae } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-a16718fa.js";
|
|
8
|
+
import { u as oe } from "./index-979d8892.js";
|
|
9
|
+
import { B as T } from "./baseImp-df7b65ff.js";
|
|
10
10
|
const se = y({ componentName: Y.ContainerWidget }), ne = /* @__PURE__ */ y({
|
|
11
11
|
...se,
|
|
12
12
|
__name: "tabs-widget",
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as s, createBlock as n, mergeProps as a, unref as f } from "vue";
|
|
2
2
|
import { I as l } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-
|
|
4
|
-
import { w as d } from "./expression-
|
|
5
|
-
import { b as _ } from "./share-field-
|
|
3
|
+
import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-1f74e994.js";
|
|
4
|
+
import { w as d } from "./expression-8b6f7687.js";
|
|
5
|
+
import { b as _ } from "./share-field-400ac785.js";
|
|
6
6
|
import "./widget-base-4c2d6265.js";
|
|
7
|
-
import "./enum-type-
|
|
8
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
9
|
-
import "./index-
|
|
7
|
+
import "./enum-type-f3133577.js";
|
|
8
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-cb6e938b.js";
|
|
9
|
+
import "./index-979d8892.js";
|
|
10
10
|
import "./uuid-4999945f.js";
|
|
11
|
-
import "./enum-type-
|
|
12
|
-
import "./baseImp-
|
|
11
|
+
import "./enum-type-58e23005.js";
|
|
12
|
+
import "./baseImp-df7b65ff.js";
|
|
13
13
|
import "./icon-a0e0cdb0.js";
|
|
14
|
-
import "./dialog-
|
|
14
|
+
import "./dialog-9acc103b.js";
|
|
15
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
16
|
import "element-plus";
|
|
17
|
-
import "./index-
|
|
17
|
+
import "./index-da0d157b.js";
|
|
18
18
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
19
|
-
import "./fieldobj-
|
|
20
|
-
import "./slot-
|
|
21
|
-
import "./content-wrapper.vue_vue_type_script_setup_true_lang-
|
|
22
|
-
import "./drag-wrapper-
|
|
19
|
+
import "./fieldobj-a02ef2e2.js";
|
|
20
|
+
import "./slot-6c074606.js";
|
|
21
|
+
import "./content-wrapper.vue_vue_type_script_setup_true_lang-52d323bd.js";
|
|
22
|
+
import "./drag-wrapper-a8450f3c.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
|
-
import "./multirow-
|
|
25
|
+
import "./multirow-58ad99da.js";
|
|
26
26
|
const u = o({ componentName: d.FieldWidget }), J = /* @__PURE__ */ o({
|
|
27
27
|
...u,
|
|
28
28
|
__name: "tag-widget",
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as s, createBlock as n, mergeProps as a, unref as f } from "vue";
|
|
2
2
|
import { I as l } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-
|
|
4
|
-
import { w as d } from "./expression-
|
|
5
|
-
import { b as _ } from "./share-field-
|
|
3
|
+
import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-1f74e994.js";
|
|
4
|
+
import { w as d } from "./expression-8b6f7687.js";
|
|
5
|
+
import { b as _ } from "./share-field-400ac785.js";
|
|
6
6
|
import "./widget-base-4c2d6265.js";
|
|
7
|
-
import "./enum-type-
|
|
8
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
9
|
-
import "./index-
|
|
7
|
+
import "./enum-type-f3133577.js";
|
|
8
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-cb6e938b.js";
|
|
9
|
+
import "./index-979d8892.js";
|
|
10
10
|
import "./uuid-4999945f.js";
|
|
11
|
-
import "./enum-type-
|
|
12
|
-
import "./baseImp-
|
|
11
|
+
import "./enum-type-58e23005.js";
|
|
12
|
+
import "./baseImp-df7b65ff.js";
|
|
13
13
|
import "./icon-a0e0cdb0.js";
|
|
14
|
-
import "./dialog-
|
|
14
|
+
import "./dialog-9acc103b.js";
|
|
15
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
16
|
import "element-plus";
|
|
17
|
-
import "./index-
|
|
17
|
+
import "./index-da0d157b.js";
|
|
18
18
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
19
|
-
import "./fieldobj-
|
|
20
|
-
import "./slot-
|
|
21
|
-
import "./content-wrapper.vue_vue_type_script_setup_true_lang-
|
|
22
|
-
import "./drag-wrapper-
|
|
19
|
+
import "./fieldobj-a02ef2e2.js";
|
|
20
|
+
import "./slot-6c074606.js";
|
|
21
|
+
import "./content-wrapper.vue_vue_type_script_setup_true_lang-52d323bd.js";
|
|
22
|
+
import "./drag-wrapper-a8450f3c.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
|
-
import "./multirow-
|
|
25
|
+
import "./multirow-58ad99da.js";
|
|
26
26
|
const u = o({ componentName: d.FieldWidget }), J = /* @__PURE__ */ o({
|
|
27
27
|
...u,
|
|
28
28
|
__name: "text-widget",
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { defineComponent as l, resolveComponent as w, openBlock as p, createBlock as i, mergeProps as m, unref as e, withCtx as C, isRef as F, toHandlers as O } from "vue";
|
|
2
|
-
import { b as V } from "./share-field-
|
|
2
|
+
import { b as V } from "./share-field-400ac785.js";
|
|
3
3
|
import { I as b } from "./field-base-5547436d.js";
|
|
4
|
-
import v from "./form-item-wrapper-
|
|
5
|
-
import { w as I } from "./expression-
|
|
6
|
-
import "./enum-type-
|
|
7
|
-
import "./multirow-
|
|
8
|
-
import "./baseImp-
|
|
9
|
-
import "./enum-type-
|
|
4
|
+
import v from "./form-item-wrapper-eaf885e6.js";
|
|
5
|
+
import { w as I } from "./expression-8b6f7687.js";
|
|
6
|
+
import "./enum-type-f3133577.js";
|
|
7
|
+
import "./multirow-58ad99da.js";
|
|
8
|
+
import "./baseImp-df7b65ff.js";
|
|
9
|
+
import "./enum-type-58e23005.js";
|
|
10
10
|
import "./icon-a0e0cdb0.js";
|
|
11
|
-
import "./dialog-
|
|
11
|
+
import "./dialog-9acc103b.js";
|
|
12
12
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
13
|
import "./uuid-4999945f.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./slot-
|
|
15
|
+
import "./index-979d8892.js";
|
|
16
|
+
import "./slot-6c074606.js";
|
|
17
17
|
import "./widget-base-4c2d6265.js";
|
|
18
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
19
|
-
import "./index-
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-cb6e938b.js";
|
|
19
|
+
import "./index-da0d157b.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
-
import "./fieldobj-
|
|
22
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
21
|
+
import "./fieldobj-a02ef2e2.js";
|
|
22
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-74566ee5.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
25
|
const B = l({ componentName: I.FieldWidget }), ee = /* @__PURE__ */ l({
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { defineComponent as _, computed as x, resolveComponent as z, openBlock as d, createBlock as u, mergeProps as c, unref as t, withCtx as I, isRef as K, toHandlers as T } from "vue";
|
|
2
|
-
import { a as B, f as E, n as M, e as f, c as s } from "./enum-type-
|
|
2
|
+
import { a as B, f as E, n as M, e as f, c as s } from "./enum-type-f3133577.js";
|
|
3
3
|
import { b as m, d as n } from "./uuid-4999945f.js";
|
|
4
4
|
import { I as S } from "./field-base-5547436d.js";
|
|
5
|
-
import { b as W } from "./share-field-
|
|
6
|
-
import D from "./form-item-wrapper-
|
|
7
|
-
import { w as H } from "./expression-
|
|
5
|
+
import { b as W } from "./share-field-400ac785.js";
|
|
6
|
+
import D from "./form-item-wrapper-eaf885e6.js";
|
|
7
|
+
import { w as H } from "./expression-8b6f7687.js";
|
|
8
8
|
import "./widget-base-4c2d6265.js";
|
|
9
|
-
import "./multirow-
|
|
10
|
-
import "./baseImp-
|
|
11
|
-
import "./enum-type-
|
|
9
|
+
import "./multirow-58ad99da.js";
|
|
10
|
+
import "./baseImp-df7b65ff.js";
|
|
11
|
+
import "./enum-type-58e23005.js";
|
|
12
12
|
import "./icon-a0e0cdb0.js";
|
|
13
|
-
import "./dialog-
|
|
13
|
+
import "./dialog-9acc103b.js";
|
|
14
14
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
15
|
import "element-plus";
|
|
16
|
-
import "./index-
|
|
17
|
-
import "./slot-
|
|
18
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
19
|
-
import "./index-
|
|
16
|
+
import "./index-979d8892.js";
|
|
17
|
+
import "./slot-6c074606.js";
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-cb6e938b.js";
|
|
19
|
+
import "./index-da0d157b.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
-
import "./fieldobj-
|
|
22
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
21
|
+
import "./fieldobj-a02ef2e2.js";
|
|
22
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-74566ee5.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
25
|
const J = _({ componentName: H.FieldWidget }), ue = /* @__PURE__ */ _({
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { defineComponent as a, resolveComponent as C, openBlock as p, createBlock as m, mergeProps as s, unref as e, withCtx as F, isRef as O, toHandlers as b } from "vue";
|
|
2
|
-
import { e as x, c as z } from "./enum-type-
|
|
3
|
-
import { b as I } from "./share-field-
|
|
2
|
+
import { e as x, c as z } from "./enum-type-f3133577.js";
|
|
3
|
+
import { b as I } from "./share-field-400ac785.js";
|
|
4
4
|
import { I as K } from "./field-base-5547436d.js";
|
|
5
|
-
import P from "./form-item-wrapper-
|
|
6
|
-
import { w as B } from "./expression-
|
|
5
|
+
import P from "./form-item-wrapper-eaf885e6.js";
|
|
6
|
+
import { w as B } from "./expression-8b6f7687.js";
|
|
7
7
|
import { t as E } from "./uuid-4999945f.js";
|
|
8
|
-
import "./multirow-
|
|
9
|
-
import "./baseImp-
|
|
10
|
-
import "./enum-type-
|
|
8
|
+
import "./multirow-58ad99da.js";
|
|
9
|
+
import "./baseImp-df7b65ff.js";
|
|
10
|
+
import "./enum-type-58e23005.js";
|
|
11
11
|
import "./icon-a0e0cdb0.js";
|
|
12
|
-
import "./dialog-
|
|
12
|
+
import "./dialog-9acc103b.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./slot-
|
|
15
|
+
import "./index-979d8892.js";
|
|
16
|
+
import "./slot-6c074606.js";
|
|
17
17
|
import "./widget-base-4c2d6265.js";
|
|
18
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
19
|
-
import "./index-
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-cb6e938b.js";
|
|
19
|
+
import "./index-da0d157b.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
-
import "./fieldobj-
|
|
22
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
21
|
+
import "./fieldobj-a02ef2e2.js";
|
|
22
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-74566ee5.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
25
|
const W = a({ componentName: B.FieldWidget }), pe = /* @__PURE__ */ a({
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { defineComponent as s, resolveComponent as w, openBlock as p, createBlock as l, mergeProps as m, unref as e, withCtx as C, isRef as F, toHandlers as O } from "vue";
|
|
2
|
-
import { e as V } from "./enum-type-
|
|
3
|
-
import { b } from "./share-field-
|
|
2
|
+
import { e as V } from "./enum-type-f3133577.js";
|
|
3
|
+
import { b } from "./share-field-400ac785.js";
|
|
4
4
|
import { I as v } from "./field-base-5547436d.js";
|
|
5
|
-
import x from "./form-item-wrapper-
|
|
6
|
-
import { w as z } from "./expression-
|
|
7
|
-
import "./multirow-
|
|
8
|
-
import "./baseImp-
|
|
9
|
-
import "./enum-type-
|
|
5
|
+
import x from "./form-item-wrapper-eaf885e6.js";
|
|
6
|
+
import { w as z } from "./expression-8b6f7687.js";
|
|
7
|
+
import "./multirow-58ad99da.js";
|
|
8
|
+
import "./baseImp-df7b65ff.js";
|
|
9
|
+
import "./enum-type-58e23005.js";
|
|
10
10
|
import "./icon-a0e0cdb0.js";
|
|
11
|
-
import "./dialog-
|
|
11
|
+
import "./dialog-9acc103b.js";
|
|
12
12
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
13
|
import "./uuid-4999945f.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./slot-
|
|
15
|
+
import "./index-979d8892.js";
|
|
16
|
+
import "./slot-6c074606.js";
|
|
17
17
|
import "./widget-base-4c2d6265.js";
|
|
18
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
19
|
-
import "./index-
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-cb6e938b.js";
|
|
19
|
+
import "./index-da0d157b.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
-
import "./fieldobj-
|
|
22
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
21
|
+
import "./fieldobj-a02ef2e2.js";
|
|
22
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-74566ee5.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
25
|
const I = s({ componentName: z.FieldWidget }), oe = /* @__PURE__ */ s({
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { defineComponent as F, computed as I, ref as T, onMounted as j, resolveDirective as L, openBlock as a, createBlock as d, mergeProps as u, unref as t, withCtx as M, createElementBlock as n, Fragment as c, withDirectives as P, renderList as R, createTextVNode as z, toDisplayString as A } from "vue";
|
|
2
|
-
import { e as E, t as J, f as q } from "./enum-type-
|
|
2
|
+
import { e as E, t as J, f as q } from "./enum-type-f3133577.js";
|
|
3
3
|
import { I as G } from "./widget-base-4c2d6265.js";
|
|
4
|
-
import { b as H } from "./share-field-
|
|
5
|
-
import { _ as K } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
6
|
-
import { D as v } from "./drag-wrapper-
|
|
7
|
-
import { i as Q, a as U } from "./slot-
|
|
8
|
-
import { c as X } from "./multirow-
|
|
9
|
-
import { g as Y } from "./expression-
|
|
4
|
+
import { b as H } from "./share-field-400ac785.js";
|
|
5
|
+
import { _ as K } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-cb6e938b.js";
|
|
6
|
+
import { D as v } from "./drag-wrapper-a8450f3c.js";
|
|
7
|
+
import { i as Q, a as U } from "./slot-6c074606.js";
|
|
8
|
+
import { c as X } from "./multirow-58ad99da.js";
|
|
9
|
+
import { g as Y } from "./expression-8b6f7687.js";
|
|
10
10
|
import { _ as Z } from "./_plugin-vue_export-helper-dad06003.js";
|
|
11
11
|
import "./icon-a0e0cdb0.js";
|
|
12
|
-
import "./baseImp-
|
|
13
|
-
import "./enum-type-
|
|
14
|
-
import "./dialog-
|
|
12
|
+
import "./baseImp-df7b65ff.js";
|
|
13
|
+
import "./enum-type-58e23005.js";
|
|
14
|
+
import "./dialog-9acc103b.js";
|
|
15
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
16
|
import "./uuid-4999945f.js";
|
|
17
17
|
import "element-plus";
|
|
18
|
-
import "./index-
|
|
19
|
-
import "./index-
|
|
20
|
-
import "./fieldobj-
|
|
18
|
+
import "./index-979d8892.js";
|
|
19
|
+
import "./index-da0d157b.js";
|
|
20
|
+
import "./fieldobj-a02ef2e2.js";
|
|
21
21
|
import "./source-map-b04aec4a.js";
|
|
22
22
|
import "./esprima-e8d15055.js";
|
|
23
23
|
const ee = ["element-loading-text"], te = /* @__PURE__ */ F({
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { defineComponent as T, computed as s, resolveComponent as ee, openBlock as d, createBlock as p, mergeProps as j, unref as e, withCtx as a, isRef as W, toHandlers as A, createSlots as B, resolveDynamicComponent as i, createCommentVNode as g } from "vue";
|
|
2
|
-
import { s as f, t as D } from "./enum-type-
|
|
2
|
+
import { s as f, t as D } from "./enum-type-f3133577.js";
|
|
3
3
|
import { I as te } from "./field-base-5547436d.js";
|
|
4
|
-
import { b as oe } from "./share-field-
|
|
5
|
-
import re from "./form-item-wrapper-
|
|
6
|
-
import { g as y, w as le } from "./expression-
|
|
4
|
+
import { b as oe } from "./share-field-400ac785.js";
|
|
5
|
+
import re from "./form-item-wrapper-eaf885e6.js";
|
|
6
|
+
import { g as y, w as le } from "./expression-8b6f7687.js";
|
|
7
7
|
import "./widget-base-4c2d6265.js";
|
|
8
|
-
import "./multirow-
|
|
9
|
-
import "./baseImp-
|
|
10
|
-
import "./enum-type-
|
|
8
|
+
import "./multirow-58ad99da.js";
|
|
9
|
+
import "./baseImp-df7b65ff.js";
|
|
10
|
+
import "./enum-type-58e23005.js";
|
|
11
11
|
import "./icon-a0e0cdb0.js";
|
|
12
|
-
import "./dialog-
|
|
12
|
+
import "./dialog-9acc103b.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
14
|
import "./uuid-4999945f.js";
|
|
15
15
|
import "element-plus";
|
|
16
|
-
import "./index-
|
|
17
|
-
import "./slot-
|
|
18
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
19
|
-
import "./index-
|
|
16
|
+
import "./index-979d8892.js";
|
|
17
|
+
import "./slot-6c074606.js";
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-cb6e938b.js";
|
|
19
|
+
import "./index-da0d157b.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
-
import "./fieldobj-
|
|
22
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
21
|
+
import "./fieldobj-a02ef2e2.js";
|
|
22
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-74566ee5.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
25
|
const se = T({ componentName: le.FieldWidget }), Pe = /* @__PURE__ */ T({
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { defineComponent as h, computed as s, resolveComponent as $, openBlock as u, createBlock as f, mergeProps as x, unref as t, withCtx as K, isRef as A, toHandlers as H, createSlots as M, resolveDynamicComponent as P } from "vue";
|
|
2
2
|
import { I as R } from "./field-base-5547436d.js";
|
|
3
|
-
import { b as U } from "./share-field-
|
|
4
|
-
import { _ as q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { g as n, w as G } from "./expression-
|
|
6
|
-
import { s as a } from "./enum-type-
|
|
3
|
+
import { b as U } from "./share-field-400ac785.js";
|
|
4
|
+
import { _ as q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-cb6e938b.js";
|
|
5
|
+
import { g as n, w as G } from "./expression-8b6f7687.js";
|
|
6
|
+
import { s as a } from "./enum-type-f3133577.js";
|
|
7
7
|
import "./widget-base-4c2d6265.js";
|
|
8
|
-
import "./multirow-
|
|
9
|
-
import "./baseImp-
|
|
10
|
-
import "./enum-type-
|
|
8
|
+
import "./multirow-58ad99da.js";
|
|
9
|
+
import "./baseImp-df7b65ff.js";
|
|
10
|
+
import "./enum-type-58e23005.js";
|
|
11
11
|
import "./icon-a0e0cdb0.js";
|
|
12
|
-
import "./dialog-
|
|
12
|
+
import "./dialog-9acc103b.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
14
|
import "./uuid-4999945f.js";
|
|
15
15
|
import "element-plus";
|
|
16
|
-
import "./index-
|
|
17
|
-
import "./slot-
|
|
18
|
-
import "./index-
|
|
16
|
+
import "./index-979d8892.js";
|
|
17
|
+
import "./slot-6c074606.js";
|
|
18
|
+
import "./index-da0d157b.js";
|
|
19
19
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
|
-
import "./fieldobj-
|
|
20
|
+
import "./fieldobj-a02ef2e2.js";
|
|
21
21
|
import "./source-map-b04aec4a.js";
|
|
22
22
|
import "./esprima-e8d15055.js";
|
|
23
23
|
const J = h({ componentName: G.FieldWidget }), ve = /* @__PURE__ */ h({
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { defineComponent as y, onMounted as k, watch as b, openBlock as v, createElementBlock as w, createElementVNode as S, ref as x, computed as M, nextTick as H, createBlock as P, mergeProps as C, unref as u, withCtx as W, createVNode as I } from "vue";
|
|
2
|
+
import { w as V } from "./expression-8b6f7687.js";
|
|
3
|
+
import { I as z } from "./field-base-5547436d.js";
|
|
4
|
+
import { b as B } from "./share-field-400ac785.js";
|
|
5
|
+
import { _ as E } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-cb6e938b.js";
|
|
6
|
+
import { R as T } from "./enum-type-f3133577.js";
|
|
7
|
+
import { _ as F } from "./_plugin-vue_export-helper-dad06003.js";
|
|
8
|
+
import "./source-map-b04aec4a.js";
|
|
9
|
+
import "./uuid-4999945f.js";
|
|
10
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
11
|
+
import "./esprima-e8d15055.js";
|
|
12
|
+
import "./widget-base-4c2d6265.js";
|
|
13
|
+
import "./multirow-58ad99da.js";
|
|
14
|
+
import "./baseImp-df7b65ff.js";
|
|
15
|
+
import "./enum-type-58e23005.js";
|
|
16
|
+
import "./icon-a0e0cdb0.js";
|
|
17
|
+
import "./dialog-9acc103b.js";
|
|
18
|
+
import "element-plus";
|
|
19
|
+
import "./index-979d8892.js";
|
|
20
|
+
import "./slot-6c074606.js";
|
|
21
|
+
import "./index-da0d157b.js";
|
|
22
|
+
import "./fieldobj-a02ef2e2.js";
|
|
23
|
+
const L = { class: "s-canvas" }, $ = ["width", "height"], j = /* @__PURE__ */ y({
|
|
24
|
+
__name: "_index",
|
|
25
|
+
props: {
|
|
26
|
+
identifyCode: {
|
|
27
|
+
type: String,
|
|
28
|
+
default: "1234"
|
|
29
|
+
},
|
|
30
|
+
fontSizeMin: {
|
|
31
|
+
type: Number,
|
|
32
|
+
default: 25
|
|
33
|
+
},
|
|
34
|
+
fontSizeMax: {
|
|
35
|
+
type: Number,
|
|
36
|
+
default: 35
|
|
37
|
+
},
|
|
38
|
+
backgroundColorMin: {
|
|
39
|
+
type: Number,
|
|
40
|
+
default: 255
|
|
41
|
+
},
|
|
42
|
+
backgroundColorMax: {
|
|
43
|
+
type: Number,
|
|
44
|
+
default: 255
|
|
45
|
+
},
|
|
46
|
+
colorMin: {
|
|
47
|
+
type: Number,
|
|
48
|
+
default: 0
|
|
49
|
+
},
|
|
50
|
+
colorMax: {
|
|
51
|
+
type: Number,
|
|
52
|
+
default: 160
|
|
53
|
+
},
|
|
54
|
+
lineColorMin: {
|
|
55
|
+
type: Number,
|
|
56
|
+
default: 40
|
|
57
|
+
},
|
|
58
|
+
lineColorMax: {
|
|
59
|
+
type: Number,
|
|
60
|
+
default: 180
|
|
61
|
+
},
|
|
62
|
+
dotColorMin: {
|
|
63
|
+
type: Number,
|
|
64
|
+
default: 0
|
|
65
|
+
},
|
|
66
|
+
dotColorMax: {
|
|
67
|
+
type: Number,
|
|
68
|
+
default: 255
|
|
69
|
+
},
|
|
70
|
+
contentWidth: {
|
|
71
|
+
type: Number,
|
|
72
|
+
default: 112
|
|
73
|
+
},
|
|
74
|
+
contentHeight: {
|
|
75
|
+
type: Number,
|
|
76
|
+
default: 40
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
setup(a) {
|
|
80
|
+
const t = a, n = (e, o) => Math.floor(Math.random() * (o - e) + e), d = (e, o) => {
|
|
81
|
+
let i = n(e, o), s = n(e, o), l = n(e, o);
|
|
82
|
+
return "rgb(" + i + "," + s + "," + l + ")";
|
|
83
|
+
}, h = (e) => {
|
|
84
|
+
for (let o = 0; o < 5; o++)
|
|
85
|
+
e.strokeStyle = d(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();
|
|
86
|
+
}, c = (e, o, i) => {
|
|
87
|
+
e.fillStyle = d(t.colorMin, t.colorMax), e.font = n(t.fontSizeMin, t.fontSizeMax) + "px SimHei";
|
|
88
|
+
let s = (i + 1) * (t.contentWidth / (t.identifyCode.length + 1)), l = n(t.fontSizeMax, t.contentHeight - 5);
|
|
89
|
+
var _ = n(-45, 45);
|
|
90
|
+
e.translate(s, l), e.rotate(_ * Math.PI / 180), e.fillText(o, 0, 0), e.rotate(-_ * Math.PI / 180), e.translate(-s, -l);
|
|
91
|
+
}, p = (e) => {
|
|
92
|
+
for (let o = 0; o < 80; o++)
|
|
93
|
+
e.fillStyle = d(0, 255), e.beginPath(), e.arc(n(0, t.contentWidth), n(0, t.contentHeight), 1, 0, 2 * Math.PI), e.fill();
|
|
94
|
+
}, m = () => {
|
|
95
|
+
let e = document.getElementById("s-canvas"), o = e == null ? void 0 : e.getContext("2d");
|
|
96
|
+
o.textBaseline = "bottom", o.fillStyle = d(t.backgroundColorMin, t.backgroundColorMax), o.fillRect(0, 0, t.contentWidth, t.contentHeight);
|
|
97
|
+
for (let i = 0; i < t.identifyCode.length; i++)
|
|
98
|
+
c(o, t.identifyCode[i], i);
|
|
99
|
+
h(o), p(o);
|
|
100
|
+
};
|
|
101
|
+
return k(() => {
|
|
102
|
+
m();
|
|
103
|
+
}), b(
|
|
104
|
+
() => t.identifyCode,
|
|
105
|
+
() => {
|
|
106
|
+
m();
|
|
107
|
+
}
|
|
108
|
+
), (e, o) => (v(), w("div", L, [
|
|
109
|
+
S("canvas", {
|
|
110
|
+
id: "s-canvas",
|
|
111
|
+
width: t.contentWidth,
|
|
112
|
+
height: t.contentHeight
|
|
113
|
+
}, null, 8, $)
|
|
114
|
+
]));
|
|
115
|
+
}
|
|
116
|
+
});
|
|
117
|
+
const A = /* @__PURE__ */ F(j, [["__scopeId", "data-v-176289d1"]]), O = (a, t) => (t = t + 1, Math.floor(Math.random() * (t - a) + a)), R = y({ componentName: V.FieldWidget }), ue = /* @__PURE__ */ y({
|
|
118
|
+
...R,
|
|
119
|
+
__name: "verifycode-widget",
|
|
120
|
+
props: { ...z },
|
|
121
|
+
setup(a, { expose: t }) {
|
|
122
|
+
const n = a, { fieldEditor: d, exposed: h, extendAttrs: c, attrs: p, fieldObj: m } = B(n);
|
|
123
|
+
let e = x(""), o = M(() => {
|
|
124
|
+
var r;
|
|
125
|
+
return (r = c.value) == null ? void 0 : r.content;
|
|
126
|
+
}), i = M(() => {
|
|
127
|
+
var r;
|
|
128
|
+
return (r = c.value) == null ? void 0 : r.identifyCodeLen;
|
|
129
|
+
});
|
|
130
|
+
const s = (r, g) => {
|
|
131
|
+
for (let f = 0; f < g; f++)
|
|
132
|
+
e.value += r[O(0, r.length)];
|
|
133
|
+
}, l = () => {
|
|
134
|
+
e.value = "", s(o.value, i.value);
|
|
135
|
+
}, _ = () => e.value, N = (r) => {
|
|
136
|
+
e.value = r;
|
|
137
|
+
};
|
|
138
|
+
return b(() => p.value, (r) => {
|
|
139
|
+
H(() => {
|
|
140
|
+
l();
|
|
141
|
+
});
|
|
142
|
+
}, { immediate: !0 }), t({ ...h, refresh: l, getValue: _, setValue: N }), (r, g) => (v(), P(E, C(r.$props, {
|
|
143
|
+
"prop-options": { fieldObj: u(m) }
|
|
144
|
+
}), {
|
|
145
|
+
default: W(() => {
|
|
146
|
+
var f;
|
|
147
|
+
return [
|
|
148
|
+
I(A, C({
|
|
149
|
+
ref_key: "fieldEditor",
|
|
150
|
+
ref: d
|
|
151
|
+
}, u(p), {
|
|
152
|
+
"identify-code": u(e),
|
|
153
|
+
class: u(T)((f = u(c)) == null ? void 0 : f.customClass)
|
|
154
|
+
}), null, 16, ["identify-code", "class"])
|
|
155
|
+
];
|
|
156
|
+
}),
|
|
157
|
+
_: 1
|
|
158
|
+
}, 16, ["prop-options"]));
|
|
159
|
+
}
|
|
160
|
+
});
|
|
161
|
+
export {
|
|
162
|
+
ue as default
|
|
163
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as de, resolveComponent as U, openBlock as l, createElementBlock as v, Fragment as N, createVNode as o, createCommentVNode as y, createBlock as W, createSlots as ee, withCtx as a, createElementVNode as V, renderList as te, createTextVNode as C, toDisplayString as k, withModifiers as w, unref as n, renderSlot as T, computed as L, ref as ne, resolveDynamicComponent as ie, mergeProps as z, toHandlers as re } from "vue";
|
|
2
|
-
import { e as g, c as pe, R as se } from "./enum-type-
|
|
2
|
+
import { e as g, c as pe, R as se } from "./enum-type-f3133577.js";
|
|
3
3
|
import { I as ue, a as me } from "./widget-base-4c2d6265.js";
|
|
4
|
-
import { a as oe, i as ge, j as fe, k as we, d as ve } from "./index-
|
|
5
|
-
import { S as m } from "./index-
|
|
6
|
-
import { f as ye } from "./baseImp-
|
|
7
|
-
import { c as Q, S as We } from "./enum-type-
|
|
8
|
-
import { u as he } from "./fieldobj-
|
|
4
|
+
import { a as oe, i as ge, j as fe, k as we, d as ve } from "./index-979d8892.js";
|
|
5
|
+
import { S as m } from "./index-da0d157b.js";
|
|
6
|
+
import { f as ye } from "./baseImp-df7b65ff.js";
|
|
7
|
+
import { c as Q, S as We } from "./enum-type-58e23005.js";
|
|
8
|
+
import { u as he } from "./fieldobj-a02ef2e2.js";
|
|
9
9
|
const ce = { key: 0 }, Ce = { class: "clWhite" }, ke = { class: "clWhite" }, Le = ["title"], be = ["title"], $e = ["title"], Se = ["title"], Te = /* @__PURE__ */ de({
|
|
10
10
|
__name: "drag-handler",
|
|
11
11
|
props: { ...ue, parentTree: { type: Object, default: null }, hidden: { type: Boolean, default: !1 }, simple: { type: Boolean } },
|