hlrender 0.0.98 → 0.0.100
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/{affix-widget-e087c9c9.js → affix-widget-b33a98e1.js} +16 -16
- package/{alert-widget-d5d84c9a.js → alert-widget-633eb0ac.js} +16 -16
- package/{anchor-widget-84b4693c.js → anchor-widget-75f6915b.js} +13 -13
- package/{auto-complete-widget-43ed38f7.js → auto-complete-widget-7fd2abb6.js} +16 -16
- package/{avatar-widget-db348eae.js → avatar-widget-7b877144.js} +16 -16
- package/{backtop-widget-49175c32.js → backtop-widget-a5e9c5f4.js} +16 -16
- package/{badge-widget-e641c47c.js → badge-widget-b772b789.js} +16 -16
- package/{baseImp-11aee409.js → baseImp-5b17336a.js} +1014 -1013
- package/{breadcrumb-widget-7738a9b9.js → breadcrumb-widget-93b99a87.js} +13 -13
- package/{button-widget-3bb3fc8d.js → button-widget-6fbe1189.js} +16 -16
- package/{cache-widget-42b6ab7f.js → cache-widget-d473f695.js} +15 -15
- package/{card-widget-57e0da70.js → card-widget-686ae47f.js} +14 -14
- package/{carousel-widget-c2302523.js → carousel-widget-aa95b97b.js} +14 -14
- package/{cascader-widget-af29488f.js → cascader-widget-30d30780.js} +15 -15
- package/{chart-widget-df4c0a89.js → chart-widget-64f48e75.js} +13 -13
- package/checkbox-widget-6bdebe55.js +115 -0
- package/{collapse-widget-4e73c14d.js → collapse-widget-ad17e7ce.js} +14 -14
- package/{color-picker-widget-24e1f6ff.js → color-picker-widget-5a96b3dc.js} +15 -15
- package/{cont-cell-widget-8239f1e9.js → cont-cell-widget-8c7a4c0a.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-e4dde269.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-1056f03a.js} +5 -5
- package/{cont-widget-e52d62db.js → cont-widget-c619d2f1.js} +5 -5
- package/{content-wrapper-9e6d2ef7.js → content-wrapper-58a73528.js} +7 -7
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-92286bc9.js → content-wrapper.vue_vue_type_script_setup_true_lang-920821e9.js} +3 -3
- package/{date-picker-range-widget-4051681c.js → date-picker-range-widget-22fa7950.js} +15 -15
- package/{date-picker-widget-5563dbe9.js → date-picker-widget-e85f08b7.js} +15 -15
- package/{default-slot-widget-4226a092.js → default-slot-widget-bf2a8e3e.js} +14 -14
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-79f73dd0.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-b034cae8.js} +7 -7
- package/{descriptions-widget-57cca888.js → descriptions-widget-10cd8931.js} +14 -14
- package/{dialog-f7b39fe6.js → dialog-e9330a03.js} +2 -2
- package/{dialog-widget-2a48222e.js → dialog-widget-0bfe1c42.js} +15 -15
- package/{divider-widget-6a50743c.js → divider-widget-704c5af7.js} +16 -16
- package/{drag-wrapper-a576a069.js → drag-wrapper-7a0422c0.js} +6 -6
- package/{drawer-widget-e6e15355.js → drawer-widget-cd6ee68c.js} +15 -15
- package/{dropdown-widget-f28a6bd3.js → dropdown-widget-b6d7241f.js} +14 -14
- package/{empty-widget-042c303c.js → empty-widget-3eac14c1.js} +16 -16
- package/{enum-type-1e9fcc29.js → enum-type-eacaf465.js} +69 -64
- package/{enum-type-e543cd71.js → enum-type-f177c9cf.js} +117 -87
- package/{expression-9b2f51f2.js → expression-92cadbfb.js} +90 -87
- package/feedback-widget-f5d8be6f.js +26 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-d45fa484.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-9cd73071.js} +5 -5
- package/{fieldobj-a6acad3e.js → fieldobj-2df290fb.js} +1 -1
- package/file-upload-widget-b5e0f40b.js +161 -0
- package/{form-item-wrapper-b2ea9d66.js → form-item-wrapper-9660e359.js} +11 -11
- package/{form-widget-3cb869d9.js → form-widget-0d930376.js} +10 -10
- package/{grid-col-widget-7848bafb.js → grid-col-widget-718c65a0.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-618e7f24.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-29b6dc07.js} +5 -5
- package/{grid-widget-2f3abe09.js → grid-widget-d68223a7.js} +5 -5
- package/{html-text-widget-0cc0b9ab.js → html-text-widget-1592c26e.js} +14 -14
- package/{iframe-widget-a3c8f7ca.js → iframe-widget-6d71caee.js} +13 -13
- package/{image-widget-4c40593d.js → image-widget-42d835be.js} +13 -13
- package/{index-ddf326b1.js → index-29f70ed6.js} +1 -1
- package/{index-b01cbb10.js → index-85279301.js} +1632 -1550
- package/{index-acaeeeea.js → index-90941780.js} +4 -4
- package/{input-number-widget-2751737d.js → input-number-widget-edef1d06.js} +15 -15
- package/{input-widget-343d0b27.js → input-widget-7c836745.js} +16 -16
- package/{label-wrapper-d3616d09.js → label-wrapper-05d8f075.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-6461ea68.js → label-wrapper.vue_vue_type_style_index_0_lang-2f174e7a.js} +3 -3
- package/{link-widget-51058ea6.js → link-widget-244e11d8.js} +16 -16
- package/{ltable-col-widget-32ac5617.js → ltable-col-widget-381b27dd.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-95891bc1.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-0a2e778b.js} +10 -10
- package/{ltable-widget-778ecae8.js → ltable-widget-02607d52.js} +5 -5
- package/{menu-widget-1fb7cdcb.js → menu-widget-00ad97db.js} +14 -14
- package/{model-widget-e36d72b7.js → model-widget-1b5ab837.js} +13 -13
- package/{multirow-721f82a5.js → multirow-49846c15.js} +6 -6
- package/{multirow-widget-6b54a5e2.js → multirow-widget-3bc595fe.js} +15 -15
- package/package.json +2 -1
- package/{pagination-widget-8f20b346.js → pagination-widget-f9a682ec.js} +13 -13
- package/picture-upload-widget-174181e9.js +112 -0
- package/{progress-widget-eff1911d.js → progress-widget-2c225e00.js} +14 -14
- package/{propresult-0f846ed7.js → propresult-88efb2cd.js} +1 -1
- package/{radio-widget-e90ebc56.js → radio-widget-385e5174.js} +15 -15
- package/{range-widget-b27c8d11.js → range-widget-da5f9eaf.js} +16 -16
- package/{rate-widget-ecd5fe28.js → rate-widget-2e6f5fc3.js} +15 -15
- package/render.es.js +31 -31
- package/render.style.css +1 -1
- package/render.umd.js +492 -492
- package/{result-widget-b6ab1686.js → result-widget-945c532c.js} +14 -14
- package/{rich-editor-widget-d5448565.js → rich-editor-widget-ec8a05df.js} +15 -15
- package/{router-widget-26fcbb1a.js → router-widget-efab4060.js} +13 -13
- package/{select-widget-2730b098.js → select-widget-3738f19f.js} +135 -137
- package/{sfc-0afa1288.js → sfc-4c4de9b9.js} +30 -30
- package/{share-field-5849666b.js → share-field-1c102ba4.js} +108 -108
- package/share-file-6e1341fa.js +134 -0
- package/{slider-widget-086b096b.js → slider-widget-e234e4c0.js} +15 -15
- package/{slot-c4be1c4d.js → slot-0409dcec.js} +3 -3
- package/{static-text-widget-a5be6e6a.js → static-text-widget-4fc3f9d1.js} +14 -14
- package/{steps-widget-8959f2cd.js → steps-widget-a5d0a9db.js} +13 -13
- package/{subMenu-widget-234da814.js → subMenu-widget-d1ab3457.js} +8 -8
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-477ffcd8.js → subMenu-widget.vue_vue_type_script_setup_true_lang-6e807644.js} +3 -3
- package/{switch-widget-211b21f2.js → switch-widget-6b390c61.js} +15 -15
- package/{tab-pane-widget-7806a888.js → tab-pane-widget-a816ed21.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-b5135197.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-2e941ff5.js} +5 -5
- package/table-col-widget-8ef729af.js +22 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-22b30cca.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-7e88b04b.js} +6 -6
- package/{table-widget-dd95e3bc.js → table-widget-4022c649.js} +15 -15
- package/{tabs-widget-f05b8870.js → tabs-widget-92b2154c.js} +8 -8
- package/{tag-widget-a2468330.js → tag-widget-a7584b6a.js} +16 -16
- package/{text-widget-d9e376ec.js → text-widget-e8c1aaf1.js} +16 -16
- package/{textarea-widget-3ed36587.js → textarea-widget-fdecb7c1.js} +15 -15
- package/{time-picker-range-widget-8afff46d.js → time-picker-range-widget-e0c7059d.js} +15 -15
- package/{time-picker-widget-ed7308d3.js → time-picker-widget-b1b72b21.js} +15 -15
- package/{time-select-widget-e072e2ac.js → time-select-widget-174a2167.js} +15 -15
- package/{tmpl-widget-3a15afdb.js → tmpl-widget-df8283ea.js} +14 -14
- package/{tree-select-widget-48feef75.js → tree-select-widget-b34f2ca4.js} +15 -15
- package/{tree-widget-b8701060.js → tree-widget-48104d6a.js} +13 -13
- package/{uuid-911c6ec4.js → uuid-472ff1db.js} +1 -1
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ac5a73c2.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-8a7448a2.js} +7 -7
- package/{wrapper-widget-890c527c.js → wrapper-widget-917c4f6b.js} +6 -6
- package/checkbox-widget-add2ddb3.js +0 -90
- package/feedback-widget-3cc158e9.js +0 -26
- package/file-upload-widget-8c37293d.js +0 -98
- package/picture-upload-widget-de5d4081.js +0 -102
- package/share-file-9119f872.js +0 -119
- package/table-col-widget-54e98390.js +0 -22
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { defineComponent as d, computed as k, resolveComponent as S, openBlock as i, createBlock as p, mergeProps as m, unref as t, withCtx as n, toHandlers as j, createSlots as v, renderList as h, resolveDynamicComponent as D, createCommentVNode as F, createVNode as V } from "vue";
|
|
2
|
-
import { a as $ } from "./enum-type-
|
|
2
|
+
import { a as $ } from "./enum-type-f177c9cf.js";
|
|
3
3
|
import { I as B } from "./field-base-5547436d.js";
|
|
4
|
-
import { _ as E } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { b as I } from "./share-field-
|
|
6
|
-
import { w as O } from "./expression-
|
|
7
|
-
import { D as P } from "./drag-wrapper-
|
|
8
|
-
import { g as W } from "./slot-
|
|
4
|
+
import { _ as E } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-8a7448a2.js";
|
|
5
|
+
import { b as I } from "./share-field-1c102ba4.js";
|
|
6
|
+
import { w as O } from "./expression-92cadbfb.js";
|
|
7
|
+
import { D as P } from "./drag-wrapper-7a0422c0.js";
|
|
8
|
+
import { g as W } from "./slot-0409dcec.js";
|
|
9
9
|
import "./widget-base-4c2d6265.js";
|
|
10
|
-
import "./uuid-
|
|
11
|
-
import "./index-
|
|
12
|
-
import "./enum-type-
|
|
13
|
-
import "./baseImp-
|
|
10
|
+
import "./uuid-472ff1db.js";
|
|
11
|
+
import "./index-85279301.js";
|
|
12
|
+
import "./enum-type-eacaf465.js";
|
|
13
|
+
import "./baseImp-5b17336a.js";
|
|
14
14
|
import "./icon-e9532b43.js";
|
|
15
|
-
import "./dialog-
|
|
15
|
+
import "./dialog-e9330a03.js";
|
|
16
16
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
17
17
|
import "element-plus";
|
|
18
|
-
import "./index-
|
|
18
|
+
import "./index-29f70ed6.js";
|
|
19
19
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
|
-
import "./fieldobj-
|
|
21
|
-
import "./multirow-
|
|
20
|
+
import "./fieldobj-2df290fb.js";
|
|
21
|
+
import "./multirow-49846c15.js";
|
|
22
22
|
import "./source-map-b04aec4a.js";
|
|
23
23
|
import "./esprima-e8d15055.js";
|
|
24
24
|
const z = d({ componentName: O.FieldWidget }), se = /* @__PURE__ */ d({
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { defineComponent as f, computed as d, shallowRef as j, onMounted as k, openBlock as a, createBlock as c, mergeProps as u, unref as e, withCtx as x, createElementVNode as H, normalizeClass as I, normalizeStyle as M, resolveDynamicComponent as W, isRef as q, toHandlers as z } from "vue";
|
|
2
|
-
import { b as B } from "./share-field-
|
|
2
|
+
import { b as B } from "./share-field-1c102ba4.js";
|
|
3
3
|
import { I as N } from "./field-base-5547436d.js";
|
|
4
|
-
import P from "./form-item-wrapper-
|
|
5
|
-
import { w as R } from "./expression-
|
|
6
|
-
import { d as S, A as V } from "./enum-type-
|
|
7
|
-
import "./multirow-
|
|
8
|
-
import "./baseImp-
|
|
9
|
-
import "./uuid-
|
|
10
|
-
import "./enum-type-
|
|
4
|
+
import P from "./form-item-wrapper-9660e359.js";
|
|
5
|
+
import { w as R } from "./expression-92cadbfb.js";
|
|
6
|
+
import { d as S, A as V } from "./enum-type-f177c9cf.js";
|
|
7
|
+
import "./multirow-49846c15.js";
|
|
8
|
+
import "./baseImp-5b17336a.js";
|
|
9
|
+
import "./uuid-472ff1db.js";
|
|
10
|
+
import "./enum-type-eacaf465.js";
|
|
11
11
|
import "./icon-e9532b43.js";
|
|
12
|
-
import "./dialog-
|
|
12
|
+
import "./dialog-e9330a03.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./slot-
|
|
15
|
+
import "./index-85279301.js";
|
|
16
|
+
import "./slot-0409dcec.js";
|
|
17
17
|
import "./widget-base-4c2d6265.js";
|
|
18
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
19
|
-
import "./index-
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-8a7448a2.js";
|
|
19
|
+
import "./index-29f70ed6.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
-
import "./fieldobj-
|
|
22
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
21
|
+
import "./fieldobj-2df290fb.js";
|
|
22
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-2f174e7a.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
25
|
const $ = f({ componentName: R.FieldWidget }), ce = /* @__PURE__ */ f({
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { defineComponent as m, resolveComponent as u, openBlock as e, createBlock as i, mergeProps as g, unref as o, withCtx as p, createElementBlock as k, toDisplayString as w, createCommentVNode as b } from "vue";
|
|
2
|
-
import { b as y } from "./share-field-
|
|
2
|
+
import { b as y } from "./share-field-1c102ba4.js";
|
|
3
3
|
import { I as v } from "./field-base-5547436d.js";
|
|
4
|
-
import { _ as C } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { w as F } from "./expression-
|
|
6
|
-
import "./enum-type-
|
|
7
|
-
import "./multirow-
|
|
8
|
-
import "./baseImp-
|
|
9
|
-
import "./uuid-
|
|
10
|
-
import "./enum-type-
|
|
4
|
+
import { _ as C } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-8a7448a2.js";
|
|
5
|
+
import { w as F } from "./expression-92cadbfb.js";
|
|
6
|
+
import "./enum-type-f177c9cf.js";
|
|
7
|
+
import "./multirow-49846c15.js";
|
|
8
|
+
import "./baseImp-5b17336a.js";
|
|
9
|
+
import "./uuid-472ff1db.js";
|
|
10
|
+
import "./enum-type-eacaf465.js";
|
|
11
11
|
import "./icon-e9532b43.js";
|
|
12
|
-
import "./dialog-
|
|
12
|
+
import "./dialog-e9330a03.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./slot-
|
|
15
|
+
import "./index-85279301.js";
|
|
16
|
+
import "./slot-0409dcec.js";
|
|
17
17
|
import "./widget-base-4c2d6265.js";
|
|
18
|
-
import "./index-
|
|
18
|
+
import "./index-29f70ed6.js";
|
|
19
19
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
|
-
import "./fieldobj-
|
|
20
|
+
import "./fieldobj-2df290fb.js";
|
|
21
21
|
import "./source-map-b04aec4a.js";
|
|
22
22
|
import "./esprima-e8d15055.js";
|
|
23
23
|
const h = { key: 0 }, B = m({ componentName: F.FieldWidget }), T = /* @__PURE__ */ m({
|
|
@@ -1,170 +1,168 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { a as H } from "./enum-type-
|
|
3
|
-
import { d as ze } from "./baseImp-
|
|
4
|
-
import { t as
|
|
5
|
-
import { b as Ne } from "./share-field-
|
|
1
|
+
import { defineComponent as ve, ref as N, computed as re, shallowRef as te, watch as Fe, resolveComponent as P, openBlock as t, createBlock as i, mergeProps as O, unref as e, withCtx as y, isRef as ue, toHandlers as ne, createElementBlock as g, createVNode as Ie, createTextVNode as we, toDisplayString as Ae, createCommentVNode as V, Fragment as _, renderList as S, resolveDynamicComponent as F } from "vue";
|
|
2
|
+
import { a as H } from "./enum-type-f177c9cf.js";
|
|
3
|
+
import { d as ze } from "./baseImp-5b17336a.js";
|
|
4
|
+
import { t as C, c as oe } from "./uuid-472ff1db.js";
|
|
5
|
+
import { b as Ne } from "./share-field-1c102ba4.js";
|
|
6
6
|
import { I as Se } from "./field-base-5547436d.js";
|
|
7
|
-
import Be from "./form-item-wrapper-
|
|
8
|
-
import { g as Ee, w as Pe } from "./expression-
|
|
9
|
-
import { a as
|
|
10
|
-
import "./enum-type-
|
|
7
|
+
import Be from "./form-item-wrapper-9660e359.js";
|
|
8
|
+
import { g as Ee, w as Pe } from "./expression-92cadbfb.js";
|
|
9
|
+
import { a as se } from "./slot-0409dcec.js";
|
|
10
|
+
import "./enum-type-eacaf465.js";
|
|
11
11
|
import "./icon-e9532b43.js";
|
|
12
|
-
import "./dialog-
|
|
12
|
+
import "./dialog-e9330a03.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./multirow-
|
|
16
|
-
import "./index-
|
|
15
|
+
import "./multirow-49846c15.js";
|
|
16
|
+
import "./index-85279301.js";
|
|
17
17
|
import "./widget-base-4c2d6265.js";
|
|
18
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
19
|
-
import "./index-
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-8a7448a2.js";
|
|
19
|
+
import "./index-29f70ed6.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
-
import "./fieldobj-
|
|
22
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
21
|
+
import "./fieldobj-2df290fb.js";
|
|
22
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-2f174e7a.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
25
|
const De = {
|
|
26
26
|
key: 0,
|
|
27
27
|
class: "el-select-dropdown__item"
|
|
28
|
-
}, Ue =
|
|
28
|
+
}, Ue = ve({ componentName: Pe.FieldWidget }), dl = /* @__PURE__ */ ve({
|
|
29
29
|
...Ue,
|
|
30
30
|
__name: "select-widget",
|
|
31
31
|
props: { ...Se },
|
|
32
|
-
setup(
|
|
33
|
-
const
|
|
32
|
+
setup(de, { expose: ie }) {
|
|
33
|
+
const ce = de, {
|
|
34
34
|
fieldEditor: q,
|
|
35
35
|
fieldKey: J,
|
|
36
36
|
fieldModel: h,
|
|
37
37
|
objFieldModel: Q,
|
|
38
|
-
rules:
|
|
38
|
+
rules: fe,
|
|
39
39
|
attrs: c,
|
|
40
40
|
extendAttrs: u,
|
|
41
41
|
events: X,
|
|
42
|
-
slots:
|
|
43
|
-
exposed:
|
|
44
|
-
fieldObj:
|
|
45
|
-
getFieldOptions:
|
|
42
|
+
slots: ye,
|
|
43
|
+
exposed: me,
|
|
44
|
+
fieldObj: pe,
|
|
45
|
+
getFieldOptions: he,
|
|
46
46
|
getWidgetOption: Y,
|
|
47
|
-
getCheckedOptionItems:
|
|
48
|
-
setOptionItems:
|
|
49
|
-
watchOption:
|
|
50
|
-
} = Ne(
|
|
47
|
+
getCheckedOptionItems: ke,
|
|
48
|
+
setOptionItems: ge,
|
|
49
|
+
watchOption: _e
|
|
50
|
+
} = Ne(ce), I = N(), w = N(), be = N(!1), A = (l) => {
|
|
51
51
|
var a, r;
|
|
52
52
|
return (a = u.value) != null && a.allItemAsValue ? l : l == null ? void 0 : l[(r = u.value) == null ? void 0 : r.valueKey];
|
|
53
|
-
},
|
|
54
|
-
get: () =>
|
|
53
|
+
}, D = re({
|
|
54
|
+
get: () => C(h.value, !1),
|
|
55
55
|
set: (l) => {
|
|
56
56
|
h.value = l;
|
|
57
57
|
}
|
|
58
|
-
}),
|
|
59
|
-
get: () => Q.value == null ? [] :
|
|
58
|
+
}), U = re({
|
|
59
|
+
get: () => Q.value == null ? [] : C(L(Q.value), !0),
|
|
60
60
|
set: (l) => {
|
|
61
|
-
h.value =
|
|
61
|
+
h.value = L(l);
|
|
62
62
|
}
|
|
63
63
|
}), E = N(!1);
|
|
64
|
-
let m =
|
|
65
|
-
Fe(
|
|
64
|
+
let m = te(), B = te();
|
|
65
|
+
Fe(ye, (l) => {
|
|
66
66
|
var a, r;
|
|
67
|
-
m.value = (a =
|
|
67
|
+
m.value = (a = se(l, "optionDefault")) == null ? void 0 : a.default, B.value = (r = se(l, "prefix")) == null ? void 0 : r.default;
|
|
68
68
|
}, { immediate: !0 });
|
|
69
|
-
var
|
|
70
|
-
const
|
|
71
|
-
var
|
|
72
|
-
if (
|
|
73
|
-
var r = (
|
|
69
|
+
var W = Y("filterMethod");
|
|
70
|
+
const Ke = (l, a) => {
|
|
71
|
+
var v;
|
|
72
|
+
if (W) {
|
|
73
|
+
var r = (v = w.value) == null ? void 0 : v.filter((n) => {
|
|
74
74
|
var k, p;
|
|
75
|
-
var f = ze(
|
|
75
|
+
var f = ze(W, { keyword: l, option: { ...n, label: n == null ? void 0 : n[(k = u.value) == null ? void 0 : k.labelKey], value: n == null ? void 0 : n[(p = u.value) == null ? void 0 : p.valueKey] } });
|
|
76
76
|
return f;
|
|
77
77
|
});
|
|
78
78
|
a && a(r);
|
|
79
79
|
}
|
|
80
80
|
};
|
|
81
|
-
|
|
82
|
-
|
|
81
|
+
W && Object.assign(c.value, { filterMethod: (l) => {
|
|
82
|
+
x(l, Ke);
|
|
83
83
|
} });
|
|
84
84
|
var Z = Y("remoteMethod");
|
|
85
|
-
const
|
|
86
|
-
a && (
|
|
85
|
+
const x = (l, a) => {
|
|
86
|
+
a && (be.value = !0, l ? (E.value = !0, a(l, (r) => {
|
|
87
87
|
I.value = r, E.value = !1;
|
|
88
88
|
})) : I.value = w.value);
|
|
89
89
|
};
|
|
90
90
|
Z && Object.assign(c.value, { remoteMethod: (l) => {
|
|
91
|
-
|
|
91
|
+
x(l, Z);
|
|
92
92
|
} });
|
|
93
|
-
const
|
|
93
|
+
const G = () => {
|
|
94
94
|
var a;
|
|
95
|
-
var l =
|
|
95
|
+
var l = he("valueKey");
|
|
96
96
|
return l ? (a = w == null ? void 0 : w.value) == null ? void 0 : a.map((r) => r == null ? void 0 : r[l]) : [];
|
|
97
97
|
};
|
|
98
|
-
var
|
|
98
|
+
var Oe = () => {
|
|
99
99
|
if (!h.value)
|
|
100
100
|
return !1;
|
|
101
101
|
if (!Array.isArray(h.value))
|
|
102
102
|
return !0;
|
|
103
|
-
var l =
|
|
103
|
+
var l = G();
|
|
104
104
|
return !(l != null && l.some((a) => {
|
|
105
105
|
var r;
|
|
106
106
|
return ((r = h.value) == null ? void 0 : r.indexOf(a)) === -1;
|
|
107
107
|
}));
|
|
108
108
|
};
|
|
109
|
-
const ee = N(
|
|
110
|
-
l ? h.value =
|
|
111
|
-
},
|
|
112
|
-
var
|
|
113
|
-
const a =
|
|
114
|
-
if (!((
|
|
115
|
-
return
|
|
116
|
-
for (var r = "",
|
|
117
|
-
const
|
|
118
|
-
var k = n == null ? void 0 : n.some((d) =>
|
|
119
|
-
k &&
|
|
109
|
+
const ee = N(Oe()), Ve = (l) => {
|
|
110
|
+
l ? h.value = G() : h.value = [];
|
|
111
|
+
}, $ = N(), L = (l) => {
|
|
112
|
+
var o, M, j;
|
|
113
|
+
const a = C(l, !0);
|
|
114
|
+
if (!((o = c == null ? void 0 : c.value) != null && o.multiple) || !((M = u == null ? void 0 : u.value) != null && M.selectOnlyOneGroup) || (a == null ? void 0 : a.length) <= 0)
|
|
115
|
+
return $.value = a, C(a, (j = c == null ? void 0 : c.value) == null ? void 0 : j.multiple);
|
|
116
|
+
for (var r = "", v = [], n = oe(C(I.value, !0)), f = a.length - 1; f >= 0; f--) {
|
|
117
|
+
const s = a[f];
|
|
118
|
+
var k = n == null ? void 0 : n.some((d) => s === (d == null ? void 0 : d.value));
|
|
119
|
+
k && v.push(s);
|
|
120
120
|
var p = n == null ? void 0 : n.find((d) => {
|
|
121
121
|
var b;
|
|
122
|
-
return (b =
|
|
122
|
+
return (b = oe(C(d == null ? void 0 : d.children, !0))) == null ? void 0 : b.some((z) => s === (z == null ? void 0 : z.value));
|
|
123
123
|
});
|
|
124
|
-
(p && (p == null ? void 0 : p.value) === r || !r) && (
|
|
124
|
+
(p && (p == null ? void 0 : p.value) === r || !r) && (v.push(s), r || (r = p == null ? void 0 : p.value));
|
|
125
125
|
}
|
|
126
|
-
return
|
|
127
|
-
},
|
|
126
|
+
return $.value = v, v;
|
|
127
|
+
}, Ce = (l) => L(l), R = (l) => {
|
|
128
128
|
var a;
|
|
129
129
|
if (h.value !== void 0)
|
|
130
|
-
return (a = c.value) != null && a.remote ?
|
|
131
|
-
},
|
|
132
|
-
var
|
|
133
|
-
|
|
134
|
-
var n;
|
|
135
|
-
return o == null ? void 0 : o[(n = u.value) == null ? void 0 : n.labelKey];
|
|
136
|
-
})) == null ? void 0 : r.join(",");
|
|
137
|
-
}, Me = (l) => {
|
|
138
|
-
var r, o;
|
|
139
|
-
var a = (r = P(l)) == null ? void 0 : r.map((n) => {
|
|
130
|
+
return (a = c.value) != null && a.remote ? $.value : ke(l, w.value);
|
|
131
|
+
}, le = (l) => {
|
|
132
|
+
var r, v;
|
|
133
|
+
var a = (r = R(l)) == null ? void 0 : r.map((n) => {
|
|
140
134
|
var f;
|
|
141
135
|
return n == null ? void 0 : n[(f = u.value) == null ? void 0 : f.labelKey];
|
|
142
136
|
});
|
|
143
|
-
return
|
|
144
|
-
},
|
|
145
|
-
var r,
|
|
146
|
-
var a = (r =
|
|
137
|
+
return C(a, (v = c.value) == null ? void 0 : v.multiple);
|
|
138
|
+
}, Me = (l) => {
|
|
139
|
+
var r, v;
|
|
140
|
+
var a = (r = R(l)) == null ? void 0 : r.map((n) => {
|
|
147
141
|
var f;
|
|
148
142
|
return n == null ? void 0 : n[(f = u.value) == null ? void 0 : f.valueKey];
|
|
149
143
|
});
|
|
150
|
-
return
|
|
151
|
-
},
|
|
152
|
-
|
|
144
|
+
return C(a, (v = c.value) == null ? void 0 : v.multiple);
|
|
145
|
+
}, je = (l) => {
|
|
146
|
+
var r;
|
|
147
|
+
var a = le(l);
|
|
148
|
+
return (r = C(a, !0)) == null ? void 0 : r.join(",");
|
|
149
|
+
}, ae = (l) => {
|
|
150
|
+
w.value = l, I.value = l, ge(l);
|
|
153
151
|
};
|
|
154
|
-
return
|
|
155
|
-
|
|
156
|
-
}),
|
|
157
|
-
...
|
|
158
|
-
handleBeforeChange:
|
|
159
|
-
loadOptionItems:
|
|
160
|
-
getCheckedItems:
|
|
161
|
-
getCheckedLabels:
|
|
162
|
-
getCheckedValues:
|
|
163
|
-
getCheckedText:
|
|
152
|
+
return _e(!0, Ee.optionItems, void 0, (l) => {
|
|
153
|
+
ae(l);
|
|
154
|
+
}), ie({
|
|
155
|
+
...me,
|
|
156
|
+
handleBeforeChange: Ce,
|
|
157
|
+
loadOptionItems: ae,
|
|
158
|
+
getCheckedItems: R,
|
|
159
|
+
getCheckedLabels: le,
|
|
160
|
+
getCheckedValues: Me,
|
|
161
|
+
getCheckedText: je
|
|
164
162
|
}), (l, a) => {
|
|
165
|
-
const r =
|
|
163
|
+
const r = P("el-checkbox"), v = P("el-option"), n = P("el-option-group"), f = P("el-select");
|
|
166
164
|
return t(), i(Be, O(l.$props, {
|
|
167
|
-
propOptions: { fieldObj: e(
|
|
165
|
+
propOptions: { fieldObj: e(pe), rules: e(fe) }
|
|
168
166
|
}), {
|
|
169
167
|
default: y(({ data: k }) => {
|
|
170
168
|
var p;
|
|
@@ -172,10 +170,10 @@ const De = {
|
|
|
172
170
|
(p = e(c)) != null && p.multiple ? (t(), i(f, O({
|
|
173
171
|
ref_key: "fieldEditor",
|
|
174
172
|
ref: q,
|
|
175
|
-
modelValue: e(
|
|
176
|
-
"onUpdate:modelValue": a[1] || (a[1] = (
|
|
173
|
+
modelValue: e(U),
|
|
174
|
+
"onUpdate:modelValue": a[1] || (a[1] = (o) => ue(U) ? U.value = o : null),
|
|
177
175
|
key: `${e(J)}_multiple`
|
|
178
|
-
}, e(c),
|
|
176
|
+
}, e(c), ne(e(X)), {
|
|
179
177
|
"value-key": e(u).valueKey,
|
|
180
178
|
loading: E.value,
|
|
181
179
|
size: k.size,
|
|
@@ -184,14 +182,14 @@ const De = {
|
|
|
184
182
|
placeholder: e(c).placeholder || e(H).i18nt("render.hint.selectPlaceholder")
|
|
185
183
|
}), {
|
|
186
184
|
default: y(() => {
|
|
187
|
-
var
|
|
185
|
+
var o, M, j;
|
|
188
186
|
return [
|
|
189
187
|
e(c).multiple && !e(u).selectOnlyOneGroup ? (t(), g("li", De, [
|
|
190
188
|
Ie(r, {
|
|
191
189
|
modelValue: ee.value,
|
|
192
|
-
"onUpdate:modelValue": a[0] || (a[0] = (
|
|
193
|
-
indeterminate: ((
|
|
194
|
-
onChange:
|
|
190
|
+
"onUpdate:modelValue": a[0] || (a[0] = (s) => ee.value = s),
|
|
191
|
+
indeterminate: ((o = e(h)) == null ? void 0 : o.length) < (((M = I.value) == null ? void 0 : M.length) || 0) && ((j = e(h)) == null ? void 0 : j.length) !== 0,
|
|
192
|
+
onChange: Ve
|
|
195
193
|
}, {
|
|
196
194
|
default: y(() => [
|
|
197
195
|
we(Ae(e(H).i18nt("designer.hint.checkAll")), 1)
|
|
@@ -199,24 +197,24 @@ const De = {
|
|
|
199
197
|
_: 1
|
|
200
198
|
}, 8, ["modelValue", "indeterminate"])
|
|
201
199
|
])) : V("", !0),
|
|
202
|
-
(t(!0), g(_, null, S(I.value, (
|
|
200
|
+
(t(!0), g(_, null, S(I.value, (s, d) => {
|
|
203
201
|
var b, z;
|
|
204
202
|
return t(), g(_, {
|
|
205
|
-
key:
|
|
203
|
+
key: s.value
|
|
206
204
|
}, [
|
|
207
|
-
((b =
|
|
205
|
+
((b = s == null ? void 0 : s.children) == null ? void 0 : b.length) > 0 ? (t(), g(_, { key: 0 }, [
|
|
208
206
|
(z = e(u)) != null && z.showGroup ? (t(), i(n, {
|
|
209
|
-
label:
|
|
207
|
+
label: s[e(u).labelKey],
|
|
210
208
|
key: d
|
|
211
209
|
}, {
|
|
212
210
|
default: y(() => [
|
|
213
|
-
(t(!0), g(_, null, S(
|
|
211
|
+
(t(!0), g(_, null, S(s.children, (K, T) => (t(), i(v, {
|
|
214
212
|
value: A(K),
|
|
215
213
|
label: K[e(u).labelKey],
|
|
216
214
|
key: T
|
|
217
215
|
}, {
|
|
218
216
|
default: y(() => [
|
|
219
|
-
e(m) ? (t(), i(
|
|
217
|
+
e(m) ? (t(), i(F(e(m)), O({ key: 0 }, { item: K }, {
|
|
220
218
|
key: K[e(u).valueKey]
|
|
221
219
|
}), null, 16)) : V("", !0)
|
|
222
220
|
]),
|
|
@@ -224,26 +222,26 @@ const De = {
|
|
|
224
222
|
}, 1032, ["value", "label"]))), 128))
|
|
225
223
|
]),
|
|
226
224
|
_: 2
|
|
227
|
-
}, 1032, ["label"])) : (t(!0), g(_, { key: 1 }, S(
|
|
225
|
+
}, 1032, ["label"])) : (t(!0), g(_, { key: 1 }, S(s.children, (K, T) => (t(), i(v, {
|
|
228
226
|
value: A(K),
|
|
229
227
|
label: K[e(u).labelKey],
|
|
230
228
|
key: T
|
|
231
229
|
}, {
|
|
232
230
|
default: y(() => [
|
|
233
|
-
e(m) ? (t(), i(
|
|
231
|
+
e(m) ? (t(), i(F(e(m)), O({ key: 0 }, { item: K }, {
|
|
234
232
|
key: K[e(u).valueKey]
|
|
235
233
|
}), null, 16)) : V("", !0)
|
|
236
234
|
]),
|
|
237
235
|
_: 2
|
|
238
236
|
}, 1032, ["value", "label"]))), 128))
|
|
239
|
-
], 64)) : (t(), i(
|
|
240
|
-
value: A(
|
|
241
|
-
label:
|
|
237
|
+
], 64)) : (t(), i(v, {
|
|
238
|
+
value: A(s),
|
|
239
|
+
label: s[e(u).labelKey],
|
|
242
240
|
key: d
|
|
243
241
|
}, {
|
|
244
242
|
default: y(() => [
|
|
245
|
-
e(m) ? (t(), i(
|
|
246
|
-
key:
|
|
243
|
+
e(m) ? (t(), i(F(e(m)), O({ key: 0 }, { item: s }, {
|
|
244
|
+
key: s[e(u).valueKey]
|
|
247
245
|
}), null, 16)) : V("", !0)
|
|
248
246
|
]),
|
|
249
247
|
_: 2
|
|
@@ -253,16 +251,16 @@ const De = {
|
|
|
253
251
|
];
|
|
254
252
|
}),
|
|
255
253
|
prefix: y(() => [
|
|
256
|
-
e(B) ? (t(), i(
|
|
254
|
+
e(B) ? (t(), i(F(e(B)), { key: 0 })) : V("", !0)
|
|
257
255
|
]),
|
|
258
256
|
_: 2
|
|
259
257
|
}, 1040, ["modelValue", "value-key", "loading", "size", "class", "style", "placeholder"])) : (t(), i(f, O({
|
|
260
|
-
modelValue: e(
|
|
261
|
-
"onUpdate:modelValue": a[2] || (a[2] = (
|
|
258
|
+
modelValue: e(D),
|
|
259
|
+
"onUpdate:modelValue": a[2] || (a[2] = (o) => ue(D) ? D.value = o : null),
|
|
262
260
|
ref_key: "fieldEditor",
|
|
263
261
|
ref: q,
|
|
264
262
|
key: `${e(J)}_single`
|
|
265
|
-
},
|
|
263
|
+
}, ne(e(X)), e(c), {
|
|
266
264
|
"value-key": e(u).valueKey,
|
|
267
265
|
loading: E.value,
|
|
268
266
|
size: k.size,
|
|
@@ -271,24 +269,24 @@ const De = {
|
|
|
271
269
|
placeholder: e(c).placeholder || e(H).i18nt("render.hint.selectPlaceholder")
|
|
272
270
|
}), {
|
|
273
271
|
default: y(() => [
|
|
274
|
-
(t(!0), g(_, null, S(I.value, (
|
|
275
|
-
var
|
|
272
|
+
(t(!0), g(_, null, S(I.value, (o, M) => {
|
|
273
|
+
var j, s;
|
|
276
274
|
return t(), g(_, {
|
|
277
|
-
key:
|
|
275
|
+
key: o.value
|
|
278
276
|
}, [
|
|
279
|
-
((
|
|
280
|
-
(
|
|
281
|
-
label:
|
|
282
|
-
key:
|
|
277
|
+
((j = o == null ? void 0 : o.children) == null ? void 0 : j.length) > 0 ? (t(), g(_, { key: 0 }, [
|
|
278
|
+
(s = e(u)) != null && s.showGroup ? (t(), i(n, {
|
|
279
|
+
label: o[e(u).labelKey],
|
|
280
|
+
key: M
|
|
283
281
|
}, {
|
|
284
282
|
default: y(() => [
|
|
285
|
-
(t(!0), g(_, null, S(
|
|
283
|
+
(t(!0), g(_, null, S(o.children, (d, b) => (t(), i(v, {
|
|
286
284
|
value: A(d),
|
|
287
285
|
label: d[e(u).labelKey],
|
|
288
286
|
key: b
|
|
289
287
|
}, {
|
|
290
288
|
default: y(() => [
|
|
291
|
-
e(m) ? (t(), i(
|
|
289
|
+
e(m) ? (t(), i(F(e(m)), O({ key: 0 }, { item: d }, {
|
|
292
290
|
key: d[e(u).valueKey]
|
|
293
291
|
}), null, 16)) : V("", !0)
|
|
294
292
|
]),
|
|
@@ -296,26 +294,26 @@ const De = {
|
|
|
296
294
|
}, 1032, ["value", "label"]))), 128))
|
|
297
295
|
]),
|
|
298
296
|
_: 2
|
|
299
|
-
}, 1032, ["label"])) : (t(!0), g(_, { key: 1 }, S(
|
|
297
|
+
}, 1032, ["label"])) : (t(!0), g(_, { key: 1 }, S(o.children, (d, b) => (t(), i(v, {
|
|
300
298
|
value: A(d),
|
|
301
299
|
label: d[e(u).labelKey],
|
|
302
300
|
key: b
|
|
303
301
|
}, {
|
|
304
302
|
default: y(() => [
|
|
305
|
-
e(m) ? (t(), i(
|
|
303
|
+
e(m) ? (t(), i(F(e(m)), O({ key: 0 }, { item: d }, {
|
|
306
304
|
key: d[e(u).valueKey]
|
|
307
305
|
}), null, 16)) : V("", !0)
|
|
308
306
|
]),
|
|
309
307
|
_: 2
|
|
310
308
|
}, 1032, ["value", "label"]))), 128))
|
|
311
|
-
], 64)) : (t(), i(
|
|
312
|
-
value: A(
|
|
313
|
-
label:
|
|
314
|
-
key:
|
|
309
|
+
], 64)) : (t(), i(v, {
|
|
310
|
+
value: A(o),
|
|
311
|
+
label: o[e(u).labelKey],
|
|
312
|
+
key: M
|
|
315
313
|
}, {
|
|
316
314
|
default: y(() => [
|
|
317
|
-
e(m) ? (t(), i(
|
|
318
|
-
key:
|
|
315
|
+
e(m) ? (t(), i(F(e(m)), O({ key: 0 }, { item: o }, {
|
|
316
|
+
key: o[e(u).valueKey]
|
|
319
317
|
}), null, 16)) : V("", !0)
|
|
320
318
|
]),
|
|
321
319
|
_: 2
|
|
@@ -324,7 +322,7 @@ const De = {
|
|
|
324
322
|
}), 128))
|
|
325
323
|
]),
|
|
326
324
|
prefix: y(() => [
|
|
327
|
-
e(B) ? (t(), i(
|
|
325
|
+
e(B) ? (t(), i(F(e(B)), { key: 0 })) : V("", !0)
|
|
328
326
|
]),
|
|
329
327
|
_: 2
|
|
330
328
|
}, 1040, ["modelValue", "value-key", "loading", "size", "class", "style", "placeholder"]))
|