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,13 +1,14 @@
|
|
|
1
|
-
import { _ as o } from "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { _ as o } from "./label-wrapper.vue_vue_type_style_index_0_lang-0926028b.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "./field-base-5547436d.js";
|
|
4
4
|
import "./widget-base-4c2d6265.js";
|
|
5
|
-
import "./index-
|
|
6
|
-
import "./
|
|
5
|
+
import "./index-6d72c605.js";
|
|
6
|
+
import "./obj-469b8636.js";
|
|
7
7
|
import "./icon-6342f929.js";
|
|
8
8
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
9
|
-
import "./enum-type-
|
|
10
|
-
import "./
|
|
9
|
+
import "./enum-type-50a08ddf.js";
|
|
10
|
+
import "./enum-type-339a584b.js";
|
|
11
|
+
import "./fieldobj-fe7d8eae.js";
|
|
11
12
|
export {
|
|
12
13
|
o as default
|
|
13
14
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as h, computed as s, resolveComponent as x, unref as e, openBlock as n, createElementBlock as a, normalizeClass as S, Fragment as o, createVNode as t, withCtx as y, createTextVNode as i, toDisplayString as m } from "vue";
|
|
2
2
|
import { I as T } from "./field-base-5547436d.js";
|
|
3
|
-
import { S as b } from "./index-
|
|
4
|
-
import { f as d } from "./enum-type-
|
|
5
|
-
import { u as v } from "./fieldobj-
|
|
3
|
+
import { S as b } from "./index-6d72c605.js";
|
|
4
|
+
import { f as d } from "./enum-type-50a08ddf.js";
|
|
5
|
+
import { u as v } from "./fieldobj-fe7d8eae.js";
|
|
6
6
|
const w = { key: 1 }, z = /* @__PURE__ */ h({
|
|
7
7
|
__name: "label-wrapper",
|
|
8
8
|
props: {
|
|
@@ -1,33 +1,34 @@
|
|
|
1
1
|
import { defineComponent as l, openBlock as r, createBlock as e, mergeProps as g, unref as o, withCtx as w, createCommentVNode as a, createVNode as N } from "vue";
|
|
2
2
|
import { I as O } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as P } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-
|
|
4
|
-
import { w as C } from "./expression-
|
|
5
|
-
import { _ as F } from "./content-wrapper.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { S as c } from "./index-
|
|
7
|
-
import { c as S } from "./share-field-
|
|
3
|
+
import { _ as P } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-31178565.js";
|
|
4
|
+
import { w as C } from "./expression-cf83c895.js";
|
|
5
|
+
import { _ as F } from "./content-wrapper.vue_vue_type_script_setup_true_lang-ef54a554.js";
|
|
6
|
+
import { S as c } from "./index-6d72c605.js";
|
|
7
|
+
import { c as S } from "./share-field-6a803d24.js";
|
|
8
8
|
import "./widget-base-4c2d6265.js";
|
|
9
|
-
import "./enum-type-
|
|
10
|
-
import "./
|
|
11
|
-
import "./
|
|
12
|
-
import "./
|
|
13
|
-
import "./
|
|
14
|
-
import "./
|
|
15
|
-
import "./
|
|
9
|
+
import "./enum-type-339a584b.js";
|
|
10
|
+
import "./obj-469b8636.js";
|
|
11
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-7ea2dd77.js";
|
|
12
|
+
import "./index-2cc63818.js";
|
|
13
|
+
import "./uuid-d9f857bf.js";
|
|
14
|
+
import "./enum-type-50a08ddf.js";
|
|
15
|
+
import "./optionItem-94e8e557.js";
|
|
16
|
+
import "./baseImp-d6a218bb.js";
|
|
16
17
|
import "./icon-6342f929.js";
|
|
17
|
-
import "./dialog-
|
|
18
|
+
import "./dialog-24d066bb.js";
|
|
18
19
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
19
20
|
import "element-plus";
|
|
20
|
-
import "./index-
|
|
21
|
-
import "./fieldobj-
|
|
22
|
-
import "./slot-
|
|
23
|
-
import "./index-
|
|
24
|
-
import "./drag-wrapper-
|
|
21
|
+
import "./index-f328b549.js";
|
|
22
|
+
import "./fieldobj-fe7d8eae.js";
|
|
23
|
+
import "./slot-7f311368.js";
|
|
24
|
+
import "./index-9bf39185.js";
|
|
25
|
+
import "./drag-wrapper-f692accc.js";
|
|
25
26
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
26
27
|
import "./source-map-b04aec4a.js";
|
|
27
28
|
import "./esprima-e8d15055.js";
|
|
28
|
-
import "./emitter-
|
|
29
|
-
import "./multirow-
|
|
30
|
-
const V = l({ componentName: C.FieldWidget }),
|
|
29
|
+
import "./emitter-22bcad26.js";
|
|
30
|
+
import "./multirow-ffe06a40.js";
|
|
31
|
+
const V = l({ componentName: C.FieldWidget }), mo = /* @__PURE__ */ l({
|
|
31
32
|
...V,
|
|
32
33
|
__name: "link-widget",
|
|
33
34
|
props: { ...O },
|
|
@@ -57,5 +58,5 @@ const V = l({ componentName: C.FieldWidget }), po = /* @__PURE__ */ l({
|
|
|
57
58
|
}
|
|
58
59
|
});
|
|
59
60
|
export {
|
|
60
|
-
|
|
61
|
+
mo as default
|
|
61
62
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as e } from "./ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-
|
|
1
|
+
import { _ as e } from "./ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-75605fb3.js";
|
|
2
2
|
const o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3
3
|
__proto__: null,
|
|
4
4
|
default: e
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as _, computed as r, resolveComponent as A, openBlock as Re, createBlock as $e, mergeProps as O, unref as l, withCtx as n, createVNode as s, createTextVNode as v, toDisplayString as p, createElementVNode as We } from "vue";
|
|
2
|
-
import { c as $,
|
|
3
|
-
import { w as ke } from "./expression-
|
|
2
|
+
import { c as $, a } from "./enum-type-339a584b.js";
|
|
3
|
+
import { w as ke } from "./expression-cf83c895.js";
|
|
4
4
|
import { I as Ae } from "./widget-base-4c2d6265.js";
|
|
5
|
-
import { u as Te, e as he } from "./index-
|
|
6
|
-
import { c as ye } from "./share-field-
|
|
7
|
-
import { c as De } from "./slot-
|
|
8
|
-
import { B as k } from "./baseImp-
|
|
9
|
-
import { S as Oe } from "./index-
|
|
10
|
-
import { D as _e } from "./drag-wrapper-
|
|
11
|
-
import { _ as Be } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
+
import { u as Te, e as he } from "./index-2cc63818.js";
|
|
6
|
+
import { c as ye } from "./share-field-6a803d24.js";
|
|
7
|
+
import { c as De } from "./slot-7f311368.js";
|
|
8
|
+
import { B as k } from "./baseImp-d6a218bb.js";
|
|
9
|
+
import { S as Oe } from "./index-6d72c605.js";
|
|
10
|
+
import { D as _e } from "./drag-wrapper-f692accc.js";
|
|
11
|
+
import { _ as Be } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-7ea2dd77.js";
|
|
12
12
|
const Le = ["title"], Me = _({ componentName: ke.ContainerWidget }), qe = /* @__PURE__ */ _({
|
|
13
13
|
...Me,
|
|
14
14
|
__name: "ltable-col-widget",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as f, resolveDirective as O, openBlock as t, createBlock as m, mergeProps as j, unref as n, withCtx as x, createElementBlock as o, normalizeClass as A, withDirectives as L, createElementVNode as B, Fragment as s, renderList as u, createCommentVNode as N } from "vue";
|
|
2
|
-
import { w as P } from "./expression-
|
|
2
|
+
import { w as P } from "./expression-cf83c895.js";
|
|
3
3
|
import { I as S } from "./widget-base-4c2d6265.js";
|
|
4
|
-
import { _ as V } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { _ as W } from "./ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-
|
|
6
|
-
import { c as $ } from "./slot-
|
|
7
|
-
import { c as z } from "./share-field-
|
|
4
|
+
import { _ as V } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-7ea2dd77.js";
|
|
5
|
+
import { _ as W } from "./ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-75605fb3.js";
|
|
6
|
+
import { c as $ } from "./slot-7f311368.js";
|
|
7
|
+
import { c as z } from "./share-field-6a803d24.js";
|
|
8
8
|
import { _ as D } from "./_plugin-vue_export-helper-dad06003.js";
|
|
9
9
|
const E = ["element-loading-text"], F = f({ componentName: P.ContainerWidget }), T = /* @__PURE__ */ f({
|
|
10
10
|
...F,
|
|
@@ -1,42 +1,43 @@
|
|
|
1
|
-
import { defineComponent as j, computed as _, watch as
|
|
2
|
-
import { g as te, z as
|
|
1
|
+
import { defineComponent as j, computed as _, watch as k, onMounted as Z, nextTick as I, resolveComponent as ee, openBlock as C, createBlock as M, mergeProps as R, unref as a, withCtx as B, toHandlers as re, createVNode as ne } from "vue";
|
|
2
|
+
import { g as te, z as p, L as oe, P as le } from "./baseImp-d6a218bb.js";
|
|
3
3
|
import { u as ue } from "./icon-6342f929.js";
|
|
4
|
-
import {
|
|
4
|
+
import { e as ae, y as E, d as V, G as ce } from "./obj-469b8636.js";
|
|
5
5
|
import { I as se } from "./field-base-5547436d.js";
|
|
6
|
-
import { _ as ie } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
7
|
-
import { c as
|
|
8
|
-
import { w as
|
|
9
|
-
import { _ as ve } from "./subMenu-widget.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { ah as O } from "./enum-type-
|
|
11
|
-
import "./
|
|
6
|
+
import { _ as ie } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-7ea2dd77.js";
|
|
7
|
+
import { c as pe } from "./share-field-6a803d24.js";
|
|
8
|
+
import { w as fe, f as me } from "./expression-cf83c895.js";
|
|
9
|
+
import { _ as ve } from "./subMenu-widget.vue_vue_type_script_setup_true_lang-5c3a8a82.js";
|
|
10
|
+
import { ah as O } from "./enum-type-50a08ddf.js";
|
|
11
|
+
import "./enum-type-339a584b.js";
|
|
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 "./widget-base-4c2d6265.js";
|
|
16
|
-
import "./index-
|
|
17
|
-
import "./optionItem-
|
|
18
|
-
import "./index-
|
|
19
|
-
import "./index-
|
|
17
|
+
import "./index-2cc63818.js";
|
|
18
|
+
import "./optionItem-94e8e557.js";
|
|
19
|
+
import "./index-f328b549.js";
|
|
20
|
+
import "./index-6d72c605.js";
|
|
20
21
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
-
import "./fieldobj-
|
|
22
|
-
import "./emitter-
|
|
23
|
-
import "./slot-
|
|
24
|
-
import "./index-
|
|
25
|
-
import "./multirow-
|
|
22
|
+
import "./fieldobj-fe7d8eae.js";
|
|
23
|
+
import "./emitter-22bcad26.js";
|
|
24
|
+
import "./slot-7f311368.js";
|
|
25
|
+
import "./index-9bf39185.js";
|
|
26
|
+
import "./multirow-ffe06a40.js";
|
|
26
27
|
import "./source-map-b04aec4a.js";
|
|
27
28
|
import "./esprima-e8d15055.js";
|
|
28
|
-
const de = j({ componentName:
|
|
29
|
+
const de = j({ componentName: fe.FieldWidget }), He = /* @__PURE__ */ j({
|
|
29
30
|
...de,
|
|
30
31
|
__name: "menu-widget",
|
|
31
32
|
props: { ...se },
|
|
32
|
-
setup(A, { expose:
|
|
33
|
-
const b = A, { fieldEditor: g, fieldKey: w, attrs: c, events: D, extendAttrs: s, optionItems: l, activeOptionItems: y, filterOptionItems: P, exposed:
|
|
34
|
-
const n =
|
|
33
|
+
setup(A, { expose: G }) {
|
|
34
|
+
const b = A, { fieldEditor: g, fieldKey: w, attrs: c, events: D, extendAttrs: s, optionItems: l, activeOptionItems: y, filterOptionItems: P, exposed: L, fieldObj: S, existEvent: W, handleEvent: $ } = pe(b), { instance: N } = ue(), z = te({ instance: N }), f = (e) => e == null ? void 0 : e.route, u = (e) => e == null ? void 0 : e.value, H = (e) => {
|
|
35
|
+
const n = f(e);
|
|
35
36
|
if (!n)
|
|
36
37
|
return "";
|
|
37
|
-
const r =
|
|
38
|
+
const r = p.getLocationQueryParams(), t = oe(le.getValue(e.buildUrlParams) || "", { urlParams: r, ctx: z });
|
|
38
39
|
let o = "";
|
|
39
|
-
return e != null && e.attachUrlParams ? o =
|
|
40
|
+
return e != null && e.attachUrlParams ? o = p.buildUrl(n, { ...r, ...t }) : o = p.buildUrl(n, t), o;
|
|
40
41
|
}, F = _(() => {
|
|
41
42
|
const e = ae(l == null ? void 0 : l.value);
|
|
42
43
|
return E(e, "children", (n) => !0, (n) => {
|
|
@@ -45,7 +46,7 @@ const de = j({ componentName: pe.FieldWidget }), ze = /* @__PURE__ */ j({
|
|
|
45
46
|
}), K = (e) => {
|
|
46
47
|
let n = "";
|
|
47
48
|
return E(F.value, "children", (r) => u(r) === e, (r) => {
|
|
48
|
-
n =
|
|
49
|
+
n = f(r) || u(r);
|
|
49
50
|
}), n;
|
|
50
51
|
}, U = (e, n) => e == null ? void 0 : e.some((r) => {
|
|
51
52
|
var t, o;
|
|
@@ -54,21 +55,21 @@ const de = j({ componentName: pe.FieldWidget }), ze = /* @__PURE__ */ j({
|
|
|
54
55
|
var t, o;
|
|
55
56
|
return (r == null ? void 0 : r.menuItemType) === O.MenuItemGroup ? !1 : u(r) === n ? !((t = r == null ? void 0 : r.children) != null && t.length) : ((o = r == null ? void 0 : r.children) == null ? void 0 : o.length) > 0 ? m(r.children, n) : !1;
|
|
56
57
|
}), Q = () => {
|
|
57
|
-
const e = window.location.href, n =
|
|
58
|
+
const e = window.location.href, n = p.getBaseUrl(e);
|
|
58
59
|
var r = P((t) => {
|
|
59
60
|
var o = me.isActiveItem;
|
|
60
61
|
if (W(o))
|
|
61
62
|
return $(o, { item: t });
|
|
62
|
-
const i =
|
|
63
|
-
return !!i && (n == null ? void 0 : n.endsWith(
|
|
63
|
+
const i = f(t), Y = p.getBaseUrl(i);
|
|
64
|
+
return !!i && (n == null ? void 0 : n.endsWith(Y));
|
|
64
65
|
});
|
|
65
66
|
return r == null ? void 0 : r.map((t) => u(t));
|
|
66
|
-
},
|
|
67
|
+
}, q = () => {
|
|
67
68
|
var e;
|
|
68
69
|
return (e = y == null ? void 0 : y.value) == null ? void 0 : e.map((n) => u(n));
|
|
69
70
|
}, v = _(() => {
|
|
70
71
|
var r;
|
|
71
|
-
var e =
|
|
72
|
+
var e = q();
|
|
72
73
|
if ((r = c == null ? void 0 : c.value) != null && r.router && !b.designState) {
|
|
73
74
|
var n = Q();
|
|
74
75
|
return n && (n == null ? void 0 : n.length) > 0 ? n : e;
|
|
@@ -84,18 +85,18 @@ const de = j({ componentName: pe.FieldWidget }), ze = /* @__PURE__ */ j({
|
|
|
84
85
|
return ((t = v.value) == null ? void 0 : t.some((i) => U([r], i))) || ((o = v.value) == null ? void 0 : o.some((i) => m(r == null ? void 0 : r.children, i)));
|
|
85
86
|
}), n = e == null ? void 0 : e.map((r) => u(r));
|
|
86
87
|
return ((n == null ? void 0 : n.length) || 0) <= 0 ? [] : n;
|
|
87
|
-
}),
|
|
88
|
+
}), J = () => {
|
|
88
89
|
var n;
|
|
89
90
|
const e = {};
|
|
90
91
|
d.value && V(e, { defaultActive: d.value }), h.value && ((n = h.value) == null ? void 0 : n.length) > 0 && V(e, { defaultOpeneds: h.value }), V(c.value, e);
|
|
91
92
|
}, T = (e, n) => {
|
|
92
93
|
var r, t;
|
|
93
94
|
U(l == null ? void 0 : l.value, e) && (n ? (r = g.value) == null || r.open(e) : (t = g.value) == null || t.close(e));
|
|
94
|
-
},
|
|
95
|
+
}, X = (e) => {
|
|
95
96
|
e == null || e.forEach((n) => {
|
|
96
97
|
T(n, !0);
|
|
97
98
|
});
|
|
98
|
-
},
|
|
99
|
+
}, x = (e = !0) => {
|
|
99
100
|
P((n) => {
|
|
100
101
|
try {
|
|
101
102
|
const r = u(n);
|
|
@@ -105,21 +106,21 @@ const de = j({ componentName: pe.FieldWidget }), ze = /* @__PURE__ */ j({
|
|
|
105
106
|
return !0;
|
|
106
107
|
});
|
|
107
108
|
};
|
|
108
|
-
return
|
|
109
|
-
|
|
109
|
+
return k(() => v.value, (e) => {
|
|
110
|
+
J();
|
|
110
111
|
}, { immediate: !0 }), Z(() => {
|
|
111
112
|
var e;
|
|
112
|
-
(e = s == null ? void 0 : s.value) != null && e.openAll &&
|
|
113
|
+
(e = s == null ? void 0 : s.value) != null && e.openAll && x(!1), k(() => h.value, (n) => {
|
|
113
114
|
I(() => {
|
|
114
115
|
var r;
|
|
115
|
-
(r = s == null ? void 0 : s.value) != null && r.openAll || (
|
|
116
|
+
(r = s == null ? void 0 : s.value) != null && r.openAll || (x(!0), X(n));
|
|
116
117
|
});
|
|
117
118
|
});
|
|
118
|
-
}),
|
|
119
|
-
...
|
|
119
|
+
}), G({
|
|
120
|
+
...L,
|
|
120
121
|
getActiveTree: () => {
|
|
121
122
|
var e = [];
|
|
122
|
-
return ce(l == null ? void 0 : l.value, e, "children", (n) => d.value ===
|
|
123
|
+
return ce(l == null ? void 0 : l.value, e, "children", (n) => d.value === f(n)), e.reverse();
|
|
123
124
|
}
|
|
124
125
|
}), (e, n) => {
|
|
125
126
|
const r = ee("el-menu");
|
|
@@ -154,5 +155,5 @@ const de = j({ componentName: pe.FieldWidget }), ze = /* @__PURE__ */ j({
|
|
|
154
155
|
}
|
|
155
156
|
});
|
|
156
157
|
export {
|
|
157
|
-
|
|
158
|
+
He as default
|
|
158
159
|
};
|
|
@@ -1,40 +1,41 @@
|
|
|
1
1
|
import { defineComponent as O, resolveComponent as S, openBlock as _, createBlock as v, mergeProps as W, unref as r, withCtx as y, createElementVNode as g, createElementBlock as $, Fragment as j, renderList as K, resolveDynamicComponent as L, createTextVNode as h, toDisplayString as B, createCommentVNode as C } from "vue";
|
|
2
2
|
import { I as M } from "./widget-base-4c2d6265.js";
|
|
3
|
-
import { c as q } from "./share-field-
|
|
4
|
-
import { _ as z } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { W as w } from "./enum-type-
|
|
6
|
-
import { d as I } from "./baseImp-
|
|
7
|
-
import {
|
|
3
|
+
import { c as q } from "./share-field-6a803d24.js";
|
|
4
|
+
import { _ as z } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-7ea2dd77.js";
|
|
5
|
+
import { W as w } from "./enum-type-50a08ddf.js";
|
|
6
|
+
import { d as I } from "./baseImp-d6a218bb.js";
|
|
7
|
+
import { a as x } from "./enum-type-339a584b.js";
|
|
8
8
|
import { Plus as G, Edit as H } from "./index-ddd23411.js";
|
|
9
|
-
import "./
|
|
9
|
+
import "./obj-469b8636.js";
|
|
10
|
+
import "./emitter-22bcad26.js";
|
|
10
11
|
import "./icon-6342f929.js";
|
|
11
|
-
import "./expression-
|
|
12
|
+
import "./expression-cf83c895.js";
|
|
12
13
|
import "./source-map-b04aec4a.js";
|
|
13
|
-
import "./uuid-
|
|
14
|
+
import "./uuid-d9f857bf.js";
|
|
14
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
16
|
import "./esprima-e8d15055.js";
|
|
16
|
-
import "./slot-
|
|
17
|
-
import "./index-
|
|
18
|
-
import "./index-
|
|
19
|
-
import "./optionItem-
|
|
20
|
-
import "./index-
|
|
21
|
-
import "./multirow-
|
|
22
|
-
import "./index-
|
|
17
|
+
import "./slot-7f311368.js";
|
|
18
|
+
import "./index-9bf39185.js";
|
|
19
|
+
import "./index-2cc63818.js";
|
|
20
|
+
import "./optionItem-94e8e557.js";
|
|
21
|
+
import "./index-f328b549.js";
|
|
22
|
+
import "./multirow-ffe06a40.js";
|
|
23
|
+
import "./index-6d72c605.js";
|
|
23
24
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
24
|
-
import "./fieldobj-
|
|
25
|
-
import "./dialog-
|
|
25
|
+
import "./fieldobj-fe7d8eae.js";
|
|
26
|
+
import "./dialog-24d066bb.js";
|
|
26
27
|
import "element-plus";
|
|
27
|
-
const J = { style: { display: "flex", "flex-direction": "row" } }, Q = { style: { flex: "1" } },
|
|
28
|
+
const J = { style: { display: "flex", "flex-direction": "row" } }, Q = { style: { flex: "1" } }, Io = /* @__PURE__ */ O({
|
|
28
29
|
__name: "model-widget",
|
|
29
30
|
props: {
|
|
30
31
|
...M
|
|
31
32
|
},
|
|
32
33
|
setup(F, { expose: T }) {
|
|
33
|
-
const R = F, { exposed: n, attrs: o, events:
|
|
34
|
-
var m,
|
|
34
|
+
const R = F, { exposed: n, attrs: o, events: p, instance: k, optionItems: b, fieldObj: P } = q(R), V = x.i18nt("designer.hint.addButtonText"), A = x.i18nt("designer.hint.saveButtonText"), D = (e) => {
|
|
35
|
+
var m, c, l;
|
|
35
36
|
if (!((m = o == null ? void 0 : o.value) != null && m.appendOnClick))
|
|
36
37
|
return;
|
|
37
|
-
const i = (
|
|
38
|
+
const i = (c = o == null ? void 0 : o.value) == null ? void 0 : c.relatedIds;
|
|
38
39
|
if (!i || (i == null ? void 0 : i.length) <= 0)
|
|
39
40
|
return;
|
|
40
41
|
const { transFormula: a } = I();
|
|
@@ -49,11 +50,11 @@ const J = { style: { display: "flex", "flex-direction": "row" } }, Q = { style:
|
|
|
49
50
|
if (!e || (e == null ? void 0 : e.length) <= 0)
|
|
50
51
|
return;
|
|
51
52
|
const { transFormula: i } = I(), a = i(e == null ? void 0 : e[0]), m = n == null ? void 0 : n.findRefById(a, k);
|
|
52
|
-
var
|
|
53
|
-
(d = (t =
|
|
53
|
+
var c = n == null ? void 0 : n.callRefFunc(m, w.getValue);
|
|
54
|
+
(d = (t = p == null ? void 0 : p.value) == null ? void 0 : t.save) == null || d.call(t, c, (s = o == null ? void 0 : o.value) == null ? void 0 : s.operateData);
|
|
54
55
|
}, N = () => {
|
|
55
56
|
var e, i, a;
|
|
56
|
-
(a = (e =
|
|
57
|
+
(a = (e = p == null ? void 0 : p.value) == null ? void 0 : e.add) == null || a.call(e, (i = o == null ? void 0 : o.value) == null ? void 0 : i.operateData);
|
|
57
58
|
};
|
|
58
59
|
return T({
|
|
59
60
|
...n
|
|
@@ -63,7 +64,7 @@ const J = { style: { display: "flex", "flex-direction": "row" } }, Q = { style:
|
|
|
63
64
|
"prop-options": { fieldObj: r(P) }
|
|
64
65
|
}), {
|
|
65
66
|
default: y(({ data: m }) => {
|
|
66
|
-
var
|
|
67
|
+
var c, l;
|
|
67
68
|
return [
|
|
68
69
|
g("div", J, [
|
|
69
70
|
g("div", Q, [
|
|
@@ -74,7 +75,7 @@ const J = { style: { display: "flex", "flex-direction": "row" } }, Q = { style:
|
|
|
74
75
|
style: { cursor: "pointer", margin: "3px" },
|
|
75
76
|
onClick: () => {
|
|
76
77
|
var u, f;
|
|
77
|
-
D(t), (f = (u = r(
|
|
78
|
+
D(t), (f = (u = r(p)) == null ? void 0 : u.click) == null || f.call(u, t);
|
|
78
79
|
}
|
|
79
80
|
}, {
|
|
80
81
|
default: y(() => [
|
|
@@ -85,7 +86,7 @@ const J = { style: { display: "flex", "flex-direction": "row" } }, Q = { style:
|
|
|
85
86
|
}), 128))
|
|
86
87
|
]),
|
|
87
88
|
g("div", null, [
|
|
88
|
-
(
|
|
89
|
+
(c = r(o)) != null && c.showAddButton ? (_(), v(a, {
|
|
89
90
|
key: 0,
|
|
90
91
|
onClick: N,
|
|
91
92
|
icon: r(G)
|
|
@@ -122,5 +123,5 @@ const J = { style: { display: "flex", "flex-direction": "row" } }, Q = { style:
|
|
|
122
123
|
}
|
|
123
124
|
});
|
|
124
125
|
export {
|
|
125
|
-
|
|
126
|
+
Io as default
|
|
126
127
|
};
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { b as U, B as X, d as Y } from "./baseImp-
|
|
2
|
-
import { g as Z, i as L, t as k, r as y } from "./index-
|
|
3
|
-
import { c as R, F as T, g as p } from "./slot-
|
|
4
|
-
import { i as x, d as
|
|
5
|
-
import { reactive as
|
|
6
|
-
import { u as
|
|
7
|
-
import {
|
|
8
|
-
import { u as
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import { b as U, B as X, d as Y } from "./baseImp-d6a218bb.js";
|
|
2
|
+
import { g as Z, i as L, t as k, r as y } from "./index-2cc63818.js";
|
|
3
|
+
import { c as R, F as T, g as p } from "./slot-7f311368.js";
|
|
4
|
+
import { i as x, d as I, f as q, o as C, j as d, b as P } from "./obj-469b8636.js";
|
|
5
|
+
import { reactive as j } from "vue";
|
|
6
|
+
import { u as ee } from "./icon-6342f929.js";
|
|
7
|
+
import { w as re, r as ne } from "./enum-type-339a584b.js";
|
|
8
|
+
import { u as te, g as se } from "./uuid-d9f857bf.js";
|
|
9
|
+
import { u as ie } from "./emitter-22bcad26.js";
|
|
10
|
+
import { f as H } from "./expression-cf83c895.js";
|
|
11
|
+
const A = "", B = "_", K = (e, u) => x(u) ? e || "" : `${A}${e}${B}${u}`, E = (e) => {
|
|
12
|
+
if (e != null && e.includes(B)) {
|
|
13
|
+
var u = e.split(B);
|
|
14
|
+
const h = u == null ? void 0 : u[0].substring(A.length), f = e.substring(A.length + h.length + 1);
|
|
14
15
|
return { id: h, groupName: f };
|
|
15
16
|
}
|
|
16
17
|
return { id: e };
|
|
@@ -21,15 +22,15 @@ const Fe = (e, u) => {
|
|
|
21
22
|
return !f && !r ? 4 : f && !r ? 2 : f && r ? f !== r ? 5 : 1 : !f && r ? 3 : 0;
|
|
22
23
|
};
|
|
23
24
|
function ue(e, u) {
|
|
24
|
-
const h = u == null ? void 0 : u.pageConfig, f = u == null ? void 0 : u.formData, i =
|
|
25
|
-
|
|
26
|
-
var { instance: r } =
|
|
25
|
+
const h = u == null ? void 0 : u.pageConfig, f = u == null ? void 0 : u.formData, i = j({});
|
|
26
|
+
I(i, f);
|
|
27
|
+
var { instance: r } = ee();
|
|
27
28
|
const n = () => {
|
|
28
29
|
var a = Z(e);
|
|
29
30
|
a == null || a.forEach((N) => {
|
|
30
|
-
const { computedDefaultValue:
|
|
31
|
-
S.value &&
|
|
32
|
-
|
|
31
|
+
const { computedDefaultValue: W, fieldName: S, hasDefaultValue: b } = U(N.field, u, { s_fieldName: !0 }, r);
|
|
32
|
+
S.value && b() && re(W()).then((F) => {
|
|
33
|
+
I(i, { [S.value]: F });
|
|
33
34
|
});
|
|
34
35
|
});
|
|
35
36
|
}, m = () => {
|
|
@@ -41,22 +42,22 @@ function ue(e, u) {
|
|
|
41
42
|
widgetList: e,
|
|
42
43
|
initData: n,
|
|
43
44
|
setData: (a, N = !0) => {
|
|
44
|
-
N && m(),
|
|
45
|
+
N && m(), I(i, a);
|
|
45
46
|
},
|
|
46
|
-
getData: () =>
|
|
47
|
+
getData: () => ne(i),
|
|
47
48
|
clearData: m
|
|
48
49
|
};
|
|
49
50
|
}
|
|
50
51
|
function oe() {
|
|
51
52
|
const e = (r, n) => y(r, { newName: !0, recordSource: !0 }, (o, g) => K(o || g, n), (o) => !!o.dynamicItemFlag), u = (r, n, m) => {
|
|
52
|
-
var
|
|
53
|
-
P(m) && (m = `${(
|
|
53
|
+
var W, S;
|
|
54
|
+
P(m) && (m = `${(W = te()) == null ? void 0 : W.substring(0, 5)}_${!P(n == null ? void 0 : n.$index) && (n == null ? void 0 : n.$index) >= 0 ? n == null ? void 0 : n.$index : ""}`);
|
|
54
55
|
var o = p(r, !0);
|
|
55
|
-
let g = o == null ? void 0 : o.map((
|
|
56
|
+
let g = o == null ? void 0 : o.map((b) => e(b, m));
|
|
56
57
|
const a = i(g), { updateFomulaName: N } = Y();
|
|
57
|
-
return (S = C(a)) == null || S.forEach((
|
|
58
|
-
const
|
|
59
|
-
g = N(g, V,
|
|
58
|
+
return (S = C(a)) == null || S.forEach((b) => {
|
|
59
|
+
const F = a[b], V = F == null ? void 0 : F.name;
|
|
60
|
+
g = N(g, V, b);
|
|
60
61
|
}), { widget: g, id: m, key: se(), data: n };
|
|
61
62
|
}, h = (r, n) => {
|
|
62
63
|
if (r || (r = []), n && (r == null ? void 0 : r.length) < n) {
|
|
@@ -92,54 +93,54 @@ function oe() {
|
|
|
92
93
|
};
|
|
93
94
|
}
|
|
94
95
|
function Oe(e) {
|
|
95
|
-
const u = e == null ? void 0 : e.fieldName, h = e == null ? void 0 : e.setValue, f =
|
|
96
|
-
var
|
|
96
|
+
const u = e == null ? void 0 : e.fieldName, h = e == null ? void 0 : e.setValue, f = j({}), i = j([]), { newSlot: r, reflectTargetWithSourceOne: n, getSlotFromData: m, getMinRowData: o } = oe(), g = (t, c) => {
|
|
97
|
+
var O;
|
|
97
98
|
let s = {};
|
|
98
99
|
const l = n(c);
|
|
99
|
-
return (
|
|
100
|
+
return (O = C(t)) == null || O.map((w) => {
|
|
100
101
|
var v, _, G;
|
|
101
|
-
const D = (v = l == null ? void 0 : l[
|
|
102
|
-
D && (s[D] = t == null ? void 0 : t[
|
|
103
|
-
s[
|
|
102
|
+
const D = (v = l == null ? void 0 : l[w]) == null ? void 0 : v.name;
|
|
103
|
+
D && (s[D] = t == null ? void 0 : t[w], (G = (_ = C(t)) == null ? void 0 : _.filter(($) => $.startsWith(w + "_"))) == null || G.forEach(($) => {
|
|
104
|
+
s[$ == null ? void 0 : $.replace(w, D)] = t == null ? void 0 : t[$];
|
|
104
105
|
}));
|
|
105
106
|
}), s;
|
|
106
107
|
}, a = (t, c) => {
|
|
107
|
-
var
|
|
108
|
+
var O, w;
|
|
108
109
|
let s = {};
|
|
109
|
-
if (
|
|
110
|
+
if (d(t)) {
|
|
110
111
|
const D = n(c, (v) => !!(v != null && v.formItemFlag));
|
|
111
|
-
(
|
|
112
|
+
(O = C(D)) == null || O.map((v) => {
|
|
112
113
|
var _;
|
|
113
114
|
v && (s[v] = t == null ? void 0 : t[(_ = D == null ? void 0 : D[v]) == null ? void 0 : _.name]);
|
|
114
115
|
});
|
|
115
116
|
} else {
|
|
116
|
-
var l = { pageConfig: (
|
|
117
|
+
var l = { pageConfig: (w = e == null ? void 0 : e.designer) == null ? void 0 : w.pageConfig, formData: s, designState: e == null ? void 0 : e.designState };
|
|
117
118
|
const { formModel: D, initData: v } = ue(c, l);
|
|
118
|
-
v(),
|
|
119
|
+
v(), I(s, D);
|
|
119
120
|
}
|
|
120
121
|
return s;
|
|
121
122
|
}, N = (t, c) => {
|
|
122
123
|
const s = a(c, t.widget);
|
|
123
|
-
return
|
|
124
|
-
},
|
|
124
|
+
return I(f, s), s;
|
|
125
|
+
}, W = (t) => {
|
|
125
126
|
var c;
|
|
126
127
|
(c = C(f)) == null || c.forEach((s) => {
|
|
127
128
|
const l = E(s);
|
|
128
129
|
(l == null ? void 0 : l.groupName) == t.id && delete f[s];
|
|
129
130
|
});
|
|
130
|
-
}, S = () => i == null ? void 0 : i.map((c) => g(f, c == null ? void 0 : c.widget)),
|
|
131
|
+
}, S = () => i == null ? void 0 : i.map((c) => g(f, c == null ? void 0 : c.widget)), b = (t, c) => {
|
|
131
132
|
q(f);
|
|
132
133
|
const s = c(t);
|
|
133
134
|
return s == null || s.forEach((l) => {
|
|
134
|
-
const
|
|
135
|
-
|
|
135
|
+
const O = a(l == null ? void 0 : l.data, l == null ? void 0 : l.widget);
|
|
136
|
+
I(f, O);
|
|
136
137
|
}), i.splice(0, i.length), s && s.length > 0 && i.push(...s), i;
|
|
137
|
-
},
|
|
138
|
+
}, F = (t) => {
|
|
138
139
|
var s;
|
|
139
140
|
var c = R({ ...e, widget: t });
|
|
140
141
|
return (s = c.attrs) == null ? void 0 : s.value;
|
|
141
|
-
}, V = (t, c, s) => L(t, c, i, s), { off$:
|
|
142
|
-
|
|
142
|
+
}, V = (t, c, s) => L(t, c, i, s), { off$: M, on$: z, emit$: J } = ie(), Q = () => {
|
|
143
|
+
M(H.fieldChange), z(H.fieldChange, (t) => {
|
|
143
144
|
var c;
|
|
144
145
|
h == null || h(S()), (c = e == null ? void 0 : e.fieldChanged) == null || c.call(e);
|
|
145
146
|
});
|
|
@@ -156,11 +157,11 @@ function Oe(e) {
|
|
|
156
157
|
fromModel: a,
|
|
157
158
|
toModel: g,
|
|
158
159
|
newSlot: r,
|
|
159
|
-
getWidgetOption:
|
|
160
|
+
getWidgetOption: F,
|
|
160
161
|
newFieldModelFromSlot: N,
|
|
161
|
-
removeFieldModelFromSlot:
|
|
162
|
+
removeFieldModelFromSlot: W,
|
|
162
163
|
getValue: S,
|
|
163
|
-
setValue:
|
|
164
|
+
setValue: b,
|
|
164
165
|
findWidgetByNameWithSibId: V,
|
|
165
166
|
// listenFormModel,
|
|
166
167
|
emit$: J,
|