hlrender 0.0.275 → 0.0.277
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-9300deb1.js → _pdf-9b5d27b4.js} +6 -6
- package/{_txt-980f8fe5.js → _txt-0593d0e0.js} +6 -6
- package/{_unsupport-1b097ae2.js → _unsupport-da233192.js} +1 -1
- package/{affix-widget-3d9d3ab4.js → affix-widget-5eff7539.js} +16 -16
- package/{alert-widget-a7df34cd.js → alert-widget-8cd84657.js} +16 -16
- package/{anchor-widget-04d9e748.js → anchor-widget-d58f6e60.js} +13 -13
- package/{auto-complete-widget-7fdb981a.js → auto-complete-widget-166082a5.js} +16 -16
- package/{avatar-widget-055c78ce.js → avatar-widget-f97be7ac.js} +16 -16
- package/{backtop-widget-92937e86.js → backtop-widget-1006665d.js} +16 -16
- package/{badge-widget-1f5e7de4.js → badge-widget-1d0ed75f.js} +16 -16
- package/{barcode-widget-231a8df0.js → barcode-widget-25155300.js} +13 -13
- package/{baseImp-59f32ed8.js → baseImp-400cad07.js} +755 -755
- package/{breadcrumb-widget-87f4990a.js → breadcrumb-widget-bdd20066.js} +13 -13
- package/{button-widget-b60683fd.js → button-widget-880d8d0c.js} +16 -16
- package/{cache-widget-e87f1b12.js → cache-widget-5c727929.js} +15 -15
- package/{card-widget-397b114d.js → card-widget-f179a2e6.js} +14 -14
- package/{carousel-widget-1f45fb6f.js → carousel-widget-36fae939.js} +14 -14
- package/{cascader-widget-aa8de234.js → cascader-widget-b1c95acc.js} +15 -15
- package/{chart-widget-1515bc55.js → chart-widget-4ca61f96.js} +13 -13
- package/{checkbox-widget-fad2b786.js → checkbox-widget-2f21494c.js} +15 -15
- package/{collapse-widget-61a38835.js → collapse-widget-3b1dff24.js} +14 -14
- package/{color-picker-widget-fbdaccd2.js → color-picker-widget-1b2e9202.js} +15 -15
- package/{cont-cell-widget-eb40d148.js → cont-cell-widget-70f95189.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-eb5196fd.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-41f5c952.js} +5 -5
- package/{cont-widget-7d6df43f.js → cont-widget-6651a278.js} +5 -5
- package/{content-wrapper-3d003ed0.js → content-wrapper-34143ad2.js} +7 -7
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-a50f99a8.js → content-wrapper.vue_vue_type_script_setup_true_lang-4a379729.js} +3 -3
- package/{countdown-widget-699a4d4f.js → countdown-widget-b23ab287.js} +16 -16
- package/{date-picker-range-widget-3b175549.js → date-picker-range-widget-140bbecb.js} +15 -15
- package/{date-picker-widget-10ddbefb.js → date-picker-widget-80cabeb6.js} +15 -15
- package/default-slot-widget-7edc42af.js +27 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-a2a01c7e.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-16bebcdc.js} +7 -7
- package/{descriptions-widget-0f8df31f.js → descriptions-widget-9f167292.js} +14 -14
- package/{dialog-003d60d4.js → dialog-ba82cdec.js} +2 -2
- package/{dialog-widget-4341f34e.js → dialog-widget-2a57427d.js} +15 -15
- package/{divider-widget-21683346.js → divider-widget-71a9e507.js} +16 -16
- package/{drag-wrapper-de2e2fbe.js → drag-wrapper-0704d6d1.js} +6 -6
- package/{drawer-widget-42a61e46.js → drawer-widget-fa8cf284.js} +15 -15
- package/{dropdown-widget-18eb8f5b.js → dropdown-widget-2ef54612.js} +35 -35
- package/{empty-widget-500c1eb7.js → empty-widget-4d0f6c1a.js} +16 -16
- package/{enum-type-e5e6ba33.js → enum-type-c811e210.js} +1 -1
- package/{enum-type-6ac4c4d4.js → enum-type-e79908ad.js} +2 -2
- package/{expression-22698064.js → expression-33c6675c.js} +2 -2
- package/feedback-widget-400446d0.js +27 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-c5ed0f4e.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-0b73037d.js} +6 -6
- package/{fieldobj-7311a036.js → fieldobj-f85abb19.js} +1 -1
- package/{file-upload-widget-152afe9d.js → file-upload-widget-e26dd00d.js} +20 -20
- package/{form-item-wrapper-a15a3788.js → form-item-wrapper-34a76f45.js} +11 -11
- package/{form-widget-11b08925.js → form-widget-af38cc51.js} +25 -25
- package/{grid-col-widget-a7135e3b.js → grid-col-widget-5b120c88.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-3e46c8e3.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-5832033b.js} +5 -5
- package/{grid-widget-37783953.js → grid-widget-2bbce1f4.js} +5 -5
- package/{hcard-widget-251f924f.js → hcard-widget-08c0c173.js} +14 -14
- package/{html-text-widget-3398f3f3.js → html-text-widget-4d24ba9c.js} +14 -14
- package/{icon-widget-c40670f3.js → icon-widget-16401900.js} +13 -13
- package/{iframe-widget-95725850.js → iframe-widget-f326d813.js} +13 -13
- package/{image-widget-4dccb3cb.js → image-widget-7ea56ba3.js} +13 -13
- package/{index-170931d8.js → index-2bf9b2be.js} +1 -1
- package/{index-50ac6b9c.js → index-ae0006aa.js} +5 -5
- package/{index-6b1b38bd.js → index-c0a3d6e7.js} +4 -4
- package/{input-number-widget-35e2b7c8.js → input-number-widget-29452144.js} +15 -15
- package/{input-tag-widget-e94c22a9.js → input-tag-widget-9f8109eb.js} +16 -16
- package/{input-widget-7707f453.js → input-widget-aeb57864.js} +16 -16
- package/{label-wrapper-005f6858.js → label-wrapper-7e729f44.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-f6d14143.js → label-wrapper.vue_vue_type_style_index_0_lang-cc21dbd8.js} +3 -3
- package/{link-widget-b2175e6a.js → link-widget-a4457819.js} +16 -16
- package/{ltable-col-widget-f615cad7.js → ltable-col-widget-8b738da7.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-bddd15f2.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-49396695.js} +9 -9
- package/{ltable-widget-d31e15a1.js → ltable-widget-aea8e6d2.js} +5 -5
- package/{mention-widget-96100894.js → mention-widget-a1f5438d.js} +16 -16
- package/{menu-widget-148fd4ea.js → menu-widget-c996b76e.js} +14 -14
- package/{model-widget-6a052edf.js → model-widget-c1ffd4d7.js} +13 -13
- package/multirow-08ac8d9a.js +230 -0
- package/{multirow-widget-fa96667f.js → multirow-widget-247be0f8.js} +142 -142
- package/package.json +1 -1
- package/{pagination-widget-66e2f0a2.js → pagination-widget-3a85115a.js} +13 -13
- package/{picture-upload-widget-075e05c1.js → picture-upload-widget-18fa68b4.js} +16 -16
- package/{progress-widget-333d7a0a.js → progress-widget-e763c498.js} +14 -14
- package/{qrcode-widget-045e0c9a.js → qrcode-widget-e9ee4a6e.js} +13 -13
- package/{radio-widget-fe12d4c8.js → radio-widget-d23aedc3.js} +15 -15
- package/{range-widget-fc86ae7e.js → range-widget-1dd729bf.js} +16 -16
- package/{rate-widget-d778af5d.js → rate-widget-4bbc2e66.js} +15 -15
- package/render.es.js +62 -62
- package/render.style.css +1 -1
- package/render.umd.js +314 -314
- package/{result-widget-46f08a0a.js → result-widget-bbe17dd2.js} +14 -14
- package/{rich-editor-widget-5b1f66ab.js → rich-editor-widget-21fa8e4c.js} +15 -15
- package/{router-widget-8f1aad9c.js → router-widget-d51b8479.js} +13 -13
- package/{segmented-widget-2a0b784f.js → segmented-widget-18a04c75.js} +13 -13
- package/{select-widget-5468d1da.js → select-widget-c2bf646a.js} +15 -15
- package/{sfc-617b09f7.js → sfc-31e7b9c3.js} +8 -8
- package/{sfcview-8b8843f7.js → sfcview-97706d6a.js} +7 -7
- package/{share-field-3a9e6bb1.js → share-field-81883144.js} +178 -175
- package/{share-file-d70f8343.js → share-file-0a8dc7ab.js} +6 -6
- package/{skeleton-widget-5387eed4.js → skeleton-widget-6db08389.js} +16 -16
- package/{skeletonItem-widget-ecdd9a97.js → skeletonItem-widget-22f3cbe2.js} +13 -13
- package/{slider-widget-1f440f9c.js → slider-widget-62638317.js} +15 -15
- package/{slot-6351573b.js → slot-474db76c.js} +3 -3
- package/{space-widget-9d18ca7c.js → space-widget-43b960bf.js} +14 -14
- package/{splitter-widget-98a807ad.js → splitter-widget-190aaa61.js} +14 -14
- package/{static-text-widget-21ac4878.js → static-text-widget-90b0cfc8.js} +14 -14
- package/{statistic-widget-db1a0147.js → statistic-widget-fd6f6f6a.js} +16 -16
- package/{steps-widget-9f35d784.js → steps-widget-eaefe865.js} +13 -13
- package/{subMenu-widget-851a139d.js → subMenu-widget-4d9681aa.js} +8 -8
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-4590af73.js → subMenu-widget.vue_vue_type_script_setup_true_lang-5d15c8c6.js} +3 -3
- package/{switch-widget-5a370968.js → switch-widget-97664e9a.js} +15 -15
- package/{tab-pane-widget-a7bd2ceb.js → tab-pane-widget-cbed5317.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-7699e876.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-72f1e2bd.js} +5 -5
- package/table-col-widget-173f4dc6.js +23 -0
- package/table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-7284959f.js +117 -0
- package/{table-widget-4d183bab.js → table-widget-18ccb965.js} +79 -79
- package/{tabs-widget-5a65c0d7.js → tabs-widget-22b82ad0.js} +7 -7
- package/{tag-widget-1579b309.js → tag-widget-e7db4e04.js} +16 -16
- package/{text-widget-4638bd8d.js → text-widget-51be8fe5.js} +16 -16
- package/{textarea-widget-bf728b3e.js → textarea-widget-747dc446.js} +15 -15
- package/{time-picker-range-widget-e6623bbc.js → time-picker-range-widget-1109a59d.js} +15 -15
- package/{time-picker-widget-7e096da7.js → time-picker-widget-553b16f2.js} +15 -15
- package/{time-select-widget-5ad455af.js → time-select-widget-43f6185d.js} +15 -15
- package/{timeline-widget-e9682df9.js → timeline-widget-aa087667.js} +44 -43
- package/tmpl-widget-eadd7932.js +98 -0
- package/{tooltip-widget-c955b957.js → tooltip-widget-330fb645.js} +14 -14
- package/{tour-widget-2f93943e.js → tour-widget-ab373a54.js} +13 -13
- package/{transfer-widget-ae894a04.js → transfer-widget-fec3ecb0.js} +16 -16
- package/{tree-select-widget-7ba9d526.js → tree-select-widget-fafa708c.js} +15 -15
- package/{tree-widget-d501b9d5.js → tree-widget-d28f3bc9.js} +13 -13
- package/{uuid-432548c7.js → uuid-803a2cf2.js} +1 -1
- package/{verifycode-widget-99e9067a.js → verifycode-widget-cfaac442.js} +13 -13
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-e3509187.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b10bd579.js} +7 -7
- package/{wrapper-widget-9e9c2a52.js → wrapper-widget-92e202dc.js} +6 -6
- package/default-slot-widget-94f14120.js +0 -27
- package/feedback-widget-0206c486.js +0 -27
- package/multirow-9ca4ca37.js +0 -230
- package/table-col-widget-09f03c57.js +0 -23
- package/table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-13c6965a.js +0 -114
- package/tmpl-widget-6e0ba669.js +0 -98
|
@@ -1,26 +1,26 @@
|
|
|
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 { a as h } from "./share-field-
|
|
2
|
+
import { a as h } from "./share-field-81883144.js";
|
|
3
3
|
import { I as z } from "./field-base-1acf3ada.js";
|
|
4
|
-
import B from "./form-item-wrapper-
|
|
5
|
-
import { w as P } from "./expression-
|
|
4
|
+
import B from "./form-item-wrapper-34a76f45.js";
|
|
5
|
+
import { w as P } from "./expression-33c6675c.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-e79908ad.js";
|
|
8
|
+
import "./multirow-08ac8d9a.js";
|
|
9
|
+
import "./baseImp-400cad07.js";
|
|
10
|
+
import "./enum-type-c811e210.js";
|
|
11
11
|
import "./icon-1fc5d00d.js";
|
|
12
12
|
import "axios";
|
|
13
|
-
import "./dialog-
|
|
13
|
+
import "./dialog-ba82cdec.js";
|
|
14
14
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
|
-
import "./uuid-
|
|
15
|
+
import "./uuid-803a2cf2.js";
|
|
16
16
|
import "element-plus";
|
|
17
|
-
import "./index-
|
|
18
|
-
import "./slot-
|
|
17
|
+
import "./index-ae0006aa.js";
|
|
18
|
+
import "./slot-474db76c.js";
|
|
19
19
|
import "./widget-base-8eece820.js";
|
|
20
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
21
|
-
import "./index-
|
|
22
|
-
import "./fieldobj-
|
|
23
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
20
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b10bd579.js";
|
|
21
|
+
import "./index-2bf9b2be.js";
|
|
22
|
+
import "./fieldobj-f85abb19.js";
|
|
23
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-cc21dbd8.js";
|
|
24
24
|
import "./source-map-b04aec4a.js";
|
|
25
25
|
import "./esprima-e8d15055.js";
|
|
26
26
|
const T = { class: "input-with-unit" }, A = {
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { defineComponent as f, resolveComponent as N, openBlock as t, createBlock as i, mergeProps as n, unref as r, withCtx as s, isRef as O, toHandlers as S, createSlots as x, renderList as z, resolveDynamicComponent as I, createCommentVNode as l } from "vue";
|
|
2
|
-
import { e as W } from "./enum-type-
|
|
2
|
+
import { e as W } from "./enum-type-e79908ad.js";
|
|
3
3
|
import { I as h } from "./field-base-1acf3ada.js";
|
|
4
|
-
import { a 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 { a as A } from "./share-field-81883144.js";
|
|
5
|
+
import { g as B } from "./slot-474db76c.js";
|
|
6
|
+
import E from "./form-item-wrapper-34a76f45.js";
|
|
7
|
+
import { w as L } from "./expression-33c6675c.js";
|
|
8
|
+
import { D as P } from "./drag-wrapper-0704d6d1.js";
|
|
9
9
|
import "./widget-base-8eece820.js";
|
|
10
|
-
import "./multirow-
|
|
11
|
-
import "./baseImp-
|
|
12
|
-
import "./enum-type-
|
|
10
|
+
import "./multirow-08ac8d9a.js";
|
|
11
|
+
import "./baseImp-400cad07.js";
|
|
12
|
+
import "./enum-type-c811e210.js";
|
|
13
13
|
import "./icon-1fc5d00d.js";
|
|
14
14
|
import "axios";
|
|
15
|
-
import "./dialog-
|
|
15
|
+
import "./dialog-ba82cdec.js";
|
|
16
16
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
17
|
-
import "./uuid-
|
|
17
|
+
import "./uuid-803a2cf2.js";
|
|
18
18
|
import "element-plus";
|
|
19
|
-
import "./index-
|
|
20
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
21
|
-
import "./index-
|
|
19
|
+
import "./index-ae0006aa.js";
|
|
20
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b10bd579.js";
|
|
21
|
+
import "./index-2bf9b2be.js";
|
|
22
22
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
23
|
-
import "./fieldobj-
|
|
24
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
23
|
+
import "./fieldobj-f85abb19.js";
|
|
24
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-cc21dbd8.js";
|
|
25
25
|
import "./source-map-b04aec4a.js";
|
|
26
26
|
import "./esprima-e8d15055.js";
|
|
27
27
|
const T = f({ componentName: L.FieldWidget }), ue = /* @__PURE__ */ f({
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { defineComponent as f, resolveComponent as N, openBlock as t, createBlock as i, mergeProps as n, unref as r, withCtx as s, isRef as O, toHandlers as S, createSlots as h, renderList as x, resolveDynamicComponent as z, createCommentVNode as l } from "vue";
|
|
2
|
-
import { e as I } from "./enum-type-
|
|
2
|
+
import { e as I } from "./enum-type-e79908ad.js";
|
|
3
3
|
import { I as W } from "./field-base-1acf3ada.js";
|
|
4
|
-
import { a 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 { a as A } from "./share-field-81883144.js";
|
|
5
|
+
import { g as B } from "./slot-474db76c.js";
|
|
6
|
+
import E from "./form-item-wrapper-34a76f45.js";
|
|
7
|
+
import { w as L } from "./expression-33c6675c.js";
|
|
8
|
+
import { D as P } from "./drag-wrapper-0704d6d1.js";
|
|
9
9
|
import "./widget-base-8eece820.js";
|
|
10
|
-
import "./multirow-
|
|
11
|
-
import "./baseImp-
|
|
12
|
-
import "./enum-type-
|
|
10
|
+
import "./multirow-08ac8d9a.js";
|
|
11
|
+
import "./baseImp-400cad07.js";
|
|
12
|
+
import "./enum-type-c811e210.js";
|
|
13
13
|
import "./icon-1fc5d00d.js";
|
|
14
14
|
import "axios";
|
|
15
|
-
import "./dialog-
|
|
15
|
+
import "./dialog-ba82cdec.js";
|
|
16
16
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
17
|
-
import "./uuid-
|
|
17
|
+
import "./uuid-803a2cf2.js";
|
|
18
18
|
import "element-plus";
|
|
19
|
-
import "./index-
|
|
20
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
21
|
-
import "./index-
|
|
19
|
+
import "./index-ae0006aa.js";
|
|
20
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b10bd579.js";
|
|
21
|
+
import "./index-2bf9b2be.js";
|
|
22
22
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
23
|
-
import "./fieldobj-
|
|
24
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
23
|
+
import "./fieldobj-f85abb19.js";
|
|
24
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-cc21dbd8.js";
|
|
25
25
|
import "./source-map-b04aec4a.js";
|
|
26
26
|
import "./esprima-e8d15055.js";
|
|
27
27
|
const T = f({ componentName: L.FieldWidget }), ue = /* @__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-cc21dbd8.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "./field-base-1acf3ada.js";
|
|
4
4
|
import "./widget-base-8eece820.js";
|
|
5
|
-
import "./index-
|
|
6
|
-
import "./enum-type-
|
|
5
|
+
import "./index-2bf9b2be.js";
|
|
6
|
+
import "./enum-type-e79908ad.js";
|
|
7
7
|
import "./icon-1fc5d00d.js";
|
|
8
8
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
9
|
-
import "./enum-type-
|
|
10
|
-
import "./fieldobj-
|
|
9
|
+
import "./enum-type-c811e210.js";
|
|
10
|
+
import "./fieldobj-f85abb19.js";
|
|
11
11
|
export {
|
|
12
12
|
o as default
|
|
13
13
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as I, computed as o, resolveComponent as h, openBlock as l, createElementBlock as a, normalizeClass as x, unref as r, Fragment as n, createVNode as s, withCtx as f, createTextVNode as u, toDisplayString as c } from "vue";
|
|
2
2
|
import { I as S } from "./field-base-1acf3ada.js";
|
|
3
|
-
import { S as p } from "./index-
|
|
4
|
-
import { e as y } from "./enum-type-
|
|
5
|
-
import { u as T } from "./fieldobj-
|
|
3
|
+
import { S as p } from "./index-2bf9b2be.js";
|
|
4
|
+
import { e as y } from "./enum-type-c811e210.js";
|
|
5
|
+
import { u as T } from "./fieldobj-f85abb19.js";
|
|
6
6
|
const w = { key: 1 }, z = /* @__PURE__ */ I({
|
|
7
7
|
__name: "label-wrapper",
|
|
8
8
|
props: {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { defineComponent as d, openBlock as r, createBlock as i, mergeProps as w, unref as o, withCtx as E, createCommentVNode as f, createVNode as F } from "vue";
|
|
2
2
|
import { I as N } from "./field-base-1acf3ada.js";
|
|
3
|
-
import { _ as O } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-
|
|
4
|
-
import { w as P } from "./expression-
|
|
5
|
-
import { _ as y } from "./content-wrapper.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { S as c } from "./index-
|
|
7
|
-
import { a as C } from "./share-field-
|
|
3
|
+
import { _ as O } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-16bebcdc.js";
|
|
4
|
+
import { w as P } from "./expression-33c6675c.js";
|
|
5
|
+
import { _ as y } from "./content-wrapper.vue_vue_type_script_setup_true_lang-4a379729.js";
|
|
6
|
+
import { S as c } from "./index-2bf9b2be.js";
|
|
7
|
+
import { a as C } from "./share-field-81883144.js";
|
|
8
8
|
import "./widget-base-8eece820.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-e79908ad.js";
|
|
10
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b10bd579.js";
|
|
11
|
+
import "./index-ae0006aa.js";
|
|
12
|
+
import "./uuid-803a2cf2.js";
|
|
13
|
+
import "./enum-type-c811e210.js";
|
|
14
|
+
import "./baseImp-400cad07.js";
|
|
15
15
|
import "./icon-1fc5d00d.js";
|
|
16
16
|
import "axios";
|
|
17
|
-
import "./dialog-
|
|
17
|
+
import "./dialog-ba82cdec.js";
|
|
18
18
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
19
19
|
import "element-plus";
|
|
20
|
-
import "./fieldobj-
|
|
21
|
-
import "./slot-
|
|
22
|
-
import "./drag-wrapper-
|
|
20
|
+
import "./fieldobj-f85abb19.js";
|
|
21
|
+
import "./slot-474db76c.js";
|
|
22
|
+
import "./drag-wrapper-0704d6d1.js";
|
|
23
23
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
24
24
|
import "./source-map-b04aec4a.js";
|
|
25
25
|
import "./esprima-e8d15055.js";
|
|
26
|
-
import "./multirow-
|
|
26
|
+
import "./multirow-08ac8d9a.js";
|
|
27
27
|
const S = d({ componentName: P.FieldWidget }), eo = /* @__PURE__ */ d({
|
|
28
28
|
...S,
|
|
29
29
|
__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-49396695.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 d, resolveComponent as A, openBlock as Re, createBlock as $e, mergeProps as O, unref as r, withCtx as o, createVNode as a, createTextVNode as g, toDisplayString as p, createElementVNode as We } from "vue";
|
|
2
|
-
import { c as $, e as s } from "./enum-type-
|
|
3
|
-
import { w as ke } from "./expression-
|
|
2
|
+
import { c as $, e as s } from "./enum-type-e79908ad.js";
|
|
3
|
+
import { w as ke } from "./expression-33c6675c.js";
|
|
4
4
|
import { I as Ae } from "./widget-base-8eece820.js";
|
|
5
|
-
import { a as Te, b as he } from "./index-
|
|
6
|
-
import { a 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-ae0006aa.js";
|
|
6
|
+
import { a as ye } from "./share-field-81883144.js";
|
|
7
|
+
import { c as De } from "./slot-474db76c.js";
|
|
8
|
+
import { B as k } from "./baseImp-400cad07.js";
|
|
9
|
+
import { S as Oe } from "./index-2bf9b2be.js";
|
|
10
|
+
import { D as _e } from "./drag-wrapper-0704d6d1.js";
|
|
11
|
+
import { _ as Be } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b10bd579.js";
|
|
12
12
|
const Le = ["title"], xe = _({ componentName: ke.ContainerWidget }), qe = /* @__PURE__ */ _({
|
|
13
13
|
...xe,
|
|
14
14
|
__name: "ltable-col-widget",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as f, resolveDirective as I, openBlock as t, createBlock as m, mergeProps as O, unref as n, withCtx as j, 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-33c6675c.js";
|
|
3
3
|
import { I as S } from "./widget-base-8eece820.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 { a as z } from "./share-field-
|
|
4
|
+
import { _ as V } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b10bd579.js";
|
|
5
|
+
import { _ as W } from "./ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-49396695.js";
|
|
6
|
+
import { c as $ } from "./slot-474db76c.js";
|
|
7
|
+
import { a as z } from "./share-field-81883144.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,27 +1,27 @@
|
|
|
1
1
|
import { defineComponent as c, computed as O, resolveComponent as S, openBlock as m, createBlock as n, mergeProps as l, unref as r, withCtx as u, isRef as x, toHandlers as z, createSlots as A, renderList as W, resolveDynamicComponent as h, createCommentVNode as f } from "vue";
|
|
2
|
-
import { e as B } from "./enum-type-
|
|
2
|
+
import { e as B } from "./enum-type-e79908ad.js";
|
|
3
3
|
import { I as E } from "./field-base-1acf3ada.js";
|
|
4
|
-
import { a as L } from "./share-field-
|
|
5
|
-
import { g as P } from "./slot-
|
|
6
|
-
import T from "./form-item-wrapper-
|
|
7
|
-
import { w as $ } from "./expression-
|
|
8
|
-
import { D as H } from "./drag-wrapper-
|
|
4
|
+
import { a as L } from "./share-field-81883144.js";
|
|
5
|
+
import { g as P } from "./slot-474db76c.js";
|
|
6
|
+
import T from "./form-item-wrapper-34a76f45.js";
|
|
7
|
+
import { w as $ } from "./expression-33c6675c.js";
|
|
8
|
+
import { D as H } from "./drag-wrapper-0704d6d1.js";
|
|
9
9
|
import "./widget-base-8eece820.js";
|
|
10
|
-
import "./multirow-
|
|
11
|
-
import "./baseImp-
|
|
12
|
-
import "./enum-type-
|
|
10
|
+
import "./multirow-08ac8d9a.js";
|
|
11
|
+
import "./baseImp-400cad07.js";
|
|
12
|
+
import "./enum-type-c811e210.js";
|
|
13
13
|
import "./icon-1fc5d00d.js";
|
|
14
14
|
import "axios";
|
|
15
|
-
import "./dialog-
|
|
15
|
+
import "./dialog-ba82cdec.js";
|
|
16
16
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
17
|
-
import "./uuid-
|
|
17
|
+
import "./uuid-803a2cf2.js";
|
|
18
18
|
import "element-plus";
|
|
19
|
-
import "./index-
|
|
20
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
21
|
-
import "./index-
|
|
19
|
+
import "./index-ae0006aa.js";
|
|
20
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b10bd579.js";
|
|
21
|
+
import "./index-2bf9b2be.js";
|
|
22
22
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
23
|
-
import "./fieldobj-
|
|
24
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
23
|
+
import "./fieldobj-f85abb19.js";
|
|
24
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-cc21dbd8.js";
|
|
25
25
|
import "./source-map-b04aec4a.js";
|
|
26
26
|
import "./esprima-e8d15055.js";
|
|
27
27
|
const K = c({ componentName: $.FieldWidget }), ve = /* @__PURE__ */ c({
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { defineComponent as j, computed as _, watch as k, onMounted as I, nextTick as ee, resolveComponent as re, openBlock as C, createBlock as E, mergeProps as M, unref as i, withCtx as O, toHandlers as ne, createVNode as te } from "vue";
|
|
2
|
-
import { g as oe, J as f, K as le, P as ue } from "./baseImp-
|
|
2
|
+
import { g as oe, J as f, K as le, P as ue } from "./baseImp-400cad07.js";
|
|
3
3
|
import { u as ae } from "./icon-1fc5d00d.js";
|
|
4
|
-
import { G as se, E as R, d as V, Z as ce } from "./enum-type-
|
|
4
|
+
import { G as se, E as R, d as V, Z as ce } from "./enum-type-e79908ad.js";
|
|
5
5
|
import { I as ie } from "./field-base-1acf3ada.js";
|
|
6
|
-
import { _ as fe } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
7
|
-
import { a as pe } from "./share-field-
|
|
8
|
-
import { w as me, f as ve } from "./expression-
|
|
9
|
-
import { _ as he } from "./subMenu-widget.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { ak as B } from "./enum-type-
|
|
6
|
+
import { _ as fe } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b10bd579.js";
|
|
7
|
+
import { a as pe } from "./share-field-81883144.js";
|
|
8
|
+
import { w as me, f as ve } from "./expression-33c6675c.js";
|
|
9
|
+
import { _ as he } from "./subMenu-widget.vue_vue_type_script_setup_true_lang-5d15c8c6.js";
|
|
10
|
+
import { ak as B } from "./enum-type-c811e210.js";
|
|
11
11
|
import "axios";
|
|
12
|
-
import "./dialog-
|
|
12
|
+
import "./dialog-ba82cdec.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
|
-
import "./uuid-
|
|
14
|
+
import "./uuid-803a2cf2.js";
|
|
15
15
|
import "element-plus";
|
|
16
16
|
import "./widget-base-8eece820.js";
|
|
17
|
-
import "./index-
|
|
18
|
-
import "./index-
|
|
17
|
+
import "./index-ae0006aa.js";
|
|
18
|
+
import "./index-2bf9b2be.js";
|
|
19
19
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
|
-
import "./fieldobj-
|
|
21
|
-
import "./multirow-
|
|
22
|
-
import "./slot-
|
|
20
|
+
import "./fieldobj-f85abb19.js";
|
|
21
|
+
import "./multirow-08ac8d9a.js";
|
|
22
|
+
import "./slot-474db76c.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
25
|
const de = j({ componentName: me.FieldWidget }), Le = /* @__PURE__ */ j({
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { defineComponent as q, resolveComponent as T, openBlock as y, createBlock as h, mergeProps as z, unref as a, withCtx as _, createElementVNode as k, createElementBlock as V, Fragment as G, renderList as H, createVNode as J, resolveDynamicComponent as Q, createTextVNode as I, toDisplayString as w, createCommentVNode as N } from "vue";
|
|
2
2
|
import { I as U } from "./widget-base-8eece820.js";
|
|
3
|
-
import { a as X } from "./share-field-
|
|
4
|
-
import { _ as Y } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { W as g } from "./enum-type-
|
|
6
|
-
import { d as F } from "./baseImp-
|
|
7
|
-
import { e as A } from "./enum-type-
|
|
3
|
+
import { a as X } from "./share-field-81883144.js";
|
|
4
|
+
import { _ as Y } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b10bd579.js";
|
|
5
|
+
import { W as g } from "./enum-type-c811e210.js";
|
|
6
|
+
import { d as F } from "./baseImp-400cad07.js";
|
|
7
|
+
import { e as A } from "./enum-type-e79908ad.js";
|
|
8
8
|
import { Plus as Z, Edit as ee } from "./index-6bcfdc22.js";
|
|
9
|
-
import { l as te } from "./expression-
|
|
10
|
-
import "./multirow-
|
|
11
|
-
import "./index-
|
|
12
|
-
import "./uuid-
|
|
9
|
+
import { l as te } from "./expression-33c6675c.js";
|
|
10
|
+
import "./multirow-08ac8d9a.js";
|
|
11
|
+
import "./index-ae0006aa.js";
|
|
12
|
+
import "./uuid-803a2cf2.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
|
-
import "./slot-
|
|
14
|
+
import "./slot-474db76c.js";
|
|
15
15
|
import "./icon-1fc5d00d.js";
|
|
16
|
-
import "./index-
|
|
16
|
+
import "./index-2bf9b2be.js";
|
|
17
17
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
18
|
-
import "./fieldobj-
|
|
18
|
+
import "./fieldobj-f85abb19.js";
|
|
19
19
|
import "axios";
|
|
20
|
-
import "./dialog-
|
|
20
|
+
import "./dialog-ba82cdec.js";
|
|
21
21
|
import "element-plus";
|
|
22
22
|
import "./source-map-b04aec4a.js";
|
|
23
23
|
import "./esprima-e8d15055.js";
|
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
import { b as I, B as L, d as T } from "./baseImp-400cad07.js";
|
|
2
|
+
import { g as P, c as k, t as p, r as R } from "./index-ae0006aa.js";
|
|
3
|
+
import { c as a, F as d, g as rr } from "./slot-474db76c.js";
|
|
4
|
+
import { i as J, o as B, d as V, I as er, M as Q, D as tr, g as sr, k as K } from "./enum-type-e79908ad.js";
|
|
5
|
+
import { reactive as _, ref as nr } from "vue";
|
|
6
|
+
import { u as or } from "./icon-1fc5d00d.js";
|
|
7
|
+
import { u as ir, g as ur } from "./uuid-803a2cf2.js";
|
|
8
|
+
import { f as q } from "./expression-33c6675c.js";
|
|
9
|
+
function fr() {
|
|
10
|
+
const r = {}, g = (s, e) => {
|
|
11
|
+
var t, i, n, o;
|
|
12
|
+
return s ? !!((t = s == null ? void 0 : s.proxy) != null && t.$options && ((n = (i = s == null ? void 0 : s.proxy) == null ? void 0 : i.$options) == null ? void 0 : n.componentName) === e || s != null && s.exposed && ((o = s == null ? void 0 : s.exposed) == null ? void 0 : o.componentName) === e) : !1;
|
|
13
|
+
}, l = (s, e, t) => {
|
|
14
|
+
s && B(s).forEach((i) => {
|
|
15
|
+
g(s[i], e) && (t == null || t(s[i]));
|
|
16
|
+
});
|
|
17
|
+
}, m = (s, e, t) => {
|
|
18
|
+
s && (g(s, e) ? t == null || t(s) : m(s.parent, e, t));
|
|
19
|
+
};
|
|
20
|
+
return {
|
|
21
|
+
emit$(s, e) {
|
|
22
|
+
r[s] && r[s].forEach((t) => {
|
|
23
|
+
t(e);
|
|
24
|
+
});
|
|
25
|
+
},
|
|
26
|
+
on$(s, e) {
|
|
27
|
+
r[s] = r[s] || [], r[s].push(e);
|
|
28
|
+
},
|
|
29
|
+
off$(s, e) {
|
|
30
|
+
if (r[s]) {
|
|
31
|
+
if (J(e)) {
|
|
32
|
+
r[s].length = 0;
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
for (let t = 0; t < r[s].length; t++)
|
|
36
|
+
if (r[s][t] === e) {
|
|
37
|
+
r[s].splice(t, 1);
|
|
38
|
+
break;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
dispatch(s, e, t, i) {
|
|
43
|
+
if (!s)
|
|
44
|
+
return;
|
|
45
|
+
let n = i.parent || i.root;
|
|
46
|
+
m(n, s, (o) => {
|
|
47
|
+
var h;
|
|
48
|
+
o && (o.exposed.emit$ && o.exposed.emit$(e, t), o != null && o.proxy && ((h = o == null ? void 0 : o.proxy) == null || h.$emit(e, t)));
|
|
49
|
+
});
|
|
50
|
+
},
|
|
51
|
+
broadcast(s, e, t, i, n = []) {
|
|
52
|
+
n == null || n.forEach((o) => {
|
|
53
|
+
l(i[o], s, (h) => {
|
|
54
|
+
h.emit$ && h.emit$.call(h, e, t);
|
|
55
|
+
});
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
const j = "", N = "_", z = (r, g) => J(g) ? r || "" : `${j}${r}${N}${g}`, M = (r) => {
|
|
61
|
+
if (r != null && r.includes(N)) {
|
|
62
|
+
var g = r.split(N);
|
|
63
|
+
const l = g == null ? void 0 : g[0].substring(j.length), m = r.substring(j.length + l.length + 1);
|
|
64
|
+
return { id: l, groupName: m };
|
|
65
|
+
}
|
|
66
|
+
return { id: r };
|
|
67
|
+
};
|
|
68
|
+
var gr = /* @__PURE__ */ ((r) => (r[r.None = 0] = "None", r[r.Inner2Inner = 1] = "Inner2Inner", r[r.Inner2Outer = 2] = "Inner2Outer", r[r.Outer2Inner = 3] = "Outer2Inner", r[r.Outer2Outer = 4] = "Outer2Outer", r[r.DiffInner = 5] = "DiffInner", r))(gr || {});
|
|
69
|
+
const Cr = (r, g) => {
|
|
70
|
+
const l = M(r), m = l == null ? void 0 : l.groupName, s = M(g), e = s == null ? void 0 : s.groupName;
|
|
71
|
+
return !m && !e ? 4 : m && !e ? 2 : m && e ? m !== e ? 5 : 1 : !m && e ? 3 : 0;
|
|
72
|
+
};
|
|
73
|
+
function cr(r, g, l) {
|
|
74
|
+
const m = g == null ? void 0 : g.pageConfig, s = g == null ? void 0 : g.formData, e = _({});
|
|
75
|
+
V(e, s);
|
|
76
|
+
var { instance: t } = or(l);
|
|
77
|
+
const i = () => {
|
|
78
|
+
var D = P(r);
|
|
79
|
+
D == null || D.forEach((F) => {
|
|
80
|
+
const { computedDefaultValue: v, fieldName: w, hasDefaultValue: W } = I(F.field, g, { s_fieldName: !0 }, t);
|
|
81
|
+
w.value && W() && er(v()).then((y) => {
|
|
82
|
+
V(e, { [w.value]: y });
|
|
83
|
+
});
|
|
84
|
+
});
|
|
85
|
+
}, n = () => {
|
|
86
|
+
Q(e);
|
|
87
|
+
};
|
|
88
|
+
return {
|
|
89
|
+
formModel: e,
|
|
90
|
+
pageConfig: m,
|
|
91
|
+
widgetList: r,
|
|
92
|
+
initData: i,
|
|
93
|
+
setData: (D, F = !0) => {
|
|
94
|
+
F && n(), V(e, D);
|
|
95
|
+
},
|
|
96
|
+
getData: () => tr(e),
|
|
97
|
+
clearData: n
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
function mr() {
|
|
101
|
+
const r = (e, t) => R(e, { newName: !0, recordSource: !0 }, (n, o) => z(n || o, t), (n) => !!n.dynamicItemFlag), g = (e, t, i) => {
|
|
102
|
+
var F, v;
|
|
103
|
+
K(i) && (i = `${(F = ir()) == null ? void 0 : F.substring(0, 5)}_${!K(t == null ? void 0 : t.$index) && (t == null ? void 0 : t.$index) >= 0 ? t == null ? void 0 : t.$index : ""}`);
|
|
104
|
+
var n = rr(e, !0);
|
|
105
|
+
let o = n == null ? void 0 : n.map((w) => r(w, i));
|
|
106
|
+
const h = s(o), { updateFomulaName: D } = T();
|
|
107
|
+
return (v = B(h)) == null || v.forEach((w) => {
|
|
108
|
+
const W = h[w], y = W == null ? void 0 : W.name;
|
|
109
|
+
o = D(o, y, w);
|
|
110
|
+
}), { widget: o, id: i, key: ur(), data: t };
|
|
111
|
+
}, l = (e, t) => {
|
|
112
|
+
if (e || (e = []), t && (e == null ? void 0 : e.length) < t) {
|
|
113
|
+
const o = t - (e == null ? void 0 : e.length);
|
|
114
|
+
for (var i = 0; i < o; i++) {
|
|
115
|
+
var n = {};
|
|
116
|
+
e == null || e.push(n);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
return e;
|
|
120
|
+
}, m = (e, t, i, n) => {
|
|
121
|
+
if (Array.isArray(t))
|
|
122
|
+
return t = l(t, i), t == null ? void 0 : t.map((o, h) => {
|
|
123
|
+
const D = n ? n(o, h) : o;
|
|
124
|
+
return g(e, D, h + "");
|
|
125
|
+
});
|
|
126
|
+
}, s = (e, t) => {
|
|
127
|
+
let i = {};
|
|
128
|
+
return e && p(e, (n) => {
|
|
129
|
+
const o = L.getName(n), h = () => {
|
|
130
|
+
o && (i[o] = n == null ? void 0 : n._source);
|
|
131
|
+
};
|
|
132
|
+
t ? t(n) && h() : h();
|
|
133
|
+
}), i;
|
|
134
|
+
};
|
|
135
|
+
return {
|
|
136
|
+
newSlot: g,
|
|
137
|
+
reflectTargetWithSourceOne: s,
|
|
138
|
+
getSlotFromData: m,
|
|
139
|
+
getMinRowData: l,
|
|
140
|
+
parseGroupId: M,
|
|
141
|
+
formatGroupId: z
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
function Er(r, g) {
|
|
145
|
+
const l = r == null ? void 0 : r.fieldName, m = r == null ? void 0 : r.setValue, s = nr({}), e = _({}), t = _([]), { newSlot: i, reflectTargetWithSourceOne: n, getSlotFromData: o, getMinRowData: h } = mr(), D = (u, c) => {
|
|
146
|
+
var C;
|
|
147
|
+
let f = {};
|
|
148
|
+
const $ = n(c);
|
|
149
|
+
return (C = B(u)) == null || C.map((E) => {
|
|
150
|
+
var S, A, H;
|
|
151
|
+
const O = (S = $ == null ? void 0 : $[E]) == null ? void 0 : S.name;
|
|
152
|
+
O && (f[O] = u == null ? void 0 : u[E], (H = (A = B(u)) == null ? void 0 : A.filter((b) => b.startsWith(E + "_"))) == null || H.forEach((b) => {
|
|
153
|
+
f[b == null ? void 0 : b.replace(E, O)] = u == null ? void 0 : u[b];
|
|
154
|
+
}));
|
|
155
|
+
}), f;
|
|
156
|
+
}, F = (u, c) => {
|
|
157
|
+
var C, E;
|
|
158
|
+
let f = {};
|
|
159
|
+
if (sr(u)) {
|
|
160
|
+
const O = n(c, (S) => !!(S != null && S.formItemFlag));
|
|
161
|
+
(C = B(O)) == null || C.map((S) => {
|
|
162
|
+
var A;
|
|
163
|
+
S && (f[S] = u == null ? void 0 : u[(A = O == null ? void 0 : O[S]) == null ? void 0 : A.name]);
|
|
164
|
+
});
|
|
165
|
+
} else {
|
|
166
|
+
var $ = { globalConfig: r == null ? void 0 : r.globalConfig, pageConfig: (E = r == null ? void 0 : r.designer) == null ? void 0 : E.pageConfig, formData: f, designState: r == null ? void 0 : r.designState };
|
|
167
|
+
const { formModel: O, initData: S } = cr(c, $, g);
|
|
168
|
+
S(), V(f, O);
|
|
169
|
+
}
|
|
170
|
+
return f;
|
|
171
|
+
}, v = (u, c) => {
|
|
172
|
+
const f = F(c, u.widget);
|
|
173
|
+
return V(e, f), f;
|
|
174
|
+
}, w = (u) => {
|
|
175
|
+
var c;
|
|
176
|
+
(c = B(e)) == null || c.forEach((f) => {
|
|
177
|
+
const $ = M(f);
|
|
178
|
+
($ == null ? void 0 : $.groupName) == u.id && delete e[f];
|
|
179
|
+
});
|
|
180
|
+
}, W = () => t == null ? void 0 : t.map((c) => D(e, c == null ? void 0 : c.widget)), y = (u, c) => {
|
|
181
|
+
Q(e);
|
|
182
|
+
const f = c(u);
|
|
183
|
+
return f == null || f.forEach(($) => {
|
|
184
|
+
const C = F($ == null ? void 0 : $.data, $ == null ? void 0 : $.widget);
|
|
185
|
+
V(e, C);
|
|
186
|
+
}), t.splice(0, t.length), f && f.length > 0 && t.push(...f), t;
|
|
187
|
+
}, G = (u) => {
|
|
188
|
+
var f;
|
|
189
|
+
var c = a({ ...r, widget: u });
|
|
190
|
+
return (f = c.attrs) == null ? void 0 : f.value;
|
|
191
|
+
}, U = (u, c, f) => k(u, c, t, f), { off$: X, on$: Y, emit$: Z } = fr(), x = () => {
|
|
192
|
+
X(q.fieldChange), Y(q.fieldChange, (u) => {
|
|
193
|
+
var c;
|
|
194
|
+
m == null || m(W()), (c = r == null ? void 0 : r.fieldChanged) == null || c.call(r);
|
|
195
|
+
});
|
|
196
|
+
};
|
|
197
|
+
return (() => {
|
|
198
|
+
const u = l;
|
|
199
|
+
d.globalProvide({
|
|
200
|
+
globalFormName: u,
|
|
201
|
+
globalDataModel: e
|
|
202
|
+
}), x();
|
|
203
|
+
})(), {
|
|
204
|
+
getSlotFromData: o,
|
|
205
|
+
getMinRowData: h,
|
|
206
|
+
fromModel: F,
|
|
207
|
+
toModel: D,
|
|
208
|
+
newSlot: i,
|
|
209
|
+
getWidgetOption: G,
|
|
210
|
+
newFieldModelFromSlot: v,
|
|
211
|
+
removeFieldModelFromSlot: w,
|
|
212
|
+
getValue: W,
|
|
213
|
+
setValue: y,
|
|
214
|
+
findWidgetByNameWithSibId: U,
|
|
215
|
+
// listenFormModel,
|
|
216
|
+
emit$: Z,
|
|
217
|
+
formModel: e,
|
|
218
|
+
rowsData: t,
|
|
219
|
+
widgetRefList: s
|
|
220
|
+
};
|
|
221
|
+
}
|
|
222
|
+
export {
|
|
223
|
+
fr as a,
|
|
224
|
+
mr as b,
|
|
225
|
+
Er as c,
|
|
226
|
+
gr as f,
|
|
227
|
+
Cr as g,
|
|
228
|
+
M as p,
|
|
229
|
+
cr as u
|
|
230
|
+
};
|