hlrender 0.0.282 → 0.0.283
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-d2478121.js → _pdf-a296b8ed.js} +9 -9
- package/{_txt-fd32f949.js → _txt-4777e820.js} +7 -7
- package/{_unsupport-10d1d421.js → _unsupport-6395882c.js} +1 -1
- package/{affix-widget-77ddfdb9.js → affix-widget-6f6e720a.js} +19 -19
- package/{alert-widget-c1f66236.js → alert-widget-749d999e.js} +19 -19
- package/{anchor-widget-05148dd1.js → anchor-widget-aeae429c.js} +16 -16
- package/{auto-complete-widget-9bd9881e.js → auto-complete-widget-b7cfabae.js} +19 -19
- package/{avatar-widget-89758349.js → avatar-widget-14801d8e.js} +19 -19
- package/{backtop-widget-068a28c5.js → backtop-widget-88ec7a58.js} +19 -19
- package/{badge-widget-e5ddb65c.js → badge-widget-5866608d.js} +19 -19
- package/{barcode-widget-6882a0ee.js → barcode-widget-e4aad1c6.js} +16 -16
- package/{baseImp-a05aa287.js → baseImp-9b58e733.js} +1725 -1730
- package/{breadcrumb-widget-1efe16dc.js → breadcrumb-widget-6ef90632.js} +16 -16
- package/{button-widget-cd209307.js → button-widget-e38a1143.js} +19 -19
- package/{cache-widget-c6dc1d4d.js → cache-widget-b212ceae.js} +18 -18
- package/{card-widget-e99850fe.js → card-widget-09077068.js} +16 -16
- package/{carousel-widget-0e5da3dd.js → carousel-widget-7a6aa411.js} +17 -17
- package/{cascader-widget-c960147f.js → cascader-widget-8c76d153.js} +18 -18
- package/{chart-widget-3da22d60.js → chart-widget-66c82c2d.js} +22 -22
- package/{checkbox-widget-24946378.js → checkbox-widget-3726d452.js} +18 -18
- package/{collapse-widget-09465fbb.js → collapse-widget-8f459cdb.js} +17 -17
- package/{color-picker-widget-88d01165.js → color-picker-widget-2abd4af6.js} +18 -18
- package/{cont-cell-widget-ed0e5d83.js → cont-cell-widget-8b9dc3ea.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-e2ea7130.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-7ec6efa4.js} +6 -6
- package/cont-widget-8467d9ed.js +45 -0
- package/{content-wrapper-b85ff3c9.js → content-wrapper-3dc1044e.js} +8 -8
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-4adfe6d4.js → content-wrapper.vue_vue_type_script_setup_true_lang-5dffd598.js} +3 -3
- package/{countdown-widget-19441bfe.js → countdown-widget-410b713f.js} +19 -19
- package/{cssClass-d5b2a013.js → cssClass-0ad1f6a9.js} +2 -2
- package/date-picker-range-widget-35fc2636.js +84 -0
- package/{date-picker-widget-85161b08.js → date-picker-widget-011606ed.js} +18 -18
- package/default-slot-widget-55acf41f.js +27 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-c2a09043.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-6ddfc9e9.js} +13 -13
- package/{descriptions-widget-fa392515.js → descriptions-widget-5c5095b3.js} +17 -17
- package/{dialog-64d549cc.js → dialog-ac1079e2.js} +2 -2
- package/{dialog-widget-42c8990c.js → dialog-widget-5697bc84.js} +17 -17
- package/{divider-widget-07e594c7.js → divider-widget-81032707.js} +19 -19
- package/drag-wrapper-a79ff9ea.js +282 -0
- package/{drawer-widget-1c1dd8e2.js → drawer-widget-9f0b8f7c.js} +17 -17
- package/{dropdown-widget-47274915.js → dropdown-widget-d45fc68f.js} +17 -17
- package/{empty-widget-e7aa5b70.js → empty-widget-6849c589.js} +19 -19
- package/{enum-type-42dd79a1.js → enum-type-52a6b12a.js} +186 -179
- package/{enum-type-51f144c1.js → enum-type-b9b133f4.js} +51 -51
- package/{expression-d4680713.js → expression-11846fd1.js} +9 -9
- package/feedback-widget-e661e6a2.js +27 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-dc498e85.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-93b5d505.js} +7 -7
- package/{field-base-1acf3ada.js → field-base-66c90648.js} +1 -1
- package/fieldobj-319120ac.js +17 -0
- package/{file-upload-widget-451addd2.js → file-upload-widget-6bceb805.js} +23 -23
- package/form-item-wrapper-37a2733b.js +87 -0
- package/form-widget-8dc4d5ed.js +305 -0
- package/{index-6afb8bee.js → global-provide-inject-6d2932d0.js} +2614 -2554
- package/{grid-col-widget-fd469073.js → grid-col-widget-5234fe90.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-c90ca8e7.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-ddbf39e8.js} +6 -6
- package/grid-widget-25d7bd18.js +44 -0
- package/{hcard-widget-c75b1b6f.js → hcard-widget-7add56cf.js} +16 -16
- package/{html-text-widget-bb760458.js → html-text-widget-41f10508.js} +17 -17
- package/icon-4e8380f7.js +181 -0
- package/{icon-widget-39740e64.js → icon-widget-d3c40f38.js} +16 -16
- package/{iframe-widget-6c513e2d.js → iframe-widget-b404d80b.js} +20 -20
- package/{image-widget-6658a5e2.js → image-widget-c3082e04.js} +16 -16
- package/{index-6e69a58f.js → index-c926edb8.js} +14 -14
- package/{index-ee925296.js → index-f9b79d02.js} +2 -2
- package/input-number-widget-9a759333.js +67 -0
- package/{input-tag-widget-0d69bd56.js → input-tag-widget-8e954edc.js} +19 -19
- package/{input-widget-eaba46a8.js → input-widget-d7739e42.js} +19 -19
- package/label-wrapper-28f3575a.js +13 -0
- package/label-wrapper.vue_vue_type_style_index_0_lang-5cba34e0.js +63 -0
- package/{link-widget-ba4d6aa4.js → link-widget-b523f613.js} +19 -19
- package/{ltable-col-widget-c421ff75.js → ltable-col-widget-7c4e2d09.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-99261216.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-aade3bbb.js} +10 -10
- package/ltable-widget-dc819811.js +70 -0
- package/{mention-widget-6301f55a.js → mention-widget-6ae8f46b.js} +19 -19
- package/{menu-widget-e2d328e3.js → menu-widget-92f5a9af.js} +33 -33
- package/{model-widget-094f97d8.js → model-widget-02a69efb.js} +41 -41
- package/multirow-29ad4d31.js +236 -0
- package/{multirow-widget-cc00757f.js → multirow-widget-86dc3685.js} +18 -18
- package/package.json +1 -1
- package/{pagination-widget-57ef2182.js → pagination-widget-394caa20.js} +16 -16
- package/{picture-upload-widget-c602e32a.js → picture-upload-widget-4575ad5c.js} +19 -19
- package/{progress-widget-4c04b55c.js → progress-widget-801968cc.js} +17 -17
- package/{qrcode-widget-dbd3212d.js → qrcode-widget-63f9a119.js} +21 -21
- package/{radio-widget-9e2a9b43.js → radio-widget-9fdeed9f.js} +18 -18
- package/{range-widget-6a4d2259.js → range-widget-a4bf0314.js} +19 -19
- package/{rate-widget-5de20ced.js → rate-widget-4761fa9f.js} +18 -18
- package/render.es.js +263 -246
- package/render.style.css +1 -1
- package/render.umd.js +368 -368
- package/{result-widget-fd88b2b1.js → result-widget-55cb6807.js} +17 -17
- package/{rich-editor-widget-e14dcbe6.js → rich-editor-widget-c670a9eb.js} +18 -18
- package/{router-widget-ea67f0ba.js → router-widget-ae1b25dc.js} +16 -16
- package/{segmented-widget-11bd4e4d.js → segmented-widget-90d1cef4.js} +16 -16
- package/{select-widget-2a9fa056.js → select-widget-7072f94e.js} +18 -18
- package/{sfc-1b884c50.js → sfc-a41c7416.js} +21 -21
- package/{sfcview-33b88ef4.js → sfcview-c0ee8b66.js} +17 -17
- package/share-field-c6ed3ba9.js +874 -0
- package/{share-file-3087c9f9.js → share-file-26d67e57.js} +21 -21
- package/{skeleton-widget-35dd8bd6.js → skeleton-widget-8da29c16.js} +19 -19
- package/{skeletonItem-widget-dc2311cd.js → skeletonItem-widget-8ed84ed4.js} +16 -16
- package/{slider-widget-7df4253d.js → slider-widget-15a845aa.js} +18 -18
- package/slot-31d7643d.js +289 -0
- package/{space-widget-6fc38426.js → space-widget-1a7b7b26.js} +17 -17
- package/{splitter-widget-f4629b33.js → splitter-widget-7f06cfe0.js} +17 -17
- package/{static-text-widget-a54245c0.js → static-text-widget-01b2c0be.js} +17 -17
- package/{statistic-widget-2b39fcff.js → statistic-widget-ce186681.js} +19 -19
- package/{steps-widget-bb63027b.js → steps-widget-f26895eb.js} +16 -16
- package/{subMenu-widget-a0d1771a.js → subMenu-widget-e50bb427.js} +9 -9
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-6ec20ca0.js → subMenu-widget.vue_vue_type_script_setup_true_lang-cd5da56f.js} +7 -7
- package/{switch-widget-d454ac66.js → switch-widget-554140b8.js} +18 -18
- package/{tab-pane-widget-5df8b474.js → tab-pane-widget-266b55bd.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-3bfd8f17.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-7b2a10aa.js} +6 -6
- package/table-col-widget-671b5afe.js +23 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-21bd0d44.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-20aeaee1.js} +19 -19
- package/{table-widget-af19ac4d.js → table-widget-ede9dbc1.js} +22 -22
- package/tabs-widget-ce49e14d.js +76 -0
- package/{tag-widget-c5e8cb90.js → tag-widget-bc9daa38.js} +19 -19
- package/{text-widget-bb44b9c7.js → text-widget-7c0ceee0.js} +19 -19
- package/{textarea-widget-c6a1b4ba.js → textarea-widget-885054bd.js} +18 -18
- package/time-picker-range-widget-998500ee.js +83 -0
- package/{time-picker-widget-bbc1e186.js → time-picker-widget-3925be2b.js} +18 -18
- package/{time-select-widget-e098c664.js → time-select-widget-df703f88.js} +18 -18
- package/{timeline-widget-90ec82c4.js → timeline-widget-024f0857.js} +17 -17
- package/tmpl-widget-32cb8368.js +102 -0
- package/{tooltip-widget-5eb579d5.js → tooltip-widget-a22d1bdc.js} +16 -16
- package/{tour-widget-aa29b856.js → tour-widget-c5d2c7d9.js} +35 -35
- package/{transfer-widget-593d18ed.js → transfer-widget-88b80ed2.js} +19 -19
- package/{tree-select-widget-f8568c4e.js → tree-select-widget-deab6036.js} +18 -18
- package/{tree-widget-1d871bf4.js → tree-widget-a87284a8.js} +16 -16
- package/{uuid-0888fc5f.js → uuid-1b528338.js} +1 -1
- package/{verifycode-widget-cd1b3fb4.js → verifycode-widget-bfcb72e4.js} +16 -16
- package/widget-base-df734ada.js +30 -0
- package/widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-bcd065ae.js +290 -0
- package/wrapper-widget-9f772573.js +89 -0
- package/cont-widget-4b88e7e5.js +0 -44
- package/date-picker-range-widget-b7a93200.js +0 -83
- package/default-slot-widget-46a8a1ee.js +0 -27
- package/drag-wrapper-f78636d1.js +0 -279
- package/feedback-widget-f1e2b360.js +0 -27
- package/fieldobj-a2678999.js +0 -13
- package/form-item-wrapper-228b6375.js +0 -87
- package/form-widget-9f5290b7.js +0 -264
- package/grid-widget-9a62f39a.js +0 -43
- package/icon-1fc5d00d.js +0 -180
- package/input-number-widget-d8266ca4.js +0 -67
- package/label-wrapper-c772b8f2.js +0 -13
- package/label-wrapper.vue_vue_type_style_index_0_lang-82c93f40.js +0 -63
- package/ltable-widget-35df30a2.js +0 -77
- package/multirow-88dc90dd.js +0 -230
- package/share-field-ec8c208e.js +0 -856
- package/slot-6db6ac8e.js +0 -360
- package/table-col-widget-38f163df.js +0 -23
- package/tabs-widget-eb2292e7.js +0 -81
- package/time-picker-range-widget-b3a3ff54.js +0 -82
- package/tmpl-widget-702c58d7.js +0 -99
- package/widget-base-8eece820.js +0 -28
- package/widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-a9e4f996.js +0 -282
- package/wrapper-widget-38438697.js +0 -95
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { defineComponent as D, computed as a, resolveComponent as te, openBlock as s, createBlock as p, mergeProps as b, unref as l, withCtx as d, toHandlers as W, createSlots as A, resolveDynamicComponent as n, createCommentVNode as C } from "vue";
|
|
2
|
-
import { s as f, t as B } from "./enum-type-
|
|
3
|
-
import { I as oe } from "./field-base-
|
|
4
|
-
import { a as le } from "./share-field-
|
|
5
|
-
import re from "./form-item-wrapper-
|
|
6
|
-
import { b as v, w as ae } from "./expression-
|
|
7
|
-
import "./widget-base-
|
|
8
|
-
import "./multirow-
|
|
9
|
-
import "./baseImp-
|
|
10
|
-
import "./enum-type-
|
|
11
|
-
import "./icon-
|
|
2
|
+
import { s as f, t as B } from "./enum-type-52a6b12a.js";
|
|
3
|
+
import { I as oe } from "./field-base-66c90648.js";
|
|
4
|
+
import { a as le } from "./share-field-c6ed3ba9.js";
|
|
5
|
+
import re from "./form-item-wrapper-37a2733b.js";
|
|
6
|
+
import { b as v, w as ae } from "./expression-11846fd1.js";
|
|
7
|
+
import "./widget-base-df734ada.js";
|
|
8
|
+
import "./multirow-29ad4d31.js";
|
|
9
|
+
import "./baseImp-9b58e733.js";
|
|
10
|
+
import "./enum-type-b9b133f4.js";
|
|
11
|
+
import "./icon-4e8380f7.js";
|
|
12
12
|
import "axios";
|
|
13
|
-
import "./dialog-
|
|
13
|
+
import "./dialog-ac1079e2.js";
|
|
14
14
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
|
-
import "./uuid-
|
|
15
|
+
import "./uuid-1b528338.js";
|
|
16
16
|
import "element-plus";
|
|
17
|
-
import "./
|
|
18
|
-
import "./slot-
|
|
19
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
20
|
-
import "./index-
|
|
17
|
+
import "./global-provide-inject-6d2932d0.js";
|
|
18
|
+
import "./slot-31d7643d.js";
|
|
19
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-bcd065ae.js";
|
|
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-319120ac.js";
|
|
23
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-5cba34e0.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,24 +1,24 @@
|
|
|
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
|
-
import { I as R } from "./field-base-
|
|
3
|
-
import { a 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-
|
|
6
|
-
import { s as n } from "./enum-type-
|
|
7
|
-
import "./widget-base-
|
|
8
|
-
import "./multirow-
|
|
9
|
-
import "./baseImp-
|
|
10
|
-
import "./enum-type-
|
|
11
|
-
import "./icon-
|
|
2
|
+
import { I as R } from "./field-base-66c90648.js";
|
|
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-bcd065ae.js";
|
|
5
|
+
import { b as a, w as G } from "./expression-11846fd1.js";
|
|
6
|
+
import { s as n } from "./enum-type-52a6b12a.js";
|
|
7
|
+
import "./widget-base-df734ada.js";
|
|
8
|
+
import "./multirow-29ad4d31.js";
|
|
9
|
+
import "./baseImp-9b58e733.js";
|
|
10
|
+
import "./enum-type-b9b133f4.js";
|
|
11
|
+
import "./icon-4e8380f7.js";
|
|
12
12
|
import "axios";
|
|
13
|
-
import "./dialog-
|
|
13
|
+
import "./dialog-ac1079e2.js";
|
|
14
14
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
|
-
import "./uuid-
|
|
15
|
+
import "./uuid-1b528338.js";
|
|
16
16
|
import "element-plus";
|
|
17
|
-
import "./
|
|
18
|
-
import "./slot-
|
|
19
|
-
import "./index-
|
|
17
|
+
import "./global-provide-inject-6d2932d0.js";
|
|
18
|
+
import "./slot-31d7643d.js";
|
|
19
|
+
import "./index-f9b79d02.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
-
import "./fieldobj-
|
|
21
|
+
import "./fieldobj-319120ac.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({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as S } from "./enum-type-
|
|
1
|
+
import { a as S } from "./enum-type-52a6b12a.js";
|
|
2
2
|
var w = /* @__PURE__ */ ((t) => (t.year = "year", t.month = "month", t.day = "day", t.hour = "hour", t.minute = "minute", t.second = "second", t.week = "week", t))(w || {});
|
|
3
3
|
function Y(t) {
|
|
4
4
|
return t % 4 === 0 && t % 100 !== 0 || t % 400 === 0;
|
|
@@ -1,26 +1,26 @@
|
|
|
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 {
|
|
3
|
-
import { I as T } from "./field-base-
|
|
4
|
-
import { a as B } from "./share-field-
|
|
5
|
-
import { _ as E } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
2
|
+
import { q as V, w as z } from "./expression-11846fd1.js";
|
|
3
|
+
import { I as T } from "./field-base-66c90648.js";
|
|
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-bcd065ae.js";
|
|
6
6
|
import { _ as F } from "./_plugin-vue_export-helper-dad06003.js";
|
|
7
7
|
import "./source-map-b04aec4a.js";
|
|
8
|
-
import "./enum-type-
|
|
9
|
-
import "./uuid-
|
|
8
|
+
import "./enum-type-52a6b12a.js";
|
|
9
|
+
import "./uuid-1b528338.js";
|
|
10
10
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
11
11
|
import "./esprima-e8d15055.js";
|
|
12
|
-
import "./widget-base-
|
|
13
|
-
import "./multirow-
|
|
14
|
-
import "./baseImp-
|
|
15
|
-
import "./enum-type-
|
|
16
|
-
import "./icon-
|
|
12
|
+
import "./widget-base-df734ada.js";
|
|
13
|
+
import "./multirow-29ad4d31.js";
|
|
14
|
+
import "./baseImp-9b58e733.js";
|
|
15
|
+
import "./enum-type-b9b133f4.js";
|
|
16
|
+
import "./icon-4e8380f7.js";
|
|
17
17
|
import "axios";
|
|
18
|
-
import "./dialog-
|
|
18
|
+
import "./dialog-ac1079e2.js";
|
|
19
19
|
import "element-plus";
|
|
20
|
-
import "./
|
|
21
|
-
import "./slot-
|
|
22
|
-
import "./index-
|
|
23
|
-
import "./fieldobj-
|
|
20
|
+
import "./global-provide-inject-6d2932d0.js";
|
|
21
|
+
import "./slot-31d7643d.js";
|
|
22
|
+
import "./index-f9b79d02.js";
|
|
23
|
+
import "./fieldobj-319120ac.js";
|
|
24
24
|
const L = { class: "s-canvas" }, R = ["width", "height"], $ = /* @__PURE__ */ g({
|
|
25
25
|
__name: "_index",
|
|
26
26
|
props: {
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
var r = Object.defineProperty;
|
|
2
|
+
var n = (t, e, s) => e in t ? r(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s;
|
|
3
|
+
var a = (t, e, s) => (n(t, typeof e != "symbol" ? e + "" : e, s), s);
|
|
4
|
+
class p {
|
|
5
|
+
constructor() {
|
|
6
|
+
a(this, "widget", { type: Object });
|
|
7
|
+
a(this, "propOptions", { type: Object, default: {} });
|
|
8
|
+
a(this, "parentWidget", { type: Object });
|
|
9
|
+
a(this, "parentList", { type: Array });
|
|
10
|
+
a(this, "parentTree", { type: Array });
|
|
11
|
+
a(this, "designer", { type: Object });
|
|
12
|
+
a(this, "designState", { type: Boolean, default: !1 });
|
|
13
|
+
a(this, "produceState", { type: Boolean, default: !1 });
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
const d = new p(), i = (t, e) => t ? !e || e.length <= 0 ? [t] : [t, ...e] : [];
|
|
17
|
+
class o extends p {
|
|
18
|
+
constructor() {
|
|
19
|
+
super(...arguments);
|
|
20
|
+
a(this, "componentName", { type: String, default: "div" });
|
|
21
|
+
a(this, "showWrapperComponent", { type: Boolean, default: !1 });
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
const y = new o();
|
|
25
|
+
export {
|
|
26
|
+
d as I,
|
|
27
|
+
p as W,
|
|
28
|
+
y as a,
|
|
29
|
+
i as m
|
|
30
|
+
};
|
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
import { defineComponent as se, resolveComponent as q, openBlock as o, createElementBlock as c, Fragment as B, createVNode as l, createCommentVNode as W, createBlock as C, createSlots as x, withCtx as d, createElementVNode as J, renderList as ee, createTextVNode as b, toDisplayString as $, withModifiers as w, unref as r, renderSlot as j, computed as h, ref as te, resolveDynamicComponent as ne, mergeProps as M, toHandlers as ue } from "vue";
|
|
2
|
+
import { b as g, q as ie } from "./expression-11846fd1.js";
|
|
3
|
+
import { n as v, y as fe, c as me } from "./enum-type-52a6b12a.js";
|
|
4
|
+
import { I as ge, a as ve } from "./widget-base-df734ada.js";
|
|
5
|
+
import { a as le, F as ye } from "./global-provide-inject-6d2932d0.js";
|
|
6
|
+
import { S as m } from "./index-f9b79d02.js";
|
|
7
|
+
import { v as we, B as ce } from "./baseImp-9b58e733.js";
|
|
8
|
+
import { c as Q, S as he } from "./enum-type-b9b133f4.js";
|
|
9
|
+
import { u as We } from "./fieldobj-319120ac.js";
|
|
10
|
+
const Ce = { key: 0 }, ke = { class: "clWhite" }, Le = { class: "clWhite" }, be = ["title"], $e = ["title"], Se = ["title"], Ie = ["title"], Te = /* @__PURE__ */ se({
|
|
11
|
+
__name: "drag-handler",
|
|
12
|
+
props: { ...ge, parentTree: { type: Object, default: null }, hidden: { type: Boolean, default: !1 }, simple: { type: Boolean } },
|
|
13
|
+
setup(y) {
|
|
14
|
+
const a = y, { setSelected: G, findWidgetById: u, removeWidget: z, moveDownWidget: D, moveUpWidget: V, cloneWidget: P } = le(a.designer), S = (t) => {
|
|
15
|
+
const i = t == null ? void 0 : t.id;
|
|
16
|
+
if (t.selectable === !1)
|
|
17
|
+
we.info(v.i18nt("designer.hint.currentNodeCannotBeSelected"));
|
|
18
|
+
else {
|
|
19
|
+
const f = u(i);
|
|
20
|
+
G(f);
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
return (t, i) => {
|
|
24
|
+
var T, N;
|
|
25
|
+
const f = q("el-dropdown-item"), k = q("el-dropdown-menu"), A = q("el-dropdown"), I = q("el-divider");
|
|
26
|
+
return o(), c(B, null, [
|
|
27
|
+
y.hidden === !0 ? (o(), c("i", Ce, [
|
|
28
|
+
l(m, { name: "@el-hide" })
|
|
29
|
+
])) : W("", !0),
|
|
30
|
+
y.simple ? (o(), C(A, {
|
|
31
|
+
key: 1,
|
|
32
|
+
onCommand: S
|
|
33
|
+
}, x({
|
|
34
|
+
default: d(() => [
|
|
35
|
+
J("span", ke, [
|
|
36
|
+
l(m, { name: "@el-arrow-down" })
|
|
37
|
+
])
|
|
38
|
+
]),
|
|
39
|
+
_: 2
|
|
40
|
+
}, [
|
|
41
|
+
((T = y.parentTree) == null ? void 0 : T.length) > 0 ? {
|
|
42
|
+
name: "dropdown",
|
|
43
|
+
fn: d(() => [
|
|
44
|
+
l(k, null, {
|
|
45
|
+
default: d(() => [
|
|
46
|
+
(o(!0), c(B, null, ee(y.parentTree, (n, e) => (o(), C(f, { command: n }, {
|
|
47
|
+
default: d(() => [
|
|
48
|
+
b($(n == null ? void 0 : n.label), 1)
|
|
49
|
+
]),
|
|
50
|
+
_: 2
|
|
51
|
+
}, 1032, ["command"]))), 256)),
|
|
52
|
+
l(f, {
|
|
53
|
+
divided: "",
|
|
54
|
+
onClick: i[0] || (i[0] = w((n) => r(P)(t.widget, t.parentList), ["stop"]))
|
|
55
|
+
}, {
|
|
56
|
+
default: d(() => [
|
|
57
|
+
l(m, { name: "@el-clone" }),
|
|
58
|
+
b($(r(v).i18nt("designer.hint.cloneWidget")), 1)
|
|
59
|
+
]),
|
|
60
|
+
_: 1
|
|
61
|
+
}),
|
|
62
|
+
l(f, {
|
|
63
|
+
onClick: i[1] || (i[1] = w((n) => r(z)(t.widget, t.parentWidget, t.parentList), ["stop"]))
|
|
64
|
+
}, {
|
|
65
|
+
default: d(() => [
|
|
66
|
+
l(m, { name: "@el-delete" }),
|
|
67
|
+
b($(r(v).i18nt("designer.hint.remove")), 1)
|
|
68
|
+
]),
|
|
69
|
+
_: 1
|
|
70
|
+
}),
|
|
71
|
+
t.parentList && t.parentList.length > 1 ? (o(), C(f, {
|
|
72
|
+
key: 0,
|
|
73
|
+
onClick: i[2] || (i[2] = w((n) => r(V)(t.parentList, t.widget), ["stop"]))
|
|
74
|
+
}, {
|
|
75
|
+
default: d(() => [
|
|
76
|
+
l(m, { name: "@el-move-up" }),
|
|
77
|
+
b($(r(v).i18nt("designer.hint.moveUpWidget")), 1)
|
|
78
|
+
]),
|
|
79
|
+
_: 1
|
|
80
|
+
})) : W("", !0),
|
|
81
|
+
t.parentList && t.parentList.length > 1 ? (o(), C(f, {
|
|
82
|
+
key: 1,
|
|
83
|
+
onClick: i[3] || (i[3] = w((n) => r(D)(t.parentList, t.widget), ["stop"]))
|
|
84
|
+
}, {
|
|
85
|
+
default: d(() => [
|
|
86
|
+
l(m, { name: "@el-move-down" }),
|
|
87
|
+
b($(r(v).i18nt("designer.hint.moveDownWidget")), 1)
|
|
88
|
+
]),
|
|
89
|
+
_: 1
|
|
90
|
+
})) : W("", !0),
|
|
91
|
+
t.$slots.default ? (o(), C(f, {
|
|
92
|
+
key: 2,
|
|
93
|
+
divied: ""
|
|
94
|
+
}, {
|
|
95
|
+
default: d(() => [
|
|
96
|
+
j(t.$slots, "default")
|
|
97
|
+
]),
|
|
98
|
+
_: 3
|
|
99
|
+
})) : W("", !0)
|
|
100
|
+
]),
|
|
101
|
+
_: 3
|
|
102
|
+
})
|
|
103
|
+
]),
|
|
104
|
+
key: "0"
|
|
105
|
+
} : void 0
|
|
106
|
+
]), 1024)) : (o(), c(B, { key: 2 }, [
|
|
107
|
+
l(A, { onCommand: S }, x({
|
|
108
|
+
default: d(() => {
|
|
109
|
+
var n, e;
|
|
110
|
+
return [
|
|
111
|
+
J("span", Le, [
|
|
112
|
+
b($(r(v).i18n2t(
|
|
113
|
+
`designer.widgetLabel.${(n = t.widget) == null ? void 0 : n.type}`,
|
|
114
|
+
`extension.widgetLabel.${(e = t.widget) == null ? void 0 : e.type}`
|
|
115
|
+
)) + " ", 1),
|
|
116
|
+
l(m, {
|
|
117
|
+
name: "@el-arrow-down",
|
|
118
|
+
class: "el-icon--right"
|
|
119
|
+
})
|
|
120
|
+
])
|
|
121
|
+
];
|
|
122
|
+
}),
|
|
123
|
+
_: 2
|
|
124
|
+
}, [
|
|
125
|
+
((N = y.parentTree) == null ? void 0 : N.length) > 0 ? {
|
|
126
|
+
name: "dropdown",
|
|
127
|
+
fn: d(() => [
|
|
128
|
+
l(k, null, {
|
|
129
|
+
default: d(() => [
|
|
130
|
+
(o(!0), c(B, null, ee(y.parentTree, (n, e) => (o(), C(f, { command: n }, {
|
|
131
|
+
default: d(() => [
|
|
132
|
+
b($(n == null ? void 0 : n.label), 1)
|
|
133
|
+
]),
|
|
134
|
+
_: 2
|
|
135
|
+
}, 1032, ["command"]))), 256))
|
|
136
|
+
]),
|
|
137
|
+
_: 1
|
|
138
|
+
})
|
|
139
|
+
]),
|
|
140
|
+
key: "0"
|
|
141
|
+
} : void 0
|
|
142
|
+
]), 1024),
|
|
143
|
+
l(I, {
|
|
144
|
+
direction: "vertical",
|
|
145
|
+
"border-style": "dashed",
|
|
146
|
+
color: "white"
|
|
147
|
+
}),
|
|
148
|
+
j(t.$slots, "default"),
|
|
149
|
+
t.parentList && t.parentList.length > 1 ? (o(), c("i", {
|
|
150
|
+
key: 0,
|
|
151
|
+
title: r(v).i18nt("designer.hint.moveUpWidget"),
|
|
152
|
+
onClick: i[4] || (i[4] = w((n) => r(V)(t.parentList, t.widget), ["stop"]))
|
|
153
|
+
}, [
|
|
154
|
+
l(m, { name: "@el-move-up" })
|
|
155
|
+
], 8, be)) : W("", !0),
|
|
156
|
+
t.parentList && t.parentList.length > 1 ? (o(), c("i", {
|
|
157
|
+
key: 1,
|
|
158
|
+
title: r(v).i18nt("designer.hint.moveDownWidget"),
|
|
159
|
+
onClick: i[5] || (i[5] = w((n) => r(D)(t.parentList, t.widget), ["stop"]))
|
|
160
|
+
}, [
|
|
161
|
+
l(m, { name: "@el-move-down" })
|
|
162
|
+
], 8, $e)) : W("", !0),
|
|
163
|
+
J("i", {
|
|
164
|
+
title: r(v).i18nt("designer.hint.cloneWidget"),
|
|
165
|
+
onClick: i[6] || (i[6] = w((n) => r(P)(t.widget, t.parentList), ["stop"]))
|
|
166
|
+
}, [
|
|
167
|
+
l(m, { name: "@el-clone" })
|
|
168
|
+
], 8, Se),
|
|
169
|
+
J("i", {
|
|
170
|
+
title: r(v).i18nt("designer.hint.remove"),
|
|
171
|
+
onClick: i[7] || (i[7] = w((n) => r(z)(t.widget, t.parentWidget, t.parentList), ["stop"]))
|
|
172
|
+
}, [
|
|
173
|
+
l(m, { name: "@el-delete" })
|
|
174
|
+
], 8, Ie)
|
|
175
|
+
], 64))
|
|
176
|
+
], 64);
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
});
|
|
180
|
+
const He = /* @__PURE__ */ se({
|
|
181
|
+
__name: "widget-wrapper",
|
|
182
|
+
props: { ...ve },
|
|
183
|
+
setup(y) {
|
|
184
|
+
const a = y, { selectWidget: G } = le(a.designer), { getAttrProp: u } = We(a), { globalFormOptions: z } = ye.globalInject(), D = (e) => {
|
|
185
|
+
if (e)
|
|
186
|
+
return {
|
|
187
|
+
id: e.id,
|
|
188
|
+
type: e.type,
|
|
189
|
+
label: ce.getWidgetTypeName(me(e.type)),
|
|
190
|
+
selectable: !0
|
|
191
|
+
};
|
|
192
|
+
}, V = (e) => e == null ? void 0 : e.map((p) => D(p)), P = h(() => {
|
|
193
|
+
if (a.designState && I.value)
|
|
194
|
+
return V([a.widget, ...a.parentTree || []]);
|
|
195
|
+
}), S = (e) => e && !["div", "span"].includes(e), t = h(() => u("hidden")), i = h(() => {
|
|
196
|
+
var e;
|
|
197
|
+
return (e = a.widget) == null ? void 0 : e.id;
|
|
198
|
+
}), f = h(() => {
|
|
199
|
+
var e, p;
|
|
200
|
+
return (e = a.widget) != null && e.type ? [Q.grid, Q.gridCol, Q.wrapper].includes((p = a.widget) == null ? void 0 : p.type) : !1;
|
|
201
|
+
}), k = h(() => {
|
|
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), s = fe(z), re = ((Z = a.widget) == null ? void 0 : Z.formItemFlag) && (s == null ? void 0 : s.inForm), oe = H || (s == null ? void 0 : s.size) || ((_ = (F = a.designer) == null ? void 0 : F.pageConfig) == null ? void 0 : _.size), de = U || (s == null ? void 0 : s.labelAlign), K = E || (s == null ? void 0 : s.labelWidth), ae = O || (s == null ? void 0 : s.labelSuffix) || "", pe = X || (s == null ? void 0 : s.displayLayout);
|
|
204
|
+
let Y = {};
|
|
205
|
+
return K !== he.auto && (Y.labelWidth = K), {
|
|
206
|
+
size: oe,
|
|
207
|
+
labelAlign: de,
|
|
208
|
+
labelWidth: K,
|
|
209
|
+
// 隐藏的标签宽度仍旧保留,为占位
|
|
210
|
+
formItemFlag: re,
|
|
211
|
+
formItemAttr: Y,
|
|
212
|
+
ctrlWidth: p,
|
|
213
|
+
displayStyle: pe,
|
|
214
|
+
labelSuffix: ae,
|
|
215
|
+
injectStyle: {},
|
|
216
|
+
//verticalAlign: verticalAlign.value, width: withLabel.value ? '100%' : ctrlWidth.value
|
|
217
|
+
/**
|
|
218
|
+
* 作用到底层组件
|
|
219
|
+
* 注:宽度全屏
|
|
220
|
+
* */
|
|
221
|
+
injectClass: [e ? "" : "full-width", ie(L), i.value],
|
|
222
|
+
// filterDisplay.value ? displayStyle.value : ''
|
|
223
|
+
//1、当前组件包含插槽 2、作用到插槽中的每一个组件中
|
|
224
|
+
componentWrapperClass: ie(R)
|
|
225
|
+
};
|
|
226
|
+
}), A = h(() => [u(g.width) ? "" : "full-width"]), I = h(() => {
|
|
227
|
+
var e, p, L;
|
|
228
|
+
return !!a.designer && ((e = a.widget) == null ? void 0 : e.id) === ((L = (p = a.designer) == null ? void 0 : p.selectedWidget) == null ? void 0 : L.id);
|
|
229
|
+
}), T = te(), N = te(), n = h(() => {
|
|
230
|
+
var e, p;
|
|
231
|
+
if (T.value && N.value && I.value)
|
|
232
|
+
return ((e = T.value) == null ? void 0 : e.offsetWidth) > ((p = N.value) == null ? void 0 : p.offsetWidth);
|
|
233
|
+
});
|
|
234
|
+
return (e, p) => {
|
|
235
|
+
var L, R, H, U, E, O;
|
|
236
|
+
return e.designState ? (o(), C(ne(e.componentName), M({
|
|
237
|
+
key: 0,
|
|
238
|
+
class: ["field-wrapper", [I.value ? "selected" : "", " drag-handler", e.propOptions.class, e.showWrapperComponent ? A.value : ""]],
|
|
239
|
+
style: e.propOptions.style,
|
|
240
|
+
onClick: p[0] || (p[0] = w((X) => r(G)(e.widget, e.parentWidget, e.parentList), ["stop"])),
|
|
241
|
+
ref_key: "wrapperRef",
|
|
242
|
+
ref: N,
|
|
243
|
+
tabindex: 0
|
|
244
|
+
}, S(e.componentName) ? (R = (L = e.propOptions) == null ? void 0 : L.fieldObj) == null ? void 0 : R.attrs : {}), {
|
|
245
|
+
default: d(() => [
|
|
246
|
+
j(e.$slots, "default", { data: k.value }),
|
|
247
|
+
I.value ? (o(), c("div", {
|
|
248
|
+
key: 0,
|
|
249
|
+
class: "action",
|
|
250
|
+
ref_key: "dragHandlerRef",
|
|
251
|
+
ref: T
|
|
252
|
+
}, [
|
|
253
|
+
l(Te, {
|
|
254
|
+
simple: n.value,
|
|
255
|
+
"design-state": e.designState,
|
|
256
|
+
designer: e.designer,
|
|
257
|
+
widget: e.widget,
|
|
258
|
+
"parent-widget": e.parentWidget,
|
|
259
|
+
"parent-list": e.parentList,
|
|
260
|
+
parentTree: P.value,
|
|
261
|
+
hidden: t.value
|
|
262
|
+
}, {
|
|
263
|
+
default: d(() => [
|
|
264
|
+
j(e.$slots, "drag")
|
|
265
|
+
]),
|
|
266
|
+
_: 3
|
|
267
|
+
}, 8, ["simple", "design-state", "designer", "widget", "parent-widget", "parent-list", "parentTree", "hidden"])
|
|
268
|
+
], 512)) : W("", !0)
|
|
269
|
+
]),
|
|
270
|
+
_: 3
|
|
271
|
+
}, 16, ["class", "style"])) : !t.value || f.value ? (o(), c(B, { key: 1 }, [
|
|
272
|
+
e.showWrapperComponent ? (o(), 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
|
+
class: [e.propOptions.class, A.value, t.value && f.value ? "hlhidden" : ""],
|
|
274
|
+
style: { ...k.value.injectStyle, ...e.propOptions.style }
|
|
275
|
+
}), {
|
|
276
|
+
default: d(() => [
|
|
277
|
+
j(e.$slots, "default", M({ data: k.value }, e.$props))
|
|
278
|
+
]),
|
|
279
|
+
_: 3
|
|
280
|
+
}, 16, ["class", "style"])) : j(e.$slots, "default", M({
|
|
281
|
+
key: 1,
|
|
282
|
+
data: k.value
|
|
283
|
+
}, e.$props))
|
|
284
|
+
], 64)) : W("", !0);
|
|
285
|
+
};
|
|
286
|
+
}
|
|
287
|
+
});
|
|
288
|
+
export {
|
|
289
|
+
He as _
|
|
290
|
+
};
|
|
@@ -0,0 +1,89 @@
|
|
|
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
|
+
import { I as D } from "./widget-base-df734ada.js";
|
|
3
|
+
import { D as F } from "./drag-wrapper-a79ff9ea.js";
|
|
4
|
+
import { _ as R } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-bcd065ae.js";
|
|
5
|
+
import { w as k } from "./expression-11846fd1.js";
|
|
6
|
+
import { W as C } from "./enum-type-b9b133f4.js";
|
|
7
|
+
import { a as A, u as B } from "./share-field-c6ed3ba9.js";
|
|
8
|
+
import { c as I } from "./cssClass-0ad1f6a9.js";
|
|
9
|
+
import { F as N } from "./global-provide-inject-6d2932d0.js";
|
|
10
|
+
function $(n) {
|
|
11
|
+
const d = v({}), { componentWrapperClass: m, customClass: r } = I({ widget: n.widget }), { exposed: t, attrs: l, extendAttrs: f, fieldKey: u, fieldObj: _ } = A(n), { setAllRefList: p } = B(d.value), o = (s = !1) => {
|
|
12
|
+
var e;
|
|
13
|
+
(e = t == null ? void 0 : t.setDisabled) == null || e.call(t, s), p(C.setDisabled, { flag: s });
|
|
14
|
+
}, a = (s = !1) => {
|
|
15
|
+
var e;
|
|
16
|
+
(e = t == null ? void 0 : t.setHidden) == null || e.call(t, s);
|
|
17
|
+
}, c = () => {
|
|
18
|
+
p(C.resetField);
|
|
19
|
+
};
|
|
20
|
+
return ((s) => {
|
|
21
|
+
h(() => {
|
|
22
|
+
var e;
|
|
23
|
+
return (e = l.value) == null ? void 0 : e[s];
|
|
24
|
+
}, (e) => {
|
|
25
|
+
e != null && s === "disabled" && o(e);
|
|
26
|
+
}, { immediate: !0 });
|
|
27
|
+
})("disabled"), {
|
|
28
|
+
extendAttrs: f,
|
|
29
|
+
attrs: l,
|
|
30
|
+
exposed: {
|
|
31
|
+
...t,
|
|
32
|
+
setDisabled: o,
|
|
33
|
+
setHidden: a,
|
|
34
|
+
// setRequired,
|
|
35
|
+
resetField: c
|
|
36
|
+
},
|
|
37
|
+
componentWrapperClass: m,
|
|
38
|
+
customClass: r,
|
|
39
|
+
fieldKey: u,
|
|
40
|
+
fieldObj: _,
|
|
41
|
+
widgetRefList: d
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
const E = W({ componentName: k.ContainerWidget }), H = /* @__PURE__ */ W({
|
|
45
|
+
...E,
|
|
46
|
+
__name: "wrapper-widget",
|
|
47
|
+
props: { ...D },
|
|
48
|
+
setup(n, { expose: d }) {
|
|
49
|
+
const m = n, { attrs: r, extendAttrs: t, exposed: l, fieldObj: f, fieldKey: u, widgetRefList: _ } = $(m), p = y(() => {
|
|
50
|
+
var o, a;
|
|
51
|
+
return {
|
|
52
|
+
disabled: (o = r.value) == null ? void 0 : o.disabled,
|
|
53
|
+
readonly: (a = r.value) == null ? void 0 : a.readonly
|
|
54
|
+
};
|
|
55
|
+
});
|
|
56
|
+
return N.globalProvide({
|
|
57
|
+
globalWrapperOptions: p
|
|
58
|
+
}), d({ ...l }), (o, a) => (b(), P(R, w(o.$props, {
|
|
59
|
+
"prop-options": { fieldObj: i(f) },
|
|
60
|
+
"component-name": "div",
|
|
61
|
+
"show-wrapper-component": !0
|
|
62
|
+
}), {
|
|
63
|
+
default: j(({ data: c }) => {
|
|
64
|
+
var g, s, e;
|
|
65
|
+
return [
|
|
66
|
+
o.designState || !((g = i(r)) != null && g.hidden) || !((s = i(r)) != null && s.lazy) ? (b(), O("div", {
|
|
67
|
+
ref: "fieldEditor",
|
|
68
|
+
class: L(c.injectClass),
|
|
69
|
+
key: i(u)
|
|
70
|
+
}, [
|
|
71
|
+
S(F, w(o.$props, {
|
|
72
|
+
dragClass: "dragSize padSize",
|
|
73
|
+
"component-class": c.componentWrapperClass,
|
|
74
|
+
refList: i(_),
|
|
75
|
+
"show-suspense": (e = i(t)) == null ? void 0 : e.showSuspense
|
|
76
|
+
}), null, 16, ["component-class", "refList", "show-suspense"])
|
|
77
|
+
], 2)) : z("", !0)
|
|
78
|
+
];
|
|
79
|
+
}),
|
|
80
|
+
_: 1
|
|
81
|
+
}, 16, ["prop-options"]));
|
|
82
|
+
}
|
|
83
|
+
}), X = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
84
|
+
__proto__: null,
|
|
85
|
+
default: H
|
|
86
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
87
|
+
export {
|
|
88
|
+
X as _
|
|
89
|
+
};
|
package/cont-widget-4b88e7e5.js
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { defineComponent as a, openBlock as t, createBlock as i, mergeProps as u, unref as p, withCtx as f, createElementBlock as w, Fragment as b, renderList as C } from "vue";
|
|
2
|
-
import { b as y, w as h } from "./expression-d4680713.js";
|
|
3
|
-
import { I as v } from "./widget-base-8eece820.js";
|
|
4
|
-
import { _ as O } from "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-e2ea7130.js";
|
|
5
|
-
import { _ as S } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-a9e4f996.js";
|
|
6
|
-
import { a as j } from "./share-field-ec8c208e.js";
|
|
7
|
-
import { c as k } from "./cssClass-d5b2a013.js";
|
|
8
|
-
const P = a({ componentName: h.ContainerWidget }), W = /* @__PURE__ */ a({
|
|
9
|
-
...P,
|
|
10
|
-
__name: "cont-widget",
|
|
11
|
-
props: { ...v },
|
|
12
|
-
setup(d, { expose: l }) {
|
|
13
|
-
const o = d, { watchPropAndSaveHistoryStep: m, fieldObj: _, exposed: g } = j(o), { customClass: c } = k({ widget: o.widget });
|
|
14
|
-
return m(y.cols), l({ ...g }), (e, B) => (t(), i(S, u(e.$props, {
|
|
15
|
-
showWrapperComponent: !0,
|
|
16
|
-
"prop-options": { fieldObj: p(_), class: [p(c)] }
|
|
17
|
-
}), {
|
|
18
|
-
default: f(() => {
|
|
19
|
-
var r;
|
|
20
|
-
return [
|
|
21
|
-
(t(!0), w(b, null, C((r = e.widget) == null ? void 0 : r.cols, (s, I) => {
|
|
22
|
-
var n;
|
|
23
|
-
return t(), i(O, {
|
|
24
|
-
key: s.id,
|
|
25
|
-
widget: s,
|
|
26
|
-
designer: e.designer,
|
|
27
|
-
"design-state": e.designState,
|
|
28
|
-
"parent-list": (n = e.widget) == null ? void 0 : n.cols,
|
|
29
|
-
"parent-widget": e.widget
|
|
30
|
-
}, null, 8, ["widget", "designer", "design-state", "parent-list", "parent-widget"]);
|
|
31
|
-
}), 128))
|
|
32
|
-
];
|
|
33
|
-
}),
|
|
34
|
-
_: 1
|
|
35
|
-
}, 16, ["prop-options"]));
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
const H = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
39
|
-
__proto__: null,
|
|
40
|
-
default: W
|
|
41
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
42
|
-
export {
|
|
43
|
-
H as _
|
|
44
|
-
};
|