hldesigner 0.0.259 → 0.0.261
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-21b0a77d.js → _pdf-d0fb3441.js} +7 -7
- package/{_share_image-b7aaac3f.js → _share_image-41808a56.js} +2 -2
- package/{_share_size.vue_vue_type_script_setup_true_lang-61942332.js → _share_size.vue_vue_type_script_setup_true_lang-e6778e1e.js} +3 -3
- package/{_txt-b9439b4d.js → _txt-d121fec4.js} +7 -7
- package/{_unsupport-5b54c851.js → _unsupport-0d122c86.js} +2 -2
- package/{affix-widget-4983f3a4.js → affix-widget-7f3f80ed.js} +21 -21
- package/{alert-widget-f9ce017c.js → alert-widget-77d456a0.js} +21 -21
- package/{anchor-widget-fd135c93.js → anchor-widget-1de0909a.js} +18 -18
- package/{auto-complete-widget-0573d25f.js → auto-complete-widget-f0b1d09e.js} +21 -21
- package/{avatar-widget-f1a7c477.js → avatar-widget-d25151d0.js} +21 -21
- package/{backtop-widget-8fc58541.js → backtop-widget-72d29916.js} +21 -21
- package/{badge-widget-d00802ca.js → badge-widget-3cf336b3.js} +21 -21
- package/{barcode-widget-fea8eec8.js → barcode-widget-3abe6dee.js} +21 -21
- package/{baseImp-9311341a.js → baseImp-301687cc.js} +7 -7
- package/{breadcrumb-widget-ec507c4c.js → breadcrumb-widget-96b2dfab.js} +18 -18
- package/{button-widget-b443dea3.js → button-widget-5073015e.js} +21 -21
- package/{cache-widget-21cd7395.js → cache-widget-637da578.js} +20 -20
- package/card-widget-a2d70213.js +121 -0
- package/{carousel-widget-8cecb5d8.js → carousel-widget-7cbc90cf.js} +19 -19
- package/{cascader-widget-ac0148d5.js → cascader-widget-d232df2d.js} +20 -20
- package/{chart-widget-bf632da1.js → chart-widget-d3d8651f.js} +30 -30
- package/{checkbox-widget-948cb898.js → checkbox-widget-7383775b.js} +20 -20
- package/{collapse-widget-57530d7c.js → collapse-widget-66a8782d.js} +19 -19
- package/{color-picker-widget-d06c2f77.js → color-picker-widget-13df5698.js} +20 -20
- package/common-editor-135904ae.js +27 -0
- package/{common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-7a66b3b3.js → common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-9f196508.js} +2 -2
- package/{configItem-e40c5100.js → configItem-ac095ab4.js} +44 -44
- package/{cont-cell-widget-8124bf4a.js → cont-cell-widget-19872036.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-76c13798.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-c43ba8d4.js} +5 -5
- package/{cont-widget-9e2074d5.js → cont-widget-ec0ac434.js} +5 -5
- package/{content-wrapper-db062790.js → content-wrapper-57065f6b.js} +8 -8
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-5b960899.js → content-wrapper.vue_vue_type_script_setup_true_lang-7743da14.js} +3 -3
- package/{countdown-widget-19a66838.js → countdown-widget-47f0486e.js} +21 -21
- package/{css-editor-cf5852ed.js → css-editor-748a30de.js} +80 -80
- package/{cssIndex-4e0a788b.js → cssIndex-17847070.js} +12 -12
- package/{customClass-editor-ea6843d1.js → customClass-editor-13b38518.js} +17 -17
- package/{date-picker-range-widget-65177f55.js → date-picker-range-widget-53c762e8.js} +20 -20
- package/{date-picker-widget-9025e200.js → date-picker-widget-32997922.js} +20 -20
- package/default-slot-widget-7becd648.js +30 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-5cb17f15.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-facec1e8.js} +8 -8
- package/{descriptions-widget-270ccd0a.js → descriptions-widget-3a7df4c4.js} +19 -19
- package/designer.es.js +36 -36
- package/designer.style.css +1 -1
- package/designer.umd.js +274 -274
- package/{dialog-a9143cf5.js → dialog-01ece6ab.js} +2 -2
- package/{dialog-widget-dbe49a9f.js → dialog-widget-b4dcf81c.js} +20 -20
- package/{divider-widget-a69948af.js → divider-widget-1e4690d7.js} +21 -21
- package/drag-wrapper-21480cf3.js +295 -0
- package/{drawer-widget-ccee9ef7.js → drawer-widget-5da62cef.js} +20 -20
- package/{dropdown-widget-97b122fe.js → dropdown-widget-6adf7abd.js} +19 -19
- package/{editor-wrapper-121cbbcb.js → editor-wrapper-6d3e0929.js} +101 -100
- package/{emitter-8d426aaf.js → emitter-00809005.js} +1 -1
- package/{empty-widget-27e54f85.js → empty-widget-b48caa26.js} +21 -21
- package/{enum-type-35170cd8.js → enum-type-1e41a275.js} +1 -1
- package/{enum-type-5c60dc1e.js → enum-type-c8b77ba5.js} +3 -2
- package/{expression-8721f68a.js → expression-9901f861.js} +67 -67
- package/feedback-widget-1bc224eb.js +31 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-98494486.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-b543ab09.js} +6 -6
- package/{field-editor-6dd29f69.js → field-editor-4d16ebed.js} +16 -16
- package/{fieldobj-50c2d8a9.js → fieldobj-a62cc1fc.js} +1 -1
- package/{file-upload-widget-0c8e8118.js → file-upload-widget-240e3f6d.js} +25 -25
- package/{form-item-wrapper-56835113.js → form-item-wrapper-3a8256e9.js} +14 -14
- package/form-widget-49c41f9c.js +256 -0
- package/{grid-col-widget-aa5b1f56.js → grid-col-widget-6c8ad660.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-3caf48d4.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-5d8385a4.js} +5 -5
- package/{grid-widget-27cc77b2.js → grid-widget-72ddf385.js} +5 -5
- package/{hcard-widget-4316eb2b.js → hcard-widget-3b92b078.js} +19 -19
- package/{html-text-widget-fea53cb3.js → html-text-widget-0a061ef0.js} +19 -19
- package/{icon-widget-13c2ae2f.js → icon-widget-da099c59.js} +18 -18
- package/{iframe-widget-bf50d474.js → iframe-widget-2cc84335.js} +18 -18
- package/{image-editor-4b7be04a.js → image-editor-c1c6d25c.js} +17 -17
- package/{image-widget-eb38da0e.js → image-widget-e396dfb4.js} +18 -18
- package/{index-7b813720.js → index-025c1aa1.js} +39 -39
- package/{index-673cc280.js → index-07ccebe2.js} +41 -41
- package/{index-f82d2486.js → index-09172eb0.js} +18 -18
- package/{index-40338645.js → index-096eeda6.js} +9 -9
- package/{index-396e8a3f.js → index-0a305460.js} +9 -9
- package/{index-76ea6e95.js → index-0c1a0ddc.js} +1 -1
- package/{index-50c11c53.js → index-0cf48420.js} +16 -16
- package/{index-b9714f5f.js → index-2a5f4ed6.js} +20 -20
- package/{index-5c01e91e.js → index-2ce5f40f.js} +7 -7
- package/{index-b5836a1d.js → index-4035adf8.js} +78 -73
- package/{index-7a2b1efd.js → index-40d47100.js} +1 -1
- package/{index-7a499750.js → index-5bb588b3.js} +7 -7
- package/{index-f4c8b326.js → index-6cac1021.js} +10 -10
- package/{index-3dcca358.js → index-8eb82169.js} +1 -1
- package/{index-da1bd5b7.js → index-937b1e27.js} +1 -1
- package/{index-be420643.js → index-af3622c1.js} +43 -43
- package/{index-c8a50696.js → index-b37aa933.js} +39 -39
- package/{index-991b8aed.js → index-cbd39531.js} +11 -11
- package/{index-df82613d.js → index-cece3c21.js} +14 -14
- package/{index-2d5042ec.js → index-d7b2ded0.js} +57 -57
- package/{index-859cce54.js → index-da7ca79d.js} +5 -5
- package/{index-d69a9951.js → index-deb4c1a8.js} +7 -7
- package/{index-c185714c.js → index-df920776.js} +28 -28
- package/{index-9bad67b9.js → index-e96d5869.js} +7 -7
- package/{index-83112934.js → index-f1034f73.js} +150 -150
- package/{index-0c7319a4.js → index-f2309e37.js} +10 -10
- package/{input-number-widget-30999d5e.js → input-number-widget-04bc6af8.js} +20 -20
- package/{input-tag-widget-de823198.js → input-tag-widget-1b1980b7.js} +21 -21
- package/{input-widget-713226a2.js → input-widget-3ec43e11.js} +21 -21
- package/{install-designer-75adb59e.js → install-designer-6c89e7c7.js} +30 -30
- package/{item-595bb177.js → item-edc22968.js} +3 -3
- package/{itemDetail-94773ac0.js → itemDetail-b678a98f.js} +3 -3
- package/{label-wrapper-bd4e85eb.js → label-wrapper-46604df9.js} +6 -6
- package/{label-wrapper.vue_vue_type_style_index_0_lang-a7a9cc48.js → label-wrapper.vue_vue_type_style_index_0_lang-1f187139.js} +3 -3
- package/{link-widget-4df905b9.js → link-widget-69695081.js} +21 -21
- package/{ltable-col-widget-52bf6983.js → ltable-col-widget-86dd1c5e.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-4ed36506.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-7dfef234.js} +9 -9
- package/{ltable-widget-73027d01.js → ltable-widget-8cb4c7f8.js} +5 -5
- package/{mention-widget-35ba4e02.js → mention-widget-71300d69.js} +21 -21
- package/{menu-widget-ab8c28e3.js → menu-widget-27e8a739.js} +22 -22
- package/{model-widget-7d19b100.js → model-widget-226f4c48.js} +20 -20
- package/{multirow-c0af5a02.js → multirow-d9432e17.js} +15 -15
- package/{multirow-widget-5ed6b3de.js → multirow-widget-d5b9f732.js} +35 -35
- package/{name-editor-d425f60a.js → name-editor-ff3592a1.js} +17 -17
- package/{obj-fe2f7356.js → obj-de9ca9c2.js} +30 -29
- package/{optionItem-692688f2.js → optionItem-6e6635c2.js} +22 -6
- package/package.json +1 -1
- package/{pagination-widget-ebaa0d46.js → pagination-widget-ef2c4cbe.js} +18 -18
- package/{picture-upload-widget-fe019458.js → picture-upload-widget-d7b2439b.js} +21 -21
- package/{progress-widget-e6f83ecc.js → progress-widget-a507d6d7.js} +19 -19
- package/{property-base-305c00bd.js → property-base-2c77cef1.js} +4 -4
- package/{qrcode-widget-bf81c38d.js → qrcode-widget-c2168584.js} +28 -28
- package/{radio-widget-ec1e8796.js → radio-widget-823c69c6.js} +20 -20
- package/{range-widget-cb36499d.js → range-widget-4390df58.js} +21 -21
- package/{rate-widget-dbcf61ca.js → rate-widget-cb1ed332.js} +20 -20
- package/{reg-editor.vue_vue_type_script_setup_true_lang-9c652a7e.js → reg-editor.vue_vue_type_script_setup_true_lang-55d6a47f.js} +3 -3
- package/{result-widget-209ae64b.js → result-widget-55a5a2de.js} +19 -19
- package/{rich-editor-widget-187bc641.js → rich-editor-widget-bc490e5e.js} +20 -20
- package/{router-widget-4a606c10.js → router-widget-8cf8fd84.js} +18 -18
- package/{schemaData-7d6525c1.js → schemaData-8e1b3320.js} +5 -5
- package/{segmented-widget-21f430e2.js → segmented-widget-efb0e31c.js} +18 -18
- package/{select-widget-88979891.js → select-widget-f32c15b5.js} +20 -20
- package/{sfc-2cd4e982.js → sfc-35a064df.js} +12 -12
- package/{sfcview-ad5013fd.js → sfcview-d8797ff0.js} +10 -10
- package/{share-editor-8269b86b.js → share-editor-d7674969.js} +25 -25
- package/{share-event-5c0554d8.js → share-event-9c550116.js} +2 -2
- package/{share-field-1c7ff6e9.js → share-field-99831984.js} +161 -161
- package/{share-file-f38520d9.js → share-file-67eb033c.js} +7 -7
- package/{size-editor-71c0a04b.js → size-editor-510212eb.js} +19 -19
- package/{skeleton-widget-5733e729.js → skeleton-widget-0fe76ef3.js} +21 -21
- package/{skeletonItem-widget-685422f2.js → skeletonItem-widget-04d7fd25.js} +18 -18
- package/{slider-widget-5aefac60.js → slider-widget-be9a1f6a.js} +20 -20
- package/{slot-4b2cc658.js → slot-92a62ccb.js} +5 -5
- package/{space-widget-d4baf329.js → space-widget-f6f3671d.js} +19 -19
- package/{splitter-widget-a6dd1982.js → splitter-widget-b3ef2978.js} +19 -19
- package/{static-text-widget-972e0987.js → static-text-widget-a768744d.js} +19 -19
- package/{statistic-widget-1f71954a.js → statistic-widget-1d7e4b0d.js} +21 -21
- package/{steps-widget-4739ca82.js → steps-widget-e972664d.js} +18 -18
- package/{subMenu-widget-4ce8ad2f.js → subMenu-widget-17cd9886.js} +9 -9
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-ab825f24.js → subMenu-widget.vue_vue_type_script_setup_true_lang-51eedd2e.js} +3 -3
- package/{switch-widget-1b94e1ed.js → switch-widget-04cd74f6.js} +20 -20
- package/{tab-pane-widget-72e743e8.js → tab-pane-widget-3453d80b.js} +1 -1
- package/tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-56ec9055.js +39 -0
- package/table-col-widget-b7713df3.js +27 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-6346a7fc.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-a76dd425.js} +8 -8
- package/table-widget-5ece31d2.js +325 -0
- package/{tabs-widget-fab62c43.js → tabs-widget-08290181.js} +8 -8
- package/{tag-widget-3b7cf34c.js → tag-widget-af3633b9.js} +21 -21
- package/{target-code-17c4161c.js → target-code-4b600c1c.js} +9 -9
- package/{target-datasource-9be2ab69.js → target-datasource-23407237.js} +56 -56
- package/{target-link-56ece169.js → target-link-4c25d7e8.js} +39 -39
- package/{target-saveForm-a71a07eb.js → target-saveForm-2a3cbf8c.js} +39 -39
- package/{target-widget-fe6c845f.js → target-widget-77899f98.js} +2 -2
- package/{target-window-faebcf53.js → target-window-2374c60a.js} +10 -10
- package/{text-widget-277f66a6.js → text-widget-e807ae46.js} +21 -21
- package/{textarea-widget-5e9bc546.js → textarea-widget-6d06658f.js} +20 -20
- package/{time-picker-range-widget-adfc49bb.js → time-picker-range-widget-b7b79052.js} +20 -20
- package/{time-picker-widget-d8807840.js → time-picker-widget-282f49c0.js} +20 -20
- package/{time-select-widget-cb5443ad.js → time-select-widget-c24e8d75.js} +20 -20
- package/{timeline-widget-245c1fdd.js → timeline-widget-3a9456f9.js} +19 -19
- package/{tmpl-widget-0d15f2fa.js → tmpl-widget-62331166.js} +19 -19
- package/{tooltip-widget-6261984e.js → tooltip-widget-bff9e00b.js} +19 -19
- package/{tour-widget-0b111c80.js → tour-widget-c64d5c4f.js} +18 -18
- package/{transfer-widget-0223be0b.js → transfer-widget-f53b6bf1.js} +21 -21
- package/{tree-select-widget-9acc9c43.js → tree-select-widget-222972fb.js} +20 -20
- package/{tree-widget-d0d37066.js → tree-widget-08adb635.js} +18 -18
- package/{uuid-97f565a9.js → uuid-dab47659.js} +1 -1
- package/{value-editor-dc6a9cfd.js → value-editor-42038640.js} +16 -16
- package/{verifycode-widget-ad2ecdef.js → verifycode-widget-c5e8f9c6.js} +23 -23
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1ee8aaaa.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c39260e2.js} +16 -16
- package/wrapper-widget-ca28a84d.js +93 -0
- package/card-widget-c3c95298.js +0 -117
- package/common-editor-4ebc1b41.js +0 -27
- package/default-slot-widget-fc02fa97.js +0 -30
- package/drag-wrapper-a8871702.js +0 -258
- package/feedback-widget-74c4f200.js +0 -31
- package/form-widget-0999121b.js +0 -251
- package/tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-726c5e73.js +0 -35
- package/table-col-widget-60643cbd.js +0 -27
- package/table-widget-71c9580c.js +0 -322
- package/wrapper-widget-13bd7e6f.js +0 -92
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { defineComponent as we, computed as w, ref as T, watch as Y, resolveComponent as
|
|
1
|
+
import { defineComponent as we, computed as w, ref as T, watch as Y, resolveComponent as Ce, openBlock as s, createElementBlock as Z, createBlock as d, resolveDynamicComponent as N, withCtx as r, createVNode as m, mergeProps as Fe, createElementVNode as $, unref as l, createCommentVNode as p, renderSlot as ee, createTextVNode as B, toDisplayString as W } from "vue";
|
|
2
2
|
import { ElRow as Te, ElCol as R, ElButtonGroup as S, ElButton as y } from "element-plus";
|
|
3
|
-
import { t as A, a as E } from "./enum-type-
|
|
4
|
-
import { aH as te, aS as i } from "./enum-type-
|
|
5
|
-
import { b as Ve } from "./optionItem-
|
|
6
|
-
import { S as
|
|
7
|
-
import {
|
|
3
|
+
import { t as A, a as E } from "./enum-type-c8b77ba5.js";
|
|
4
|
+
import { aH as te, aS as i } from "./enum-type-1e41a275.js";
|
|
5
|
+
import { b as Ve } from "./optionItem-6e6635c2.js";
|
|
6
|
+
import { S as C } from "./index-0c1a0ddc.js";
|
|
7
|
+
import { C as h, e as le, j as _e } from "./obj-de9ca9c2.js";
|
|
8
8
|
import { u as Oe } from "./icon-aff7bde2.js";
|
|
9
|
-
import { u as Ee } from "./share-event-
|
|
10
|
-
import { P as ae, $ as be } from "./baseImp-
|
|
11
|
-
import { b as ne } from "./expression-
|
|
9
|
+
import { u as Ee } from "./share-event-9c550116.js";
|
|
10
|
+
import { P as ae, $ as be } from "./baseImp-301687cc.js";
|
|
11
|
+
import { b as ne } from "./expression-9901f861.js";
|
|
12
12
|
import { _ as Ke } from "./_plugin-vue_export-helper-dad06003.js";
|
|
13
|
-
import "./uuid-
|
|
14
|
-
import "./emitter-
|
|
15
|
-
import "./dialog-
|
|
13
|
+
import "./uuid-dab47659.js";
|
|
14
|
+
import "./emitter-00809005.js";
|
|
15
|
+
import "./dialog-01ece6ab.js";
|
|
16
16
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
17
17
|
import "./source-map-b04aec4a.js";
|
|
18
18
|
import "./esprima-e8d15055.js";
|
|
19
|
-
const Pe = { class: "full-width flexWrap" },
|
|
19
|
+
const Pe = { class: "full-width flexWrap" }, Ne = { class: "full-width fieldWrapper" }, $e = ["innerHTML"], Be = { key: 0 }, We = { class: "marginTop10" }, Re = /* @__PURE__ */ we({
|
|
20
20
|
__name: "index",
|
|
21
21
|
props: {
|
|
22
22
|
modelValue: {},
|
|
@@ -42,7 +42,7 @@ const Pe = { class: "full-width flexWrap" }, Be = { class: "full-width fieldWrap
|
|
|
42
42
|
},
|
|
43
43
|
emits: ["updateDefaultValue", "update:modelValue", "deleted", "added", "updated", "importData", "relateWithWidget"],
|
|
44
44
|
setup(f, { emit: ue }) {
|
|
45
|
-
var
|
|
45
|
+
var U, q, z;
|
|
46
46
|
const t = f, g = ue, { getInstance: ie } = Oe(), { popOverHandler: re, drawerHandler: oe } = Ee({ instance: ie() }), o = w({
|
|
47
47
|
get: () => t.modelValue || [],
|
|
48
48
|
set: (e) => {
|
|
@@ -83,7 +83,7 @@ const Pe = { class: "full-width flexWrap" }, Be = { class: "full-width fieldWrap
|
|
|
83
83
|
i.import,
|
|
84
84
|
i.reset
|
|
85
85
|
]);
|
|
86
|
-
t.tools && ((
|
|
86
|
+
t.tools && ((U = t.tools) == null ? void 0 : U.length) > 0 && (c.value = t.tools);
|
|
87
87
|
var x = Math.ceil(((q = c.value.filter((e) => [i.rank, i.detail].includes(e))) == null ? void 0 : q.length) * 1.6), G = Math.ceil(((z = c.value.filter((e) => [i.edit, i.clone, i.delete].includes(e))) == null ? void 0 : z.length) * 1.8), ce = 24 - x - G;
|
|
88
88
|
let P = !1;
|
|
89
89
|
const k = T();
|
|
@@ -102,7 +102,7 @@ const Pe = { class: "full-width flexWrap" }, Be = { class: "full-width fieldWrap
|
|
|
102
102
|
title: E.i18nt("designer.hint.propEditTitle")
|
|
103
103
|
},
|
|
104
104
|
events: {
|
|
105
|
-
confirm:
|
|
105
|
+
confirm: J,
|
|
106
106
|
cancel: ke
|
|
107
107
|
}
|
|
108
108
|
});
|
|
@@ -110,7 +110,7 @@ const Pe = { class: "full-width flexWrap" }, Be = { class: "full-width fieldWrap
|
|
|
110
110
|
be.delete().then((n) => {
|
|
111
111
|
o == null || o.value.splice(a, 1), g("deleted", e, a);
|
|
112
112
|
});
|
|
113
|
-
},
|
|
113
|
+
}, j = () => {
|
|
114
114
|
var n;
|
|
115
115
|
if (t.newValueFn)
|
|
116
116
|
return t.newValueFn(o.value);
|
|
@@ -119,16 +119,16 @@ const Pe = { class: "full-width flexWrap" }, Be = { class: "full-width fieldWrap
|
|
|
119
119
|
var a = parseFloat(e[e.length - 1]);
|
|
120
120
|
return isNaN(a) ? 1 : String(a + 1);
|
|
121
121
|
}, pe = (e) => {
|
|
122
|
-
let a =
|
|
122
|
+
let a = j();
|
|
123
123
|
var n = t.newOptionFn ? t.newOptionFn(e, a, t.widgetType) : Ve(e, a, t.widgetType);
|
|
124
124
|
if (P = !0, k.value = n, V = null, !t.showEditor) {
|
|
125
|
-
|
|
125
|
+
J();
|
|
126
126
|
return;
|
|
127
127
|
}
|
|
128
128
|
O();
|
|
129
129
|
}, ve = (e, a) => {
|
|
130
130
|
var n = {};
|
|
131
|
-
t.cloneOptionFn ? n = t.cloneOptionFn(e, a, t.widgetType) : (n = le(e), n[t.valueKey] =
|
|
131
|
+
t.cloneOptionFn ? n = t.cloneOptionFn(e, a, t.widgetType) : (n = le(e), n[t.valueKey] = j()), o.value.splice(a + 1, 0, n), g("added", n, a + 1);
|
|
132
132
|
}, ye = (e, a) => {
|
|
133
133
|
P = !1, V = le(e), _ = a, k.value = e, O();
|
|
134
134
|
}, ge = (e) => {
|
|
@@ -136,7 +136,7 @@ const Pe = { class: "full-width flexWrap" }, Be = { class: "full-width fieldWrap
|
|
|
136
136
|
}, he = () => {
|
|
137
137
|
const e = t.multiple ? [] : "";
|
|
138
138
|
K.value = e, M(e);
|
|
139
|
-
},
|
|
139
|
+
}, J = () => {
|
|
140
140
|
if (P) {
|
|
141
141
|
var e = o == null ? void 0 : o.value;
|
|
142
142
|
e == null || e.push(k.value), o.value = [...e], g("added", k.value, o.value.length - 1);
|
|
@@ -146,17 +146,17 @@ const Pe = { class: "full-width flexWrap" }, Be = { class: "full-width fieldWrap
|
|
|
146
146
|
}, ke = () => {
|
|
147
147
|
V && _ >= 0 && o.value.splice(_, 1, V), O(!1);
|
|
148
148
|
};
|
|
149
|
-
let
|
|
149
|
+
let F = T([]);
|
|
150
150
|
Y(o, (e) => {
|
|
151
|
-
|
|
151
|
+
F.value = Array.isArray(e) ? e == null ? void 0 : e.map((a) => !1) : [];
|
|
152
152
|
}, { immediate: !0 });
|
|
153
153
|
const De = (e) => {
|
|
154
|
-
|
|
154
|
+
F.value[e] = !F.value[e];
|
|
155
155
|
};
|
|
156
156
|
return (e, a) => {
|
|
157
|
-
const n =
|
|
157
|
+
const n = Ce("draggable");
|
|
158
158
|
return s(), Z("div", Pe, [
|
|
159
|
-
(s(), d(
|
|
159
|
+
(s(), d(N(H.value), {
|
|
160
160
|
modelValue: K.value,
|
|
161
161
|
"onUpdate:modelValue": a[0] || (a[0] = (u) => K.value = u),
|
|
162
162
|
onChange: M,
|
|
@@ -165,13 +165,13 @@ const Pe = { class: "full-width flexWrap" }, Be = { class: "full-width fieldWrap
|
|
|
165
165
|
ref: L
|
|
166
166
|
}, {
|
|
167
167
|
default: r(() => [
|
|
168
|
-
m(n,
|
|
168
|
+
m(n, Fe({
|
|
169
169
|
tag: "div",
|
|
170
170
|
list: o.value,
|
|
171
171
|
"item-key": "id"
|
|
172
172
|
}, { group: "optionsGroup", ghostClass: "ghost", chosenClass: "chosen", handle: ".drag-option" }), {
|
|
173
173
|
item: r(({ element: u, index: v }) => [
|
|
174
|
-
|
|
174
|
+
$("div", Ne, [
|
|
175
175
|
m(l(Te), { class: "full-width" }, {
|
|
176
176
|
default: r(() => [
|
|
177
177
|
m(l(R), {
|
|
@@ -187,7 +187,7 @@ const Pe = { class: "full-width flexWrap" }, Be = { class: "full-width fieldWrap
|
|
|
187
187
|
class: "drag-option"
|
|
188
188
|
}, {
|
|
189
189
|
default: r(() => [
|
|
190
|
-
m(
|
|
190
|
+
m(C, { name: "@el-rank" })
|
|
191
191
|
]),
|
|
192
192
|
_: 1
|
|
193
193
|
})) : p("", !0),
|
|
@@ -197,10 +197,10 @@ const Pe = { class: "full-width flexWrap" }, Be = { class: "full-width fieldWrap
|
|
|
197
197
|
onClick: (D) => De(v)
|
|
198
198
|
}, {
|
|
199
199
|
default: r(() => [
|
|
200
|
-
l(
|
|
200
|
+
l(F)[v] ? (s(), d(C, {
|
|
201
201
|
key: 1,
|
|
202
202
|
name: "@el-caretBottom"
|
|
203
|
-
})) : (s(), d(
|
|
203
|
+
})) : (s(), d(C, {
|
|
204
204
|
key: 0,
|
|
205
205
|
name: "@el-caretRight"
|
|
206
206
|
}))
|
|
@@ -223,7 +223,7 @@ const Pe = { class: "full-width flexWrap" }, Be = { class: "full-width fieldWrap
|
|
|
223
223
|
}, () => {
|
|
224
224
|
var D, Q;
|
|
225
225
|
return [
|
|
226
|
-
(s(), d(
|
|
226
|
+
(s(), d(N(de.value), {
|
|
227
227
|
value: (D = l(h)(u, f.dataPath)) == null ? void 0 : D[f.valueKey],
|
|
228
228
|
label: l(ae).getValue((Q = l(h)(u, f.dataPath)) == null ? void 0 : Q[f.labelKey], !1, !1),
|
|
229
229
|
data: l(h)(u, f.dataPath)
|
|
@@ -231,9 +231,9 @@ const Pe = { class: "full-width flexWrap" }, Be = { class: "full-width fieldWrap
|
|
|
231
231
|
default: r(() => {
|
|
232
232
|
var X;
|
|
233
233
|
return [
|
|
234
|
-
|
|
234
|
+
$("span", {
|
|
235
235
|
innerHTML: l(ae).getValue((X = l(h)(u, f.dataPath)) == null ? void 0 : X[f.labelKey], !1, !1)
|
|
236
|
-
}, null, 8,
|
|
236
|
+
}, null, 8, $e)
|
|
237
237
|
];
|
|
238
238
|
}),
|
|
239
239
|
_: 2
|
|
@@ -257,7 +257,7 @@ const Pe = { class: "full-width flexWrap" }, Be = { class: "full-width fieldWrap
|
|
|
257
257
|
onClick: (D) => ye(u, v)
|
|
258
258
|
}, {
|
|
259
259
|
default: r(() => [
|
|
260
|
-
m(
|
|
260
|
+
m(C, { name: "@el-edit" })
|
|
261
261
|
]),
|
|
262
262
|
_: 1
|
|
263
263
|
}, 8, ["onClick"])) : p("", !0),
|
|
@@ -267,7 +267,7 @@ const Pe = { class: "full-width flexWrap" }, Be = { class: "full-width fieldWrap
|
|
|
267
267
|
onClick: (D) => ve(u, v)
|
|
268
268
|
}, {
|
|
269
269
|
default: r(() => [
|
|
270
|
-
m(
|
|
270
|
+
m(C, { name: "@el-clone" })
|
|
271
271
|
]),
|
|
272
272
|
_: 1
|
|
273
273
|
}, 8, ["onClick"])) : p("", !0),
|
|
@@ -277,7 +277,7 @@ const Pe = { class: "full-width flexWrap" }, Be = { class: "full-width fieldWrap
|
|
|
277
277
|
onClick: (D) => me(u, v)
|
|
278
278
|
}, {
|
|
279
279
|
default: r(() => [
|
|
280
|
-
m(
|
|
280
|
+
m(C, { name: "@el-delete" })
|
|
281
281
|
]),
|
|
282
282
|
_: 1
|
|
283
283
|
}, 8, ["onClick"])) : p("", !0)
|
|
@@ -290,8 +290,8 @@ const Pe = { class: "full-width flexWrap" }, Be = { class: "full-width fieldWrap
|
|
|
290
290
|
]),
|
|
291
291
|
_: 2
|
|
292
292
|
}, 1024),
|
|
293
|
-
l(
|
|
294
|
-
(s(), d(
|
|
293
|
+
l(F)[v] && c.value.includes(l(i).detail) ? (s(), Z("div", Be, [
|
|
294
|
+
(s(), d(N(se.value), {
|
|
295
295
|
data: l(h)(u, f.dataPath)
|
|
296
296
|
}, null, 8, ["data"]))
|
|
297
297
|
])) : p("", !0)
|
|
@@ -303,7 +303,7 @@ const Pe = { class: "full-width flexWrap" }, Be = { class: "full-width fieldWrap
|
|
|
303
303
|
_: 3
|
|
304
304
|
}, 40, ["modelValue"])),
|
|
305
305
|
ee(e.$slots, "tools", {}, () => [
|
|
306
|
-
|
|
306
|
+
$("div", We, [
|
|
307
307
|
m(l(S), { class: "full-width" }, {
|
|
308
308
|
default: r(() => [
|
|
309
309
|
c.value.includes(l(i).add) ? (s(), d(l(y), {
|
|
@@ -312,7 +312,7 @@ const Pe = { class: "full-width flexWrap" }, Be = { class: "full-width fieldWrap
|
|
|
312
312
|
onClick: a[1] || (a[1] = (u) => pe(f.keys))
|
|
313
313
|
}, {
|
|
314
314
|
default: r(() => [
|
|
315
|
-
|
|
315
|
+
B(W(l(E).i18nt("designer.setting.addOption")), 1)
|
|
316
316
|
]),
|
|
317
317
|
_: 1
|
|
318
318
|
})) : p("", !0),
|
|
@@ -322,7 +322,7 @@ const Pe = { class: "full-width flexWrap" }, Be = { class: "full-width fieldWrap
|
|
|
322
322
|
onClick: a[2] || (a[2] = (u) => ge(f.keys))
|
|
323
323
|
}, {
|
|
324
324
|
default: r(() => [
|
|
325
|
-
|
|
325
|
+
B(W(l(E).i18nt("designer.setting.importOptions")), 1)
|
|
326
326
|
]),
|
|
327
327
|
_: 1
|
|
328
328
|
})) : p("", !0),
|
|
@@ -332,7 +332,7 @@ const Pe = { class: "full-width flexWrap" }, Be = { class: "full-width fieldWrap
|
|
|
332
332
|
onClick: he
|
|
333
333
|
}, {
|
|
334
334
|
default: r(() => [
|
|
335
|
-
|
|
335
|
+
B(W(l(E).i18nt("designer.setting.resetDefault")), 1)
|
|
336
336
|
]),
|
|
337
337
|
_: 1
|
|
338
338
|
})) : p("", !0)
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import { defineComponent as S, computed as n, ref as m, resolveComponent as g, openBlock as u, createElementBlock as T, createVNode as p, normalizeStyle as B, withCtx as r, createElementVNode as y, createTextVNode as v, toDisplayString as b, unref as k, createBlock as E, createCommentVNode as N } from "vue";
|
|
2
|
-
import { a as w } from "./enum-type-
|
|
3
|
-
import { _ as W } from "./reg-editor.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import "./obj-
|
|
5
|
-
import "./enum-type-
|
|
6
|
-
import "./index-
|
|
7
|
-
import "./emitter-
|
|
8
|
-
import "./index-
|
|
9
|
-
import "./uuid-
|
|
10
|
-
import "./optionItem-
|
|
11
|
-
import "./baseImp-
|
|
12
|
-
import "./expression-
|
|
2
|
+
import { a as w } from "./enum-type-c8b77ba5.js";
|
|
3
|
+
import { _ as W } from "./reg-editor.vue_vue_type_script_setup_true_lang-55d6a47f.js";
|
|
4
|
+
import "./obj-de9ca9c2.js";
|
|
5
|
+
import "./enum-type-1e41a275.js";
|
|
6
|
+
import "./index-4035adf8.js";
|
|
7
|
+
import "./emitter-00809005.js";
|
|
8
|
+
import "./index-f1034f73.js";
|
|
9
|
+
import "./uuid-dab47659.js";
|
|
10
|
+
import "./optionItem-6e6635c2.js";
|
|
11
|
+
import "./baseImp-301687cc.js";
|
|
12
|
+
import "./expression-9901f861.js";
|
|
13
13
|
import "./source-map-b04aec4a.js";
|
|
14
14
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
15
|
import "./esprima-e8d15055.js";
|
|
16
16
|
import "./icon-aff7bde2.js";
|
|
17
|
-
import "./dialog-
|
|
17
|
+
import "./dialog-01ece6ab.js";
|
|
18
18
|
import "element-plus";
|
|
19
|
-
import "./index-
|
|
20
|
-
import "./drag-wrapper-
|
|
19
|
+
import "./index-8eb82169.js";
|
|
20
|
+
import "./drag-wrapper-21480cf3.js";
|
|
21
21
|
import "./widget-base-8eece820.js";
|
|
22
|
-
import "./slot-
|
|
23
|
-
import "./index-
|
|
22
|
+
import "./slot-92a62ccb.js";
|
|
23
|
+
import "./index-937b1e27.js";
|
|
24
24
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
25
|
-
import "./property-base-
|
|
26
|
-
import "./install-designer-
|
|
27
|
-
import "./cont-cell-widget-
|
|
28
|
-
import "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-
|
|
29
|
-
import "./share-field-
|
|
30
|
-
import "./multirow-
|
|
31
|
-
import "./cont-widget-
|
|
32
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
33
|
-
import "./index-
|
|
34
|
-
import "./fieldobj-
|
|
35
|
-
import "./form-widget-
|
|
36
|
-
import "./grid-col-widget-
|
|
37
|
-
import "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-
|
|
38
|
-
import "./grid-widget-
|
|
39
|
-
import "./ltable-col-widget-
|
|
40
|
-
import "./ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-
|
|
41
|
-
import "./ltable-widget-
|
|
42
|
-
import "./tab-pane-widget-
|
|
43
|
-
import "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-
|
|
44
|
-
import "./tabs-widget-
|
|
45
|
-
import "./wrapper-widget-
|
|
46
|
-
import "./index-
|
|
47
|
-
import "./index-
|
|
25
|
+
import "./property-base-2c77cef1.js";
|
|
26
|
+
import "./install-designer-6c89e7c7.js";
|
|
27
|
+
import "./cont-cell-widget-19872036.js";
|
|
28
|
+
import "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-c43ba8d4.js";
|
|
29
|
+
import "./share-field-99831984.js";
|
|
30
|
+
import "./multirow-d9432e17.js";
|
|
31
|
+
import "./cont-widget-ec0ac434.js";
|
|
32
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c39260e2.js";
|
|
33
|
+
import "./index-0c1a0ddc.js";
|
|
34
|
+
import "./fieldobj-a62cc1fc.js";
|
|
35
|
+
import "./form-widget-49c41f9c.js";
|
|
36
|
+
import "./grid-col-widget-6c8ad660.js";
|
|
37
|
+
import "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-5d8385a4.js";
|
|
38
|
+
import "./grid-widget-72ddf385.js";
|
|
39
|
+
import "./ltable-col-widget-86dd1c5e.js";
|
|
40
|
+
import "./ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-7dfef234.js";
|
|
41
|
+
import "./ltable-widget-8cb4c7f8.js";
|
|
42
|
+
import "./tab-pane-widget-3453d80b.js";
|
|
43
|
+
import "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-56ec9055.js";
|
|
44
|
+
import "./tabs-widget-08290181.js";
|
|
45
|
+
import "./wrapper-widget-ca28a84d.js";
|
|
46
|
+
import "./index-da7ca79d.js";
|
|
47
|
+
import "./index-40d47100.js";
|
|
48
48
|
import "./color-bae04003.js";
|
|
49
49
|
import "./setView-de8aaf40.js";
|
|
50
50
|
const Te = /* @__PURE__ */ S({
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { defineComponent as A, shallowRef as N, ref as B, onMounted as Q, resolveComponent as D, openBlock as b, createElementBlock as K, Fragment as q, createBlock as M, withCtx as S, createVNode as I, createTextVNode as E, toDisplayString as F, createElementVNode as J, unref as L, createCommentVNode as _, resolveDynamicComponent as j, inject as G, defineAsyncComponent as H } from "vue";
|
|
2
|
-
import { a as e } from "./enum-type-
|
|
3
|
-
import { I as $ } from "./property-base-
|
|
4
|
-
import { u as O } from "./share-editor-
|
|
5
|
-
import { f as z } from "./baseImp-
|
|
6
|
-
import { A as t } from "./index-
|
|
7
|
-
import { H as X, d as Y } from "./expression-
|
|
8
|
-
import "./obj-
|
|
9
|
-
import "./enum-type-
|
|
2
|
+
import { a as e } from "./enum-type-c8b77ba5.js";
|
|
3
|
+
import { I as $ } from "./property-base-2c77cef1.js";
|
|
4
|
+
import { u as O } from "./share-editor-d7674969.js";
|
|
5
|
+
import { f as z } from "./baseImp-301687cc.js";
|
|
6
|
+
import { A as t } from "./index-40d47100.js";
|
|
7
|
+
import { H as X, d as Y } from "./expression-9901f861.js";
|
|
8
|
+
import "./obj-de9ca9c2.js";
|
|
9
|
+
import "./enum-type-1e41a275.js";
|
|
10
10
|
import "./icon-aff7bde2.js";
|
|
11
|
-
import "./dialog-
|
|
11
|
+
import "./dialog-01ece6ab.js";
|
|
12
12
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
|
-
import "./uuid-
|
|
13
|
+
import "./uuid-dab47659.js";
|
|
14
14
|
import "element-plus";
|
|
15
15
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
16
16
|
import "./source-map-b04aec4a.js";
|
|
@@ -246,7 +246,7 @@ const fe = /* @__PURE__ */ A({
|
|
|
246
246
|
},
|
|
247
247
|
setup(d, { expose: s }) {
|
|
248
248
|
const i = d, { saveCode: o } = O(i), p = N(), r = () => {
|
|
249
|
-
p.value = H(() => import("./index-
|
|
249
|
+
p.value = H(() => import("./index-40d47100.js").then((c) => c._));
|
|
250
250
|
};
|
|
251
251
|
B();
|
|
252
252
|
const n = B(), a = () => {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { defineComponent as A, ref as l, shallowRef as M, computed as W, watch as j, onMounted as q, nextTick as J, resolveComponent as k, openBlock as f, createBlock as g, withCtx as a, resolveDynamicComponent as O, mergeProps as U, createElementVNode as v, unref as s, createTextVNode as m, toDisplayString as y, createCommentVNode as $, createVNode as C, defineAsyncComponent as r } from "vue";
|
|
2
|
-
import { c as F, a as h } from "./enum-type-
|
|
3
|
-
import { bV as i } from "./enum-type-
|
|
2
|
+
import { c as F, a as h } from "./enum-type-c8b77ba5.js";
|
|
3
|
+
import { bV as i } from "./enum-type-1e41a275.js";
|
|
4
4
|
import { Delete as G } from "./index-6bcfdc22.js";
|
|
5
|
-
import { P as x } from "./baseImp-
|
|
6
|
-
import "./obj-
|
|
7
|
-
import "./expression-
|
|
5
|
+
import { P as x } from "./baseImp-301687cc.js";
|
|
6
|
+
import "./obj-de9ca9c2.js";
|
|
7
|
+
import "./expression-9901f861.js";
|
|
8
8
|
import "./source-map-b04aec4a.js";
|
|
9
|
-
import "./uuid-
|
|
9
|
+
import "./uuid-dab47659.js";
|
|
10
10
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
11
11
|
import "./esprima-e8d15055.js";
|
|
12
12
|
import "./icon-aff7bde2.js";
|
|
13
|
-
import "./dialog-
|
|
13
|
+
import "./dialog-01ece6ab.js";
|
|
14
14
|
import "element-plus";
|
|
15
15
|
const H = { class: "flexJustify" }, ae = /* @__PURE__ */ A({
|
|
16
16
|
__name: "index",
|
|
@@ -37,20 +37,20 @@ const H = { class: "flexJustify" }, ae = /* @__PURE__ */ A({
|
|
|
37
37
|
if (t.visible)
|
|
38
38
|
switch (e) {
|
|
39
39
|
case i.var:
|
|
40
|
-
return r(() => import("./index-
|
|
40
|
+
return r(() => import("./index-f2309e37.js"));
|
|
41
41
|
case i.formula:
|
|
42
|
-
return r(() => import("./index-
|
|
42
|
+
return r(() => import("./index-2a5f4ed6.js"));
|
|
43
43
|
case i.targetEvent:
|
|
44
|
-
return r(() => import("./index-
|
|
44
|
+
return r(() => import("./index-09172eb0.js"));
|
|
45
45
|
case i.schema:
|
|
46
|
-
return r(() => import("./index-
|
|
46
|
+
return r(() => import("./index-6cac1021.js"));
|
|
47
47
|
case i.relateWithWidget:
|
|
48
|
-
return r(() => import("./index-
|
|
48
|
+
return r(() => import("./index-096eeda6.js"));
|
|
49
49
|
case i.html:
|
|
50
|
-
return r(() => import("./index-
|
|
50
|
+
return r(() => import("./index-0a305460.js"));
|
|
51
51
|
case i.code:
|
|
52
52
|
default:
|
|
53
|
-
return r(() => import("./index-
|
|
53
|
+
return r(() => import("./index-cbd39531.js"));
|
|
54
54
|
}
|
|
55
55
|
}, E = () => {
|
|
56
56
|
d.value.clear(), V();
|