hldesigner 0.0.199 → 0.0.203
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-4c706e60.js → _pdf-3f9ca974.js} +12 -11
- package/{_share_image-dc17ebf1.js → _share_image-30a7e940.js} +2 -2
- package/{_share_size.vue_vue_type_script_setup_true_lang-112b73cf.js → _share_size.vue_vue_type_script_setup_true_lang-baa111b4.js} +3 -3
- package/{_txt-e4b11c88.js → _txt-b0f0ebb7.js} +15 -14
- package/{_unsupport-1bab2565.js → _unsupport-fd2af812.js} +10 -9
- package/affix-widget-5b31aef3.js +44 -0
- package/{alert-widget-8578fbe7.js → alert-widget-023ad236.js} +23 -22
- package/{anchor-widget-ceeabf3f.js → anchor-widget-4cb83acd.js} +20 -19
- package/{auto-complete-widget-64f54cd6.js → auto-complete-widget-a40381f8.js} +23 -22
- package/avatar-widget-32b58d84.js +44 -0
- package/{backtop-widget-9de51b39.js → backtop-widget-e9867933.js} +23 -22
- package/badge-widget-1f3ce07a.js +50 -0
- package/{barcode-widget-9c8b37b8.js → barcode-widget-ef49bf1a.js} +20 -19
- package/{baseImp-e49d2773.js → baseImp-d6a218bb.js} +692 -695
- package/{breadcrumb-widget-792bcaf6.js → breadcrumb-widget-02835287.js} +20 -19
- package/{button-widget-f1c5236f.js → button-widget-21c3a1d5.js} +23 -22
- package/{cache-widget-5fa60ec6.js → cache-widget-4104da94.js} +22 -21
- package/{card-widget-e512515a.js → card-widget-94540bcb.js} +21 -20
- package/{carousel-widget-3696c44d.js → carousel-widget-4c42a9b5.js} +21 -20
- package/{cascader-widget-e5c5f825.js → cascader-widget-3b351e93.js} +22 -21
- package/{chart-widget-3e54a5bb.js → chart-widget-fea7b4eb.js} +25 -24
- package/{checkbox-widget-564de2c7.js → checkbox-widget-703a8743.js} +22 -21
- package/{collapse-widget-51d7cf71.js → collapse-widget-82c9f052.js} +29 -28
- package/{color-picker-widget-fc1cbd99.js → color-picker-widget-366c7b6a.js} +22 -21
- package/common-editor-7fbb76d2.js +27 -0
- package/{common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-e83ab29f.js → common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-1f8ca7a0.js} +2 -2
- package/{configItem-022c3a03.js → configItem-9beab327.js} +44 -42
- package/{cont-cell-widget-a130b8db.js → cont-cell-widget-a6d7799b.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-22b878c0.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-792388b7.js} +5 -5
- package/{cont-widget-7f0e150f.js → cont-widget-978dce4e.js} +5 -5
- package/{content-wrapper-9f6222f3.js → content-wrapper-ef2cf36b.js} +8 -7
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-bc24e53b.js → content-wrapper.vue_vue_type_script_setup_true_lang-ef54a554.js} +3 -3
- package/{css-editor-78e6dc8c.js → css-editor-2f6dbde3.js} +43 -42
- package/{cssIndex-8e8522e2.js → cssIndex-cf6e26c2.js} +61 -60
- package/customClass-editor-df52cc90.js +46 -0
- package/{date-picker-range-widget-3c7a0942.js → date-picker-range-widget-181f33cb.js} +22 -21
- package/{date-picker-widget-037ceb37.js → date-picker-widget-a5bd4bf3.js} +22 -21
- package/default-slot-widget-56a353d7.js +30 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-800037db.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-8b0fcd83.js} +10 -9
- package/{descriptions-widget-4d59d506.js → descriptions-widget-ba2c798d.js} +28 -27
- package/designer.es.js +37 -35
- package/designer.style.css +1 -1
- package/designer.umd.js +806 -802
- package/{dialog-fd389629.js → dialog-24d066bb.js} +2 -2
- package/dialog-widget-c9f8b45b.js +38 -0
- package/{divider-widget-352dabc2.js → divider-widget-e2cd731e.js} +23 -22
- package/{drag-wrapper-c5f36a3f.js → drag-wrapper-be4fc6c6.js} +25 -24
- package/drawer-widget-c15da4c7.js +38 -0
- package/{dropdown-widget-e6f407a3.js → dropdown-widget-42a47ad3.js} +21 -20
- package/{editor-wrapper-037968c2.js → editor-wrapper-8027ed75.js} +218 -217
- package/{emitter-fd99ee94.js → emitter-22bcad26.js} +1 -1
- package/empty-widget-6ac74681.js +44 -0
- package/{enum-type-25ce26d4.js → enum-type-339a584b.js} +125 -437
- package/{enum-type-a9f5e75a.js → enum-type-50a08ddf.js} +1 -1
- package/{expression-c0206176.js → expression-cf83c895.js} +95 -94
- package/feedback-widget-56db531b.js +31 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-0f7a4c77.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-cf9de69d.js} +5 -5
- package/{field-editor-a074e424.js → field-editor-ab704a01.js} +26 -25
- package/{fieldobj-e53244c0.js → fieldobj-fe7d8eae.js} +1 -1
- package/{file-upload-widget-7c1c900b.js → file-upload-widget-2b05d62c.js} +27 -26
- package/{form-item-wrapper-75976438.js → form-item-wrapper-f8359511.js} +16 -15
- package/form-widget-35b12f17.js +232 -0
- package/{grid-col-widget-1f1a8714.js → grid-col-widget-6cad3503.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-2ae49464.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-082d895b.js} +5 -5
- package/{grid-widget-d9c98e1e.js → grid-widget-075a1abe.js} +5 -5
- package/{html-text-widget-ead52952.js → html-text-widget-0c89effe.js} +24 -23
- package/{icon-widget-0d09fa31.js → icon-widget-efa0dbb7.js} +20 -19
- package/iframe-widget-d293f152.js +112 -0
- package/{image-editor-87c1fa97.js → image-editor-0b28e384.js} +21 -20
- package/{image-widget-5304b99a.js → image-widget-bc9c59ac.js} +20 -19
- package/index-1521518c.js +44 -0
- package/{index-471b1b77.js → index-1844520a.js} +181 -179
- package/{index-8faf4a86.js → index-2aa1f947.js} +19 -18
- package/{index-5df9e1e9.js → index-2cc63818.js} +58 -57
- package/{index-afcc0cb2.js → index-30fe2727.js} +31 -30
- package/{index-29a9d260.js → index-4121f492.js} +28 -27
- package/{index-ddb14013.js → index-47333282.js} +32 -31
- package/{index-37761d29.js → index-57266e1d.js} +25 -24
- package/{index-ea246120.js → index-57ba032d.js} +32 -31
- package/index-57de1e93.js +200 -0
- package/index-67e02ed1.js +48 -0
- package/{index-1652c0d1.js → index-6d72c605.js} +1 -1
- package/{index-4bba6308.js → index-7dcb0846.js} +45 -44
- package/{index-4ef04f4f.js → index-9b16b876.js} +9 -8
- package/{index-8411963a.js → index-9bf39185.js} +1 -1
- package/{index-b3585536.js → index-9c8ab628.js} +18 -17
- package/{index-d9faf252.js → index-9d594e77.js} +48 -46
- package/{index-4768c271.js → index-a9b325de.js} +31 -30
- package/{index-132e54f6.js → index-ad62fe68.js} +41 -39
- package/{index-5663497c.js → index-b07f673f.js} +28 -27
- package/{index-972b5e7d.js → index-b6dd9f73.js} +12 -11
- package/{index-fd5e4e75.js → index-cb040833.js} +30 -29
- package/index-df1e4d1c.js +138 -0
- package/{index-edba8ac2.js → index-e6f28811.js} +9 -8
- package/index-f02a72ab.js +287 -0
- package/{index-c0ac6679.js → index-f328b549.js} +1 -1
- package/{input-number-widget-5b91814d.js → input-number-widget-8c11c9f1.js} +22 -21
- package/{input-widget-9f9f1e86.js → input-widget-c493df61.js} +23 -22
- package/{install-designer-092182cc.js → install-designer-2b98bf6a.js} +946 -928
- package/{item-4a07c2c6.js → item-a6a9abce.js} +8 -7
- package/{itemDetail-107667d0.js → itemDetail-2061e03c.js} +12 -11
- package/{label-wrapper-fcfc49bb.js → label-wrapper-1f60e363.js} +6 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-32dd0eb6.js → label-wrapper.vue_vue_type_style_index_0_lang-0926028b.js} +3 -3
- package/{link-widget-f1bc9ed1.js → link-widget-aeb07c45.js} +23 -22
- package/{ltable-col-widget-7198f180.js → ltable-col-widget-7b73596b.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-9659c585.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-76360bb0.js} +9 -9
- package/{ltable-widget-8e240c9e.js → ltable-widget-2748c11d.js} +5 -5
- package/{menu-widget-b30f1aa4.js → menu-widget-f030ec3f.js} +43 -42
- package/{model-widget-e8b3f795.js → model-widget-324ee8d8.js} +29 -28
- package/{multirow-70766faf.js → multirow-60333a37.js} +50 -49
- package/{multirow-widget-b7d121ce.js → multirow-widget-b9f113dc.js} +80 -79
- package/{name-editor-f2e09a2a.js → name-editor-9e584829.js} +39 -38
- package/obj-469b8636.js +344 -0
- package/{optionItem-658ef248.js → optionItem-94e8e557.js} +5 -5
- package/package.json +1 -1
- package/{pagination-widget-8d56529f.js → pagination-widget-5fc3a123.js} +27 -26
- package/{picture-upload-widget-3c439623.js → picture-upload-widget-074d5dfa.js} +23 -22
- package/{progress-widget-3deb6d65.js → progress-widget-ab7645f4.js} +21 -20
- package/{property-base-585ae99f.js → property-base-847bea01.js} +6 -5
- package/{propresult-7ff730e7.js → propresult-80ff10b0.js} +1 -1
- package/{qrcode-widget-58b296c9.js → qrcode-widget-d3332db8.js} +28 -27
- package/{radio-widget-b37f2efa.js → radio-widget-30fbcfa8.js} +22 -21
- package/{range-widget-9e9d1d91.js → range-widget-501ac45f.js} +26 -25
- package/{rate-widget-f2df42ca.js → rate-widget-0efc5a30.js} +22 -21
- package/{reg-editor.vue_vue_type_script_setup_true_lang-552964b4.js → reg-editor.vue_vue_type_script_setup_true_lang-303c53c7.js} +3 -3
- package/{result-widget-064d580f.js → result-widget-c7ba3598.js} +26 -25
- package/{rich-editor-widget-f8c3a359.js → rich-editor-widget-68065124.js} +29 -28
- package/{router-widget-c3c1dcbe.js → router-widget-87f54e9c.js} +26 -25
- package/{schemaData-4b6c8f93.js → schemaData-4017f436.js} +117 -113
- package/{select-widget-115c19eb.js → select-widget-b603a045.js} +75 -74
- package/{sfc-8e1699a5.js → sfc-c084412d.js} +38 -37
- package/{sfcview-e35d2a6c.js → sfcview-35444e54.js} +27 -26
- package/{share-editor-0b81d40d.js → share-editor-2b290a2a.js} +110 -108
- package/{share-event-00871445.js → share-event-2000a2e4.js} +2 -2
- package/{share-field-6d22dc0f.js → share-field-081900cb.js} +229 -227
- package/{share-file-c09f38d7.js → share-file-a4a4269a.js} +15 -14
- package/{size-editor-19b9771a.js → size-editor-60515ca3.js} +22 -21
- package/{slider-widget-8ffc9a9e.js → slider-widget-0e5c6ea8.js} +22 -21
- package/slot-ad34bf62.js +292 -0
- package/{static-text-widget-bfd431fd.js → static-text-widget-e96741ad.js} +23 -22
- package/{steps-widget-62708fc5.js → steps-widget-f4f7a59d.js} +20 -19
- package/{subMenu-widget-bc8720e3.js → subMenu-widget-6e151b95.js} +9 -8
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-292af0db.js → subMenu-widget.vue_vue_type_script_setup_true_lang-5c3a8a82.js} +3 -3
- package/{switch-widget-45c43819.js → switch-widget-be4a4f29.js} +22 -21
- package/{tab-pane-widget-4f6477b7.js → tab-pane-widget-f257d01a.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-6c931b97.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-7102e80f.js} +5 -5
- package/table-col-widget-44257f41.js +27 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-51a501b6.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-fda5176e.js} +6 -6
- package/{table-widget-48472910.js → table-widget-6e69243d.js} +29 -28
- package/{tabs-widget-223c7b43.js → tabs-widget-3789cc71.js} +33 -32
- package/tag-widget-30ed85f5.js +44 -0
- package/{target-code-faf94048.js → target-code-c9b01d8e.js} +13 -12
- package/{target-datasource-ce8ef09f.js → target-datasource-358d46d3.js} +91 -89
- package/{target-link-365f24d0.js → target-link-63b8c8b7.js} +59 -57
- package/{target-saveForm-96b58000.js → target-saveForm-32d63f35.js} +41 -39
- package/{target-widget-1d501f28.js → target-widget-9263d60f.js} +11 -10
- package/{target-window-846ee9c9.js → target-window-e79c6e2e.js} +12 -11
- package/text-widget-9d91dbb9.js +44 -0
- package/textarea-widget-abc44051.js +61 -0
- package/{time-picker-range-widget-181b8b60.js → time-picker-range-widget-1daba17f.js} +24 -23
- package/{time-picker-widget-9f410605.js → time-picker-widget-0e493b7e.js} +22 -21
- package/{time-select-widget-28d4139e.js → time-select-widget-52b79d07.js} +22 -21
- package/{tmpl-widget-43e82eef.js → tmpl-widget-87950870.js} +21 -20
- package/{tree-select-widget-6f671e54.js → tree-select-widget-90e24dbc.js} +35 -34
- package/{tree-widget-a0eee231.js → tree-widget-27d9f388.js} +27 -26
- package/{uuid-ff3b37ed.js → uuid-d9f857bf.js} +1 -1
- package/{value-editor-2b6e96e5.js → value-editor-1c0315d8.js} +29 -28
- package/{verifycode-widget-c09fbb3c.js → verifycode-widget-5df2dcdc.js} +34 -33
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1fca8a90.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-7ea2dd77.js} +27 -26
- package/{wrapper-widget-21408a77.js → wrapper-widget-a70d939f.js} +6 -6
- package/affix-widget-1c84ecfb.js +0 -43
- package/avatar-widget-3b71e7a1.js +0 -43
- package/badge-widget-72b34510.js +0 -49
- package/common-editor-fba47b00.js +0 -26
- package/customClass-editor-5f3c0118.js +0 -45
- package/default-slot-widget-0dcac6f6.js +0 -29
- package/dialog-widget-a1705f21.js +0 -37
- package/drawer-widget-8a4cf015.js +0 -37
- package/empty-widget-f99a3baf.js +0 -43
- package/feedback-widget-08332c4f.js +0 -30
- package/form-widget-10dd2246.js +0 -230
- package/iframe-widget-2834e921.js +0 -111
- package/index-004c3e5a.js +0 -135
- package/index-1a4ba0e3.js +0 -132
- package/index-6ae0e7db.js +0 -121
- package/index-8c63f468.js +0 -47
- package/index-979a4dfc.js +0 -43
- package/slot-62b1ff9b.js +0 -287
- package/table-col-widget-a0233d24.js +0 -26
- package/tag-widget-7bce1464.js +0 -43
- package/text-widget-d5907fd1.js +0 -43
- package/textarea-widget-ba555132.js +0 -60
|
@@ -1,30 +1,31 @@
|
|
|
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 k, resolveDynamicComponent as v } from "vue";
|
|
2
2
|
import { I as F } from "./field-base-5547436d.js";
|
|
3
|
-
import { w as S } from "./expression-
|
|
4
|
-
import { c as b } 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 "./enum-type-
|
|
3
|
+
import { w as S } from "./expression-cf83c895.js";
|
|
4
|
+
import { c as b } from "./share-field-081900cb.js";
|
|
5
|
+
import { _ as h } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-7ea2dd77.js";
|
|
6
|
+
import { S as B } from "./enum-type-50a08ddf.js";
|
|
7
7
|
import "./widget-base-4c2d6265.js";
|
|
8
8
|
import "./source-map-b04aec4a.js";
|
|
9
|
-
import "./
|
|
10
|
-
import "./uuid-
|
|
9
|
+
import "./obj-469b8636.js";
|
|
10
|
+
import "./uuid-d9f857bf.js";
|
|
11
|
+
import "./enum-type-339a584b.js";
|
|
11
12
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
12
13
|
import "./esprima-e8d15055.js";
|
|
13
|
-
import "./emitter-
|
|
14
|
+
import "./emitter-22bcad26.js";
|
|
14
15
|
import "./icon-6342f929.js";
|
|
15
|
-
import "./baseImp-
|
|
16
|
-
import "./dialog-
|
|
16
|
+
import "./baseImp-d6a218bb.js";
|
|
17
|
+
import "./dialog-24d066bb.js";
|
|
17
18
|
import "element-plus";
|
|
18
|
-
import "./slot-
|
|
19
|
-
import "./index-
|
|
20
|
-
import "./index-
|
|
21
|
-
import "./optionItem-
|
|
22
|
-
import "./index-
|
|
23
|
-
import "./multirow-
|
|
24
|
-
import "./index-
|
|
19
|
+
import "./slot-ad34bf62.js";
|
|
20
|
+
import "./index-9bf39185.js";
|
|
21
|
+
import "./index-2cc63818.js";
|
|
22
|
+
import "./optionItem-94e8e557.js";
|
|
23
|
+
import "./index-f328b549.js";
|
|
24
|
+
import "./multirow-60333a37.js";
|
|
25
|
+
import "./index-6d72c605.js";
|
|
25
26
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
26
|
-
import "./fieldobj-
|
|
27
|
-
const I = d({ componentName: S.FieldWidget }),
|
|
27
|
+
import "./fieldobj-fe7d8eae.js";
|
|
28
|
+
const I = d({ componentName: S.FieldWidget }), mo = /* @__PURE__ */ d({
|
|
28
29
|
...I,
|
|
29
30
|
__name: "icon-widget",
|
|
30
31
|
props: { ...F },
|
|
@@ -62,5 +63,5 @@ const I = d({ componentName: S.FieldWidget }), po = /* @__PURE__ */ d({
|
|
|
62
63
|
}
|
|
63
64
|
});
|
|
64
65
|
export {
|
|
65
|
-
|
|
66
|
+
mo as default
|
|
66
67
|
};
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { defineComponent as j, ref as C, computed as D, onMounted as O, resolveDirective as R, openBlock as v, createBlock as V, mergeProps as I, unref as n, withCtx as W, withDirectives as L, createElementBlock as U, createCommentVNode as q, toHandlers as z, vShow as H } from "vue";
|
|
2
|
+
import { z as g } from "./baseImp-d6a218bb.js";
|
|
3
|
+
import { w as K } from "./expression-cf83c895.js";
|
|
4
|
+
import { c as M } from "./share-field-081900cb.js";
|
|
5
|
+
import { _ as T } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-7ea2dd77.js";
|
|
6
|
+
import { I as G } from "./field-base-5547436d.js";
|
|
7
|
+
import { g as J } from "./uuid-d9f857bf.js";
|
|
8
|
+
import { l as b } from "./enum-type-339a584b.js";
|
|
9
|
+
import "./obj-469b8636.js";
|
|
10
|
+
import "./enum-type-50a08ddf.js";
|
|
11
|
+
import "./icon-6342f929.js";
|
|
12
|
+
import "./dialog-24d066bb.js";
|
|
13
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
|
+
import "element-plus";
|
|
15
|
+
import "./source-map-b04aec4a.js";
|
|
16
|
+
import "./esprima-e8d15055.js";
|
|
17
|
+
import "./emitter-22bcad26.js";
|
|
18
|
+
import "./slot-ad34bf62.js";
|
|
19
|
+
import "./index-9bf39185.js";
|
|
20
|
+
import "./index-2cc63818.js";
|
|
21
|
+
import "./optionItem-94e8e557.js";
|
|
22
|
+
import "./index-f328b549.js";
|
|
23
|
+
import "./multirow-60333a37.js";
|
|
24
|
+
import "./widget-base-4c2d6265.js";
|
|
25
|
+
import "./index-6d72c605.js";
|
|
26
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
27
|
+
import "./fieldobj-fe7d8eae.js";
|
|
28
|
+
function X(a, u) {
|
|
29
|
+
var s;
|
|
30
|
+
if (!a) {
|
|
31
|
+
b.error("iframe is empty");
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
const r = (s = a.contentWindow) == null ? void 0 : s.document;
|
|
35
|
+
if (!r) {
|
|
36
|
+
b.error("iframe doc is empty");
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
r.open(), r.write(u), r.close();
|
|
40
|
+
}
|
|
41
|
+
const Y = {
|
|
42
|
+
key: 0,
|
|
43
|
+
class: "full-width full-height nopadding nomargin"
|
|
44
|
+
}, Z = ["src", "id"], x = j({ componentName: K.FieldWidget }), be = /* @__PURE__ */ j({
|
|
45
|
+
...x,
|
|
46
|
+
__name: "iframe-widget",
|
|
47
|
+
props: { ...G },
|
|
48
|
+
setup(a, { expose: u }) {
|
|
49
|
+
const r = a, { exposed: s, fieldEditor: d, events: m, attrs: h, extendAttrs: o, fieldObj: B, fieldKey: E, fieldName: Q } = M(r), l = C(!1), f = C(), _ = D(() => {
|
|
50
|
+
var w, y, k;
|
|
51
|
+
if (f.value)
|
|
52
|
+
return f.value;
|
|
53
|
+
const e = (w = h.value) == null ? void 0 : w.src;
|
|
54
|
+
if (e == "" || e == "#")
|
|
55
|
+
return "";
|
|
56
|
+
const i = ((y = o == null ? void 0 : o.value) == null ? void 0 : y.withQuery) ? g.getLocationQueryParams() : {}, c = g.buildUrl(e, i), p = (k = o == null ? void 0 : o.value) == null ? void 0 : k.hashRouter;
|
|
57
|
+
var P = g.resolveByCurrentUrl(c, p ? J() + "" : "");
|
|
58
|
+
return P;
|
|
59
|
+
}), S = () => {
|
|
60
|
+
var e;
|
|
61
|
+
_.value && (l.value = !0, (e = d.value) == null || e.addEventListener("load", function() {
|
|
62
|
+
var t, i;
|
|
63
|
+
l.value = !1, (i = (t = m == null ? void 0 : m.value) == null ? void 0 : t.onLoaded) == null || i.call(t);
|
|
64
|
+
}));
|
|
65
|
+
}, $ = (e) => {
|
|
66
|
+
h.value.src = e;
|
|
67
|
+
}, F = (e) => {
|
|
68
|
+
f.value = e;
|
|
69
|
+
}, N = (e) => {
|
|
70
|
+
X(d.value, e);
|
|
71
|
+
};
|
|
72
|
+
return O(() => {
|
|
73
|
+
S();
|
|
74
|
+
}), u({
|
|
75
|
+
...s,
|
|
76
|
+
loadSrc: $,
|
|
77
|
+
loadUrl: F,
|
|
78
|
+
loadContent: N
|
|
79
|
+
}), (e, t) => {
|
|
80
|
+
var c;
|
|
81
|
+
const i = R("loading");
|
|
82
|
+
return v(), V(T, I(e.$props, {
|
|
83
|
+
"prop-options": { fieldObj: n(B) },
|
|
84
|
+
key: (c = e.widget) == null ? void 0 : c.id
|
|
85
|
+
}), {
|
|
86
|
+
default: W(({ data: p }) => [
|
|
87
|
+
l.value ? L((v(), U("div", Y, null, 512)), [
|
|
88
|
+
[i, l.value]
|
|
89
|
+
]) : q("", !0),
|
|
90
|
+
L((v(), U("iframe", I({
|
|
91
|
+
ref_key: "fieldEditor",
|
|
92
|
+
ref: d,
|
|
93
|
+
key: `${n(E)}_${n(_)}`
|
|
94
|
+
}, z(n(m), !0), {
|
|
95
|
+
src: n(_),
|
|
96
|
+
class: [p.injectClass, "full-width full-height nopadding nomargin hlIframe"],
|
|
97
|
+
frameborder: 0,
|
|
98
|
+
style: p.injectStyle,
|
|
99
|
+
id: n(Q)
|
|
100
|
+
}), `\r
|
|
101
|
+
`, 16, Z)), [
|
|
102
|
+
[H, !l.value]
|
|
103
|
+
])
|
|
104
|
+
]),
|
|
105
|
+
_: 1
|
|
106
|
+
}, 16, ["prop-options"]);
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
});
|
|
110
|
+
export {
|
|
111
|
+
be as default
|
|
112
|
+
};
|
|
@@ -1,39 +1,40 @@
|
|
|
1
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-
|
|
3
|
-
import { w as V } from "./expression-
|
|
4
|
-
import { u as C } from "./share-editor-
|
|
5
|
-
import { E as w, O as y } from "./editor-wrapper-
|
|
6
|
-
import { d as
|
|
7
|
-
import { aj as
|
|
8
|
-
import { h } from "./_share_image-
|
|
9
|
-
import "./
|
|
2
|
+
import { I as E } from "./property-base-847bea01.js";
|
|
3
|
+
import { w as V } from "./expression-cf83c895.js";
|
|
4
|
+
import { u as C } from "./share-editor-2b290a2a.js";
|
|
5
|
+
import { E as w, O as y } from "./editor-wrapper-8027ed75.js";
|
|
6
|
+
import { d as B, e as I } from "./obj-469b8636.js";
|
|
7
|
+
import { aj as h } from "./enum-type-50a08ddf.js";
|
|
8
|
+
import { h as k } from "./_share_image-30a7e940.js";
|
|
9
|
+
import "./enum-type-339a584b.js";
|
|
10
|
+
import "./baseImp-d6a218bb.js";
|
|
10
11
|
import "./icon-6342f929.js";
|
|
11
|
-
import "./dialog-
|
|
12
|
+
import "./dialog-24d066bb.js";
|
|
12
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
|
-
import "./uuid-
|
|
14
|
+
import "./uuid-d9f857bf.js";
|
|
14
15
|
import "element-plus";
|
|
15
16
|
import "./source-map-b04aec4a.js";
|
|
16
17
|
import "./esprima-e8d15055.js";
|
|
17
|
-
import "./share-event-
|
|
18
|
-
import "./emitter-
|
|
19
|
-
import "./index-
|
|
20
|
-
import "./optionItem-
|
|
21
|
-
import "./index-
|
|
22
|
-
import "./index-
|
|
18
|
+
import "./share-event-2000a2e4.js";
|
|
19
|
+
import "./emitter-22bcad26.js";
|
|
20
|
+
import "./index-2cc63818.js";
|
|
21
|
+
import "./optionItem-94e8e557.js";
|
|
22
|
+
import "./index-f328b549.js";
|
|
23
|
+
import "./index-6d72c605.js";
|
|
23
24
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
24
25
|
import "./_share_wrapper-8f1243a5.js";
|
|
25
26
|
import "./index-ddd23411.js";
|
|
26
|
-
const v = a({ componentName: V.PropertyEditor }),
|
|
27
|
+
const v = a({ componentName: V.PropertyEditor }), oo = /* @__PURE__ */ a({
|
|
27
28
|
...v,
|
|
28
29
|
__name: "image-editor",
|
|
29
30
|
props: { ...E },
|
|
30
31
|
setup(s) {
|
|
31
|
-
const p = s, { propValue: o, propData: n } = C(p), l =
|
|
32
|
+
const p = s, { propValue: o, propData: n } = C(p), l = B(I(p.propConfig), { type: h.slot });
|
|
32
33
|
return (t, e) => (f(), u(w, c(g(t.$props)), {
|
|
33
34
|
slotEditor: i(() => [
|
|
34
35
|
m(y, P(t.$props, { "prop-config": r(l) }), {
|
|
35
36
|
specialEditor: i(() => [
|
|
36
|
-
m(
|
|
37
|
+
m(k, {
|
|
37
38
|
modelValue: r(o),
|
|
38
39
|
"onUpdate:modelValue": e[0] || (e[0] = (d) => _(o) ? o.value = d : null),
|
|
39
40
|
options: r(n)
|
|
@@ -47,5 +48,5 @@ const v = a({ componentName: V.PropertyEditor }), Z = /* @__PURE__ */ a({
|
|
|
47
48
|
}
|
|
48
49
|
});
|
|
49
50
|
export {
|
|
50
|
-
|
|
51
|
+
oo as default
|
|
51
52
|
};
|
|
@@ -1,30 +1,31 @@
|
|
|
1
1
|
import { defineComponent as c, computed as j, resolveComponent as k, openBlock as m, createBlock as s, mergeProps as l, unref as e, withCtx as d, toHandlers as F, createSlots as O, renderList as b, resolveDynamicComponent as B } from "vue";
|
|
2
|
-
import { w as E } from "./expression-
|
|
2
|
+
import { w as E } from "./expression-cf83c895.js";
|
|
3
3
|
import { I as L } from "./field-base-5547436d.js";
|
|
4
|
-
import { _ as N } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { c as P } from "./share-field-
|
|
6
|
-
import { g as $ } from "./slot-
|
|
4
|
+
import { _ as N } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-7ea2dd77.js";
|
|
5
|
+
import { c as P } from "./share-field-081900cb.js";
|
|
6
|
+
import { g as $ } from "./slot-ad34bf62.js";
|
|
7
7
|
import "./source-map-b04aec4a.js";
|
|
8
|
-
import "./
|
|
9
|
-
import "./uuid-
|
|
8
|
+
import "./obj-469b8636.js";
|
|
9
|
+
import "./uuid-d9f857bf.js";
|
|
10
|
+
import "./enum-type-339a584b.js";
|
|
10
11
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
11
12
|
import "./esprima-e8d15055.js";
|
|
12
13
|
import "./widget-base-4c2d6265.js";
|
|
13
|
-
import "./index-
|
|
14
|
-
import "./enum-type-
|
|
15
|
-
import "./optionItem-
|
|
16
|
-
import "./baseImp-
|
|
14
|
+
import "./index-2cc63818.js";
|
|
15
|
+
import "./enum-type-50a08ddf.js";
|
|
16
|
+
import "./optionItem-94e8e557.js";
|
|
17
|
+
import "./baseImp-d6a218bb.js";
|
|
17
18
|
import "./icon-6342f929.js";
|
|
18
|
-
import "./dialog-
|
|
19
|
+
import "./dialog-24d066bb.js";
|
|
19
20
|
import "element-plus";
|
|
20
|
-
import "./index-
|
|
21
|
-
import "./index-
|
|
21
|
+
import "./index-f328b549.js";
|
|
22
|
+
import "./index-6d72c605.js";
|
|
22
23
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
23
|
-
import "./fieldobj-
|
|
24
|
-
import "./emitter-
|
|
25
|
-
import "./multirow-
|
|
26
|
-
import "./index-
|
|
27
|
-
const A = c({ componentName: E.FieldWidget }),
|
|
24
|
+
import "./fieldobj-fe7d8eae.js";
|
|
25
|
+
import "./emitter-22bcad26.js";
|
|
26
|
+
import "./multirow-60333a37.js";
|
|
27
|
+
import "./index-9bf39185.js";
|
|
28
|
+
const A = c({ componentName: E.FieldWidget }), le = /* @__PURE__ */ c({
|
|
28
29
|
...A,
|
|
29
30
|
__name: "image-widget",
|
|
30
31
|
props: { ...L },
|
|
@@ -64,5 +65,5 @@ const A = c({ componentName: E.FieldWidget }), ae = /* @__PURE__ */ c({
|
|
|
64
65
|
}
|
|
65
66
|
});
|
|
66
67
|
export {
|
|
67
|
-
|
|
68
|
+
le as default
|
|
68
69
|
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { defineComponent as _, shallowRef as y, ref as i, onMounted as F, openBlock as C, createBlock as x, resolveDynamicComponent as V, unref as E, defineAsyncComponent as k } from "vue";
|
|
2
|
+
import { I as P } from "./property-base-847bea01.js";
|
|
3
|
+
import { u as p } from "./share-editor-2b290a2a.js";
|
|
4
|
+
import "./enum-type-50a08ddf.js";
|
|
5
|
+
import "./enum-type-339a584b.js";
|
|
6
|
+
import "./obj-469b8636.js";
|
|
7
|
+
import "./baseImp-d6a218bb.js";
|
|
8
|
+
import "./expression-cf83c895.js";
|
|
9
|
+
import "./source-map-b04aec4a.js";
|
|
10
|
+
import "./uuid-d9f857bf.js";
|
|
11
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
12
|
+
import "./esprima-e8d15055.js";
|
|
13
|
+
import "./icon-6342f929.js";
|
|
14
|
+
import "./dialog-24d066bb.js";
|
|
15
|
+
import "element-plus";
|
|
16
|
+
const H = /* @__PURE__ */ _({
|
|
17
|
+
__name: "index",
|
|
18
|
+
props: { ...P, getFunc: { type: Function, default: void 0 }, setFunc: { type: Function, default: void 0 } },
|
|
19
|
+
setup(s, { expose: a }) {
|
|
20
|
+
const e = s, { saveCode: c } = p(e), u = y(), l = () => {
|
|
21
|
+
u.value = k(() => import("./index-ae1f26e5.js"));
|
|
22
|
+
}, m = i(), d = () => {
|
|
23
|
+
const o = c(r.value);
|
|
24
|
+
return e.setFunc ? e.setFunc(o) : o;
|
|
25
|
+
}, n = i({}), r = i(), f = () => {
|
|
26
|
+
var t;
|
|
27
|
+
const { initCode: o } = p(e);
|
|
28
|
+
n.value = o(e == null ? void 0 : e.getFunc), r.value = (t = n == null ? void 0 : n.value) == null ? void 0 : t.curValue, l();
|
|
29
|
+
};
|
|
30
|
+
return F(() => {
|
|
31
|
+
f();
|
|
32
|
+
}), a({
|
|
33
|
+
save: d
|
|
34
|
+
}), (o, t) => (C(), x(V(E(u)), {
|
|
35
|
+
modelValue: r.value,
|
|
36
|
+
"onUpdate:modelValue": t[0] || (t[0] = (v) => r.value = v),
|
|
37
|
+
ref_key: "editorRef",
|
|
38
|
+
ref: m
|
|
39
|
+
}, null, 8, ["modelValue"]));
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
export {
|
|
43
|
+
H as default
|
|
44
|
+
};
|