hlrender 0.0.97 → 0.0.99
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-1eefd924.js → affix-widget-c9d4abd0.js} +16 -16
- package/{alert-widget-a46f9693.js → alert-widget-ec388e0b.js} +16 -16
- package/{anchor-widget-ea6b48da.js → anchor-widget-6ff711cc.js} +13 -13
- package/{auto-complete-widget-811f02d4.js → auto-complete-widget-c0157872.js} +16 -16
- package/{avatar-widget-0d6e7c30.js → avatar-widget-f11c8c27.js} +16 -16
- package/{backtop-widget-4326e4b4.js → backtop-widget-6e9cb20c.js} +16 -16
- package/{badge-widget-2a1617dd.js → badge-widget-a6fe92c2.js} +16 -16
- package/{baseImp-15d8e693.js → baseImp-01424d06.js} +1917 -1903
- package/{breadcrumb-widget-a1b72a6d.js → breadcrumb-widget-4bdde68f.js} +13 -13
- package/{button-widget-006f3b13.js → button-widget-1fa47d6f.js} +16 -16
- package/{cache-widget-15497623.js → cache-widget-49b241b2.js} +15 -15
- package/{card-widget-f84b988d.js → card-widget-fedff90a.js} +14 -14
- package/{carousel-widget-c98b0b77.js → carousel-widget-a444aa1a.js} +14 -14
- package/{cascader-widget-86df33e2.js → cascader-widget-8e5b3561.js} +15 -15
- package/{chart-widget-743f06da.js → chart-widget-d879f098.js} +22 -22
- package/checkbox-widget-b5d1ea09.js +114 -0
- package/{collapse-widget-b81e2681.js → collapse-widget-5fe2e769.js} +14 -14
- package/{color-picker-widget-890ee1f3.js → color-picker-widget-540c9744.js} +15 -15
- package/{cont-cell-widget-73b94e8f.js → cont-cell-widget-44faf4ce.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-09f42a79.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-9ea99a55.js} +5 -5
- package/{cont-widget-93d62638.js → cont-widget-59e97355.js} +5 -5
- package/{content-wrapper-575441a1.js → content-wrapper-71d6e07e.js} +7 -7
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-a9b859f8.js → content-wrapper.vue_vue_type_script_setup_true_lang-f5ed0b1c.js} +3 -3
- package/{date-picker-range-widget-f27babe1.js → date-picker-range-widget-1221a08a.js} +15 -15
- package/{date-picker-widget-2a69e0f8.js → date-picker-widget-28b01db6.js} +15 -15
- package/default-slot-widget-7bdae33f.js +26 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-b83d6813.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-28e4647a.js} +7 -7
- package/{descriptions-widget-af1b717d.js → descriptions-widget-8fe63470.js} +14 -14
- package/{dialog-966a22cc.js → dialog-f7b39fe6.js} +2 -2
- package/{dialog-widget-cb6ac249.js → dialog-widget-93c1135d.js} +15 -15
- package/{divider-widget-32a3f945.js → divider-widget-f559f88b.js} +16 -16
- package/{drag-wrapper-3fcc6c12.js → drag-wrapper-0a9fd22f.js} +14 -14
- package/{drawer-widget-f8396b0a.js → drawer-widget-f229dad8.js} +15 -15
- package/{dropdown-widget-22eebd75.js → dropdown-widget-1ebb6a37.js} +14 -14
- package/{empty-widget-62cce19f.js → empty-widget-971dc734.js} +16 -16
- package/{enum-type-fd6574c8.js → enum-type-1e9fcc29.js} +1 -1
- package/{enum-type-6a97dab8.js → enum-type-e543cd71.js} +61 -53
- package/{expression-4c0a4247.js → expression-9b2f51f2.js} +3 -3
- package/feedback-widget-ae4ce928.js +26 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-3957db4a.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-4b06d6d1.js} +5 -5
- package/{fieldobj-e0eb01a4.js → fieldobj-a6acad3e.js} +1 -1
- package/{file-upload-widget-5d6db7b1.js → file-upload-widget-2484131d.js} +16 -16
- package/{form-item-wrapper-cf2aa112.js → form-item-wrapper-590f14d7.js} +11 -11
- package/{form-widget-b7067d10.js → form-widget-a3c28500.js} +30 -30
- package/{grid-col-widget-028a0780.js → grid-col-widget-25ae896a.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-cca1266c.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-0b785ef3.js} +5 -5
- package/{grid-widget-9b76d805.js → grid-widget-5523a9c5.js} +5 -5
- package/{html-text-widget-fddc22b8.js → html-text-widget-2d7d87b5.js} +16 -16
- package/{iframe-widget-aeb4f035.js → iframe-widget-6056288f.js} +13 -13
- package/{image-widget-6b6e8cb8.js → image-widget-615945fd.js} +13 -13
- package/{index-4b65c494.js → index-a0389f64.js} +5 -5
- package/{index-53bdeada.js → index-acaeeeea.js} +4 -4
- package/{index-660ece0a.js → index-ddf326b1.js} +1 -1
- package/{input-number-widget-e7cf52cf.js → input-number-widget-add2dbc1.js} +15 -15
- package/{input-widget-fc12d7eb.js → input-widget-ac474bec.js} +16 -16
- package/{label-wrapper-531d172e.js → label-wrapper-d3616d09.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-9b4543fa.js → label-wrapper.vue_vue_type_style_index_0_lang-6461ea68.js} +3 -3
- package/{link-widget-53e796f2.js → link-widget-973dbb50.js} +16 -16
- package/{ltable-col-widget-923de8d8.js → ltable-col-widget-e4229e14.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-407b174b.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-eec45a70.js} +10 -10
- package/{ltable-widget-b8f27531.js → ltable-widget-9b0c3592.js} +5 -5
- package/{menu-widget-baf68a0d.js → menu-widget-9d38ef1e.js} +14 -14
- package/{model-widget-379e337f.js → model-widget-7a1e508c.js} +13 -13
- package/{multirow-83e440ca.js → multirow-4825dc2f.js} +32 -32
- package/{multirow-widget-4221479f.js → multirow-widget-c7ddda03.js} +50 -50
- package/package.json +1 -1
- package/{pagination-widget-56a93518.js → pagination-widget-d305763e.js} +13 -13
- package/{picture-upload-widget-2a6b0042.js → picture-upload-widget-60d5af2b.js} +16 -16
- package/{progress-widget-49a0baa3.js → progress-widget-518fb668.js} +14 -14
- package/{propresult-71635928.js → propresult-0f846ed7.js} +1 -1
- package/{radio-widget-0ccaa5e6.js → radio-widget-4d976a46.js} +15 -15
- package/{range-widget-6e12e5cc.js → range-widget-a625a6f2.js} +16 -16
- package/{rate-widget-8e941e90.js → rate-widget-34abc3fb.js} +15 -15
- package/render.es.js +31 -31
- package/render.umd.js +239 -239
- package/{result-widget-50987549.js → result-widget-9500e991.js} +14 -14
- package/{rich-editor-widget-7981fab1.js → rich-editor-widget-0ba9288c.js} +22 -22
- package/{router-widget-c9013305.js → router-widget-6a730e0a.js} +13 -13
- package/select-widget-f20950dd.js +337 -0
- package/{sfc-44d704c8.js → sfc-3271fd65.js} +10 -10
- package/{share-field-b3101378.js → share-field-7337c911.js} +177 -177
- package/{share-file-25b89f4d.js → share-file-2cf5a3d3.js} +16 -16
- package/{slider-widget-1bc761e7.js → slider-widget-52ac70f9.js} +15 -15
- package/{slot-f65073cf.js → slot-dba37e6a.js} +3 -3
- package/{static-text-widget-b22d169c.js → static-text-widget-38b18431.js} +14 -14
- package/{steps-widget-61d98063.js → steps-widget-2cc40445.js} +13 -13
- package/{subMenu-widget-60d74838.js → subMenu-widget-9ecb5202.js} +8 -8
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-80ca2b1e.js → subMenu-widget.vue_vue_type_script_setup_true_lang-51f446e7.js} +3 -3
- package/{switch-widget-893ca54c.js → switch-widget-11b9b7b6.js} +15 -15
- package/{tab-pane-widget-1723459d.js → tab-pane-widget-85cbe459.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-ca661cf9.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-f3f1bb0f.js} +5 -5
- package/table-col-widget-b58cd6af.js +22 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-074bfdde.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-68a078ff.js} +6 -6
- package/{table-widget-9622f9aa.js → table-widget-d80cda6f.js} +15 -15
- package/{tabs-widget-0d487ca9.js → tabs-widget-a9c6b967.js} +8 -8
- package/{tag-widget-f483ac0c.js → tag-widget-b5a93206.js} +16 -16
- package/{text-widget-49d80954.js → text-widget-58434d2e.js} +16 -16
- package/{textarea-widget-177f3f92.js → textarea-widget-722891b9.js} +15 -15
- package/{time-picker-range-widget-4e9e24e5.js → time-picker-range-widget-ae9ca22b.js} +15 -15
- package/{time-picker-widget-eef93755.js → time-picker-widget-6b745ba9.js} +15 -15
- package/{time-select-widget-8c55c35f.js → time-select-widget-104550b3.js} +15 -15
- package/{tmpl-widget-29576489.js → tmpl-widget-a739dc0b.js} +14 -14
- package/{tree-select-widget-33b41de6.js → tree-select-widget-f3afe9c5.js} +15 -15
- package/{tree-widget-2c5f5bc8.js → tree-widget-64ea3423.js} +13 -13
- package/{uuid-54a1dbd9.js → uuid-911c6ec4.js} +1 -1
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-6f0135b6.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-cfcc14b6.js} +26 -26
- package/{wrapper-widget-9d12eea2.js → wrapper-widget-93067f0f.js} +6 -6
- package/checkbox-widget-cdaa3101.js +0 -90
- package/default-slot-widget-3159340a.js +0 -26
- package/feedback-widget-53f6c0ae.js +0 -26
- package/select-widget-26b3ef91.js +0 -340
- package/table-col-widget-fed71563.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-e543cd71.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-cfcc14b6.js";
|
|
5
|
+
import { b as I } from "./share-field-7337c911.js";
|
|
6
|
+
import { w as O } from "./expression-9b2f51f2.js";
|
|
7
|
+
import { D as P } from "./drag-wrapper-0a9fd22f.js";
|
|
8
|
+
import { g as W } from "./slot-dba37e6a.js";
|
|
9
9
|
import "./widget-base-4c2d6265.js";
|
|
10
|
-
import "./uuid-
|
|
11
|
-
import "./index-
|
|
12
|
-
import "./enum-type-
|
|
13
|
-
import "./baseImp-
|
|
10
|
+
import "./uuid-911c6ec4.js";
|
|
11
|
+
import "./index-a0389f64.js";
|
|
12
|
+
import "./enum-type-1e9fcc29.js";
|
|
13
|
+
import "./baseImp-01424d06.js";
|
|
14
14
|
import "./icon-e9532b43.js";
|
|
15
|
-
import "./dialog-
|
|
15
|
+
import "./dialog-f7b39fe6.js";
|
|
16
16
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
17
17
|
import "element-plus";
|
|
18
|
-
import "./index-
|
|
18
|
+
import "./index-ddf326b1.js";
|
|
19
19
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
|
-
import "./fieldobj-
|
|
21
|
-
import "./multirow-
|
|
20
|
+
import "./fieldobj-a6acad3e.js";
|
|
21
|
+
import "./multirow-4825dc2f.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
|
-
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
|
|
2
|
-
import { b as B } from "./share-field-
|
|
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-7337c911.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,
|
|
7
|
-
import "./multirow-
|
|
8
|
-
import "./baseImp-
|
|
9
|
-
import "./uuid-
|
|
10
|
-
import "./enum-type-
|
|
4
|
+
import P from "./form-item-wrapper-590f14d7.js";
|
|
5
|
+
import { w as R } from "./expression-9b2f51f2.js";
|
|
6
|
+
import { d as S, A as V } from "./enum-type-e543cd71.js";
|
|
7
|
+
import "./multirow-4825dc2f.js";
|
|
8
|
+
import "./baseImp-01424d06.js";
|
|
9
|
+
import "./uuid-911c6ec4.js";
|
|
10
|
+
import "./enum-type-1e9fcc29.js";
|
|
11
11
|
import "./icon-e9532b43.js";
|
|
12
|
-
import "./dialog-
|
|
12
|
+
import "./dialog-f7b39fe6.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./slot-
|
|
15
|
+
import "./index-a0389f64.js";
|
|
16
|
+
import "./slot-dba37e6a.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-cfcc14b6.js";
|
|
19
|
+
import "./index-ddf326b1.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-a6acad3e.js";
|
|
22
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-6461ea68.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
25
|
const $ = f({ componentName: R.FieldWidget }), ce = /* @__PURE__ */ f({
|
|
@@ -52,16 +52,16 @@ const $ = f({ componentName: R.FieldWidget }), ce = /* @__PURE__ */ f({
|
|
|
52
52
|
propOptions: { fieldObj: e(C), rules: e(E) }
|
|
53
53
|
}), {
|
|
54
54
|
default: x(({ data: o }) => [
|
|
55
|
-
|
|
56
|
-
class:
|
|
57
|
-
style:
|
|
55
|
+
H("div", {
|
|
56
|
+
class: I(["full-height", o.injectClass]),
|
|
57
|
+
style: M(o.injectStyle)
|
|
58
58
|
}, [
|
|
59
|
-
(a(), c(
|
|
59
|
+
(a(), c(W(e(s)), u({
|
|
60
60
|
ref_key: "fieldEditor",
|
|
61
61
|
ref: y,
|
|
62
62
|
value: e(p),
|
|
63
|
-
"onUpdate:value": i[0] || (i[0] = (l) =>
|
|
64
|
-
},
|
|
63
|
+
"onUpdate:value": i[0] || (i[0] = (l) => q(p) ? p.value = l : null)
|
|
64
|
+
}, z(e(b)), {
|
|
65
65
|
key: e(g),
|
|
66
66
|
options: e(F),
|
|
67
67
|
style: e(m) ? `height: ${e(m)}` : ""
|
|
@@ -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-7337c911.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-cfcc14b6.js";
|
|
5
|
+
import { w as F } from "./expression-9b2f51f2.js";
|
|
6
|
+
import "./enum-type-e543cd71.js";
|
|
7
|
+
import "./multirow-4825dc2f.js";
|
|
8
|
+
import "./baseImp-01424d06.js";
|
|
9
|
+
import "./uuid-911c6ec4.js";
|
|
10
|
+
import "./enum-type-1e9fcc29.js";
|
|
11
11
|
import "./icon-e9532b43.js";
|
|
12
|
-
import "./dialog-
|
|
12
|
+
import "./dialog-f7b39fe6.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./slot-
|
|
15
|
+
import "./index-a0389f64.js";
|
|
16
|
+
import "./slot-dba37e6a.js";
|
|
17
17
|
import "./widget-base-4c2d6265.js";
|
|
18
|
-
import "./index-
|
|
18
|
+
import "./index-ddf326b1.js";
|
|
19
19
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
|
-
import "./fieldobj-
|
|
20
|
+
import "./fieldobj-a6acad3e.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({
|
|
@@ -0,0 +1,337 @@
|
|
|
1
|
+
import { defineComponent as de, ref as N, computed as re, shallowRef as te, watch as Fe, resolveComponent as P, openBlock as r, 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 j } from "vue";
|
|
2
|
+
import { a as H } from "./enum-type-e543cd71.js";
|
|
3
|
+
import { d as ze } from "./baseImp-01424d06.js";
|
|
4
|
+
import { t as F, c as oe } from "./uuid-911c6ec4.js";
|
|
5
|
+
import { b as Ne } from "./share-field-7337c911.js";
|
|
6
|
+
import { I as Se } from "./field-base-5547436d.js";
|
|
7
|
+
import Be from "./form-item-wrapper-590f14d7.js";
|
|
8
|
+
import { g as Ee, w as Pe } from "./expression-9b2f51f2.js";
|
|
9
|
+
import { a as se } from "./slot-dba37e6a.js";
|
|
10
|
+
import "./enum-type-1e9fcc29.js";
|
|
11
|
+
import "./icon-e9532b43.js";
|
|
12
|
+
import "./dialog-f7b39fe6.js";
|
|
13
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
|
+
import "element-plus";
|
|
15
|
+
import "./multirow-4825dc2f.js";
|
|
16
|
+
import "./index-a0389f64.js";
|
|
17
|
+
import "./widget-base-4c2d6265.js";
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-cfcc14b6.js";
|
|
19
|
+
import "./index-ddf326b1.js";
|
|
20
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
+
import "./fieldobj-a6acad3e.js";
|
|
22
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-6461ea68.js";
|
|
23
|
+
import "./source-map-b04aec4a.js";
|
|
24
|
+
import "./esprima-e8d15055.js";
|
|
25
|
+
const De = {
|
|
26
|
+
key: 0,
|
|
27
|
+
class: "el-select-dropdown__item"
|
|
28
|
+
}, Ue = de({ componentName: Pe.FieldWidget }), vl = /* @__PURE__ */ de({
|
|
29
|
+
...Ue,
|
|
30
|
+
__name: "select-widget",
|
|
31
|
+
props: { ...Se },
|
|
32
|
+
setup(ve, { expose: ie }) {
|
|
33
|
+
const ce = ve, {
|
|
34
|
+
fieldEditor: q,
|
|
35
|
+
fieldKey: J,
|
|
36
|
+
fieldModel: h,
|
|
37
|
+
objFieldModel: Q,
|
|
38
|
+
rules: fe,
|
|
39
|
+
attrs: c,
|
|
40
|
+
extendAttrs: u,
|
|
41
|
+
events: X,
|
|
42
|
+
slots: ye,
|
|
43
|
+
exposed: me,
|
|
44
|
+
fieldObj: pe,
|
|
45
|
+
getFieldOptions: he,
|
|
46
|
+
getWidgetOption: Y,
|
|
47
|
+
getCheckedOptionItems: ke,
|
|
48
|
+
setOptionItems: ge,
|
|
49
|
+
watchOption: _e
|
|
50
|
+
} = Ne(ce), I = N(), w = N(), be = N(!1), A = (l) => {
|
|
51
|
+
var a, t;
|
|
52
|
+
return (a = u.value) != null && a.allItemAsValue ? l : l == null ? void 0 : l[(t = u.value) == null ? void 0 : t.valueKey];
|
|
53
|
+
}, D = re({
|
|
54
|
+
get: () => F(h.value, !1),
|
|
55
|
+
set: (l) => {
|
|
56
|
+
h.value = l;
|
|
57
|
+
}
|
|
58
|
+
}), U = re({
|
|
59
|
+
get: () => Q.value == null ? [] : F(L(Q.value), !0),
|
|
60
|
+
set: (l) => {
|
|
61
|
+
h.value = L(l);
|
|
62
|
+
}
|
|
63
|
+
}), E = N(!1);
|
|
64
|
+
let m = te(), B = te();
|
|
65
|
+
Fe(ye, (l) => {
|
|
66
|
+
var a, t;
|
|
67
|
+
m.value = (a = se(l, "optionDefault")) == null ? void 0 : a.default, B.value = (t = se(l, "prefix")) == null ? void 0 : t.default;
|
|
68
|
+
}, { immediate: !0 });
|
|
69
|
+
var W = Y("filterMethod");
|
|
70
|
+
const Ke = (l, a) => {
|
|
71
|
+
var d;
|
|
72
|
+
if (W) {
|
|
73
|
+
var t = (d = w.value) == null ? void 0 : d.filter((n) => {
|
|
74
|
+
var k, p;
|
|
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
|
+
return f;
|
|
77
|
+
});
|
|
78
|
+
a && a(t);
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
W && Object.assign(c.value, { filterMethod: (l) => {
|
|
82
|
+
x(l, Ke);
|
|
83
|
+
} });
|
|
84
|
+
var Z = Y("remoteMethod");
|
|
85
|
+
const x = (l, a) => {
|
|
86
|
+
a && (be.value = !0, l ? (E.value = !0, a(l, (t) => {
|
|
87
|
+
I.value = t, E.value = !1;
|
|
88
|
+
})) : I.value = w.value);
|
|
89
|
+
};
|
|
90
|
+
Z && Object.assign(c.value, { remoteMethod: (l) => {
|
|
91
|
+
x(l, Z);
|
|
92
|
+
} });
|
|
93
|
+
const G = () => {
|
|
94
|
+
var a;
|
|
95
|
+
var l = he("valueKey");
|
|
96
|
+
return l ? (a = w == null ? void 0 : w.value) == null ? void 0 : a.map((t) => t == null ? void 0 : t[l]) : [];
|
|
97
|
+
};
|
|
98
|
+
var Oe = () => {
|
|
99
|
+
if (!h.value)
|
|
100
|
+
return !1;
|
|
101
|
+
if (!Array.isArray(h.value))
|
|
102
|
+
return !0;
|
|
103
|
+
var l = G();
|
|
104
|
+
return !(l != null && l.some((a) => {
|
|
105
|
+
var t;
|
|
106
|
+
return ((t = h.value) == null ? void 0 : t.indexOf(a)) === -1;
|
|
107
|
+
}));
|
|
108
|
+
};
|
|
109
|
+
const ee = N(Oe()), Ve = (l) => {
|
|
110
|
+
l ? h.value = G() : h.value = [];
|
|
111
|
+
}, $ = N(), L = (l) => {
|
|
112
|
+
var o, C, M;
|
|
113
|
+
const a = F(l, !0);
|
|
114
|
+
if (!((o = c == null ? void 0 : c.value) != null && o.multiple) || !((C = u == null ? void 0 : u.value) != null && C.selectOnlyOneGroup) || (a == null ? void 0 : a.length) <= 0)
|
|
115
|
+
return $.value = a, F(a, (M = c == null ? void 0 : c.value) == null ? void 0 : M.multiple);
|
|
116
|
+
for (var t = "", d = [], n = oe(F(I.value, !0)), f = a.length - 1; f >= 0; f--) {
|
|
117
|
+
const s = a[f];
|
|
118
|
+
var k = n == null ? void 0 : n.some((v) => s === (v == null ? void 0 : v.value));
|
|
119
|
+
k && d.push(s);
|
|
120
|
+
var p = n == null ? void 0 : n.find((v) => {
|
|
121
|
+
var b;
|
|
122
|
+
return (b = oe(F(v == null ? void 0 : v.children, !0))) == null ? void 0 : b.some((z) => s === (z == null ? void 0 : z.value));
|
|
123
|
+
});
|
|
124
|
+
(p && (p == null ? void 0 : p.value) === t || !t) && (d.push(s), t || (t = p == null ? void 0 : p.value));
|
|
125
|
+
}
|
|
126
|
+
return $.value = d, d;
|
|
127
|
+
}, Ce = (l) => L(l), R = (l) => {
|
|
128
|
+
var a;
|
|
129
|
+
if (h.value !== void 0)
|
|
130
|
+
return (a = c.value) != null && a.remote ? $.value : ke(l, w.value);
|
|
131
|
+
}, le = (l) => {
|
|
132
|
+
var t, d;
|
|
133
|
+
var a = (t = R(l)) == null ? void 0 : t.map((n) => {
|
|
134
|
+
var f;
|
|
135
|
+
return n == null ? void 0 : n[(f = u.value) == null ? void 0 : f.labelKey];
|
|
136
|
+
});
|
|
137
|
+
return F(a, (d = c.value) == null ? void 0 : d.multiple);
|
|
138
|
+
}, Me = (l) => {
|
|
139
|
+
var t, d;
|
|
140
|
+
var a = (t = R(l)) == null ? void 0 : t.map((n) => {
|
|
141
|
+
var f;
|
|
142
|
+
return n == null ? void 0 : n[(f = u.value) == null ? void 0 : f.valueKey];
|
|
143
|
+
});
|
|
144
|
+
return F(a, (d = c.value) == null ? void 0 : d.multiple);
|
|
145
|
+
}, je = (l) => {
|
|
146
|
+
var a;
|
|
147
|
+
return (a = le(l)) == null ? void 0 : a.join(",");
|
|
148
|
+
}, ae = (l) => {
|
|
149
|
+
w.value = l, I.value = l, ge(l);
|
|
150
|
+
};
|
|
151
|
+
return _e(!0, Ee.optionItems, void 0, (l) => {
|
|
152
|
+
ae(l);
|
|
153
|
+
}), ie({
|
|
154
|
+
...me,
|
|
155
|
+
handleBeforeChange: Ce,
|
|
156
|
+
loadOptionItems: ae,
|
|
157
|
+
getCheckedItems: R,
|
|
158
|
+
getCheckedLabels: le,
|
|
159
|
+
getCheckedValues: Me,
|
|
160
|
+
getCheckedText: je
|
|
161
|
+
}), (l, a) => {
|
|
162
|
+
const t = P("el-checkbox"), d = P("el-option"), n = P("el-option-group"), f = P("el-select");
|
|
163
|
+
return r(), i(Be, O(l.$props, {
|
|
164
|
+
propOptions: { fieldObj: e(pe), rules: e(fe) }
|
|
165
|
+
}), {
|
|
166
|
+
default: y(({ data: k }) => {
|
|
167
|
+
var p;
|
|
168
|
+
return [
|
|
169
|
+
(p = e(c)) != null && p.multiple ? (r(), i(f, O({
|
|
170
|
+
ref_key: "fieldEditor",
|
|
171
|
+
ref: q,
|
|
172
|
+
modelValue: e(U),
|
|
173
|
+
"onUpdate:modelValue": a[1] || (a[1] = (o) => ue(U) ? U.value = o : null),
|
|
174
|
+
key: `${e(J)}_multiple`
|
|
175
|
+
}, e(c), ne(e(X)), {
|
|
176
|
+
"value-key": e(u).valueKey,
|
|
177
|
+
loading: E.value,
|
|
178
|
+
size: k.size,
|
|
179
|
+
class: k.injectClass,
|
|
180
|
+
style: k.injectStyle,
|
|
181
|
+
placeholder: e(c).placeholder || e(H).i18nt("render.hint.selectPlaceholder")
|
|
182
|
+
}), {
|
|
183
|
+
default: y(() => {
|
|
184
|
+
var o, C, M;
|
|
185
|
+
return [
|
|
186
|
+
e(c).multiple && !e(u).selectOnlyOneGroup ? (r(), g("li", De, [
|
|
187
|
+
Ie(t, {
|
|
188
|
+
modelValue: ee.value,
|
|
189
|
+
"onUpdate:modelValue": a[0] || (a[0] = (s) => ee.value = s),
|
|
190
|
+
indeterminate: ((o = e(h)) == null ? void 0 : o.length) < (((C = I.value) == null ? void 0 : C.length) || 0) && ((M = e(h)) == null ? void 0 : M.length) !== 0,
|
|
191
|
+
onChange: Ve
|
|
192
|
+
}, {
|
|
193
|
+
default: y(() => [
|
|
194
|
+
we(Ae(e(H).i18nt("designer.hint.checkAll")), 1)
|
|
195
|
+
]),
|
|
196
|
+
_: 1
|
|
197
|
+
}, 8, ["modelValue", "indeterminate"])
|
|
198
|
+
])) : V("", !0),
|
|
199
|
+
(r(!0), g(_, null, S(I.value, (s, v) => {
|
|
200
|
+
var b, z;
|
|
201
|
+
return r(), g(_, {
|
|
202
|
+
key: s.value
|
|
203
|
+
}, [
|
|
204
|
+
((b = s == null ? void 0 : s.children) == null ? void 0 : b.length) > 0 ? (r(), g(_, { key: 0 }, [
|
|
205
|
+
(z = e(u)) != null && z.showGroup ? (r(), i(n, {
|
|
206
|
+
label: s[e(u).labelKey],
|
|
207
|
+
key: v
|
|
208
|
+
}, {
|
|
209
|
+
default: y(() => [
|
|
210
|
+
(r(!0), g(_, null, S(s.children, (K, T) => (r(), i(d, {
|
|
211
|
+
value: A(K),
|
|
212
|
+
label: K[e(u).labelKey],
|
|
213
|
+
key: T
|
|
214
|
+
}, {
|
|
215
|
+
default: y(() => [
|
|
216
|
+
e(m) ? (r(), i(j(e(m)), O({ key: 0 }, { item: K }, {
|
|
217
|
+
key: K[e(u).valueKey]
|
|
218
|
+
}), null, 16)) : V("", !0)
|
|
219
|
+
]),
|
|
220
|
+
_: 2
|
|
221
|
+
}, 1032, ["value", "label"]))), 128))
|
|
222
|
+
]),
|
|
223
|
+
_: 2
|
|
224
|
+
}, 1032, ["label"])) : (r(!0), g(_, { key: 1 }, S(s.children, (K, T) => (r(), i(d, {
|
|
225
|
+
value: A(K),
|
|
226
|
+
label: K[e(u).labelKey],
|
|
227
|
+
key: T
|
|
228
|
+
}, {
|
|
229
|
+
default: y(() => [
|
|
230
|
+
e(m) ? (r(), i(j(e(m)), O({ key: 0 }, { item: K }, {
|
|
231
|
+
key: K[e(u).valueKey]
|
|
232
|
+
}), null, 16)) : V("", !0)
|
|
233
|
+
]),
|
|
234
|
+
_: 2
|
|
235
|
+
}, 1032, ["value", "label"]))), 128))
|
|
236
|
+
], 64)) : (r(), i(d, {
|
|
237
|
+
value: A(s),
|
|
238
|
+
label: s[e(u).labelKey],
|
|
239
|
+
key: v
|
|
240
|
+
}, {
|
|
241
|
+
default: y(() => [
|
|
242
|
+
e(m) ? (r(), i(j(e(m)), O({ key: 0 }, { item: s }, {
|
|
243
|
+
key: s[e(u).valueKey]
|
|
244
|
+
}), null, 16)) : V("", !0)
|
|
245
|
+
]),
|
|
246
|
+
_: 2
|
|
247
|
+
}, 1032, ["value", "label"]))
|
|
248
|
+
], 64);
|
|
249
|
+
}), 128))
|
|
250
|
+
];
|
|
251
|
+
}),
|
|
252
|
+
prefix: y(() => [
|
|
253
|
+
e(B) ? (r(), i(j(e(B)), { key: 0 })) : V("", !0)
|
|
254
|
+
]),
|
|
255
|
+
_: 2
|
|
256
|
+
}, 1040, ["modelValue", "value-key", "loading", "size", "class", "style", "placeholder"])) : (r(), i(f, O({
|
|
257
|
+
modelValue: e(D),
|
|
258
|
+
"onUpdate:modelValue": a[2] || (a[2] = (o) => ue(D) ? D.value = o : null),
|
|
259
|
+
ref_key: "fieldEditor",
|
|
260
|
+
ref: q,
|
|
261
|
+
key: `${e(J)}_single`
|
|
262
|
+
}, ne(e(X)), e(c), {
|
|
263
|
+
"value-key": e(u).valueKey,
|
|
264
|
+
loading: E.value,
|
|
265
|
+
size: k.size,
|
|
266
|
+
class: k.injectClass,
|
|
267
|
+
style: k.injectStyle,
|
|
268
|
+
placeholder: e(c).placeholder || e(H).i18nt("render.hint.selectPlaceholder")
|
|
269
|
+
}), {
|
|
270
|
+
default: y(() => [
|
|
271
|
+
(r(!0), g(_, null, S(I.value, (o, C) => {
|
|
272
|
+
var M, s;
|
|
273
|
+
return r(), g(_, {
|
|
274
|
+
key: o.value
|
|
275
|
+
}, [
|
|
276
|
+
((M = o == null ? void 0 : o.children) == null ? void 0 : M.length) > 0 ? (r(), g(_, { key: 0 }, [
|
|
277
|
+
(s = e(u)) != null && s.showGroup ? (r(), i(n, {
|
|
278
|
+
label: o[e(u).labelKey],
|
|
279
|
+
key: C
|
|
280
|
+
}, {
|
|
281
|
+
default: y(() => [
|
|
282
|
+
(r(!0), g(_, null, S(o.children, (v, b) => (r(), i(d, {
|
|
283
|
+
value: A(v),
|
|
284
|
+
label: v[e(u).labelKey],
|
|
285
|
+
key: b
|
|
286
|
+
}, {
|
|
287
|
+
default: y(() => [
|
|
288
|
+
e(m) ? (r(), i(j(e(m)), O({ key: 0 }, { item: v }, {
|
|
289
|
+
key: v[e(u).valueKey]
|
|
290
|
+
}), null, 16)) : V("", !0)
|
|
291
|
+
]),
|
|
292
|
+
_: 2
|
|
293
|
+
}, 1032, ["value", "label"]))), 128))
|
|
294
|
+
]),
|
|
295
|
+
_: 2
|
|
296
|
+
}, 1032, ["label"])) : (r(!0), g(_, { key: 1 }, S(o.children, (v, b) => (r(), i(d, {
|
|
297
|
+
value: A(v),
|
|
298
|
+
label: v[e(u).labelKey],
|
|
299
|
+
key: b
|
|
300
|
+
}, {
|
|
301
|
+
default: y(() => [
|
|
302
|
+
e(m) ? (r(), i(j(e(m)), O({ key: 0 }, { item: v }, {
|
|
303
|
+
key: v[e(u).valueKey]
|
|
304
|
+
}), null, 16)) : V("", !0)
|
|
305
|
+
]),
|
|
306
|
+
_: 2
|
|
307
|
+
}, 1032, ["value", "label"]))), 128))
|
|
308
|
+
], 64)) : (r(), i(d, {
|
|
309
|
+
value: A(o),
|
|
310
|
+
label: o[e(u).labelKey],
|
|
311
|
+
key: C
|
|
312
|
+
}, {
|
|
313
|
+
default: y(() => [
|
|
314
|
+
e(m) ? (r(), i(j(e(m)), O({ key: 0 }, { item: o }, {
|
|
315
|
+
key: o[e(u).valueKey]
|
|
316
|
+
}), null, 16)) : V("", !0)
|
|
317
|
+
]),
|
|
318
|
+
_: 2
|
|
319
|
+
}, 1032, ["value", "label"]))
|
|
320
|
+
], 64);
|
|
321
|
+
}), 128))
|
|
322
|
+
]),
|
|
323
|
+
prefix: y(() => [
|
|
324
|
+
e(B) ? (r(), i(j(e(B)), { key: 0 })) : V("", !0)
|
|
325
|
+
]),
|
|
326
|
+
_: 2
|
|
327
|
+
}, 1040, ["modelValue", "value-key", "loading", "size", "class", "style", "placeholder"]))
|
|
328
|
+
];
|
|
329
|
+
}),
|
|
330
|
+
_: 1
|
|
331
|
+
}, 16, ["propOptions"]);
|
|
332
|
+
};
|
|
333
|
+
}
|
|
334
|
+
});
|
|
335
|
+
export {
|
|
336
|
+
vl as default
|
|
337
|
+
};
|
|
@@ -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,
|
|
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 { c as E, d as Ze, H as Ht, e as Jt, Y 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, s 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, P as qe, e as Mt, Q as Ve, R as q, f as Fe, S as Xe, A as Oe, h as Ge } from "./enum-type-e543cd71.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-01424d06.js";
|
|
6
|
+
import { c as E, d as Ze, H as Ht, e as Jt, Y as ti } from "./enum-type-1e9fcc29.js";
|
|
7
|
+
import { c as Bt } from "./uuid-911c6ec4.js";
|
|
8
|
+
import { t as ei, l as Ee, m as ke } from "./index-a0389f64.js";
|
|
9
|
+
import { g as J, o as F, s as rt, q as Re } from "./expression-9b2f51f2.js";
|
|
10
|
+
import { a as Ae } from "./slot-dba37e6a.js";
|
|
11
11
|
import "vue";
|
|
12
12
|
import "./icon-e9532b43.js";
|
|
13
|
-
import "./dialog-
|
|
13
|
+
import "./dialog-f7b39fe6.js";
|
|
14
14
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
15
|
import "element-plus";
|
|
16
16
|
import "./source-map-b04aec4a.js";
|
|
@@ -115,7 +115,7 @@ const ii = (t) => {
|
|
|
115
115
|
}), i;
|
|
116
116
|
}, Ne = (t, i) => {
|
|
117
117
|
var e;
|
|
118
|
-
var s = I.getValue(t.pageCreated);
|
|
118
|
+
var s = I.getValue(t.pageCreated) || "";
|
|
119
119
|
if (i)
|
|
120
120
|
return `
|
|
121
121
|
${s}
|
|
@@ -128,7 +128,7 @@ const ii = (t) => {
|
|
|
128
128
|
}
|
|
129
129
|
}, Pe = (t, i) => {
|
|
130
130
|
var e;
|
|
131
|
-
var s = I.getValue(t.pageMounted);
|
|
131
|
+
var s = I.getValue(t.pageMounted) || "";
|
|
132
132
|
if (i)
|
|
133
133
|
return `
|
|
134
134
|
${s}
|