hlrender 0.0.47 → 0.0.48
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-698de43e.js → affix-widget-f9e20186.js} +16 -16
- package/{alert-widget-3b66dc0b.js → alert-widget-c572832e.js} +16 -16
- package/{anchor-widget-1f880509.js → anchor-widget-7bec5bc9.js} +13 -13
- package/{auto-complete-widget-c669bc27.js → auto-complete-widget-2155225c.js} +16 -16
- package/{avatar-widget-d6a157d9.js → avatar-widget-c573a97b.js} +16 -16
- package/{backtop-widget-ae83d349.js → backtop-widget-8fa456fb.js} +16 -16
- package/{badge-widget-0a9e13fc.js → badge-widget-82b49c9d.js} +16 -16
- package/{baseImp-77c70e0f.js → baseImp-c24720a8.js} +813 -813
- package/{breadcrumb-widget-e80fc052.js → breadcrumb-widget-a0b952e8.js} +13 -13
- package/{button-widget-d1beede0.js → button-widget-3a33319f.js} +16 -16
- package/{cache-widget-0e5905d3.js → cache-widget-dd4a0c28.js} +15 -15
- package/{card-widget-83f2130a.js → card-widget-3aa42cc3.js} +14 -14
- package/{carousel-widget-2156dc2e.js → carousel-widget-450be371.js} +14 -14
- package/{cascader-widget-49bc65f5.js → cascader-widget-00954a01.js} +15 -15
- package/{chart-widget-677077da.js → chart-widget-df998657.js} +33 -32
- package/{checkbox-widget-9a235a37.js → checkbox-widget-22b09205.js} +15 -15
- package/{collapse-widget-87a7f4c1.js → collapse-widget-57ed54ce.js} +14 -14
- package/{color-picker-widget-aa436e6a.js → color-picker-widget-4e1c86ff.js} +15 -15
- package/{cont-cell-widget-23c4fc4d.js → cont-cell-widget-813ff1dd.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-8d0b5014.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-4c241060.js} +5 -5
- package/{cont-widget-8272e602.js → cont-widget-02ee5bec.js} +5 -5
- package/content-wrapper-2b01b8c7.js +14 -0
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-00718700.js → content-wrapper.vue_vue_type_script_setup_true_lang-a462f8d6.js} +3 -3
- package/{date-picker-range-widget-d760c9d8.js → date-picker-range-widget-77f4d137.js} +15 -15
- package/{date-picker-widget-ec3e9b20.js → date-picker-widget-e4708e4d.js} +15 -15
- package/default-slot-widget-a526c5bc.js +24 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-5bd1e780.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-8e4cc948.js} +7 -7
- package/{descriptions-widget-6bae4bc6.js → descriptions-widget-0b73bd75.js} +14 -14
- package/{dialog-8c3e543c.js → dialog-90dff606.js} +2 -2
- package/{dialog-widget-c2c3986a.js → dialog-widget-ada8af4e.js} +15 -15
- package/{divider-widget-fb66c436.js → divider-widget-3f1cbf12.js} +16 -16
- package/{drag-wrapper-f68a7613.js → drag-wrapper-f94c59d4.js} +21 -21
- package/{drawer-widget-2ee472af.js → drawer-widget-b7cfb6b2.js} +15 -15
- package/{dropdown-widget-31a7f858.js → dropdown-widget-3c44efda.js} +14 -14
- package/{empty-widget-2fc532e4.js → empty-widget-588a8c36.js} +16 -16
- package/{enum-type-3590213d.js → enum-type-22cb09ce.js} +719 -173
- package/{enum-type-3b3d7fab.js → enum-type-6ff9ea07.js} +1 -1
- package/{expression-8376e661.js → expression-8b5cf5cd.js} +347 -346
- package/feedback-widget-4bf4bd4a.js +24 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-34de85ba.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-4014d5eb.js} +5 -5
- package/{fieldobj-d383824f.js → fieldobj-3869eac1.js} +1 -1
- package/{file-upload-widget-41af6f89.js → file-upload-widget-afe32ddc.js} +16 -16
- package/{form-item-wrapper-84eb593a.js → form-item-wrapper-6cf71177.js} +11 -11
- package/{form-widget-fde19b8c.js → form-widget-c3bd9dc4.js} +27 -27
- package/{grid-col-widget-ba26537a.js → grid-col-widget-d9c28e33.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-88aaeb4f.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-cf8a74e7.js} +5 -5
- package/{grid-widget-5cc715c8.js → grid-widget-b0857327.js} +5 -5
- package/{html-text-widget-55c8d0d7.js → html-text-widget-639cbf77.js} +14 -14
- package/{iframe-widget-228edda6.js → iframe-widget-f7d7c4ba.js} +13 -13
- package/{image-widget-e2f77836.js → image-widget-f9b1dd6b.js} +13 -13
- package/{index-817aea44.js → index-29e642fa.js} +5 -5
- package/{index-e070c3e0.js → index-8b9ef71e.js} +1 -1
- package/{index-dbea5b81.js → index-a5cda776.js} +4 -4
- package/{input-number-widget-e2eb2fa7.js → input-number-widget-0987552d.js} +15 -15
- package/{input-widget-d5e8f684.js → input-widget-ade83d99.js} +16 -16
- package/{label-wrapper-af2bc180.js → label-wrapper-825ad3be.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-962b6cf9.js → label-wrapper.vue_vue_type_style_index_0_lang-69a959a4.js} +3 -3
- package/{link-widget-f68868c2.js → link-widget-debca55f.js} +16 -16
- package/{ltable-col-widget-45f4c1db.js → ltable-col-widget-784dbddb.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-8d0bd975.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-16d9515e.js} +10 -10
- package/{ltable-widget-7b7f9937.js → ltable-widget-ab2637e6.js} +5 -5
- package/{menu-widget-28da2760.js → menu-widget-f801d950.js} +14 -14
- package/{model-widget-42682ffa.js → model-widget-1373a1fa.js} +13 -13
- package/{multirow-ad5db8fc.js → multirow-f1a44597.js} +27 -27
- package/{multirow-widget-f21cc82e.js → multirow-widget-26a17a3f.js} +15 -15
- package/package.json +1 -1
- package/{pagination-widget-c5760e87.js → pagination-widget-34199975.js} +13 -13
- package/{picture-upload-widget-2a97610a.js → picture-upload-widget-722c12ce.js} +16 -16
- package/{progress-widget-f66a3344.js → progress-widget-8145d94e.js} +14 -14
- package/{propresult-5dee4bf6.js → propresult-ede45228.js} +1 -1
- package/{radio-widget-675aa5c2.js → radio-widget-5bea2e1f.js} +15 -15
- package/{range-widget-3b277877.js → range-widget-eed7a621.js} +16 -16
- package/{rate-widget-28d450cf.js → rate-widget-12bf395d.js} +15 -15
- package/render.es.js +30 -30
- package/render.umd.js +252 -252
- package/{result-widget-8399d20d.js → result-widget-52813e4e.js} +14 -14
- package/{rich-editor-widget-1cc74723.js → rich-editor-widget-f68a7e7c.js} +15 -15
- package/{router-widget-e1af282b.js → router-widget-1bbcac95.js} +13 -13
- package/select-widget-41f665a1.js +334 -0
- package/{sfc-66bae711.js → sfc-921ec71d.js} +8 -8
- package/{share-field-f19ed920.js → share-field-d115b012.js} +71 -70
- package/{share-file-607d5157.js → share-file-ddaed5a6.js} +5 -5
- package/{slider-widget-3d110d37.js → slider-widget-83e013c2.js} +15 -15
- package/{slot-2b4a9de9.js → slot-6cc517d7.js} +3 -3
- package/{static-text-widget-f10e3385.js → static-text-widget-f4d5e790.js} +14 -14
- package/{steps-widget-dd07c5b0.js → steps-widget-d77dd076.js} +13 -13
- package/subMenu-widget-677bbc5c.js +16 -0
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-0a788825.js → subMenu-widget.vue_vue_type_script_setup_true_lang-4a210678.js} +3 -3
- package/{switch-widget-39d07433.js → switch-widget-924da7ae.js} +15 -15
- package/{tab-pane-widget-838bee44.js → tab-pane-widget-d06ee564.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-4dcba076.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-d624467c.js} +5 -5
- package/table-col-widget-df0a215d.js +20 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-5840ac30.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-91119c0a.js} +6 -6
- package/{table-widget-64df6635.js → table-widget-95c94722.js} +57 -57
- package/{tabs-widget-96743166.js → tabs-widget-a02ca2e8.js} +8 -8
- package/{tag-widget-602b5880.js → tag-widget-3b705003.js} +16 -16
- package/{text-widget-cec12618.js → text-widget-68bebf56.js} +16 -16
- package/{textarea-widget-73b89818.js → textarea-widget-d8b6574f.js} +15 -15
- package/{time-picker-range-widget-8532f0fa.js → time-picker-range-widget-02dcb87c.js} +15 -15
- package/{time-picker-widget-a8b3e527.js → time-picker-widget-16f85363.js} +15 -15
- package/{time-select-widget-429610e5.js → time-select-widget-7573e5b7.js} +15 -15
- package/{tmpl-widget-b53dbce3.js → tmpl-widget-8bc77beb.js} +14 -14
- package/{tree-select-widget-092c63ae.js → tree-select-widget-cd839e70.js} +15 -15
- package/{tree-widget-29f9c602.js → tree-widget-4a4c292f.js} +13 -13
- package/{uuid-9b826be5.js → uuid-13176256.js} +1 -1
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-fa9bd9e5.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-228c3ca1.js} +7 -7
- package/{wrapper-widget-7a43bf2c.js → wrapper-widget-df3c1d69.js} +6 -6
- package/content-wrapper-3aed65b6.js +0 -14
- package/default-slot-widget-0a723c37.js +0 -24
- package/feedback-widget-f73a7543.js +0 -24
- package/select-widget-2b2f2561.js +0 -334
- package/subMenu-widget-e2b56f11.js +0 -16
- package/table-col-widget-1c4fc71e.js +0 -20
|
@@ -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-22cb09ce.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-228c3ca1.js";
|
|
5
|
+
import { b as I } from "./share-field-d115b012.js";
|
|
6
|
+
import { w as O } from "./expression-8b5cf5cd.js";
|
|
7
|
+
import { D as P } from "./drag-wrapper-f94c59d4.js";
|
|
8
|
+
import { g as W } from "./slot-6cc517d7.js";
|
|
9
9
|
import "./widget-base-4c2d6265.js";
|
|
10
|
-
import "./uuid-
|
|
11
|
-
import "./index-
|
|
12
|
-
import "./enum-type-
|
|
13
|
-
import "./baseImp-
|
|
10
|
+
import "./uuid-13176256.js";
|
|
11
|
+
import "./index-29e642fa.js";
|
|
12
|
+
import "./enum-type-6ff9ea07.js";
|
|
13
|
+
import "./baseImp-c24720a8.js";
|
|
14
14
|
import "./icon-e9532b43.js";
|
|
15
|
-
import "./dialog-
|
|
15
|
+
import "./dialog-90dff606.js";
|
|
16
16
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
17
17
|
import "element-plus";
|
|
18
|
-
import "./index-
|
|
18
|
+
import "./index-8b9ef71e.js";
|
|
19
19
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
|
-
import "./fieldobj-
|
|
21
|
-
import "./multirow-
|
|
20
|
+
import "./fieldobj-3869eac1.js";
|
|
21
|
+
import "./multirow-f1a44597.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-d115b012.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-6cf71177.js";
|
|
5
|
+
import { w as R } from "./expression-8b5cf5cd.js";
|
|
6
|
+
import { d as S, x as V } from "./enum-type-22cb09ce.js";
|
|
7
|
+
import "./multirow-f1a44597.js";
|
|
8
|
+
import "./baseImp-c24720a8.js";
|
|
9
|
+
import "./uuid-13176256.js";
|
|
10
|
+
import "./enum-type-6ff9ea07.js";
|
|
11
11
|
import "./icon-e9532b43.js";
|
|
12
|
-
import "./dialog-
|
|
12
|
+
import "./dialog-90dff606.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./slot-
|
|
15
|
+
import "./index-29e642fa.js";
|
|
16
|
+
import "./slot-6cc517d7.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-228c3ca1.js";
|
|
19
|
+
import "./index-8b9ef71e.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-3869eac1.js";
|
|
22
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-69a959a4.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-d115b012.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-228c3ca1.js";
|
|
5
|
+
import { w as F } from "./expression-8b5cf5cd.js";
|
|
6
|
+
import "./enum-type-22cb09ce.js";
|
|
7
|
+
import "./multirow-f1a44597.js";
|
|
8
|
+
import "./baseImp-c24720a8.js";
|
|
9
|
+
import "./uuid-13176256.js";
|
|
10
|
+
import "./enum-type-6ff9ea07.js";
|
|
11
11
|
import "./icon-e9532b43.js";
|
|
12
|
-
import "./dialog-
|
|
12
|
+
import "./dialog-90dff606.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./slot-
|
|
15
|
+
import "./index-29e642fa.js";
|
|
16
|
+
import "./slot-6cc517d7.js";
|
|
17
17
|
import "./widget-base-4c2d6265.js";
|
|
18
|
-
import "./index-
|
|
18
|
+
import "./index-8b9ef71e.js";
|
|
19
19
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
|
-
import "./fieldobj-
|
|
20
|
+
import "./fieldobj-3869eac1.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,334 @@
|
|
|
1
|
+
import { defineComponent as oe, ref as z, computed as le, shallowRef as ae, watch as Ce, resolveComponent as P, openBlock as t, createBlock as v, mergeProps as K, unref as e, withCtx as f, isRef as re, toHandlers as te, createElementBlock as k, createVNode as Ve, createTextVNode as Oe, toDisplayString as Me, createCommentVNode as C, Fragment as g, renderList as N, resolveDynamicComponent as j } from "vue";
|
|
2
|
+
import { g as R, a as H } from "./enum-type-22cb09ce.js";
|
|
3
|
+
import { d as je } from "./baseImp-c24720a8.js";
|
|
4
|
+
import { t as ue } from "./uuid-13176256.js";
|
|
5
|
+
import { b as Fe } from "./share-field-d115b012.js";
|
|
6
|
+
import { I as we } from "./field-base-5547436d.js";
|
|
7
|
+
import Ae from "./form-item-wrapper-6cf71177.js";
|
|
8
|
+
import { g as Ie, w as ze } from "./expression-8b5cf5cd.js";
|
|
9
|
+
import { a as ne } from "./slot-6cc517d7.js";
|
|
10
|
+
import "./enum-type-6ff9ea07.js";
|
|
11
|
+
import "./icon-e9532b43.js";
|
|
12
|
+
import "./dialog-90dff606.js";
|
|
13
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
|
+
import "element-plus";
|
|
15
|
+
import "./multirow-f1a44597.js";
|
|
16
|
+
import "./index-29e642fa.js";
|
|
17
|
+
import "./widget-base-4c2d6265.js";
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-228c3ca1.js";
|
|
19
|
+
import "./index-8b9ef71e.js";
|
|
20
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
+
import "./fieldobj-3869eac1.js";
|
|
22
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-69a959a4.js";
|
|
23
|
+
const Ne = {
|
|
24
|
+
key: 0,
|
|
25
|
+
class: "el-select-dropdown__item"
|
|
26
|
+
}, Se = oe({ componentName: ze.FieldWidget }), ol = /* @__PURE__ */ oe({
|
|
27
|
+
...Se,
|
|
28
|
+
__name: "select-widget",
|
|
29
|
+
props: { ...we },
|
|
30
|
+
setup(se, { expose: de }) {
|
|
31
|
+
const ie = se, {
|
|
32
|
+
fieldEditor: q,
|
|
33
|
+
fieldKey: J,
|
|
34
|
+
fieldModel: h,
|
|
35
|
+
objFieldModel: Q,
|
|
36
|
+
rules: ve,
|
|
37
|
+
attrs: c,
|
|
38
|
+
extendAttrs: u,
|
|
39
|
+
events: X,
|
|
40
|
+
slots: ce,
|
|
41
|
+
exposed: fe,
|
|
42
|
+
fieldObj: ye,
|
|
43
|
+
syncUpdateFormModel: Be,
|
|
44
|
+
getFieldOptions: me,
|
|
45
|
+
getWidgetOption: Y,
|
|
46
|
+
getCheckedOptionItems: he,
|
|
47
|
+
watchOption: pe
|
|
48
|
+
} = Fe(ie), F = z(), w = z(), ke = z(!1);
|
|
49
|
+
pe(!0, Ie.optionItems, void 0, (l) => {
|
|
50
|
+
w.value = l, F.value = l;
|
|
51
|
+
});
|
|
52
|
+
const A = (l) => {
|
|
53
|
+
var a, r;
|
|
54
|
+
return (a = c.value) != null && a.remote ? l : l == null ? void 0 : l[(r = u.value) == null ? void 0 : r.valueKey];
|
|
55
|
+
}, U = le({
|
|
56
|
+
get: () => ue(h.value, !1),
|
|
57
|
+
set: (l) => {
|
|
58
|
+
h.value = l;
|
|
59
|
+
}
|
|
60
|
+
}), D = le({
|
|
61
|
+
get: () => Q.value == null ? [] : ue(W(Q.value), !0),
|
|
62
|
+
set: (l) => {
|
|
63
|
+
h.value = W(l);
|
|
64
|
+
}
|
|
65
|
+
}), B = z(!1);
|
|
66
|
+
let y = ae(), S = ae();
|
|
67
|
+
Ce(ce, (l) => {
|
|
68
|
+
var a, r;
|
|
69
|
+
y.value = (a = ne(l, "optionDefault")) == null ? void 0 : a.default, S.value = (r = ne(l, "prefix")) == null ? void 0 : r.default;
|
|
70
|
+
}, { immediate: !0 });
|
|
71
|
+
var L = Y("filterMethod");
|
|
72
|
+
const ge = (l, a) => {
|
|
73
|
+
var n;
|
|
74
|
+
if (L) {
|
|
75
|
+
var r = (n = w.value) == null ? void 0 : n.filter((d) => {
|
|
76
|
+
var p, m;
|
|
77
|
+
var V = je(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] } });
|
|
78
|
+
return V;
|
|
79
|
+
});
|
|
80
|
+
a && a(r);
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
L && Object.assign(c.value, { filterMethod: (l) => {
|
|
84
|
+
G(l, ge);
|
|
85
|
+
} });
|
|
86
|
+
var Z = Y("remoteMethod");
|
|
87
|
+
const G = (l, a) => {
|
|
88
|
+
a && (ke.value = !0, l ? (B.value = !0, a(l, (r) => {
|
|
89
|
+
F.value = r, B.value = !1;
|
|
90
|
+
})) : F.value = w.value);
|
|
91
|
+
};
|
|
92
|
+
Z && Object.assign(c.value, { remoteMethod: (l) => {
|
|
93
|
+
G(l, Z);
|
|
94
|
+
} });
|
|
95
|
+
const x = () => {
|
|
96
|
+
var a;
|
|
97
|
+
var l = me("valueKey");
|
|
98
|
+
return l ? (a = w == null ? void 0 : w.value) == null ? void 0 : a.map((r) => r == null ? void 0 : r[l]) : [];
|
|
99
|
+
};
|
|
100
|
+
var _e = () => {
|
|
101
|
+
if (!h.value)
|
|
102
|
+
return !1;
|
|
103
|
+
if (!Array.isArray(h.value))
|
|
104
|
+
return !0;
|
|
105
|
+
var l = x();
|
|
106
|
+
return !(l != null && l.some((a) => {
|
|
107
|
+
var r;
|
|
108
|
+
return ((r = h.value) == null ? void 0 : r.indexOf(a)) === -1;
|
|
109
|
+
}));
|
|
110
|
+
};
|
|
111
|
+
const ee = z(_e()), be = (l) => {
|
|
112
|
+
l ? h.value = x() : h.value = [];
|
|
113
|
+
}, T = z(), W = (l) => {
|
|
114
|
+
var o, O, M;
|
|
115
|
+
const a = R(l);
|
|
116
|
+
if (!((o = c == null ? void 0 : c.value) != null && o.multiple) || !((O = u == null ? void 0 : u.value) != null && O.selectOnlyOneGroup) || (a == null ? void 0 : a.length) <= 0)
|
|
117
|
+
return T.value = a, (M = c == null ? void 0 : c.value) != null && M.multiple ? a : a == null ? void 0 : a[0];
|
|
118
|
+
for (var r = "", n = [], d = R(F.value), V = a.length - 1; V >= 0; V--) {
|
|
119
|
+
const s = a[V];
|
|
120
|
+
var p = d == null ? void 0 : d.some((i) => s === (i == null ? void 0 : i.value));
|
|
121
|
+
p && n.push(s);
|
|
122
|
+
var m = d == null ? void 0 : d.find((i) => {
|
|
123
|
+
var _;
|
|
124
|
+
return (_ = R(i == null ? void 0 : i.children)) == null ? void 0 : _.some((I) => s === (I == null ? void 0 : I.value));
|
|
125
|
+
});
|
|
126
|
+
(m && (m == null ? void 0 : m.value) === r || !r) && (n.push(s), r || (r = m == null ? void 0 : m.value));
|
|
127
|
+
}
|
|
128
|
+
return T.value = n, n;
|
|
129
|
+
}, Ke = (l) => W(l), E = (l) => {
|
|
130
|
+
var a;
|
|
131
|
+
if (h.value !== void 0)
|
|
132
|
+
return (a = c.value) != null && a.remote ? T.value : he(l);
|
|
133
|
+
};
|
|
134
|
+
return de({
|
|
135
|
+
...fe,
|
|
136
|
+
handleBeforeChange: Ke,
|
|
137
|
+
getCheckedItems: E,
|
|
138
|
+
getCheckedLabels: (l) => {
|
|
139
|
+
var a;
|
|
140
|
+
return (a = E(l)) == null ? void 0 : a.map((r) => {
|
|
141
|
+
var n;
|
|
142
|
+
return r == null ? void 0 : r[(n = u.value) == null ? void 0 : n.labelKey];
|
|
143
|
+
});
|
|
144
|
+
},
|
|
145
|
+
getCheckedValues: (l) => {
|
|
146
|
+
var a;
|
|
147
|
+
return (a = E(l)) == null ? void 0 : a.map((r) => {
|
|
148
|
+
var n;
|
|
149
|
+
return r == null ? void 0 : r[(n = u.value) == null ? void 0 : n.valueKey];
|
|
150
|
+
});
|
|
151
|
+
},
|
|
152
|
+
getCheckedText: (l) => {
|
|
153
|
+
var a, r;
|
|
154
|
+
return (r = (a = E(l)) == null ? void 0 : a.map((n) => {
|
|
155
|
+
var d;
|
|
156
|
+
return n == null ? void 0 : n[(d = u.value) == null ? void 0 : d.labelKey];
|
|
157
|
+
})) == null ? void 0 : r.join(",");
|
|
158
|
+
}
|
|
159
|
+
}), (l, a) => {
|
|
160
|
+
const r = P("el-checkbox"), n = P("el-option"), d = P("el-option-group"), V = P("el-select");
|
|
161
|
+
return t(), v(Ae, K(l.$props, {
|
|
162
|
+
propOptions: { fieldObj: e(ye), rules: e(ve) }
|
|
163
|
+
}), {
|
|
164
|
+
default: f(({ data: p }) => {
|
|
165
|
+
var m;
|
|
166
|
+
return [
|
|
167
|
+
(m = e(c)) != null && m.multiple ? (t(), v(V, K({
|
|
168
|
+
ref_key: "fieldEditor",
|
|
169
|
+
ref: q,
|
|
170
|
+
modelValue: e(D),
|
|
171
|
+
"onUpdate:modelValue": a[1] || (a[1] = (o) => re(D) ? D.value = o : null),
|
|
172
|
+
key: `${e(J)}_multiple`
|
|
173
|
+
}, e(c), te(e(X)), {
|
|
174
|
+
loading: B.value,
|
|
175
|
+
size: p.size,
|
|
176
|
+
class: p.injectClass,
|
|
177
|
+
style: p.injectStyle,
|
|
178
|
+
placeholder: e(c).placeholder || e(H).i18nt("render.hint.selectPlaceholder")
|
|
179
|
+
}), {
|
|
180
|
+
default: f(() => {
|
|
181
|
+
var o, O, M;
|
|
182
|
+
return [
|
|
183
|
+
e(c).multiple && !e(u).selectOnlyOneGroup ? (t(), k("li", Ne, [
|
|
184
|
+
Ve(r, {
|
|
185
|
+
modelValue: ee.value,
|
|
186
|
+
"onUpdate:modelValue": a[0] || (a[0] = (s) => ee.value = s),
|
|
187
|
+
indeterminate: ((o = e(h)) == null ? void 0 : o.length) < (((O = F.value) == null ? void 0 : O.length) || 0) && ((M = e(h)) == null ? void 0 : M.length) !== 0,
|
|
188
|
+
onChange: be
|
|
189
|
+
}, {
|
|
190
|
+
default: f(() => [
|
|
191
|
+
Oe(Me(e(H).i18nt("designer.hint.checkAll")), 1)
|
|
192
|
+
]),
|
|
193
|
+
_: 1
|
|
194
|
+
}, 8, ["modelValue", "indeterminate"])
|
|
195
|
+
])) : C("", !0),
|
|
196
|
+
(t(!0), k(g, null, N(F.value, (s, i) => {
|
|
197
|
+
var _, I;
|
|
198
|
+
return t(), k(g, {
|
|
199
|
+
key: s.value
|
|
200
|
+
}, [
|
|
201
|
+
((_ = s == null ? void 0 : s.children) == null ? void 0 : _.length) > 0 ? (t(), k(g, { key: 0 }, [
|
|
202
|
+
(I = e(u)) != null && I.showGroup ? (t(), v(d, {
|
|
203
|
+
label: s[e(u).labelKey],
|
|
204
|
+
key: i
|
|
205
|
+
}, {
|
|
206
|
+
default: f(() => [
|
|
207
|
+
(t(!0), k(g, null, N(s.children, (b, $) => (t(), v(n, {
|
|
208
|
+
value: A(b),
|
|
209
|
+
label: b[e(u).labelKey],
|
|
210
|
+
key: $
|
|
211
|
+
}, {
|
|
212
|
+
default: f(() => [
|
|
213
|
+
e(y) ? (t(), v(j(e(y)), K({ key: 0 }, { item: b }, {
|
|
214
|
+
key: b[e(u).valueKey]
|
|
215
|
+
}), null, 16)) : C("", !0)
|
|
216
|
+
]),
|
|
217
|
+
_: 2
|
|
218
|
+
}, 1032, ["value", "label"]))), 128))
|
|
219
|
+
]),
|
|
220
|
+
_: 2
|
|
221
|
+
}, 1032, ["label"])) : (t(!0), k(g, { key: 1 }, N(s.children, (b, $) => (t(), v(n, {
|
|
222
|
+
value: A(b),
|
|
223
|
+
label: b[e(u).labelKey],
|
|
224
|
+
key: $
|
|
225
|
+
}, {
|
|
226
|
+
default: f(() => [
|
|
227
|
+
e(y) ? (t(), v(j(e(y)), K({ key: 0 }, { item: b }, {
|
|
228
|
+
key: b[e(u).valueKey]
|
|
229
|
+
}), null, 16)) : C("", !0)
|
|
230
|
+
]),
|
|
231
|
+
_: 2
|
|
232
|
+
}, 1032, ["value", "label"]))), 128))
|
|
233
|
+
], 64)) : (t(), v(n, {
|
|
234
|
+
value: A(s),
|
|
235
|
+
label: s[e(u).labelKey],
|
|
236
|
+
key: i
|
|
237
|
+
}, {
|
|
238
|
+
default: f(() => [
|
|
239
|
+
e(y) ? (t(), v(j(e(y)), K({ key: 0 }, { item: s }, {
|
|
240
|
+
key: s[e(u).valueKey]
|
|
241
|
+
}), null, 16)) : C("", !0)
|
|
242
|
+
]),
|
|
243
|
+
_: 2
|
|
244
|
+
}, 1032, ["value", "label"]))
|
|
245
|
+
], 64);
|
|
246
|
+
}), 128))
|
|
247
|
+
];
|
|
248
|
+
}),
|
|
249
|
+
prefix: f(() => [
|
|
250
|
+
e(S) ? (t(), v(j(e(S)), { key: 0 })) : C("", !0)
|
|
251
|
+
]),
|
|
252
|
+
_: 2
|
|
253
|
+
}, 1040, ["modelValue", "loading", "size", "class", "style", "placeholder"])) : (t(), v(V, K({
|
|
254
|
+
ref_key: "fieldEditor",
|
|
255
|
+
ref: q,
|
|
256
|
+
modelValue: e(U),
|
|
257
|
+
"onUpdate:modelValue": a[2] || (a[2] = (o) => re(U) ? U.value = o : null),
|
|
258
|
+
key: `${e(J)}_single`
|
|
259
|
+
}, e(c), te(e(X)), {
|
|
260
|
+
"value-key": e(u).valueKey,
|
|
261
|
+
loading: B.value,
|
|
262
|
+
size: p.size,
|
|
263
|
+
class: p.injectClass,
|
|
264
|
+
style: p.injectStyle,
|
|
265
|
+
placeholder: e(c).placeholder || e(H).i18nt("render.hint.selectPlaceholder")
|
|
266
|
+
}), {
|
|
267
|
+
default: f(() => [
|
|
268
|
+
(t(!0), k(g, null, N(F.value, (o, O) => {
|
|
269
|
+
var M, s;
|
|
270
|
+
return t(), k(g, {
|
|
271
|
+
key: o.value
|
|
272
|
+
}, [
|
|
273
|
+
((M = o == null ? void 0 : o.children) == null ? void 0 : M.length) > 0 ? (t(), k(g, { key: 0 }, [
|
|
274
|
+
(s = e(u)) != null && s.showGroup ? (t(), v(d, {
|
|
275
|
+
label: o[e(u).labelKey],
|
|
276
|
+
key: O
|
|
277
|
+
}, {
|
|
278
|
+
default: f(() => [
|
|
279
|
+
(t(!0), k(g, null, N(o.children, (i, _) => (t(), v(n, {
|
|
280
|
+
value: A(i),
|
|
281
|
+
label: i[e(u).labelKey],
|
|
282
|
+
key: _
|
|
283
|
+
}, {
|
|
284
|
+
default: f(() => [
|
|
285
|
+
e(y) ? (t(), v(j(e(y)), K({ key: 0 }, { item: i }, {
|
|
286
|
+
key: i[e(u).valueKey]
|
|
287
|
+
}), null, 16)) : C("", !0)
|
|
288
|
+
]),
|
|
289
|
+
_: 2
|
|
290
|
+
}, 1032, ["value", "label"]))), 128))
|
|
291
|
+
]),
|
|
292
|
+
_: 2
|
|
293
|
+
}, 1032, ["label"])) : (t(!0), k(g, { key: 1 }, N(o.children, (i, _) => (t(), v(n, {
|
|
294
|
+
value: A(i),
|
|
295
|
+
label: i[e(u).labelKey],
|
|
296
|
+
key: _
|
|
297
|
+
}, {
|
|
298
|
+
default: f(() => [
|
|
299
|
+
e(y) ? (t(), v(j(e(y)), K({ key: 0 }, { item: i }, {
|
|
300
|
+
key: i[e(u).valueKey]
|
|
301
|
+
}), null, 16)) : C("", !0)
|
|
302
|
+
]),
|
|
303
|
+
_: 2
|
|
304
|
+
}, 1032, ["value", "label"]))), 128))
|
|
305
|
+
], 64)) : (t(), v(n, {
|
|
306
|
+
value: A(o),
|
|
307
|
+
label: o[e(u).labelKey],
|
|
308
|
+
key: O
|
|
309
|
+
}, {
|
|
310
|
+
default: f(() => [
|
|
311
|
+
e(y) ? (t(), v(j(e(y)), K({ key: 0 }, { item: o }, {
|
|
312
|
+
key: o[e(u).valueKey]
|
|
313
|
+
}), null, 16)) : C("", !0)
|
|
314
|
+
]),
|
|
315
|
+
_: 2
|
|
316
|
+
}, 1032, ["value", "label"]))
|
|
317
|
+
], 64);
|
|
318
|
+
}), 128))
|
|
319
|
+
]),
|
|
320
|
+
prefix: f(() => [
|
|
321
|
+
e(S) ? (t(), v(j(e(S)), { key: 0 })) : C("", !0)
|
|
322
|
+
]),
|
|
323
|
+
_: 2
|
|
324
|
+
}, 1040, ["modelValue", "value-key", "loading", "size", "class", "style", "placeholder"]))
|
|
325
|
+
];
|
|
326
|
+
}),
|
|
327
|
+
_: 1
|
|
328
|
+
}, 16, ["propOptions"]);
|
|
329
|
+
};
|
|
330
|
+
}
|
|
331
|
+
});
|
|
332
|
+
export {
|
|
333
|
+
ol as default
|
|
334
|
+
};
|
|
@@ -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, K as qe, e as Mt, L as Ve, M as q, f as Fe, N 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, K as qe, e as Mt, L as Ve, M as q, f as Fe, N as Xe, x as Oe, j as Ge } from "./enum-type-22cb09ce.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-c24720a8.js";
|
|
6
|
+
import { d as E, e as Ze, H as Ht, f as Jt, aa as ti } from "./enum-type-6ff9ea07.js";
|
|
7
|
+
import { c as Bt } from "./uuid-13176256.js";
|
|
8
|
+
import { t as ei, l as Ee, m as ke } from "./index-29e642fa.js";
|
|
9
|
+
import { g as J, o as F, k as rt, q as Re } from "./expression-8b5cf5cd.js";
|
|
10
|
+
import { a as Ae } from "./slot-6cc517d7.js";
|
|
11
11
|
import "./icon-e9532b43.js";
|
|
12
12
|
import "vue";
|
|
13
|
-
import "./dialog-
|
|
13
|
+
import "./dialog-90dff606.js";
|
|
14
14
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
15
|
import "element-plus";
|
|
16
16
|
const ii = (t) => {
|