hlrender 0.0.249 → 0.0.251
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-c7a8dc5c.js → _pdf-cb2a31ab.js} +2 -2
- package/{_txt-ed537805.js → _txt-391e502f.js} +2 -2
- package/{affix-widget-45213c27.js → affix-widget-d0b42bdf.js} +10 -10
- package/{alert-widget-115961d7.js → alert-widget-c1558d02.js} +10 -10
- package/{anchor-widget-3e4ab1f0.js → anchor-widget-c2d2be95.js} +7 -7
- package/{auto-complete-widget-711a9b79.js → auto-complete-widget-8c026611.js} +9 -9
- package/{avatar-widget-32febad5.js → avatar-widget-339334b4.js} +10 -10
- package/{backtop-widget-981be562.js → backtop-widget-bd30cda7.js} +10 -10
- package/{badge-widget-c4b3fa0e.js → badge-widget-6bbc715a.js} +10 -10
- package/{barcode-widget-976e72ec.js → barcode-widget-12e02ccd.js} +7 -7
- package/{baseImp-bb323303.js → baseImp-9c1c3476.js} +2 -2
- package/{breadcrumb-widget-29191aec.js → breadcrumb-widget-928a6248.js} +7 -7
- package/{button-widget-a7a3c1a6.js → button-widget-9d8ccc3c.js} +10 -10
- package/{cache-widget-aedd240d.js → cache-widget-a9ec7c5d.js} +8 -8
- package/{card-widget-70faaaec.js → card-widget-d5f16ee6.js} +8 -8
- package/{carousel-widget-648d464b.js → carousel-widget-153c1c46.js} +8 -8
- package/{cascader-widget-811067ff.js → cascader-widget-63d24f6b.js} +8 -8
- package/{chart-widget-ea492a07.js → chart-widget-0a1fa896.js} +7 -7
- package/{checkbox-widget-196a55b3.js → checkbox-widget-f69203a4.js} +8 -8
- package/{collapse-widget-93cee9c9.js → collapse-widget-54bd3ca2.js} +8 -8
- package/{color-picker-widget-1a90ee74.js → color-picker-widget-82710478.js} +8 -8
- package/{cont-cell-widget-5d2102f6.js → cont-cell-widget-b62c363d.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-5888607d.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-dd0ad1c8.js} +5 -5
- package/{cont-widget-f4620d0d.js → cont-widget-e828e64a.js} +5 -5
- package/{content-wrapper-1e0bc2b7.js → content-wrapper-8467d706.js} +3 -3
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-ea363bf5.js → content-wrapper.vue_vue_type_script_setup_true_lang-a0a33278.js} +2 -2
- package/{countdown-widget-125d198c.js → countdown-widget-70bd04dc.js} +10 -10
- package/{date-picker-range-widget-d4cd1db2.js → date-picker-range-widget-accecd35.js} +8 -8
- package/{date-picker-widget-4df25f35.js → date-picker-widget-3fd486d4.js} +8 -8
- package/{default-slot-widget-373fb900.js → default-slot-widget-78fba757.js} +8 -8
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-0e47d408.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-7f447b6f.js} +5 -5
- package/{descriptions-widget-2067c26b.js → descriptions-widget-ffda8cd9.js} +8 -8
- package/{dialog-widget-c3c9b306.js → dialog-widget-a87e3248.js} +9 -9
- package/{divider-widget-b8a0d684.js → divider-widget-b0d5200a.js} +10 -10
- package/{drag-wrapper-4dd92bd6.js → drag-wrapper-c97acf25.js} +5 -5
- package/{drawer-widget-3f2ca895.js → drawer-widget-99367bc1.js} +9 -9
- package/{dropdown-widget-1575b141.js → dropdown-widget-31efc106.js} +8 -8
- package/{empty-widget-4fdb6ada.js → empty-widget-c411ff6b.js} +10 -10
- package/{expression-ce9920fa.js → expression-fb652f29.js} +1 -1
- package/{feedback-widget-3450209d.js → feedback-widget-f2d7e1db.js} +9 -9
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-98047669.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-7f2bd815.js} +5 -5
- package/{file-upload-widget-c2c6b0a1.js → file-upload-widget-658a7002.js} +12 -12
- package/{form-item-wrapper-0c55cd05.js → form-item-wrapper-b34acfff.js} +4 -4
- package/form-widget-5e1a4cdc.js +235 -0
- package/{grid-col-widget-99fcb291.js → grid-col-widget-016ff9ea.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-13fe1f20.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-10ad2a79.js} +5 -5
- package/{grid-widget-dfe416ed.js → grid-widget-a0084250.js} +5 -5
- package/{hcard-widget-16e7904c.js → hcard-widget-35819dc6.js} +8 -8
- package/{html-text-widget-cee1b077.js → html-text-widget-9217a694.js} +8 -8
- package/{icon-widget-6e897414.js → icon-widget-3b0072d6.js} +7 -7
- package/{iframe-widget-21eb9e79.js → iframe-widget-9cf03ad4.js} +7 -7
- package/{image-widget-6ca35f6d.js → image-widget-2a03bbd5.js} +7 -7
- package/{index-f1a0889e.js → index-4c98d500.js} +2 -2
- package/{input-number-widget-71259fd5.js → input-number-widget-258d7af8.js} +8 -8
- package/{input-tag-widget-119df21d.js → input-tag-widget-626718a5.js} +9 -9
- package/{input-widget-ab4e257b.js → input-widget-9224341e.js} +9 -9
- package/{link-widget-3142955f.js → link-widget-96065198.js} +10 -10
- package/{ltable-col-widget-8e2b357a.js → ltable-col-widget-75c1f835.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-8307af6b.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-cdfa4779.js} +7 -7
- package/{ltable-widget-4b50f573.js → ltable-widget-f5a4ca42.js} +5 -5
- package/{mention-widget-8f6ac4e0.js → mention-widget-531a9884.js} +9 -9
- package/{menu-widget-90431960.js → menu-widget-80d0339b.js} +8 -8
- package/{model-widget-36e09346.js → model-widget-f445ee28.js} +7 -7
- package/{multirow-1063090e.js → multirow-55dfa7bf.js} +71 -71
- package/{multirow-widget-9a662d6f.js → multirow-widget-81a6cd69.js} +128 -128
- package/package.json +1 -1
- package/{pagination-widget-9b3054bf.js → pagination-widget-99971cc9.js} +7 -7
- package/{picture-upload-widget-3855c224.js → picture-upload-widget-cc9030a3.js} +9 -9
- package/{progress-widget-65c6c07c.js → progress-widget-2a526b23.js} +8 -8
- package/{qrcode-widget-bbd31f33.js → qrcode-widget-39ca3c3d.js} +7 -7
- package/{radio-widget-926c0ba1.js → radio-widget-29c9d2bf.js} +8 -8
- package/{range-widget-638cf55b.js → range-widget-c3367a2f.js} +9 -9
- package/{rate-widget-3173ff95.js → rate-widget-ea3079f1.js} +8 -8
- package/render.es.js +25 -25
- package/render.style.css +1 -1
- package/render.umd.js +325 -325
- package/{result-widget-70e4db33.js → result-widget-6bca64fe.js} +8 -8
- package/{rich-editor-widget-e9a59c4e.js → rich-editor-widget-32ea2042.js} +8 -8
- package/{router-widget-ca2b99db.js → router-widget-9599bfc9.js} +7 -7
- package/{segmented-widget-bc2e4530.js → segmented-widget-b060b1cc.js} +7 -7
- package/{select-widget-c03d727f.js → select-widget-45846558.js} +8 -8
- package/{sfc-dd434d0b.js → sfc-751c17f2.js} +4 -4
- package/{sfcview-cfd26217.js → sfcview-f2e4159b.js} +3 -3
- package/share-field-2e7f9b3a.js +819 -0
- package/{share-file-b4beb5b0.js → share-file-10c6d927.js} +3 -3
- package/{skeleton-widget-10baadb1.js → skeleton-widget-778dd090.js} +10 -10
- package/{skeletonItem-widget-aa1281c0.js → skeletonItem-widget-83f3417b.js} +7 -7
- package/{slider-widget-501a335d.js → slider-widget-92a94eec.js} +8 -8
- package/slot-44e26cb4.js +337 -0
- package/{space-widget-3658d4ba.js → space-widget-b9a576ec.js} +8 -8
- package/{splitter-widget-eef8be7c.js → splitter-widget-42bd96f8.js} +8 -8
- package/{static-text-widget-466da6b8.js → static-text-widget-5fd90f16.js} +8 -8
- package/{statistic-widget-9db7eff0.js → statistic-widget-073df406.js} +10 -10
- package/{steps-widget-c0926f24.js → steps-widget-ac6fffcd.js} +7 -7
- package/{subMenu-widget-053433b9.js → subMenu-widget-09b1a1c0.js} +3 -3
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-3a5390b6.js → subMenu-widget.vue_vue_type_script_setup_true_lang-27267c3d.js} +1 -1
- package/{switch-widget-a8c0010d.js → switch-widget-382153cd.js} +8 -8
- package/{tab-pane-widget-7b0f11f5.js → tab-pane-widget-67cdce85.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-b0fb6a2b.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-95fbe638.js} +5 -5
- package/{table-col-widget-2521f42c.js → table-col-widget-df5f5451.js} +7 -7
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-7c6e75cd.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-4d8dcf50.js} +4 -4
- package/{table-widget-c2cfcb11.js → table-widget-aee48dd6.js} +95 -94
- package/{tabs-widget-ebadc3f8.js → tabs-widget-ab3e15df.js} +6 -6
- package/{tag-widget-75622762.js → tag-widget-e9790079.js} +10 -10
- package/{text-widget-f4c126a3.js → text-widget-e588d0ac.js} +10 -10
- package/{textarea-widget-316b73a3.js → textarea-widget-881b9191.js} +8 -8
- package/{time-picker-range-widget-b32bf4c5.js → time-picker-range-widget-35811b8e.js} +8 -8
- package/{time-picker-widget-8fa671d0.js → time-picker-widget-81e0be45.js} +8 -8
- package/{time-select-widget-8eaa79a7.js → time-select-widget-2edc0d65.js} +8 -8
- package/{timeline-widget-f8f659d9.js → timeline-widget-b506c92c.js} +8 -8
- package/tmpl-widget-38c09700.js +97 -0
- package/{tooltip-widget-63dfa6e9.js → tooltip-widget-5a7b0934.js} +8 -8
- package/tour-widget-8fc644d9.js +148 -0
- package/{transfer-widget-32971695.js → transfer-widget-9a4a7cb4.js} +9 -9
- package/{tree-select-widget-45487101.js → tree-select-widget-442180b1.js} +8 -8
- package/{tree-widget-fe156721.js → tree-widget-1fdf704b.js} +7 -7
- package/{verifycode-widget-3ccc989a.js → verifycode-widget-f15a4328.js} +7 -7
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3748a4a5.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-21b0af7b.js} +3 -3
- package/wrapper-widget-c8fcd2f1.js +91 -0
- package/form-widget-4257b3a9.js +0 -229
- package/share-field-1e759a0d.js +0 -812
- package/slot-f8ccd25c.js +0 -329
- package/tmpl-widget-31f94d08.js +0 -96
- package/tour-widget-8c2f4063.js +0 -148
- package/wrapper-widget-fbfcdd18.js +0 -84
|
@@ -2,20 +2,20 @@ import { defineComponent as _, computed as C, resolveComponent as z, openBlock a
|
|
|
2
2
|
import { a as T, f as B, n as E, e as f, c as p } from "./enum-type-8bbffeb3.js";
|
|
3
3
|
import { b as s, d as m } from "./uuid-f2110dfe.js";
|
|
4
4
|
import { I as M } from "./field-base-1acf3ada.js";
|
|
5
|
-
import { b as S } from "./share-field-
|
|
6
|
-
import W from "./form-item-wrapper-
|
|
7
|
-
import { w as D } from "./expression-
|
|
5
|
+
import { b as S } from "./share-field-2e7f9b3a.js";
|
|
6
|
+
import W from "./form-item-wrapper-b34acfff.js";
|
|
7
|
+
import { w as D } from "./expression-fb652f29.js";
|
|
8
8
|
import "./widget-base-8eece820.js";
|
|
9
|
-
import "./multirow-
|
|
10
|
-
import "./baseImp-
|
|
9
|
+
import "./multirow-55dfa7bf.js";
|
|
10
|
+
import "./baseImp-9c1c3476.js";
|
|
11
11
|
import "./enum-type-80708bd8.js";
|
|
12
12
|
import "./icon-1fc5d00d.js";
|
|
13
13
|
import "./dialog-eea5b71b.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-
|
|
16
|
+
import "./index-4c98d500.js";
|
|
17
|
+
import "./slot-44e26cb4.js";
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-21b0af7b.js";
|
|
19
19
|
import "./index-ae7a8101.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
21
|
import "./fieldobj-0f01de3c.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { defineComponent as a, resolveComponent as x, openBlock as l, createBlock as m, mergeProps as s, unref as e, withCtx as C, isRef as F, toHandlers as O } from "vue";
|
|
2
2
|
import { e as b, c as z } from "./enum-type-8bbffeb3.js";
|
|
3
|
-
import { b as I } from "./share-field-
|
|
3
|
+
import { b as I } from "./share-field-2e7f9b3a.js";
|
|
4
4
|
import { I as K } from "./field-base-1acf3ada.js";
|
|
5
|
-
import P from "./form-item-wrapper-
|
|
6
|
-
import { w as B } from "./expression-
|
|
5
|
+
import P from "./form-item-wrapper-b34acfff.js";
|
|
6
|
+
import { w as B } from "./expression-fb652f29.js";
|
|
7
7
|
import { t as E } from "./uuid-f2110dfe.js";
|
|
8
|
-
import "./multirow-
|
|
9
|
-
import "./baseImp-
|
|
8
|
+
import "./multirow-55dfa7bf.js";
|
|
9
|
+
import "./baseImp-9c1c3476.js";
|
|
10
10
|
import "./enum-type-80708bd8.js";
|
|
11
11
|
import "./icon-1fc5d00d.js";
|
|
12
12
|
import "./dialog-eea5b71b.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./slot-
|
|
15
|
+
import "./index-4c98d500.js";
|
|
16
|
+
import "./slot-44e26cb4.js";
|
|
17
17
|
import "./widget-base-8eece820.js";
|
|
18
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-21b0af7b.js";
|
|
19
19
|
import "./index-ae7a8101.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
21
|
import "./fieldobj-0f01de3c.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { defineComponent as s, resolveComponent as w, openBlock as p, createBlock as l, mergeProps as m, unref as e, withCtx as x, isRef as C, toHandlers as F } from "vue";
|
|
2
2
|
import { e as O } from "./enum-type-8bbffeb3.js";
|
|
3
|
-
import { b as V } from "./share-field-
|
|
3
|
+
import { b as V } from "./share-field-2e7f9b3a.js";
|
|
4
4
|
import { I as b } from "./field-base-1acf3ada.js";
|
|
5
|
-
import v from "./form-item-wrapper-
|
|
6
|
-
import { w as z } from "./expression-
|
|
7
|
-
import "./multirow-
|
|
8
|
-
import "./baseImp-
|
|
5
|
+
import v from "./form-item-wrapper-b34acfff.js";
|
|
6
|
+
import { w as z } from "./expression-fb652f29.js";
|
|
7
|
+
import "./multirow-55dfa7bf.js";
|
|
8
|
+
import "./baseImp-9c1c3476.js";
|
|
9
9
|
import "./enum-type-80708bd8.js";
|
|
10
10
|
import "./icon-1fc5d00d.js";
|
|
11
11
|
import "./dialog-eea5b71b.js";
|
|
12
12
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
13
|
import "./uuid-f2110dfe.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./slot-
|
|
15
|
+
import "./index-4c98d500.js";
|
|
16
|
+
import "./slot-44e26cb4.js";
|
|
17
17
|
import "./widget-base-8eece820.js";
|
|
18
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-21b0af7b.js";
|
|
19
19
|
import "./index-ae7a8101.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
21
|
import "./fieldobj-0f01de3c.js";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { defineComponent as T, ref as z, computed as x, onMounted as ee, watch as re, resolveComponent as A, openBlock as n, createBlock as f, mergeProps as p, unref as l, withCtx as d, toHandlers as oe, createElementBlock as i, Fragment as m, renderList as k, createSlots as B, createVNode as g } from "vue";
|
|
2
2
|
import { u as te, r as se } from "./icon-1fc5d00d.js";
|
|
3
3
|
import { I as ne } from "./field-base-1acf3ada.js";
|
|
4
|
-
import { _ as pe } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { b as ae } from "./share-field-
|
|
6
|
-
import { b as le, w as ce } from "./expression-
|
|
7
|
-
import { D as _ } from "./drag-wrapper-
|
|
8
|
-
import { r as ue } from "./index-
|
|
4
|
+
import { _ as pe } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-21b0af7b.js";
|
|
5
|
+
import { b as ae } from "./share-field-2e7f9b3a.js";
|
|
6
|
+
import { b as le, w as ce } from "./expression-fb652f29.js";
|
|
7
|
+
import { D as _ } from "./drag-wrapper-c97acf25.js";
|
|
8
|
+
import { r as ue } from "./index-4c98d500.js";
|
|
9
9
|
import { c as de } from "./enum-type-80708bd8.js";
|
|
10
|
-
import { P as h, b as fe } from "./baseImp-
|
|
10
|
+
import { P as h, b as fe } from "./baseImp-9c1c3476.js";
|
|
11
11
|
import "./widget-base-8eece820.js";
|
|
12
12
|
import "./enum-type-8bbffeb3.js";
|
|
13
13
|
import "./index-ae7a8101.js";
|
|
14
14
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
15
15
|
import "./fieldobj-0f01de3c.js";
|
|
16
|
-
import "./multirow-
|
|
17
|
-
import "./slot-
|
|
16
|
+
import "./multirow-55dfa7bf.js";
|
|
17
|
+
import "./slot-44e26cb4.js";
|
|
18
18
|
import "./uuid-f2110dfe.js";
|
|
19
19
|
import "./source-map-b04aec4a.js";
|
|
20
20
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { defineComponent as F, computed as I, inject as T, ref as L, onMounted as M, resolveDirective as P, openBlock as a, createBlock as d, mergeProps as c, unref as o, withCtx as R, createElementBlock as n, Fragment as u, withDirectives as z, renderList as A, createTextVNode as E, toDisplayString as J } from "vue";
|
|
2
|
+
import { e as q, t as G, f as H } from "./enum-type-8bbffeb3.js";
|
|
3
|
+
import { I as K } from "./widget-base-8eece820.js";
|
|
4
|
+
import { b as Q } from "./share-field-2e7f9b3a.js";
|
|
5
|
+
import { _ as U } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-21b0af7b.js";
|
|
6
|
+
import { D as v } from "./drag-wrapper-c97acf25.js";
|
|
7
|
+
import { i as X, d as Y } from "./slot-44e26cb4.js";
|
|
8
|
+
import { c as Z } from "./multirow-55dfa7bf.js";
|
|
9
|
+
import { d as ee, b as te } from "./expression-fb652f29.js";
|
|
10
|
+
import { _ as oe } from "./_plugin-vue_export-helper-dad06003.js";
|
|
11
|
+
import "./icon-1fc5d00d.js";
|
|
12
|
+
import "./baseImp-9c1c3476.js";
|
|
13
|
+
import "./enum-type-80708bd8.js";
|
|
14
|
+
import "./dialog-eea5b71b.js";
|
|
15
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
|
+
import "./uuid-f2110dfe.js";
|
|
17
|
+
import "element-plus";
|
|
18
|
+
import "./index-4c98d500.js";
|
|
19
|
+
import "./index-ae7a8101.js";
|
|
20
|
+
import "./fieldobj-0f01de3c.js";
|
|
21
|
+
import "./source-map-b04aec4a.js";
|
|
22
|
+
import "./esprima-e8d15055.js";
|
|
23
|
+
const re = ["element-loading-text"], ae = /* @__PURE__ */ F({
|
|
24
|
+
__name: "tmpl-widget",
|
|
25
|
+
props: {
|
|
26
|
+
...K
|
|
27
|
+
},
|
|
28
|
+
setup(h, { expose: y }) {
|
|
29
|
+
const f = h, { slots: g, exposed: D, attrs: i, events: k, fieldObj: x, fieldName: S, watchOption: b } = Q(f), C = I(() => X(g.value)), V = T(ee.globalConfig, {}), { getSlotFromData: $, emit$: O, rowsData: l, getValue: N, setValue: W } = Z({
|
|
30
|
+
...f,
|
|
31
|
+
globalConfig: V,
|
|
32
|
+
fieldName: S.value
|
|
33
|
+
}), _ = (e) => W(G(H(e), !0), (r) => j(r)), p = L(!1), w = (e = !1) => {
|
|
34
|
+
b(e, te.data, () => {
|
|
35
|
+
p.value = !0;
|
|
36
|
+
}, (r) => {
|
|
37
|
+
var t, s;
|
|
38
|
+
_(r), setTimeout(() => {
|
|
39
|
+
p.value = !1;
|
|
40
|
+
}, 1e3), (s = (t = k.value) == null ? void 0 : t.completed) == null || s.call(t, r);
|
|
41
|
+
});
|
|
42
|
+
}, j = (e) => {
|
|
43
|
+
var t;
|
|
44
|
+
const r = (t = i == null ? void 0 : i.value) != null && t.alwaysShow ? [{}] : null;
|
|
45
|
+
return $(g.value, e || r);
|
|
46
|
+
};
|
|
47
|
+
return M(() => {
|
|
48
|
+
w(!0);
|
|
49
|
+
}), y({
|
|
50
|
+
...D,
|
|
51
|
+
refresh: w,
|
|
52
|
+
emit$: O,
|
|
53
|
+
setValue: _,
|
|
54
|
+
getValue: N
|
|
55
|
+
}), (e, r) => {
|
|
56
|
+
const t = P("loading");
|
|
57
|
+
return a(), d(U, c(e.$props, {
|
|
58
|
+
"prop-options": { fieldObj: o(x) },
|
|
59
|
+
"show-wrapper-component": !0
|
|
60
|
+
}), {
|
|
61
|
+
default: R(() => {
|
|
62
|
+
var s;
|
|
63
|
+
return [
|
|
64
|
+
e.designState ? (a(), d(v, c({ key: 0 }, e.$props, {
|
|
65
|
+
widget: o(Y)(C.value, "row"),
|
|
66
|
+
dragClass: "dragSize"
|
|
67
|
+
}), null, 16, ["widget"])) : (a(), n(u, { key: 1 }, [
|
|
68
|
+
o(l) && ((s = o(l)) == null ? void 0 : s.length) > 0 ? z((a(), n("div", {
|
|
69
|
+
key: 0,
|
|
70
|
+
"element-loading-text": o(i).loadingText
|
|
71
|
+
}, [
|
|
72
|
+
(a(!0), n(u, null, A(o(l), (m, B) => (a(), d(v, c({
|
|
73
|
+
key: m.key,
|
|
74
|
+
ref_for: !0
|
|
75
|
+
}, e.$props, {
|
|
76
|
+
widget: m.widget[0],
|
|
77
|
+
componentName: "div",
|
|
78
|
+
"row-scope": { row: m.data, $index: B },
|
|
79
|
+
componentClass: "flex full-width"
|
|
80
|
+
}), null, 16, ["widget", "row-scope"]))), 128))
|
|
81
|
+
], 8, re)), [
|
|
82
|
+
[t, o(i).showLoading && p.value]
|
|
83
|
+
]) : (a(), n(u, { key: 1 }, [
|
|
84
|
+
E(J(o(i).noData || o(q).i18nt("designer.hint.noData")), 1)
|
|
85
|
+
], 64))
|
|
86
|
+
], 64))
|
|
87
|
+
];
|
|
88
|
+
}),
|
|
89
|
+
_: 1
|
|
90
|
+
}, 16, ["prop-options"]);
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
});
|
|
94
|
+
const Ve = /* @__PURE__ */ oe(ae, [["__scopeId", "data-v-685c31cf"]]);
|
|
95
|
+
export {
|
|
96
|
+
Ve as default
|
|
97
|
+
};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { defineComponent as $, ref as F, computed as I, resolveComponent as P, openBlock as t, createBlock as o, mergeProps as n, unref as a, withCtx as V, createElementBlock as p, Fragment as C, renderList as b, resolveDynamicComponent as f, createCommentVNode as l, createVNode as g, isRef as x, toHandlers as H, createSlots as K } from "vue";
|
|
2
2
|
import { I as L } from "./widget-base-8eece820.js";
|
|
3
|
-
import { D as c } from "./drag-wrapper-
|
|
4
|
-
import { _ as M } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { w as R } from "./expression-
|
|
6
|
-
import { b as U } from "./share-field-
|
|
7
|
-
import { g as N } from "./slot-
|
|
3
|
+
import { D as c } from "./drag-wrapper-c97acf25.js";
|
|
4
|
+
import { _ as M } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-21b0af7b.js";
|
|
5
|
+
import { w as R } from "./expression-fb652f29.js";
|
|
6
|
+
import { b as U } from "./share-field-2e7f9b3a.js";
|
|
7
|
+
import { g as N } from "./slot-44e26cb4.js";
|
|
8
8
|
import { i as S } from "./enum-type-8bbffeb3.js";
|
|
9
|
-
import "./baseImp-
|
|
9
|
+
import "./baseImp-9c1c3476.js";
|
|
10
10
|
import "./enum-type-80708bd8.js";
|
|
11
11
|
import "./icon-1fc5d00d.js";
|
|
12
12
|
import "./dialog-eea5b71b.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
14
|
import "./uuid-f2110dfe.js";
|
|
15
15
|
import "element-plus";
|
|
16
|
-
import "./index-
|
|
16
|
+
import "./index-4c98d500.js";
|
|
17
17
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
18
18
|
import "./index-ae7a8101.js";
|
|
19
19
|
import "./fieldobj-0f01de3c.js";
|
|
20
20
|
import "./source-map-b04aec4a.js";
|
|
21
21
|
import "./esprima-e8d15055.js";
|
|
22
|
-
import "./multirow-
|
|
22
|
+
import "./multirow-55dfa7bf.js";
|
|
23
23
|
const q = { key: 0 }, G = $({ componentName: R.ContainerWidget }), ke = /* @__PURE__ */ $({
|
|
24
24
|
...G,
|
|
25
25
|
__name: "tooltip-widget",
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import { defineComponent as B, computed as w, resolveComponent as I, openBlock as l, createBlock as c, mergeProps as V, unref as n, withCtx as p, createElementBlock as y, Fragment as O, createVNode as S, renderList as x, createTextVNode as Y, toDisplayString as g, createElementVNode as C, isRef as Z, toHandlers as tt, resolveDynamicComponent as T } from "vue";
|
|
2
|
+
import { I as ot } from "./field-base-1acf3ada.js";
|
|
3
|
+
import { _ as et } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-21b0af7b.js";
|
|
4
|
+
import { b as nt } from "./share-field-2e7f9b3a.js";
|
|
5
|
+
import { w as rt } from "./expression-fb652f29.js";
|
|
6
|
+
import { g as st, K as lt, c as at } from "./baseImp-9c1c3476.js";
|
|
7
|
+
import { u as ct } from "./icon-1fc5d00d.js";
|
|
8
|
+
import { a8 as v, as as h } from "./enum-type-80708bd8.js";
|
|
9
|
+
import { d as pt } from "./slot-44e26cb4.js";
|
|
10
|
+
import { e as F } from "./enum-type-8bbffeb3.js";
|
|
11
|
+
import { t as ut } from "./index-31e1760d.js";
|
|
12
|
+
import "./widget-base-8eece820.js";
|
|
13
|
+
import "./index-4c98d500.js";
|
|
14
|
+
import "./uuid-f2110dfe.js";
|
|
15
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
|
+
import "./index-ae7a8101.js";
|
|
17
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
18
|
+
import "./fieldobj-0f01de3c.js";
|
|
19
|
+
import "./multirow-55dfa7bf.js";
|
|
20
|
+
import "./source-map-b04aec4a.js";
|
|
21
|
+
import "./esprima-e8d15055.js";
|
|
22
|
+
import "./dialog-eea5b71b.js";
|
|
23
|
+
import "element-plus";
|
|
24
|
+
const dt = B({ componentName: rt.FieldWidget }), Rt = /* @__PURE__ */ B({
|
|
25
|
+
...dt,
|
|
26
|
+
__name: "tour-widget",
|
|
27
|
+
props: { ...ot },
|
|
28
|
+
setup(A, { expose: M }) {
|
|
29
|
+
const N = A, { fieldEditor: R, slots: P, fieldKey: D, fieldModel: u, attrs: H, extendAttrs: _, events: K, optionItems: b, getWidgetOptionByPropValue: r, getFieldOptions: it, exposed: f, fieldObj: L } = nt(N), W = w(() => {
|
|
30
|
+
var t, e;
|
|
31
|
+
return {
|
|
32
|
+
offset: (t = _.value) == null ? void 0 : t.gap_offset,
|
|
33
|
+
radius: (e = _.value) == null ? void 0 : e.gap_radius
|
|
34
|
+
};
|
|
35
|
+
}), m = (t) => {
|
|
36
|
+
const e = r(t == null ? void 0 : t.maskType), s = r(t == null ? void 0 : t.mask1), a = r(t == null ? void 0 : t.mask2);
|
|
37
|
+
switch (e) {
|
|
38
|
+
case v.bool:
|
|
39
|
+
return s;
|
|
40
|
+
case v.object:
|
|
41
|
+
return a;
|
|
42
|
+
}
|
|
43
|
+
}, j = (t) => {
|
|
44
|
+
const e = r(t == null ? void 0 : t.scrollIntoViewOptionsType), s = r(t == null ? void 0 : t.scrollIntoViewOptions1), a = r(t == null ? void 0 : t.scrollIntoViewOptions2);
|
|
45
|
+
switch (e) {
|
|
46
|
+
case v.bool:
|
|
47
|
+
return s;
|
|
48
|
+
case v.object:
|
|
49
|
+
return a;
|
|
50
|
+
}
|
|
51
|
+
}, $ = (t) => {
|
|
52
|
+
var d;
|
|
53
|
+
const e = r(t == null ? void 0 : t.targetType), s = r(t == null ? void 0 : t.target_htmlelement), a = r(t == null ? void 0 : t.target_string), k = r(t == null ? void 0 : t.target_function);
|
|
54
|
+
switch (e) {
|
|
55
|
+
case h.HTMLElement: {
|
|
56
|
+
const { transFormula: o } = at(), i = o(s);
|
|
57
|
+
return (d = (f == null ? void 0 : f.findRefById(i, E)).exposed) == null ? void 0 : d.fieldEditor();
|
|
58
|
+
}
|
|
59
|
+
case h.String:
|
|
60
|
+
return a;
|
|
61
|
+
case h.Function:
|
|
62
|
+
return lt(k);
|
|
63
|
+
}
|
|
64
|
+
}, G = (t) => {
|
|
65
|
+
var e = {};
|
|
66
|
+
return [
|
|
67
|
+
"showArrow",
|
|
68
|
+
"title",
|
|
69
|
+
"description",
|
|
70
|
+
"placement",
|
|
71
|
+
"contentStyle",
|
|
72
|
+
"showClose",
|
|
73
|
+
"closeIcon"
|
|
74
|
+
].map((s) => {
|
|
75
|
+
e[s] = r(t == null ? void 0 : t[s]);
|
|
76
|
+
}), Object.assign(e, {
|
|
77
|
+
target: $(t),
|
|
78
|
+
mask: m(t),
|
|
79
|
+
scrollIntoViewOptions: j(t)
|
|
80
|
+
}), e;
|
|
81
|
+
}, U = w(() => m(_.value)), q = w(() => j(_.value)), z = w(() => ({
|
|
82
|
+
...H.value,
|
|
83
|
+
gap: W.value,
|
|
84
|
+
scrollIntoViewOptions: q.value,
|
|
85
|
+
mask: U.value
|
|
86
|
+
})), J = () => {
|
|
87
|
+
u.value = !0;
|
|
88
|
+
}, Q = () => {
|
|
89
|
+
u.value = !1;
|
|
90
|
+
}, { instance: E } = ct(), X = st({ instance: E });
|
|
91
|
+
return M({ ...f, show: J, hide: Q }), (t, e) => {
|
|
92
|
+
const s = I("el-tag"), a = I("el-tour-step"), k = I("el-tour");
|
|
93
|
+
return l(), c(et, V(t.$props, {
|
|
94
|
+
"prop-options": { fieldObj: n(L) }
|
|
95
|
+
}), {
|
|
96
|
+
default: p(({ data: d }) => [
|
|
97
|
+
t.designState ? (l(), y(O, { key: 0 }, [
|
|
98
|
+
S(ut, {
|
|
99
|
+
content: n(F).i18nt("designer.hint.designTip")
|
|
100
|
+
}, null, 8, ["content"]),
|
|
101
|
+
(l(!0), y(O, null, x(n(b), (o, i) => (l(), y("div", null, [
|
|
102
|
+
S(s, null, {
|
|
103
|
+
default: p(() => [
|
|
104
|
+
Y(g(i), 1)
|
|
105
|
+
]),
|
|
106
|
+
_: 2
|
|
107
|
+
}, 1024),
|
|
108
|
+
C("div", null, g(n(F).i18nt("designer.setting.tour_title")) + ":" + g(o == null ? void 0 : o.title), 1),
|
|
109
|
+
C("div", null, g(n(F).i18nt("designer.setting.tour_description")) + ":" + g(o == null ? void 0 : o.description), 1)
|
|
110
|
+
]))), 256))
|
|
111
|
+
], 64)) : (l(), c(k, V({
|
|
112
|
+
modelValue: n(u),
|
|
113
|
+
"onUpdate:modelValue": e[0] || (e[0] = (o) => Z(u) ? u.value = o : null),
|
|
114
|
+
ref_key: "fieldEditor",
|
|
115
|
+
ref: R,
|
|
116
|
+
key: n(D)
|
|
117
|
+
}, z.value, tt(n(K)), {
|
|
118
|
+
class: d.injectClass,
|
|
119
|
+
style: d.injectStyle
|
|
120
|
+
}), {
|
|
121
|
+
indicators: p((o) => [
|
|
122
|
+
(l(), c(T(n(r)(n(pt)(n(P), "indicators"))), {
|
|
123
|
+
scope: o,
|
|
124
|
+
ctx: n(X)
|
|
125
|
+
}, null, 8, ["scope", "ctx"]))
|
|
126
|
+
]),
|
|
127
|
+
default: p(() => [
|
|
128
|
+
(l(!0), y(O, null, x(n(b), (o, i) => (l(), c(a, V({ key: i }, { ref_for: !0 }, G(o)), {
|
|
129
|
+
header: p(() => [
|
|
130
|
+
(l(), c(T(n(r)(o.header))))
|
|
131
|
+
]),
|
|
132
|
+
default: p(() => [
|
|
133
|
+
(l(), c(T(n(r)(o.default))))
|
|
134
|
+
]),
|
|
135
|
+
_: 2
|
|
136
|
+
}, 1040))), 128))
|
|
137
|
+
]),
|
|
138
|
+
_: 1
|
|
139
|
+
}, 16, ["modelValue", "class", "style"]))
|
|
140
|
+
]),
|
|
141
|
+
_: 1
|
|
142
|
+
}, 16, ["prop-options"]);
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
});
|
|
146
|
+
export {
|
|
147
|
+
Rt as default
|
|
148
|
+
};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { defineComponent as g, computed as S, resolveComponent as x, openBlock as m, createBlock as a, mergeProps as l, unref as r, withCtx as f, isRef as z, toHandlers as A, createSlots as D, renderList as I, resolveDynamicComponent as W, createCommentVNode as c } from "vue";
|
|
2
2
|
import { e as B } from "./enum-type-8bbffeb3.js";
|
|
3
3
|
import { I as E } from "./field-base-1acf3ada.js";
|
|
4
|
-
import { b as L } from "./share-field-
|
|
5
|
-
import { g as P } from "./slot-
|
|
6
|
-
import T from "./form-item-wrapper-
|
|
7
|
-
import { w as $ } from "./expression-
|
|
8
|
-
import { D as h } from "./drag-wrapper-
|
|
4
|
+
import { b as L } from "./share-field-2e7f9b3a.js";
|
|
5
|
+
import { g as P } from "./slot-44e26cb4.js";
|
|
6
|
+
import T from "./form-item-wrapper-b34acfff.js";
|
|
7
|
+
import { w as $ } from "./expression-fb652f29.js";
|
|
8
|
+
import { D as h } from "./drag-wrapper-c97acf25.js";
|
|
9
9
|
import "./widget-base-8eece820.js";
|
|
10
|
-
import "./multirow-
|
|
11
|
-
import "./baseImp-
|
|
10
|
+
import "./multirow-55dfa7bf.js";
|
|
11
|
+
import "./baseImp-9c1c3476.js";
|
|
12
12
|
import "./enum-type-80708bd8.js";
|
|
13
13
|
import "./icon-1fc5d00d.js";
|
|
14
14
|
import "./dialog-eea5b71b.js";
|
|
15
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
16
|
import "./uuid-f2110dfe.js";
|
|
17
17
|
import "element-plus";
|
|
18
|
-
import "./index-
|
|
19
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
18
|
+
import "./index-4c98d500.js";
|
|
19
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-21b0af7b.js";
|
|
20
20
|
import "./index-ae7a8101.js";
|
|
21
21
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
22
22
|
import "./fieldobj-0f01de3c.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { defineComponent as D, computed as a, resolveComponent as te, openBlock as s, createBlock as p, mergeProps as O, unref as o, withCtx as d, toHandlers as W, createSlots as A, resolveDynamicComponent as n, createCommentVNode as C } from "vue";
|
|
2
2
|
import { s as f, t as B } from "./enum-type-8bbffeb3.js";
|
|
3
3
|
import { I as le } from "./field-base-1acf3ada.js";
|
|
4
|
-
import { b as oe } from "./share-field-
|
|
5
|
-
import re from "./form-item-wrapper-
|
|
6
|
-
import { b as v, w as ae } from "./expression-
|
|
4
|
+
import { b as oe } from "./share-field-2e7f9b3a.js";
|
|
5
|
+
import re from "./form-item-wrapper-b34acfff.js";
|
|
6
|
+
import { b as v, w as ae } from "./expression-fb652f29.js";
|
|
7
7
|
import "./widget-base-8eece820.js";
|
|
8
|
-
import "./multirow-
|
|
9
|
-
import "./baseImp-
|
|
8
|
+
import "./multirow-55dfa7bf.js";
|
|
9
|
+
import "./baseImp-9c1c3476.js";
|
|
10
10
|
import "./enum-type-80708bd8.js";
|
|
11
11
|
import "./icon-1fc5d00d.js";
|
|
12
12
|
import "./dialog-eea5b71b.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
14
|
import "./uuid-f2110dfe.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-
|
|
16
|
+
import "./index-4c98d500.js";
|
|
17
|
+
import "./slot-44e26cb4.js";
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-21b0af7b.js";
|
|
19
19
|
import "./index-ae7a8101.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
21
|
import "./fieldobj-0f01de3c.js";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { defineComponent as h, computed as l, resolveComponent as $, openBlock as m, createBlock as f, mergeProps as g, unref as p, 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-1acf3ada.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 { b as a, w as G } from "./expression-
|
|
3
|
+
import { b as U } from "./share-field-2e7f9b3a.js";
|
|
4
|
+
import { _ as q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-21b0af7b.js";
|
|
5
|
+
import { b as a, w as G } from "./expression-fb652f29.js";
|
|
6
6
|
import { s as n } from "./enum-type-8bbffeb3.js";
|
|
7
7
|
import "./widget-base-8eece820.js";
|
|
8
|
-
import "./multirow-
|
|
9
|
-
import "./baseImp-
|
|
8
|
+
import "./multirow-55dfa7bf.js";
|
|
9
|
+
import "./baseImp-9c1c3476.js";
|
|
10
10
|
import "./enum-type-80708bd8.js";
|
|
11
11
|
import "./icon-1fc5d00d.js";
|
|
12
12
|
import "./dialog-eea5b71b.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
14
|
import "./uuid-f2110dfe.js";
|
|
15
15
|
import "element-plus";
|
|
16
|
-
import "./index-
|
|
17
|
-
import "./slot-
|
|
16
|
+
import "./index-4c98d500.js";
|
|
17
|
+
import "./slot-44e26cb4.js";
|
|
18
18
|
import "./index-ae7a8101.js";
|
|
19
19
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
20
|
import "./fieldobj-0f01de3c.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as g, ref as v, onMounted as N, watch as k, openBlock as w, createElementBlock as S, 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
|
-
import { w as V } from "./expression-
|
|
2
|
+
import { w as V } from "./expression-fb652f29.js";
|
|
3
3
|
import { I as z } from "./field-base-1acf3ada.js";
|
|
4
|
-
import { b as T } from "./share-field-
|
|
5
|
-
import { _ as B } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
4
|
+
import { b as T } from "./share-field-2e7f9b3a.js";
|
|
5
|
+
import { _ as B } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-21b0af7b.js";
|
|
6
6
|
import { R as E } from "./enum-type-8bbffeb3.js";
|
|
7
7
|
import { _ as R } from "./_plugin-vue_export-helper-dad06003.js";
|
|
8
8
|
import "./source-map-b04aec4a.js";
|
|
@@ -10,14 +10,14 @@ import "./uuid-f2110dfe.js";
|
|
|
10
10
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
11
11
|
import "./esprima-e8d15055.js";
|
|
12
12
|
import "./widget-base-8eece820.js";
|
|
13
|
-
import "./multirow-
|
|
14
|
-
import "./baseImp-
|
|
13
|
+
import "./multirow-55dfa7bf.js";
|
|
14
|
+
import "./baseImp-9c1c3476.js";
|
|
15
15
|
import "./enum-type-80708bd8.js";
|
|
16
16
|
import "./icon-1fc5d00d.js";
|
|
17
17
|
import "./dialog-eea5b71b.js";
|
|
18
18
|
import "element-plus";
|
|
19
|
-
import "./index-
|
|
20
|
-
import "./slot-
|
|
19
|
+
import "./index-4c98d500.js";
|
|
20
|
+
import "./slot-44e26cb4.js";
|
|
21
21
|
import "./index-ae7a8101.js";
|
|
22
22
|
import "./fieldobj-0f01de3c.js";
|
|
23
23
|
const F = { class: "s-canvas" }, L = ["width", "height"], $ = /* @__PURE__ */ g({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as oe, resolveComponent as U, openBlock as o, createElementBlock as w, Fragment as j, createVNode as d, createCommentVNode as y, createBlock as W, createSlots as ne, withCtx as a, createElementVNode as z, renderList as ie, createTextVNode as C, toDisplayString as b, withModifiers as v, unref as l, renderSlot as S, computed as h, ref as se, resolveDynamicComponent as le, mergeProps as E, toHandlers as pe } from "vue";
|
|
2
2
|
import { e as g, c as ue, R as de } from "./enum-type-8bbffeb3.js";
|
|
3
3
|
import { I as me, a as ge } from "./widget-base-8eece820.js";
|
|
4
|
-
import { a as ae, i as fe, j as ve, k as we } from "./index-
|
|
4
|
+
import { a as ae, i as fe, j as ve, k as we } from "./index-4c98d500.js";
|
|
5
5
|
import { S as m } from "./index-ae7a8101.js";
|
|
6
|
-
import { f as he } from "./baseImp-
|
|
6
|
+
import { f as he } from "./baseImp-9c1c3476.js";
|
|
7
7
|
import { c as X, S as ye } from "./enum-type-80708bd8.js";
|
|
8
8
|
import { u as We } from "./fieldobj-0f01de3c.js";
|
|
9
|
-
import { b as N } from "./expression-
|
|
9
|
+
import { b as N } from "./expression-fb652f29.js";
|
|
10
10
|
const ce = { key: 0 }, ke = { class: "clWhite" }, Ce = { class: "clWhite" }, be = ["title"], Le = ["title"], $e = ["title"], Se = ["title"], Te = /* @__PURE__ */ oe({
|
|
11
11
|
__name: "drag-handler",
|
|
12
12
|
props: { ...me, parentTree: { type: Object, default: null }, hidden: { type: Boolean, default: !1 }, simple: { type: Boolean } },
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { ref as P, watch as j, defineComponent as h, computed as y, resolveDirective as L, openBlock as w, createBlock as O, mergeProps as C, unref as r, withCtx as D, withDirectives as F, createElementBlock as x, normalizeClass as z, createVNode as S, createCommentVNode as R } from "vue";
|
|
2
|
+
import { I as k } from "./widget-base-8eece820.js";
|
|
3
|
+
import { D as A } from "./drag-wrapper-c97acf25.js";
|
|
4
|
+
import { _ as B } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-21b0af7b.js";
|
|
5
|
+
import { w as I } from "./expression-fb652f29.js";
|
|
6
|
+
import { W } from "./enum-type-80708bd8.js";
|
|
7
|
+
import { b as N, a as $ } from "./share-field-2e7f9b3a.js";
|
|
8
|
+
import { c as E, F as H } from "./slot-44e26cb4.js";
|
|
9
|
+
function K(n) {
|
|
10
|
+
const a = P({}), { componentWrapperClass: p, customClass: i } = E({ widget: n.widget }), { exposed: t, attrs: d, extendAttrs: c, fieldKey: m, fieldObj: f } = N(n), { setAllRefList: l } = $(a.value), o = (s = !1) => {
|
|
11
|
+
l(W.setDisabled, { flag: s });
|
|
12
|
+
}, _ = (s = !1) => {
|
|
13
|
+
var e;
|
|
14
|
+
(e = t == null ? void 0 : t.setHidden) == null || e.call(t, s);
|
|
15
|
+
}, g = () => {
|
|
16
|
+
l(W.resetField);
|
|
17
|
+
};
|
|
18
|
+
return ((s) => {
|
|
19
|
+
j(() => {
|
|
20
|
+
var e;
|
|
21
|
+
return (e = d.value) == null ? void 0 : e[s];
|
|
22
|
+
}, (e) => {
|
|
23
|
+
e != null && s === "disabled" && o(e);
|
|
24
|
+
}, { immediate: !0 });
|
|
25
|
+
})("disabled"), {
|
|
26
|
+
extendAttrs: c,
|
|
27
|
+
attrs: d,
|
|
28
|
+
exposed: {
|
|
29
|
+
...t,
|
|
30
|
+
setDisabled: o,
|
|
31
|
+
setHidden: _,
|
|
32
|
+
// setRequired,
|
|
33
|
+
resetField: g
|
|
34
|
+
},
|
|
35
|
+
componentWrapperClass: p,
|
|
36
|
+
customClass: i,
|
|
37
|
+
fieldKey: m,
|
|
38
|
+
fieldObj: f,
|
|
39
|
+
widgetRefList: a
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
const T = ["element-loading-text"], V = h({ componentName: I.ContainerWidget }), M = /* @__PURE__ */ h({
|
|
43
|
+
...V,
|
|
44
|
+
__name: "wrapper-widget",
|
|
45
|
+
props: { ...k },
|
|
46
|
+
setup(n, { expose: a }) {
|
|
47
|
+
const p = n, { attrs: i, extendAttrs: t, exposed: d, fieldObj: c, fieldKey: m, widgetRefList: f } = K(p), l = y(() => {
|
|
48
|
+
var o;
|
|
49
|
+
return {
|
|
50
|
+
disabled: (o = i.value) == null ? void 0 : o.disabled
|
|
51
|
+
};
|
|
52
|
+
});
|
|
53
|
+
return H.globalProvide({
|
|
54
|
+
globalFormOptions: l
|
|
55
|
+
}), a({ ...d }), (o, _) => {
|
|
56
|
+
const g = L("loading");
|
|
57
|
+
return w(), O(B, C(o.$props, {
|
|
58
|
+
"prop-options": { fieldObj: r(c) },
|
|
59
|
+
"component-name": "div",
|
|
60
|
+
"show-wrapper-component": !0
|
|
61
|
+
}), {
|
|
62
|
+
default: D(({ data: u }) => {
|
|
63
|
+
var s, e, b, v;
|
|
64
|
+
return [
|
|
65
|
+
o.designState || !((s = r(i)) != null && s.hidden) || !((e = r(i)) != null && e.lazy) ? F((w(), x("div", {
|
|
66
|
+
ref: "fieldEditor",
|
|
67
|
+
class: z(u.injectClass),
|
|
68
|
+
key: r(m),
|
|
69
|
+
"element-loading-text": (b = r(t)) == null ? void 0 : b.loadingText
|
|
70
|
+
}, [
|
|
71
|
+
S(A, C(o.$props, {
|
|
72
|
+
dragClass: "dragSize padSize",
|
|
73
|
+
"component-class": u.componentWrapperClass,
|
|
74
|
+
refList: r(f)
|
|
75
|
+
}), null, 16, ["component-class", "refList"])
|
|
76
|
+
], 10, T)), [
|
|
77
|
+
[g, (v = r(t)) == null ? void 0 : v.showLoading]
|
|
78
|
+
]) : R("", !0)
|
|
79
|
+
];
|
|
80
|
+
}),
|
|
81
|
+
_: 1
|
|
82
|
+
}, 16, ["prop-options"]);
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
}), ee = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
86
|
+
__proto__: null,
|
|
87
|
+
default: M
|
|
88
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
89
|
+
export {
|
|
90
|
+
ee as _
|
|
91
|
+
};
|