hlrender 0.0.220 → 0.0.222
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-5e740930.js → _pdf-49c651da.js} +6 -6
- package/{_txt-a0a32317.js → _txt-6b6b0e6c.js} +6 -6
- package/{_unsupport-dc6b3049.js → _unsupport-ac308b6a.js} +1 -1
- package/{affix-widget-3205cea1.js → affix-widget-39b69957.js} +16 -16
- package/{alert-widget-442ad533.js → alert-widget-76e6ae2b.js} +16 -16
- package/{anchor-widget-6902ad29.js → anchor-widget-00cf8a4f.js} +13 -13
- package/{auto-complete-widget-b689b21b.js → auto-complete-widget-f7466dc3.js} +16 -16
- package/{avatar-widget-393be8fe.js → avatar-widget-a30bb835.js} +16 -16
- package/{backtop-widget-c55d4b2a.js → backtop-widget-fcd53f9c.js} +16 -16
- package/{badge-widget-eb0b4d90.js → badge-widget-d2d83fbc.js} +16 -16
- package/{barcode-widget-6e7d2062.js → barcode-widget-3a364c80.js} +13 -13
- package/{baseImp-183dd31e.js → baseImp-20a90e41.js} +506 -502
- package/{breadcrumb-widget-387260b1.js → breadcrumb-widget-7e56ee1f.js} +13 -13
- package/{button-widget-a2454883.js → button-widget-32025329.js} +16 -16
- package/{cache-widget-71d649fc.js → cache-widget-13547f41.js} +15 -15
- package/{card-widget-0d1e8b9b.js → card-widget-ae35d355.js} +14 -14
- package/{carousel-widget-73fadc55.js → carousel-widget-fe40a2a7.js} +14 -14
- package/{cascader-widget-9b9341d1.js → cascader-widget-dd37cb19.js} +15 -15
- package/{chart-widget-409951a4.js → chart-widget-53f53a04.js} +13 -13
- package/{checkbox-widget-0e5c4628.js → checkbox-widget-7a6e8218.js} +15 -15
- package/{collapse-widget-20378f35.js → collapse-widget-038ab4a6.js} +14 -14
- package/{color-picker-widget-1944df02.js → color-picker-widget-ccf0ae69.js} +15 -15
- package/{cont-cell-widget-7b23704e.js → cont-cell-widget-75436a40.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-78ff9722.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-820e95e3.js} +6 -6
- package/{cont-widget-a8e05996.js → cont-widget-6b92c16d.js} +5 -5
- package/{content-wrapper-fedcb3ef.js → content-wrapper-a319dc68.js} +7 -7
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-e96feeb8.js → content-wrapper.vue_vue_type_script_setup_true_lang-8a7b40c2.js} +3 -3
- package/{date-picker-range-widget-551f2043.js → date-picker-range-widget-6ebabf4a.js} +15 -15
- package/{date-picker-widget-d5573b72.js → date-picker-widget-11a66313.js} +15 -15
- package/default-slot-widget-252c54f1.js +26 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-c942b042.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-d4bae7ad.js} +7 -7
- package/{descriptions-widget-5d456b8f.js → descriptions-widget-53b22321.js} +14 -14
- package/{dialog-3c8bd967.js → dialog-7785477a.js} +24 -21
- package/{dialog-widget-0cec98c0.js → dialog-widget-6792e47d.js} +15 -15
- package/{divider-widget-530920d5.js → divider-widget-ea1db20b.js} +16 -16
- package/{drag-wrapper-26981a28.js → drag-wrapper-8fc33ced.js} +6 -6
- package/{drawer-widget-b94cbe02.js → drawer-widget-54221151.js} +15 -15
- package/{dropdown-widget-02573d9d.js → dropdown-widget-47b208c3.js} +14 -14
- package/{empty-widget-7468e8c5.js → empty-widget-056b049c.js} +16 -16
- package/{enum-type-3eee09cf.js → enum-type-154038c6.js} +57 -54
- package/{enum-type-af9f5bba.js → enum-type-8b297420.js} +79 -62
- package/{expression-f9adb9b4.js → expression-a866a962.js} +2 -2
- package/feedback-widget-d5edd3d7.js +26 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-83bf0bb2.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-25632e54.js} +5 -5
- package/{fieldobj-0d6a0693.js → fieldobj-b9410b27.js} +1 -1
- package/{file-upload-widget-320d5f8a.js → file-upload-widget-1dac5de9.js} +20 -20
- package/{form-item-wrapper-8f3d663c.js → form-item-wrapper-651dae53.js} +11 -11
- package/{form-widget-52ccc908.js → form-widget-46abce73.js} +61 -61
- package/{grid-col-widget-272e7d41.js → grid-col-widget-3f4c0041.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-caf7ddca.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-e7ecfe34.js} +5 -5
- package/{grid-widget-c5d76e85.js → grid-widget-6c1b340c.js} +5 -5
- package/{html-text-widget-9b868c74.js → html-text-widget-50a489af.js} +14 -14
- package/{icon-widget-cd0cbe2d.js → icon-widget-0ac4ed98.js} +13 -13
- package/{iframe-widget-bfbf8683.js → iframe-widget-fdba3965.js} +13 -13
- package/{image-widget-600f98de.js → image-widget-76fb161c.js} +13 -13
- package/index-2caa2214.js +241 -0
- package/{index-d0ed190f.js → index-b48762a8.js} +1 -1
- package/{index-693d89a8.js → index-ed5df8f0.js} +3223 -3147
- package/{input-number-widget-88afc03e.js → input-number-widget-79bcfde4.js} +15 -15
- package/{input-widget-1b6ff62d.js → input-widget-8c92a125.js} +16 -16
- package/{label-wrapper-714b1ffc.js → label-wrapper-bb85ac42.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-9bf010c8.js → label-wrapper.vue_vue_type_style_index_0_lang-e5255e33.js} +3 -3
- package/{link-widget-61b13e67.js → link-widget-7caca6a6.js} +16 -16
- package/{ltable-col-widget-31614b0c.js → ltable-col-widget-dff9469f.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-8c1b8b72.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-99ee3805.js} +9 -9
- package/{ltable-widget-e42fff21.js → ltable-widget-f3eefc10.js} +5 -5
- package/{menu-widget-7d2c15e7.js → menu-widget-56dd41b9.js} +36 -36
- package/{model-widget-18f6601b.js → model-widget-65d7de15.js} +13 -13
- package/multirow-a47c974b.js +230 -0
- package/multirow-widget-19af64aa.js +722 -0
- package/package.json +1 -1
- package/{pagination-widget-b90e15e2.js → pagination-widget-6b84db81.js} +13 -13
- package/{picture-upload-widget-1b55d8b9.js → picture-upload-widget-01c930e1.js} +16 -16
- package/{progress-widget-a32940a1.js → progress-widget-6340a4fa.js} +37 -37
- package/{qrcode-widget-ffdca649.js → qrcode-widget-ee038f05.js} +13 -13
- package/{radio-widget-255c651e.js → radio-widget-b7a38a4c.js} +15 -15
- package/{range-widget-b1098bd3.js → range-widget-229e9fc4.js} +17 -17
- package/{rate-widget-71ee09be.js → rate-widget-4937f628.js} +15 -15
- package/render.es.js +32 -32
- package/render.style.css +1 -1
- package/render.umd.js +363 -359
- package/{result-widget-658ea3c8.js → result-widget-e580b900.js} +14 -14
- package/{rich-editor-widget-6fae5424.js → rich-editor-widget-14194f58.js} +26 -26
- package/{router-widget-ca01ee92.js → router-widget-b4886e70.js} +13 -13
- package/{select-widget-091570a9.js → select-widget-1ffe1ae1.js} +15 -15
- package/{sfc-9bcd728e.js → sfc-f12bf7ec.js} +8 -8
- package/{sfcview-01217803.js → sfcview-0b464361.js} +7 -7
- package/{share-field-13175d66.js → share-field-12b7c18a.js} +170 -170
- package/{share-file-b00410aa.js → share-file-65e6678a.js} +14 -14
- package/{slider-widget-c7750206.js → slider-widget-4f9dd3b2.js} +15 -15
- package/{slot-ee9edd04.js → slot-262f69f7.js} +3 -3
- package/{static-text-widget-4577f848.js → static-text-widget-9a0260a7.js} +14 -14
- package/{steps-widget-428c367a.js → steps-widget-edc80724.js} +13 -13
- package/{subMenu-widget-4d89f25a.js → subMenu-widget-04c8e8d8.js} +8 -8
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-85082dda.js → subMenu-widget.vue_vue_type_script_setup_true_lang-8aceb920.js} +6 -6
- package/{switch-widget-ca84fd85.js → switch-widget-63ff434e.js} +15 -15
- package/{tab-pane-widget-528cd5bb.js → tab-pane-widget-75beaf9d.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-79213490.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-341cb340.js} +5 -5
- package/table-col-widget-96a93ea4.js +22 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-7282e7fd.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-549f11f5.js} +6 -6
- package/{table-widget-37ac1691.js → table-widget-5b3d2608.js} +15 -15
- package/{tabs-widget-7cad19ee.js → tabs-widget-1dc1e389.js} +7 -7
- package/{tag-widget-65420919.js → tag-widget-f6b6a37d.js} +16 -16
- package/{text-widget-15993525.js → text-widget-5ace4226.js} +16 -16
- package/{textarea-widget-816c2e3b.js → textarea-widget-aac47d6a.js} +15 -15
- package/{time-picker-range-widget-b0d599b5.js → time-picker-range-widget-3818f4c3.js} +15 -15
- package/{time-picker-widget-ba1b4e27.js → time-picker-widget-9edaa119.js} +15 -15
- package/{time-select-widget-be8f069b.js → time-select-widget-4bb984df.js} +15 -15
- package/{tmpl-widget-738ec138.js → tmpl-widget-8fc5be2c.js} +14 -14
- package/{tree-select-widget-cadc35bd.js → tree-select-widget-546c744f.js} +15 -15
- package/{tree-widget-cd63ddb3.js → tree-widget-fbb5e96e.js} +13 -13
- package/{uuid-59b631d4.js → uuid-c0d8695e.js} +1 -1
- package/{verifycode-widget-ed0de662.js → verifycode-widget-f6689e95.js} +13 -13
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ac943db0.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1740e903.js} +7 -7
- package/wrapper-widget-31402842.js +84 -0
- package/default-slot-widget-4581e992.js +0 -26
- package/feedback-widget-951e3f62.js +0 -26
- package/index-696a9346.js +0 -120
- package/multirow-44dedb50.js +0 -229
- package/multirow-widget-5fc0ca63.js +0 -703
- package/table-col-widget-3b698b54.js +0 -22
- package/wrapper-widget-fe2e7d5a.js +0 -84
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { defineComponent as d, resolveComponent as C, openBlock as r, createBlock as m, mergeProps as l, unref as e, withCtx as F, createElementVNode as N, isRef as j, toHandlers as E, createElementBlock as I, toDisplayString as O, createCommentVNode as W } from "vue";
|
|
2
|
-
import { b as h } from "./share-field-
|
|
2
|
+
import { b as h } from "./share-field-12b7c18a.js";
|
|
3
3
|
import { I as z } from "./field-base-5547436d.js";
|
|
4
|
-
import B from "./form-item-wrapper-
|
|
5
|
-
import { w as P } from "./expression-
|
|
4
|
+
import B from "./form-item-wrapper-651dae53.js";
|
|
5
|
+
import { w as P } from "./expression-a866a962.js";
|
|
6
6
|
import { _ as S } from "./_plugin-vue_export-helper-dad06003.js";
|
|
7
|
-
import "./enum-type-
|
|
8
|
-
import "./multirow-
|
|
9
|
-
import "./baseImp-
|
|
10
|
-
import "./enum-type-
|
|
7
|
+
import "./enum-type-8b297420.js";
|
|
8
|
+
import "./multirow-a47c974b.js";
|
|
9
|
+
import "./baseImp-20a90e41.js";
|
|
10
|
+
import "./enum-type-154038c6.js";
|
|
11
11
|
import "./icon-a0e0cdb0.js";
|
|
12
|
-
import "./dialog-
|
|
12
|
+
import "./dialog-7785477a.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
|
-
import "./uuid-
|
|
14
|
+
import "./uuid-c0d8695e.js";
|
|
15
15
|
import "element-plus";
|
|
16
|
-
import "./index-
|
|
17
|
-
import "./slot-
|
|
16
|
+
import "./index-ed5df8f0.js";
|
|
17
|
+
import "./slot-262f69f7.js";
|
|
18
18
|
import "./widget-base-4c2d6265.js";
|
|
19
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
20
|
-
import "./index-
|
|
21
|
-
import "./fieldobj-
|
|
22
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
19
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1740e903.js";
|
|
20
|
+
import "./index-b48762a8.js";
|
|
21
|
+
import "./fieldobj-b9410b27.js";
|
|
22
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-e5255e33.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
25
|
const T = { class: "input-with-unit" }, A = {
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { defineComponent as f, resolveComponent as O, openBlock as t, createBlock as i, mergeProps as n, unref as r, withCtx as s, isRef as S, toHandlers as z, createSlots as D, renderList as I, resolveDynamicComponent as W, createCommentVNode as l } from "vue";
|
|
2
|
-
import { e as h } from "./enum-type-
|
|
2
|
+
import { e as h } from "./enum-type-8b297420.js";
|
|
3
3
|
import { I as x } from "./field-base-5547436d.js";
|
|
4
|
-
import { b as A } from "./share-field-
|
|
5
|
-
import { g as B } from "./slot-
|
|
6
|
-
import E from "./form-item-wrapper-
|
|
7
|
-
import { w as L } from "./expression-
|
|
8
|
-
import { D as P } from "./drag-wrapper-
|
|
4
|
+
import { b as A } from "./share-field-12b7c18a.js";
|
|
5
|
+
import { g as B } from "./slot-262f69f7.js";
|
|
6
|
+
import E from "./form-item-wrapper-651dae53.js";
|
|
7
|
+
import { w as L } from "./expression-a866a962.js";
|
|
8
|
+
import { D as P } from "./drag-wrapper-8fc33ced.js";
|
|
9
9
|
import "./widget-base-4c2d6265.js";
|
|
10
|
-
import "./multirow-
|
|
11
|
-
import "./baseImp-
|
|
12
|
-
import "./enum-type-
|
|
10
|
+
import "./multirow-a47c974b.js";
|
|
11
|
+
import "./baseImp-20a90e41.js";
|
|
12
|
+
import "./enum-type-154038c6.js";
|
|
13
13
|
import "./icon-a0e0cdb0.js";
|
|
14
|
-
import "./dialog-
|
|
14
|
+
import "./dialog-7785477a.js";
|
|
15
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
|
-
import "./uuid-
|
|
16
|
+
import "./uuid-c0d8695e.js";
|
|
17
17
|
import "element-plus";
|
|
18
|
-
import "./index-
|
|
19
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
20
|
-
import "./index-
|
|
18
|
+
import "./index-ed5df8f0.js";
|
|
19
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1740e903.js";
|
|
20
|
+
import "./index-b48762a8.js";
|
|
21
21
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
22
|
-
import "./fieldobj-
|
|
23
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
22
|
+
import "./fieldobj-b9410b27.js";
|
|
23
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-e5255e33.js";
|
|
24
24
|
import "./source-map-b04aec4a.js";
|
|
25
25
|
import "./esprima-e8d15055.js";
|
|
26
26
|
const T = f({ componentName: L.FieldWidget }), fe = /* @__PURE__ */ f({
|
|
@@ -1,13 +1,13 @@
|
|
|
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-e5255e33.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "./field-base-5547436d.js";
|
|
4
4
|
import "./widget-base-4c2d6265.js";
|
|
5
|
-
import "./index-
|
|
6
|
-
import "./enum-type-
|
|
5
|
+
import "./index-b48762a8.js";
|
|
6
|
+
import "./enum-type-8b297420.js";
|
|
7
7
|
import "./icon-a0e0cdb0.js";
|
|
8
8
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
9
|
-
import "./enum-type-
|
|
10
|
-
import "./fieldobj-
|
|
9
|
+
import "./enum-type-154038c6.js";
|
|
10
|
+
import "./fieldobj-b9410b27.js";
|
|
11
11
|
export {
|
|
12
12
|
o as default
|
|
13
13
|
};
|
|
@@ -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 { e as d } from "./enum-type-
|
|
5
|
-
import { u as v } from "./fieldobj-
|
|
3
|
+
import { S as b } from "./index-b48762a8.js";
|
|
4
|
+
import { e as d } from "./enum-type-154038c6.js";
|
|
5
|
+
import { u as v } from "./fieldobj-b9410b27.js";
|
|
6
6
|
const w = { key: 1 }, z = /* @__PURE__ */ h({
|
|
7
7
|
__name: "label-wrapper",
|
|
8
8
|
props: {
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { defineComponent as l, openBlock as e, createBlock as r, 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 b } from "./expression-
|
|
5
|
-
import { _ as C } from "./content-wrapper.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { S as c } from "./index-
|
|
7
|
-
import { b as F } from "./share-field-
|
|
3
|
+
import { _ as P } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-d4bae7ad.js";
|
|
4
|
+
import { w as b } from "./expression-a866a962.js";
|
|
5
|
+
import { _ as C } from "./content-wrapper.vue_vue_type_script_setup_true_lang-8a7b40c2.js";
|
|
6
|
+
import { S as c } from "./index-b48762a8.js";
|
|
7
|
+
import { b as F } from "./share-field-12b7c18a.js";
|
|
8
8
|
import "./widget-base-4c2d6265.js";
|
|
9
|
-
import "./enum-type-
|
|
10
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
11
|
-
import "./index-
|
|
12
|
-
import "./uuid-
|
|
13
|
-
import "./enum-type-
|
|
14
|
-
import "./baseImp-
|
|
9
|
+
import "./enum-type-8b297420.js";
|
|
10
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1740e903.js";
|
|
11
|
+
import "./index-ed5df8f0.js";
|
|
12
|
+
import "./uuid-c0d8695e.js";
|
|
13
|
+
import "./enum-type-154038c6.js";
|
|
14
|
+
import "./baseImp-20a90e41.js";
|
|
15
15
|
import "./icon-a0e0cdb0.js";
|
|
16
|
-
import "./dialog-
|
|
16
|
+
import "./dialog-7785477a.js";
|
|
17
17
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
18
18
|
import "element-plus";
|
|
19
|
-
import "./fieldobj-
|
|
20
|
-
import "./slot-
|
|
21
|
-
import "./drag-wrapper-
|
|
19
|
+
import "./fieldobj-b9410b27.js";
|
|
20
|
+
import "./slot-262f69f7.js";
|
|
21
|
+
import "./drag-wrapper-8fc33ced.js";
|
|
22
22
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
|
-
import "./multirow-
|
|
25
|
+
import "./multirow-a47c974b.js";
|
|
26
26
|
const S = l({ componentName: b.FieldWidget }), oo = /* @__PURE__ */ l({
|
|
27
27
|
...S,
|
|
28
28
|
__name: "link-widget",
|
|
@@ -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-99ee3805.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 $, e as a } from "./enum-type-
|
|
3
|
-
import { w as ke } from "./expression-
|
|
2
|
+
import { c as $, e as a } from "./enum-type-8b297420.js";
|
|
3
|
+
import { w as ke } from "./expression-a866a962.js";
|
|
4
4
|
import { I as Ae } from "./widget-base-4c2d6265.js";
|
|
5
|
-
import { a as Te, b as he } from "./index-
|
|
6
|
-
import { b 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 { a as Te, b as he } from "./index-ed5df8f0.js";
|
|
6
|
+
import { b as ye } from "./share-field-12b7c18a.js";
|
|
7
|
+
import { c as De } from "./slot-262f69f7.js";
|
|
8
|
+
import { B as k } from "./baseImp-20a90e41.js";
|
|
9
|
+
import { S as Oe } from "./index-b48762a8.js";
|
|
10
|
+
import { D as _e } from "./drag-wrapper-8fc33ced.js";
|
|
11
|
+
import { _ as Be } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1740e903.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-a866a962.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 { b as z } from "./share-field-
|
|
4
|
+
import { _ as V } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1740e903.js";
|
|
5
|
+
import { _ as W } from "./ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-99ee3805.js";
|
|
6
|
+
import { c as $ } from "./slot-262f69f7.js";
|
|
7
|
+
import { b as z } from "./share-field-12b7c18a.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,46 +1,46 @@
|
|
|
1
|
-
import { defineComponent as j, computed as _, watch as k, onMounted as Z, nextTick as I, resolveComponent as ee, openBlock as C, createBlock as
|
|
2
|
-
import { g as te, J as f, K as oe, P as le } from "./baseImp-
|
|
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, J as f, K as oe, P as le } from "./baseImp-20a90e41.js";
|
|
3
3
|
import { u as ue } from "./icon-a0e0cdb0.js";
|
|
4
|
-
import {
|
|
4
|
+
import { F as ae, H as E, d as b, Y as ce } from "./enum-type-8b297420.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 { b as fe } from "./share-field-
|
|
8
|
-
import { w as pe, f as me } from "./expression-
|
|
9
|
-
import { _ as ve } from "./subMenu-widget.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import {
|
|
11
|
-
import "./dialog-
|
|
6
|
+
import { _ as ie } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1740e903.js";
|
|
7
|
+
import { b as fe } from "./share-field-12b7c18a.js";
|
|
8
|
+
import { w as pe, f as me } from "./expression-a866a962.js";
|
|
9
|
+
import { _ as ve } from "./subMenu-widget.vue_vue_type_script_setup_true_lang-8aceb920.js";
|
|
10
|
+
import { $ as O } from "./enum-type-154038c6.js";
|
|
11
|
+
import "./dialog-7785477a.js";
|
|
12
12
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
|
-
import "./uuid-
|
|
13
|
+
import "./uuid-c0d8695e.js";
|
|
14
14
|
import "element-plus";
|
|
15
15
|
import "./widget-base-4c2d6265.js";
|
|
16
|
-
import "./index-
|
|
17
|
-
import "./index-
|
|
16
|
+
import "./index-ed5df8f0.js";
|
|
17
|
+
import "./index-b48762a8.js";
|
|
18
18
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
19
|
-
import "./fieldobj-
|
|
20
|
-
import "./multirow-
|
|
21
|
-
import "./slot-
|
|
19
|
+
import "./fieldobj-b9410b27.js";
|
|
20
|
+
import "./multirow-a47c974b.js";
|
|
21
|
+
import "./slot-262f69f7.js";
|
|
22
22
|
import "./source-map-b04aec4a.js";
|
|
23
23
|
import "./esprima-e8d15055.js";
|
|
24
|
-
const de = j({ componentName: pe.FieldWidget }),
|
|
24
|
+
const de = j({ componentName: pe.FieldWidget }), Se = /* @__PURE__ */ j({
|
|
25
25
|
...de,
|
|
26
26
|
__name: "menu-widget",
|
|
27
27
|
props: { ...se },
|
|
28
|
-
setup(A, { expose:
|
|
29
|
-
const V = A, { fieldEditor: g, fieldKey: w, attrs: c, events: D, extendAttrs: s, optionItems: l, activeOptionItems: y, filterOptionItems: P, exposed:
|
|
28
|
+
setup(A, { expose: $ }) {
|
|
29
|
+
const V = A, { fieldEditor: g, fieldKey: w, attrs: c, events: D, extendAttrs: s, optionItems: l, activeOptionItems: y, filterOptionItems: P, exposed: G, fieldObj: S, existEvent: W, handleEvent: H } = fe(V), { instance: K } = ue(), L = te({ instance: K }), p = (e) => e == null ? void 0 : e.route, u = (e) => e == null ? void 0 : e.value, N = (e) => {
|
|
30
30
|
const n = p(e);
|
|
31
31
|
if (!n)
|
|
32
32
|
return "";
|
|
33
|
-
const r = f.getLocationQueryParams(), t = oe(le.getValue(e.buildUrlParams) || "", { urlParams: r, ctx:
|
|
33
|
+
const r = f.getLocationQueryParams(), t = oe(le.getValue(e.buildUrlParams) || "", { urlParams: r, ctx: L });
|
|
34
34
|
let o = "";
|
|
35
35
|
return e != null && e.attachUrlParams ? o = f.buildUrl(n, { ...r, ...t }) : o = f.buildUrl(n, t), o;
|
|
36
36
|
}, F = _(() => {
|
|
37
37
|
const e = ae(l == null ? void 0 : l.value);
|
|
38
|
-
return
|
|
39
|
-
m(e, u(n)) ? n.route =
|
|
38
|
+
return E(e, "children", (n) => !0, (n) => {
|
|
39
|
+
m(e, u(n)) ? n.route = N(n) || u(n) : n.route = u(n);
|
|
40
40
|
}), e;
|
|
41
41
|
}), J = (e) => {
|
|
42
42
|
let n = "";
|
|
43
|
-
return
|
|
43
|
+
return E(F.value, "children", (r) => u(r) === e, (r) => {
|
|
44
44
|
n = p(r) || u(r);
|
|
45
45
|
}), n;
|
|
46
46
|
}, U = (e, n) => e == null ? void 0 : e.some((r) => {
|
|
@@ -53,18 +53,18 @@ const de = j({ componentName: pe.FieldWidget }), We = /* @__PURE__ */ j({
|
|
|
53
53
|
const e = window.location.href, n = f.getBaseUrl(e);
|
|
54
54
|
var r = P((t) => {
|
|
55
55
|
var o = me.isActiveItem;
|
|
56
|
-
if (
|
|
57
|
-
return
|
|
58
|
-
const i = p(t),
|
|
59
|
-
return !!i && (n == null ? void 0 : n.endsWith(
|
|
56
|
+
if (W(o))
|
|
57
|
+
return H(o, { item: t });
|
|
58
|
+
const i = p(t), X = f.getBaseUrl(i);
|
|
59
|
+
return !!i && (n == null ? void 0 : n.endsWith(X));
|
|
60
60
|
});
|
|
61
61
|
return r == null ? void 0 : r.map((t) => u(t));
|
|
62
|
-
},
|
|
62
|
+
}, Y = () => {
|
|
63
63
|
var e;
|
|
64
64
|
return (e = y == null ? void 0 : y.value) == null ? void 0 : e.map((n) => u(n));
|
|
65
65
|
}, v = _(() => {
|
|
66
66
|
var r;
|
|
67
|
-
var e =
|
|
67
|
+
var e = Y();
|
|
68
68
|
if ((r = c == null ? void 0 : c.value) != null && r.router && !V.designState) {
|
|
69
69
|
var n = Q();
|
|
70
70
|
return n && (n == null ? void 0 : n.length) > 0 ? n : e;
|
|
@@ -111,19 +111,19 @@ const de = j({ componentName: pe.FieldWidget }), We = /* @__PURE__ */ j({
|
|
|
111
111
|
(r = s == null ? void 0 : s.value) != null && r.openAll || (x(!0), z(n));
|
|
112
112
|
});
|
|
113
113
|
});
|
|
114
|
-
}),
|
|
115
|
-
...
|
|
114
|
+
}), $({
|
|
115
|
+
...G,
|
|
116
116
|
getActiveTree: () => {
|
|
117
117
|
var e = [];
|
|
118
118
|
return ce(l == null ? void 0 : l.value, e, "children", (n) => d.value === p(n)), e.reverse();
|
|
119
119
|
}
|
|
120
120
|
}), (e, n) => {
|
|
121
121
|
const r = ee("el-menu");
|
|
122
|
-
return C(),
|
|
123
|
-
"prop-options": { fieldObj: a(
|
|
122
|
+
return C(), M(ie, R(e.$props, {
|
|
123
|
+
"prop-options": { fieldObj: a(S) }
|
|
124
124
|
}), {
|
|
125
|
-
default:
|
|
126
|
-
(C(),
|
|
125
|
+
default: B(({ data: t }) => [
|
|
126
|
+
(C(), M(r, R({
|
|
127
127
|
ref_key: "fieldEditor",
|
|
128
128
|
ref: g,
|
|
129
129
|
key: a(w)
|
|
@@ -131,7 +131,7 @@ const de = j({ componentName: pe.FieldWidget }), We = /* @__PURE__ */ j({
|
|
|
131
131
|
class: t.injectClass,
|
|
132
132
|
style: t.injectStyle
|
|
133
133
|
}), {
|
|
134
|
-
default:
|
|
134
|
+
default: B(() => {
|
|
135
135
|
var o;
|
|
136
136
|
return [
|
|
137
137
|
ne(ve, {
|
|
@@ -150,5 +150,5 @@ const de = j({ componentName: pe.FieldWidget }), We = /* @__PURE__ */ j({
|
|
|
150
150
|
}
|
|
151
151
|
});
|
|
152
152
|
export {
|
|
153
|
-
|
|
153
|
+
Se as default
|
|
154
154
|
};
|
|
@@ -1,24 +1,24 @@
|
|
|
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 { b 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 { c as I } from "./baseImp-
|
|
7
|
-
import { e as x } from "./enum-type-
|
|
3
|
+
import { b as q } from "./share-field-12b7c18a.js";
|
|
4
|
+
import { _ as z } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1740e903.js";
|
|
5
|
+
import { W as w } from "./enum-type-154038c6.js";
|
|
6
|
+
import { c as I } from "./baseImp-20a90e41.js";
|
|
7
|
+
import { e as x } from "./enum-type-8b297420.js";
|
|
8
8
|
import { Plus as G, Edit as H } from "./index-ddd23411.js";
|
|
9
|
-
import "./multirow-
|
|
10
|
-
import "./index-
|
|
11
|
-
import "./uuid-
|
|
12
|
-
import "./expression-
|
|
9
|
+
import "./multirow-a47c974b.js";
|
|
10
|
+
import "./index-ed5df8f0.js";
|
|
11
|
+
import "./uuid-c0d8695e.js";
|
|
12
|
+
import "./expression-a866a962.js";
|
|
13
13
|
import "./source-map-b04aec4a.js";
|
|
14
14
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
15
|
import "./esprima-e8d15055.js";
|
|
16
|
-
import "./slot-
|
|
16
|
+
import "./slot-262f69f7.js";
|
|
17
17
|
import "./icon-a0e0cdb0.js";
|
|
18
|
-
import "./index-
|
|
18
|
+
import "./index-b48762a8.js";
|
|
19
19
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
|
-
import "./fieldobj-
|
|
21
|
-
import "./dialog-
|
|
20
|
+
import "./fieldobj-b9410b27.js";
|
|
21
|
+
import "./dialog-7785477a.js";
|
|
22
22
|
import "element-plus";
|
|
23
23
|
const J = { style: { display: "flex", "flex-direction": "row" } }, Q = { style: { flex: "1" } }, ge = /* @__PURE__ */ O({
|
|
24
24
|
__name: "model-widget",
|
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
import { b as X, B as Y, c as Z } from "./baseImp-20a90e41.js";
|
|
2
|
+
import { g as x, c as I, t as L, r as R } from "./index-ed5df8f0.js";
|
|
3
|
+
import { c as T, F as k, g as d } from "./slot-262f69f7.js";
|
|
4
|
+
import { i as K, o as b, d as B, I as rr, M as q, D as er, g as tr, k as P } from "./enum-type-8b297420.js";
|
|
5
|
+
import { reactive as A, ref as sr } from "vue";
|
|
6
|
+
import { u as or } from "./icon-a0e0cdb0.js";
|
|
7
|
+
import { u as nr, g as ur } from "./uuid-c0d8695e.js";
|
|
8
|
+
import { f as a } from "./expression-a866a962.js";
|
|
9
|
+
function ir() {
|
|
10
|
+
const e = {}, g = (r, t) => {
|
|
11
|
+
var s, n, u, o;
|
|
12
|
+
return r ? !!((s = r == null ? void 0 : r.proxy) != null && s.$options && ((u = (n = r == null ? void 0 : r.proxy) == null ? void 0 : n.$options) == null ? void 0 : u.componentName) === t || r != null && r.exposed && ((o = r == null ? void 0 : r.exposed) == null ? void 0 : o.componentName) === t) : !1;
|
|
13
|
+
}, h = (r, t, s) => {
|
|
14
|
+
r && b(r).forEach((n) => {
|
|
15
|
+
g(r[n], t) && (s == null || s(r[n]));
|
|
16
|
+
});
|
|
17
|
+
}, l = (r, t, s) => {
|
|
18
|
+
r && (g(r, t) ? s == null || s(r) : l(r.parent, t, s));
|
|
19
|
+
};
|
|
20
|
+
return {
|
|
21
|
+
emit$(r, t) {
|
|
22
|
+
e[r] && e[r].forEach((s) => {
|
|
23
|
+
s(t);
|
|
24
|
+
});
|
|
25
|
+
},
|
|
26
|
+
on$(r, t) {
|
|
27
|
+
e[r] = e[r] || [], e[r].push(t);
|
|
28
|
+
},
|
|
29
|
+
off$(r, t) {
|
|
30
|
+
if (e[r]) {
|
|
31
|
+
if (K(t)) {
|
|
32
|
+
e[r].length = 0;
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
for (let s = 0; s < e[r].length; s++)
|
|
36
|
+
if (e[r][s] === t) {
|
|
37
|
+
e[r].splice(s, 1);
|
|
38
|
+
break;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
dispatch(r, t, s, n) {
|
|
43
|
+
if (!r)
|
|
44
|
+
return;
|
|
45
|
+
let u = n.parent || n.root;
|
|
46
|
+
l(u, r, (o) => {
|
|
47
|
+
var c;
|
|
48
|
+
o && (o.exposed.emit$ && o.exposed.emit$(t, s), o != null && o.proxy && ((c = o == null ? void 0 : o.proxy) == null || c.$emit(t, s)));
|
|
49
|
+
});
|
|
50
|
+
},
|
|
51
|
+
broadcast(r, t, s, n, u = []) {
|
|
52
|
+
u == null || u.forEach((o) => {
|
|
53
|
+
h(n[o], r, (c) => {
|
|
54
|
+
c.emit$ && c.emit$.call(c, t, s);
|
|
55
|
+
});
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
const M = "", j = "_", H = (e, g) => K(g) ? e || "" : `${M}${e}${j}${g}`, p = (e) => {
|
|
61
|
+
if (e != null && e.includes(j)) {
|
|
62
|
+
var g = e.split(j);
|
|
63
|
+
const h = g == null ? void 0 : g[0].substring(M.length), l = e.substring(M.length + h.length + 1);
|
|
64
|
+
return { id: h, groupName: l };
|
|
65
|
+
}
|
|
66
|
+
return { id: e };
|
|
67
|
+
};
|
|
68
|
+
var fr = /* @__PURE__ */ ((e) => (e[e.None = 0] = "None", e[e.Inner2Inner = 1] = "Inner2Inner", e[e.Inner2Outer = 2] = "Inner2Outer", e[e.Outer2Inner = 3] = "Outer2Inner", e[e.Outer2Outer = 4] = "Outer2Outer", e[e.DiffInner = 5] = "DiffInner", e))(fr || {});
|
|
69
|
+
const wr = (e, g) => {
|
|
70
|
+
const h = p(e), l = h == null ? void 0 : h.groupName, r = p(g), t = r == null ? void 0 : r.groupName;
|
|
71
|
+
return !l && !t ? 4 : l && !t ? 2 : l && t ? l !== t ? 5 : 1 : !l && t ? 3 : 0;
|
|
72
|
+
};
|
|
73
|
+
function gr(e, g) {
|
|
74
|
+
const h = g == null ? void 0 : g.pageConfig, l = g == null ? void 0 : g.formData, r = A({});
|
|
75
|
+
B(r, l);
|
|
76
|
+
var { instance: t } = or();
|
|
77
|
+
const s = () => {
|
|
78
|
+
var c = x(e);
|
|
79
|
+
c == null || c.forEach((S) => {
|
|
80
|
+
const { computedDefaultValue: v, fieldName: _, hasDefaultValue: O } = X(S.field, g, { s_fieldName: !0 }, t);
|
|
81
|
+
_.value && O() && rr(v()).then((w) => {
|
|
82
|
+
B(r, { [_.value]: w });
|
|
83
|
+
});
|
|
84
|
+
});
|
|
85
|
+
}, n = () => {
|
|
86
|
+
q(r);
|
|
87
|
+
};
|
|
88
|
+
return {
|
|
89
|
+
formModel: r,
|
|
90
|
+
pageConfig: h,
|
|
91
|
+
widgetList: e,
|
|
92
|
+
initData: s,
|
|
93
|
+
setData: (c, S = !0) => {
|
|
94
|
+
S && n(), B(r, c);
|
|
95
|
+
},
|
|
96
|
+
getData: () => er(r),
|
|
97
|
+
clearData: n
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
function cr() {
|
|
101
|
+
const e = (t, s) => R(t, { newName: !0, recordSource: !0 }, (u, o) => H(u || o, s), (u) => !!u.dynamicItemFlag), g = (t, s, n) => {
|
|
102
|
+
var v, _;
|
|
103
|
+
P(n) && (n = `${(v = nr()) == null ? void 0 : v.substring(0, 5)}_${!P(s == null ? void 0 : s.$index) && (s == null ? void 0 : s.$index) >= 0 ? s == null ? void 0 : s.$index : ""}`);
|
|
104
|
+
var u = d(t, !0);
|
|
105
|
+
let o = u == null ? void 0 : u.map((O) => e(O, n));
|
|
106
|
+
const c = r(o), { updateFomulaName: S } = Z();
|
|
107
|
+
return (_ = b(c)) == null || _.forEach((O) => {
|
|
108
|
+
const w = c[O], y = w == null ? void 0 : w.name;
|
|
109
|
+
o = S(o, y, O);
|
|
110
|
+
}), { widget: o, id: n, key: ur(), data: s };
|
|
111
|
+
}, h = (t, s) => {
|
|
112
|
+
if (t || (t = []), s && (t == null ? void 0 : t.length) < s) {
|
|
113
|
+
const o = s - (t == null ? void 0 : t.length);
|
|
114
|
+
for (var n = 0; n < o; n++) {
|
|
115
|
+
var u = {};
|
|
116
|
+
t == null || t.push(u);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
return t;
|
|
120
|
+
}, l = (t, s, n, u) => {
|
|
121
|
+
if (Array.isArray(s))
|
|
122
|
+
return s = h(s, n), s == null ? void 0 : s.map((o, c) => {
|
|
123
|
+
const S = u ? u(o, c) : o;
|
|
124
|
+
return g(t, S, c + "");
|
|
125
|
+
});
|
|
126
|
+
}, r = (t, s) => {
|
|
127
|
+
let n = {};
|
|
128
|
+
return t && L(t, (u) => {
|
|
129
|
+
const o = Y.getName(u), c = () => {
|
|
130
|
+
o && (n[o] = u == null ? void 0 : u._source);
|
|
131
|
+
};
|
|
132
|
+
s ? s(u) && c() : c();
|
|
133
|
+
}), n;
|
|
134
|
+
};
|
|
135
|
+
return {
|
|
136
|
+
newSlot: g,
|
|
137
|
+
reflectTargetWithSourceOne: r,
|
|
138
|
+
getSlotFromData: l,
|
|
139
|
+
getMinRowData: h,
|
|
140
|
+
parseGroupId: p,
|
|
141
|
+
formatGroupId: H
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
function Wr(e) {
|
|
145
|
+
const g = e == null ? void 0 : e.fieldName, h = e == null ? void 0 : e.setValue, l = sr({}), r = A({}), t = A([]), { newSlot: s, reflectTargetWithSourceOne: n, getSlotFromData: u, getMinRowData: o } = cr(), c = (i, m) => {
|
|
146
|
+
var W;
|
|
147
|
+
let f = {};
|
|
148
|
+
const $ = n(m);
|
|
149
|
+
return (W = b(i)) == null || W.map((E) => {
|
|
150
|
+
var D, V, G;
|
|
151
|
+
const F = (D = $ == null ? void 0 : $[E]) == null ? void 0 : D.name;
|
|
152
|
+
F && (f[F] = i == null ? void 0 : i[E], (G = (V = b(i)) == null ? void 0 : V.filter((C) => C.startsWith(E + "_"))) == null || G.forEach((C) => {
|
|
153
|
+
f[C == null ? void 0 : C.replace(E, F)] = i == null ? void 0 : i[C];
|
|
154
|
+
}));
|
|
155
|
+
}), f;
|
|
156
|
+
}, S = (i, m) => {
|
|
157
|
+
var W, E;
|
|
158
|
+
let f = {};
|
|
159
|
+
if (tr(i)) {
|
|
160
|
+
const F = n(m, (D) => !!(D != null && D.formItemFlag));
|
|
161
|
+
(W = b(F)) == null || W.map((D) => {
|
|
162
|
+
var V;
|
|
163
|
+
D && (f[D] = i == null ? void 0 : i[(V = F == null ? void 0 : F[D]) == null ? void 0 : V.name]);
|
|
164
|
+
});
|
|
165
|
+
} else {
|
|
166
|
+
var $ = { pageConfig: (E = e == null ? void 0 : e.designer) == null ? void 0 : E.pageConfig, formData: f, designState: e == null ? void 0 : e.designState };
|
|
167
|
+
const { formModel: F, initData: D } = gr(m, $);
|
|
168
|
+
D(), B(f, F);
|
|
169
|
+
}
|
|
170
|
+
return f;
|
|
171
|
+
}, v = (i, m) => {
|
|
172
|
+
const f = S(m, i.widget);
|
|
173
|
+
return B(r, f), f;
|
|
174
|
+
}, _ = (i) => {
|
|
175
|
+
var m;
|
|
176
|
+
(m = b(r)) == null || m.forEach((f) => {
|
|
177
|
+
const $ = p(f);
|
|
178
|
+
($ == null ? void 0 : $.groupName) == i.id && delete r[f];
|
|
179
|
+
});
|
|
180
|
+
}, O = () => t == null ? void 0 : t.map((m) => c(r, m == null ? void 0 : m.widget)), w = (i, m) => {
|
|
181
|
+
q(r);
|
|
182
|
+
const f = m(i);
|
|
183
|
+
return f == null || f.forEach(($) => {
|
|
184
|
+
const W = S($ == null ? void 0 : $.data, $ == null ? void 0 : $.widget);
|
|
185
|
+
B(r, W);
|
|
186
|
+
}), t.splice(0, t.length), f && f.length > 0 && t.push(...f), t;
|
|
187
|
+
}, y = (i) => {
|
|
188
|
+
var f;
|
|
189
|
+
var m = T({ ...e, widget: i });
|
|
190
|
+
return (f = m.attrs) == null ? void 0 : f.value;
|
|
191
|
+
}, N = (i, m, f) => I(i, m, t, f), { off$: z, on$: J, emit$: Q } = ir(), U = () => {
|
|
192
|
+
z(a.fieldChange), J(a.fieldChange, (i) => {
|
|
193
|
+
var m;
|
|
194
|
+
h == null || h(O()), (m = e == null ? void 0 : e.fieldChanged) == null || m.call(e);
|
|
195
|
+
});
|
|
196
|
+
};
|
|
197
|
+
return (() => {
|
|
198
|
+
const i = g;
|
|
199
|
+
k.globalProvide({
|
|
200
|
+
globalFormName: i,
|
|
201
|
+
globalDataModel: r
|
|
202
|
+
}), U();
|
|
203
|
+
})(), {
|
|
204
|
+
getSlotFromData: u,
|
|
205
|
+
getMinRowData: o,
|
|
206
|
+
fromModel: S,
|
|
207
|
+
toModel: c,
|
|
208
|
+
newSlot: s,
|
|
209
|
+
getWidgetOption: y,
|
|
210
|
+
newFieldModelFromSlot: v,
|
|
211
|
+
removeFieldModelFromSlot: _,
|
|
212
|
+
getValue: O,
|
|
213
|
+
setValue: w,
|
|
214
|
+
findWidgetByNameWithSibId: N,
|
|
215
|
+
// listenFormModel,
|
|
216
|
+
emit$: Q,
|
|
217
|
+
formModel: r,
|
|
218
|
+
rowsData: t,
|
|
219
|
+
widgetRefList: l
|
|
220
|
+
};
|
|
221
|
+
}
|
|
222
|
+
export {
|
|
223
|
+
ir as a,
|
|
224
|
+
cr as b,
|
|
225
|
+
Wr as c,
|
|
226
|
+
fr as f,
|
|
227
|
+
wr as g,
|
|
228
|
+
p,
|
|
229
|
+
gr as u
|
|
230
|
+
};
|