hlrender 0.0.121 → 0.0.123
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/{_pdf-8de6f4c9.js → _pdf-cc80a3b4.js} +4 -4
- package/{_txt-b4d1870d.js → _txt-bd0fdea2.js} +4 -4
- package/{affix-widget-9ae6e212.js → affix-widget-38f0657f.js} +3 -3
- package/{alert-widget-2aa1d72c.js → alert-widget-19375218.js} +3 -3
- package/{anchor-widget-a9328cd1.js → anchor-widget-20486398.js} +1 -1
- package/{auto-complete-widget-ae03bf9e.js → auto-complete-widget-8d9b0366.js} +2 -2
- package/{avatar-widget-11fdcef6.js → avatar-widget-cdaaf8d7.js} +3 -3
- package/{backtop-widget-5a6c9032.js → backtop-widget-2d35221c.js} +3 -3
- package/{badge-widget-30cf7f28.js → badge-widget-accfc05e.js} +3 -3
- package/{breadcrumb-widget-57acc2c2.js → breadcrumb-widget-fe1866c2.js} +1 -1
- package/{button-widget-aa961245.js → button-widget-82c73af8.js} +3 -3
- package/{cache-widget-681c2328.js → cache-widget-cf16e8ae.js} +1 -1
- package/{card-widget-cd88253d.js → card-widget-b35f9fca.js} +2 -2
- package/{carousel-widget-c754320f.js → carousel-widget-f195942b.js} +1 -1
- package/{cascader-widget-94aa4f85.js → cascader-widget-43250ea8.js} +1 -1
- package/{chart-widget-f8454126.js → chart-widget-836ff29c.js} +1 -1
- package/{checkbox-widget-44160821.js → checkbox-widget-07860ab1.js} +1 -1
- package/{collapse-widget-a2b8f8f9.js → collapse-widget-cb1baad2.js} +1 -1
- package/{color-picker-widget-6ff88d6b.js → color-picker-widget-cee54c2c.js} +1 -1
- package/{cont-cell-widget-8ae06ec3.js → cont-cell-widget-d0c74446.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-f4a1e0e8.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-303d2dd0.js} +2 -2
- package/{cont-widget-970c6ea4.js → cont-widget-b68edb88.js} +2 -2
- package/{date-picker-range-widget-4e1f8a5e.js → date-picker-range-widget-321a67d7.js} +1 -1
- package/{date-picker-widget-a6ea53de.js → date-picker-widget-65a0b10b.js} +1 -1
- package/{default-slot-widget-b9cc78cc.js → default-slot-widget-0fafdc41.js} +2 -2
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-8764a711.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-f0060b20.js} +1 -1
- package/{descriptions-widget-28bb0c5a.js → descriptions-widget-d65747f5.js} +2 -2
- package/{dialog-widget-98d61b2e.js → dialog-widget-0c2d2ab2.js} +3 -3
- package/{divider-widget-6b8e1284.js → divider-widget-d4d0724d.js} +3 -3
- package/{drag-wrapper-a6c1a7d6.js → drag-wrapper-86bca90e.js} +1 -1
- package/{drawer-widget-aa9ca980.js → drawer-widget-41eebe66.js} +3 -3
- package/{dropdown-widget-cfe756a0.js → dropdown-widget-ec9ee526.js} +2 -2
- package/{empty-widget-a166c71b.js → empty-widget-873470e7.js} +3 -3
- package/{feedback-widget-50c55f47.js → feedback-widget-27aa233b.js} +3 -3
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-217c5495.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-340e127a.js} +2 -2
- package/{file-upload-widget-aa3e5e11.js → file-upload-widget-031fefc9.js} +4 -4
- package/{form-widget-96845b9d.js → form-widget-c500f1b8.js} +2 -2
- package/{grid-col-widget-793d0fac.js → grid-col-widget-838182af.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-e400d3b0.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-313261f3.js} +2 -2
- package/{grid-widget-bd412333.js → grid-widget-f4af2c04.js} +2 -2
- package/{html-text-widget-214c4b2a.js → html-text-widget-33068ac8.js} +1 -1
- package/{icon-widget-8ed6caf5.js → icon-widget-65db072d.js} +1 -1
- package/{iframe-widget-483738f9.js → iframe-widget-ae58e889.js} +1 -1
- package/{image-widget-e19d3064.js → image-widget-faed455c.js} +1 -1
- package/{input-number-widget-08cde096.js → input-number-widget-5641931b.js} +1 -1
- package/{input-widget-80e4e5df.js → input-widget-c07229ae.js} +2 -2
- package/{link-widget-c2385346.js → link-widget-89c10909.js} +3 -3
- package/{ltable-col-widget-10ddd757.js → ltable-col-widget-60937ef2.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-3b62249c.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-0c3fc796.js} +2 -2
- package/{ltable-widget-ddd8a70d.js → ltable-widget-23c97e4f.js} +2 -2
- package/{menu-widget-ba66de4a.js → menu-widget-a16439d8.js} +1 -1
- package/{model-widget-40268865.js → model-widget-324ba453.js} +1 -1
- package/{multirow-widget-af15a355.js → multirow-widget-2e135e26.js} +2 -2
- package/package.json +2 -2
- package/{pagination-widget-3f832ac9.js → pagination-widget-3230910c.js} +1 -1
- package/{picture-upload-widget-a673958c.js → picture-upload-widget-01519be9.js} +2 -2
- package/{progress-widget-f6eec54c.js → progress-widget-43487b83.js} +2 -2
- package/{radio-widget-15eb2159.js → radio-widget-7aea0588.js} +1 -1
- package/{range-widget-6bbd6078.js → range-widget-9b7df65e.js} +2 -2
- package/{rate-widget-8286721a.js → rate-widget-fb3f0360.js} +1 -1
- package/render.es.js +17 -17
- package/render.umd.js +76 -76
- package/{result-widget-1ca8b82d.js → result-widget-34d2b58d.js} +2 -2
- package/{rich-editor-widget-04c813d6.js → rich-editor-widget-d3440aaa.js} +1 -1
- package/{router-widget-af7c37fa.js → router-widget-44dc4ec5.js} +1 -1
- package/{select-widget-9bf0e700.js → select-widget-e80f6fb8.js} +1 -1
- package/sfcview-8ce73f59.js +135 -0
- package/{share-field-27676b90.js → share-field-d598d814.js} +56 -56
- package/{share-file-890add80.js → share-file-35cad4bd.js} +1 -1
- package/{slider-widget-7a68eb99.js → slider-widget-353949a4.js} +1 -1
- package/{static-text-widget-68efa0d7.js → static-text-widget-e7c712da.js} +1 -1
- package/{steps-widget-868b90ad.js → steps-widget-ce1024da.js} +1 -1
- package/{switch-widget-05670677.js → switch-widget-d7b409da.js} +1 -1
- package/{tab-pane-widget-3602577c.js → tab-pane-widget-058a8d9b.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-e9632c6e.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-4383c7db.js} +2 -2
- package/{table-col-widget-40e21668.js → table-col-widget-d6857fbf.js} +2 -2
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-295952ab.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-bfc1ddc1.js} +1 -1
- package/{table-widget-9ccbd481.js → table-widget-03455b58.js} +3 -3
- package/{tabs-widget-ca214bdf.js → tabs-widget-a64097a5.js} +2 -2
- package/{tag-widget-d4c8c9b3.js → tag-widget-9c6bb893.js} +3 -3
- package/{text-widget-f6c2ac42.js → text-widget-64296e91.js} +3 -3
- package/{textarea-widget-220d7fd3.js → textarea-widget-1346a7a9.js} +1 -1
- package/{time-picker-range-widget-3d405a42.js → time-picker-range-widget-f681a101.js} +1 -1
- package/{time-picker-widget-4b8a9822.js → time-picker-widget-211680a3.js} +1 -1
- package/{time-select-widget-b1a5c072.js → time-select-widget-a65366c5.js} +1 -1
- package/{tmpl-widget-306ef647.js → tmpl-widget-87acb977.js} +2 -2
- package/{tree-select-widget-be605b79.js → tree-select-widget-f0b4133c.js} +1 -1
- package/{tree-widget-129df4d3.js → tree-widget-6dd9bb03.js} +1 -1
- package/{wrapper-widget-f7c854c1.js → wrapper-widget-70ed8b2f.js} +2 -2
- package/sfcview-a060c8f0.js +0 -135
|
@@ -2,9 +2,9 @@ import { defineComponent as y, computed as _, ref as L, resolveComponent as R, r
|
|
|
2
2
|
import { c as n, k as Q } from "./enum-type-4a798b1a.js";
|
|
3
3
|
import { g as X, w as Y } from "./expression-490b4335.js";
|
|
4
4
|
import { I as Z } from "./widget-base-4c2d6265.js";
|
|
5
|
-
import { b as ee } from "./share-field-
|
|
5
|
+
import { b as ee } from "./share-field-d598d814.js";
|
|
6
6
|
import { _ as te } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-efde8c90.js";
|
|
7
|
-
import { _ as ae } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-
|
|
7
|
+
import { _ as ae } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-4383c7db.js";
|
|
8
8
|
import { u as oe } from "./index-a7d766e7.js";
|
|
9
9
|
import { B as T } from "./baseImp-26b9c04a.js";
|
|
10
10
|
const se = y({ componentName: Y.ContainerWidget }), ne = /* @__PURE__ */ y({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as s, createBlock as n, mergeProps as a, unref as f } from "vue";
|
|
2
2
|
import { I as l } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-
|
|
3
|
+
import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-f0060b20.js";
|
|
4
4
|
import { w as d } from "./expression-490b4335.js";
|
|
5
|
-
import { b as _ } from "./share-field-
|
|
5
|
+
import { b as _ } from "./share-field-d598d814.js";
|
|
6
6
|
import "./widget-base-4c2d6265.js";
|
|
7
7
|
import "./enum-type-4a798b1a.js";
|
|
8
8
|
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-efde8c90.js";
|
|
@@ -19,7 +19,7 @@ import "./_plugin-vue_export-helper-dad06003.js";
|
|
|
19
19
|
import "./fieldobj-a9f1231d.js";
|
|
20
20
|
import "./slot-f8eef9e1.js";
|
|
21
21
|
import "./content-wrapper.vue_vue_type_script_setup_true_lang-2b440b0c.js";
|
|
22
|
-
import "./drag-wrapper-
|
|
22
|
+
import "./drag-wrapper-86bca90e.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
25
|
import "./multirow-35c0f8c0.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as s, createBlock as n, mergeProps as a, unref as f } from "vue";
|
|
2
2
|
import { I as l } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-
|
|
3
|
+
import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-f0060b20.js";
|
|
4
4
|
import { w as d } from "./expression-490b4335.js";
|
|
5
|
-
import { b as _ } from "./share-field-
|
|
5
|
+
import { b as _ } from "./share-field-d598d814.js";
|
|
6
6
|
import "./widget-base-4c2d6265.js";
|
|
7
7
|
import "./enum-type-4a798b1a.js";
|
|
8
8
|
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-efde8c90.js";
|
|
@@ -19,7 +19,7 @@ import "./_plugin-vue_export-helper-dad06003.js";
|
|
|
19
19
|
import "./fieldobj-a9f1231d.js";
|
|
20
20
|
import "./slot-f8eef9e1.js";
|
|
21
21
|
import "./content-wrapper.vue_vue_type_script_setup_true_lang-2b440b0c.js";
|
|
22
|
-
import "./drag-wrapper-
|
|
22
|
+
import "./drag-wrapper-86bca90e.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
25
|
import "./multirow-35c0f8c0.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as l, resolveComponent as w, openBlock as p, createBlock as i, mergeProps as m, unref as e, withCtx as C, isRef as F, toHandlers as O } from "vue";
|
|
2
|
-
import { b as V } from "./share-field-
|
|
2
|
+
import { b as V } from "./share-field-d598d814.js";
|
|
3
3
|
import { I as b } from "./field-base-5547436d.js";
|
|
4
4
|
import v from "./form-item-wrapper-888c1256.js";
|
|
5
5
|
import { w as I } from "./expression-490b4335.js";
|
|
@@ -2,7 +2,7 @@ import { defineComponent as _, computed as x, resolveComponent as z, openBlock a
|
|
|
2
2
|
import { a as B, f as E, n as M, e as f, c as s } from "./enum-type-4a798b1a.js";
|
|
3
3
|
import { b as m, d as n } from "./uuid-4999945f.js";
|
|
4
4
|
import { I as S } from "./field-base-5547436d.js";
|
|
5
|
-
import { b as W } from "./share-field-
|
|
5
|
+
import { b as W } from "./share-field-d598d814.js";
|
|
6
6
|
import D from "./form-item-wrapper-888c1256.js";
|
|
7
7
|
import { w as H } from "./expression-490b4335.js";
|
|
8
8
|
import "./widget-base-4c2d6265.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as a, resolveComponent as C, openBlock as p, createBlock as m, mergeProps as s, unref as e, withCtx as F, isRef as O, toHandlers as b } from "vue";
|
|
2
2
|
import { e as x, c as z } from "./enum-type-4a798b1a.js";
|
|
3
|
-
import { b as I } from "./share-field-
|
|
3
|
+
import { b as I } from "./share-field-d598d814.js";
|
|
4
4
|
import { I as K } from "./field-base-5547436d.js";
|
|
5
5
|
import P from "./form-item-wrapper-888c1256.js";
|
|
6
6
|
import { w as B } from "./expression-490b4335.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as s, resolveComponent as w, openBlock as p, createBlock as l, mergeProps as m, unref as e, withCtx as C, isRef as F, toHandlers as O } from "vue";
|
|
2
2
|
import { e as V } from "./enum-type-4a798b1a.js";
|
|
3
|
-
import { b } from "./share-field-
|
|
3
|
+
import { b } from "./share-field-d598d814.js";
|
|
4
4
|
import { I as v } from "./field-base-5547436d.js";
|
|
5
5
|
import x from "./form-item-wrapper-888c1256.js";
|
|
6
6
|
import { w as z } from "./expression-490b4335.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as F, computed as I, ref as T, onMounted as j, resolveDirective as L, openBlock as a, createBlock as d, mergeProps as u, unref as t, withCtx as M, createElementBlock as n, Fragment as c, withDirectives as P, renderList as R, createTextVNode as z, toDisplayString as A } from "vue";
|
|
2
2
|
import { e as E, t as J, f as q } from "./enum-type-4a798b1a.js";
|
|
3
3
|
import { I as G } from "./widget-base-4c2d6265.js";
|
|
4
|
-
import { b as H } from "./share-field-
|
|
4
|
+
import { b as H } from "./share-field-d598d814.js";
|
|
5
5
|
import { _ as K } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-efde8c90.js";
|
|
6
|
-
import { D as v } from "./drag-wrapper-
|
|
6
|
+
import { D as v } from "./drag-wrapper-86bca90e.js";
|
|
7
7
|
import { i as Q, a as U } from "./slot-f8eef9e1.js";
|
|
8
8
|
import { c as X } from "./multirow-35c0f8c0.js";
|
|
9
9
|
import { g as Y } from "./expression-490b4335.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as T, computed as s, resolveComponent as ee, openBlock as d, createBlock as p, mergeProps as j, unref as e, withCtx as a, isRef as W, toHandlers as A, createSlots as B, resolveDynamicComponent as i, createCommentVNode as g } from "vue";
|
|
2
2
|
import { s as f, t as D } from "./enum-type-4a798b1a.js";
|
|
3
3
|
import { I as te } from "./field-base-5547436d.js";
|
|
4
|
-
import { b as oe } from "./share-field-
|
|
4
|
+
import { b as oe } from "./share-field-d598d814.js";
|
|
5
5
|
import re from "./form-item-wrapper-888c1256.js";
|
|
6
6
|
import { g as y, w as le } from "./expression-490b4335.js";
|
|
7
7
|
import "./widget-base-4c2d6265.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as h, computed as s, resolveComponent as $, openBlock as u, createBlock as f, mergeProps as x, unref as t, withCtx as K, isRef as A, toHandlers as H, createSlots as M, resolveDynamicComponent as P } from "vue";
|
|
2
2
|
import { I as R } from "./field-base-5547436d.js";
|
|
3
|
-
import { b as U } from "./share-field-
|
|
3
|
+
import { b as U } from "./share-field-d598d814.js";
|
|
4
4
|
import { _ as q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-efde8c90.js";
|
|
5
5
|
import { g as n, w as G } from "./expression-490b4335.js";
|
|
6
6
|
import { s as a } from "./enum-type-4a798b1a.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ref as y, watch as L, defineComponent as h, resolveDirective as j, openBlock as b, createBlock as D, mergeProps as W, unref as s, withCtx as O, withDirectives as P, createElementBlock as x, normalizeClass as z, createVNode as R, createCommentVNode as S } from "vue";
|
|
2
2
|
import { I as k } from "./widget-base-4c2d6265.js";
|
|
3
|
-
import { D as A } from "./drag-wrapper-
|
|
3
|
+
import { D as A } from "./drag-wrapper-86bca90e.js";
|
|
4
4
|
import { _ as B } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-efde8c90.js";
|
|
5
5
|
import { w as F } from "./expression-490b4335.js";
|
|
6
6
|
import { W as v } from "./enum-type-bb2bfafa.js";
|
|
7
|
-
import { b as N, a as $ } from "./share-field-
|
|
7
|
+
import { b as N, a as $ } from "./share-field-d598d814.js";
|
|
8
8
|
import { c as E } from "./slot-f8eef9e1.js";
|
|
9
9
|
function H(i) {
|
|
10
10
|
const n = y({}), { componentWrapperClass: c, customClass: a } = E({ widget: i.widget }), { exposed: t, attrs: d, extendAttrs: m, fieldKey: f, fieldObj: g } = N(i), { setAllRefList: l } = $(n.value), p = (o = !1) => {
|
package/sfcview-a060c8f0.js
DELETED
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
import { D, B as c } from "./baseImp-26b9c04a.js";
|
|
2
|
-
import { c as l } from "./enum-type-bb2bfafa.js";
|
|
3
|
-
import { f as G, n as J, o as M } from "./index-a7d766e7.js";
|
|
4
|
-
import { l as k } from "./expression-490b4335.js";
|
|
5
|
-
import { f as $, c as b } from "./enum-type-4a798b1a.js";
|
|
6
|
-
import "./icon-a0e0cdb0.js";
|
|
7
|
-
import "vue";
|
|
8
|
-
import "./dialog-c4706078.js";
|
|
9
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
10
|
-
import "./uuid-4999945f.js";
|
|
11
|
-
import "element-plus";
|
|
12
|
-
import "./source-map-b04aec4a.js";
|
|
13
|
-
import "./esprima-e8d15055.js";
|
|
14
|
-
const d = (F, _) => {
|
|
15
|
-
const v = (m, a) => {
|
|
16
|
-
const o = [], s = (r) => !!r.dynamicItemFlag;
|
|
17
|
-
J(m, o, !1, s);
|
|
18
|
-
var y = o == null ? void 0 : o.filter((r) => (r == null ? void 0 : r.formItemFlag) && (r == null ? void 0 : r.type) !== l.cache);
|
|
19
|
-
return y == null || y.forEach((r) => {
|
|
20
|
-
if (!(r != null && r.dynamicItemFlag))
|
|
21
|
-
a.push({ widget: O(r) });
|
|
22
|
-
else {
|
|
23
|
-
const g = [];
|
|
24
|
-
M(r, g, !1, s);
|
|
25
|
-
const h = [];
|
|
26
|
-
v(g, h), a.push({ widget: O(r), children: h });
|
|
27
|
-
}
|
|
28
|
-
}), a;
|
|
29
|
-
}, p = (m) => c.getOptions(m, "name"), I = () => {
|
|
30
|
-
const m = [];
|
|
31
|
-
var a = _ ? G(F, (o) => p(o) === (_ == null ? void 0 : _.fName) || (o == null ? void 0 : o.type) == (_ == null ? void 0 : _.wdt), !1) : F;
|
|
32
|
-
return v(a, m);
|
|
33
|
-
}, O = (m) => {
|
|
34
|
-
var x;
|
|
35
|
-
const a = {}, o = (t, e) => {
|
|
36
|
-
a[t] = e;
|
|
37
|
-
}, s = (t) => {
|
|
38
|
-
const e = c.getOptions(t, "content"), n = c.getOptions(t, "label"), i = c.getOptions(t, "name");
|
|
39
|
-
return n || e || i;
|
|
40
|
-
}, y = "|", r = ";", g = (t, e) => {
|
|
41
|
-
var i;
|
|
42
|
-
if (!e)
|
|
43
|
-
return t;
|
|
44
|
-
var n = $(t);
|
|
45
|
-
return Array.isArray(n) ? (i = b(n)) == null ? void 0 : i.join(r) : t;
|
|
46
|
-
}, h = (t, e) => {
|
|
47
|
-
var i, u;
|
|
48
|
-
var n = $(t);
|
|
49
|
-
return e ? (u = n == null ? void 0 : n.map((f) => {
|
|
50
|
-
var T;
|
|
51
|
-
return (T = b(f)) == null ? void 0 : T.join(y);
|
|
52
|
-
})) == null ? void 0 : u.join(r) : (i = b(n)) == null ? void 0 : i.join(y);
|
|
53
|
-
}, V = (t) => ({
|
|
54
|
-
type: t.type,
|
|
55
|
-
label: s(t),
|
|
56
|
-
key: p(t),
|
|
57
|
-
options: {
|
|
58
|
-
valueFormat: (e) => e
|
|
59
|
-
}
|
|
60
|
-
}), j = (t) => {
|
|
61
|
-
let e = c.getOptions(t, "textName"), n = c.getOptions(t, "multiple");
|
|
62
|
-
const i = e || `${p(t)}${k.optionText}`;
|
|
63
|
-
return {
|
|
64
|
-
type: t.type,
|
|
65
|
-
label: s(t),
|
|
66
|
-
key: `${i}`,
|
|
67
|
-
options: {
|
|
68
|
-
valueFormat: (u) => g(u, n)
|
|
69
|
-
}
|
|
70
|
-
};
|
|
71
|
-
}, E = (t) => {
|
|
72
|
-
const e = p(t);
|
|
73
|
-
return {
|
|
74
|
-
type: t.type,
|
|
75
|
-
label: s(t),
|
|
76
|
-
key: `${e}`,
|
|
77
|
-
options: {
|
|
78
|
-
valueFormat: (n) => g(n, !0)
|
|
79
|
-
}
|
|
80
|
-
};
|
|
81
|
-
}, W = (t) => {
|
|
82
|
-
const e = p(t);
|
|
83
|
-
return {
|
|
84
|
-
type: t.type,
|
|
85
|
-
label: s(t),
|
|
86
|
-
key: `${e}`,
|
|
87
|
-
options: {
|
|
88
|
-
valueFormat: (n) => n
|
|
89
|
-
}
|
|
90
|
-
};
|
|
91
|
-
}, A = (t) => {
|
|
92
|
-
let e = c.getOptions(t, "textName"), n = c.getOptions(t, "multiple");
|
|
93
|
-
const i = e || `${p(t)}${k.optionText}`;
|
|
94
|
-
return {
|
|
95
|
-
type: t.type,
|
|
96
|
-
label: s(t),
|
|
97
|
-
key: `${i}`,
|
|
98
|
-
options: {
|
|
99
|
-
valueFormat: (u) => h(u, n)
|
|
100
|
-
}
|
|
101
|
-
};
|
|
102
|
-
}, C = (t) => {
|
|
103
|
-
const e = c.getOptions(t, "activeValue"), n = c.getOptions(t, "inactiveValue"), i = c.getOptions(t, "activeText"), u = c.getOptions(t, "inactiveText");
|
|
104
|
-
return {
|
|
105
|
-
type: t.type,
|
|
106
|
-
label: s(t),
|
|
107
|
-
key: p(t),
|
|
108
|
-
options: {
|
|
109
|
-
valueFormat: (f) => f === e ? i : f === n ? u : f
|
|
110
|
-
}
|
|
111
|
-
};
|
|
112
|
-
}, B = (t) => ({
|
|
113
|
-
type: t.type,
|
|
114
|
-
label: s(t),
|
|
115
|
-
key: p(t)
|
|
116
|
-
});
|
|
117
|
-
return (() => {
|
|
118
|
-
D(l).forEach((t) => {
|
|
119
|
-
o(t.label, V);
|
|
120
|
-
}), [
|
|
121
|
-
l.select,
|
|
122
|
-
l.treeSelect,
|
|
123
|
-
l.autoComplete
|
|
124
|
-
].forEach((t) => {
|
|
125
|
-
o(t, j);
|
|
126
|
-
}), o(l.multirow, B), o(l.checkbox, E), o(l.radio, W), o(l.cascader, A), o(l.switch, C);
|
|
127
|
-
})(), (x = a[m.type]) == null ? void 0 : x.call(a, m);
|
|
128
|
-
};
|
|
129
|
-
return {
|
|
130
|
-
filterFieldItems: I
|
|
131
|
-
};
|
|
132
|
-
};
|
|
133
|
-
export {
|
|
134
|
-
d as useGenFieldItemList
|
|
135
|
-
};
|