hlrender 0.0.274 → 0.0.276
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-8d5e34b5.js → _pdf-ce2f6ef9.js} +6 -6
- package/{_txt-da8c0242.js → _txt-78a70c52.js} +6 -6
- package/{_unsupport-4bd686fc.js → _unsupport-1b097ae2.js} +1 -1
- package/{affix-widget-de503399.js → affix-widget-6d97dd92.js} +16 -16
- package/{alert-widget-a94e8d13.js → alert-widget-7db88a94.js} +16 -16
- package/{anchor-widget-aa3e5a25.js → anchor-widget-32a65b3b.js} +20 -20
- package/auto-complete-widget-4c8764a7.js +75 -0
- package/{avatar-widget-46e2f319.js → avatar-widget-d79a7dc6.js} +18 -18
- package/{backtop-widget-dc25c3e7.js → backtop-widget-bb681a19.js} +19 -19
- package/{badge-widget-1fa57cc7.js → badge-widget-8dcacfb1.js} +16 -16
- package/{barcode-widget-14de599a.js → barcode-widget-2ce7d156.js} +13 -13
- package/{baseImp-5623aa34.js → baseImp-ae7c0a37.js} +3106 -3102
- package/{breadcrumb-widget-fa089dad.js → breadcrumb-widget-790119f8.js} +19 -19
- package/{button-widget-17187ff3.js → button-widget-f1f66352.js} +16 -16
- package/{cache-widget-04eae6d3.js → cache-widget-b6e80df0.js} +23 -23
- package/{card-widget-f99ca705.js → card-widget-3ccdc3f6.js} +43 -43
- package/{carousel-widget-cfec54e0.js → carousel-widget-78e1e4d7.js} +19 -19
- package/{cascader-widget-84933fdb.js → cascader-widget-f5886f08.js} +21 -21
- package/chart-widget-69442c00.js +89 -0
- package/{checkbox-widget-738f4a97.js → checkbox-widget-43edb7bc.js} +15 -15
- package/{collapse-widget-35e01ed1.js → collapse-widget-93cc0926.js} +27 -27
- package/{color-picker-widget-7d941f46.js → color-picker-widget-c6155941.js} +21 -21
- package/{cont-cell-widget-a1f0b533.js → cont-cell-widget-572b461a.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-7c3a2cbc.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-1e02a5ff.js} +9 -9
- package/{cont-widget-a71849e6.js → cont-widget-a30dd8f1.js} +5 -5
- package/{content-wrapper-9f23d943.js → content-wrapper-caa362a9.js} +7 -7
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-8e168bee.js → content-wrapper.vue_vue_type_script_setup_true_lang-4235a623.js} +3 -3
- package/{countdown-widget-c0759a3b.js → countdown-widget-ad735df4.js} +21 -21
- package/{date-picker-range-widget-2820d7f7.js → date-picker-range-widget-6afb1377.js} +20 -20
- package/date-picker-widget-3c364663.js +114 -0
- package/default-slot-widget-d29c3a61.js +27 -0
- package/default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-a9a2f58b.js +84 -0
- package/{descriptions-widget-20efe494.js → descriptions-widget-72f88df2.js} +25 -25
- package/{dialog-ba291209.js → dialog-003d60d4.js} +2 -2
- package/{dialog-widget-d96acf62.js → dialog-widget-1e1a243a.js} +15 -15
- package/{divider-widget-1f077300.js → divider-widget-7b054e2c.js} +19 -19
- package/{drag-wrapper-679371ab.js → drag-wrapper-e4f7289b.js} +6 -6
- package/{drawer-widget-13a8f6b1.js → drawer-widget-a3359eb8.js} +15 -15
- package/{dropdown-widget-8d4917ca.js → dropdown-widget-aba058d2.js} +35 -35
- package/{empty-widget-9673a73f.js → empty-widget-51cff636.js} +16 -16
- package/{enum-type-b4b3fb1d.js → enum-type-6ac4c4d4.js} +18 -18
- package/{enum-type-5026a107.js → enum-type-e5e6ba33.js} +1 -1
- package/{expression-b400fa10.js → expression-22698064.js} +64 -64
- package/feedback-widget-f6ca4ec0.js +27 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-9bad4d57.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-418da5f6.js} +32 -32
- package/{fieldobj-6b2e9257.js → fieldobj-7311a036.js} +1 -1
- package/{file-upload-widget-f20c09a8.js → file-upload-widget-735d76a9.js} +47 -47
- package/{form-item-wrapper-3a57150a.js → form-item-wrapper-b9cf5581.js} +11 -11
- package/form-widget-992e749d.js +264 -0
- package/{grid-col-widget-4622e9f5.js → grid-col-widget-a9a8f19f.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-d1d7c6bd.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-3c662d58.js} +9 -9
- package/{grid-widget-1b3e097d.js → grid-widget-d4d20c2f.js} +5 -5
- package/{hcard-widget-5d5251d3.js → hcard-widget-7f74642b.js} +14 -14
- package/{html-text-widget-d4f3ae82.js → html-text-widget-b76dbf3f.js} +18 -18
- package/{icon-widget-a96cbb5e.js → icon-widget-54dc192a.js} +23 -23
- package/{iframe-widget-d7684bbc.js → iframe-widget-cc91cd69.js} +20 -20
- package/image-widget-daa9be6f.js +65 -0
- package/{index-52c672dc.js → index-170931d8.js} +1 -1
- package/{index-3d32030d.js → index-6b1b38bd.js} +4 -4
- package/{index-37371bcf.js → index-b76684d8.js} +5 -5
- package/{input-number-widget-57e0f68b.js → input-number-widget-1f20c40f.js} +18 -18
- package/{input-widget-59816b45.js → input-tag-widget-15ff165e.js} +28 -28
- package/input-widget-3e95551a.js +72 -0
- package/{label-wrapper-946d4f6e.js → label-wrapper-005f6858.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-466417fc.js → label-wrapper.vue_vue_type_style_index_0_lang-f6d14143.js} +3 -3
- package/{link-widget-941ece03.js → link-widget-1910e84e.js} +24 -24
- package/{ltable-col-widget-7f17d280.js → ltable-col-widget-00500243.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-119939e4.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-da522d0b.js} +9 -9
- package/{ltable-widget-3cdd8a61.js → ltable-widget-4a007142.js} +10 -10
- package/mention-widget-4202086f.js +83 -0
- package/{menu-widget-55d05c5f.js → menu-widget-6293e53e.js} +40 -40
- package/{model-widget-be9873f7.js → model-widget-672e6556.js} +13 -13
- package/multirow-643b6b12.js +230 -0
- package/{multirow-widget-a61e1ffd.js → multirow-widget-b83f704f.js} +142 -142
- package/package.json +1 -1
- package/{pagination-widget-4be188b9.js → pagination-widget-f825c948.js} +30 -30
- package/{picture-upload-widget-3eb230e0.js → picture-upload-widget-ed5dd370.js} +16 -16
- package/{progress-widget-e27a8e91.js → progress-widget-38523974.js} +14 -14
- package/{qrcode-widget-37523a4c.js → qrcode-widget-a2825a8e.js} +13 -13
- package/{radio-widget-986e2923.js → radio-widget-dfaf22ea.js} +15 -15
- package/{range-widget-10d5d497.js → range-widget-535e5f1d.js} +24 -24
- package/{rate-widget-bd208223.js → rate-widget-2f102397.js} +18 -18
- package/render.es.js +88 -88
- package/render.style.css +1 -1
- package/render.umd.js +377 -377
- package/{result-widget-60806d6f.js → result-widget-3190eca5.js} +25 -25
- package/{rich-editor-widget-c1c52421.js → rich-editor-widget-e341c00c.js} +25 -25
- package/{router-widget-854967fe.js → router-widget-9b334e33.js} +16 -16
- package/{segmented-widget-33e17632.js → segmented-widget-160bbe9a.js} +13 -13
- package/{select-widget-9ecbf69d.js → select-widget-adf2ed8c.js} +17 -17
- package/{sfc-4d02d18b.js → sfc-9469e308.js} +8 -8
- package/{sfcview-621b67b1.js → sfcview-ea5250a8.js} +7 -7
- package/share-field-7ecde1ad.js +856 -0
- package/{share-file-0caf64d9.js → share-file-b68db0c7.js} +13 -13
- package/{skeleton-widget-397d4aa8.js → skeleton-widget-08b527bd.js} +30 -30
- package/{skeletonItem-widget-4415418e.js → skeletonItem-widget-99727467.js} +16 -16
- package/{slider-widget-798901d6.js → slider-widget-7f2629bc.js} +20 -20
- package/{slot-a71ceeef.js → slot-e2606e8a.js} +3 -3
- package/{space-widget-a897626a.js → space-widget-c1eaa0c1.js} +23 -23
- package/{splitter-widget-e4d1b106.js → splitter-widget-e16c7fc2.js} +19 -19
- package/{static-text-widget-a612b773.js → static-text-widget-7b55737c.js} +18 -18
- package/{statistic-widget-fcdf41f0.js → statistic-widget-492a9b3b.js} +16 -16
- package/{steps-widget-7038a62e.js → steps-widget-21a1023e.js} +22 -22
- package/{subMenu-widget-511c493e.js → subMenu-widget-59b24873.js} +8 -8
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-b6ece2d4.js → subMenu-widget.vue_vue_type_script_setup_true_lang-dff824ab.js} +3 -3
- package/{switch-widget-7323a13a.js → switch-widget-267b37c5.js} +17 -17
- package/{tab-pane-widget-37dc9032.js → tab-pane-widget-2a0d33f9.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-3c44a364.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-bf4b9f03.js} +7 -7
- package/table-col-widget-ff3a5ac9.js +23 -0
- package/table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-6f9cedb9.js +115 -0
- package/table-widget-47c6c691.js +353 -0
- package/{tabs-widget-1a2ab1c1.js → tabs-widget-51a11be6.js} +7 -7
- package/{tag-widget-ebcbc798.js → tag-widget-30a27c08.js} +16 -16
- package/{text-widget-22e821bd.js → text-widget-80fa95f1.js} +16 -16
- package/{textarea-widget-d8eec61e.js → textarea-widget-c20f14df.js} +19 -19
- package/{time-picker-range-widget-af737a6a.js → time-picker-range-widget-0da8dcb3.js} +19 -19
- package/{time-picker-widget-41ebf6e5.js → time-picker-widget-d60cc261.js} +21 -21
- package/{time-select-widget-ba53e6e3.js → time-select-widget-9b5e40cb.js} +20 -20
- package/{timeline-widget-7f90cdf6.js → timeline-widget-47a11513.js} +67 -66
- package/tmpl-widget-24ad016d.js +98 -0
- package/{tooltip-widget-8f13dd75.js → tooltip-widget-db6c33d5.js} +34 -34
- package/{tour-widget-8ca44412.js → tour-widget-2e0f1d18.js} +19 -19
- package/transfer-widget-ab3d014c.js +82 -0
- package/{tree-select-widget-8e9323b2.js → tree-select-widget-976772dd.js} +23 -23
- package/{tree-widget-63524b1b.js → tree-widget-8d387a2a.js} +20 -20
- package/{uuid-b91bcccf.js → uuid-432548c7.js} +1 -1
- package/{verifycode-widget-c5f5c8c5.js → verifycode-widget-841bc8a4.js} +13 -13
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-190ebd92.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-9fca5ac3.js} +7 -7
- package/{wrapper-widget-12efeb35.js → wrapper-widget-ff691f4e.js} +6 -6
- package/auto-complete-widget-294a2011.js +0 -75
- package/chart-widget-714596d3.js +0 -88
- package/date-picker-widget-dee26f46.js +0 -114
- package/default-slot-widget-8e0486f0.js +0 -27
- package/default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-b164b82a.js +0 -84
- package/feedback-widget-33473d38.js +0 -27
- package/form-widget-fb293aee.js +0 -246
- package/image-widget-d0508443.js +0 -65
- package/input-tag-widget-9d042cc0.js +0 -72
- package/mention-widget-f3bc7382.js +0 -83
- package/multirow-9fb6b652.js +0 -230
- package/share-field-ecce5234.js +0 -839
- package/table-col-widget-35a1c0e8.js +0 -23
- package/table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-eb3e958c.js +0 -114
- package/table-widget-f38be8ae.js +0 -352
- package/tmpl-widget-183c4813.js +0 -98
- package/transfer-widget-272bc2e9.js +0 -82
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { defineComponent as B, shallowRef as pe, onMounted as me, openBlock as l, createElementBlock as n, createBlock as i, resolveDynamicComponent as A, defineAsyncComponent as V, computed as _e, ref as E, resolveComponent as P, Fragment as C, createVNode as a, mergeProps as N, unref as t, withCtx as o, toHandlers as Z, createSlots as ee, createElementVNode as
|
|
2
|
-
import { e as u } from "./enum-type-
|
|
3
|
-
import { u as ge } from "./uuid-
|
|
1
|
+
import { defineComponent as B, shallowRef as pe, onMounted as me, openBlock as l, createElementBlock as n, createBlock as i, resolveDynamicComponent as A, defineAsyncComponent as V, computed as _e, ref as E, resolveComponent as P, Fragment as C, createVNode as a, mergeProps as N, unref as t, withCtx as o, toHandlers as Z, createSlots as ee, createElementVNode as r, createTextVNode as W, toDisplayString as c, createCommentVNode as p, renderList as ye, normalizeProps as he } from "vue";
|
|
2
|
+
import { e as u } from "./enum-type-6ac4c4d4.js";
|
|
3
|
+
import { u as ge } from "./uuid-432548c7.js";
|
|
4
4
|
import { I as ke } from "./field-base-1acf3ada.js";
|
|
5
|
-
import { u as ve } from "./share-file-
|
|
6
|
-
import { f as b, w as fe } from "./expression-
|
|
7
|
-
import we from "./form-item-wrapper-
|
|
8
|
-
import { g as Ce } from "./slot-
|
|
9
|
-
import { D as be } from "./drag-wrapper-
|
|
5
|
+
import { u as ve } from "./share-file-b68db0c7.js";
|
|
6
|
+
import { f as b, w as fe } from "./expression-22698064.js";
|
|
7
|
+
import we from "./form-item-wrapper-b9cf5581.js";
|
|
8
|
+
import { g as Ce } from "./slot-e2606e8a.js";
|
|
9
|
+
import { D as be } from "./drag-wrapper-e4f7289b.js";
|
|
10
10
|
import { UploadFilled as De, Plus as $e, Document as Te, Download as te, CircleCheck as le, Close as oe } from "./index-6bcfdc22.js";
|
|
11
|
-
import { L as ae } from "./enum-type-
|
|
11
|
+
import { L as ae } from "./enum-type-e5e6ba33.js";
|
|
12
12
|
import { _ as xe } from "./_plugin-vue_export-helper-dad06003.js";
|
|
13
13
|
import "./widget-base-8eece820.js";
|
|
14
|
-
import "./share-field-
|
|
15
|
-
import "./multirow-
|
|
16
|
-
import "./baseImp-
|
|
14
|
+
import "./share-field-7ecde1ad.js";
|
|
15
|
+
import "./multirow-643b6b12.js";
|
|
16
|
+
import "./baseImp-ae7c0a37.js";
|
|
17
17
|
import "./icon-1fc5d00d.js";
|
|
18
18
|
import "axios";
|
|
19
|
-
import "./dialog-
|
|
19
|
+
import "./dialog-003d60d4.js";
|
|
20
20
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
21
21
|
import "element-plus";
|
|
22
|
-
import "./index-
|
|
22
|
+
import "./index-b76684d8.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
26
|
-
import "./index-
|
|
27
|
-
import "./fieldobj-
|
|
28
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
25
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-9fca5ac3.js";
|
|
26
|
+
import "./index-170931d8.js";
|
|
27
|
+
import "./fieldobj-7311a036.js";
|
|
28
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-f6d14143.js";
|
|
29
29
|
const Ue = {
|
|
30
30
|
class: "full-height full-width",
|
|
31
31
|
style: { overflow: "auto" }
|
|
@@ -39,15 +39,15 @@ const Ue = {
|
|
|
39
39
|
var x, f, y, h, U;
|
|
40
40
|
switch ((x = $.file) == null ? void 0 : x.type) {
|
|
41
41
|
case "application/pdf": {
|
|
42
|
-
m.value = V(() => import("./_pdf-
|
|
42
|
+
m.value = V(() => import("./_pdf-ce2f6ef9.js"));
|
|
43
43
|
break;
|
|
44
44
|
}
|
|
45
45
|
case "text/plain": {
|
|
46
|
-
m.value = V(() => import("./_txt-
|
|
46
|
+
m.value = V(() => import("./_txt-78a70c52.js"));
|
|
47
47
|
break;
|
|
48
48
|
}
|
|
49
49
|
default: {
|
|
50
|
-
(y = (f = $.file) == null ? void 0 : f.type) != null && y.startsWith("image/") ? m.value = V(() => import("./_image-4162224b.js")) : (U = (h = $.file) == null ? void 0 : h.type) != null && U.startsWith("video/") ? m.value = V(() => import("./_video-bc981b0b.js")) : m.value = V(() => import("./_unsupport-
|
|
50
|
+
(y = (f = $.file) == null ? void 0 : f.type) != null && y.startsWith("image/") ? m.value = V(() => import("./_image-4162224b.js")) : (U = (h = $.file) == null ? void 0 : h.type) != null && U.startsWith("video/") ? m.value = V(() => import("./_video-bc981b0b.js")) : m.value = V(() => import("./_unsupport-1b097ae2.js"));
|
|
51
51
|
break;
|
|
52
52
|
}
|
|
53
53
|
}
|
|
@@ -81,10 +81,10 @@ const Ue = {
|
|
|
81
81
|
__name: "file-upload-widget",
|
|
82
82
|
props: { ...ke },
|
|
83
83
|
setup(D, { expose: $ }) {
|
|
84
|
-
const m = D, { handleDownload: T, slots: x, fieldEditor: f, fieldKey: y, uploadData: h, uploadHeaders: U, uploadBtnHidden: H, uploadTip: I, exposed: se, rules: ne, extendAttrs: S, attrs: g, events: R, fieldObj: ie, fileList: M, exterPreview:
|
|
84
|
+
const m = D, { handleDownload: T, slots: x, fieldEditor: f, fieldKey: y, uploadData: h, uploadHeaders: U, uploadBtnHidden: H, uploadTip: I, exposed: se, rules: ne, extendAttrs: S, attrs: g, events: R, fieldObj: ie, fileList: M, exterPreview: re, submitToServer: de, handleManualRemove: z, getRealFile: K, handleStatusChange: q, isAllow: w } = ve(m), ce = _e(() => m.designState ? [{ uid: ge(), url: `${u.i18nt("designer.hint.fileUrl")}`, name: `${u.i18nt("designer.hint.fileName")}` }] : M), G = E({
|
|
85
85
|
"--select-file-action": `'${u.i18nt("render.hint.selectFile")}'`
|
|
86
86
|
}), j = E(!1), J = E(), L = (F) => {
|
|
87
|
-
const s =
|
|
87
|
+
const s = re(F);
|
|
88
88
|
if (!(s != null && s.previewed))
|
|
89
89
|
return j.value = !0, J.value = s == null ? void 0 : s.file, s == null ? void 0 : s.url;
|
|
90
90
|
};
|
|
@@ -111,15 +111,15 @@ const Ue = {
|
|
|
111
111
|
}), ee({ _: 2 }, [
|
|
112
112
|
ye(t(Ce)(t(x), F.designState, (Y = t(S)) == null ? void 0 : Y.slotable), (e) => ({
|
|
113
113
|
name: e == null ? void 0 : e.slotName,
|
|
114
|
-
fn: o(({ file:
|
|
114
|
+
fn: o(({ file: d }) => [
|
|
115
115
|
(e == null ? void 0 : e.slotName) === "file" ? (l(), n(C, { key: 0 }, [
|
|
116
|
-
e.
|
|
116
|
+
e.hasDefault ? (l(), i(A(e.default()), he(N({ key: 0 }, { row: t(K)(d) })), null, 16)) : p("", !0)
|
|
117
117
|
], 64)) : (l(), n(C, { key: 1 }, [
|
|
118
|
-
e.
|
|
118
|
+
e.hasDefault ? (l(), i(A(e.default()), { key: 0 })) : p("", !0)
|
|
119
119
|
], 64)),
|
|
120
120
|
e != null && e.widgetList ? (l(), i(be, N({ key: 2 }, F.$props, {
|
|
121
121
|
widget: e,
|
|
122
|
-
"row-scope": { row: t(K)(
|
|
122
|
+
"row-scope": { row: t(K)(d) },
|
|
123
123
|
dragTip: `${t(u).i18nt("designer.hint.draggableArea1")} [${e == null ? void 0 : e.slotName}]`
|
|
124
124
|
}), null, 16, ["widget", "row-scope", "dragTip"])) : p("", !0)
|
|
125
125
|
])
|
|
@@ -137,7 +137,7 @@ const Ue = {
|
|
|
137
137
|
class: [v.injectClass, t(H) ? "hideUploadDiv" : ""]
|
|
138
138
|
}), ee({
|
|
139
139
|
trigger: o(() => {
|
|
140
|
-
var e,
|
|
140
|
+
var e, d;
|
|
141
141
|
return [
|
|
142
142
|
(e = t(g)) != null && e.drag ? (l(), n(C, { key: 0 }, [
|
|
143
143
|
a(_, { class: "el-icon--upload" }, {
|
|
@@ -146,11 +146,11 @@ const Ue = {
|
|
|
146
146
|
]),
|
|
147
147
|
_: 1
|
|
148
148
|
}),
|
|
149
|
-
|
|
149
|
+
r("div", Ne, [
|
|
150
150
|
W(c(t(u).i18nt("designer.hint.dropFileHere")) + " " + c(t(u).i18nt("designer.hint.or")) + " ", 1),
|
|
151
|
-
|
|
151
|
+
r("em", null, c(t(u).i18nt("designer.hint.clickToUpload")), 1)
|
|
152
152
|
])
|
|
153
|
-
], 64)) : ((
|
|
153
|
+
], 64)) : ((d = t(g)) == null ? void 0 : d.listType) === t(ae).pictureCard ? (l(), i(_, { key: 1 }, {
|
|
154
154
|
default: o(() => [
|
|
155
155
|
a(t($e))
|
|
156
156
|
]),
|
|
@@ -167,12 +167,12 @@ const Ue = {
|
|
|
167
167
|
];
|
|
168
168
|
}),
|
|
169
169
|
file: o(({ file: e }) => {
|
|
170
|
-
var
|
|
170
|
+
var d;
|
|
171
171
|
return [
|
|
172
|
-
((
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
172
|
+
((d = t(g)) == null ? void 0 : d.listType) === t(ae).text ? (l(), n(C, { key: 0 }, [
|
|
173
|
+
r("div", Se, [
|
|
174
|
+
r("a", je, [
|
|
175
|
+
r("div", null, [
|
|
176
176
|
a(_, null, {
|
|
177
177
|
default: o(() => [
|
|
178
178
|
a(t(Te))
|
|
@@ -202,7 +202,7 @@ const Ue = {
|
|
|
202
202
|
])) : p("", !0)
|
|
203
203
|
])
|
|
204
204
|
]),
|
|
205
|
-
|
|
205
|
+
r("label", Oe, [
|
|
206
206
|
(e == null ? void 0 : e.status) === "success" ? (l(), i(_, {
|
|
207
207
|
key: 0,
|
|
208
208
|
class: "el-icon--upload-success el-icon--check",
|
|
@@ -225,13 +225,13 @@ const Ue = {
|
|
|
225
225
|
_: 1
|
|
226
226
|
}, 8, ["onClick"])) : p("", !0)
|
|
227
227
|
], 64)) : (l(), n(C, { key: 1 }, [
|
|
228
|
-
|
|
228
|
+
r("img", {
|
|
229
229
|
class: "el-upload-list__item-thumbnail",
|
|
230
230
|
src: e == null ? void 0 : e.url,
|
|
231
231
|
alt: ""
|
|
232
232
|
}, null, 8, Ee),
|
|
233
|
-
|
|
234
|
-
|
|
233
|
+
r("div", Ae, [
|
|
234
|
+
r("a", Be, [
|
|
235
235
|
t(w)(t(b).allowPreview, e) ? (l(), n("span", {
|
|
236
236
|
key: 1,
|
|
237
237
|
class: "el-upload-list__item-file-name",
|
|
@@ -254,7 +254,7 @@ const Ue = {
|
|
|
254
254
|
])) : p("", !0)
|
|
255
255
|
])
|
|
256
256
|
]),
|
|
257
|
-
|
|
257
|
+
r("label", Me, [
|
|
258
258
|
(e == null ? void 0 : e.status) === "success" ? (l(), i(_, {
|
|
259
259
|
key: 0,
|
|
260
260
|
class: "el-icon--upload-success el-icon--check",
|
|
@@ -284,7 +284,7 @@ const Ue = {
|
|
|
284
284
|
t(I) ? {
|
|
285
285
|
name: "tip",
|
|
286
286
|
fn: o(() => [
|
|
287
|
-
|
|
287
|
+
r("div", Ve, c(t(I)), 1)
|
|
288
288
|
]),
|
|
289
289
|
key: "0"
|
|
290
290
|
} : void 0,
|
|
@@ -297,12 +297,12 @@ const Ue = {
|
|
|
297
297
|
key: 0,
|
|
298
298
|
class: "ml-3",
|
|
299
299
|
type: "primary",
|
|
300
|
-
onClick: t(
|
|
300
|
+
onClick: t(de)
|
|
301
301
|
}, {
|
|
302
302
|
default: o(() => {
|
|
303
|
-
var
|
|
303
|
+
var d;
|
|
304
304
|
return [
|
|
305
|
-
W(c(((
|
|
305
|
+
W(c(((d = t(S)) == null ? void 0 : d.submitUploadTip) || t(u).i18nt("designer.hint.submitUploadTip")), 1)
|
|
306
306
|
];
|
|
307
307
|
}),
|
|
308
308
|
_: 1
|
|
@@ -326,7 +326,7 @@ const Ue = {
|
|
|
326
326
|
class: "--hl-dialog full-height"
|
|
327
327
|
}, {
|
|
328
328
|
footer: o(() => [
|
|
329
|
-
|
|
329
|
+
r("div", ze, [
|
|
330
330
|
a(O, {
|
|
331
331
|
type: "primary",
|
|
332
332
|
onClick: s[0] || (s[0] = (v) => j.value = !1)
|
|
@@ -347,7 +347,7 @@ const Ue = {
|
|
|
347
347
|
};
|
|
348
348
|
}
|
|
349
349
|
});
|
|
350
|
-
const Ct = /* @__PURE__ */ xe(qe, [["__scopeId", "data-v-
|
|
350
|
+
const Ct = /* @__PURE__ */ xe(qe, [["__scopeId", "data-v-ad63c692"]]);
|
|
351
351
|
export {
|
|
352
352
|
Ct as default
|
|
353
353
|
};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { defineComponent as z, computed as i, resolveComponent as F, openBlock as t, createBlock as c, normalizeProps as g, guardReactiveProps as h, withCtx as p, mergeProps as n, createSlots as S, renderSlot as d, createVNode as _, createElementBlock as q, normalizeClass as C, createElementVNode as b, normalizeStyle as H } from "vue";
|
|
2
2
|
import { I as N } from "./field-base-1acf3ada.js";
|
|
3
|
-
import { _ as O } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
4
|
-
import { _ as v } from "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
5
|
-
import { u as w } from "./fieldobj-
|
|
3
|
+
import { _ as O } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-9fca5ac3.js";
|
|
4
|
+
import { _ as v } from "./label-wrapper.vue_vue_type_style_index_0_lang-f6d14143.js";
|
|
5
|
+
import { u as w } from "./fieldobj-7311a036.js";
|
|
6
6
|
import { _ as x } from "./_plugin-vue_export-helper-dad06003.js";
|
|
7
7
|
import "./widget-base-8eece820.js";
|
|
8
|
-
import "./enum-type-
|
|
9
|
-
import "./index-
|
|
10
|
-
import "./uuid-
|
|
11
|
-
import "./enum-type-
|
|
12
|
-
import "./baseImp-
|
|
13
|
-
import "./expression-
|
|
8
|
+
import "./enum-type-6ac4c4d4.js";
|
|
9
|
+
import "./index-b76684d8.js";
|
|
10
|
+
import "./uuid-432548c7.js";
|
|
11
|
+
import "./enum-type-e5e6ba33.js";
|
|
12
|
+
import "./baseImp-ae7c0a37.js";
|
|
13
|
+
import "./expression-22698064.js";
|
|
14
14
|
import "./source-map-b04aec4a.js";
|
|
15
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
16
|
import "./esprima-e8d15055.js";
|
|
17
17
|
import "./icon-1fc5d00d.js";
|
|
18
18
|
import "axios";
|
|
19
|
-
import "./dialog-
|
|
19
|
+
import "./dialog-003d60d4.js";
|
|
20
20
|
import "element-plus";
|
|
21
|
-
import "./index-
|
|
21
|
+
import "./index-170931d8.js";
|
|
22
22
|
const B = { class: "el-form-item__content" }, W = /* @__PURE__ */ z({
|
|
23
23
|
__name: "form-item-wrapper",
|
|
24
24
|
props: { ...N },
|
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
import { ref as X, reactive as U, onMounted as me, nextTick as Ee, defineComponent as pe, computed as ae, resolveComponent as je, resolveDirective as Me, openBlock as ie, createBlock as le, mergeProps as J, unref as h, withCtx as de, withDirectives as Ne, toHandlers as Re, withModifiers as Pe, createVNode as Ae } from "vue";
|
|
2
|
+
import { I as $e } from "./widget-base-8eece820.js";
|
|
3
|
+
import { D as ke } from "./drag-wrapper-e4f7289b.js";
|
|
4
|
+
import { _ as Be } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-9fca5ac3.js";
|
|
5
|
+
import { w as Y, a as re, b as I, f as x, i as Ie } from "./expression-22698064.js";
|
|
6
|
+
import { u as qe } from "./icon-1fc5d00d.js";
|
|
7
|
+
import { u as He, a as Te } from "./multirow-643b6b12.js";
|
|
8
|
+
import { a as ze, c as Ge, b as Ke, G as Q, M as se, e as ve, d as ce, N as fe, O as Ue, A as Je, g as Qe } from "./enum-type-6ac4c4d4.js";
|
|
9
|
+
import { b as Xe, c as ue, $ as Ye, B as Ze } from "./baseImp-ae7c0a37.js";
|
|
10
|
+
import { f as et } from "./index-b76684d8.js";
|
|
11
|
+
import { a as tt, u as ot } from "./share-field-7ecde1ad.js";
|
|
12
|
+
import { W as nt } from "./enum-type-e5e6ba33.js";
|
|
13
|
+
import { F as at } from "./slot-e2606e8a.js";
|
|
14
|
+
import { _ as it } from "./_plugin-vue_export-helper-dad06003.js";
|
|
15
|
+
function lt(s, D) {
|
|
16
|
+
const { getWidgetOption: f, getWidgetOptionByPropValue: C } = Xe(s, D), _ = (p) => f(p);
|
|
17
|
+
return {
|
|
18
|
+
existFunc: _,
|
|
19
|
+
handleFunc: (p, W) => {
|
|
20
|
+
if (ze(p)) {
|
|
21
|
+
var b = _(String(p));
|
|
22
|
+
return ue(b, W);
|
|
23
|
+
} else {
|
|
24
|
+
var b = C(Ge(p));
|
|
25
|
+
return ue(b, W);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
function dt(s) {
|
|
31
|
+
const D = s.widget, f = s.designer, C = f == null ? void 0 : f.pageConfig, _ = s == null ? void 0 : s.widgetList, y = X({}), p = {}, { fieldModel: W, fieldName: b, fieldEditor: u, attrs: N, events: w, hasFieldOptions: R, exposed: S, fieldObj: q, watchOption: V, propResultOpt: E, extendAttrs: L } = tt(s), { off$: i, on$: v, emit$: H, broadcast: P } = Te();
|
|
32
|
+
var { instance: O } = qe();
|
|
33
|
+
const { setAllRefList: A } = ot(y.value), j = { designState: s == null ? void 0 : s.designState, pageConfig: C, globalConfig: E == null ? void 0 : E.globalConfig }, { formModel: $, setData: ge, getData: k, clearData: Z } = He(_, { ...j }, O), { handleFunc: T } = lt({ options: C }, j), z = U({}), he = () => {
|
|
34
|
+
i(x.fieldChange), v(x.fieldChange, (e) => {
|
|
35
|
+
De(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue), S == null || S.setValue($), be(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue);
|
|
36
|
+
});
|
|
37
|
+
}, _e = () => {
|
|
38
|
+
i(x.fieldValidation), v(x.fieldValidation, (e) => {
|
|
39
|
+
var t;
|
|
40
|
+
(t = u.value) == null || t.validateField(e == null ? void 0 : e.propName);
|
|
41
|
+
});
|
|
42
|
+
}, Ce = () => {
|
|
43
|
+
i(x.fieldRuleChange), v(x.fieldRuleChange, (e) => {
|
|
44
|
+
var o;
|
|
45
|
+
var t = (o = e == null ? void 0 : e.rules) == null ? void 0 : o.map((n) => ({
|
|
46
|
+
required: n.required,
|
|
47
|
+
message: n.message,
|
|
48
|
+
trigger: n.trigger,
|
|
49
|
+
validator: n.validator
|
|
50
|
+
}));
|
|
51
|
+
Object.assign(z, { [e == null ? void 0 : e.fieldName]: t }), N.value.rules = z;
|
|
52
|
+
});
|
|
53
|
+
}, G = X(!1), K = U({}), B = U({}), ee = (e) => {
|
|
54
|
+
se(B), ce(B, e);
|
|
55
|
+
}, Fe = () => ({
|
|
56
|
+
change_info: Q(K),
|
|
57
|
+
before_info: Q(B),
|
|
58
|
+
after_info: Q($),
|
|
59
|
+
flag: G.value
|
|
60
|
+
}), be = (e, t, o) => {
|
|
61
|
+
var n = B[e];
|
|
62
|
+
fe(t, o) || fe(t, n) || (G.value = !0, e && ce(K, { [e]: { oldValue: n, newValue: t, beforeValue: o } }));
|
|
63
|
+
}, we = () => {
|
|
64
|
+
G.value = !1, se(K), ee(k());
|
|
65
|
+
}, De = (e, t, o) => {
|
|
66
|
+
T(w.value.formDataChange, { field: { fieldName: e, newValue: t, oldValue: o }, formModel: $ });
|
|
67
|
+
}, We = () => {
|
|
68
|
+
T(w.value.formCreated);
|
|
69
|
+
}, Se = () => {
|
|
70
|
+
T(w.value.formMounted);
|
|
71
|
+
}, Ve = () => {
|
|
72
|
+
Ce(), he(), _e(), We();
|
|
73
|
+
}, Le = (e) => {
|
|
74
|
+
var t;
|
|
75
|
+
(t = u.value) == null || t.clearValidate(e);
|
|
76
|
+
}, Oe = () => {
|
|
77
|
+
A(nt.resetField), Ee(() => {
|
|
78
|
+
Le();
|
|
79
|
+
});
|
|
80
|
+
}, te = (e, t) => {
|
|
81
|
+
let o = [];
|
|
82
|
+
for (let m in e) {
|
|
83
|
+
var n = e[m], l = n == null ? void 0 : n.filter((d) => (d == null ? void 0 : d.force) === t);
|
|
84
|
+
l == null || l.forEach((d) => {
|
|
85
|
+
var r;
|
|
86
|
+
const g = (r = d == null ? void 0 : d.rule) == null ? void 0 : r.label;
|
|
87
|
+
d.message && o.push(Ie(g ? "【" + g + "】" : "", d.message, ":"));
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
return Ue(o);
|
|
91
|
+
}, xe = (e, t) => {
|
|
92
|
+
var o = {};
|
|
93
|
+
return et(t, (n) => {
|
|
94
|
+
var l = Ze.getName(n), m = Je(e, l);
|
|
95
|
+
return m && (o[l] = e[l]), m;
|
|
96
|
+
}, !1), o;
|
|
97
|
+
}, ye = (e = !0) => {
|
|
98
|
+
var l, m, d;
|
|
99
|
+
let t = k(), o = function() {
|
|
100
|
+
}, n = new Promise(function(g, r) {
|
|
101
|
+
o = function(c, a) {
|
|
102
|
+
(a ? r : g)({ data: c, isSuccess: !a, message: a });
|
|
103
|
+
};
|
|
104
|
+
});
|
|
105
|
+
return !((l = u.value) != null && l.validate) || !e ? (o(t), n) : ((d = (m = u.value) == null ? void 0 : m.validate) == null || d.call(m, (g, r) => {
|
|
106
|
+
if (g)
|
|
107
|
+
o(t);
|
|
108
|
+
else {
|
|
109
|
+
var c = te(r, !0);
|
|
110
|
+
if (c && c.length > 0) {
|
|
111
|
+
o(t, c);
|
|
112
|
+
return;
|
|
113
|
+
}
|
|
114
|
+
var a = te(r, !1);
|
|
115
|
+
if (a && a.length > 0) {
|
|
116
|
+
a.push(ve.i18nt("designer.hint.continue")), Ye.multiple(a).then((F) => {
|
|
117
|
+
o(t);
|
|
118
|
+
});
|
|
119
|
+
return;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}), n);
|
|
123
|
+
}, oe = (e, t = !0) => {
|
|
124
|
+
if (!D)
|
|
125
|
+
return;
|
|
126
|
+
var o = xe(e, [D]);
|
|
127
|
+
ge(o, t);
|
|
128
|
+
const n = ["refList", "widgetRefList"];
|
|
129
|
+
P(Y.ContainerWidget, re.setFormData, e, O, n), P(Y.FieldWidget, re.setFormData, e, O, n);
|
|
130
|
+
}, ne = (e) => new Promise((t, o) => {
|
|
131
|
+
const n = (r, c) => {
|
|
132
|
+
var M;
|
|
133
|
+
const a = (M = L.value) == null ? void 0 : M.formDataLoaded;
|
|
134
|
+
let F = a ? a == null ? void 0 : a(k(), r) : r;
|
|
135
|
+
Qe(F) ? oe(F, !c) : F = {}, ee(F), t(F);
|
|
136
|
+
}, l = () => {
|
|
137
|
+
const r = (c) => {
|
|
138
|
+
n(c, !0);
|
|
139
|
+
};
|
|
140
|
+
V(I.newDataSource, void 0, r);
|
|
141
|
+
}, m = () => {
|
|
142
|
+
const r = (c) => {
|
|
143
|
+
var M;
|
|
144
|
+
const a = (M = L.value) == null ? void 0 : M.needFormAdd;
|
|
145
|
+
if ((a == null ? void 0 : a(c)) && g) {
|
|
146
|
+
l();
|
|
147
|
+
return;
|
|
148
|
+
}
|
|
149
|
+
n(c, !1);
|
|
150
|
+
};
|
|
151
|
+
V(I.editDataSource, void 0, r);
|
|
152
|
+
}, d = R(I.editDataSource), g = R(I.newDataSource);
|
|
153
|
+
d ? m() : g && l();
|
|
154
|
+
});
|
|
155
|
+
return Ve(), me(() => {
|
|
156
|
+
Ke(), Se();
|
|
157
|
+
}), {
|
|
158
|
+
widgetRefList: y,
|
|
159
|
+
allWidgetRefList: p,
|
|
160
|
+
fieldEditor: u,
|
|
161
|
+
formModel: $,
|
|
162
|
+
pageConfig: C,
|
|
163
|
+
widgetList: _,
|
|
164
|
+
fieldModel: W,
|
|
165
|
+
fieldName: b,
|
|
166
|
+
attrs: N,
|
|
167
|
+
extendAttrs: L,
|
|
168
|
+
events: w,
|
|
169
|
+
rules: z,
|
|
170
|
+
loadData: ne,
|
|
171
|
+
clearData: Z,
|
|
172
|
+
exposed: {
|
|
173
|
+
...S,
|
|
174
|
+
setValue: oe,
|
|
175
|
+
getValue: ye,
|
|
176
|
+
resetField: Oe,
|
|
177
|
+
clearData: Z,
|
|
178
|
+
loadData: ne,
|
|
179
|
+
getData: k,
|
|
180
|
+
//修改痕迹
|
|
181
|
+
clearChangeRecord: we,
|
|
182
|
+
getChangeRecord: Fe,
|
|
183
|
+
emit$: H
|
|
184
|
+
},
|
|
185
|
+
fieldObj: q
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
const rt = pe({ componentName: Y.ContainerWidget }), st = /* @__PURE__ */ pe({
|
|
189
|
+
...rt,
|
|
190
|
+
__name: "form-widget",
|
|
191
|
+
props: { ...$e },
|
|
192
|
+
setup(s, { expose: D }) {
|
|
193
|
+
var L;
|
|
194
|
+
const f = s, { exposed: C, formModel: _, fieldEditor: y, attrs: p, events: W, widgetRefList: b, extendAttrs: u, fieldName: N, fieldObj: w, loadData: R } = dt({ ...f, widgetList: (L = f == null ? void 0 : f.widget) == null ? void 0 : L.widgetList }), S = N.value, q = ae(() => {
|
|
195
|
+
var i, v;
|
|
196
|
+
return {
|
|
197
|
+
disabled: (i = p.value) == null ? void 0 : i.disabled,
|
|
198
|
+
readonly: (v = u.value) == null ? void 0 : v.readonly
|
|
199
|
+
};
|
|
200
|
+
}), V = X(!1), E = ae(() => {
|
|
201
|
+
var i;
|
|
202
|
+
return V.value || ((i = u.value) == null ? void 0 : i.showLoading);
|
|
203
|
+
});
|
|
204
|
+
return at.globalProvide({
|
|
205
|
+
globalFormName: S,
|
|
206
|
+
globalDataModel: _,
|
|
207
|
+
globalFormOptions: q
|
|
208
|
+
}), me(() => {
|
|
209
|
+
var i;
|
|
210
|
+
(i = u.value) != null && i.loadDataWhenInit && !f.designState && (V.value = !0, R(!0).catch((v) => {
|
|
211
|
+
}).finally(() => {
|
|
212
|
+
V.value = !1, C.clearChangeRecord();
|
|
213
|
+
}));
|
|
214
|
+
}), D({ ...C }), (i, v) => {
|
|
215
|
+
const H = je("el-form"), P = Me("loading");
|
|
216
|
+
return ie(), le(Be, J(i.$props, {
|
|
217
|
+
"prop-options": { fieldObj: h(w) }
|
|
218
|
+
}), {
|
|
219
|
+
default: de(({ data: O }) => {
|
|
220
|
+
var A;
|
|
221
|
+
return [
|
|
222
|
+
Ne((ie(), le(H, J({
|
|
223
|
+
ref_key: "fieldEditor",
|
|
224
|
+
ref: y,
|
|
225
|
+
model: h(_)
|
|
226
|
+
}, h(p), Re(h(W)), {
|
|
227
|
+
class: O.injectClass,
|
|
228
|
+
key: (A = h(w)) == null ? void 0 : A.fieldKey,
|
|
229
|
+
"element-loading-text": h(u).loadingText || h(ve).i18nt("designer.hint.dataLoading"),
|
|
230
|
+
onSubmit: v[0] || (v[0] = Pe(() => {
|
|
231
|
+
}, ["prevent"]))
|
|
232
|
+
}), {
|
|
233
|
+
default: de(() => {
|
|
234
|
+
var j;
|
|
235
|
+
return [
|
|
236
|
+
Ae(ke, J(i.$props, {
|
|
237
|
+
dragClass: "formDrag padSize",
|
|
238
|
+
model: h(_),
|
|
239
|
+
provideModel: !0,
|
|
240
|
+
"component-class": O.componentWrapperClass,
|
|
241
|
+
refList: h(b),
|
|
242
|
+
"show-suspense": (j = h(u)) == null ? void 0 : j.showSuspense
|
|
243
|
+
}), null, 16, ["model", "component-class", "refList", "show-suspense"])
|
|
244
|
+
];
|
|
245
|
+
}),
|
|
246
|
+
_: 2
|
|
247
|
+
}, 1040, ["model", "class", "element-loading-text"])), [
|
|
248
|
+
[P, E.value]
|
|
249
|
+
])
|
|
250
|
+
];
|
|
251
|
+
}),
|
|
252
|
+
_: 1
|
|
253
|
+
}, 16, ["prop-options"]);
|
|
254
|
+
};
|
|
255
|
+
}
|
|
256
|
+
});
|
|
257
|
+
const ct = /* @__PURE__ */ it(st, [["__scopeId", "data-v-2649eac0"]]), St = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
258
|
+
__proto__: null,
|
|
259
|
+
default: ct
|
|
260
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
261
|
+
export {
|
|
262
|
+
St as _,
|
|
263
|
+
lt as u
|
|
264
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as e } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-
|
|
1
|
+
import { _ as e } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-3c662d58.js";
|
|
2
2
|
const o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3
3
|
__proto__: null,
|
|
4
4
|
default: e
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as m, computed as l, reactive as C, openBlock as y, createBlock as O, mergeProps as c, unref as r, withCtx as W, createVNode as x } from "vue";
|
|
2
|
-
import { w as
|
|
3
|
-
import { I as
|
|
4
|
-
import { D as
|
|
5
|
-
import { _ as j } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
6
|
-
import {
|
|
7
|
-
import { c as $ } from "./slot-
|
|
8
|
-
const z = m({ componentName:
|
|
2
|
+
import { w as k } from "./expression-22698064.js";
|
|
3
|
+
import { I as A } from "./widget-base-8eece820.js";
|
|
4
|
+
import { D as b } from "./drag-wrapper-e4f7289b.js";
|
|
5
|
+
import { _ as j } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-9fca5ac3.js";
|
|
6
|
+
import { a as H } from "./share-field-7ecde1ad.js";
|
|
7
|
+
import { c as $ } from "./slot-e2606e8a.js";
|
|
8
|
+
const z = m({ componentName: k.ContainerWidget }), V = /* @__PURE__ */ m({
|
|
9
9
|
...z,
|
|
10
10
|
__name: "grid-col-widget",
|
|
11
11
|
props: {
|
|
12
|
-
...
|
|
12
|
+
...A
|
|
13
13
|
},
|
|
14
14
|
setup(d, { expose: u }) {
|
|
15
15
|
const n = d, { attrs: o, fieldObj: g, extendAttrs: a, exposed: f } = H(n), v = l(() => n.propOptions.colHeight ? { height: n.propOptions.colHeight } : {}), { customClass: _, componentWrapperClass: h } = $({ widget: n.widget }), w = l(() => (Object.keys(o.value).forEach((e) => {
|
|
@@ -26,7 +26,7 @@ const z = m({ componentName: b.ContainerWidget }), V = /* @__PURE__ */ m({
|
|
|
26
26
|
"prop-options": { fieldObj: { ...r(g), attrs: w.value }, class: ["content-cell", "nopadding", "nomargin", (t = r(a)) == null ? void 0 : t.horizontalAlign, (s = r(a)) == null ? void 0 : s.verticalAlign, r(_)], style: v.value }
|
|
27
27
|
}), {
|
|
28
28
|
default: W(() => [
|
|
29
|
-
x(
|
|
29
|
+
x(b, c(e.$props, {
|
|
30
30
|
dragClass: "dragSize1",
|
|
31
31
|
"component-class": r(h)
|
|
32
32
|
}), null, 16, ["component-class"])
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as p, openBlock as t, createBlock as s, mergeProps as f, unref as o, withCtx as u, createElementBlock as w, Fragment as b, renderList as h } from "vue";
|
|
2
|
-
import { b as k, w as y } from "./expression-
|
|
2
|
+
import { b as k, w as y } from "./expression-22698064.js";
|
|
3
3
|
import { I as C } from "./widget-base-8eece820.js";
|
|
4
|
-
import { _ as O } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-
|
|
5
|
-
import { _ as S } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
6
|
-
import {
|
|
7
|
-
import { c as P } from "./slot-
|
|
4
|
+
import { _ as O } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-3c662d58.js";
|
|
5
|
+
import { _ as S } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-9fca5ac3.js";
|
|
6
|
+
import { a as j } from "./share-field-7ecde1ad.js";
|
|
7
|
+
import { c as P } from "./slot-e2606e8a.js";
|
|
8
8
|
const v = p({ componentName: y.ContainerWidget }), B = /* @__PURE__ */ p({
|
|
9
9
|
...v,
|
|
10
10
|
__name: "grid-widget",
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { defineComponent as C, useCssVars as j, computed as t, openBlock as l, createBlock as f, mergeProps as p, unref as r, withCtx as D, createElementBlock as _, normalizeClass as E, createElementVNode as g, Fragment as F, createTextVNode as I, toDisplayString as P, normalizeStyle as H, createVNode as O } from "vue";
|
|
2
|
-
import { _ as K } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
3
|
-
import {
|
|
4
|
-
import { D as v } from "./drag-wrapper-
|
|
5
|
-
import { w as q } from "./expression-
|
|
6
|
-
import { d as h } from "./slot-
|
|
2
|
+
import { _ as K } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-9fca5ac3.js";
|
|
3
|
+
import { a as T } from "./share-field-7ecde1ad.js";
|
|
4
|
+
import { D as v } from "./drag-wrapper-e4f7289b.js";
|
|
5
|
+
import { w as q } from "./expression-22698064.js";
|
|
6
|
+
import { d as h } from "./slot-e2606e8a.js";
|
|
7
7
|
import { I as A } from "./widget-base-8eece820.js";
|
|
8
8
|
import { g as i, a as G } from "./color-bae04003.js";
|
|
9
9
|
import { _ as J } from "./_plugin-vue_export-helper-dad06003.js";
|
|
10
|
-
import "./enum-type-
|
|
11
|
-
import "./index-
|
|
12
|
-
import "./uuid-
|
|
13
|
-
import "./enum-type-
|
|
14
|
-
import "./baseImp-
|
|
10
|
+
import "./enum-type-6ac4c4d4.js";
|
|
11
|
+
import "./index-b76684d8.js";
|
|
12
|
+
import "./uuid-432548c7.js";
|
|
13
|
+
import "./enum-type-e5e6ba33.js";
|
|
14
|
+
import "./baseImp-ae7c0a37.js";
|
|
15
15
|
import "./icon-1fc5d00d.js";
|
|
16
16
|
import "axios";
|
|
17
|
-
import "./dialog-
|
|
17
|
+
import "./dialog-003d60d4.js";
|
|
18
18
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
19
19
|
import "element-plus";
|
|
20
|
-
import "./index-
|
|
21
|
-
import "./fieldobj-
|
|
22
|
-
import "./multirow-
|
|
20
|
+
import "./index-170931d8.js";
|
|
21
|
+
import "./fieldobj-7311a036.js";
|
|
22
|
+
import "./multirow-643b6b12.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
25
|
const L = { class: "--hcard-header" }, M = C({ componentName: q.ContainerWidget }), Q = /* @__PURE__ */ C({
|