hldesigner 0.0.294 → 0.0.296
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-6d272319.js → _pdf-1b95fb5d.js} +13 -12
- package/{_share_image-707deb7b.js → _share_image-0ca0ad96.js} +2 -2
- package/{_share_size.vue_vue_type_script_setup_true_lang-198b6412.js → _share_size.vue_vue_type_script_setup_true_lang-25e38d41.js} +3 -3
- package/{_txt-14955ea9.js → _txt-170bb7d6.js} +8 -7
- package/{_unsupport-8b411d51.js → _unsupport-1309283f.js} +2 -2
- package/{affix-widget-b164f66f.js → affix-widget-a1e94961.js} +25 -24
- package/{alert-widget-a5b38a7f.js → alert-widget-e89962f3.js} +25 -24
- package/{anchor-widget-cb79aead.js → anchor-widget-2666cfcb.js} +22 -21
- package/{auto-complete-widget-2b5c9b04.js → auto-complete-widget-f19efc93.js} +25 -24
- package/avatar-widget-d1f582e7.js +49 -0
- package/{backtop-widget-54df7811.js → backtop-widget-800b83e2.js} +25 -24
- package/{badge-widget-b3e2b84e.js → badge-widget-3dfede47.js} +28 -27
- package/{barcode-widget-c9539f20.js → barcode-widget-1a9a8e4a.js} +23 -22
- package/{baseImp-7f0c4121.js → baseCommonField-607f46b1.js} +3567 -3903
- package/baseDataType-af503f9f.js +4 -0
- package/{breadcrumb-widget-966a5b98.js → breadcrumb-widget-72fc4371.js} +28 -27
- package/{button-widget-b29f2836.js → button-widget-3f9aebd6.js} +25 -24
- package/{cache-widget-8cdf6bb3.js → cache-widget-4446b135.js} +24 -23
- package/{card-widget-635325c2.js → card-widget-ce3e3897.js} +40 -39
- package/{carousel-widget-a7f37b1e.js → carousel-widget-cc0ed1e7.js} +23 -22
- package/{cascader-widget-8bb5f9db.js → cascader-widget-d1fc3ca0.js} +24 -23
- package/{chart-widget-fb1a670b.js → chart-widget-85cb8854.js} +48 -47
- package/{checkbox-widget-52c61029.js → checkbox-widget-db3afa9b.js} +31 -30
- package/codeType-e06c2bb4.js +4 -0
- package/{collapse-widget-a4d2945d.js → collapse-widget-8779845e.js} +29 -28
- package/{color-picker-widget-c7d26f46.js → color-picker-widget-f745a9cd.js} +24 -23
- package/common-editor-353641ab.js +30 -0
- package/{common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-cd2508fd.js → common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-8352d795.js} +2 -2
- package/{configItem-e39cd3bb.js → configItem-7889264b.js} +51 -50
- package/{cont-cell-widget-d4a89c8a.js → cont-cell-widget-d44e04d3.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-a72224f3.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-b5288fd3.js} +5 -5
- package/{cont-widget-c1e4feae.js → cont-widget-18cd3de8.js} +5 -5
- package/content-wrapper-36adcccb.js +19 -0
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-74a9ce66.js → content-wrapper.vue_vue_type_script_setup_true_lang-88a3a92e.js} +7 -7
- package/countdown-widget-8716e1ba.js +61 -0
- package/{css-editor-1b37b14b.js → css-editor-53b67144.js} +80 -77
- package/{cssClass-de753b04.js → cssClass-1492660e.js} +2 -2
- package/cssIndex-4c169331.js +160 -0
- package/{customClass-editor-30844eef.js → customClass-editor-b910c95b.js} +22 -20
- package/{date-picker-range-widget-68c22748.js → date-picker-range-widget-2278cad8.js} +33 -32
- package/{date-picker-widget-4532430c.js → date-picker-widget-d361f6f3.js} +34 -33
- package/default-slot-widget-9312050d.js +33 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-7903c803.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-7e67d1a4.js} +8 -8
- package/{descriptions-widget-ec41f960.js → descriptions-widget-e3e0d806.js} +23 -22
- package/designer.es.js +40 -40
- package/designer.style.css +2 -2
- package/designer.umd.js +327 -327
- package/{dialog-f67b0d8f.js → dialog-abd1055d.js} +2 -2
- package/dialog-widget-3e040d0f.js +41 -0
- package/divider-widget-4037971b.js +55 -0
- package/{drag-wrapper-04c5f241.js → drag-wrapper-a7ac11e7.js} +21 -21
- package/drawer-widget-3b223a9b.js +41 -0
- package/{dropdown-widget-9c81e135.js → dropdown-widget-7b107117.js} +23 -22
- package/{editor-wrapper-e4b65100.js → editor-wrapper-412921da.js} +99 -100
- package/{emitter-2e6d5612.js → emitter-752d9612.js} +1 -1
- package/{empty-widget-631442f5.js → empty-widget-03dc45a4.js} +25 -24
- package/{enum-type-e32f6d55.js → enum-669d691c.js} +344 -351
- package/{expression-5df4780f.js → expression-185552e1.js} +1562 -1386
- package/feedback-widget-c555aa07.js +34 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-a365a6c2.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-664151d2.js} +6 -6
- package/{field-editor-98dd0a48.js → field-editor-01ad04f5.js} +22 -20
- package/{fieldobj-e04fe3b7.js → fieldobj-097a7c28.js} +7 -7
- package/{file-upload-widget-2a7f1bc3.js → file-upload-widget-132d811f.js} +29 -28
- package/{form-item-wrapper-fd97d391.js → form-item-wrapper-e095f173.js} +18 -17
- package/{form-widget-8289b9c1.js → form-widget-3e609e45.js} +45 -45
- package/{global-provide-inject-f7c2434f.js → globalProvideInject-f72c46e1.js} +1 -1
- package/{grid-col-widget-1bce9b22.js → grid-col-widget-07f9934e.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-91bc4542.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-e758879c.js} +5 -5
- package/{grid-widget-6d7246c3.js → grid-widget-fcdf2ff1.js} +5 -5
- package/{hcard-widget-64f8b247.js → hcard-widget-25a74183.js} +29 -28
- package/{html-text-widget-4783ce1e.js → html-text-widget-3f9a7049.js} +23 -22
- package/{icon-widget-6bdfa4d3.js → icon-widget-6428cc00.js} +26 -25
- package/iframe-widget-beb764f8.js +138 -0
- package/image-editor-82e3d316.js +55 -0
- package/{image-widget-8158689d.js → image-widget-e340b551.js} +22 -21
- package/{index-3e27dbc2.js → index-05b3b9ca.js} +32 -31
- package/{enum-type-eeb2dcbd.js → index-0fea97a8.js} +311 -111
- package/index-1071c4c7.js +83 -0
- package/{index-3dabfdc0.js → index-1a4f56dd.js} +63 -62
- package/index-436cc07a.js +265 -0
- package/{index-bcac9980.js → index-5728cd3c.js} +24 -23
- package/{index-e0d0fa2e.js → index-61d6c848.js} +1 -1
- package/{index-a26bf6de.js → index-68c3c04e.js} +219 -218
- package/{index-6f2e7cc2.js → index-69b23b46.js} +46 -45
- package/index-6fb8d595.js +80 -0
- package/{index-397967db.js → index-730f8497.js} +18 -16
- package/{index-6aa18a15.js → index-7766bc2f.js} +106 -106
- package/{index-0504bd3a.js → index-79a0163e.js} +12 -11
- package/{index-73758a90.js → index-8cfb6a9c.js} +1 -1
- package/{index-290ac037.js → index-9254507b.js} +27 -26
- package/{index-afd82448.js → index-9b56c1e6.js} +22 -20
- package/index-a1324d15.js +1350 -0
- package/{index-03c22bc5.js → index-a1c1b668.js} +45 -43
- package/{index-74ce0e3c.js → index-a565454e.js} +7 -7
- package/{index-1878e33f.js → index-ac413547.js} +46 -45
- package/index-b55657c0.js +351 -0
- package/{index-bca6580c.js → index-b82a7942.js} +32 -30
- package/index-cd781075.js +239 -0
- package/{index-b236e386.js → index-e207955c.js} +22 -21
- package/{index-cd822487.js → index-f5e76d4f.js} +13 -12
- package/{index-0409d23f.js → index-fcc4373b.js} +59 -59
- package/{input-number-widget-0f414e2c.js → input-number-widget-8cc70bb5.js} +27 -26
- package/{input-tag-widget-ad3eb896.js → input-tag-widget-f9b11b33.js} +25 -24
- package/{input-widget-469c5464.js → input-widget-f29e34fc.js} +25 -24
- package/{install-designer-13ab516e.js → install-designer-90c18b43.js} +1911 -1799
- package/{item-fb474622.js → item-20a8e244.js} +11 -10
- package/{itemDetail-f887bfaf.js → itemDetail-b08a6256.js} +17 -16
- package/{label-wrapper-acfc937a.js → label-wrapper-cc5b374b.js} +7 -6
- package/{label-wrapper.vue_vue_type_style_index_0_lang-e81392d8.js → label-wrapper.vue_vue_type_style_index_0_lang-270c6e23.js} +3 -3
- package/{link-widget-ad7f38d9.js → link-widget-46bb53ba.js} +25 -24
- package/{ltable-col-widget-dcd79046.js → ltable-col-widget-85158af5.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-d48e107e.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-d200a6a8.js} +9 -9
- package/{ltable-widget-80a365bc.js → ltable-widget-58330976.js} +11 -11
- package/{mask-bdcecc2d.js → mask-38100676.js} +1 -1
- package/{mention-widget-1d31da3b.js → mention-widget-6c235170.js} +25 -24
- package/{menu-widget-b47ae070.js → menu-widget-bd1fa158.js} +42 -41
- package/{model-widget-151836f0.js → model-widget-b4364744.js} +22 -21
- package/multirow-7d028dd0.js +182 -0
- package/{multirow-widget-b7c6bc11.js → multirow-widget-aeb02101.js} +87 -86
- package/{name-editor-9862d519.js → name-editor-3a3747f6.js} +52 -50
- package/nameCase-2134ee3e.js +33 -0
- package/object-751045cf.js +44 -0
- package/{optionItem-0afcf797.js → optionItem-8e1d0080.js} +809 -474
- package/package.json +1 -1
- package/{pagination-widget-4af8fa55.js → pagination-widget-bcbb95e0.js} +29 -28
- package/{picture-upload-widget-01d4477b.js → picture-upload-widget-1e2240d2.js} +47 -46
- package/{progress-widget-87bf7089.js → progress-widget-d3e2e116.js} +30 -29
- package/{property-base-9cb6f0af.js → property-base-eaed8cbe.js} +15 -16
- package/px-8e97b0e9.js +10 -0
- package/{qrcode-widget-e8a010b5.js → qrcode-widget-3ea4613b.js} +29 -28
- package/{radio-widget-d3d350f1.js → radio-widget-63540761.js} +33 -32
- package/{range-widget-0c8453ad.js → range-widget-e115e075.js} +30 -29
- package/{rate-widget-7c9f360b.js → rate-widget-2af29296.js} +24 -23
- package/{reg-editor.vue_vue_type_script_setup_true_lang-472581e2.js → reg-editor.vue_vue_type_script_setup_true_lang-420ed8ba.js} +4 -4
- package/{result-widget-c1ae2079.js → result-widget-e4217327.js} +23 -22
- package/{rich-editor-widget-31f4fd68.js → rich-editor-widget-e42dc6a2.js} +30 -29
- package/{router-widget-2889ec23.js → router-widget-7859980a.js} +22 -21
- package/{schemaData-7d14e9de.js → schemaData-602ab58d.js} +70 -69
- package/{segmented-widget-21f8a5c8.js → segmented-widget-4d90e11a.js} +40 -39
- package/{select-widget-f2e60d59.js → select-widget-268e6778.js} +24 -23
- package/{sfc-ca2f1573.js → sfc-c8bdbcc3.js} +32 -32
- package/{sfcview-79a20801.js → sfcview-7f974f98.js} +24 -23
- package/{share-editor-79be0fe3.js → share-editor-3caefde2.js} +55 -54
- package/{share-event-77717d69.js → share-event-0ac319f0.js} +2 -2
- package/share-field-f51ccb41.js +863 -0
- package/{share-file-bc8f56f8.js → share-file-ea94d84e.js} +20 -21
- package/size-editor-511e40a5.js +57 -0
- package/{skeleton-widget-c593fe7a.js → skeleton-widget-379c1a23.js} +25 -24
- package/{skeletonItem-widget-4550c4fe.js → skeletonItem-widget-70f95048.js} +22 -21
- package/{slider-widget-74a31030.js → slider-widget-e16ceea7.js} +24 -23
- package/{slot-2cdc3b54.js → slot-a11ba403.js} +5 -5
- package/{space-widget-ffc9eabc.js → space-widget-79e1ee5e.js} +40 -39
- package/{splitter-widget-fca00f2b.js → splitter-widget-6cde3a4c.js} +23 -22
- package/{static-text-widget-c682f482.js → static-text-widget-48a223a0.js} +23 -22
- package/{statistic-widget-1a8051c0.js → statistic-widget-04dbb84c.js} +25 -24
- package/{steps-widget-a445a201.js → steps-widget-ff9c8112.js} +22 -21
- package/{subMenu-widget-87d583a9.js → subMenu-widget-75b5b885.js} +10 -9
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-0255e3d5.js → subMenu-widget.vue_vue_type_script_setup_true_lang-dff950d1.js} +18 -18
- package/{switch-widget-de893bf9.js → switch-widget-b4dfb30f.js} +29 -28
- package/{tab-pane-widget-a7374d75.js → tab-pane-widget-12393cec.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-434f9cf7.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-07a3da71.js} +5 -5
- package/table-col-widget-565631d2.js +30 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-8c799d0f.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-b83a4a39.js} +26 -27
- package/{table-widget-05b53a5f.js → table-widget-dba1ef32.js} +50 -48
- package/{tabs-widget-65ed6426.js → tabs-widget-8d497cb7.js} +8 -8
- package/{tag-widget-85bcce8f.js → tag-widget-7c023bb0.js} +25 -24
- package/{target-code-9a4699b1.js → target-code-24346bfc.js} +12 -11
- package/{target-datasource-94c64cbb.js → target-datasource-14df6047.js} +66 -65
- package/{target-link-88b4fd89.js → target-link-9472348b.js} +56 -55
- package/{target-saveForm-e1115d3f.js → target-saveForm-ddd0b24a.js} +71 -70
- package/{target-widget-5cf4403e.js → target-widget-426dbfe8.js} +2 -2
- package/{target-window-fb793bc8.js → target-window-bb03d3b5.js} +24 -23
- package/{text-widget-dd4f6b97.js → text-widget-e241f6be.js} +25 -24
- package/{textarea-widget-953b39e8.js → textarea-widget-5c288e26.js} +24 -23
- package/{time-picker-range-widget-30903551.js → time-picker-range-widget-4c18e0cf.js} +35 -35
- package/time-picker-widget-1e695b27.js +72 -0
- package/{time-select-widget-4dbe95ff.js → time-select-widget-055a902a.js} +24 -23
- package/{timeline-widget-476e9ea8.js → timeline-widget-881bf090.js} +23 -22
- package/{tmpl-widget-2cbd418b.js → tmpl-widget-f1bdf0a4.js} +36 -35
- package/{tooltip-widget-8b022a6d.js → tooltip-widget-32af6ae1.js} +23 -22
- package/{tour-widget-be2ef78d.js → tour-widget-18697c7d.js} +37 -36
- package/{transfer-widget-31ea801d.js → transfer-widget-04bb21a2.js} +25 -24
- package/{tree-select-widget-691c9cb6.js → tree-select-widget-4c63a180.js} +24 -23
- package/{tree-widget-15cddec7.js → tree-widget-9a8da624.js} +31 -30
- package/uuid-1013bfdd.js +16 -0
- package/{value-editor-676d7ca0.js → value-editor-ad4a9472.js} +29 -27
- package/{verifycode-widget-2cbb68e2.js → verifycode-widget-1e2f11f6.js} +49 -48
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ddcbea59.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b7eb5c4b.js} +30 -30
- package/{wrapper-widget-40c40291.js → wrapper-widget-03be4616.js} +7 -7
- package/avatar-widget-00d2f77a.js +0 -48
- package/common-editor-96af86ea.js +0 -28
- package/content-wrapper-feb05971.js +0 -18
- package/countdown-widget-87ab2577.js +0 -60
- package/cssIndex-77da0ec7.js +0 -185
- package/default-slot-widget-4be80302.js +0 -32
- package/dialog-widget-bae25ba7.js +0 -40
- package/divider-widget-643e5787.js +0 -54
- package/drawer-widget-73902c82.js +0 -40
- package/feedback-widget-90fe8e26.js +0 -33
- package/iframe-widget-c6d453cc.js +0 -137
- package/image-editor-1e8036ad.js +0 -53
- package/index-08436ce4.js +0 -1445
- package/index-1c33c886.js +0 -230
- package/index-54eed7c3.js +0 -334
- package/index-64486ab5.js +0 -43
- package/index-fa15e4c8.js +0 -240
- package/index-fc1c67a3.js +0 -46
- package/multirow-89ec2174.js +0 -183
- package/obj-cc64f79c.js +0 -230
- package/setView-de8aaf40.js +0 -84
- package/share-field-4f3d4a0b.js +0 -879
- package/size-editor-99257b84.js +0 -54
- package/table-col-widget-35d0c1ba.js +0 -29
- package/time-picker-widget-3398f837.js +0 -71
- package/uuid-2f7814e3.js +0 -203
|
@@ -1,45 +1,46 @@
|
|
|
1
1
|
import { defineComponent as C, useCssVars as j, computed as t, openBlock as p, createBlock as f, mergeProps as i, unref as r, withCtx as D, createElementBlock as _, normalizeClass as E, createElementVNode as g, Fragment as F, createTextVNode as I, toDisplayString as P, normalizeStyle as H, createVNode as O } from "vue";
|
|
2
|
-
import { _ as K } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
3
|
-
import { b as T } from "./share-field-
|
|
4
|
-
import { D as v } from "./drag-wrapper-
|
|
5
|
-
import { w as q } from "./expression-
|
|
6
|
-
import { e as h } from "./slot-
|
|
2
|
+
import { _ as K } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b7eb5c4b.js";
|
|
3
|
+
import { b as T } from "./share-field-f51ccb41.js";
|
|
4
|
+
import { D as v } from "./drag-wrapper-a7ac11e7.js";
|
|
5
|
+
import { w as q } from "./expression-185552e1.js";
|
|
6
|
+
import { e as h } from "./slot-a11ba403.js";
|
|
7
7
|
import { I as A } from "./widget-base-df734ada.js";
|
|
8
8
|
import { g as l, a as G } from "./color-bae04003.js";
|
|
9
9
|
import { _ as J } from "./_plugin-vue_export-helper-dad06003.js";
|
|
10
|
-
import "./
|
|
11
|
-
import "./
|
|
12
|
-
import "./index-
|
|
13
|
-
import "./
|
|
14
|
-
import "./enum-
|
|
15
|
-
import "./
|
|
16
|
-
import "./baseImp-7f0c4121.js";
|
|
10
|
+
import "./index-0fea97a8.js";
|
|
11
|
+
import "./object-751045cf.js";
|
|
12
|
+
import "./index-a1324d15.js";
|
|
13
|
+
import "./baseCommonField-607f46b1.js";
|
|
14
|
+
import "./enum-669d691c.js";
|
|
15
|
+
import "./baseDataType-af503f9f.js";
|
|
17
16
|
import "./icon-8b8b9744.js";
|
|
18
17
|
import "axios";
|
|
19
|
-
import "./dialog-
|
|
18
|
+
import "./dialog-abd1055d.js";
|
|
20
19
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
20
|
+
import "./uuid-1013bfdd.js";
|
|
21
21
|
import "element-plus";
|
|
22
|
-
import "./
|
|
23
|
-
import "./index-
|
|
24
|
-
import "./
|
|
25
|
-
import "./
|
|
26
|
-
import "./
|
|
27
|
-
import "./
|
|
22
|
+
import "./optionItem-8e1d0080.js";
|
|
23
|
+
import "./index-61d6c848.js";
|
|
24
|
+
import "./index-a565454e.js";
|
|
25
|
+
import "./fieldobj-097a7c28.js";
|
|
26
|
+
import "./globalProvideInject-f72c46e1.js";
|
|
27
|
+
import "./emitter-752d9612.js";
|
|
28
|
+
import "./multirow-7d028dd0.js";
|
|
28
29
|
import "./source-map-b04aec4a.js";
|
|
29
30
|
import "./esprima-e8d15055.js";
|
|
30
|
-
import "./index-
|
|
31
|
+
import "./index-8cfb6a9c.js";
|
|
31
32
|
const L = { class: "--hcard-header" }, M = C({ componentName: q.ContainerWidget }), Q = /* @__PURE__ */ C({
|
|
32
33
|
...M,
|
|
33
34
|
__name: "hcard-widget",
|
|
34
35
|
props: { ...A },
|
|
35
36
|
setup(b, { expose: y }) {
|
|
36
37
|
j((e) => ({
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
38
|
+
b8f3e666: S.value,
|
|
39
|
+
v19888dc6: B.value,
|
|
40
|
+
v08818b80: V.value,
|
|
41
|
+
v7fac32c0: z.value,
|
|
42
|
+
v3491f268: N.value,
|
|
43
|
+
v0d43cef6: $.value
|
|
43
44
|
}));
|
|
44
45
|
const w = b, { fieldEditor: R, fieldKey: x, slots: n, attrs: o, exposed: W, fieldObj: k } = T(w), s = t(() => {
|
|
45
46
|
var e;
|
|
@@ -95,7 +96,7 @@ const L = { class: "--hcard-header" }, M = C({ componentName: q.ContainerWidget
|
|
|
95
96
|
}, 16, ["prop-options"]));
|
|
96
97
|
}
|
|
97
98
|
});
|
|
98
|
-
const
|
|
99
|
+
const Ve = /* @__PURE__ */ J(Q, [["__scopeId", "data-v-9d0cac72"]]);
|
|
99
100
|
export {
|
|
100
|
-
|
|
101
|
+
Ve as default
|
|
101
102
|
};
|
|
@@ -1,34 +1,35 @@
|
|
|
1
1
|
import { defineComponent as p, openBlock as _, createBlock as u, mergeProps as x, unref as o, withCtx as g, createVNode as w } from "vue";
|
|
2
2
|
import { I as C } from "./field-base-66c90648.js";
|
|
3
|
-
import { b as P } from "./share-field-
|
|
4
|
-
import { w as b } from "./expression-
|
|
5
|
-
import { _ as h } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
6
|
-
import { _ as j } from "./content-wrapper.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { b as P } from "./share-field-f51ccb41.js";
|
|
4
|
+
import { w as b } from "./expression-185552e1.js";
|
|
5
|
+
import { _ as h } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b7eb5c4b.js";
|
|
6
|
+
import { _ as j } from "./content-wrapper.vue_vue_type_script_setup_true_lang-88a3a92e.js";
|
|
7
7
|
import "./widget-base-df734ada.js";
|
|
8
|
-
import "./
|
|
9
|
-
import "./emitter-
|
|
8
|
+
import "./object-751045cf.js";
|
|
9
|
+
import "./emitter-752d9612.js";
|
|
10
10
|
import "./icon-8b8b9744.js";
|
|
11
|
-
import "./
|
|
12
|
-
import "./
|
|
13
|
-
import "./enum-
|
|
11
|
+
import "./index-0fea97a8.js";
|
|
12
|
+
import "./baseCommonField-607f46b1.js";
|
|
13
|
+
import "./enum-669d691c.js";
|
|
14
|
+
import "./baseDataType-af503f9f.js";
|
|
14
15
|
import "axios";
|
|
15
|
-
import "./dialog-
|
|
16
|
+
import "./dialog-abd1055d.js";
|
|
16
17
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
17
|
-
import "./uuid-
|
|
18
|
+
import "./uuid-1013bfdd.js";
|
|
18
19
|
import "element-plus";
|
|
19
|
-
import "./
|
|
20
|
-
import "./index-
|
|
21
|
-
import "./optionItem-
|
|
22
|
-
import "./index-
|
|
23
|
-
import "./multirow-
|
|
24
|
-
import "./slot-
|
|
25
|
-
import "./index-
|
|
20
|
+
import "./globalProvideInject-f72c46e1.js";
|
|
21
|
+
import "./index-a1324d15.js";
|
|
22
|
+
import "./optionItem-8e1d0080.js";
|
|
23
|
+
import "./index-61d6c848.js";
|
|
24
|
+
import "./multirow-7d028dd0.js";
|
|
25
|
+
import "./slot-a11ba403.js";
|
|
26
|
+
import "./index-8cfb6a9c.js";
|
|
26
27
|
import "./source-map-b04aec4a.js";
|
|
27
28
|
import "./esprima-e8d15055.js";
|
|
28
|
-
import "./index-
|
|
29
|
+
import "./index-a565454e.js";
|
|
29
30
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
30
|
-
import "./fieldobj-
|
|
31
|
-
const k = p({ componentName: b.FieldWidget }),
|
|
31
|
+
import "./fieldobj-097a7c28.js";
|
|
32
|
+
const k = p({ componentName: b.FieldWidget }), po = /* @__PURE__ */ p({
|
|
32
33
|
...k,
|
|
33
34
|
__name: "html-text-widget",
|
|
34
35
|
props: { ...C },
|
|
@@ -53,5 +54,5 @@ const k = p({ componentName: b.FieldWidget }), ro = /* @__PURE__ */ p({
|
|
|
53
54
|
}
|
|
54
55
|
});
|
|
55
56
|
export {
|
|
56
|
-
|
|
57
|
+
po as default
|
|
57
58
|
};
|
|
@@ -1,38 +1,39 @@
|
|
|
1
1
|
import { defineComponent as d, resolveComponent as D, openBlock as i, createBlock as r, mergeProps as a, unref as o, withCtx as f, toHandlers as b, resolveDynamicComponent as k } from "vue";
|
|
2
2
|
import { I as v } from "./field-base-66c90648.js";
|
|
3
|
-
import { w as F } from "./expression-
|
|
4
|
-
import { b as S } from "./share-field-
|
|
5
|
-
import { _ as h } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
6
|
-
import { S as B } from "./
|
|
3
|
+
import { w as F } from "./expression-185552e1.js";
|
|
4
|
+
import { b as S } from "./share-field-f51ccb41.js";
|
|
5
|
+
import { _ as h } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b7eb5c4b.js";
|
|
6
|
+
import { S as B } from "./optionItem-8e1d0080.js";
|
|
7
7
|
import "./widget-base-df734ada.js";
|
|
8
8
|
import "./source-map-b04aec4a.js";
|
|
9
|
-
import "./
|
|
10
|
-
import "./uuid-
|
|
11
|
-
import "./
|
|
9
|
+
import "./object-751045cf.js";
|
|
10
|
+
import "./uuid-1013bfdd.js";
|
|
11
|
+
import "./index-0fea97a8.js";
|
|
12
12
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
|
+
import "./baseDataType-af503f9f.js";
|
|
13
14
|
import "./esprima-e8d15055.js";
|
|
14
|
-
import "./emitter-
|
|
15
|
+
import "./emitter-752d9612.js";
|
|
15
16
|
import "./icon-8b8b9744.js";
|
|
16
|
-
import "./
|
|
17
|
+
import "./baseCommonField-607f46b1.js";
|
|
18
|
+
import "./enum-669d691c.js";
|
|
17
19
|
import "axios";
|
|
18
|
-
import "./dialog-
|
|
20
|
+
import "./dialog-abd1055d.js";
|
|
19
21
|
import "element-plus";
|
|
20
|
-
import "./
|
|
21
|
-
import "./index-
|
|
22
|
-
import "./
|
|
23
|
-
import "./
|
|
24
|
-
import "./
|
|
25
|
-
import "./
|
|
26
|
-
import "./index-
|
|
27
|
-
import "./index-74ce0e3c.js";
|
|
22
|
+
import "./globalProvideInject-f72c46e1.js";
|
|
23
|
+
import "./index-a1324d15.js";
|
|
24
|
+
import "./index-61d6c848.js";
|
|
25
|
+
import "./multirow-7d028dd0.js";
|
|
26
|
+
import "./slot-a11ba403.js";
|
|
27
|
+
import "./index-8cfb6a9c.js";
|
|
28
|
+
import "./index-a565454e.js";
|
|
28
29
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
29
|
-
import "./fieldobj-
|
|
30
|
-
const I = d({ componentName: F.FieldWidget }),
|
|
30
|
+
import "./fieldobj-097a7c28.js";
|
|
31
|
+
const I = d({ componentName: F.FieldWidget }), lo = /* @__PURE__ */ d({
|
|
31
32
|
...I,
|
|
32
33
|
__name: "icon-widget",
|
|
33
34
|
props: { ...v },
|
|
34
35
|
setup(_, { expose: u }) {
|
|
35
|
-
const y = _, { attrs:
|
|
36
|
+
const y = _, { attrs: t, extendAttrs: e, exposed: z, fieldObj: x, events: C, fieldKey: g } = S(y);
|
|
36
37
|
return u({ ...z }), (j, O) => {
|
|
37
38
|
const w = D("el-icon");
|
|
38
39
|
return i(), r(h, a(j.$props, {
|
|
@@ -44,15 +45,15 @@ const I = d({ componentName: F.FieldWidget }), no = /* @__PURE__ */ d({
|
|
|
44
45
|
(i(), r(w, a({
|
|
45
46
|
ref: "fieldEditor",
|
|
46
47
|
key: o(g)
|
|
47
|
-
}, b(o(C)), o(
|
|
48
|
+
}, b(o(C)), o(t), {
|
|
48
49
|
class: p.injectClass,
|
|
49
50
|
style: p.injectStyle,
|
|
50
|
-
size: (m = o(
|
|
51
|
+
size: (m = o(e)) != null && m.sizeDef && ((s = o(e)) == null ? void 0 : s.sizeDef) != o(B).auto ? (n = o(e)) == null ? void 0 : n.sizeDef : (l = o(t)) == null ? void 0 : l.size
|
|
51
52
|
}), {
|
|
52
53
|
default: f(() => {
|
|
53
54
|
var c;
|
|
54
55
|
return [
|
|
55
|
-
(i(), r(k((c = o(
|
|
56
|
+
(i(), r(k((c = o(t)) == null ? void 0 : c.icon)))
|
|
56
57
|
];
|
|
57
58
|
}),
|
|
58
59
|
_: 1
|
|
@@ -65,5 +66,5 @@ const I = d({ componentName: F.FieldWidget }), no = /* @__PURE__ */ d({
|
|
|
65
66
|
}
|
|
66
67
|
});
|
|
67
68
|
export {
|
|
68
|
-
|
|
69
|
+
lo as default
|
|
69
70
|
};
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { defineComponent as j, ref as c, computed as M, resolveComponent as R, openBlock as _, createBlock as b, mergeProps as I, unref as a, withCtx as L, createCommentVNode as W, withDirectives as q, createVNode as x, createElementBlock as H, toHandlers as z, vShow as G } from "vue";
|
|
2
|
+
import { n as v, g as J } from "./baseCommonField-607f46b1.js";
|
|
3
|
+
import { w as X } from "./expression-185552e1.js";
|
|
4
|
+
import { b as Y } from "./share-field-f51ccb41.js";
|
|
5
|
+
import { _ as Z } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b7eb5c4b.js";
|
|
6
|
+
import { I as D } from "./field-base-66c90648.js";
|
|
7
|
+
import { M as A } from "./mask-38100676.js";
|
|
8
|
+
import { l as S } from "./index-0fea97a8.js";
|
|
9
|
+
import "./object-751045cf.js";
|
|
10
|
+
import "./enum-669d691c.js";
|
|
11
|
+
import "./baseDataType-af503f9f.js";
|
|
12
|
+
import "./icon-8b8b9744.js";
|
|
13
|
+
import "axios";
|
|
14
|
+
import "./dialog-abd1055d.js";
|
|
15
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
|
+
import "./uuid-1013bfdd.js";
|
|
17
|
+
import "element-plus";
|
|
18
|
+
import "./source-map-b04aec4a.js";
|
|
19
|
+
import "./esprima-e8d15055.js";
|
|
20
|
+
import "./emitter-752d9612.js";
|
|
21
|
+
import "./globalProvideInject-f72c46e1.js";
|
|
22
|
+
import "./index-a1324d15.js";
|
|
23
|
+
import "./optionItem-8e1d0080.js";
|
|
24
|
+
import "./index-61d6c848.js";
|
|
25
|
+
import "./multirow-7d028dd0.js";
|
|
26
|
+
import "./slot-a11ba403.js";
|
|
27
|
+
import "./index-8cfb6a9c.js";
|
|
28
|
+
import "./widget-base-df734ada.js";
|
|
29
|
+
import "./index-a565454e.js";
|
|
30
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
31
|
+
import "./fieldobj-097a7c28.js";
|
|
32
|
+
import "./index-6bcfdc22.js";
|
|
33
|
+
const ee = ["src", "id"], oe = j({ componentName: X.FieldWidget }), Oe = /* @__PURE__ */ j({
|
|
34
|
+
...oe,
|
|
35
|
+
__name: "iframe-widget",
|
|
36
|
+
props: { ...D },
|
|
37
|
+
setup(U, { expose: k }) {
|
|
38
|
+
const h = U, { exposed: B, fieldEditor: g, events: l, attrs: y, extendAttrs: i, fieldObj: F, fieldKey: N, fieldName: Q, refreshKey: $ } = Y(h), d = c(!1), f = c(), w = c(), C = c(Date.now()), m = M(() => {
|
|
39
|
+
var r;
|
|
40
|
+
if (f.value)
|
|
41
|
+
return f.value;
|
|
42
|
+
const e = w.value || y.value.src, t = E(e);
|
|
43
|
+
if (h.designState)
|
|
44
|
+
return t;
|
|
45
|
+
const o = (r = l.value) == null ? void 0 : r.urlFormatter;
|
|
46
|
+
return o !== void 0 ? o == null ? void 0 : o(t) : t;
|
|
47
|
+
}), E = (e) => {
|
|
48
|
+
var s, n;
|
|
49
|
+
if (e == "")
|
|
50
|
+
return "";
|
|
51
|
+
const o = ((s = i == null ? void 0 : i.value) == null ? void 0 : s.withQuery) ? v.getLocationQueryParams() : {};
|
|
52
|
+
Object.assign(o, { _timestamp: C.value });
|
|
53
|
+
const r = v.buildUrl(e, o, { addtimestamp: !1 });
|
|
54
|
+
if (!r)
|
|
55
|
+
return "";
|
|
56
|
+
const u = (n = i == null ? void 0 : i.value) == null ? void 0 : n.hashRouter;
|
|
57
|
+
return v.resolveByCurrentUrl(r, u ? J() + "" : "");
|
|
58
|
+
}, p = () => {
|
|
59
|
+
d.value = !1, $();
|
|
60
|
+
}, O = () => {
|
|
61
|
+
setTimeout(() => {
|
|
62
|
+
var e, t;
|
|
63
|
+
d.value = !0, (t = (e = l == null ? void 0 : l.value) == null ? void 0 : e.onLoaded) == null || t.call(e);
|
|
64
|
+
}, 1e3);
|
|
65
|
+
}, P = (e) => {
|
|
66
|
+
p(), w.value = e;
|
|
67
|
+
}, T = (e) => {
|
|
68
|
+
p(), f.value = e;
|
|
69
|
+
}, V = (e) => {
|
|
70
|
+
p(), K(g.value, e);
|
|
71
|
+
};
|
|
72
|
+
function K(e, t) {
|
|
73
|
+
var r;
|
|
74
|
+
if (!e) {
|
|
75
|
+
S.error("iframe is empty");
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
const o = (r = e.contentWindow) == null ? void 0 : r.document;
|
|
79
|
+
if (!o) {
|
|
80
|
+
S.error("iframe doc is empty");
|
|
81
|
+
return;
|
|
82
|
+
}
|
|
83
|
+
o.open(), o.write(t), o.close();
|
|
84
|
+
}
|
|
85
|
+
return k({
|
|
86
|
+
...B,
|
|
87
|
+
loadSrc: P,
|
|
88
|
+
loadUrl: T,
|
|
89
|
+
loadContent: V,
|
|
90
|
+
refresh: () => {
|
|
91
|
+
C.value = Date.now(), p();
|
|
92
|
+
}
|
|
93
|
+
}), (e, t) => {
|
|
94
|
+
var r;
|
|
95
|
+
const o = R("el-empty");
|
|
96
|
+
return _(), b(Z, I(e.$props, {
|
|
97
|
+
"prop-options": { fieldObj: a(F) },
|
|
98
|
+
key: (r = e.widget) == null ? void 0 : r.id
|
|
99
|
+
}), {
|
|
100
|
+
default: L(({ data: u }) => {
|
|
101
|
+
var s;
|
|
102
|
+
return [
|
|
103
|
+
m.value ? W("", !0) : (_(), b(o, {
|
|
104
|
+
key: 0,
|
|
105
|
+
description: (s = a(y)) == null ? void 0 : s.emptyText,
|
|
106
|
+
class: "full-width full-height nopadding nomargin"
|
|
107
|
+
}, null, 8, ["description"])),
|
|
108
|
+
q(x(A, {
|
|
109
|
+
loading: !d.value
|
|
110
|
+
}, {
|
|
111
|
+
default: L(({ maskData: n }) => [
|
|
112
|
+
(_(), H("iframe", I({
|
|
113
|
+
ref_key: "fieldEditor",
|
|
114
|
+
ref: g,
|
|
115
|
+
key: `${a(N)}_${m.value}`
|
|
116
|
+
}, z(a(l), !0), {
|
|
117
|
+
onLoad: O,
|
|
118
|
+
src: m.value,
|
|
119
|
+
class: [[...u.injectClass, ...n == null ? void 0 : n.class], "full-width full-height nopadding nomargin hlIframe"],
|
|
120
|
+
frameborder: 0,
|
|
121
|
+
style: u.injectStyle,
|
|
122
|
+
id: a(Q)
|
|
123
|
+
}), null, 16, ee))
|
|
124
|
+
]),
|
|
125
|
+
_: 2
|
|
126
|
+
}, 1032, ["loading"]), [
|
|
127
|
+
[G, !!m.value]
|
|
128
|
+
])
|
|
129
|
+
];
|
|
130
|
+
}),
|
|
131
|
+
_: 1
|
|
132
|
+
}, 16, ["prop-options"]);
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
});
|
|
136
|
+
export {
|
|
137
|
+
Oe as default
|
|
138
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { defineComponent as a, openBlock as f, createBlock as u, normalizeProps as c, guardReactiveProps as g, withCtx as i, createVNode as m, mergeProps as P, unref as r, isRef as _ } from "vue";
|
|
2
|
+
import { I as E } from "./property-base-eaed8cbe.js";
|
|
3
|
+
import { w as V } from "./expression-185552e1.js";
|
|
4
|
+
import { u as C } from "./share-editor-3caefde2.js";
|
|
5
|
+
import { E as w, O as y } from "./editor-wrapper-412921da.js";
|
|
6
|
+
import { d as B, e as I } from "./index-0fea97a8.js";
|
|
7
|
+
import { at as h } from "./enum-669d691c.js";
|
|
8
|
+
import { h as k } from "./_share_image-0ca0ad96.js";
|
|
9
|
+
import "./baseCommonField-607f46b1.js";
|
|
10
|
+
import "./object-751045cf.js";
|
|
11
|
+
import "./baseDataType-af503f9f.js";
|
|
12
|
+
import "./icon-8b8b9744.js";
|
|
13
|
+
import "axios";
|
|
14
|
+
import "./dialog-abd1055d.js";
|
|
15
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
|
+
import "./uuid-1013bfdd.js";
|
|
17
|
+
import "element-plus";
|
|
18
|
+
import "./source-map-b04aec4a.js";
|
|
19
|
+
import "./esprima-e8d15055.js";
|
|
20
|
+
import "./codeType-e06c2bb4.js";
|
|
21
|
+
import "./share-event-0ac319f0.js";
|
|
22
|
+
import "./emitter-752d9612.js";
|
|
23
|
+
import "./index-a1324d15.js";
|
|
24
|
+
import "./optionItem-8e1d0080.js";
|
|
25
|
+
import "./index-61d6c848.js";
|
|
26
|
+
import "./index-a565454e.js";
|
|
27
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
28
|
+
import "./_share_wrapper-9d61ae87.js";
|
|
29
|
+
import "./index-6bcfdc22.js";
|
|
30
|
+
const v = a({ componentName: V.PropertyEditor }), to = /* @__PURE__ */ a({
|
|
31
|
+
...v,
|
|
32
|
+
__name: "image-editor",
|
|
33
|
+
props: { ...E },
|
|
34
|
+
setup(s) {
|
|
35
|
+
const p = s, { propValue: o, propData: n } = C(p), l = B(I(p.propConfig), { type: h.slot });
|
|
36
|
+
return (t, e) => (f(), u(w, c(g(t.$props)), {
|
|
37
|
+
slotEditor: i(() => [
|
|
38
|
+
m(y, P(t.$props, { "prop-config": r(l) }), {
|
|
39
|
+
specialEditor: i(() => [
|
|
40
|
+
m(k, {
|
|
41
|
+
modelValue: r(o),
|
|
42
|
+
"onUpdate:modelValue": e[0] || (e[0] = (d) => _(o) ? o.value = d : null),
|
|
43
|
+
options: r(n)
|
|
44
|
+
}, null, 8, ["modelValue", "options"])
|
|
45
|
+
]),
|
|
46
|
+
_: 1
|
|
47
|
+
}, 16, ["prop-config"])
|
|
48
|
+
]),
|
|
49
|
+
_: 1
|
|
50
|
+
}, 16));
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
export {
|
|
54
|
+
to as default
|
|
55
|
+
};
|
|
@@ -1,33 +1,34 @@
|
|
|
1
1
|
import { defineComponent as c, computed as S, resolveComponent as j, openBlock as m, createBlock as n, mergeProps as d, unref as e, withCtx as l, toHandlers as b, createSlots as F, renderList as N, resolveDynamicComponent as O, createCommentVNode as B } from "vue";
|
|
2
|
-
import { w as D } from "./expression-
|
|
2
|
+
import { w as D } from "./expression-185552e1.js";
|
|
3
3
|
import { I as E } from "./field-base-66c90648.js";
|
|
4
|
-
import { _ as L } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { b as P } from "./share-field-
|
|
6
|
-
import { g as V } from "./slot-
|
|
4
|
+
import { _ as L } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b7eb5c4b.js";
|
|
5
|
+
import { b as P } from "./share-field-f51ccb41.js";
|
|
6
|
+
import { g as V } from "./slot-a11ba403.js";
|
|
7
7
|
import "./source-map-b04aec4a.js";
|
|
8
|
-
import "./
|
|
9
|
-
import "./uuid-
|
|
10
|
-
import "./
|
|
8
|
+
import "./object-751045cf.js";
|
|
9
|
+
import "./uuid-1013bfdd.js";
|
|
10
|
+
import "./index-0fea97a8.js";
|
|
11
11
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
12
|
+
import "./baseDataType-af503f9f.js";
|
|
12
13
|
import "./esprima-e8d15055.js";
|
|
13
14
|
import "./widget-base-df734ada.js";
|
|
14
|
-
import "./index-
|
|
15
|
-
import "./
|
|
16
|
-
import "./
|
|
17
|
-
import "./baseImp-7f0c4121.js";
|
|
15
|
+
import "./index-a1324d15.js";
|
|
16
|
+
import "./baseCommonField-607f46b1.js";
|
|
17
|
+
import "./enum-669d691c.js";
|
|
18
18
|
import "./icon-8b8b9744.js";
|
|
19
19
|
import "axios";
|
|
20
|
-
import "./dialog-
|
|
20
|
+
import "./dialog-abd1055d.js";
|
|
21
21
|
import "element-plus";
|
|
22
|
-
import "./
|
|
23
|
-
import "./index-
|
|
22
|
+
import "./optionItem-8e1d0080.js";
|
|
23
|
+
import "./index-61d6c848.js";
|
|
24
|
+
import "./index-a565454e.js";
|
|
24
25
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
25
|
-
import "./fieldobj-
|
|
26
|
-
import "./
|
|
27
|
-
import "./emitter-
|
|
28
|
-
import "./multirow-
|
|
29
|
-
import "./index-
|
|
30
|
-
const $ = c({ componentName: D.FieldWidget }),
|
|
26
|
+
import "./fieldobj-097a7c28.js";
|
|
27
|
+
import "./globalProvideInject-f72c46e1.js";
|
|
28
|
+
import "./emitter-752d9612.js";
|
|
29
|
+
import "./multirow-7d028dd0.js";
|
|
30
|
+
import "./index-8cfb6a9c.js";
|
|
31
|
+
const $ = c({ componentName: D.FieldWidget }), ue = /* @__PURE__ */ c({
|
|
31
32
|
...$,
|
|
32
33
|
__name: "image-widget",
|
|
33
34
|
props: { ...E },
|
|
@@ -67,5 +68,5 @@ const $ = c({ componentName: D.FieldWidget }), fe = /* @__PURE__ */ c({
|
|
|
67
68
|
}
|
|
68
69
|
});
|
|
69
70
|
export {
|
|
70
|
-
|
|
71
|
+
ue as default
|
|
71
72
|
};
|
|
@@ -1,38 +1,39 @@
|
|
|
1
1
|
import { openBlock as _, createElementBlock as y, defineComponent as te, inject as D, ref as ne, resolveComponent as o, createBlock as f, withCtx as t, createVNode as r, unref as p, createElementVNode as m, Fragment as T, renderList as P, toDisplayString as g, mergeProps as ae, createTextVNode as $, createCommentVNode as J } from "vue";
|
|
2
|
-
import { a as l,
|
|
3
|
-
import {
|
|
4
|
-
import { g as ce } from "./
|
|
5
|
-
import { u as
|
|
6
|
-
import { w as u } from "./optionItem-
|
|
7
|
-
import { S as
|
|
8
|
-
import { _ as
|
|
9
|
-
import { u as
|
|
10
|
-
import { d as S } from "./expression-
|
|
11
|
-
import
|
|
12
|
-
import "./
|
|
13
|
-
import "
|
|
2
|
+
import { a as l, e as ie, n as le, l as oe, f as re } from "./index-0fea97a8.js";
|
|
3
|
+
import { g as se } from "./object-751045cf.js";
|
|
4
|
+
import { B as h, g as ce, n as de } from "./baseCommonField-607f46b1.js";
|
|
5
|
+
import { u as pe } from "./icon-8b8b9744.js";
|
|
6
|
+
import { w as u } from "./optionItem-8e1d0080.js";
|
|
7
|
+
import { S as me } from "./index-a565454e.js";
|
|
8
|
+
import { _ as ue } from "./_plugin-vue_export-helper-dad06003.js";
|
|
9
|
+
import { u as _e } from "./index-a1324d15.js";
|
|
10
|
+
import { d as S } from "./expression-185552e1.js";
|
|
11
|
+
import "./enum-669d691c.js";
|
|
12
|
+
import "./baseDataType-af503f9f.js";
|
|
13
|
+
import "axios";
|
|
14
|
+
import "./dialog-abd1055d.js";
|
|
14
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
|
+
import "./uuid-1013bfdd.js";
|
|
17
|
+
import "element-plus";
|
|
18
|
+
import "./index-61d6c848.js";
|
|
15
19
|
import "./source-map-b04aec4a.js";
|
|
16
20
|
import "./esprima-e8d15055.js";
|
|
17
|
-
import "axios";
|
|
18
|
-
import "./dialog-f67b0d8f.js";
|
|
19
|
-
import "element-plus";
|
|
20
21
|
const ge = {}, fe = { style: { height: "1px", margin: "0px", padding: "0px" } };
|
|
21
22
|
function he(v, x) {
|
|
22
23
|
return _(), y("div", fe);
|
|
23
24
|
}
|
|
24
|
-
const ye = /* @__PURE__ */
|
|
25
|
+
const ye = /* @__PURE__ */ ue(ge, [["render", he]]), be = { class: "collapse_title" }, Fe = ["title", "onDblclick"], Te = { class: "widget-item-span" }, ve = ["src"], xe = ["src"], Ce = { class: "bottom clear-fix" }, ke = { class: "ft-title" }, ze = /* @__PURE__ */ te({
|
|
25
26
|
__name: "index",
|
|
26
27
|
props: {
|
|
27
28
|
designer: {}
|
|
28
29
|
},
|
|
29
30
|
setup(v) {
|
|
30
|
-
const x = v, { $message: b, $confirm: W } =
|
|
31
|
+
const x = v, { $message: b, $confirm: W } = pe(), { copyNewFieldWidget: E, copyNewContainerWidget: L, addContainerByDbClick: I, addFieldByDbClick: O, loadPageJson: H, emitHistoryChange: G } = _e(x.designer), F = D(S.getBannedWidgets), C = D(S.getPageTemplates, []), s = (e) => (F == null ? void 0 : F.indexOf(e)) > -1, c = (e) => {
|
|
31
32
|
var n;
|
|
32
|
-
return (n =
|
|
33
|
+
return (n = ie(e)) == null || n.forEach((a) => {
|
|
33
34
|
a.key = ce(), a.displayName = h.getWidgetTypeName(a == null ? void 0 : a.type);
|
|
34
35
|
}), e;
|
|
35
|
-
},
|
|
36
|
+
}, K = (e) => !0, M = (e) => h.isContainer(e) ? L(e) : E(e), j = (e) => h.isContainer(e) ? I(e) : O(e), q = [
|
|
36
37
|
{
|
|
37
38
|
title: "containerTitle",
|
|
38
39
|
data: c(u.containers).filter((e) => !e.internal && !s(e.type))
|
|
@@ -65,14 +66,14 @@ const ye = /* @__PURE__ */ me(ge, [["render", he]]), be = { class: "collapse_tit
|
|
|
65
66
|
title: "otherFieldTitle",
|
|
66
67
|
data: c(u.otherFields).filter((e) => !e.internal && !s(e.type))
|
|
67
68
|
}
|
|
68
|
-
], k = ne("formFieldTitle"),
|
|
69
|
+
], k = ne("formFieldTitle"), z = (e) => {
|
|
69
70
|
W(l.i18nt("designer.hint.loadFormTemplateHint"), l.i18nt("render.hint.prompt"), {
|
|
70
71
|
confirmButtonText: l.i18nt("render.hint.confirm"),
|
|
71
72
|
cancelButtonText: l.i18nt("render.hint.cancel")
|
|
72
73
|
}).then(async () => {
|
|
73
|
-
|
|
74
|
+
le(e) ? B(e) : de.isUrl(e) ? await A(e) : b.error(l.i18nt("designer.hint.loadFormTemplateFailed"));
|
|
74
75
|
}).catch((n) => {
|
|
75
|
-
|
|
76
|
+
oe.error(n);
|
|
76
77
|
});
|
|
77
78
|
}, A = async (e) => {
|
|
78
79
|
(await import("axios")).default.get(e).then((a) => {
|
|
@@ -82,7 +83,7 @@ const ye = /* @__PURE__ */ me(ge, [["render", he]]), be = { class: "collapse_tit
|
|
|
82
83
|
});
|
|
83
84
|
}, B = (e) => {
|
|
84
85
|
let n = !1;
|
|
85
|
-
n = H(
|
|
86
|
+
n = H(re(e)), n && G("load page template"), b.success(l.i18nt("designer.hint.loadFormTemplateSuccess"));
|
|
86
87
|
};
|
|
87
88
|
return (e, n) => {
|
|
88
89
|
const a = o("draggable"), Q = o("el-collapse-item"), R = o("el-collapse"), w = o("el-scrollbar"), N = o("el-tab-pane"), U = o("el-popover"), X = o("el-button"), Y = o("el-card"), Z = o("el-tabs");
|
|
@@ -106,9 +107,9 @@ const ye = /* @__PURE__ */ me(ge, [["render", he]]), be = { class: "collapse_tit
|
|
|
106
107
|
"onUpdate:modelValue": n[0] || (n[0] = (i) => k.value = i)
|
|
107
108
|
}, {
|
|
108
109
|
default: t(() => [
|
|
109
|
-
(_(), y(T, null, P(
|
|
110
|
+
(_(), y(T, null, P(q, (i) => (_(), y(T, null, [
|
|
110
111
|
r(ye),
|
|
111
|
-
p(
|
|
112
|
+
p(se)(i.data) ? (_(), f(Q, {
|
|
112
113
|
key: 0,
|
|
113
114
|
name: i.title
|
|
114
115
|
}, {
|
|
@@ -122,18 +123,18 @@ const ye = /* @__PURE__ */ me(ge, [["render", he]]), be = { class: "collapse_tit
|
|
|
122
123
|
}, { ref_for: !0 }, { ghostClass: "ghost", sort: !1 }, {
|
|
123
124
|
"item-key": "key",
|
|
124
125
|
tag: "ul",
|
|
125
|
-
clone:
|
|
126
|
+
clone: M,
|
|
126
127
|
class: "widget-container",
|
|
127
|
-
move:
|
|
128
|
+
move: K
|
|
128
129
|
}), {
|
|
129
130
|
item: t(({ element: d }) => [
|
|
130
131
|
m("li", {
|
|
131
132
|
class: "widget-item",
|
|
132
133
|
title: d.displayName,
|
|
133
|
-
onDblclick: (ee) =>
|
|
134
|
+
onDblclick: (ee) => j(d)
|
|
134
135
|
}, [
|
|
135
136
|
m("span", Te, [
|
|
136
|
-
r(
|
|
137
|
+
r(me, {
|
|
137
138
|
name: d.icon,
|
|
138
139
|
"class-name": "primary-color"
|
|
139
140
|
}, null, 8, ["name"]),
|
|
@@ -195,7 +196,7 @@ const ye = /* @__PURE__ */ me(ge, [["render", he]]), be = { class: "collapse_tit
|
|
|
195
196
|
link: "",
|
|
196
197
|
type: "primary",
|
|
197
198
|
class: "right-button",
|
|
198
|
-
onClick: (ee) =>
|
|
199
|
+
onClick: (ee) => z(i.json)
|
|
199
200
|
}, {
|
|
200
201
|
default: t(() => [
|
|
201
202
|
$(g(p(l).i18nt("designer.hint.loadFormTemplate")), 1)
|
|
@@ -220,5 +221,5 @@ const ye = /* @__PURE__ */ me(ge, [["render", he]]), be = { class: "collapse_tit
|
|
|
220
221
|
}
|
|
221
222
|
});
|
|
222
223
|
export {
|
|
223
|
-
|
|
224
|
+
ze as default
|
|
224
225
|
};
|