hlrender 0.0.283 → 0.0.285
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-6f6e720a.js → affix-widget-9dd2f18a.js} +4 -4
- package/{alert-widget-749d999e.js → alert-widget-921569b3.js} +4 -4
- package/{anchor-widget-aeae429c.js → anchor-widget-127b46a5.js} +2 -2
- package/{auto-complete-widget-b7cfabae.js → auto-complete-widget-1c99a442.js} +5 -5
- package/{avatar-widget-14801d8e.js → avatar-widget-baaa192a.js} +4 -4
- package/{backtop-widget-88ec7a58.js → backtop-widget-e893cb46.js} +4 -4
- package/{badge-widget-5866608d.js → badge-widget-d7b30c7b.js} +4 -4
- package/{barcode-widget-e4aad1c6.js → barcode-widget-2588d202.js} +2 -2
- package/{breadcrumb-widget-6ef90632.js → breadcrumb-widget-067b874c.js} +2 -2
- package/{button-widget-e38a1143.js → button-widget-258b858b.js} +4 -4
- package/{cache-widget-b212ceae.js → cache-widget-22fbdaad.js} +4 -4
- package/{card-widget-09077068.js → card-widget-7834b56c.js} +3 -3
- package/{carousel-widget-7a6aa411.js → carousel-widget-70e74809.js} +3 -3
- package/{cascader-widget-8c76d153.js → cascader-widget-7764ddc2.js} +4 -4
- package/{chart-widget-66c82c2d.js → chart-widget-cc786a3b.js} +2 -2
- package/{checkbox-widget-3726d452.js → checkbox-widget-77a40e84.js} +4 -4
- package/{collapse-widget-8f459cdb.js → collapse-widget-7e9f891d.js} +3 -3
- package/{color-picker-widget-2abd4af6.js → color-picker-widget-7365857c.js} +4 -4
- package/{cont-cell-widget-8b9dc3ea.js → cont-cell-widget-1b8b0610.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-7ec6efa4.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-74822add.js} +1 -1
- package/{cont-widget-8467d9ed.js → cont-widget-0a12b275.js} +2 -2
- package/{countdown-widget-410b713f.js → countdown-widget-89d43ee5.js} +4 -4
- package/{date-picker-range-widget-35fc2636.js → date-picker-range-widget-df8df55d.js} +4 -4
- package/{date-picker-widget-011606ed.js → date-picker-widget-26f89536.js} +4 -4
- package/{default-slot-widget-55acf41f.js → default-slot-widget-2e60c137.js} +4 -4
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-6ddfc9e9.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-96416f0b.js} +4 -4
- package/{descriptions-widget-5c5095b3.js → descriptions-widget-183d9328.js} +3 -3
- package/{dialog-widget-5697bc84.js → dialog-widget-49ba3eb6.js} +4 -4
- package/{divider-widget-81032707.js → divider-widget-791254e6.js} +4 -4
- package/{drag-wrapper-a79ff9ea.js → drag-wrapper-8a051680.js} +1 -1
- package/{drawer-widget-9f0b8f7c.js → drawer-widget-acff88ad.js} +4 -4
- package/{dropdown-widget-d45fc68f.js → dropdown-widget-facf4316.js} +3 -3
- package/{empty-widget-6849c589.js → empty-widget-e1545ea4.js} +4 -4
- package/{feedback-widget-e661e6a2.js → feedback-widget-e503eda6.js} +4 -4
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-93b5d505.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-70418efb.js} +2 -2
- package/fieldobj-444b15a2.js +15 -0
- package/{file-upload-widget-6bceb805.js → file-upload-widget-615a5aa8.js} +5 -5
- package/{form-item-wrapper-37a2733b.js → form-item-wrapper-4cec7bbe.js} +16 -16
- package/{form-widget-8dc4d5ed.js → form-widget-735e253c.js} +2 -2
- package/{grid-col-widget-5234fe90.js → grid-col-widget-ba4b447d.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-ddbf39e8.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-197100d8.js} +2 -2
- package/{grid-widget-25d7bd18.js → grid-widget-2a85dbf6.js} +2 -2
- package/{hcard-widget-7add56cf.js → hcard-widget-cc6f3bea.js} +3 -3
- package/{html-text-widget-41f10508.js → html-text-widget-a51a53fd.js} +2 -2
- package/{icon-widget-d3c40f38.js → icon-widget-c9775148.js} +2 -2
- package/{iframe-widget-b404d80b.js → iframe-widget-f13fddc9.js} +2 -2
- package/{image-widget-c3082e04.js → image-widget-c48be9f7.js} +2 -2
- package/{input-number-widget-9a759333.js → input-number-widget-899ebe13.js} +4 -4
- package/{input-tag-widget-8e954edc.js → input-tag-widget-4a9d92a4.js} +5 -5
- package/{input-widget-d7739e42.js → input-widget-c80d6544.js} +5 -5
- package/{label-wrapper-28f3575a.js → label-wrapper-b3056f03.js} +2 -2
- package/label-wrapper.vue_vue_type_style_index_0_lang-e7be73d8.js +63 -0
- package/{link-widget-b523f613.js → link-widget-9640c9a4.js} +4 -4
- package/{ltable-col-widget-7c4e2d09.js → ltable-col-widget-ede02b06.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-aade3bbb.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-8bcbf3ba.js} +2 -2
- package/{ltable-widget-dc819811.js → ltable-widget-66b014d0.js} +2 -2
- package/{mention-widget-6ae8f46b.js → mention-widget-66f58046.js} +5 -5
- package/{menu-widget-92f5a9af.js → menu-widget-23a42aae.js} +2 -2
- package/{model-widget-02a69efb.js → model-widget-3874d793.js} +2 -2
- package/{multirow-widget-86dc3685.js → multirow-widget-2f13b26f.js} +4 -4
- package/package.json +1 -1
- package/{pagination-widget-394caa20.js → pagination-widget-afba979f.js} +2 -2
- package/{picture-upload-widget-4575ad5c.js → picture-upload-widget-9b2aba9f.js} +4 -4
- package/{progress-widget-801968cc.js → progress-widget-ee4ada7c.js} +3 -3
- package/{qrcode-widget-63f9a119.js → qrcode-widget-61ea4de5.js} +2 -2
- package/{radio-widget-9fdeed9f.js → radio-widget-44b5fb08.js} +4 -4
- package/{range-widget-a4bf0314.js → range-widget-4656be10.js} +5 -5
- package/{rate-widget-4761fa9f.js → rate-widget-ad1412cb.js} +4 -4
- package/render.es.js +17 -17
- package/render.style.css +1 -1
- package/render.umd.js +19 -19
- package/{result-widget-55cb6807.js → result-widget-cb3615d2.js} +3 -3
- package/{rich-editor-widget-c670a9eb.js → rich-editor-widget-a9997240.js} +4 -4
- package/{router-widget-ae1b25dc.js → router-widget-eac989fb.js} +2 -2
- package/{segmented-widget-90d1cef4.js → segmented-widget-a4e6f534.js} +2 -2
- package/{select-widget-7072f94e.js → select-widget-ec70edd0.js} +4 -4
- package/{skeleton-widget-8da29c16.js → skeleton-widget-60d531c4.js} +4 -4
- package/{skeletonItem-widget-8ed84ed4.js → skeletonItem-widget-42445a2e.js} +2 -2
- package/{slider-widget-15a845aa.js → slider-widget-5a4fe6a7.js} +4 -4
- package/{space-widget-1a7b7b26.js → space-widget-dbc69750.js} +3 -3
- package/{splitter-widget-7f06cfe0.js → splitter-widget-13da4f80.js} +3 -3
- package/{static-text-widget-01b2c0be.js → static-text-widget-ae1d8d8b.js} +2 -2
- package/{statistic-widget-ce186681.js → statistic-widget-bad99fbc.js} +4 -4
- package/{steps-widget-f26895eb.js → steps-widget-6d3f000d.js} +2 -2
- package/{switch-widget-554140b8.js → switch-widget-b28d9792.js} +4 -4
- package/{tab-pane-widget-266b55bd.js → tab-pane-widget-bd1fc6c3.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-7b2a10aa.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-f8e8a2f6.js} +2 -2
- package/{table-col-widget-671b5afe.js → table-col-widget-0606a8eb.js} +2 -2
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-20aeaee1.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-9377aecb.js} +1 -1
- package/{table-widget-ede9dbc1.js → table-widget-25dd7382.js} +4 -4
- package/{tabs-widget-ce49e14d.js → tabs-widget-b653db33.js} +12 -12
- package/{tag-widget-bc9daa38.js → tag-widget-6990d2a4.js} +4 -4
- package/{text-widget-7c0ceee0.js → text-widget-036f96dd.js} +4 -4
- package/{textarea-widget-885054bd.js → textarea-widget-373a765d.js} +4 -4
- package/{time-picker-range-widget-998500ee.js → time-picker-range-widget-cd271bd9.js} +4 -4
- package/{time-picker-widget-3925be2b.js → time-picker-widget-72a2e0c0.js} +4 -4
- package/{time-select-widget-df703f88.js → time-select-widget-53fd555d.js} +4 -4
- package/{timeline-widget-024f0857.js → timeline-widget-c3c01fdb.js} +3 -3
- package/{tmpl-widget-32cb8368.js → tmpl-widget-eb2ca989.js} +3 -3
- package/{tooltip-widget-a22d1bdc.js → tooltip-widget-913a8fd6.js} +3 -3
- package/{tour-widget-c5d2c7d9.js → tour-widget-6d0af588.js} +2 -2
- package/{transfer-widget-88b80ed2.js → transfer-widget-5e6339ad.js} +5 -5
- package/{tree-select-widget-deab6036.js → tree-select-widget-aae42d5d.js} +4 -4
- package/{tree-widget-a87284a8.js → tree-widget-2b547c2c.js} +2 -2
- package/{verifycode-widget-bfcb72e4.js → verifycode-widget-d34c9c56.js} +2 -2
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-bcd065ae.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b5783744.js} +89 -89
- package/{wrapper-widget-9f772573.js → wrapper-widget-d205c036.js} +2 -2
- package/fieldobj-319120ac.js +0 -17
- package/label-wrapper.vue_vue_type_style_index_0_lang-5cba34e0.js +0 -63
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as N, ref as A, computed as ee, onMounted as oe, watch as re, resolveComponent as B, openBlock as n, createBlock as f, mergeProps as p, unref as l, withCtx as u, toHandlers as te, createElementBlock as i, Fragment as m, renderList as k, createSlots as T, createVNode as g } from "vue";
|
|
2
2
|
import { u as se, r as ne } from "./icon-4e8380f7.js";
|
|
3
3
|
import { I as pe } from "./field-base-66c90648.js";
|
|
4
|
-
import { _ as ae } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
4
|
+
import { _ as ae } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b5783744.js";
|
|
5
5
|
import { a as le } from "./share-field-c6ed3ba9.js";
|
|
6
6
|
import { b as E, w as ce } from "./expression-11846fd1.js";
|
|
7
|
-
import { D as _ } from "./drag-wrapper-
|
|
7
|
+
import { D as _ } from "./drag-wrapper-8a051680.js";
|
|
8
8
|
import { r as de } from "./global-provide-inject-6d2932d0.js";
|
|
9
9
|
import { c as ue } from "./enum-type-b9b133f4.js";
|
|
10
10
|
import { P as h, b as fe } from "./baseImp-9b58e733.js";
|
|
@@ -12,7 +12,7 @@ import "./widget-base-df734ada.js";
|
|
|
12
12
|
import "./enum-type-52a6b12a.js";
|
|
13
13
|
import "./index-f9b79d02.js";
|
|
14
14
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
15
|
-
import "./fieldobj-
|
|
15
|
+
import "./fieldobj-444b15a2.js";
|
|
16
16
|
import "./multirow-29ad4d31.js";
|
|
17
17
|
import "./slot-31d7643d.js";
|
|
18
18
|
import "./uuid-1b528338.js";
|
|
@@ -2,8 +2,8 @@ import { defineComponent as P, computed as w, inject as R, ref as T, onMounted a
|
|
|
2
2
|
import { n as h, t as H, f as K } from "./enum-type-52a6b12a.js";
|
|
3
3
|
import { I as Q } from "./widget-base-df734ada.js";
|
|
4
4
|
import { a as U } from "./share-field-c6ed3ba9.js";
|
|
5
|
-
import { _ as X } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
6
|
-
import { D as y } from "./drag-wrapper-
|
|
5
|
+
import { _ as X } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b5783744.js";
|
|
6
|
+
import { D as y } from "./drag-wrapper-8a051680.js";
|
|
7
7
|
import { i as Y, d as Z } from "./slot-31d7643d.js";
|
|
8
8
|
import { c as ee } from "./multirow-29ad4d31.js";
|
|
9
9
|
import { d as te, b as oe } from "./expression-11846fd1.js";
|
|
@@ -18,7 +18,7 @@ import "./uuid-1b528338.js";
|
|
|
18
18
|
import "element-plus";
|
|
19
19
|
import "./global-provide-inject-6d2932d0.js";
|
|
20
20
|
import "./index-f9b79d02.js";
|
|
21
|
-
import "./fieldobj-
|
|
21
|
+
import "./fieldobj-444b15a2.js";
|
|
22
22
|
import "./source-map-b04aec4a.js";
|
|
23
23
|
import "./esprima-e8d15055.js";
|
|
24
24
|
const ae = ["element-loading-text"], ie = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as h, ref as F, computed as I, resolveComponent as P, openBlock as t, createBlock as o, mergeProps as p, unref as a, withCtx as V, createElementBlock as n, Fragment as C, renderList as N, resolveDynamicComponent as f, createCommentVNode as s, createVNode as g, isRef as x, toHandlers as H, createSlots as K } from "vue";
|
|
2
2
|
import { I as L } from "./widget-base-df734ada.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-
|
|
3
|
+
import { D as c } from "./drag-wrapper-8a051680.js";
|
|
4
|
+
import { _ as M } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b5783744.js";
|
|
5
5
|
import { w as R } from "./expression-11846fd1.js";
|
|
6
6
|
import { a as U } from "./share-field-c6ed3ba9.js";
|
|
7
7
|
import { g as b } from "./slot-31d7643d.js";
|
|
@@ -17,7 +17,7 @@ import "element-plus";
|
|
|
17
17
|
import "./global-provide-inject-6d2932d0.js";
|
|
18
18
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
19
19
|
import "./index-f9b79d02.js";
|
|
20
|
-
import "./fieldobj-
|
|
20
|
+
import "./fieldobj-444b15a2.js";
|
|
21
21
|
import "./source-map-b04aec4a.js";
|
|
22
22
|
import "./esprima-e8d15055.js";
|
|
23
23
|
import "./multirow-29ad4d31.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
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 E, renderList as S, createTextVNode as Y, toDisplayString as _, createElementVNode as C, isRef as Z, toHandlers as tt, resolveDynamicComponent as T } from "vue";
|
|
2
2
|
import { I as ot } from "./field-base-66c90648.js";
|
|
3
|
-
import { _ as et } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
3
|
+
import { _ as et } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b5783744.js";
|
|
4
4
|
import { a as nt } from "./share-field-c6ed3ba9.js";
|
|
5
5
|
import { w as rt } from "./expression-11846fd1.js";
|
|
6
6
|
import { g as st, K as lt, x as at } from "./baseImp-9b58e733.js";
|
|
@@ -15,7 +15,7 @@ import "./uuid-1b528338.js";
|
|
|
15
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
16
|
import "./index-f9b79d02.js";
|
|
17
17
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
18
|
-
import "./fieldobj-
|
|
18
|
+
import "./fieldobj-444b15a2.js";
|
|
19
19
|
import "./multirow-29ad4d31.js";
|
|
20
20
|
import "./source-map-b04aec4a.js";
|
|
21
21
|
import "./esprima-e8d15055.js";
|
|
@@ -3,9 +3,9 @@ import { n as h } from "./enum-type-52a6b12a.js";
|
|
|
3
3
|
import { I as B } from "./field-base-66c90648.js";
|
|
4
4
|
import { a as E } from "./share-field-c6ed3ba9.js";
|
|
5
5
|
import { g as L } from "./slot-31d7643d.js";
|
|
6
|
-
import P from "./form-item-wrapper-
|
|
6
|
+
import P from "./form-item-wrapper-4cec7bbe.js";
|
|
7
7
|
import { w as T } from "./expression-11846fd1.js";
|
|
8
|
-
import { D as $ } from "./drag-wrapper-
|
|
8
|
+
import { D as $ } from "./drag-wrapper-8a051680.js";
|
|
9
9
|
import "./widget-base-df734ada.js";
|
|
10
10
|
import "./multirow-29ad4d31.js";
|
|
11
11
|
import "./baseImp-9b58e733.js";
|
|
@@ -17,11 +17,11 @@ import "./_commonjsHelpers-e7ea1525.js";
|
|
|
17
17
|
import "./uuid-1b528338.js";
|
|
18
18
|
import "element-plus";
|
|
19
19
|
import "./global-provide-inject-6d2932d0.js";
|
|
20
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
20
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b5783744.js";
|
|
21
21
|
import "./index-f9b79d02.js";
|
|
22
22
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
23
|
-
import "./fieldobj-
|
|
24
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
23
|
+
import "./fieldobj-444b15a2.js";
|
|
24
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-e7be73d8.js";
|
|
25
25
|
import "./source-map-b04aec4a.js";
|
|
26
26
|
import "./esprima-e8d15055.js";
|
|
27
27
|
const H = c({ componentName: T.FieldWidget }), ge = /* @__PURE__ */ c({
|
|
@@ -2,7 +2,7 @@ import { defineComponent as D, computed as a, resolveComponent as te, openBlock
|
|
|
2
2
|
import { s as f, t as B } from "./enum-type-52a6b12a.js";
|
|
3
3
|
import { I as oe } from "./field-base-66c90648.js";
|
|
4
4
|
import { a as le } from "./share-field-c6ed3ba9.js";
|
|
5
|
-
import re from "./form-item-wrapper-
|
|
5
|
+
import re from "./form-item-wrapper-4cec7bbe.js";
|
|
6
6
|
import { b as v, w as ae } from "./expression-11846fd1.js";
|
|
7
7
|
import "./widget-base-df734ada.js";
|
|
8
8
|
import "./multirow-29ad4d31.js";
|
|
@@ -16,11 +16,11 @@ import "./uuid-1b528338.js";
|
|
|
16
16
|
import "element-plus";
|
|
17
17
|
import "./global-provide-inject-6d2932d0.js";
|
|
18
18
|
import "./slot-31d7643d.js";
|
|
19
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
19
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b5783744.js";
|
|
20
20
|
import "./index-f9b79d02.js";
|
|
21
21
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
22
|
-
import "./fieldobj-
|
|
23
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
22
|
+
import "./fieldobj-444b15a2.js";
|
|
23
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-e7be73d8.js";
|
|
24
24
|
import "./source-map-b04aec4a.js";
|
|
25
25
|
import "./esprima-e8d15055.js";
|
|
26
26
|
const se = D({ componentName: ae.FieldWidget }), ze = /* @__PURE__ */ D({
|
|
@@ -1,7 +1,7 @@
|
|
|
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-66c90648.js";
|
|
3
3
|
import { a as U } from "./share-field-c6ed3ba9.js";
|
|
4
|
-
import { _ as q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
4
|
+
import { _ as q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b5783744.js";
|
|
5
5
|
import { b as a, w as G } from "./expression-11846fd1.js";
|
|
6
6
|
import { s as n } from "./enum-type-52a6b12a.js";
|
|
7
7
|
import "./widget-base-df734ada.js";
|
|
@@ -18,7 +18,7 @@ import "./global-provide-inject-6d2932d0.js";
|
|
|
18
18
|
import "./slot-31d7643d.js";
|
|
19
19
|
import "./index-f9b79d02.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
-
import "./fieldobj-
|
|
21
|
+
import "./fieldobj-444b15a2.js";
|
|
22
22
|
import "./source-map-b04aec4a.js";
|
|
23
23
|
import "./esprima-e8d15055.js";
|
|
24
24
|
const J = h({ componentName: G.FieldWidget }), Ke = /* @__PURE__ */ h({
|
|
@@ -2,7 +2,7 @@ import { defineComponent as g, ref as v, onMounted as N, watch as k, openBlock a
|
|
|
2
2
|
import { q as V, w as z } from "./expression-11846fd1.js";
|
|
3
3
|
import { I as T } from "./field-base-66c90648.js";
|
|
4
4
|
import { a as B } from "./share-field-c6ed3ba9.js";
|
|
5
|
-
import { _ as E } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
+
import { _ as E } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b5783744.js";
|
|
6
6
|
import { _ as F } from "./_plugin-vue_export-helper-dad06003.js";
|
|
7
7
|
import "./source-map-b04aec4a.js";
|
|
8
8
|
import "./enum-type-52a6b12a.js";
|
|
@@ -20,7 +20,7 @@ import "element-plus";
|
|
|
20
20
|
import "./global-provide-inject-6d2932d0.js";
|
|
21
21
|
import "./slot-31d7643d.js";
|
|
22
22
|
import "./index-f9b79d02.js";
|
|
23
|
-
import "./fieldobj-
|
|
23
|
+
import "./fieldobj-444b15a2.js";
|
|
24
24
|
const L = { class: "s-canvas" }, R = ["width", "height"], $ = /* @__PURE__ */ g({
|
|
25
25
|
__name: "_index",
|
|
26
26
|
props: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as se, resolveComponent as q, openBlock as
|
|
1
|
+
import { defineComponent as se, resolveComponent as q, openBlock as d, createElementBlock as c, Fragment as B, createVNode as r, createCommentVNode as W, createBlock as C, createSlots as x, withCtx as a, createElementVNode as J, renderList as ee, createTextVNode as b, toDisplayString as $, withModifiers as w, unref as o, renderSlot as j, computed as h, ref as te, resolveDynamicComponent as ne, mergeProps as M, toHandlers as ue } from "vue";
|
|
2
2
|
import { b as g, q as ie } from "./expression-11846fd1.js";
|
|
3
3
|
import { n as v, y as fe, c as me } from "./enum-type-52a6b12a.js";
|
|
4
4
|
import { I as ge, a as ve } from "./widget-base-df734ada.js";
|
|
@@ -6,93 +6,93 @@ import { a as le, F as ye } from "./global-provide-inject-6d2932d0.js";
|
|
|
6
6
|
import { S as m } from "./index-f9b79d02.js";
|
|
7
7
|
import { v as we, B as ce } from "./baseImp-9b58e733.js";
|
|
8
8
|
import { c as Q, S as he } from "./enum-type-b9b133f4.js";
|
|
9
|
-
import { u as We } from "./fieldobj-
|
|
9
|
+
import { u as We } from "./fieldobj-444b15a2.js";
|
|
10
10
|
const Ce = { key: 0 }, ke = { class: "clWhite" }, Le = { class: "clWhite" }, be = ["title"], $e = ["title"], Se = ["title"], Ie = ["title"], Te = /* @__PURE__ */ se({
|
|
11
11
|
__name: "drag-handler",
|
|
12
12
|
props: { ...ge, parentTree: { type: Object, default: null }, hidden: { type: Boolean, default: !1 }, simple: { type: Boolean } },
|
|
13
13
|
setup(y) {
|
|
14
|
-
const
|
|
15
|
-
const
|
|
14
|
+
const n = y, { setSelected: G, findWidgetById: u, removeWidget: z, moveDownWidget: D, moveUpWidget: V, cloneWidget: P } = le(n.designer), S = (t) => {
|
|
15
|
+
const s = t == null ? void 0 : t.id;
|
|
16
16
|
if (t.selectable === !1)
|
|
17
17
|
we.info(v.i18nt("designer.hint.currentNodeCannotBeSelected"));
|
|
18
18
|
else {
|
|
19
|
-
const f = u(
|
|
19
|
+
const f = u(s);
|
|
20
20
|
G(f);
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
|
-
return (t,
|
|
23
|
+
return (t, s) => {
|
|
24
24
|
var T, N;
|
|
25
25
|
const f = q("el-dropdown-item"), k = q("el-dropdown-menu"), A = q("el-dropdown"), I = q("el-divider");
|
|
26
|
-
return
|
|
27
|
-
y.hidden === !0 ? (
|
|
28
|
-
|
|
26
|
+
return d(), c(B, null, [
|
|
27
|
+
y.hidden === !0 ? (d(), c("i", Ce, [
|
|
28
|
+
r(m, { name: "@el-hide" })
|
|
29
29
|
])) : W("", !0),
|
|
30
|
-
y.simple ? (
|
|
30
|
+
y.simple ? (d(), C(A, {
|
|
31
31
|
key: 1,
|
|
32
32
|
onCommand: S
|
|
33
33
|
}, x({
|
|
34
|
-
default:
|
|
34
|
+
default: a(() => [
|
|
35
35
|
J("span", ke, [
|
|
36
|
-
|
|
36
|
+
r(m, { name: "@el-arrow-down" })
|
|
37
37
|
])
|
|
38
38
|
]),
|
|
39
39
|
_: 2
|
|
40
40
|
}, [
|
|
41
41
|
((T = y.parentTree) == null ? void 0 : T.length) > 0 ? {
|
|
42
42
|
name: "dropdown",
|
|
43
|
-
fn:
|
|
44
|
-
|
|
45
|
-
default:
|
|
46
|
-
(
|
|
47
|
-
default:
|
|
48
|
-
b($(
|
|
43
|
+
fn: a(() => [
|
|
44
|
+
r(k, null, {
|
|
45
|
+
default: a(() => [
|
|
46
|
+
(d(!0), c(B, null, ee(y.parentTree, (i, e) => (d(), C(f, { command: i }, {
|
|
47
|
+
default: a(() => [
|
|
48
|
+
b($(i == null ? void 0 : i.label), 1)
|
|
49
49
|
]),
|
|
50
50
|
_: 2
|
|
51
51
|
}, 1032, ["command"]))), 256)),
|
|
52
|
-
|
|
52
|
+
r(f, {
|
|
53
53
|
divided: "",
|
|
54
|
-
onClick:
|
|
54
|
+
onClick: s[0] || (s[0] = w((i) => o(P)(t.widget, t.parentList), ["stop"]))
|
|
55
55
|
}, {
|
|
56
|
-
default:
|
|
57
|
-
|
|
58
|
-
b($(
|
|
56
|
+
default: a(() => [
|
|
57
|
+
r(m, { name: "@el-clone" }),
|
|
58
|
+
b($(o(v).i18nt("designer.hint.cloneWidget")), 1)
|
|
59
59
|
]),
|
|
60
60
|
_: 1
|
|
61
61
|
}),
|
|
62
|
-
|
|
63
|
-
onClick:
|
|
62
|
+
r(f, {
|
|
63
|
+
onClick: s[1] || (s[1] = w((i) => o(z)(t.widget, t.parentWidget, t.parentList), ["stop"]))
|
|
64
64
|
}, {
|
|
65
|
-
default:
|
|
66
|
-
|
|
67
|
-
b($(
|
|
65
|
+
default: a(() => [
|
|
66
|
+
r(m, { name: "@el-delete" }),
|
|
67
|
+
b($(o(v).i18nt("designer.hint.remove")), 1)
|
|
68
68
|
]),
|
|
69
69
|
_: 1
|
|
70
70
|
}),
|
|
71
|
-
t.parentList && t.parentList.length > 1 ? (
|
|
71
|
+
t.parentList && t.parentList.length > 1 ? (d(), C(f, {
|
|
72
72
|
key: 0,
|
|
73
|
-
onClick:
|
|
73
|
+
onClick: s[2] || (s[2] = w((i) => o(V)(t.parentList, t.widget), ["stop"]))
|
|
74
74
|
}, {
|
|
75
|
-
default:
|
|
76
|
-
|
|
77
|
-
b($(
|
|
75
|
+
default: a(() => [
|
|
76
|
+
r(m, { name: "@el-move-up" }),
|
|
77
|
+
b($(o(v).i18nt("designer.hint.moveUpWidget")), 1)
|
|
78
78
|
]),
|
|
79
79
|
_: 1
|
|
80
80
|
})) : W("", !0),
|
|
81
|
-
t.parentList && t.parentList.length > 1 ? (
|
|
81
|
+
t.parentList && t.parentList.length > 1 ? (d(), C(f, {
|
|
82
82
|
key: 1,
|
|
83
|
-
onClick:
|
|
83
|
+
onClick: s[3] || (s[3] = w((i) => o(D)(t.parentList, t.widget), ["stop"]))
|
|
84
84
|
}, {
|
|
85
|
-
default:
|
|
86
|
-
|
|
87
|
-
b($(
|
|
85
|
+
default: a(() => [
|
|
86
|
+
r(m, { name: "@el-move-down" }),
|
|
87
|
+
b($(o(v).i18nt("designer.hint.moveDownWidget")), 1)
|
|
88
88
|
]),
|
|
89
89
|
_: 1
|
|
90
90
|
})) : W("", !0),
|
|
91
|
-
t.$slots.default ? (
|
|
91
|
+
t.$slots.default ? (d(), C(f, {
|
|
92
92
|
key: 2,
|
|
93
93
|
divied: ""
|
|
94
94
|
}, {
|
|
95
|
-
default:
|
|
95
|
+
default: a(() => [
|
|
96
96
|
j(t.$slots, "default")
|
|
97
97
|
]),
|
|
98
98
|
_: 3
|
|
@@ -103,17 +103,17 @@ const Ce = { key: 0 }, ke = { class: "clWhite" }, Le = { class: "clWhite" }, be
|
|
|
103
103
|
]),
|
|
104
104
|
key: "0"
|
|
105
105
|
} : void 0
|
|
106
|
-
]), 1024)) : (
|
|
107
|
-
|
|
108
|
-
default:
|
|
109
|
-
var
|
|
106
|
+
]), 1024)) : (d(), c(B, { key: 2 }, [
|
|
107
|
+
r(A, { onCommand: S }, x({
|
|
108
|
+
default: a(() => {
|
|
109
|
+
var i, e;
|
|
110
110
|
return [
|
|
111
111
|
J("span", Le, [
|
|
112
|
-
b($(
|
|
113
|
-
`designer.widgetLabel.${(
|
|
112
|
+
b($(o(v).i18n2t(
|
|
113
|
+
`designer.widgetLabel.${(i = t.widget) == null ? void 0 : i.type}`,
|
|
114
114
|
`extension.widgetLabel.${(e = t.widget) == null ? void 0 : e.type}`
|
|
115
115
|
)) + " ", 1),
|
|
116
|
-
|
|
116
|
+
r(m, {
|
|
117
117
|
name: "@el-arrow-down",
|
|
118
118
|
class: "el-icon--right"
|
|
119
119
|
})
|
|
@@ -124,12 +124,12 @@ const Ce = { key: 0 }, ke = { class: "clWhite" }, Le = { class: "clWhite" }, be
|
|
|
124
124
|
}, [
|
|
125
125
|
((N = y.parentTree) == null ? void 0 : N.length) > 0 ? {
|
|
126
126
|
name: "dropdown",
|
|
127
|
-
fn:
|
|
128
|
-
|
|
129
|
-
default:
|
|
130
|
-
(
|
|
131
|
-
default:
|
|
132
|
-
b($(
|
|
127
|
+
fn: a(() => [
|
|
128
|
+
r(k, null, {
|
|
129
|
+
default: a(() => [
|
|
130
|
+
(d(!0), c(B, null, ee(y.parentTree, (i, e) => (d(), C(f, { command: i }, {
|
|
131
|
+
default: a(() => [
|
|
132
|
+
b($(i == null ? void 0 : i.label), 1)
|
|
133
133
|
]),
|
|
134
134
|
_: 2
|
|
135
135
|
}, 1032, ["command"]))), 256))
|
|
@@ -140,37 +140,37 @@ const Ce = { key: 0 }, ke = { class: "clWhite" }, Le = { class: "clWhite" }, be
|
|
|
140
140
|
key: "0"
|
|
141
141
|
} : void 0
|
|
142
142
|
]), 1024),
|
|
143
|
-
|
|
143
|
+
r(I, {
|
|
144
144
|
direction: "vertical",
|
|
145
145
|
"border-style": "dashed",
|
|
146
146
|
color: "white"
|
|
147
147
|
}),
|
|
148
148
|
j(t.$slots, "default"),
|
|
149
|
-
t.parentList && t.parentList.length > 1 ? (
|
|
149
|
+
t.parentList && t.parentList.length > 1 ? (d(), c("i", {
|
|
150
150
|
key: 0,
|
|
151
|
-
title:
|
|
152
|
-
onClick:
|
|
151
|
+
title: o(v).i18nt("designer.hint.moveUpWidget"),
|
|
152
|
+
onClick: s[4] || (s[4] = w((i) => o(V)(t.parentList, t.widget), ["stop"]))
|
|
153
153
|
}, [
|
|
154
|
-
|
|
154
|
+
r(m, { name: "@el-move-up" })
|
|
155
155
|
], 8, be)) : W("", !0),
|
|
156
|
-
t.parentList && t.parentList.length > 1 ? (
|
|
156
|
+
t.parentList && t.parentList.length > 1 ? (d(), c("i", {
|
|
157
157
|
key: 1,
|
|
158
|
-
title:
|
|
159
|
-
onClick:
|
|
158
|
+
title: o(v).i18nt("designer.hint.moveDownWidget"),
|
|
159
|
+
onClick: s[5] || (s[5] = w((i) => o(D)(t.parentList, t.widget), ["stop"]))
|
|
160
160
|
}, [
|
|
161
|
-
|
|
161
|
+
r(m, { name: "@el-move-down" })
|
|
162
162
|
], 8, $e)) : W("", !0),
|
|
163
163
|
J("i", {
|
|
164
|
-
title:
|
|
165
|
-
onClick:
|
|
164
|
+
title: o(v).i18nt("designer.hint.cloneWidget"),
|
|
165
|
+
onClick: s[6] || (s[6] = w((i) => o(P)(t.widget, t.parentList), ["stop"]))
|
|
166
166
|
}, [
|
|
167
|
-
|
|
167
|
+
r(m, { name: "@el-clone" })
|
|
168
168
|
], 8, Se),
|
|
169
169
|
J("i", {
|
|
170
|
-
title:
|
|
171
|
-
onClick:
|
|
170
|
+
title: o(v).i18nt("designer.hint.remove"),
|
|
171
|
+
onClick: s[7] || (s[7] = w((i) => o(z)(t.widget, t.parentWidget, t.parentList), ["stop"]))
|
|
172
172
|
}, [
|
|
173
|
-
|
|
173
|
+
r(m, { name: "@el-delete" })
|
|
174
174
|
], 8, Ie)
|
|
175
175
|
], 64))
|
|
176
176
|
], 64);
|
|
@@ -181,7 +181,7 @@ const He = /* @__PURE__ */ se({
|
|
|
181
181
|
__name: "widget-wrapper",
|
|
182
182
|
props: { ...ve },
|
|
183
183
|
setup(y) {
|
|
184
|
-
const
|
|
184
|
+
const n = y, { selectWidget: G } = le(n.designer), { getAttrProp: u } = We(), { globalFormOptions: z } = ye.globalInject(), D = (e) => {
|
|
185
185
|
if (e)
|
|
186
186
|
return {
|
|
187
187
|
id: e.id,
|
|
@@ -190,17 +190,17 @@ const He = /* @__PURE__ */ se({
|
|
|
190
190
|
selectable: !0
|
|
191
191
|
};
|
|
192
192
|
}, V = (e) => e == null ? void 0 : e.map((p) => D(p)), P = h(() => {
|
|
193
|
-
if (
|
|
194
|
-
return V([
|
|
195
|
-
}), S = (e) => e && !["div", "span"].includes(e), t = h(() => u("hidden")),
|
|
193
|
+
if (n.designState && I.value)
|
|
194
|
+
return V([n.widget, ...n.parentTree || []]);
|
|
195
|
+
}), S = (e) => e && !["div", "span"].includes(e), t = h(() => u(n, "hidden")), s = h(() => {
|
|
196
196
|
var e;
|
|
197
|
-
return (e =
|
|
197
|
+
return (e = n.widget) == null ? void 0 : e.id;
|
|
198
198
|
}), f = h(() => {
|
|
199
199
|
var e, p;
|
|
200
|
-
return (e =
|
|
200
|
+
return (e = n.widget) != null && e.type ? [Q.grid, Q.gridCol, Q.wrapper].includes((p = n.widget) == null ? void 0 : p.type) : !1;
|
|
201
201
|
}), k = h(() => {
|
|
202
202
|
var Z, F, _;
|
|
203
|
-
const e = u(g.width), p = u(g.ctrlWidth), L = u(g.customClass), R = u(g.componentWrapperClass), H = u(g.size), U = u(g.labelAlign), E = u(g.labelWidth), O = u(g.labelSuffix), X = u(g.displayLayout),
|
|
203
|
+
const e = u(n, g.width), p = u(n, g.ctrlWidth), L = u(n, g.customClass), R = u(n, g.componentWrapperClass), H = u(n, g.size), U = u(n, g.labelAlign), E = u(n, g.labelWidth), O = u(n, g.labelSuffix), X = u(n, g.displayLayout), l = fe(z), re = ((Z = n.widget) == null ? void 0 : Z.formItemFlag) && (l == null ? void 0 : l.inForm), oe = H || (l == null ? void 0 : l.size) || ((_ = (F = n.designer) == null ? void 0 : F.pageConfig) == null ? void 0 : _.size), de = U || (l == null ? void 0 : l.labelAlign), K = E || (l == null ? void 0 : l.labelWidth), ae = O || (l == null ? void 0 : l.labelSuffix) || "", pe = X || (l == null ? void 0 : l.displayLayout);
|
|
204
204
|
let Y = {};
|
|
205
205
|
return K !== he.auto && (Y.labelWidth = K), {
|
|
206
206
|
size: oe,
|
|
@@ -218,40 +218,40 @@ const He = /* @__PURE__ */ se({
|
|
|
218
218
|
* 作用到底层组件
|
|
219
219
|
* 注:宽度全屏
|
|
220
220
|
* */
|
|
221
|
-
injectClass: [e ? "" : "full-width", ie(L),
|
|
221
|
+
injectClass: [e ? "" : "full-width", ie(L), s.value],
|
|
222
222
|
// filterDisplay.value ? displayStyle.value : ''
|
|
223
223
|
//1、当前组件包含插槽 2、作用到插槽中的每一个组件中
|
|
224
224
|
componentWrapperClass: ie(R)
|
|
225
225
|
};
|
|
226
|
-
}), A = h(() => [u(g.width) ? "" : "full-width"]), I = h(() => {
|
|
226
|
+
}), A = h(() => [u(n, g.width) ? "" : "full-width"]), I = h(() => {
|
|
227
227
|
var e, p, L;
|
|
228
|
-
return !!
|
|
229
|
-
}), T = te(), N = te(),
|
|
228
|
+
return !!n.designer && ((e = n.widget) == null ? void 0 : e.id) === ((L = (p = n.designer) == null ? void 0 : p.selectedWidget) == null ? void 0 : L.id);
|
|
229
|
+
}), T = te(), N = te(), i = h(() => {
|
|
230
230
|
var e, p;
|
|
231
231
|
if (T.value && N.value && I.value)
|
|
232
232
|
return ((e = T.value) == null ? void 0 : e.offsetWidth) > ((p = N.value) == null ? void 0 : p.offsetWidth);
|
|
233
233
|
});
|
|
234
234
|
return (e, p) => {
|
|
235
235
|
var L, R, H, U, E, O;
|
|
236
|
-
return e.designState ? (
|
|
236
|
+
return e.designState ? (d(), C(ne(e.componentName), M({
|
|
237
237
|
key: 0,
|
|
238
238
|
class: ["field-wrapper", [I.value ? "selected" : "", " drag-handler", e.propOptions.class, e.showWrapperComponent ? A.value : ""]],
|
|
239
239
|
style: e.propOptions.style,
|
|
240
|
-
onClick: p[0] || (p[0] = w((X) =>
|
|
240
|
+
onClick: p[0] || (p[0] = w((X) => o(G)(e.widget, e.parentWidget, e.parentList), ["stop"])),
|
|
241
241
|
ref_key: "wrapperRef",
|
|
242
242
|
ref: N,
|
|
243
243
|
tabindex: 0
|
|
244
244
|
}, S(e.componentName) ? (R = (L = e.propOptions) == null ? void 0 : L.fieldObj) == null ? void 0 : R.attrs : {}), {
|
|
245
|
-
default:
|
|
245
|
+
default: a(() => [
|
|
246
246
|
j(e.$slots, "default", { data: k.value }),
|
|
247
|
-
I.value ? (
|
|
247
|
+
I.value ? (d(), c("div", {
|
|
248
248
|
key: 0,
|
|
249
249
|
class: "action",
|
|
250
250
|
ref_key: "dragHandlerRef",
|
|
251
251
|
ref: T
|
|
252
252
|
}, [
|
|
253
|
-
|
|
254
|
-
simple:
|
|
253
|
+
r(Te, {
|
|
254
|
+
simple: i.value,
|
|
255
255
|
"design-state": e.designState,
|
|
256
256
|
designer: e.designer,
|
|
257
257
|
widget: e.widget,
|
|
@@ -260,7 +260,7 @@ const He = /* @__PURE__ */ se({
|
|
|
260
260
|
parentTree: P.value,
|
|
261
261
|
hidden: t.value
|
|
262
262
|
}, {
|
|
263
|
-
default:
|
|
263
|
+
default: a(() => [
|
|
264
264
|
j(e.$slots, "drag")
|
|
265
265
|
]),
|
|
266
266
|
_: 3
|
|
@@ -268,12 +268,12 @@ const He = /* @__PURE__ */ se({
|
|
|
268
268
|
], 512)) : W("", !0)
|
|
269
269
|
]),
|
|
270
270
|
_: 3
|
|
271
|
-
}, 16, ["class", "style"])) : !t.value || f.value ? (
|
|
272
|
-
e.showWrapperComponent ? (
|
|
271
|
+
}, 16, ["class", "style"])) : !t.value || f.value ? (d(), c(B, { key: 1 }, [
|
|
272
|
+
e.showWrapperComponent ? (d(), C(ne(e.componentName), M({ key: 0 }, S(e.componentName) ? (U = (H = e.propOptions) == null ? void 0 : H.fieldObj) == null ? void 0 : U.attrs : {}, ue(S(e.componentName) ? (O = (E = e.propOptions) == null ? void 0 : E.fieldObj) == null ? void 0 : O.events : {}), {
|
|
273
273
|
class: [e.propOptions.class, A.value, t.value && f.value ? "hlhidden" : ""],
|
|
274
274
|
style: { ...k.value.injectStyle, ...e.propOptions.style }
|
|
275
275
|
}), {
|
|
276
|
-
default:
|
|
276
|
+
default: a(() => [
|
|
277
277
|
j(e.$slots, "default", M({ data: k.value }, e.$props))
|
|
278
278
|
]),
|
|
279
279
|
_: 3
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as v, watch as h, defineComponent as W, computed as y, openBlock as b, createBlock as P, mergeProps as w, unref as i, withCtx as j, createElementBlock as O, normalizeClass as L, createVNode as S, createCommentVNode as z } from "vue";
|
|
2
2
|
import { I as D } from "./widget-base-df734ada.js";
|
|
3
|
-
import { D as F } from "./drag-wrapper-
|
|
4
|
-
import { _ as R } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
3
|
+
import { D as F } from "./drag-wrapper-8a051680.js";
|
|
4
|
+
import { _ as R } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b5783744.js";
|
|
5
5
|
import { w as k } from "./expression-11846fd1.js";
|
|
6
6
|
import { W as C } from "./enum-type-b9b133f4.js";
|
|
7
7
|
import { a as A, u as B } from "./share-field-c6ed3ba9.js";
|
package/fieldobj-319120ac.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { v as u } from "./enum-type-52a6b12a.js";
|
|
2
|
-
import { toRaw as s } from "vue";
|
|
3
|
-
function b(i) {
|
|
4
|
-
return {
|
|
5
|
-
getAttrProp: (r) => {
|
|
6
|
-
var n, p, e, f;
|
|
7
|
-
var t = s((p = (n = i.propOptions) == null ? void 0 : n.fieldObj) == null ? void 0 : p.attrs);
|
|
8
|
-
if (u(t, r))
|
|
9
|
-
return t == null ? void 0 : t[r];
|
|
10
|
-
var o = s((f = (e = i.propOptions) == null ? void 0 : e.fieldObj) == null ? void 0 : f.extendAttrs);
|
|
11
|
-
return o == null ? void 0 : o[r];
|
|
12
|
-
}
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
export {
|
|
16
|
-
b as u
|
|
17
|
-
};
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { defineComponent as A, computed as n, resolveComponent as C, openBlock as e, createElementBlock as l, normalizeClass as I, unref as b, Fragment as a, createVNode as o, withCtx as f, createTextVNode as s, toDisplayString as p } from "vue";
|
|
2
|
-
import { I as h } from "./field-base-66c90648.js";
|
|
3
|
-
import { S as i } from "./index-f9b79d02.js";
|
|
4
|
-
import { e as y } from "./enum-type-b9b133f4.js";
|
|
5
|
-
import { u as x } from "./fieldobj-319120ac.js";
|
|
6
|
-
const S = { key: 1 }, V = /* @__PURE__ */ A({
|
|
7
|
-
__name: "label-wrapper",
|
|
8
|
-
props: {
|
|
9
|
-
...h,
|
|
10
|
-
rules: { type: Array },
|
|
11
|
-
labelAlign: { type: String, default: "" },
|
|
12
|
-
label: { type: String, default: "" }
|
|
13
|
-
},
|
|
14
|
-
setup(d) {
|
|
15
|
-
const m = d, { getAttrProp: t } = x(m), r = n(() => m.label || t("label")), g = n(() => t("labelHidden")), _ = n(() => t("labelTooltip")), u = n(() => t("labelTooltip")), c = n(() => t("labelIconClass")), k = n(() => m.labelAlign || t("labelAlign"));
|
|
16
|
-
return (T, P) => {
|
|
17
|
-
const v = C("el-tooltip");
|
|
18
|
-
return g.value ? (e(), l("span", S, " ")) : (e(), l("span", {
|
|
19
|
-
key: 0,
|
|
20
|
-
class: I([[k.value], "label-wrapper"])
|
|
21
|
-
}, [
|
|
22
|
-
_.value === b(y).front ? (e(), l(a, { key: 0 }, [
|
|
23
|
-
u.value ? (e(), l(a, { key: 0 }, [
|
|
24
|
-
o(v, {
|
|
25
|
-
content: u.value,
|
|
26
|
-
effect: "light"
|
|
27
|
-
}, {
|
|
28
|
-
default: f(() => [
|
|
29
|
-
o(i, { name: c.value }, null, 8, ["name"])
|
|
30
|
-
]),
|
|
31
|
-
_: 1
|
|
32
|
-
}, 8, ["content"]),
|
|
33
|
-
s(p(r.value), 1)
|
|
34
|
-
], 64)) : (e(), l(a, { key: 1 }, [
|
|
35
|
-
o(i, { name: c.value }, null, 8, ["name"]),
|
|
36
|
-
s(p(r.value), 1)
|
|
37
|
-
], 64))
|
|
38
|
-
], 64)) : _.value === b(y).rear ? (e(), l(a, { key: 1 }, [
|
|
39
|
-
u.value ? (e(), l(a, { key: 0 }, [
|
|
40
|
-
s(p(r.value), 1),
|
|
41
|
-
o(v, {
|
|
42
|
-
content: u.value,
|
|
43
|
-
effect: "light"
|
|
44
|
-
}, {
|
|
45
|
-
default: f(() => [
|
|
46
|
-
o(i, { name: c.value }, null, 8, ["name"])
|
|
47
|
-
]),
|
|
48
|
-
_: 1
|
|
49
|
-
}, 8, ["content"])
|
|
50
|
-
], 64)) : (e(), l(a, { key: 1 }, [
|
|
51
|
-
s(p(r.value), 1),
|
|
52
|
-
o(i, { name: c.value }, null, 8, ["name"])
|
|
53
|
-
], 64))
|
|
54
|
-
], 64)) : (e(), l(a, { key: 2 }, [
|
|
55
|
-
s(p(r.value), 1)
|
|
56
|
-
], 64))
|
|
57
|
-
], 2));
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
});
|
|
61
|
-
export {
|
|
62
|
-
V as _
|
|
63
|
-
};
|