hlrender 0.0.28 → 0.0.32
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-cc24ed1f.js → affix-widget-3f1a895e.js} +16 -16
- package/{alert-widget-fe45c3c9.js → alert-widget-cc6a2498.js} +16 -16
- package/{anchor-widget-124304de.js → anchor-widget-afd668df.js} +13 -13
- package/{auto-complete-widget-91c9c73b.js → auto-complete-widget-3e3d7112.js} +16 -16
- package/{avatar-widget-ba165190.js → avatar-widget-9c1463fa.js} +16 -16
- package/{backtop-widget-9d9dd142.js → backtop-widget-51eb29ae.js} +16 -16
- package/{badge-widget-da251cd5.js → badge-widget-ae6bb921.js} +16 -16
- package/{baseImp-9dc35637.js → baseImp-42b8a74e.js} +7 -7
- package/{breadcrumb-widget-54888507.js → breadcrumb-widget-427bd437.js} +13 -13
- package/{button-widget-7f6d4076.js → button-widget-7c694b0e.js} +16 -16
- package/{cache-widget-f7eadcc3.js → cache-widget-3e57aa46.js} +15 -15
- package/{card-widget-cfef1ad4.js → card-widget-9d34aa0d.js} +14 -14
- package/{carousel-widget-d130c093.js → carousel-widget-1686ffa5.js} +14 -14
- package/{cascader-widget-71ce801e.js → cascader-widget-2a5b867c.js} +15 -15
- package/{chart-widget-b94fd490.js → chart-widget-a86de234.js} +13 -13
- package/{checkbox-widget-fbf2b4bc.js → checkbox-widget-19e6b600.js} +15 -15
- package/{collapse-widget-412b62b1.js → collapse-widget-00cb03e0.js} +14 -14
- package/{color-picker-widget-e33acfda.js → color-picker-widget-209ffa3a.js} +15 -15
- package/{cont-cell-widget-14d4ea35.js → cont-cell-widget-8d940280.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-2666e7b7.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-c4ceb804.js} +5 -5
- package/{cont-widget-1f47d2fb.js → cont-widget-d9fde971.js} +5 -5
- package/content-wrapper-f2d6d586.js +14 -0
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-8b6e8053.js → content-wrapper.vue_vue_type_script_setup_true_lang-3561b20b.js} +3 -3
- package/{date-picker-range-widget-8e0fe57b.js → date-picker-range-widget-e446aa0a.js} +15 -15
- package/{date-picker-widget-f5b38050.js → date-picker-widget-c9a1f831.js} +15 -15
- package/default-slot-widget-399eae8e.js +24 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-aa9b2689.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-ea7e67ee.js} +7 -7
- package/{descriptions-widget-0881490d.js → descriptions-widget-76d3a812.js} +14 -14
- package/{dialog-f934cab6.js → dialog-1e3ad5e2.js} +2 -2
- package/{dialog-widget-7dba89fd.js → dialog-widget-c8ac08dd.js} +15 -15
- package/{divider-widget-7ca6a6d2.js → divider-widget-61406c0c.js} +16 -16
- package/{drag-wrapper-2daee999.js → drag-wrapper-8976bf6d.js} +6 -6
- package/{drawer-widget-38a9a3c9.js → drawer-widget-f4ee17ac.js} +15 -15
- package/{dropdown-widget-9602280d.js → dropdown-widget-29767cc2.js} +14 -14
- package/{empty-widget-55500dc6.js → empty-widget-bb3d1850.js} +16 -16
- package/{enum-type-a8dcfe1b.js → enum-type-40ac9749.js} +1 -1
- package/{enum-type-3ddfb3c0.js → enum-type-f9ec26c7.js} +3 -1
- package/{expression-fca39f89.js → expression-5071e53a.js} +941 -941
- package/feedback-widget-8b66ef1b.js +24 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-4307da03.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-3a3cd403.js} +5 -5
- package/{fieldobj-4a037177.js → fieldobj-fd344656.js} +1 -1
- package/{file-upload-widget-0cdf45bc.js → file-upload-widget-742e74d1.js} +16 -16
- package/{form-item-wrapper-553d43e5.js → form-item-wrapper-ff4da97d.js} +11 -11
- package/{form-widget-b7b16e21.js → form-widget-79e238c5.js} +11 -11
- package/{grid-col-widget-70203b75.js → grid-col-widget-67a8e9c5.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-acfaf1b4.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-2a10fdeb.js} +5 -5
- package/{grid-widget-a776302a.js → grid-widget-44317792.js} +5 -5
- package/{html-text-widget-b37702ed.js → html-text-widget-352c44d8.js} +14 -14
- package/{iframe-widget-1f330014.js → iframe-widget-9651b33a.js} +13 -13
- package/{image-widget-a89ff7ac.js → image-widget-cc766913.js} +13 -13
- package/{index-8fc40e72.js → index-51016dad.js} +1108 -1092
- package/{index-297620ce.js → index-613c262d.js} +4 -4
- package/{index-6ea9df19.js → index-d242151f.js} +1 -1
- package/{input-number-widget-48bbad1e.js → input-number-widget-47f9a58f.js} +15 -15
- package/{input-widget-c5c60f69.js → input-widget-895454bf.js} +16 -16
- package/{label-wrapper-6797d3c9.js → label-wrapper-ce65258e.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-f0b84b56.js → label-wrapper.vue_vue_type_style_index_0_lang-2a561443.js} +3 -3
- package/{link-widget-c70425f6.js → link-widget-566cceaa.js} +16 -16
- package/{ltable-col-widget-97b00592.js → ltable-col-widget-4a5ed73a.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-1358cd37.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-b3c0a9cd.js} +10 -10
- package/{ltable-widget-480f6162.js → ltable-widget-f684d922.js} +5 -5
- package/{menu-widget-3febe9be.js → menu-widget-bcec66e1.js} +14 -14
- package/{model-widget-a77e4478.js → model-widget-8e239f0e.js} +13 -13
- package/multirow-ca5fe61a.js +223 -0
- package/{multirow-widget-0731ac02.js → multirow-widget-d73f821e.js} +142 -141
- package/package.json +1 -1
- package/{pagination-widget-95cd48b3.js → pagination-widget-1691475b.js} +13 -13
- package/{picture-upload-widget-ffa590ce.js → picture-upload-widget-f5f0a308.js} +16 -16
- package/{progress-widget-8f82ded5.js → progress-widget-f5b63842.js} +14 -14
- package/{propresult-0e9f8eac.js → propresult-6c3b0080.js} +1 -1
- package/{radio-widget-14da21ad.js → radio-widget-3e6bb8cc.js} +15 -15
- package/{range-widget-bb3574e5.js → range-widget-206eadb4.js} +16 -16
- package/{rate-widget-10180772.js → rate-widget-b974f18c.js} +15 -15
- package/render.es.js +262 -249
- package/render.style.css +1 -1
- package/render.umd.js +335 -335
- package/{result-widget-df7bab6c.js → result-widget-05026427.js} +14 -14
- package/{rich-editor-widget-8d0d7564.js → rich-editor-widget-6ad1302f.js} +15 -15
- package/{router-widget-8d90bea7.js → router-widget-cce4731c.js} +13 -13
- package/select-widget-c919bb0d.js +333 -0
- package/{sfc-f3c94efa.js → sfc-a97ff310.js} +8 -8
- package/share-field-37ba4b08.js +759 -0
- package/{share-file-302ad348.js → share-file-038ddb57.js} +5 -5
- package/{slider-widget-9d36d882.js → slider-widget-93c518a1.js} +15 -15
- package/{slot-04ed2c7f.js → slot-f3edc854.js} +3 -3
- package/{static-text-widget-07ff4e99.js → static-text-widget-f41e5511.js} +14 -14
- package/{steps-widget-1d7da31a.js → steps-widget-72e48e6b.js} +13 -13
- package/subMenu-widget-4a0d21e4.js +16 -0
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-24c94a78.js → subMenu-widget.vue_vue_type_script_setup_true_lang-91fba867.js} +3 -3
- package/{switch-widget-3947e730.js → switch-widget-66918ff3.js} +15 -15
- package/{tab-pane-widget-268242a1.js → tab-pane-widget-215cc72b.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-a5ca28f8.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-8a3d74af.js} +5 -5
- package/table-col-widget-6cacef88.js +20 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-70720ead.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-0f687412.js} +6 -6
- package/{table-widget-5412b3bd.js → table-widget-7ac62acd.js} +15 -15
- package/{tabs-widget-51f3586b.js → tabs-widget-4f87b89b.js} +8 -8
- package/{tag-widget-38912f1d.js → tag-widget-e91bdc17.js} +16 -16
- package/{text-widget-aa225e3e.js → text-widget-b600bbde.js} +16 -16
- package/{textarea-widget-74a60ad6.js → textarea-widget-9c4b505f.js} +15 -15
- package/{time-picker-range-widget-3d168afe.js → time-picker-range-widget-e3b78f2b.js} +15 -15
- package/{time-picker-widget-9e00ead5.js → time-picker-widget-d2b4ce7c.js} +15 -15
- package/{time-select-widget-eb8aeadc.js → time-select-widget-5959d1be.js} +15 -15
- package/{tmpl-widget-f2989a8d.js → tmpl-widget-c08a91df.js} +14 -14
- package/{tree-select-widget-49a6fc7b.js → tree-select-widget-b6c9e76e.js} +15 -15
- package/{tree-widget-3e380f2c.js → tree-widget-79152d39.js} +13 -13
- package/{uuid-9d29d969.js → uuid-e78dc4f0.js} +1 -1
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-6de179d0.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-acbfacb0.js} +7 -7
- package/wrapper-widget-e2f38db4.js +74 -0
- package/content-wrapper-ac73895d.js +0 -14
- package/default-slot-widget-c4c8ac22.js +0 -24
- package/feedback-widget-530e6fc4.js +0 -24
- package/multirow-bb2e2620.js +0 -226
- package/select-widget-058aea56.js +0 -311
- package/share-field-3c11613d.js +0 -735
- package/subMenu-widget-b3e859bb.js +0 -16
- package/table-col-widget-95c98e99.js +0 -20
- package/wrapper-widget-6928b962.js +0 -71
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { defineComponent as d, computed as k, resolveComponent as S, openBlock as i, createBlock as p, mergeProps as s, 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-f9ec26c7.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-acbfacb0.js";
|
|
5
|
+
import { b as I } from "./share-field-37ba4b08.js";
|
|
6
|
+
import { w as O } from "./expression-5071e53a.js";
|
|
7
|
+
import { D as P } from "./drag-wrapper-8976bf6d.js";
|
|
8
|
+
import { g as W } from "./slot-f3edc854.js";
|
|
9
9
|
import "./widget-base-4c2d6265.js";
|
|
10
|
-
import "./uuid-
|
|
11
|
-
import "./index-
|
|
12
|
-
import "./enum-type-
|
|
13
|
-
import "./baseImp-
|
|
10
|
+
import "./uuid-e78dc4f0.js";
|
|
11
|
+
import "./index-51016dad.js";
|
|
12
|
+
import "./enum-type-40ac9749.js";
|
|
13
|
+
import "./baseImp-42b8a74e.js";
|
|
14
14
|
import "./icon-e9532b43.js";
|
|
15
|
-
import "./dialog-
|
|
15
|
+
import "./dialog-1e3ad5e2.js";
|
|
16
16
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
17
17
|
import "element-plus";
|
|
18
|
-
import "./index-
|
|
18
|
+
import "./index-d242151f.js";
|
|
19
19
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
|
-
import "./fieldobj-
|
|
21
|
-
import "./multirow-
|
|
20
|
+
import "./fieldobj-fd344656.js";
|
|
21
|
+
import "./multirow-ca5fe61a.js";
|
|
22
22
|
const z = d({ componentName: O.FieldWidget }), pe = /* @__PURE__ */ d({
|
|
23
23
|
...z,
|
|
24
24
|
__name: "result-widget",
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { defineComponent as f, computed as d, shallowRef as F, onMounted as j, openBlock as a, createBlock as c, mergeProps as u, unref as e, withCtx as k, 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-37ba4b08.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, x 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-ff4da97d.js";
|
|
5
|
+
import { w as R } from "./expression-5071e53a.js";
|
|
6
|
+
import { d as S, x as V } from "./enum-type-f9ec26c7.js";
|
|
7
|
+
import "./multirow-ca5fe61a.js";
|
|
8
|
+
import "./baseImp-42b8a74e.js";
|
|
9
|
+
import "./uuid-e78dc4f0.js";
|
|
10
|
+
import "./enum-type-40ac9749.js";
|
|
11
11
|
import "./icon-e9532b43.js";
|
|
12
|
-
import "./dialog-
|
|
12
|
+
import "./dialog-1e3ad5e2.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./slot-
|
|
15
|
+
import "./index-51016dad.js";
|
|
16
|
+
import "./slot-f3edc854.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-acbfacb0.js";
|
|
19
|
+
import "./index-d242151f.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-fd344656.js";
|
|
22
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-2a561443.js";
|
|
23
23
|
const $ = f({ componentName: R.FieldWidget }), de = /* @__PURE__ */ f({
|
|
24
24
|
...$,
|
|
25
25
|
__name: "rich-editor-widget",
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { defineComponent as m, resolveComponent as u, openBlock as o, createBlock as i, mergeProps as g, unref as e, 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-37ba4b08.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-acbfacb0.js";
|
|
5
|
+
import { w as F } from "./expression-5071e53a.js";
|
|
6
|
+
import "./enum-type-f9ec26c7.js";
|
|
7
|
+
import "./multirow-ca5fe61a.js";
|
|
8
|
+
import "./baseImp-42b8a74e.js";
|
|
9
|
+
import "./uuid-e78dc4f0.js";
|
|
10
|
+
import "./enum-type-40ac9749.js";
|
|
11
11
|
import "./icon-e9532b43.js";
|
|
12
|
-
import "./dialog-
|
|
12
|
+
import "./dialog-1e3ad5e2.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./slot-
|
|
15
|
+
import "./index-51016dad.js";
|
|
16
|
+
import "./slot-f3edc854.js";
|
|
17
17
|
import "./widget-base-4c2d6265.js";
|
|
18
|
-
import "./index-
|
|
18
|
+
import "./index-d242151f.js";
|
|
19
19
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
|
-
import "./fieldobj-
|
|
20
|
+
import "./fieldobj-fd344656.js";
|
|
21
21
|
const h = { key: 0 }, B = m({ componentName: F.FieldWidget }), Q = /* @__PURE__ */ m({
|
|
22
22
|
...B,
|
|
23
23
|
__name: "router-widget",
|
|
@@ -0,0 +1,333 @@
|
|
|
1
|
+
import { defineComponent as ue, ref as I, computed as x, shallowRef as ee, watch as Ke, resolveComponent as P, openBlock as t, createBlock as v, mergeProps as C, unref as e, withCtx as c, isRef as le, toHandlers as ae, createElementBlock as k, createVNode as Ce, createTextVNode as Ve, toDisplayString as Oe, createCommentVNode as V, Fragment as b, renderList as z, resolveDynamicComponent as j } from "vue";
|
|
2
|
+
import { a as W, g as $ } from "./enum-type-f9ec26c7.js";
|
|
3
|
+
import { d as Me } from "./baseImp-42b8a74e.js";
|
|
4
|
+
import { t as re } from "./uuid-e78dc4f0.js";
|
|
5
|
+
import { b as je } from "./share-field-37ba4b08.js";
|
|
6
|
+
import { I as we } from "./field-base-5547436d.js";
|
|
7
|
+
import Fe from "./form-item-wrapper-ff4da97d.js";
|
|
8
|
+
import { g as Ae, w as Ie } from "./expression-5071e53a.js";
|
|
9
|
+
import { a as te } from "./slot-f3edc854.js";
|
|
10
|
+
import "./enum-type-40ac9749.js";
|
|
11
|
+
import "./icon-e9532b43.js";
|
|
12
|
+
import "./dialog-1e3ad5e2.js";
|
|
13
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
|
+
import "element-plus";
|
|
15
|
+
import "./multirow-ca5fe61a.js";
|
|
16
|
+
import "./index-51016dad.js";
|
|
17
|
+
import "./widget-base-4c2d6265.js";
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-acbfacb0.js";
|
|
19
|
+
import "./index-d242151f.js";
|
|
20
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
+
import "./fieldobj-fd344656.js";
|
|
22
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-2a561443.js";
|
|
23
|
+
const ze = {
|
|
24
|
+
key: 0,
|
|
25
|
+
class: "el-select-dropdown__item"
|
|
26
|
+
}, Ne = ue({ componentName: Ie.FieldWidget }), ul = /* @__PURE__ */ ue({
|
|
27
|
+
...Ne,
|
|
28
|
+
__name: "select-widget",
|
|
29
|
+
props: { ...we },
|
|
30
|
+
setup(ne, { expose: oe }) {
|
|
31
|
+
const se = ne, {
|
|
32
|
+
fieldEditor: R,
|
|
33
|
+
fieldKey: H,
|
|
34
|
+
fieldModel: h,
|
|
35
|
+
objFieldModel: de,
|
|
36
|
+
rules: ve,
|
|
37
|
+
attrs: f,
|
|
38
|
+
extendAttrs: u,
|
|
39
|
+
events: q,
|
|
40
|
+
slots: ie,
|
|
41
|
+
exposed: ce,
|
|
42
|
+
fieldObj: fe,
|
|
43
|
+
getFieldOptions: ye,
|
|
44
|
+
getWidgetOption: J,
|
|
45
|
+
getCheckedOptionItems: me,
|
|
46
|
+
watchOption: he
|
|
47
|
+
} = je(se), w = I(), F = I(), pe = I(!1);
|
|
48
|
+
he(!0, Ae.optionItems, void 0, (l) => {
|
|
49
|
+
F.value = l, w.value = l;
|
|
50
|
+
});
|
|
51
|
+
const A = (l) => {
|
|
52
|
+
var a, r;
|
|
53
|
+
return (a = f.value) != null && a.remote ? l : l == null ? void 0 : l[(r = u.value) == null ? void 0 : r.valueKey];
|
|
54
|
+
}, S = x({
|
|
55
|
+
get: () => re(h.value, !1),
|
|
56
|
+
set: (l) => {
|
|
57
|
+
h.value = l;
|
|
58
|
+
}
|
|
59
|
+
}), D = x({
|
|
60
|
+
get: () => re(de.value, !0),
|
|
61
|
+
set: (l) => {
|
|
62
|
+
h.value = l;
|
|
63
|
+
}
|
|
64
|
+
}), B = I(!1);
|
|
65
|
+
let y = ee(), N = ee();
|
|
66
|
+
Ke(ie, (l) => {
|
|
67
|
+
var a, r;
|
|
68
|
+
y.value = (a = te(l, "optionDefault")) == null ? void 0 : a.default, N.value = (r = te(l, "prefix")) == null ? void 0 : r.default;
|
|
69
|
+
}, { immediate: !0 });
|
|
70
|
+
var L = J("filterMethod");
|
|
71
|
+
const ke = (l, a) => {
|
|
72
|
+
var n;
|
|
73
|
+
if (L) {
|
|
74
|
+
var r = (n = F.value) == null ? void 0 : n.filter((d) => {
|
|
75
|
+
var p, m;
|
|
76
|
+
var O = Me(L, { keyword: l, option: { ...d, label: d == null ? void 0 : d[(p = u.value) == null ? void 0 : p.labelKey], value: d == null ? void 0 : d[(m = u.value) == null ? void 0 : m.valueKey] } });
|
|
77
|
+
return O;
|
|
78
|
+
});
|
|
79
|
+
a && a(r);
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
L && Object.assign(f.value, { filterMethod: (l) => {
|
|
83
|
+
X(l, ke);
|
|
84
|
+
} });
|
|
85
|
+
var Q = J("remoteMethod");
|
|
86
|
+
const X = (l, a) => {
|
|
87
|
+
a && (pe.value = !0, l ? (B.value = !0, a(l, (r) => {
|
|
88
|
+
w.value = r, B.value = !1;
|
|
89
|
+
})) : w.value = F.value);
|
|
90
|
+
};
|
|
91
|
+
Q && Object.assign(f.value, { remoteMethod: (l) => {
|
|
92
|
+
X(l, Q);
|
|
93
|
+
} });
|
|
94
|
+
const Y = () => {
|
|
95
|
+
var a;
|
|
96
|
+
var l = ye("valueKey");
|
|
97
|
+
return l ? (a = F == null ? void 0 : F.value) == null ? void 0 : a.map((r) => r == null ? void 0 : r[l]) : [];
|
|
98
|
+
};
|
|
99
|
+
var ge = () => {
|
|
100
|
+
if (!h.value)
|
|
101
|
+
return !1;
|
|
102
|
+
if (!Array.isArray(h.value))
|
|
103
|
+
return !0;
|
|
104
|
+
var l = Y();
|
|
105
|
+
return !(l != null && l.some((a) => {
|
|
106
|
+
var r;
|
|
107
|
+
return ((r = h.value) == null ? void 0 : r.indexOf(a)) === -1;
|
|
108
|
+
}));
|
|
109
|
+
};
|
|
110
|
+
const Z = I(ge()), _e = (l) => {
|
|
111
|
+
l ? h.value = Y() : h.value = [];
|
|
112
|
+
}, T = I(), be = (l) => {
|
|
113
|
+
var s, M;
|
|
114
|
+
const a = $(l);
|
|
115
|
+
if (!((s = f == null ? void 0 : f.value) != null && s.multiple) || !((M = u == null ? void 0 : u.value) != null && M.selectOnlyOneGroup) || (a == null ? void 0 : a.length) <= 0)
|
|
116
|
+
return T.value = a, !0;
|
|
117
|
+
for (var r = "", n = [], d = $(w.value), O = a.length - 1; O >= 0; O--) {
|
|
118
|
+
const g = a[O];
|
|
119
|
+
var p = d == null ? void 0 : d.some((o) => g === (o == null ? void 0 : o.value));
|
|
120
|
+
p && n.push(g);
|
|
121
|
+
var m = d == null ? void 0 : d.find((o) => {
|
|
122
|
+
var i;
|
|
123
|
+
return (i = $(o == null ? void 0 : o.children)) == null ? void 0 : i.some((_) => g === (_ == null ? void 0 : _.value));
|
|
124
|
+
});
|
|
125
|
+
(m && (m == null ? void 0 : m.value) === r || !r) && (n.push(g), r || (r = m == null ? void 0 : m.value));
|
|
126
|
+
}
|
|
127
|
+
T.value = n, h.value = n;
|
|
128
|
+
}, E = (l) => {
|
|
129
|
+
var a;
|
|
130
|
+
if (h.value !== void 0)
|
|
131
|
+
return (a = f.value) != null && a.remote ? T.value : me(l);
|
|
132
|
+
};
|
|
133
|
+
return oe({
|
|
134
|
+
...ce,
|
|
135
|
+
handleBeforeChange: be,
|
|
136
|
+
getCheckedItems: E,
|
|
137
|
+
getCheckedLabels: (l) => {
|
|
138
|
+
var a;
|
|
139
|
+
return (a = E(l)) == null ? void 0 : a.map((r) => {
|
|
140
|
+
var n;
|
|
141
|
+
return r == null ? void 0 : r[(n = u.value) == null ? void 0 : n.labelKey];
|
|
142
|
+
});
|
|
143
|
+
},
|
|
144
|
+
getCheckedValues: (l) => {
|
|
145
|
+
var a;
|
|
146
|
+
return (a = E(l)) == null ? void 0 : a.map((r) => {
|
|
147
|
+
var n;
|
|
148
|
+
return r == null ? void 0 : r[(n = u.value) == null ? void 0 : n.valueKey];
|
|
149
|
+
});
|
|
150
|
+
},
|
|
151
|
+
getCheckedText: (l) => {
|
|
152
|
+
var a, r;
|
|
153
|
+
return (r = (a = E(l)) == null ? void 0 : a.map((n) => {
|
|
154
|
+
var d;
|
|
155
|
+
return n == null ? void 0 : n[(d = u.value) == null ? void 0 : d.labelKey];
|
|
156
|
+
})) == null ? void 0 : r.join(",");
|
|
157
|
+
}
|
|
158
|
+
}), (l, a) => {
|
|
159
|
+
const r = P("el-checkbox"), n = P("el-option"), d = P("el-option-group"), O = P("el-select");
|
|
160
|
+
return t(), v(Fe, C(l.$props, {
|
|
161
|
+
propOptions: { fieldObj: e(fe), rules: e(ve) }
|
|
162
|
+
}), {
|
|
163
|
+
default: c(({ data: p }) => {
|
|
164
|
+
var m;
|
|
165
|
+
return [
|
|
166
|
+
(m = e(f)) != null && m.multiple ? (t(), v(O, C({
|
|
167
|
+
ref_key: "fieldEditor",
|
|
168
|
+
ref: R,
|
|
169
|
+
modelValue: e(D),
|
|
170
|
+
"onUpdate:modelValue": a[1] || (a[1] = (s) => le(D) ? D.value = s : null),
|
|
171
|
+
key: `${e(H)}_multiple`
|
|
172
|
+
}, e(f), ae(e(q)), {
|
|
173
|
+
loading: B.value,
|
|
174
|
+
size: p.size,
|
|
175
|
+
class: p.injectClass,
|
|
176
|
+
style: p.injectStyle,
|
|
177
|
+
placeholder: e(f).placeholder || e(W).i18nt("render.hint.selectPlaceholder")
|
|
178
|
+
}), {
|
|
179
|
+
default: c(() => {
|
|
180
|
+
var s, M, g;
|
|
181
|
+
return [
|
|
182
|
+
e(f).multiple && !e(u).selectOnlyOneGroup ? (t(), k("li", ze, [
|
|
183
|
+
Ce(r, {
|
|
184
|
+
modelValue: Z.value,
|
|
185
|
+
"onUpdate:modelValue": a[0] || (a[0] = (o) => Z.value = o),
|
|
186
|
+
indeterminate: ((s = e(h)) == null ? void 0 : s.length) < (((M = w.value) == null ? void 0 : M.length) || 0) && ((g = e(h)) == null ? void 0 : g.length) !== 0,
|
|
187
|
+
onChange: _e
|
|
188
|
+
}, {
|
|
189
|
+
default: c(() => [
|
|
190
|
+
Ve(Oe(e(W).i18nt("designer.hint.checkAll")), 1)
|
|
191
|
+
]),
|
|
192
|
+
_: 1
|
|
193
|
+
}, 8, ["modelValue", "indeterminate"])
|
|
194
|
+
])) : V("", !0),
|
|
195
|
+
(t(!0), k(b, null, z(w.value, (o, i) => {
|
|
196
|
+
var _, G;
|
|
197
|
+
return t(), k(b, {
|
|
198
|
+
key: o.value
|
|
199
|
+
}, [
|
|
200
|
+
((_ = o == null ? void 0 : o.children) == null ? void 0 : _.length) > 0 ? (t(), k(b, { key: 0 }, [
|
|
201
|
+
(G = e(u)) != null && G.showGroup ? (t(), v(d, {
|
|
202
|
+
label: o[e(u).labelKey],
|
|
203
|
+
key: i
|
|
204
|
+
}, {
|
|
205
|
+
default: c(() => [
|
|
206
|
+
(t(!0), k(b, null, z(o.children, (K, U) => (t(), v(n, {
|
|
207
|
+
value: A(K),
|
|
208
|
+
label: K[e(u).labelKey],
|
|
209
|
+
key: U
|
|
210
|
+
}, {
|
|
211
|
+
default: c(() => [
|
|
212
|
+
e(y) ? (t(), v(j(e(y)), C({ key: 0 }, { item: K }, {
|
|
213
|
+
key: K[e(u).valueKey]
|
|
214
|
+
}), null, 16)) : V("", !0)
|
|
215
|
+
]),
|
|
216
|
+
_: 2
|
|
217
|
+
}, 1032, ["value", "label"]))), 128))
|
|
218
|
+
]),
|
|
219
|
+
_: 2
|
|
220
|
+
}, 1032, ["label"])) : (t(!0), k(b, { key: 1 }, z(o.children, (K, U) => (t(), v(n, {
|
|
221
|
+
value: A(K),
|
|
222
|
+
label: K[e(u).labelKey],
|
|
223
|
+
key: U
|
|
224
|
+
}, {
|
|
225
|
+
default: c(() => [
|
|
226
|
+
e(y) ? (t(), v(j(e(y)), C({ key: 0 }, { item: K }, {
|
|
227
|
+
key: K[e(u).valueKey]
|
|
228
|
+
}), null, 16)) : V("", !0)
|
|
229
|
+
]),
|
|
230
|
+
_: 2
|
|
231
|
+
}, 1032, ["value", "label"]))), 128))
|
|
232
|
+
], 64)) : (t(), v(n, {
|
|
233
|
+
value: A(o),
|
|
234
|
+
label: o[e(u).labelKey],
|
|
235
|
+
key: i
|
|
236
|
+
}, {
|
|
237
|
+
default: c(() => [
|
|
238
|
+
e(y) ? (t(), v(j(e(y)), C({ key: 0 }, { item: o }, {
|
|
239
|
+
key: o[e(u).valueKey]
|
|
240
|
+
}), null, 16)) : V("", !0)
|
|
241
|
+
]),
|
|
242
|
+
_: 2
|
|
243
|
+
}, 1032, ["value", "label"]))
|
|
244
|
+
], 64);
|
|
245
|
+
}), 128))
|
|
246
|
+
];
|
|
247
|
+
}),
|
|
248
|
+
prefix: c(() => [
|
|
249
|
+
e(N) ? (t(), v(j(e(N)), { key: 0 })) : V("", !0)
|
|
250
|
+
]),
|
|
251
|
+
_: 2
|
|
252
|
+
}, 1040, ["modelValue", "loading", "size", "class", "style", "placeholder"])) : (t(), v(O, C({
|
|
253
|
+
ref_key: "fieldEditor",
|
|
254
|
+
ref: R,
|
|
255
|
+
modelValue: e(S),
|
|
256
|
+
"onUpdate:modelValue": a[2] || (a[2] = (s) => le(S) ? S.value = s : null),
|
|
257
|
+
key: `${e(H)}_single`
|
|
258
|
+
}, e(f), ae(e(q)), {
|
|
259
|
+
"value-key": e(u).valueKey,
|
|
260
|
+
loading: B.value,
|
|
261
|
+
size: p.size,
|
|
262
|
+
class: p.injectClass,
|
|
263
|
+
style: p.injectStyle,
|
|
264
|
+
placeholder: e(f).placeholder || e(W).i18nt("render.hint.selectPlaceholder")
|
|
265
|
+
}), {
|
|
266
|
+
default: c(() => [
|
|
267
|
+
(t(!0), k(b, null, z(w.value, (s, M) => {
|
|
268
|
+
var g, o;
|
|
269
|
+
return t(), k(b, {
|
|
270
|
+
key: s.value
|
|
271
|
+
}, [
|
|
272
|
+
((g = s == null ? void 0 : s.children) == null ? void 0 : g.length) > 0 ? (t(), k(b, { key: 0 }, [
|
|
273
|
+
(o = e(u)) != null && o.showGroup ? (t(), v(d, {
|
|
274
|
+
label: s[e(u).labelKey],
|
|
275
|
+
key: M
|
|
276
|
+
}, {
|
|
277
|
+
default: c(() => [
|
|
278
|
+
(t(!0), k(b, null, z(s.children, (i, _) => (t(), v(n, {
|
|
279
|
+
value: A(i),
|
|
280
|
+
label: i[e(u).labelKey],
|
|
281
|
+
key: _
|
|
282
|
+
}, {
|
|
283
|
+
default: c(() => [
|
|
284
|
+
e(y) ? (t(), v(j(e(y)), C({ key: 0 }, { item: i }, {
|
|
285
|
+
key: i[e(u).valueKey]
|
|
286
|
+
}), null, 16)) : V("", !0)
|
|
287
|
+
]),
|
|
288
|
+
_: 2
|
|
289
|
+
}, 1032, ["value", "label"]))), 128))
|
|
290
|
+
]),
|
|
291
|
+
_: 2
|
|
292
|
+
}, 1032, ["label"])) : (t(!0), k(b, { key: 1 }, z(s.children, (i, _) => (t(), v(n, {
|
|
293
|
+
value: A(i),
|
|
294
|
+
label: i[e(u).labelKey],
|
|
295
|
+
key: _
|
|
296
|
+
}, {
|
|
297
|
+
default: c(() => [
|
|
298
|
+
e(y) ? (t(), v(j(e(y)), C({ key: 0 }, { item: i }, {
|
|
299
|
+
key: i[e(u).valueKey]
|
|
300
|
+
}), null, 16)) : V("", !0)
|
|
301
|
+
]),
|
|
302
|
+
_: 2
|
|
303
|
+
}, 1032, ["value", "label"]))), 128))
|
|
304
|
+
], 64)) : (t(), v(n, {
|
|
305
|
+
value: A(s),
|
|
306
|
+
label: s[e(u).labelKey],
|
|
307
|
+
key: M
|
|
308
|
+
}, {
|
|
309
|
+
default: c(() => [
|
|
310
|
+
e(y) ? (t(), v(j(e(y)), C({ key: 0 }, { item: s }, {
|
|
311
|
+
key: s[e(u).valueKey]
|
|
312
|
+
}), null, 16)) : V("", !0)
|
|
313
|
+
]),
|
|
314
|
+
_: 2
|
|
315
|
+
}, 1032, ["value", "label"]))
|
|
316
|
+
], 64);
|
|
317
|
+
}), 128))
|
|
318
|
+
]),
|
|
319
|
+
prefix: c(() => [
|
|
320
|
+
e(N) ? (t(), v(j(e(N)), { key: 0 })) : V("", !0)
|
|
321
|
+
]),
|
|
322
|
+
_: 2
|
|
323
|
+
}, 1040, ["modelValue", "value-key", "loading", "size", "class", "style", "placeholder"]))
|
|
324
|
+
];
|
|
325
|
+
}),
|
|
326
|
+
_: 1
|
|
327
|
+
}, 16, ["propOptions"]);
|
|
328
|
+
};
|
|
329
|
+
}
|
|
330
|
+
});
|
|
331
|
+
export {
|
|
332
|
+
ul as default
|
|
333
|
+
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
var Ue = Object.defineProperty;
|
|
2
2
|
var ze = (t, i, s) => i in t ? Ue(t, i, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[i] = s;
|
|
3
3
|
var Y = (t, i, s) => (ze(t, typeof i != "symbol" ? i + "" : i, s), s);
|
|
4
|
-
import { d as M, t as H, o as _t, J as qe, e as Mt, K as Ve, L as q, f as Fe, M as Xe, x as Oe, j as Ge } from "./enum-type-
|
|
5
|
-
import { B as w, P as I, A as Te, F as Qe, C as He, D as Je, b as mt, G as Ye } from "./baseImp-
|
|
6
|
-
import { d as E, e as Ze, H as Ht, f as Jt, aa as ti } from "./enum-type-
|
|
7
|
-
import { c as Bt } from "./uuid-
|
|
8
|
-
import { t as ei, l as Ee, m as ke } from "./index-
|
|
9
|
-
import { g as J, o as F, k as rt, q as Re } from "./expression-
|
|
10
|
-
import { a as Ae } from "./slot-
|
|
4
|
+
import { d as M, t as H, o as _t, J as qe, e as Mt, K as Ve, L as q, f as Fe, M as Xe, x as Oe, j as Ge } from "./enum-type-f9ec26c7.js";
|
|
5
|
+
import { B as w, P as I, A as Te, F as Qe, C as He, D as Je, b as mt, G as Ye } from "./baseImp-42b8a74e.js";
|
|
6
|
+
import { d as E, e as Ze, H as Ht, f as Jt, aa as ti } from "./enum-type-40ac9749.js";
|
|
7
|
+
import { c as Bt } from "./uuid-e78dc4f0.js";
|
|
8
|
+
import { t as ei, l as Ee, m as ke } from "./index-51016dad.js";
|
|
9
|
+
import { g as J, o as F, k as rt, q as Re } from "./expression-5071e53a.js";
|
|
10
|
+
import { a as Ae } from "./slot-f3edc854.js";
|
|
11
11
|
import "./icon-e9532b43.js";
|
|
12
12
|
import "vue";
|
|
13
|
-
import "./dialog-
|
|
13
|
+
import "./dialog-1e3ad5e2.js";
|
|
14
14
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
15
|
import "element-plus";
|
|
16
16
|
const ii = (t) => {
|