hlrender 0.0.280 → 0.0.282
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-548ad0f3.js → _pdf-d2478121.js} +8 -8
- package/{_txt-24c93a61.js → _txt-fd32f949.js} +6 -6
- package/{_unsupport-94709676.js → _unsupport-10d1d421.js} +1 -1
- package/{affix-widget-2faab4af.js → affix-widget-77ddfdb9.js} +16 -16
- package/{alert-widget-e95490e8.js → alert-widget-c1f66236.js} +16 -16
- package/{anchor-widget-ca3c597f.js → anchor-widget-05148dd1.js} +13 -13
- package/{auto-complete-widget-931e018a.js → auto-complete-widget-9bd9881e.js} +16 -16
- package/{avatar-widget-42a7ad8f.js → avatar-widget-89758349.js} +16 -16
- package/{backtop-widget-a5ec4cb5.js → backtop-widget-068a28c5.js} +16 -16
- package/{badge-widget-9a654a6a.js → badge-widget-e5ddb65c.js} +16 -16
- package/{barcode-widget-7789290b.js → barcode-widget-6882a0ee.js} +19 -19
- package/{baseImp-e43868e7.js → baseImp-a05aa287.js} +1405 -1306
- package/{breadcrumb-widget-5a86bad0.js → breadcrumb-widget-1efe16dc.js} +13 -13
- package/{button-widget-32dca2c5.js → button-widget-cd209307.js} +16 -16
- package/{cache-widget-200bdd48.js → cache-widget-c6dc1d4d.js} +15 -15
- package/{card-widget-0bab1727.js → card-widget-e99850fe.js} +14 -14
- package/{carousel-widget-b8a04501.js → carousel-widget-0e5da3dd.js} +14 -14
- package/{cascader-widget-35259793.js → cascader-widget-c960147f.js} +15 -15
- package/{chart-widget-ea3c142e.js → chart-widget-3da22d60.js} +29 -29
- package/{checkbox-widget-32987927.js → checkbox-widget-24946378.js} +15 -15
- package/{collapse-widget-2bf10c41.js → collapse-widget-09465fbb.js} +14 -14
- package/{color-picker-widget-daf9eeba.js → color-picker-widget-88d01165.js} +15 -15
- package/{cont-cell-widget-4193e729.js → cont-cell-widget-ed0e5d83.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-b557f04f.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-e2ea7130.js} +11 -11
- package/{cont-widget-683f83da.js → cont-widget-4b88e7e5.js} +15 -15
- package/{content-wrapper-2f8a8778.js → content-wrapper-b85ff3c9.js} +7 -7
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-f2107cfb.js → content-wrapper.vue_vue_type_script_setup_true_lang-4adfe6d4.js} +7 -7
- package/{countdown-widget-7d350107.js → countdown-widget-19441bfe.js} +16 -16
- package/cssClass-d5b2a013.js +24 -0
- package/{date-picker-range-widget-949581d3.js → date-picker-range-widget-b7a93200.js} +15 -15
- package/{date-picker-widget-52187886.js → date-picker-widget-85161b08.js} +15 -15
- package/default-slot-widget-46a8a1ee.js +27 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-6f15eb11.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-c2a09043.js} +7 -7
- package/{descriptions-widget-4b70fe87.js → descriptions-widget-fa392515.js} +14 -14
- package/{dialog-5573c8b7.js → dialog-64d549cc.js} +2 -2
- package/{dialog-widget-cbb372e4.js → dialog-widget-42c8990c.js} +15 -15
- package/{divider-widget-bf30d1fd.js → divider-widget-07e594c7.js} +16 -16
- package/drag-wrapper-f78636d1.js +279 -0
- package/{drawer-widget-7c544c8f.js → drawer-widget-1c1dd8e2.js} +15 -15
- package/{dropdown-widget-35c5e1f1.js → dropdown-widget-47274915.js} +14 -14
- package/{empty-widget-add6aa1e.js → empty-widget-e7aa5b70.js} +16 -16
- package/{enum-type-54c8c6ff.js → enum-type-42dd79a1.js} +191 -316
- package/{enum-type-90590ca7.js → enum-type-51f144c1.js} +1 -1
- package/{expression-843cb957.js → expression-d4680713.js} +959 -944
- package/feedback-widget-f1e2b360.js +27 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-469ca730.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-dc498e85.js} +6 -6
- package/{fieldobj-eb2feee2.js → fieldobj-a2678999.js} +1 -1
- package/{file-upload-widget-ad75ee6f.js → file-upload-widget-451addd2.js} +20 -20
- package/{form-item-wrapper-dc9f2e85.js → form-item-wrapper-228b6375.js} +11 -11
- package/{form-widget-4f508901.js → form-widget-9f5290b7.js} +53 -53
- package/{grid-col-widget-5fa52864.js → grid-col-widget-fd469073.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-97251137.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-c90ca8e7.js} +5 -5
- package/{grid-widget-d5ac789b.js → grid-widget-9a62f39a.js} +17 -17
- package/{hcard-widget-a7735316.js → hcard-widget-c75b1b6f.js} +14 -14
- package/{html-text-widget-3cfc4a4b.js → html-text-widget-bb760458.js} +14 -14
- package/{icon-widget-b4f94e49.js → icon-widget-39740e64.js} +13 -13
- package/iframe-widget-6c513e2d.js +127 -0
- package/{image-widget-c9acf85d.js → image-widget-6658a5e2.js} +13 -13
- package/{index-e6ed9f5a.js → index-6afb8bee.js} +64 -64
- package/{index-9d408ab3.js → index-6e69a58f.js} +4 -4
- package/{index-ab77f273.js → index-ee925296.js} +1 -1
- package/{input-number-widget-d1b25aab.js → input-number-widget-d8266ca4.js} +19 -19
- package/{input-tag-widget-59e43500.js → input-tag-widget-0d69bd56.js} +16 -16
- package/{input-widget-7695f32d.js → input-widget-eaba46a8.js} +16 -16
- package/{label-wrapper-e1cc338d.js → label-wrapper-c772b8f2.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-e4bea232.js → label-wrapper.vue_vue_type_style_index_0_lang-82c93f40.js} +3 -3
- package/{link-widget-2cfdad19.js → link-widget-ba4d6aa4.js} +16 -16
- package/{ltable-col-widget-a6196715.js → ltable-col-widget-c421ff75.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-542ace6a.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-99261216.js} +56 -56
- package/{ltable-widget-67b20dcd.js → ltable-widget-35df30a2.js} +19 -19
- package/{mention-widget-ded8ea32.js → mention-widget-6301f55a.js} +16 -16
- package/{menu-widget-de67461f.js → menu-widget-e2d328e3.js} +48 -48
- package/{model-widget-f73630f0.js → model-widget-094f97d8.js} +13 -13
- package/{multirow-685f615b.js → multirow-88dc90dd.js} +53 -53
- package/{multirow-widget-8b3c37ac.js → multirow-widget-cc00757f.js} +46 -46
- package/package.json +1 -1
- package/{pagination-widget-5d9e11de.js → pagination-widget-57ef2182.js} +13 -13
- package/{picture-upload-widget-6db6e1e5.js → picture-upload-widget-c602e32a.js} +37 -37
- package/{progress-widget-a81f02e2.js → progress-widget-4c04b55c.js} +14 -14
- package/{qrcode-widget-94066c8c.js → qrcode-widget-dbd3212d.js} +25 -25
- package/{radio-widget-c76e2752.js → radio-widget-9e2a9b43.js} +15 -15
- package/{range-widget-de46fe1c.js → range-widget-6a4d2259.js} +16 -16
- package/{rate-widget-7d264c37.js → rate-widget-5de20ced.js} +15 -15
- package/render.es.js +155 -154
- package/render.style.css +1 -1
- package/render.umd.js +230 -230
- package/{result-widget-e6222f24.js → result-widget-fd88b2b1.js} +14 -14
- package/{rich-editor-widget-7667e493.js → rich-editor-widget-e14dcbe6.js} +23 -23
- package/{router-widget-40777271.js → router-widget-ea67f0ba.js} +13 -13
- package/{segmented-widget-505e9aa3.js → segmented-widget-11bd4e4d.js} +13 -13
- package/{select-widget-5a895b69.js → select-widget-2a9fa056.js} +15 -15
- package/{sfc-70fea8b1.js → sfc-1b884c50.js} +114 -96
- package/{sfcview-60d56dab.js → sfcview-33b88ef4.js} +14 -14
- package/{share-field-518be3d6.js → share-field-ec8c208e.js} +94 -94
- package/{share-file-ec787a17.js → share-file-3087c9f9.js} +70 -70
- package/{skeleton-widget-244c4a58.js → skeleton-widget-35dd8bd6.js} +16 -16
- package/{skeletonItem-widget-9f418b95.js → skeletonItem-widget-dc2311cd.js} +13 -13
- package/{slider-widget-95d37e13.js → slider-widget-7df4253d.js} +15 -15
- package/slot-6db6ac8e.js +360 -0
- package/{space-widget-f6b16905.js → space-widget-6fc38426.js} +14 -14
- package/{splitter-widget-cb39c839.js → splitter-widget-f4629b33.js} +14 -14
- package/{static-text-widget-e4434d9d.js → static-text-widget-a54245c0.js} +14 -14
- package/{statistic-widget-6ea4b23b.js → statistic-widget-2b39fcff.js} +16 -16
- package/{steps-widget-b9210f2a.js → steps-widget-bb63027b.js} +13 -13
- package/{subMenu-widget-23007af2.js → subMenu-widget-a0d1771a.js} +8 -8
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-e57e4ad0.js → subMenu-widget.vue_vue_type_script_setup_true_lang-6ec20ca0.js} +6 -6
- package/{switch-widget-993084af.js → switch-widget-d454ac66.js} +15 -15
- package/{tab-pane-widget-5e1057c7.js → tab-pane-widget-5df8b474.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-2ea7c3db.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-3bfd8f17.js} +8 -8
- package/table-col-widget-38f163df.js +23 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-9a2862cc.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-21bd0d44.js} +7 -7
- package/table-widget-af19ac4d.js +360 -0
- package/{tabs-widget-53ecac4f.js → tabs-widget-eb2292e7.js} +7 -7
- package/{tag-widget-4f5e8c1b.js → tag-widget-c5e8cb90.js} +16 -16
- package/{text-widget-3f722f87.js → text-widget-bb44b9c7.js} +16 -16
- package/{textarea-widget-8f1cea5a.js → textarea-widget-c6a1b4ba.js} +15 -15
- package/{time-picker-range-widget-7f472ee1.js → time-picker-range-widget-b3a3ff54.js} +15 -15
- package/{time-picker-widget-961b087d.js → time-picker-widget-bbc1e186.js} +15 -15
- package/{time-select-widget-89abcf8b.js → time-select-widget-e098c664.js} +15 -15
- package/{timeline-widget-9b1d6448.js → timeline-widget-90ec82c4.js} +14 -14
- package/tmpl-widget-702c58d7.js +99 -0
- package/{tooltip-widget-6c3c34ca.js → tooltip-widget-5eb579d5.js} +14 -14
- package/{tour-widget-a9431487.js → tour-widget-aa29b856.js} +23 -23
- package/{transfer-widget-084db50a.js → transfer-widget-593d18ed.js} +16 -16
- package/{tree-select-widget-4560b80a.js → tree-select-widget-f8568c4e.js} +15 -15
- package/{tree-widget-65b00f9e.js → tree-widget-1d871bf4.js} +13 -13
- package/{uuid-aab81f94.js → uuid-0888fc5f.js} +1 -1
- package/{verifycode-widget-a6ddfe58.js → verifycode-widget-cd1b3fb4.js} +21 -21
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-2b5032e8.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-a9e4f996.js} +7 -7
- package/{wrapper-widget-11c1e480.js → wrapper-widget-38438697.js} +9 -8
- package/default-slot-widget-825a6967.js +0 -27
- package/drag-wrapper-733d900b.js +0 -295
- package/feedback-widget-66402edd.js +0 -27
- package/iframe-widget-650e189a.js +0 -122
- package/slot-138aa61e.js +0 -341
- package/table-col-widget-7230eb66.js +0 -23
- package/table-widget-d5f990d8.js +0 -354
- package/tmpl-widget-5a6aee00.js +0 -98
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { defineComponent as c, computed as O, resolveComponent as S, openBlock as m, createBlock as n, mergeProps as l, unref as r, withCtx as u, isRef as x, toHandlers as z, createSlots as A, renderList as W, resolveDynamicComponent as h, createCommentVNode as f } from "vue";
|
|
2
|
-
import { e as B } from "./enum-type-
|
|
2
|
+
import { e as B } from "./enum-type-42dd79a1.js";
|
|
3
3
|
import { I as E } from "./field-base-1acf3ada.js";
|
|
4
|
-
import { a as L } from "./share-field-
|
|
5
|
-
import { g as P } from "./slot-
|
|
6
|
-
import T from "./form-item-wrapper-
|
|
7
|
-
import { w as $ } from "./expression-
|
|
8
|
-
import { D as H } from "./drag-wrapper-
|
|
4
|
+
import { a as L } from "./share-field-ec8c208e.js";
|
|
5
|
+
import { g as P } from "./slot-6db6ac8e.js";
|
|
6
|
+
import T from "./form-item-wrapper-228b6375.js";
|
|
7
|
+
import { w as $ } from "./expression-d4680713.js";
|
|
8
|
+
import { D as H } from "./drag-wrapper-f78636d1.js";
|
|
9
9
|
import "./widget-base-8eece820.js";
|
|
10
|
-
import "./multirow-
|
|
11
|
-
import "./baseImp-
|
|
12
|
-
import "./enum-type-
|
|
10
|
+
import "./multirow-88dc90dd.js";
|
|
11
|
+
import "./baseImp-a05aa287.js";
|
|
12
|
+
import "./enum-type-51f144c1.js";
|
|
13
13
|
import "./icon-1fc5d00d.js";
|
|
14
14
|
import "axios";
|
|
15
|
-
import "./dialog-
|
|
15
|
+
import "./dialog-64d549cc.js";
|
|
16
16
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
17
|
-
import "./uuid-
|
|
17
|
+
import "./uuid-0888fc5f.js";
|
|
18
18
|
import "element-plus";
|
|
19
|
-
import "./index-
|
|
20
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
21
|
-
import "./index-
|
|
19
|
+
import "./index-6afb8bee.js";
|
|
20
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-a9e4f996.js";
|
|
21
|
+
import "./index-ee925296.js";
|
|
22
22
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
23
|
-
import "./fieldobj-
|
|
24
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
23
|
+
import "./fieldobj-a2678999.js";
|
|
24
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-82c93f40.js";
|
|
25
25
|
import "./source-map-b04aec4a.js";
|
|
26
26
|
import "./esprima-e8d15055.js";
|
|
27
27
|
const K = c({ componentName: $.FieldWidget }), ve = /* @__PURE__ */ c({
|
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
import { defineComponent as j, computed as c, onMounted as I, watch as ee, nextTick as re, resolveComponent as ne, openBlock as k, createBlock as
|
|
2
|
-
import { g as le,
|
|
3
|
-
import { u as
|
|
4
|
-
import {
|
|
1
|
+
import { defineComponent as j, computed as c, onMounted as I, watch as ee, nextTick as re, resolveComponent as ne, openBlock as k, createBlock as M, mergeProps as C, unref as U, withCtx as O, toHandlers as te, createVNode as oe } from "vue";
|
|
2
|
+
import { g as le, L as R, K as i, M as ue, P as ae, N as se } from "./baseImp-a05aa287.js";
|
|
3
|
+
import { u as ce } from "./icon-1fc5d00d.js";
|
|
4
|
+
import { z as ie, d as B } from "./enum-type-42dd79a1.js";
|
|
5
5
|
import { I as fe } from "./field-base-1acf3ada.js";
|
|
6
|
-
import { _ as pe } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
7
|
-
import { a as me } from "./share-field-
|
|
8
|
-
import { w as ve, f as he } from "./expression-
|
|
9
|
-
import { _ as de } from "./subMenu-widget.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { ak as
|
|
6
|
+
import { _ as pe } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-a9e4f996.js";
|
|
7
|
+
import { a as me } from "./share-field-ec8c208e.js";
|
|
8
|
+
import { w as ve, f as he } from "./expression-d4680713.js";
|
|
9
|
+
import { _ as de } from "./subMenu-widget.vue_vue_type_script_setup_true_lang-6ec20ca0.js";
|
|
10
|
+
import { ak as E } from "./enum-type-51f144c1.js";
|
|
11
11
|
import "axios";
|
|
12
|
-
import "./dialog-
|
|
12
|
+
import "./dialog-64d549cc.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
|
-
import "./uuid-
|
|
14
|
+
import "./uuid-0888fc5f.js";
|
|
15
15
|
import "element-plus";
|
|
16
16
|
import "./widget-base-8eece820.js";
|
|
17
|
-
import "./index-
|
|
18
|
-
import "./index-
|
|
17
|
+
import "./index-6afb8bee.js";
|
|
18
|
+
import "./index-ee925296.js";
|
|
19
19
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
|
-
import "./fieldobj-
|
|
21
|
-
import "./multirow-
|
|
22
|
-
import "./slot-
|
|
20
|
+
import "./fieldobj-a2678999.js";
|
|
21
|
+
import "./multirow-88dc90dd.js";
|
|
22
|
+
import "./slot-6db6ac8e.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
|
-
const _e = j({ componentName: ve.FieldWidget }),
|
|
25
|
+
const _e = j({ componentName: ve.FieldWidget }), Ke = /* @__PURE__ */ j({
|
|
26
26
|
..._e,
|
|
27
27
|
__name: "menu-widget",
|
|
28
28
|
props: { ...fe },
|
|
29
|
-
setup(
|
|
30
|
-
const b =
|
|
29
|
+
setup(L, { expose: W }) {
|
|
30
|
+
const b = L, { fieldEditor: d, fieldKey: A, attrs: f, events: D, extendAttrs: a, optionItems: l, refreshOptionItems: G, activeOptionItems: _, filterOptionItems: g, exposed: N, fieldObj: S, existEvent: $, handleEvent: w } = me(b), { instance: K } = ce(), z = le({ instance: K }), p = (e) => e == null ? void 0 : e.route, u = (e) => e == null ? void 0 : e.value, H = (e) => {
|
|
31
31
|
const n = p(e);
|
|
32
32
|
if (!n)
|
|
33
33
|
return "";
|
|
34
|
-
const r = i.getLocationQueryParams(), t = ue(ae.getValue(e.buildUrlParams) || "", { urlParams: r, ctx:
|
|
34
|
+
const r = i.getLocationQueryParams(), t = ue(ae.getValue(e.buildUrlParams) || "", { urlParams: r, ctx: z });
|
|
35
35
|
let o = "";
|
|
36
36
|
return e != null && e.attachUrlParams ? o = i.buildUrl(n, { ...r, ...t }) : o = i.buildUrl(n, t), o;
|
|
37
37
|
}, V = c(() => {
|
|
38
|
-
const e =
|
|
39
|
-
return
|
|
40
|
-
m(e, u(n)) ? n.route =
|
|
38
|
+
const e = ie(l == null ? void 0 : l.value);
|
|
39
|
+
return R(e, "children", (n) => !0, (n) => {
|
|
40
|
+
m(e, u(n)) ? n.route = H(n) || u(n) : n.route = u(n);
|
|
41
41
|
}), e;
|
|
42
42
|
}), Q = (e) => {
|
|
43
43
|
let n = "";
|
|
44
|
-
return
|
|
44
|
+
return R(V.value, "children", (r) => u(r) === e, (r) => {
|
|
45
45
|
n = p(r) || u(r);
|
|
46
46
|
}), n;
|
|
47
47
|
}, y = (e, n) => e == null ? void 0 : e.some((r) => {
|
|
48
48
|
var t, o;
|
|
49
|
-
return (r == null ? void 0 : r.menuItemType) ===
|
|
49
|
+
return (r == null ? void 0 : r.menuItemType) === E.MenuItemGroup ? !1 : u(r) === n ? ((t = r == null ? void 0 : r.children) == null ? void 0 : t.length) > 0 : ((o = r == null ? void 0 : r.children) == null ? void 0 : o.length) > 0 ? y(r.children, n) : !1;
|
|
50
50
|
}), m = (e, n) => e == null ? void 0 : e.some((r) => {
|
|
51
51
|
var t, o;
|
|
52
|
-
return (r == null ? void 0 : r.menuItemType) ===
|
|
53
|
-
}),
|
|
52
|
+
return (r == null ? void 0 : r.menuItemType) === E.MenuItemGroup ? !1 : u(r) === n ? !((t = r == null ? void 0 : r.children) != null && t.length) : ((o = r == null ? void 0 : r.children) == null ? void 0 : o.length) > 0 ? m(r.children, n) : !1;
|
|
53
|
+
}), q = () => {
|
|
54
54
|
const e = window.location.href, n = i.getBaseUrl(e);
|
|
55
55
|
var r = g((t) => {
|
|
56
56
|
var o = he.isActiveItem;
|
|
57
|
-
if (
|
|
58
|
-
return
|
|
59
|
-
const s = p(t),
|
|
60
|
-
return !!s && (n == null ? void 0 : n.endsWith(
|
|
57
|
+
if ($(o))
|
|
58
|
+
return w(o, { item: t });
|
|
59
|
+
const s = p(t), Z = i.getBaseUrl(s);
|
|
60
|
+
return !!s && (n == null ? void 0 : n.endsWith(Z));
|
|
61
61
|
});
|
|
62
62
|
return r == null ? void 0 : r.map((t) => u(t));
|
|
63
|
-
},
|
|
63
|
+
}, J = () => {
|
|
64
64
|
var e;
|
|
65
65
|
return (e = _ == null ? void 0 : _.value) == null ? void 0 : e.map((n) => u(n));
|
|
66
66
|
}, x = c(() => {
|
|
67
67
|
var e;
|
|
68
68
|
return (e = f == null ? void 0 : f.value) == null ? void 0 : e.router;
|
|
69
69
|
}), P = c(() => {
|
|
70
|
-
var e =
|
|
70
|
+
var e = J();
|
|
71
71
|
if (x.value && !b.designState) {
|
|
72
|
-
var n =
|
|
72
|
+
var n = q();
|
|
73
73
|
return n && (n == null ? void 0 : n.length) > 0 ? n : e;
|
|
74
74
|
}
|
|
75
75
|
return e;
|
|
@@ -86,7 +86,7 @@ const _e = j({ componentName: ve.FieldWidget }), Ne = /* @__PURE__ */ j({
|
|
|
86
86
|
}), F = (e, n) => {
|
|
87
87
|
var r, t;
|
|
88
88
|
y(l == null ? void 0 : l.value, e) && (n ? (r = d.value) == null || r.open(e) : (t = d.value) == null || t.close(e));
|
|
89
|
-
},
|
|
89
|
+
}, X = (e) => {
|
|
90
90
|
e == null || e.forEach((n) => {
|
|
91
91
|
F(n, !0);
|
|
92
92
|
});
|
|
@@ -99,10 +99,10 @@ const _e = j({ componentName: ve.FieldWidget }), Ne = /* @__PURE__ */ j({
|
|
|
99
99
|
}
|
|
100
100
|
return !0;
|
|
101
101
|
});
|
|
102
|
-
},
|
|
102
|
+
}, Y = c(() => {
|
|
103
103
|
var n;
|
|
104
104
|
const e = {};
|
|
105
|
-
return v.value &&
|
|
105
|
+
return v.value && B(e, { defaultActive: v.value }), h.value && ((n = h.value) == null ? void 0 : n.length) > 0 && B(e, { defaultOpeneds: h.value }), {
|
|
106
106
|
...f.value,
|
|
107
107
|
...e
|
|
108
108
|
};
|
|
@@ -112,33 +112,33 @@ const _e = j({ componentName: ve.FieldWidget }), Ne = /* @__PURE__ */ j({
|
|
|
112
112
|
(e = a == null ? void 0 : a.value) != null && e.openAll && T(!1), ee(() => h.value, (n) => {
|
|
113
113
|
re(() => {
|
|
114
114
|
var r;
|
|
115
|
-
(r = a == null ? void 0 : a.value) != null && r.openAll || (T(!0),
|
|
115
|
+
(r = a == null ? void 0 : a.value) != null && r.openAll || (T(!0), X(n));
|
|
116
116
|
});
|
|
117
117
|
});
|
|
118
118
|
}), W({
|
|
119
|
-
...
|
|
119
|
+
...N,
|
|
120
120
|
refresh: () => {
|
|
121
|
-
|
|
121
|
+
G();
|
|
122
122
|
},
|
|
123
123
|
getActiveTree: () => {
|
|
124
124
|
var e = [];
|
|
125
|
-
return
|
|
125
|
+
return se(l == null ? void 0 : l.value, e, "children", (n) => v.value === p(n)), e.reverse();
|
|
126
126
|
}
|
|
127
127
|
}), (e, n) => {
|
|
128
128
|
const r = ne("el-menu");
|
|
129
|
-
return k(),
|
|
130
|
-
"prop-options": { fieldObj: U(
|
|
129
|
+
return k(), M(pe, C(e.$props, {
|
|
130
|
+
"prop-options": { fieldObj: U(S) }
|
|
131
131
|
}), {
|
|
132
|
-
default:
|
|
133
|
-
(k(),
|
|
132
|
+
default: O(({ data: t }) => [
|
|
133
|
+
(k(), M(r, C({
|
|
134
134
|
ref_key: "fieldEditor",
|
|
135
135
|
ref: d,
|
|
136
136
|
key: U(A)
|
|
137
|
-
},
|
|
137
|
+
}, Y.value, te(U(D)), {
|
|
138
138
|
class: t.injectClass,
|
|
139
139
|
style: t.injectStyle
|
|
140
140
|
}), {
|
|
141
|
-
default:
|
|
141
|
+
default: O(() => [
|
|
142
142
|
oe(de, {
|
|
143
143
|
items: V.value,
|
|
144
144
|
useRouter: x.value,
|
|
@@ -154,5 +154,5 @@ const _e = j({ componentName: ve.FieldWidget }), Ne = /* @__PURE__ */ j({
|
|
|
154
154
|
}
|
|
155
155
|
});
|
|
156
156
|
export {
|
|
157
|
-
|
|
157
|
+
Ke as default
|
|
158
158
|
};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { defineComponent as q, resolveComponent as T, openBlock as y, createBlock as h, mergeProps as z, unref as a, withCtx as _, createElementVNode as k, createElementBlock as V, Fragment as G, renderList as H, createVNode as J, resolveDynamicComponent as Q, createTextVNode as I, toDisplayString as w, createCommentVNode as N } from "vue";
|
|
2
2
|
import { I as U } from "./widget-base-8eece820.js";
|
|
3
|
-
import { a as X } from "./share-field-
|
|
4
|
-
import { _ as Y } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { W as g } from "./enum-type-
|
|
6
|
-
import { d as F } from "./baseImp-
|
|
7
|
-
import { e as A } from "./enum-type-
|
|
3
|
+
import { a as X } from "./share-field-ec8c208e.js";
|
|
4
|
+
import { _ as Y } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-a9e4f996.js";
|
|
5
|
+
import { W as g } from "./enum-type-51f144c1.js";
|
|
6
|
+
import { d as F } from "./baseImp-a05aa287.js";
|
|
7
|
+
import { e as A } from "./enum-type-42dd79a1.js";
|
|
8
8
|
import { Plus as Z, Edit as ee } from "./index-6bcfdc22.js";
|
|
9
|
-
import {
|
|
10
|
-
import "./multirow-
|
|
11
|
-
import "./index-
|
|
12
|
-
import "./uuid-
|
|
9
|
+
import { m as te } from "./expression-d4680713.js";
|
|
10
|
+
import "./multirow-88dc90dd.js";
|
|
11
|
+
import "./index-6afb8bee.js";
|
|
12
|
+
import "./uuid-0888fc5f.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
|
-
import "./slot-
|
|
14
|
+
import "./slot-6db6ac8e.js";
|
|
15
15
|
import "./icon-1fc5d00d.js";
|
|
16
|
-
import "./index-
|
|
16
|
+
import "./index-ee925296.js";
|
|
17
17
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
18
|
-
import "./fieldobj-
|
|
18
|
+
import "./fieldobj-a2678999.js";
|
|
19
19
|
import "axios";
|
|
20
|
-
import "./dialog-
|
|
20
|
+
import "./dialog-64d549cc.js";
|
|
21
21
|
import "element-plus";
|
|
22
22
|
import "./source-map-b04aec4a.js";
|
|
23
23
|
import "./esprima-e8d15055.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { b as I, B as L, d as T } from "./baseImp-
|
|
2
|
-
import { g as P, c as k, t as p, r as R } from "./index-
|
|
3
|
-
import { c as a, F as d, g as rr } from "./slot-
|
|
4
|
-
import { i as
|
|
5
|
-
import { reactive as
|
|
1
|
+
import { b as I, B as L, d as T } from "./baseImp-a05aa287.js";
|
|
2
|
+
import { g as P, c as k, t as p, r as R } from "./index-6afb8bee.js";
|
|
3
|
+
import { c as a, F as d, g as rr } from "./slot-6db6ac8e.js";
|
|
4
|
+
import { i as z, o as B, d as V, C as er, F as J, x as tr, g as sr, k as K } from "./enum-type-42dd79a1.js";
|
|
5
|
+
import { reactive as j, ref as nr } from "vue";
|
|
6
6
|
import { u as or } from "./icon-1fc5d00d.js";
|
|
7
|
-
import { u as ir, g as ur } from "./uuid-
|
|
8
|
-
import { f as q } from "./expression-
|
|
7
|
+
import { u as ir, g as ur } from "./uuid-0888fc5f.js";
|
|
8
|
+
import { f as q } from "./expression-d4680713.js";
|
|
9
9
|
function fr() {
|
|
10
10
|
const r = {}, g = (s, e) => {
|
|
11
11
|
var t, i, n, o;
|
|
@@ -28,7 +28,7 @@ function fr() {
|
|
|
28
28
|
},
|
|
29
29
|
off$(s, e) {
|
|
30
30
|
if (r[s]) {
|
|
31
|
-
if (
|
|
31
|
+
if (z(e)) {
|
|
32
32
|
r[s].length = 0;
|
|
33
33
|
return;
|
|
34
34
|
}
|
|
@@ -57,55 +57,55 @@ function fr() {
|
|
|
57
57
|
}
|
|
58
58
|
};
|
|
59
59
|
}
|
|
60
|
-
const
|
|
60
|
+
const M = "", N = "_", x = (r, g) => z(g) ? r || "" : `${M}${r}${N}${g}`, _ = (r) => {
|
|
61
61
|
if (r != null && r.includes(N)) {
|
|
62
62
|
var g = r.split(N);
|
|
63
|
-
const l = g == null ? void 0 : g[0].substring(
|
|
63
|
+
const l = g == null ? void 0 : g[0].substring(M.length), m = r.substring(M.length + l.length + 1);
|
|
64
64
|
return { id: l, groupName: m };
|
|
65
65
|
}
|
|
66
66
|
return { id: r };
|
|
67
67
|
};
|
|
68
68
|
var gr = /* @__PURE__ */ ((r) => (r[r.None = 0] = "None", r[r.Inner2Inner = 1] = "Inner2Inner", r[r.Inner2Outer = 2] = "Inner2Outer", r[r.Outer2Inner = 3] = "Outer2Inner", r[r.Outer2Outer = 4] = "Outer2Outer", r[r.DiffInner = 5] = "DiffInner", r))(gr || {});
|
|
69
|
-
const
|
|
70
|
-
const l =
|
|
69
|
+
const Wr = (r, g) => {
|
|
70
|
+
const l = _(r), m = l == null ? void 0 : l.groupName, s = _(g), e = s == null ? void 0 : s.groupName;
|
|
71
71
|
return !m && !e ? 4 : m && !e ? 2 : m && e ? m !== e ? 5 : 1 : !m && e ? 3 : 0;
|
|
72
72
|
};
|
|
73
73
|
function cr(r, g, l) {
|
|
74
|
-
const m = g == null ? void 0 : g.pageConfig, s = g == null ? void 0 : g.formData, e =
|
|
74
|
+
const m = g == null ? void 0 : g.pageConfig, s = g == null ? void 0 : g.formData, e = j({});
|
|
75
75
|
V(e, s);
|
|
76
76
|
var { instance: t } = or(l);
|
|
77
77
|
const i = () => {
|
|
78
78
|
var D = P(r);
|
|
79
|
-
D == null || D.forEach((
|
|
80
|
-
const { computedDefaultValue: v, fieldName: w, hasDefaultValue:
|
|
81
|
-
w.value &&
|
|
79
|
+
D == null || D.forEach((S) => {
|
|
80
|
+
const { computedDefaultValue: v, fieldName: w, hasDefaultValue: C } = I(S.field, g, { s_fieldName: !0 }, t);
|
|
81
|
+
w.value && C() && er(v()).then((y) => {
|
|
82
82
|
V(e, { [w.value]: y });
|
|
83
83
|
});
|
|
84
84
|
});
|
|
85
85
|
}, n = () => {
|
|
86
|
-
|
|
86
|
+
J(e);
|
|
87
87
|
};
|
|
88
88
|
return {
|
|
89
89
|
formModel: e,
|
|
90
90
|
pageConfig: m,
|
|
91
91
|
widgetList: r,
|
|
92
92
|
initData: i,
|
|
93
|
-
setData: (D,
|
|
94
|
-
|
|
93
|
+
setData: (D, S = !0) => {
|
|
94
|
+
S && n(), V(e, D);
|
|
95
95
|
},
|
|
96
96
|
getData: () => tr(e),
|
|
97
97
|
clearData: n
|
|
98
98
|
};
|
|
99
99
|
}
|
|
100
100
|
function mr() {
|
|
101
|
-
const r = (e, t) => R(e, { newName: !0, recordSource: !0 }, (n, o) =>
|
|
102
|
-
var
|
|
103
|
-
K(i) && (i = `${(
|
|
101
|
+
const r = (e, t) => R(e, { newName: !0, recordSource: !0 }, (n, o) => x(n || o, t), (n) => !!n.dynamicItemFlag), g = (e, t, i) => {
|
|
102
|
+
var S, v;
|
|
103
|
+
K(i) && (i = `${(S = ir()) == null ? void 0 : S.substring(0, 5)}_${!K(t == null ? void 0 : t.$index) && (t == null ? void 0 : t.$index) >= 0 ? t == null ? void 0 : t.$index : ""}`);
|
|
104
104
|
var n = rr(e, !0);
|
|
105
105
|
let o = n == null ? void 0 : n.map((w) => r(w, i));
|
|
106
106
|
const h = s(o), { updateFomulaName: D } = T();
|
|
107
107
|
return (v = B(h)) == null || v.forEach((w) => {
|
|
108
|
-
const
|
|
108
|
+
const C = h[w], y = C == null ? void 0 : C.name;
|
|
109
109
|
o = D(o, y, w);
|
|
110
110
|
}), { widget: o, id: i, key: ur(), data: t };
|
|
111
111
|
}, l = (e, t) => {
|
|
@@ -137,61 +137,61 @@ function mr() {
|
|
|
137
137
|
reflectTargetWithSourceOne: s,
|
|
138
138
|
getSlotFromData: m,
|
|
139
139
|
getMinRowData: l,
|
|
140
|
-
parseGroupId:
|
|
141
|
-
formatGroupId:
|
|
140
|
+
parseGroupId: _,
|
|
141
|
+
formatGroupId: x
|
|
142
142
|
};
|
|
143
143
|
}
|
|
144
144
|
function Er(r, g) {
|
|
145
|
-
const l = r == null ? void 0 : r.fieldName, m = r == null ? void 0 : r.setValue, s = nr({}), e =
|
|
146
|
-
var
|
|
145
|
+
const l = r == null ? void 0 : r.fieldName, m = r == null ? void 0 : r.setValue, s = nr({}), e = j({}), t = j([]), { newSlot: i, reflectTargetWithSourceOne: n, getSlotFromData: o, getMinRowData: h } = mr(), D = (u, c) => {
|
|
146
|
+
var W;
|
|
147
147
|
let f = {};
|
|
148
148
|
const $ = n(c);
|
|
149
|
-
return (
|
|
150
|
-
var
|
|
151
|
-
const O = (
|
|
149
|
+
return (W = B(u)) == null || W.map((E) => {
|
|
150
|
+
var F, A, H;
|
|
151
|
+
const O = (F = $ == null ? void 0 : $[E]) == null ? void 0 : F.name;
|
|
152
152
|
O && (f[O] = u == null ? void 0 : u[E], (H = (A = B(u)) == null ? void 0 : A.filter((b) => b.startsWith(E + "_"))) == null || H.forEach((b) => {
|
|
153
153
|
f[b == null ? void 0 : b.replace(E, O)] = u == null ? void 0 : u[b];
|
|
154
154
|
}));
|
|
155
155
|
}), f;
|
|
156
|
-
},
|
|
157
|
-
var
|
|
156
|
+
}, S = (u, c) => {
|
|
157
|
+
var W, E;
|
|
158
158
|
let f = {};
|
|
159
159
|
if (sr(u)) {
|
|
160
|
-
const O = n(c, (
|
|
161
|
-
(
|
|
160
|
+
const O = n(c, (F) => !!(F != null && F.formItemFlag));
|
|
161
|
+
(W = B(O)) == null || W.map((F) => {
|
|
162
162
|
var A;
|
|
163
|
-
|
|
163
|
+
F && (f[F] = u == null ? void 0 : u[(A = O == null ? void 0 : O[F]) == null ? void 0 : A.name]);
|
|
164
164
|
});
|
|
165
165
|
} else {
|
|
166
166
|
var $ = { globalConfig: r == null ? void 0 : r.globalConfig, pageConfig: (E = r == null ? void 0 : r.designer) == null ? void 0 : E.pageConfig, formData: f, designState: r == null ? void 0 : r.designState };
|
|
167
|
-
const { formModel: O, initData:
|
|
168
|
-
|
|
167
|
+
const { formModel: O, initData: F } = cr(c, $, g);
|
|
168
|
+
F(), V(f, O);
|
|
169
169
|
}
|
|
170
170
|
return f;
|
|
171
171
|
}, v = (u, c) => {
|
|
172
|
-
const f =
|
|
172
|
+
const f = S(c, u.widget);
|
|
173
173
|
return V(e, f), f;
|
|
174
174
|
}, w = (u) => {
|
|
175
175
|
var c;
|
|
176
176
|
(c = B(e)) == null || c.forEach((f) => {
|
|
177
|
-
const $ =
|
|
177
|
+
const $ = _(f);
|
|
178
178
|
($ == null ? void 0 : $.groupName) == u.id && delete e[f];
|
|
179
179
|
});
|
|
180
|
-
},
|
|
181
|
-
|
|
180
|
+
}, C = () => t == null ? void 0 : t.map((c) => D(e, c == null ? void 0 : c.widget)), y = (u, c) => {
|
|
181
|
+
J(e);
|
|
182
182
|
const f = c(u);
|
|
183
183
|
return f == null || f.forEach(($) => {
|
|
184
|
-
const
|
|
185
|
-
V(e,
|
|
184
|
+
const W = S($ == null ? void 0 : $.data, $ == null ? void 0 : $.widget);
|
|
185
|
+
V(e, W);
|
|
186
186
|
}), t.splice(0, t.length), f && f.length > 0 && t.push(...f), t;
|
|
187
187
|
}, G = (u) => {
|
|
188
188
|
var f;
|
|
189
189
|
var c = a({ ...r, widget: u });
|
|
190
190
|
return (f = c.attrs) == null ? void 0 : f.value;
|
|
191
|
-
},
|
|
192
|
-
|
|
191
|
+
}, Q = (u, c, f) => k(u, c, t, f), { off$: U, on$: X, emit$: Y } = fr(), Z = () => {
|
|
192
|
+
U(q.fieldChange), X(q.fieldChange, (u) => {
|
|
193
193
|
var c;
|
|
194
|
-
m == null || m(
|
|
194
|
+
m == null || m(C()), (c = r == null ? void 0 : r.fieldChanged) == null || c.call(r);
|
|
195
195
|
});
|
|
196
196
|
};
|
|
197
197
|
return (() => {
|
|
@@ -199,21 +199,21 @@ function Er(r, g) {
|
|
|
199
199
|
d.globalProvide({
|
|
200
200
|
globalFormName: u,
|
|
201
201
|
globalDataModel: e
|
|
202
|
-
}),
|
|
202
|
+
}), Z();
|
|
203
203
|
})(), {
|
|
204
204
|
getSlotFromData: o,
|
|
205
205
|
getMinRowData: h,
|
|
206
|
-
fromModel:
|
|
206
|
+
fromModel: S,
|
|
207
207
|
toModel: D,
|
|
208
208
|
newSlot: i,
|
|
209
209
|
getWidgetOption: G,
|
|
210
210
|
newFieldModelFromSlot: v,
|
|
211
211
|
removeFieldModelFromSlot: w,
|
|
212
|
-
getValue:
|
|
212
|
+
getValue: C,
|
|
213
213
|
setValue: y,
|
|
214
|
-
findWidgetByNameWithSibId:
|
|
214
|
+
findWidgetByNameWithSibId: Q,
|
|
215
215
|
// listenFormModel,
|
|
216
|
-
emit$:
|
|
216
|
+
emit$: Y,
|
|
217
217
|
formModel: e,
|
|
218
218
|
rowsData: t,
|
|
219
219
|
widgetRefList: s
|
|
@@ -224,7 +224,7 @@ export {
|
|
|
224
224
|
mr as b,
|
|
225
225
|
Er as c,
|
|
226
226
|
gr as f,
|
|
227
|
-
|
|
228
|
-
|
|
227
|
+
Wr as g,
|
|
228
|
+
_ as p,
|
|
229
229
|
cr as u
|
|
230
230
|
};
|