hlrender 0.0.9 → 0.0.11
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-00e81350.js → affix-widget-09d896ce.js} +16 -16
- package/{alert-widget-6256a2d2.js → alert-widget-07d1f81e.js} +16 -16
- package/{anchor-widget-32c1715c.js → anchor-widget-34ee6615.js} +13 -13
- package/{auto-complete-widget-f47c5ef9.js → auto-complete-widget-06e8ab97.js} +16 -16
- package/{avatar-widget-e8210b19.js → avatar-widget-88abc990.js} +16 -16
- package/{backtop-widget-899427dd.js → backtop-widget-136d8760.js} +16 -16
- package/{badge-widget-5fa19630.js → badge-widget-00c67aea.js} +16 -16
- package/{baseImp-53bcce11.js → baseImp-6de567f5.js} +1660 -1640
- package/{breadcrumb-widget-99474044.js → breadcrumb-widget-88e8760d.js} +13 -13
- package/{button-widget-f95a0d8c.js → button-widget-da254e24.js} +16 -16
- package/{cache-widget-e1630323.js → cache-widget-c3704d8b.js} +15 -15
- package/{card-widget-24c19ea1.js → card-widget-340dc200.js} +14 -14
- package/{carousel-widget-23cfa3a0.js → carousel-widget-3efe1e3f.js} +17 -17
- package/cascader-widget-a8b2b9f3.js +136 -0
- package/{chart-widget-45d9ea9d.js → chart-widget-3fa591bd.js} +13 -13
- package/checkbox-widget-1763fe87.js +83 -0
- package/{collapse-widget-29421c0b.js → collapse-widget-17ea1e3a.js} +17 -17
- package/{color-picker-widget-32e655b5.js → color-picker-widget-8ffc757d.js} +15 -15
- package/{cont-cell-widget-6455f02c.js → cont-cell-widget-627285b3.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-9219d943.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-5fd92418.js} +5 -5
- package/cont-widget-271709f5.js +44 -0
- package/content-wrapper-45ed31e2.js +14 -0
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-0d9539b3.js → content-wrapper.vue_vue_type_script_setup_true_lang-7c2b51ee.js} +6 -6
- package/{date-picker-range-widget-ff5247ac.js → date-picker-range-widget-1ed067ba.js} +15 -15
- package/{date-picker-widget-524acb95.js → date-picker-widget-13242a45.js} +15 -15
- package/default-slot-widget-8da28e30.js +24 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-d25840b0.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-b6422690.js} +7 -7
- package/{descriptions-widget-c6c6346b.js → descriptions-widget-07aae80f.js} +14 -14
- package/{dialog-6a3f6732.js → dialog-701b8c0a.js} +2 -2
- package/{dialog-widget-bfd0562e.js → dialog-widget-4133a39f.js} +15 -15
- package/{divider-widget-6fce0150.js → divider-widget-2e6ab845.js} +16 -16
- package/{drag-wrapper-165db4b4.js → drag-wrapper-9194080d.js} +6 -6
- package/{drawer-widget-bfda2f44.js → drawer-widget-dc73d1ca.js} +15 -15
- package/{dropdown-widget-c2468d38.js → dropdown-widget-4bec3b6b.js} +14 -14
- package/{empty-widget-8447f869.js → empty-widget-b09cb9bc.js} +16 -16
- package/{enum-type-535dad7d.js → enum-type-0083e5e5.js} +1 -1
- package/{enum-type-58fa8fed.js → enum-type-965ecb4e.js} +12 -11
- package/{expression-05a920a6.js → expression-78a5f136.js} +3 -3
- package/feedback-widget-339b6b9f.js +24 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-76079dc0.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-ec6a8b0b.js} +5 -5
- package/{fieldobj-c5438b43.js → fieldobj-079cc6a1.js} +1 -1
- package/{file-upload-widget-9feff952.js → file-upload-widget-ad790e94.js} +16 -16
- package/{form-item-wrapper-bdbd9119.js → form-item-wrapper-f428a5b3.js} +11 -11
- package/form-widget-aa88b04c.js +223 -0
- package/{grid-col-widget-1a83fe3a.js → grid-col-widget-3d4def04.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-78c1fc65.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-6c8a6a99.js} +5 -5
- package/grid-widget-0d8adfb3.js +43 -0
- package/{html-text-widget-d092ae62.js → html-text-widget-261eaf3d.js} +14 -14
- package/{iframe-widget-7953aaa7.js → iframe-widget-b8434abd.js} +22 -22
- package/{image-widget-0da12ca3.js → image-widget-931a54a9.js} +13 -13
- package/{index-ff1f52fe.js → index-22bda53a.js} +1 -1
- package/{index-50468d90.js → index-2b7ed19f.js} +1087 -1066
- package/{index-87cd501e.js → index-94d0325b.js} +4 -4
- package/{input-number-widget-136de6e7.js → input-number-widget-627ba574.js} +15 -15
- package/{input-widget-2eef9d25.js → input-widget-1af63077.js} +16 -16
- package/{label-wrapper-33d56c8e.js → label-wrapper-bb67454d.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-63f6d717.js → label-wrapper.vue_vue_type_style_index_0_lang-406a5b48.js} +3 -3
- package/{link-widget-31177f0c.js → link-widget-b763c145.js} +16 -16
- package/{ltable-col-widget-2ef3336b.js → ltable-col-widget-ac72367a.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-eeddab32.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-fd2759be.js} +10 -10
- package/{ltable-widget-22496102.js → ltable-widget-fbfde49d.js} +27 -27
- package/{menu-widget-1423cd5d.js → menu-widget-839b5597.js} +14 -14
- package/{model-widget-c7308347.js → model-widget-f95af04f.js} +13 -13
- package/{multirow-a0e18ea1.js → multirow-be69baf2.js} +6 -6
- package/{multirow-widget-46153c02.js → multirow-widget-2a8e565b.js} +15 -15
- package/package.json +1 -1
- package/{pagination-widget-9f5cf289.js → pagination-widget-26a33d29.js} +13 -13
- package/{picture-upload-widget-08dcadc0.js → picture-upload-widget-8e531089.js} +16 -16
- package/{progress-widget-b50af7cc.js → progress-widget-cc49f312.js} +14 -14
- package/{propresult-77f4a3ac.js → propresult-92830dff.js} +1 -1
- package/radio-widget-5ef72242.js +83 -0
- package/{range-widget-26f3c1bb.js → range-widget-75dd7393.js} +16 -16
- package/{rate-widget-45af267e.js → rate-widget-4d727592.js} +15 -15
- package/render.es.js +30 -30
- package/render.style.css +1 -1
- package/render.umd.js +555 -555
- package/{result-widget-bd370c7b.js → result-widget-520d5f63.js} +14 -14
- package/{rich-editor-widget-03254b58.js → rich-editor-widget-7d97a0ac.js} +19 -19
- package/{router-widget-78f83f95.js → router-widget-0a17cd89.js} +13 -13
- package/{select-widget-f3ac274c.js → select-widget-4601c748.js} +135 -109
- package/{sfc-456e8e61.js → sfc-bedcee5e.js} +8 -8
- package/share-field-46cfb27c.js +695 -0
- package/{share-file-8d8f0bac.js → share-file-caae654c.js} +15 -15
- package/{slider-widget-9b8bd999.js → slider-widget-4258703e.js} +15 -15
- package/{slot-704a6f3f.js → slot-87815022.js} +4 -4
- package/{static-text-widget-1cf85747.js → static-text-widget-f7c9f75e.js} +14 -14
- package/{steps-widget-a0bdb607.js → steps-widget-7ed4714f.js} +13 -13
- package/subMenu-widget-b71b263f.js +16 -0
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-744946da.js → subMenu-widget.vue_vue_type_script_setup_true_lang-e00474cd.js} +3 -3
- package/{switch-widget-5bc43dc1.js → switch-widget-a7ca9805.js} +15 -15
- package/{tab-pane-widget-ac863327.js → tab-pane-widget-aac721c1.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-1527a412.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-507add54.js} +5 -5
- package/table-col-widget-41f6fc8b.js +20 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-508c895d.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-23943a07.js} +19 -19
- package/{table-widget-ce6a6747.js → table-widget-04ae323f.js} +15 -15
- package/tabs-widget-a80add4e.js +68 -0
- package/{tag-widget-630c156b.js → tag-widget-b2ad8430.js} +16 -16
- package/{text-widget-4abf03e1.js → text-widget-f11b31ef.js} +16 -16
- package/{textarea-widget-9f61e869.js → textarea-widget-0b1aa924.js} +15 -15
- package/{time-picker-range-widget-006cda58.js → time-picker-range-widget-cee1d0db.js} +15 -15
- package/{time-picker-widget-86c5d2fc.js → time-picker-widget-3327346e.js} +15 -15
- package/{time-select-widget-b2d2d4d8.js → time-select-widget-b8ef282f.js} +15 -15
- package/{tmpl-widget-aef94261.js → tmpl-widget-41fe8438.js} +14 -14
- package/tree-select-widget-955b88bf.js +145 -0
- package/{tree-widget-a844863c.js → tree-widget-b928fb54.js} +13 -13
- package/{uuid-35d50fb6.js → uuid-8f83f4bc.js} +6 -6
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-39996653.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3f856074.js} +7 -7
- package/{wrapper-widget-dd3d500a.js → wrapper-widget-0492ec02.js} +6 -6
- package/cascader-widget-b4152955.js +0 -95
- package/checkbox-widget-5bb450b5.js +0 -77
- package/cont-widget-90fbe76c.js +0 -44
- package/content-wrapper-36c56e38.js +0 -14
- package/default-slot-widget-ada3b19c.js +0 -24
- package/feedback-widget-82af1dca.js +0 -24
- package/form-widget-bd65b878.js +0 -213
- package/grid-widget-fa38638a.js +0 -43
- package/radio-widget-ba8aba1a.js +0 -77
- package/share-field-8261f446.js +0 -694
- package/subMenu-widget-5a2148db.js +0 -16
- package/table-col-widget-cf1c896c.js +0 -20
- package/tabs-widget-b1aa3854.js +0 -68
- package/tree-select-widget-9921d5b2.js +0 -139
|
@@ -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-965ecb4e.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-3f856074.js";
|
|
5
|
+
import { b as I } from "./share-field-46cfb27c.js";
|
|
6
|
+
import { w as O } from "./expression-78a5f136.js";
|
|
7
|
+
import { D as P } from "./drag-wrapper-9194080d.js";
|
|
8
|
+
import { g as W } from "./slot-87815022.js";
|
|
9
9
|
import "./widget-base-4c2d6265.js";
|
|
10
|
-
import "./uuid-
|
|
11
|
-
import "./index-
|
|
12
|
-
import "./enum-type-
|
|
13
|
-
import "./baseImp-
|
|
10
|
+
import "./uuid-8f83f4bc.js";
|
|
11
|
+
import "./index-2b7ed19f.js";
|
|
12
|
+
import "./enum-type-0083e5e5.js";
|
|
13
|
+
import "./baseImp-6de567f5.js";
|
|
14
14
|
import "./icon-e9532b43.js";
|
|
15
|
-
import "./dialog-
|
|
15
|
+
import "./dialog-701b8c0a.js";
|
|
16
16
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
17
17
|
import "element-plus";
|
|
18
|
-
import "./index-
|
|
18
|
+
import "./index-22bda53a.js";
|
|
19
19
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
|
-
import "./fieldobj-
|
|
21
|
-
import "./multirow-
|
|
20
|
+
import "./fieldobj-079cc6a1.js";
|
|
21
|
+
import "./multirow-be69baf2.js";
|
|
22
22
|
const z = d({ componentName: O.FieldWidget }), pe = /* @__PURE__ */ d({
|
|
23
23
|
...z,
|
|
24
24
|
__name: "result-widget",
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { defineComponent as f, computed as d, shallowRef as j, onMounted as k, openBlock as a, createBlock as c, mergeProps as u, unref as e, withCtx as x, createElementVNode as H, normalizeClass as I, normalizeStyle as M, resolveDynamicComponent as W, isRef as q, toHandlers as z } from "vue";
|
|
2
|
-
import { b as B } from "./share-field-
|
|
2
|
+
import { b as B } from "./share-field-46cfb27c.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-f428a5b3.js";
|
|
5
|
+
import { w as R } from "./expression-78a5f136.js";
|
|
6
|
+
import { d as S, n as V } from "./enum-type-965ecb4e.js";
|
|
7
|
+
import "./multirow-be69baf2.js";
|
|
8
|
+
import "./baseImp-6de567f5.js";
|
|
9
|
+
import "./uuid-8f83f4bc.js";
|
|
10
|
+
import "./enum-type-0083e5e5.js";
|
|
11
11
|
import "./icon-e9532b43.js";
|
|
12
|
-
import "./dialog-
|
|
12
|
+
import "./dialog-701b8c0a.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./slot-
|
|
15
|
+
import "./index-2b7ed19f.js";
|
|
16
|
+
import "./slot-87815022.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-3f856074.js";
|
|
19
|
+
import "./index-22bda53a.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-079cc6a1.js";
|
|
22
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-406a5b48.js";
|
|
23
23
|
const $ = f({ componentName: R.FieldWidget }), de = /* @__PURE__ */ f({
|
|
24
24
|
...$,
|
|
25
25
|
__name: "rich-editor-widget",
|
|
26
26
|
props: { ...N },
|
|
27
27
|
setup(_, { expose: h }) {
|
|
28
|
-
const v = _, { fieldEditor: y, fieldKey: g, fieldModel: n, rules: E, events: r, getFieldOptions: p, exposed: w, fieldObj: C } = B(v),
|
|
28
|
+
const v = _, { fieldEditor: y, fieldKey: g, fieldModel: n, rules: E, events: r, getFieldOptions: p, exposed: w, fieldObj: C } = B(v), s = d(() => p("contentHeight")), m = j(), O = () => {
|
|
29
29
|
import("./index-2d29f8d3.js").then((t) => {
|
|
30
30
|
const { quillEditor: i } = t.default;
|
|
31
|
-
|
|
31
|
+
m.value = i;
|
|
32
32
|
});
|
|
33
33
|
}, b = S(V(r.value), {
|
|
34
34
|
change: (t) => {
|
|
@@ -54,7 +54,7 @@ const $ = f({ componentName: R.FieldWidget }), de = /* @__PURE__ */ f({
|
|
|
54
54
|
class: I(["full-height", o.injectClass]),
|
|
55
55
|
style: M(o.injectStyle)
|
|
56
56
|
}, [
|
|
57
|
-
(a(), c(W(e(
|
|
57
|
+
(a(), c(W(e(m)), u({
|
|
58
58
|
ref_key: "fieldEditor",
|
|
59
59
|
ref: y,
|
|
60
60
|
value: e(n),
|
|
@@ -62,7 +62,7 @@ const $ = f({ componentName: R.FieldWidget }), de = /* @__PURE__ */ f({
|
|
|
62
62
|
}, z(e(b)), {
|
|
63
63
|
key: e(g),
|
|
64
64
|
options: e(F),
|
|
65
|
-
style: e(
|
|
65
|
+
style: e(s) ? `height: ${e(s)}` : ""
|
|
66
66
|
}), null, 16, ["value", "options", "style"]))
|
|
67
67
|
], 6)
|
|
68
68
|
]),
|
|
@@ -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-46cfb27c.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-3f856074.js";
|
|
5
|
+
import { w as F } from "./expression-78a5f136.js";
|
|
6
|
+
import "./enum-type-965ecb4e.js";
|
|
7
|
+
import "./multirow-be69baf2.js";
|
|
8
|
+
import "./baseImp-6de567f5.js";
|
|
9
|
+
import "./uuid-8f83f4bc.js";
|
|
10
|
+
import "./enum-type-0083e5e5.js";
|
|
11
11
|
import "./icon-e9532b43.js";
|
|
12
|
-
import "./dialog-
|
|
12
|
+
import "./dialog-701b8c0a.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./slot-
|
|
15
|
+
import "./index-2b7ed19f.js";
|
|
16
|
+
import "./slot-87815022.js";
|
|
17
17
|
import "./widget-base-4c2d6265.js";
|
|
18
|
-
import "./index-
|
|
18
|
+
import "./index-22bda53a.js";
|
|
19
19
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
|
-
import "./fieldobj-
|
|
20
|
+
import "./fieldobj-079cc6a1.js";
|
|
21
21
|
const h = { key: 0 }, B = m({ componentName: F.FieldWidget }), Q = /* @__PURE__ */ m({
|
|
22
22
|
...B,
|
|
23
23
|
__name: "router-widget",
|
|
@@ -1,35 +1,55 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { a as D, g as
|
|
3
|
-
import { d as
|
|
4
|
-
import { k as le } from "./uuid-
|
|
5
|
-
import { b as
|
|
6
|
-
import { I as
|
|
7
|
-
import
|
|
8
|
-
import { c as
|
|
9
|
-
import { a as ae } from "./slot-
|
|
10
|
-
import "./enum-type-
|
|
1
|
+
import { defineComponent as te, ref as x, computed as Y, shallowRef as Z, watch as Ke, resolveComponent as N, openBlock as a, createBlock as s, mergeProps as C, unref as e, withCtx as v, isRef as G, toHandlers as ee, createElementBlock as k, createVNode as Ce, createTextVNode as Oe, toDisplayString as Ve, createCommentVNode as O, Fragment as b, renderList as A, resolveDynamicComponent as j } from "vue";
|
|
2
|
+
import { a as D, g as L } from "./enum-type-965ecb4e.js";
|
|
3
|
+
import { d as Me } from "./baseImp-6de567f5.js";
|
|
4
|
+
import { k as le } from "./uuid-8f83f4bc.js";
|
|
5
|
+
import { b as je } from "./share-field-46cfb27c.js";
|
|
6
|
+
import { I as we } from "./field-base-5547436d.js";
|
|
7
|
+
import Fe from "./form-item-wrapper-f428a5b3.js";
|
|
8
|
+
import { c as Ae, w as Ie } from "./expression-78a5f136.js";
|
|
9
|
+
import { a as ae } from "./slot-87815022.js";
|
|
10
|
+
import "./enum-type-0083e5e5.js";
|
|
11
11
|
import "./icon-e9532b43.js";
|
|
12
|
-
import "./dialog-
|
|
12
|
+
import "./dialog-701b8c0a.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./multirow-
|
|
16
|
-
import "./index-
|
|
15
|
+
import "./multirow-be69baf2.js";
|
|
16
|
+
import "./index-2b7ed19f.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-3f856074.js";
|
|
19
|
+
import "./index-22bda53a.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
-
import "./fieldobj-
|
|
22
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
23
|
-
const
|
|
21
|
+
import "./fieldobj-079cc6a1.js";
|
|
22
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-406a5b48.js";
|
|
23
|
+
const xe = {
|
|
24
24
|
key: 0,
|
|
25
25
|
class: "el-select-dropdown__item"
|
|
26
|
-
},
|
|
27
|
-
...
|
|
26
|
+
}, ze = te({ componentName: Ie.FieldWidget }), tl = /* @__PURE__ */ te({
|
|
27
|
+
...ze,
|
|
28
28
|
__name: "select-widget",
|
|
29
|
-
props: { ...
|
|
30
|
-
setup(
|
|
31
|
-
const ne =
|
|
32
|
-
|
|
29
|
+
props: { ...we },
|
|
30
|
+
setup(re, { expose: ue }) {
|
|
31
|
+
const ne = re, {
|
|
32
|
+
fieldEditor: T,
|
|
33
|
+
fieldKey: U,
|
|
34
|
+
fieldModel: m,
|
|
35
|
+
objFieldModel: oe,
|
|
36
|
+
rules: se,
|
|
37
|
+
attrs: h,
|
|
38
|
+
extendAttrs: t,
|
|
39
|
+
events: W,
|
|
40
|
+
slots: de,
|
|
41
|
+
exposed: ie,
|
|
42
|
+
fieldObj: ve,
|
|
43
|
+
getFieldOptions: ce,
|
|
44
|
+
getWidgetOption: $,
|
|
45
|
+
getCheckedItems: Ne,
|
|
46
|
+
getCheckedOptionItems: fe,
|
|
47
|
+
getCheckedOptionLabels: ye,
|
|
48
|
+
getCheckedOptionValues: me,
|
|
49
|
+
getCheckedOptionText: he,
|
|
50
|
+
watchOption: pe
|
|
51
|
+
} = je(ne), w = x(), F = x(), ke = x(!1);
|
|
52
|
+
pe(!0, Ae.optionItems, void 0, (l) => {
|
|
33
53
|
F.value = l, w.value = l;
|
|
34
54
|
});
|
|
35
55
|
const E = Y({
|
|
@@ -42,87 +62,93 @@ const Fe = {
|
|
|
42
62
|
set: (l) => {
|
|
43
63
|
m.value = l;
|
|
44
64
|
}
|
|
45
|
-
}),
|
|
46
|
-
let c = Z(),
|
|
47
|
-
|
|
48
|
-
var
|
|
49
|
-
c.value = (
|
|
65
|
+
}), z = x(!1);
|
|
66
|
+
let c = Z(), I = Z();
|
|
67
|
+
Ke(de, (l) => {
|
|
68
|
+
var r, o;
|
|
69
|
+
c.value = (r = ae(l, "optionDefault")) == null ? void 0 : r.default, I.value = (o = ae(l, "prefix")) == null ? void 0 : o.default;
|
|
50
70
|
}, { immediate: !0 });
|
|
51
|
-
var S =
|
|
52
|
-
const
|
|
71
|
+
var S = $("filterMethod");
|
|
72
|
+
const ge = (l, r) => {
|
|
53
73
|
var f;
|
|
54
74
|
if (S) {
|
|
55
75
|
var o = (f = F.value) == null ? void 0 : f.filter((d) => {
|
|
56
76
|
var p, y;
|
|
57
|
-
var V =
|
|
77
|
+
var V = Me(S, { keyword: l, option: { ...d, label: d == null ? void 0 : d[(p = t.value) == null ? void 0 : p.labelKey], value: d == null ? void 0 : d[(y = t.value) == null ? void 0 : y.valueKey] } });
|
|
58
78
|
return V;
|
|
59
79
|
});
|
|
60
|
-
|
|
80
|
+
r && r(o);
|
|
61
81
|
}
|
|
62
82
|
};
|
|
63
83
|
S && Object.assign(h.value, { filterMethod: (l) => {
|
|
64
|
-
|
|
84
|
+
H(l, ge);
|
|
65
85
|
} });
|
|
66
|
-
var
|
|
67
|
-
const
|
|
68
|
-
|
|
69
|
-
w.value = o,
|
|
86
|
+
var R = $("remoteMethod");
|
|
87
|
+
const H = (l, r) => {
|
|
88
|
+
r && (ke.value = !0, l ? (z.value = !0, r(l, (o) => {
|
|
89
|
+
w.value = o, z.value = !1;
|
|
70
90
|
})) : w.value = F.value);
|
|
71
91
|
};
|
|
72
|
-
|
|
73
|
-
|
|
92
|
+
R && Object.assign(h.value, { remoteMethod: (l) => {
|
|
93
|
+
H(l, R);
|
|
74
94
|
} });
|
|
75
95
|
const q = () => {
|
|
76
|
-
var
|
|
96
|
+
var r;
|
|
77
97
|
var l = ce("valueKey");
|
|
78
|
-
return l ? (
|
|
98
|
+
return l ? (r = F == null ? void 0 : F.value) == null ? void 0 : r.map((o) => o == null ? void 0 : o[l]) : [];
|
|
79
99
|
};
|
|
80
|
-
var
|
|
100
|
+
var _e = () => {
|
|
81
101
|
if (!m.value)
|
|
82
102
|
return !1;
|
|
83
103
|
if (!Array.isArray(m.value))
|
|
84
104
|
return !0;
|
|
85
105
|
var l = q();
|
|
86
|
-
return !(l != null && l.some((
|
|
106
|
+
return !(l != null && l.some((r) => {
|
|
87
107
|
var o;
|
|
88
|
-
return ((o = m.value) == null ? void 0 : o.indexOf(
|
|
108
|
+
return ((o = m.value) == null ? void 0 : o.indexOf(r)) === -1;
|
|
89
109
|
}));
|
|
90
110
|
};
|
|
91
|
-
const J =
|
|
111
|
+
const J = x(_e()), be = (l) => {
|
|
92
112
|
l ? m.value = q() : m.value = [];
|
|
93
113
|
}, Q = (l) => {
|
|
94
114
|
var n, M;
|
|
95
|
-
const
|
|
96
|
-
if (!((n = h == null ? void 0 : h.value) != null && n.multiple) || !((M =
|
|
115
|
+
const r = L(l);
|
|
116
|
+
if (!((n = h == null ? void 0 : h.value) != null && n.multiple) || !((M = t == null ? void 0 : t.value) != null && M.selectOnlyOneGroup) || (r == null ? void 0 : r.length) <= 0)
|
|
97
117
|
return !0;
|
|
98
|
-
for (var o = "", f = [], d =
|
|
99
|
-
const g =
|
|
118
|
+
for (var o = "", f = [], d = L(w.value), V = r.length - 1; V >= 0; V--) {
|
|
119
|
+
const g = r[V];
|
|
100
120
|
var p = d == null ? void 0 : d.some((u) => g === (u == null ? void 0 : u.value));
|
|
101
121
|
p && f.push(g);
|
|
102
122
|
var y = d == null ? void 0 : d.find((u) => {
|
|
103
123
|
var i;
|
|
104
|
-
return (i =
|
|
124
|
+
return (i = L(u == null ? void 0 : u.children)) == null ? void 0 : i.some((_) => g === (_ == null ? void 0 : _.value));
|
|
105
125
|
});
|
|
106
126
|
(y && (y == null ? void 0 : y.value) === o || !o) && (f.push(g), o || (o = y == null ? void 0 : y.value));
|
|
107
127
|
}
|
|
108
128
|
m.value = f;
|
|
109
129
|
};
|
|
110
|
-
return ue({
|
|
111
|
-
|
|
112
|
-
|
|
130
|
+
return ue({
|
|
131
|
+
...ie,
|
|
132
|
+
getCheckedItems: fe,
|
|
133
|
+
getCheckedLabels: ye,
|
|
134
|
+
getCheckedValues: me,
|
|
135
|
+
getCheckedText: he
|
|
136
|
+
}), (l, r) => {
|
|
137
|
+
const o = N("el-checkbox"), f = N("el-option"), d = N("el-option-group"), V = N("el-select");
|
|
138
|
+
return a(), s(Fe, C(l.$props, {
|
|
113
139
|
propOptions: { fieldObj: e(ve), rules: e(se) }
|
|
114
140
|
}), {
|
|
115
141
|
default: v(({ data: p }) => {
|
|
116
142
|
var y;
|
|
117
143
|
return [
|
|
118
|
-
(y = e(h)) != null && y.multiple ? (a(), s(V,
|
|
144
|
+
(y = e(h)) != null && y.multiple ? (a(), s(V, C({
|
|
119
145
|
ref_key: "fieldEditor",
|
|
120
|
-
ref:
|
|
146
|
+
ref: T,
|
|
121
147
|
modelValue: e(P),
|
|
122
|
-
"onUpdate:modelValue":
|
|
123
|
-
key: `${e(
|
|
124
|
-
}, e(h), ee(e(
|
|
125
|
-
loading:
|
|
148
|
+
"onUpdate:modelValue": r[1] || (r[1] = (n) => G(P) ? P.value = n : null),
|
|
149
|
+
key: `${e(U)}_multiple`
|
|
150
|
+
}, e(h), ee(e(W)), {
|
|
151
|
+
loading: z.value,
|
|
126
152
|
size: p.size,
|
|
127
153
|
class: p.injectClass,
|
|
128
154
|
style: p.injectStyle,
|
|
@@ -132,65 +158,65 @@ const Fe = {
|
|
|
132
158
|
default: v(() => {
|
|
133
159
|
var n, M, g;
|
|
134
160
|
return [
|
|
135
|
-
e(h).multiple && !e(
|
|
136
|
-
|
|
161
|
+
e(h).multiple && !e(t).selectOnlyOneGroup ? (a(), k("li", xe, [
|
|
162
|
+
Ce(o, {
|
|
137
163
|
modelValue: J.value,
|
|
138
|
-
"onUpdate:modelValue":
|
|
164
|
+
"onUpdate:modelValue": r[0] || (r[0] = (u) => J.value = u),
|
|
139
165
|
indeterminate: ((n = e(m)) == null ? void 0 : n.length) < (((M = w.value) == null ? void 0 : M.length) || 0) && ((g = e(m)) == null ? void 0 : g.length) !== 0,
|
|
140
|
-
onChange:
|
|
166
|
+
onChange: be
|
|
141
167
|
}, {
|
|
142
168
|
default: v(() => [
|
|
143
|
-
|
|
169
|
+
Oe(Ve(e(D).i18nt("designer.hint.checkAll")), 1)
|
|
144
170
|
]),
|
|
145
171
|
_: 1
|
|
146
172
|
}, 8, ["modelValue", "indeterminate"])
|
|
147
|
-
])) :
|
|
173
|
+
])) : O("", !0),
|
|
148
174
|
(a(!0), k(b, null, A(w.value, (u, i) => {
|
|
149
175
|
var _, X;
|
|
150
176
|
return a(), k(b, {
|
|
151
177
|
key: u.value
|
|
152
178
|
}, [
|
|
153
179
|
((_ = u == null ? void 0 : u.children) == null ? void 0 : _.length) > 0 ? (a(), k(b, { key: 0 }, [
|
|
154
|
-
(X = e(
|
|
155
|
-
label: u[e(
|
|
180
|
+
(X = e(t)) != null && X.showGroup ? (a(), s(d, {
|
|
181
|
+
label: u[e(t).labelKey],
|
|
156
182
|
key: i
|
|
157
183
|
}, {
|
|
158
184
|
default: v(() => [
|
|
159
185
|
(a(!0), k(b, null, A(u.children, (K, B) => (a(), s(f, {
|
|
160
|
-
value: K[e(
|
|
161
|
-
label: K[e(
|
|
186
|
+
value: K[e(t).valueKey],
|
|
187
|
+
label: K[e(t).labelKey],
|
|
162
188
|
key: B
|
|
163
189
|
}, {
|
|
164
190
|
default: v(() => [
|
|
165
|
-
e(c) ? (a(), s(j(e(c)),
|
|
166
|
-
key: K[e(
|
|
167
|
-
}), null, 16)) :
|
|
191
|
+
e(c) ? (a(), s(j(e(c)), C({ key: 0 }, { item: K }, {
|
|
192
|
+
key: K[e(t).valueKey]
|
|
193
|
+
}), null, 16)) : O("", !0)
|
|
168
194
|
]),
|
|
169
195
|
_: 2
|
|
170
196
|
}, 1032, ["value", "label"]))), 128))
|
|
171
197
|
]),
|
|
172
198
|
_: 2
|
|
173
199
|
}, 1032, ["label"])) : (a(!0), k(b, { key: 1 }, A(u.children, (K, B) => (a(), s(f, {
|
|
174
|
-
value: K[e(
|
|
175
|
-
label: K[e(
|
|
200
|
+
value: K[e(t).valueKey],
|
|
201
|
+
label: K[e(t).labelKey],
|
|
176
202
|
key: B
|
|
177
203
|
}, {
|
|
178
204
|
default: v(() => [
|
|
179
|
-
e(c) ? (a(), s(j(e(c)),
|
|
180
|
-
key: K[e(
|
|
181
|
-
}), null, 16)) :
|
|
205
|
+
e(c) ? (a(), s(j(e(c)), C({ key: 0 }, { item: K }, {
|
|
206
|
+
key: K[e(t).valueKey]
|
|
207
|
+
}), null, 16)) : O("", !0)
|
|
182
208
|
]),
|
|
183
209
|
_: 2
|
|
184
210
|
}, 1032, ["value", "label"]))), 128))
|
|
185
211
|
], 64)) : (a(), s(f, {
|
|
186
|
-
value: u[e(
|
|
187
|
-
label: u[e(
|
|
212
|
+
value: u[e(t).valueKey],
|
|
213
|
+
label: u[e(t).labelKey],
|
|
188
214
|
key: i
|
|
189
215
|
}, {
|
|
190
216
|
default: v(() => [
|
|
191
|
-
e(c) ? (a(), s(j(e(c)),
|
|
192
|
-
key: u[e(
|
|
193
|
-
}), null, 16)) :
|
|
217
|
+
e(c) ? (a(), s(j(e(c)), C({ key: 0 }, { item: u }, {
|
|
218
|
+
key: u[e(t).valueKey]
|
|
219
|
+
}), null, 16)) : O("", !0)
|
|
194
220
|
]),
|
|
195
221
|
_: 2
|
|
196
222
|
}, 1032, ["value", "label"]))
|
|
@@ -199,17 +225,17 @@ const Fe = {
|
|
|
199
225
|
];
|
|
200
226
|
}),
|
|
201
227
|
prefix: v(() => [
|
|
202
|
-
e(
|
|
228
|
+
e(I) ? (a(), s(j(e(I)), { key: 0 })) : O("", !0)
|
|
203
229
|
]),
|
|
204
230
|
_: 2
|
|
205
|
-
}, 1040, ["modelValue", "loading", "size", "class", "style", "placeholder"])) : (a(), s(V,
|
|
231
|
+
}, 1040, ["modelValue", "loading", "size", "class", "style", "placeholder"])) : (a(), s(V, C({
|
|
206
232
|
ref_key: "fieldEditor",
|
|
207
|
-
ref:
|
|
233
|
+
ref: T,
|
|
208
234
|
modelValue: e(E),
|
|
209
|
-
"onUpdate:modelValue":
|
|
210
|
-
key: `${e(
|
|
211
|
-
}, e(h), ee(e(
|
|
212
|
-
loading:
|
|
235
|
+
"onUpdate:modelValue": r[2] || (r[2] = (n) => G(E) ? E.value = n : null),
|
|
236
|
+
key: `${e(U)}_single`
|
|
237
|
+
}, e(h), ee(e(W)), {
|
|
238
|
+
loading: z.value,
|
|
213
239
|
size: p.size,
|
|
214
240
|
class: p.injectClass,
|
|
215
241
|
style: p.injectStyle,
|
|
@@ -223,46 +249,46 @@ const Fe = {
|
|
|
223
249
|
key: n.value
|
|
224
250
|
}, [
|
|
225
251
|
((g = n == null ? void 0 : n.children) == null ? void 0 : g.length) > 0 ? (a(), k(b, { key: 0 }, [
|
|
226
|
-
(u = e(
|
|
227
|
-
label: n[e(
|
|
252
|
+
(u = e(t)) != null && u.showGroup ? (a(), s(d, {
|
|
253
|
+
label: n[e(t).labelKey],
|
|
228
254
|
key: M
|
|
229
255
|
}, {
|
|
230
256
|
default: v(() => [
|
|
231
257
|
(a(!0), k(b, null, A(n.children, (i, _) => (a(), s(f, {
|
|
232
|
-
value: i[e(
|
|
233
|
-
label: i[e(
|
|
258
|
+
value: i[e(t).valueKey],
|
|
259
|
+
label: i[e(t).labelKey],
|
|
234
260
|
key: _
|
|
235
261
|
}, {
|
|
236
262
|
default: v(() => [
|
|
237
|
-
e(c) ? (a(), s(j(e(c)),
|
|
238
|
-
key: i[e(
|
|
239
|
-
}), null, 16)) :
|
|
263
|
+
e(c) ? (a(), s(j(e(c)), C({ key: 0 }, { item: i }, {
|
|
264
|
+
key: i[e(t).valueKey]
|
|
265
|
+
}), null, 16)) : O("", !0)
|
|
240
266
|
]),
|
|
241
267
|
_: 2
|
|
242
268
|
}, 1032, ["value", "label"]))), 128))
|
|
243
269
|
]),
|
|
244
270
|
_: 2
|
|
245
271
|
}, 1032, ["label"])) : (a(!0), k(b, { key: 1 }, A(n.children, (i, _) => (a(), s(f, {
|
|
246
|
-
value: i[e(
|
|
247
|
-
label: i[e(
|
|
272
|
+
value: i[e(t).valueKey],
|
|
273
|
+
label: i[e(t).labelKey],
|
|
248
274
|
key: _
|
|
249
275
|
}, {
|
|
250
276
|
default: v(() => [
|
|
251
|
-
e(c) ? (a(), s(j(e(c)),
|
|
252
|
-
key: i[e(
|
|
253
|
-
}), null, 16)) :
|
|
277
|
+
e(c) ? (a(), s(j(e(c)), C({ key: 0 }, { item: i }, {
|
|
278
|
+
key: i[e(t).valueKey]
|
|
279
|
+
}), null, 16)) : O("", !0)
|
|
254
280
|
]),
|
|
255
281
|
_: 2
|
|
256
282
|
}, 1032, ["value", "label"]))), 128))
|
|
257
283
|
], 64)) : (a(), s(f, {
|
|
258
|
-
value: n[e(
|
|
259
|
-
label: n[e(
|
|
284
|
+
value: n[e(t).valueKey],
|
|
285
|
+
label: n[e(t).labelKey],
|
|
260
286
|
key: M
|
|
261
287
|
}, {
|
|
262
288
|
default: v(() => [
|
|
263
|
-
e(c) ? (a(), s(j(e(c)),
|
|
264
|
-
key: n[e(
|
|
265
|
-
}), null, 16)) :
|
|
289
|
+
e(c) ? (a(), s(j(e(c)), C({ key: 0 }, { item: n }, {
|
|
290
|
+
key: n[e(t).valueKey]
|
|
291
|
+
}), null, 16)) : O("", !0)
|
|
266
292
|
]),
|
|
267
293
|
_: 2
|
|
268
294
|
}, 1032, ["value", "label"]))
|
|
@@ -270,7 +296,7 @@ const Fe = {
|
|
|
270
296
|
}), 128))
|
|
271
297
|
]),
|
|
272
298
|
prefix: v(() => [
|
|
273
|
-
e(
|
|
299
|
+
e(I) ? (a(), s(j(e(I)), { key: 0 })) : O("", !0)
|
|
274
300
|
]),
|
|
275
301
|
_: 2
|
|
276
302
|
}, 1040, ["modelValue", "loading", "size", "class", "style", "placeholder"]))
|
|
@@ -282,5 +308,5 @@ const Fe = {
|
|
|
282
308
|
}
|
|
283
309
|
});
|
|
284
310
|
export {
|
|
285
|
-
|
|
311
|
+
tl as default
|
|
286
312
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
var Me = Object.defineProperty;
|
|
2
2
|
var We = (t, i, s) => i in t ? Me(t, i, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[i] = s;
|
|
3
3
|
var Y = (t, i, s) => (We(t, typeof i != "symbol" ? i + "" : i, s), s);
|
|
4
|
-
import { d as I, t as H, o as _t, J as Ke,
|
|
5
|
-
import { B as w, P as B, F as Fe,
|
|
6
|
-
import { d as E, e as He, H as Ht, f as Jt, aa as Je } from "./enum-type-
|
|
7
|
-
import { c as Mt } from "./uuid-
|
|
8
|
-
import { t as Ye, l as Te, m as Ee } from "./index-
|
|
9
|
-
import { c as J, o as F, k as rt, q as ke } from "./expression-
|
|
10
|
-
import { a as Re } from "./slot-
|
|
4
|
+
import { d as I, t as H, o as _t, J as Ke, l as Bt, K as Ue, L as q, f as ze, M as qe, n as Oe, e as Ve } from "./enum-type-965ecb4e.js";
|
|
5
|
+
import { B as w, P as B, F as Fe, z as Xe, A as Ge, b as mt, C as Qe } from "./baseImp-6de567f5.js";
|
|
6
|
+
import { d as E, e as He, H as Ht, f as Jt, aa as Je } from "./enum-type-0083e5e5.js";
|
|
7
|
+
import { c as Mt } from "./uuid-8f83f4bc.js";
|
|
8
|
+
import { t as Ye, l as Te, m as Ee } from "./index-2b7ed19f.js";
|
|
9
|
+
import { c as J, o as F, k as rt, q as ke } from "./expression-78a5f136.js";
|
|
10
|
+
import { a as Re } from "./slot-87815022.js";
|
|
11
11
|
import "./icon-e9532b43.js";
|
|
12
12
|
import "vue";
|
|
13
|
-
import "./dialog-
|
|
13
|
+
import "./dialog-701b8c0a.js";
|
|
14
14
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
15
|
import "element-plus";
|
|
16
16
|
const Ze = (t) => {
|