hldesigner 0.0.199 → 0.0.201
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-8f74c4da.js +44 -0
- package/{alert-widget-8578fbe7.js → alert-widget-b546bb2d.js} +23 -22
- package/{anchor-widget-ceeabf3f.js → anchor-widget-d2151802.js} +20 -19
- package/{auto-complete-widget-64f54cd6.js → auto-complete-widget-fddd4a84.js} +23 -22
- package/avatar-widget-8d43c65e.js +44 -0
- package/{backtop-widget-9de51b39.js → backtop-widget-f759f979.js} +23 -22
- package/badge-widget-7d808827.js +50 -0
- package/{barcode-widget-9c8b37b8.js → barcode-widget-15cffe12.js} +20 -19
- package/{baseImp-e49d2773.js → baseImp-d6a218bb.js} +692 -695
- package/{breadcrumb-widget-792bcaf6.js → breadcrumb-widget-38b90fa5.js} +20 -19
- package/{button-widget-f1c5236f.js → button-widget-891afd62.js} +23 -22
- package/{cache-widget-5fa60ec6.js → cache-widget-0a2e057f.js} +22 -21
- package/{card-widget-e512515a.js → card-widget-2cec5977.js} +21 -20
- package/{carousel-widget-3696c44d.js → carousel-widget-02bb450a.js} +21 -20
- package/{cascader-widget-e5c5f825.js → cascader-widget-86b28875.js} +22 -21
- package/{chart-widget-3e54a5bb.js → chart-widget-c1628eda.js} +25 -24
- package/{checkbox-widget-564de2c7.js → checkbox-widget-10b26d14.js} +22 -21
- package/{collapse-widget-51d7cf71.js → collapse-widget-0553b7dd.js} +29 -28
- package/{color-picker-widget-fc1cbd99.js → color-picker-widget-a567e0ef.js} +22 -21
- package/common-editor-eec61891.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-5288de3c.js} +2 -2
- package/{configItem-022c3a03.js → configItem-fd6e3d70.js} +43 -42
- package/{cont-cell-widget-a130b8db.js → cont-cell-widget-5ad09292.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-de602061.js} +5 -5
- package/{cont-widget-7f0e150f.js → cont-widget-c43c8c8d.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-28f83b2f.js} +43 -42
- package/{cssIndex-8e8522e2.js → cssIndex-cf6e26c2.js} +61 -60
- package/customClass-editor-eada8588.js +46 -0
- package/{date-picker-range-widget-3c7a0942.js → date-picker-range-widget-f96a61eb.js} +22 -21
- package/{date-picker-widget-037ceb37.js → date-picker-widget-0434db7a.js} +22 -21
- package/default-config-ff144435.js +158 -0
- package/default-slot-widget-f03e4504.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-31178565.js} +10 -9
- package/{descriptions-widget-4d59d506.js → descriptions-widget-09a2118d.js} +28 -27
- package/designer.es.js +36 -35
- package/designer.style.css +1 -1
- package/designer.umd.js +406 -402
- package/{dialog-fd389629.js → dialog-24d066bb.js} +2 -2
- package/dialog-widget-09aa1dc0.js +38 -0
- package/{divider-widget-352dabc2.js → divider-widget-f3d54684.js} +23 -22
- package/{drag-wrapper-c5f36a3f.js → drag-wrapper-f692accc.js} +25 -24
- package/drawer-widget-b05b4bec.js +38 -0
- package/{dropdown-widget-e6f407a3.js → dropdown-widget-272149d0.js} +21 -20
- package/{editor-wrapper-037968c2.js → editor-wrapper-de61651b.js} +159 -158
- package/{emitter-fd99ee94.js → emitter-22bcad26.js} +1 -1
- package/empty-widget-51623b09.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-e19e0b32.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-af234c23.js} +5 -5
- package/{field-editor-a074e424.js → field-editor-579806aa.js} +26 -25
- package/{fieldobj-e53244c0.js → fieldobj-fe7d8eae.js} +1 -1
- package/{file-upload-widget-7c1c900b.js → file-upload-widget-bcf491db.js} +27 -26
- package/{form-item-wrapper-75976438.js → form-item-wrapper-f8359511.js} +16 -15
- package/{form-widget-10dd2246.js → form-widget-1636499a.js} +70 -69
- package/{grid-col-widget-1f1a8714.js → grid-col-widget-185cbdc3.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-ebfc0847.js} +5 -5
- package/{grid-widget-d9c98e1e.js → grid-widget-07bd720f.js} +5 -5
- package/{html-text-widget-ead52952.js → html-text-widget-a60ef211.js} +24 -23
- package/{icon-widget-0d09fa31.js → icon-widget-5429e06c.js} +20 -19
- package/iframe-widget-348a6ae0.js +112 -0
- package/{image-editor-87c1fa97.js → image-editor-f2e05b21.js} +21 -20
- package/{image-widget-5304b99a.js → image-widget-4a96afc4.js} +20 -19
- package/{index-37761d29.js → index-0ac18795.js} +25 -24
- package/index-1521518c.js +44 -0
- package/{index-29a9d260.js → index-1fdce917.js} +28 -27
- package/{index-8faf4a86.js → index-2aa1f947.js} +19 -18
- package/{index-5df9e1e9.js → index-2cc63818.js} +58 -57
- package/{index-afcc0cb2.js → index-46b0b760.js} +31 -30
- package/{index-ddb14013.js → index-47333282.js} +32 -31
- package/index-4c7a5574.js +159 -0
- package/{index-ea246120.js → index-57ba032d.js} +32 -31
- package/{index-132e54f6.js → index-5b1b6b83.js} +40 -39
- 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-8135dac5.js +138 -0
- 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-4768c271.js → index-a9b325de.js} +31 -30
- package/{index-5663497c.js → index-b07f673f.js} +28 -27
- package/{index-471b1b77.js → index-b13ffbde.js} +88 -87
- package/{index-972b5e7d.js → index-b6dd9f73.js} +12 -11
- package/{index-d9faf252.js → index-bea889ff.js} +47 -46
- package/index-c5184e79.js +171 -0
- package/{index-fd5e4e75.js → index-cb040833.js} +30 -29
- package/{index-edba8ac2.js → index-e6f28811.js} +9 -8
- package/{index-c0ac6679.js → index-f328b549.js} +1 -1
- package/{input-number-widget-5b91814d.js → input-number-widget-04f45a41.js} +22 -21
- package/{input-widget-9f9f1e86.js → input-widget-a1da041a.js} +23 -22
- package/{install-designer-092182cc.js → install-designer-4a8d1f63.js} +105 -104
- 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-598b5b22.js} +23 -22
- package/{ltable-col-widget-7198f180.js → ltable-col-widget-522f017c.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-75605fb3.js} +9 -9
- package/{ltable-widget-8e240c9e.js → ltable-widget-b11dfaa7.js} +5 -5
- package/{menu-widget-b30f1aa4.js → menu-widget-ea24d6e2.js} +43 -42
- package/{model-widget-e8b3f795.js → model-widget-73c504eb.js} +29 -28
- package/{multirow-70766faf.js → multirow-ffe06a40.js} +50 -49
- package/{multirow-widget-b7d121ce.js → multirow-widget-b104dc82.js} +80 -79
- package/{name-editor-f2e09a2a.js → name-editor-c57fa584.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-8d597e68.js} +27 -26
- package/{picture-upload-widget-3c439623.js → picture-upload-widget-1d0f1051.js} +23 -22
- package/{progress-widget-3deb6d65.js → progress-widget-41ffc2ef.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-40333423.js} +28 -27
- package/{radio-widget-b37f2efa.js → radio-widget-0a9ebe4a.js} +22 -21
- package/{range-widget-9e9d1d91.js → range-widget-3ada2203.js} +26 -25
- package/{rate-widget-f2df42ca.js → rate-widget-f8b8f99d.js} +22 -21
- package/{reg-editor.vue_vue_type_script_setup_true_lang-552964b4.js → reg-editor.vue_vue_type_script_setup_true_lang-6de98aaf.js} +3 -3
- package/{result-widget-064d580f.js → result-widget-e0ac9f82.js} +26 -25
- package/{rich-editor-widget-f8c3a359.js → rich-editor-widget-b2dd6bb6.js} +29 -28
- package/{router-widget-c3c1dcbe.js → router-widget-7f3ec909.js} +26 -25
- package/{schemaData-4b6c8f93.js → schemaData-4017f436.js} +117 -113
- package/{select-widget-115c19eb.js → select-widget-921473b5.js} +75 -74
- package/{sfc-8e1699a5.js → sfc-e33575d5.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-6a803d24.js} +194 -193
- package/{share-file-c09f38d7.js → share-file-8cdff0b8.js} +15 -14
- package/{size-editor-19b9771a.js → size-editor-12dd102a.js} +22 -21
- package/{slider-widget-8ffc9a9e.js → slider-widget-9bd9ec61.js} +22 -21
- package/slot-7f311368.js +289 -0
- package/{static-text-widget-bfd431fd.js → static-text-widget-cf98a7e0.js} +23 -22
- package/{steps-widget-62708fc5.js → steps-widget-fbec5e05.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-6bd7f590.js} +22 -21
- package/{tab-pane-widget-4f6477b7.js → tab-pane-widget-ef6607e2.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-c7731dcc.js} +5 -5
- package/table-col-widget-31391bb9.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-366f4dd0.js} +6 -6
- package/{table-widget-48472910.js → table-widget-276ea624.js} +29 -28
- package/{tabs-widget-223c7b43.js → tabs-widget-bdd20f4b.js} +33 -32
- package/tag-widget-b1508f54.js +44 -0
- package/{target-code-faf94048.js → target-code-2d47464a.js} +13 -12
- package/{target-datasource-ce8ef09f.js → target-datasource-ea1f2325.js} +89 -88
- package/{target-link-365f24d0.js → target-link-829883f9.js} +58 -57
- package/{target-saveForm-96b58000.js → target-saveForm-ae97864c.js} +40 -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-d3392b18.js +44 -0
- package/textarea-widget-58adc5b4.js +61 -0
- package/{time-picker-range-widget-181b8b60.js → time-picker-range-widget-3a423b2a.js} +24 -23
- package/{time-picker-widget-9f410605.js → time-picker-widget-c5d3ead1.js} +22 -21
- package/{time-select-widget-28d4139e.js → time-select-widget-1f9f7948.js} +22 -21
- package/{tmpl-widget-43e82eef.js → tmpl-widget-514adf7f.js} +21 -20
- package/{tree-select-widget-6f671e54.js → tree-select-widget-64066e90.js} +35 -34
- package/{tree-widget-a0eee231.js → tree-widget-fe2e8d91.js} +27 -26
- package/{uuid-ff3b37ed.js → uuid-d9f857bf.js} +1 -1
- package/{value-editor-2b6e96e5.js → value-editor-7ec22a07.js} +29 -28
- package/{verifycode-widget-c09fbb3c.js → verifycode-widget-a14df363.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-e8084058.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/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,23 +1,24 @@
|
|
|
1
|
-
import { defineComponent as me, ref as x, computed as E, onMounted as ve, resolveComponent as
|
|
2
|
-
import {
|
|
3
|
-
import { aD as d, as as
|
|
4
|
-
import { b as
|
|
5
|
-
import { b as
|
|
6
|
-
import { u as
|
|
7
|
-
import { S as N } from "./index-
|
|
8
|
-
import { u as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import "./
|
|
1
|
+
import { defineComponent as me, ref as x, computed as E, onMounted as ve, resolveComponent as L, openBlock as m, createElementBlock as z, Fragment as ge, createVNode as F, withCtx as f, createElementVNode as O, createBlock as h, resolveDynamicComponent as G, unref as o, isRef as ke, createTextVNode as R, toDisplayString as S, createCommentVNode as D, renderSlot as be } from "vue";
|
|
2
|
+
import { t as M, a as I } from "./enum-type-339a584b.js";
|
|
3
|
+
import { aD as d, as as he } from "./enum-type-50a08ddf.js";
|
|
4
|
+
import { b as Ke } from "./optionItem-94e8e557.js";
|
|
5
|
+
import { b as we } from "./setView-de8aaf40.js";
|
|
6
|
+
import { u as Fe } from "./icon-6342f929.js";
|
|
7
|
+
import { S as N } from "./index-6d72c605.js";
|
|
8
|
+
import { u as De } from "./share-event-2000a2e4.js";
|
|
9
|
+
import { y as j, B as Ve, e as Ce } from "./obj-469b8636.js";
|
|
10
|
+
import { a as Q } from "./index-f328b549.js";
|
|
11
|
+
import { P as X, $ as Te } from "./baseImp-d6a218bb.js";
|
|
12
|
+
import { g as xe } from "./uuid-d9f857bf.js";
|
|
13
|
+
import "./expression-cf83c895.js";
|
|
13
14
|
import "./source-map-b04aec4a.js";
|
|
14
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
16
|
import "./esprima-e8d15055.js";
|
|
16
17
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
17
|
-
import "./emitter-
|
|
18
|
-
import "./dialog-
|
|
18
|
+
import "./emitter-22bcad26.js";
|
|
19
|
+
import "./dialog-24d066bb.js";
|
|
19
20
|
import "element-plus";
|
|
20
|
-
const Oe = { class: "flexJustify" }, Se = { class: "labelWrapper" },
|
|
21
|
+
const Oe = { class: "flexJustify" }, Se = { class: "labelWrapper" }, $e = { key: 1 }, Be = { class: "buttonWrapper" }, Ee = { class: "marginTop10" }, el = /* @__PURE__ */ me({
|
|
21
22
|
__name: "index",
|
|
22
23
|
props: {
|
|
23
24
|
modelValue: null,
|
|
@@ -61,10 +62,10 @@ const Oe = { class: "flexJustify" }, Se = { class: "labelWrapper" }, Le = { key:
|
|
|
61
62
|
e.tools && ((_ = e.tools) == null ? void 0 : _.length) > 0 && (k.value = e.tools);
|
|
62
63
|
const Y = () => {
|
|
63
64
|
P("importData");
|
|
64
|
-
}, { getInstance: Z } =
|
|
65
|
+
}, { getInstance: Z } = Fe(), { popOverHandler: ee, drawerHandler: le } = De({ instance: Z() }), { setTreeView: W } = we(), V = x({}), v = E({
|
|
65
66
|
get: () => e.modelValue,
|
|
66
67
|
set: (l) => {
|
|
67
|
-
|
|
68
|
+
B(), P("update:modelValue", l);
|
|
68
69
|
}
|
|
69
70
|
});
|
|
70
71
|
let g = {}, A = !1;
|
|
@@ -79,10 +80,10 @@ const Oe = { class: "flexJustify" }, Se = { class: "labelWrapper" }, Le = { key:
|
|
|
79
80
|
}, J = (l) => {
|
|
80
81
|
g = l, A = !0;
|
|
81
82
|
let n = q();
|
|
82
|
-
var u = e.newOptionFn ? e.newOptionFn(e.keys, n, e.widgetType) :
|
|
83
|
-
u = { ...u }, V.value = u,
|
|
83
|
+
var u = e.newOptionFn ? e.newOptionFn(e.keys, n, e.widgetType) : Ke(e.keys, n, e.widgetType);
|
|
84
|
+
u = { ...u }, V.value = u, $();
|
|
84
85
|
}, ne = (l, n) => {
|
|
85
|
-
n && (A = !1, V.value = n,
|
|
86
|
+
n && (A = !1, V.value = n, $());
|
|
86
87
|
}, ue = (l, n) => {
|
|
87
88
|
var y;
|
|
88
89
|
const u = (a) => {
|
|
@@ -90,33 +91,33 @@ const Oe = { class: "flexJustify" }, Se = { class: "labelWrapper" }, Le = { key:
|
|
|
90
91
|
var i = {};
|
|
91
92
|
if (e.cloneOptionFn)
|
|
92
93
|
i = e.cloneOptionFn(a, e.widgetType);
|
|
93
|
-
else if (i =
|
|
94
|
+
else if (i = Ce(a), i == null || delete i[p], i[e.valueKey] = q(), ((t = a == null ? void 0 : a[p]) == null ? void 0 : t.length) > 0) {
|
|
94
95
|
const T = (s = Array.from(a == null ? void 0 : a[p])) == null ? void 0 : s.map((b) => u(b));
|
|
95
96
|
i[e.childrenKey] = T;
|
|
96
97
|
}
|
|
97
98
|
return i;
|
|
98
99
|
};
|
|
99
100
|
var c = u(n);
|
|
100
|
-
l.parent.data && ((y = l.parent.data) != null && y[p] ? l.parent.data[p].push(c) : l.parent.data.push(c)),
|
|
101
|
+
l.parent.data && ((y = l.parent.data) != null && y[p] ? l.parent.data[p].push(c) : l.parent.data.push(c)), B();
|
|
101
102
|
}, ie = (l, n) => {
|
|
102
103
|
Te.delete().then(() => {
|
|
103
104
|
var i, t, s, T;
|
|
104
105
|
let u = (i = l.parent) == null ? void 0 : i.childNodes;
|
|
105
106
|
const c = u == null ? void 0 : u.find((b) => (b == null ? void 0 : b[K]) === (l == null ? void 0 : l[K])), y = ((s = (t = c == null ? void 0 : c.parent) == null ? void 0 : t.data) == null ? void 0 : s[p]) || ((T = c == null ? void 0 : c.parent) == null ? void 0 : T.data);
|
|
106
107
|
var a = y == null ? void 0 : y.findIndex((b) => b === n);
|
|
107
|
-
a >= 0 && (y.splice(a, 1), v.value = [...v.value],
|
|
108
|
+
a >= 0 && (y.splice(a, 1), v.value = [...v.value], B(), W(C));
|
|
108
109
|
});
|
|
109
110
|
}, re = () => {
|
|
110
|
-
|
|
111
|
+
$(!1);
|
|
111
112
|
}, oe = () => {
|
|
112
|
-
A && (g && !(g != null && g[p]) && Object.assign(g, { [p]: [] }), g != null && g[p] ? g[p].push(V.value) : v.value.push(V.value)), v.value = [...v.value], W(C),
|
|
113
|
+
A && (g && !(g != null && g[p]) && Object.assign(g, { [p]: [] }), g != null && g[p] ? g[p].push(V.value) : v.value.push(V.value)), v.value = [...v.value], W(C), $(!1);
|
|
113
114
|
}, se = (l, n, u) => {
|
|
114
115
|
var i, t;
|
|
115
116
|
if (u === "inner")
|
|
116
117
|
return;
|
|
117
118
|
const c = (i = l.data) == null ? void 0 : i[K], y = (t = n.data) == null ? void 0 : t[K];
|
|
118
119
|
let a = [];
|
|
119
|
-
return
|
|
120
|
+
return j(
|
|
120
121
|
v.value,
|
|
121
122
|
e.childrenKey,
|
|
122
123
|
(s) => (s == null ? void 0 : s[K]) === c,
|
|
@@ -128,20 +129,20 @@ const Oe = { class: "flexJustify" }, Se = { class: "labelWrapper" }, Le = { key:
|
|
|
128
129
|
e.multiple ? w.value = [] : w.value = "";
|
|
129
130
|
}, de = E(() => {
|
|
130
131
|
var l = [];
|
|
131
|
-
|
|
132
|
+
j(v.value, e.childrenKey, (u) => e.isDefaultFn ? e.isDefaultFn(u) : u.isdefault, (u) => {
|
|
132
133
|
l.push(u);
|
|
133
134
|
});
|
|
134
135
|
var n = l == null ? void 0 : l.map((u) => e.getDefaultFn ? e.getDefaultFn(u, e.valueKey) : u[e.valueKey]);
|
|
135
|
-
return
|
|
136
|
+
return M(n, !!e.multiple);
|
|
136
137
|
}), U = x(), w = E({
|
|
137
138
|
get: () => U.value || de.value,
|
|
138
139
|
set: (l) => {
|
|
139
140
|
U.value = l, fe(l);
|
|
140
141
|
}
|
|
141
142
|
}), ce = (l) => {
|
|
142
|
-
|
|
143
|
+
j(v.value, e.childrenKey, (n) => {
|
|
143
144
|
var u;
|
|
144
|
-
return e.findDefaultFn ? e.findDefaultFn(n, l) : (u =
|
|
145
|
+
return e.findDefaultFn ? e.findDefaultFn(n, l) : (u = M(l, !0)) == null ? void 0 : u.includes(n[e.valueKey]);
|
|
145
146
|
}, (n) => {
|
|
146
147
|
e.setDefaultFn ? e.setDefaultFn(n, !0) : n.isdefault = !0;
|
|
147
148
|
}, (n) => {
|
|
@@ -151,15 +152,15 @@ const Oe = { class: "flexJustify" }, Se = { class: "labelWrapper" }, Le = { key:
|
|
|
151
152
|
ce(l), P("updateDefaultValue", l);
|
|
152
153
|
}, H = x(), pe = () => {
|
|
153
154
|
var l;
|
|
154
|
-
w.value && e.multiple && ((l = H.value) == null || l.setCheckedKeys(
|
|
155
|
-
}, ye = E(() => e.multiple !== void 0), C = x(),
|
|
155
|
+
w.value && e.multiple && ((l = H.value) == null || l.setCheckedKeys(M(w.value, !0)));
|
|
156
|
+
}, ye = E(() => e.multiple !== void 0), C = x(), $ = (l = !0) => {
|
|
156
157
|
if (!e.showEditor)
|
|
157
158
|
return;
|
|
158
|
-
(e.editorType ===
|
|
159
|
+
(e.editorType === he.drawer ? le : ee)({
|
|
159
160
|
attrs: {
|
|
160
161
|
triggerRef: C,
|
|
161
162
|
visible: l,
|
|
162
|
-
data:
|
|
163
|
+
data: Ve(V.value, e.dataPath),
|
|
163
164
|
widgetType: e.widgetType,
|
|
164
165
|
keys: e.keys,
|
|
165
166
|
path: e.path,
|
|
@@ -170,18 +171,18 @@ const Oe = { class: "flexJustify" }, Se = { class: "labelWrapper" }, Le = { key:
|
|
|
170
171
|
cancel: re
|
|
171
172
|
}
|
|
172
173
|
});
|
|
173
|
-
},
|
|
174
|
+
}, B = () => {
|
|
174
175
|
setTimeout(() => {
|
|
175
176
|
var l;
|
|
176
177
|
(l = H.value) == null || l.filter("");
|
|
177
178
|
}, 2e3);
|
|
178
179
|
};
|
|
179
180
|
return ve(() => {
|
|
180
|
-
|
|
181
|
+
B(), setTimeout(() => {
|
|
181
182
|
W(C);
|
|
182
183
|
}, 1e3 * 2), pe();
|
|
183
184
|
}), (l, n) => {
|
|
184
|
-
const u =
|
|
185
|
+
const u = L("el-button"), c = L("el-tree"), y = L("el-card"), a = L("el-button-group");
|
|
185
186
|
return m(), z(ge, null, [
|
|
186
187
|
F(y, {
|
|
187
188
|
style: { "overflow-x": "auto" },
|
|
@@ -222,12 +223,12 @@ const Oe = { class: "flexJustify" }, Se = { class: "labelWrapper" }, Le = { key:
|
|
|
222
223
|
disabled: !!r.onlyLeafSelect && !i.isLeaf || r.disabledKey && (t == null ? void 0 : t[r.disabledKey])
|
|
223
224
|
}, {
|
|
224
225
|
default: f(() => [
|
|
225
|
-
|
|
226
|
+
R(S(o(X).getValue(o(Q)(r.labelKey, t))), 1)
|
|
226
227
|
]),
|
|
227
228
|
_: 2
|
|
228
|
-
}, 1032, ["value", "disabled"])) : (m(), z("span",
|
|
229
|
+
}, 1032, ["value", "disabled"])) : (m(), z("span", $e, S(o(X).getValue(o(Q)(r.labelKey, t))), 1))
|
|
229
230
|
]),
|
|
230
|
-
O("span",
|
|
231
|
+
O("span", Be, [
|
|
231
232
|
(i == null ? void 0 : i.level) < r.maxLevel && k.value.includes(o(d).add) ? (m(), h(u, {
|
|
232
233
|
key: 0,
|
|
233
234
|
link: "",
|
|
@@ -294,7 +295,7 @@ const Oe = { class: "flexJustify" }, Se = { class: "labelWrapper" }, Le = { key:
|
|
|
294
295
|
onClick: n[1] || (n[1] = (i) => J(null))
|
|
295
296
|
}, {
|
|
296
297
|
default: f(() => [
|
|
297
|
-
|
|
298
|
+
R(S(o(I).i18nt("designer.setting.addOption")), 1)
|
|
298
299
|
]),
|
|
299
300
|
_: 1
|
|
300
301
|
})) : D("", !0),
|
|
@@ -304,7 +305,7 @@ const Oe = { class: "flexJustify" }, Se = { class: "labelWrapper" }, Le = { key:
|
|
|
304
305
|
onClick: n[2] || (n[2] = (i) => Y())
|
|
305
306
|
}, {
|
|
306
307
|
default: f(() => [
|
|
307
|
-
|
|
308
|
+
R(S(o(I).i18nt("designer.setting.importOptions")), 1)
|
|
308
309
|
]),
|
|
309
310
|
_: 1
|
|
310
311
|
})) : D("", !0),
|
|
@@ -314,7 +315,7 @@ const Oe = { class: "flexJustify" }, Se = { class: "labelWrapper" }, Le = { key:
|
|
|
314
315
|
onClick: ae
|
|
315
316
|
}, {
|
|
316
317
|
default: f(() => [
|
|
317
|
-
|
|
318
|
+
R(S(o(I).i18nt("designer.setting.resetDefault")), 1)
|
|
318
319
|
]),
|
|
319
320
|
_: 1
|
|
320
321
|
})) : D("", !0)
|
|
@@ -328,5 +329,5 @@ const Oe = { class: "flexJustify" }, Se = { class: "labelWrapper" }, Le = { key:
|
|
|
328
329
|
}
|
|
329
330
|
});
|
|
330
331
|
export {
|
|
331
|
-
|
|
332
|
+
el as default
|
|
332
333
|
};
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { defineComponent as z, ref as a, shallowRef as A, computed as M, watch as W, onMounted as j, nextTick as q, resolveComponent as k, openBlock as u, createBlock as f, withCtx as c, resolveDynamicComponent as J, unref as i, mergeProps as O, createElementVNode as g, createTextVNode as y, toDisplayString as v, createCommentVNode as U, createVNode as C, defineAsyncComponent as n } from "vue";
|
|
2
|
+
import { c as $, a as h } from "./enum-type-339a584b.js";
|
|
3
|
+
import { bo as r } from "./enum-type-50a08ddf.js";
|
|
4
|
+
import { Delete as F } from "./index-ddd23411.js";
|
|
5
|
+
import { P as x } from "./baseImp-d6a218bb.js";
|
|
6
|
+
import "./obj-469b8636.js";
|
|
7
|
+
import "./expression-cf83c895.js";
|
|
8
|
+
import "./source-map-b04aec4a.js";
|
|
9
|
+
import "./uuid-d9f857bf.js";
|
|
10
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
11
|
+
import "./esprima-e8d15055.js";
|
|
12
|
+
import "./icon-6342f929.js";
|
|
13
|
+
import "./dialog-24d066bb.js";
|
|
14
|
+
import "element-plus";
|
|
15
|
+
const G = { class: "flexJustify" }, le = /* @__PURE__ */ z({
|
|
16
|
+
__name: "index",
|
|
17
|
+
props: {
|
|
18
|
+
props: { type: Object },
|
|
19
|
+
dialogType: { type: String },
|
|
20
|
+
title: { type: String },
|
|
21
|
+
visible: { type: Boolean },
|
|
22
|
+
maximize: { type: Boolean },
|
|
23
|
+
height: { type: String },
|
|
24
|
+
width: { type: String }
|
|
25
|
+
},
|
|
26
|
+
emits: ["confirm", "cancel"],
|
|
27
|
+
setup(s, { emit: d }) {
|
|
28
|
+
const t = s, _ = a(t.visible), w = a(t.props), m = a(), b = A(), p = a(), B = () => {
|
|
29
|
+
var o;
|
|
30
|
+
var e = (o = m.value) == null ? void 0 : o.save();
|
|
31
|
+
p.value = !0, d("confirm", e);
|
|
32
|
+
}, S = () => {
|
|
33
|
+
p.value = !0, d("cancel");
|
|
34
|
+
}, V = () => {
|
|
35
|
+
p.value || d("cancel");
|
|
36
|
+
}, T = (e) => {
|
|
37
|
+
if (t.visible)
|
|
38
|
+
switch (e) {
|
|
39
|
+
case r.var:
|
|
40
|
+
return n(() => import("./index-9c8ab628.js"));
|
|
41
|
+
case r.formula:
|
|
42
|
+
return n(() => import("./index-cb040833.js"));
|
|
43
|
+
case r.targetEvent:
|
|
44
|
+
return n(() => import("./index-46b0b760.js"));
|
|
45
|
+
case r.schema:
|
|
46
|
+
return n(() => import("./index-b6dd9f73.js"));
|
|
47
|
+
case r.relateWithWidget:
|
|
48
|
+
return n(() => import("./index-b07f673f.js"));
|
|
49
|
+
case r.html:
|
|
50
|
+
return n(() => import("./index-1521518c.js"));
|
|
51
|
+
case r.code:
|
|
52
|
+
default:
|
|
53
|
+
return n(() => import("./index-c5184e79.js"));
|
|
54
|
+
}
|
|
55
|
+
}, R = () => {
|
|
56
|
+
m.value.clear(), V();
|
|
57
|
+
}, E = M(() => {
|
|
58
|
+
var e, o, l;
|
|
59
|
+
return x.getVariable(x.get((e = t == null ? void 0 : t.props) == null ? void 0 : e.optionModel, (l = $((o = t == null ? void 0 : t.props) == null ? void 0 : o.propConfig)) == null ? void 0 : l.name));
|
|
60
|
+
}), N = a();
|
|
61
|
+
return W(() => t.dialogType, (e) => {
|
|
62
|
+
b.value = T(e);
|
|
63
|
+
}, { immediate: !0 }), j(() => {
|
|
64
|
+
t.height && q(() => {
|
|
65
|
+
var e = document.querySelectorAll(".dialog-class");
|
|
66
|
+
e == null || e.forEach((o) => {
|
|
67
|
+
o.style.height = t.height;
|
|
68
|
+
});
|
|
69
|
+
});
|
|
70
|
+
}), (e, o) => {
|
|
71
|
+
const l = k("el-button"), P = k("el-dialog");
|
|
72
|
+
return u(), f(P, {
|
|
73
|
+
title: s.title,
|
|
74
|
+
modelValue: _.value,
|
|
75
|
+
"onUpdate:modelValue": o[0] || (o[0] = (D) => _.value = D),
|
|
76
|
+
"show-close": !0,
|
|
77
|
+
"append-to-body": !0,
|
|
78
|
+
"close-on-click-modal": !1,
|
|
79
|
+
"close-on-press-escape": !1,
|
|
80
|
+
"align-center": !0,
|
|
81
|
+
"destroy-on-close": !0,
|
|
82
|
+
onClosed: V,
|
|
83
|
+
"lock-scroll": "",
|
|
84
|
+
draggable: "",
|
|
85
|
+
fullscreen: s.maximize,
|
|
86
|
+
width: s.width,
|
|
87
|
+
class: "dialog-class",
|
|
88
|
+
ref_key: "dialogRef",
|
|
89
|
+
ref: N
|
|
90
|
+
}, {
|
|
91
|
+
default: c(() => [
|
|
92
|
+
(u(), f(J(i(b)), O(w.value, {
|
|
93
|
+
ref_key: "editorRef",
|
|
94
|
+
ref: m
|
|
95
|
+
}), null, 16))
|
|
96
|
+
]),
|
|
97
|
+
footer: c(() => [
|
|
98
|
+
g("div", G, [
|
|
99
|
+
g("span", null, [
|
|
100
|
+
i(r).var === e.$props.dialogType && i(E) ? (u(), f(l, {
|
|
101
|
+
key: 0,
|
|
102
|
+
type: "danger",
|
|
103
|
+
icon: i(F),
|
|
104
|
+
onClick: R
|
|
105
|
+
}, {
|
|
106
|
+
default: c(() => [
|
|
107
|
+
y(v(i(h).i18nt("designer.hint.removeVariableBind")), 1)
|
|
108
|
+
]),
|
|
109
|
+
_: 1
|
|
110
|
+
}, 8, ["icon"])) : U("", !0)
|
|
111
|
+
]),
|
|
112
|
+
g("span", null, [
|
|
113
|
+
C(l, { onClick: S }, {
|
|
114
|
+
default: c(() => [
|
|
115
|
+
y(v(i(h).i18nt("designer.hint.cancel")), 1)
|
|
116
|
+
]),
|
|
117
|
+
_: 1
|
|
118
|
+
}),
|
|
119
|
+
C(l, {
|
|
120
|
+
type: "primary",
|
|
121
|
+
onClick: B
|
|
122
|
+
}, {
|
|
123
|
+
default: c(() => [
|
|
124
|
+
y(v(i(h).i18nt("designer.hint.confirm")), 1)
|
|
125
|
+
]),
|
|
126
|
+
_: 1
|
|
127
|
+
})
|
|
128
|
+
])
|
|
129
|
+
])
|
|
130
|
+
]),
|
|
131
|
+
_: 1
|
|
132
|
+
}, 8, ["title", "modelValue", "fullscreen", "width"]);
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
});
|
|
136
|
+
export {
|
|
137
|
+
le as default
|
|
138
|
+
};
|
|
@@ -2,17 +2,18 @@ var Df = Object.defineProperty;
|
|
|
2
2
|
var Lf = (n, e, t) => e in n ? Df(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
|
|
3
3
|
var fi = (n, e, t) => (Lf(n, typeof e != "symbol" ? e + "" : e, t), t);
|
|
4
4
|
import { defineComponent as Qa, shallowRef as vn, inject as Yf, computed as Fs, toRaw as Ef, onMounted as Vf, watch as ft, onBeforeUnmount as _f, h as Bf, useCssVars as jf, unref as Qs, ref as Po, reactive as zf, openBlock as Wf, createBlock as If, isRef as Gf, normalizeStyle as Nf, nextTick as Uf } from "vue";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { e as Hf } from "./obj-469b8636.js";
|
|
6
|
+
import { W as Ff, U as Kf, V as Jf } from "./baseImp-d6a218bb.js";
|
|
7
7
|
import { _ as eu } from "./_plugin-vue_export-helper-dad06003.js";
|
|
8
|
-
import "./enum-type-
|
|
9
|
-
import "./
|
|
8
|
+
import "./enum-type-339a584b.js";
|
|
9
|
+
import "./enum-type-50a08ddf.js";
|
|
10
|
+
import "./expression-cf83c895.js";
|
|
10
11
|
import "./source-map-b04aec4a.js";
|
|
11
|
-
import "./uuid-
|
|
12
|
+
import "./uuid-d9f857bf.js";
|
|
12
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
14
|
import "./esprima-e8d15055.js";
|
|
14
15
|
import "./icon-6342f929.js";
|
|
15
|
-
import "./dialog-
|
|
16
|
+
import "./dialog-24d066bb.js";
|
|
16
17
|
import "element-plus";
|
|
17
18
|
class _ {
|
|
18
19
|
/**
|
|
@@ -18057,7 +18058,7 @@ const Hs = (n, e, t, i = "span") => {
|
|
|
18057
18058
|
}, null, 8, ["modelValue", "style"]));
|
|
18058
18059
|
}
|
|
18059
18060
|
});
|
|
18060
|
-
const
|
|
18061
|
+
const Sy = /* @__PURE__ */ eu(ty, [["__scopeId", "data-v-58d91d7e"]]);
|
|
18061
18062
|
export {
|
|
18062
|
-
|
|
18063
|
+
Sy as default
|
|
18063
18064
|
};
|
|
@@ -1,41 +1,42 @@
|
|
|
1
1
|
import { defineComponent as u, ref as f, openBlock as _, createBlock as g, unref as v } from "vue";
|
|
2
|
-
import { I as V } from "./property-base-
|
|
3
|
-
import { u as x } from "./share-editor-
|
|
4
|
-
import { a as C, P as
|
|
5
|
-
import { s as P } from "./schemaData-
|
|
2
|
+
import { I as V } from "./property-base-847bea01.js";
|
|
3
|
+
import { u as x } from "./share-editor-2b290a2a.js";
|
|
4
|
+
import { a as C, P as a } from "./baseImp-d6a218bb.js";
|
|
5
|
+
import { s as P } from "./schemaData-4017f436.js";
|
|
6
6
|
import { _ as y } from "./_plugin-vue_export-helper-dad06003.js";
|
|
7
|
-
import "./enum-type-
|
|
8
|
-
import "./enum-type-
|
|
9
|
-
import "./
|
|
7
|
+
import "./enum-type-50a08ddf.js";
|
|
8
|
+
import "./enum-type-339a584b.js";
|
|
9
|
+
import "./obj-469b8636.js";
|
|
10
|
+
import "./expression-cf83c895.js";
|
|
10
11
|
import "./source-map-b04aec4a.js";
|
|
11
|
-
import "./uuid-
|
|
12
|
+
import "./uuid-d9f857bf.js";
|
|
12
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
14
|
import "./esprima-e8d15055.js";
|
|
14
15
|
import "./icon-6342f929.js";
|
|
15
|
-
import "./dialog-
|
|
16
|
+
import "./dialog-24d066bb.js";
|
|
16
17
|
import "element-plus";
|
|
17
18
|
import "./index-ddd23411.js";
|
|
18
19
|
import "./setView-de8aaf40.js";
|
|
19
20
|
const h = /* @__PURE__ */ u({
|
|
20
21
|
__name: "index",
|
|
21
22
|
props: { ...V, widgetList: { type: Array } },
|
|
22
|
-
setup(p, { expose:
|
|
23
|
+
setup(p, { expose: i }) {
|
|
23
24
|
var t;
|
|
24
|
-
const e = p, { propClearVariable:
|
|
25
|
-
return
|
|
25
|
+
const e = p, { propClearVariable: s } = x(e), { loadSchemaData: m } = C({ pageConfig: e.pageConfig }), l = a.getVariable(a.get(e.optionModel, (t = e.propConfig) == null ? void 0 : t.name)), o = f(l), n = m();
|
|
26
|
+
return i({
|
|
26
27
|
save: () => o.value,
|
|
27
28
|
clear: () => {
|
|
28
|
-
|
|
29
|
+
s();
|
|
29
30
|
}
|
|
30
|
-
}), (c,
|
|
31
|
+
}), (c, r) => (_(), g(P, {
|
|
31
32
|
"schema-list": v(n),
|
|
32
33
|
"all-fields": c.widgetList,
|
|
33
34
|
modelValue: o.value,
|
|
34
|
-
"onUpdate:modelValue":
|
|
35
|
+
"onUpdate:modelValue": r[0] || (r[0] = (d) => o.value = d)
|
|
35
36
|
}, null, 8, ["schema-list", "all-fields", "modelValue"]));
|
|
36
37
|
}
|
|
37
38
|
});
|
|
38
|
-
const
|
|
39
|
+
const O = /* @__PURE__ */ y(h, [["__scopeId", "data-v-8e40938c"]]);
|
|
39
40
|
export {
|
|
40
|
-
|
|
41
|
+
O as default
|
|
41
42
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
import { a as _ } from "./enum-type-
|
|
4
|
-
import { I as P } from "./dialog-
|
|
5
|
-
import { u as V } from "./uuid-
|
|
6
|
-
|
|
1
|
+
import { defineComponent as B, ref as c, onMounted as D, nextTick as E, resolveComponent as T, resolveDirective as L, openBlock as l, createBlock as s, normalizeStyle as M, withCtx as i, createElementVNode as N, unref as t, createTextVNode as f, toDisplayString as m, createCommentVNode as a, withDirectives as O, createElementBlock as p } from "vue";
|
|
2
|
+
import { a as g } from "./enum-type-339a584b.js";
|
|
3
|
+
import { a as _ } from "./enum-type-50a08ddf.js";
|
|
4
|
+
import { I as P } from "./dialog-24d066bb.js";
|
|
5
|
+
import { u as V } from "./uuid-d9f857bf.js";
|
|
6
|
+
import { c as $ } from "./obj-469b8636.js";
|
|
7
|
+
const j = { style: { width: "99%", height: "99%", margin: "0 auto" } }, W = ["src", "id"], A = ["id"], H = { class: "dialog-footer" }, U = /* @__PURE__ */ B({
|
|
7
8
|
__name: "index",
|
|
8
9
|
props: { ...P },
|
|
9
10
|
emits: ["ok", "cancel", "close"],
|
|
@@ -11,23 +12,23 @@ const $ = { style: { width: "99%", height: "99%", margin: "0 auto" } }, W = ["sr
|
|
|
11
12
|
const y = z, h = c(!0), n = c(), v = c(!0), k = () => {
|
|
12
13
|
v.value = !1;
|
|
13
14
|
}, R = () => {
|
|
14
|
-
if (
|
|
15
|
+
if ($(y.htmlContent))
|
|
15
16
|
return;
|
|
16
17
|
const e = n.value;
|
|
17
18
|
if (e) {
|
|
18
|
-
const
|
|
19
|
-
|
|
19
|
+
const o = e.contentWindow.document;
|
|
20
|
+
o.open(), o.write(y.htmlContent), o.close();
|
|
20
21
|
}
|
|
21
22
|
};
|
|
22
|
-
return
|
|
23
|
-
|
|
23
|
+
return D(() => {
|
|
24
|
+
E(() => {
|
|
24
25
|
R();
|
|
25
26
|
});
|
|
26
|
-
}), (e,
|
|
27
|
-
const u = T("el-button"), I = T("el-dialog"), S =
|
|
27
|
+
}), (e, o) => {
|
|
28
|
+
const u = T("el-button"), I = T("el-dialog"), S = L("loading");
|
|
28
29
|
return l(), s(I, {
|
|
29
30
|
modelValue: h.value,
|
|
30
|
-
"onUpdate:modelValue":
|
|
31
|
+
"onUpdate:modelValue": o[3] || (o[3] = (r) => h.value = r),
|
|
31
32
|
class: "--hl-dialog1",
|
|
32
33
|
fullscreen: e.fullscreen,
|
|
33
34
|
title: e.title,
|
|
@@ -36,46 +37,46 @@ const $ = { style: { width: "99%", height: "99%", margin: "0 auto" } }, W = ["sr
|
|
|
36
37
|
"close-on-press-escape": !1,
|
|
37
38
|
"show-close": !0,
|
|
38
39
|
top: "15vh",
|
|
39
|
-
style:
|
|
40
|
+
style: M({ height: e.height })
|
|
40
41
|
}, {
|
|
41
42
|
footer: i(() => {
|
|
42
43
|
var r, w, C;
|
|
43
44
|
return [
|
|
44
|
-
|
|
45
|
-
(r = e.dialogType) != null && r.includes(
|
|
45
|
+
N("span", H, [
|
|
46
|
+
(r = e.dialogType) != null && r.includes(t(_).close) ? (l(), s(u, {
|
|
46
47
|
key: 0,
|
|
47
|
-
onClick:
|
|
48
|
+
onClick: o[0] || (o[0] = (b) => {
|
|
48
49
|
d("close", {});
|
|
49
50
|
}),
|
|
50
51
|
size: "large"
|
|
51
52
|
}, {
|
|
52
53
|
default: i(() => [
|
|
53
|
-
f(m(
|
|
54
|
+
f(m(t(g).i18nt("designer.hint.close")), 1)
|
|
54
55
|
]),
|
|
55
56
|
_: 1
|
|
56
57
|
})) : a("", !0),
|
|
57
|
-
(w = e.dialogType) != null && w.includes(
|
|
58
|
+
(w = e.dialogType) != null && w.includes(t(_).cancel) ? (l(), s(u, {
|
|
58
59
|
key: 1,
|
|
59
|
-
onClick:
|
|
60
|
+
onClick: o[1] || (o[1] = (b) => {
|
|
60
61
|
d("cancel", { iframeRef: n.value });
|
|
61
62
|
}),
|
|
62
63
|
size: "large"
|
|
63
64
|
}, {
|
|
64
65
|
default: i(() => [
|
|
65
|
-
f(m(
|
|
66
|
+
f(m(t(g).i18nt("designer.hint.close")), 1)
|
|
66
67
|
]),
|
|
67
68
|
_: 1
|
|
68
69
|
})) : a("", !0),
|
|
69
|
-
(C = e.dialogType) != null && C.includes(
|
|
70
|
+
(C = e.dialogType) != null && C.includes(t(_).save) ? (l(), s(u, {
|
|
70
71
|
key: 2,
|
|
71
72
|
type: "primary",
|
|
72
|
-
onClick:
|
|
73
|
+
onClick: o[2] || (o[2] = (b) => {
|
|
73
74
|
d("ok", { iframeRef: n.value });
|
|
74
75
|
}),
|
|
75
76
|
size: "large"
|
|
76
77
|
}, {
|
|
77
78
|
default: i(() => [
|
|
78
|
-
f(m(
|
|
79
|
+
f(m(t(g).i18nt("designer.hint.confirm")), 1)
|
|
79
80
|
]),
|
|
80
81
|
_: 1
|
|
81
82
|
})) : a("", !0)
|
|
@@ -83,7 +84,7 @@ const $ = { style: { width: "99%", height: "99%", margin: "0 auto" } }, W = ["sr
|
|
|
83
84
|
];
|
|
84
85
|
}),
|
|
85
86
|
default: i(() => [
|
|
86
|
-
|
|
87
|
+
O((l(), p("div", j, [
|
|
87
88
|
e.url ? (l(), p("iframe", {
|
|
88
89
|
key: 0,
|
|
89
90
|
frameborder: "0",
|
|
@@ -92,14 +93,14 @@ const $ = { style: { width: "99%", height: "99%", margin: "0 auto" } }, W = ["sr
|
|
|
92
93
|
style: { width: "100%", height: "100%" },
|
|
93
94
|
src: e.url,
|
|
94
95
|
onLoad: k,
|
|
95
|
-
id:
|
|
96
|
+
id: t(V)()
|
|
96
97
|
}, null, 40, W)) : e.htmlContent ? (l(), p("iframe", {
|
|
97
98
|
key: 1,
|
|
98
99
|
frameborder: "0",
|
|
99
100
|
ref_key: "iframeRef",
|
|
100
101
|
ref: n,
|
|
101
102
|
style: { width: "100%", height: "100%" },
|
|
102
|
-
id:
|
|
103
|
+
id: t(V)(),
|
|
103
104
|
onLoad: k
|
|
104
105
|
}, null, 40, A)) : a("", !0)
|
|
105
106
|
])), [
|
|
@@ -111,10 +112,10 @@ const $ = { style: { width: "99%", height: "99%", margin: "0 auto" } }, W = ["sr
|
|
|
111
112
|
};
|
|
112
113
|
}
|
|
113
114
|
});
|
|
114
|
-
const
|
|
115
|
+
const X = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
115
116
|
__proto__: null,
|
|
116
117
|
default: U
|
|
117
118
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
118
119
|
export {
|
|
119
|
-
|
|
120
|
+
X as _
|
|
120
121
|
};
|