hlrender 0.0.265 → 0.0.268
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-6c1f3026.js → _pdf-594c78bc.js} +1 -1
- package/{_txt-4542b7e6.js → _txt-e8ca6b7d.js} +1 -1
- package/{affix-widget-8994e960.js → affix-widget-89816827.js} +9 -9
- package/{alert-widget-e67e628e.js → alert-widget-8cc83973.js} +9 -9
- package/{anchor-widget-7b8852ec.js → anchor-widget-c9318b9a.js} +6 -6
- package/{auto-complete-widget-e72f8184.js → auto-complete-widget-d9865180.js} +8 -8
- package/{avatar-widget-0f6fac3b.js → avatar-widget-f61254e1.js} +9 -9
- package/{backtop-widget-be20e686.js → backtop-widget-bc358b4a.js} +9 -9
- package/{badge-widget-983b09b9.js → badge-widget-4f3c9b5e.js} +9 -9
- package/{barcode-widget-3b2ee09f.js → barcode-widget-84c9d547.js} +6 -6
- package/{baseImp-ef5340cf.js → baseImp-1b539054.js} +2835 -2837
- package/{breadcrumb-widget-04e62b80.js → breadcrumb-widget-51f17ab5.js} +6 -6
- package/{button-widget-53884cd0.js → button-widget-3367df1e.js} +9 -9
- package/{cache-widget-8484d356.js → cache-widget-8db7e270.js} +7 -7
- package/{card-widget-0d005298.js → card-widget-63c0aff1.js} +7 -7
- package/{carousel-widget-2c15470f.js → carousel-widget-e6af6a98.js} +7 -7
- package/{cascader-widget-982fe83f.js → cascader-widget-2770b6e5.js} +7 -7
- package/{chart-widget-850bab48.js → chart-widget-d3268809.js} +6 -6
- package/{checkbox-widget-720ce327.js → checkbox-widget-25b06064.js} +7 -7
- package/{collapse-widget-80303423.js → collapse-widget-2c641841.js} +7 -7
- package/{color-picker-widget-8f1ae39d.js → color-picker-widget-89b2b921.js} +7 -7
- package/{cont-cell-widget-900eea5c.js → cont-cell-widget-2e2a4348.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-4cd43d0f.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-265fb735.js} +4 -4
- package/{cont-widget-21bf1a0f.js → cont-widget-b311b341.js} +4 -4
- package/{content-wrapper-5c070023.js → content-wrapper-24d51168.js} +2 -2
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-19b828bd.js → content-wrapper.vue_vue_type_script_setup_true_lang-11f71ef0.js} +1 -1
- package/{countdown-widget-46b66846.js → countdown-widget-36ed5df7.js} +9 -9
- package/{date-picker-range-widget-0d947f0b.js → date-picker-range-widget-a74068eb.js} +7 -7
- package/{date-picker-widget-6feb7173.js → date-picker-widget-c4aa31bd.js} +7 -7
- package/{default-slot-widget-0272f627.js → default-slot-widget-c21b89a2.js} +7 -7
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-73a0763c.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-cb63af58.js} +4 -4
- package/{descriptions-widget-45bea81c.js → descriptions-widget-e87aae0a.js} +7 -7
- package/{dialog-widget-33ab582b.js → dialog-widget-c501db89.js} +8 -8
- package/{divider-widget-1fb77ca3.js → divider-widget-6f569293.js} +9 -9
- package/{drag-wrapper-995c4383.js → drag-wrapper-34808d28.js} +4 -4
- package/{drawer-widget-dffbe314.js → drawer-widget-fc27b216.js} +8 -8
- package/{dropdown-widget-7a829a96.js → dropdown-widget-86bb575b.js} +7 -7
- package/{empty-widget-d91e8e0f.js → empty-widget-f727820c.js} +9 -9
- package/{feedback-widget-7ad3a3bf.js → feedback-widget-e53049da.js} +8 -8
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-bc6708a3.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-4051a0d7.js} +4 -4
- package/{file-upload-widget-7a99a1d2.js → file-upload-widget-ffa9ad94.js} +11 -11
- package/{form-item-wrapper-da5f931c.js → form-item-wrapper-88b51079.js} +3 -3
- package/form-widget-93130d72.js +246 -0
- package/{grid-col-widget-f2446a39.js → grid-col-widget-1b3159c9.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-755536a6.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-26b92457.js} +4 -4
- package/{grid-widget-09a52c13.js → grid-widget-ad51ac81.js} +4 -4
- package/{hcard-widget-3153ab7b.js → hcard-widget-fb58d77b.js} +7 -7
- package/{html-text-widget-8d7a0205.js → html-text-widget-756df9a2.js} +7 -7
- package/{icon-widget-087e0cd1.js → icon-widget-d2d6fe37.js} +6 -6
- package/{iframe-widget-aac7f05a.js → iframe-widget-62372a2b.js} +6 -6
- package/{image-widget-fea57efa.js → image-widget-39b83303.js} +6 -6
- package/{index-16b31ca7.js → index-dc309777.js} +1 -1
- package/{input-number-widget-3bbfc9e9.js → input-number-widget-f71422af.js} +7 -7
- package/{input-tag-widget-8fcdfe2e.js → input-tag-widget-d654e7f4.js} +8 -8
- package/{input-widget-76981ea6.js → input-widget-c2d5ffc1.js} +8 -8
- package/{link-widget-fd09fd1c.js → link-widget-f9c669df.js} +9 -9
- package/{ltable-col-widget-d370c8b9.js → ltable-col-widget-2193812c.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-7406d3ec.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-2d60bb58.js} +6 -6
- package/{ltable-widget-5eb87417.js → ltable-widget-388c45a1.js} +4 -4
- package/{mention-widget-8b305f30.js → mention-widget-77373ae8.js} +8 -8
- package/{menu-widget-86c8a0d1.js → menu-widget-5719c90f.js} +7 -7
- package/{model-widget-59dee29c.js → model-widget-5642e313.js} +6 -6
- package/{multirow-0f01fada.js → multirow-7237a6cd.js} +3 -3
- package/{multirow-widget-a066f8c6.js → multirow-widget-51ae8e72.js} +7 -7
- package/package.json +1 -1
- package/{pagination-widget-6e1e60bd.js → pagination-widget-fb521dcf.js} +6 -6
- package/{picture-upload-widget-20b7df8c.js → picture-upload-widget-3a282a04.js} +8 -8
- package/{progress-widget-35aef99f.js → progress-widget-d24b4057.js} +7 -7
- package/{qrcode-widget-3a742bb4.js → qrcode-widget-32de789b.js} +6 -6
- package/{radio-widget-572a4c3e.js → radio-widget-e27bed26.js} +7 -7
- package/{range-widget-9d20026c.js → range-widget-7cba4e8e.js} +8 -8
- package/{rate-widget-f3cceefc.js → rate-widget-87922b5c.js} +7 -7
- package/render.es.js +24 -24
- package/render.umd.js +349 -349
- package/{result-widget-1bfaaf79.js → result-widget-cba7e9a3.js} +7 -7
- package/{rich-editor-widget-ae0e7f25.js → rich-editor-widget-f1b8c184.js} +7 -7
- package/{router-widget-dfb66e06.js → router-widget-05b01295.js} +6 -6
- package/{segmented-widget-bda05a3f.js → segmented-widget-dc5e0c04.js} +6 -6
- package/{select-widget-774ae869.js → select-widget-6bc25c73.js} +7 -7
- package/{sfc-23323161.js → sfc-6bfa8c45.js} +3 -3
- package/{sfcview-2bbf753d.js → sfcview-e65d9e19.js} +2 -2
- package/share-field-8ff93bee.js +839 -0
- package/{share-file-01a961a2.js → share-file-5e3ac008.js} +2 -2
- package/{skeleton-widget-18c5a26d.js → skeleton-widget-a0a7a1ca.js} +9 -9
- package/{skeletonItem-widget-e6b55a8b.js → skeletonItem-widget-ab4d9d62.js} +6 -6
- package/{slider-widget-a7a19b51.js → slider-widget-e1730786.js} +7 -7
- package/{slot-d01152ae.js → slot-c256f990.js} +1 -1
- package/{space-widget-e7e228a1.js → space-widget-0a48c722.js} +7 -7
- package/{splitter-widget-f8257cbc.js → splitter-widget-c38988ea.js} +7 -7
- package/{static-text-widget-2dbf50e2.js → static-text-widget-2de30fa0.js} +7 -7
- package/{statistic-widget-163a16e4.js → statistic-widget-a9dc2961.js} +9 -9
- package/{steps-widget-ee811e93.js → steps-widget-b4f6083b.js} +6 -6
- package/{subMenu-widget-42d33e2e.js → subMenu-widget-2dd5d119.js} +2 -2
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-84edf759.js → subMenu-widget.vue_vue_type_script_setup_true_lang-45b5da3d.js} +1 -1
- package/{switch-widget-341a9302.js → switch-widget-30552ea8.js} +7 -7
- package/{tab-pane-widget-ffb0be20.js → tab-pane-widget-8b490391.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-cf7cdea6.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-3cd5f8c7.js} +4 -4
- package/{table-col-widget-ab706207.js → table-col-widget-8e624b55.js} +6 -6
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-17d969cc.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-df623978.js} +4 -4
- package/{table-widget-3d4ad066.js → table-widget-d2b031e5.js} +8 -8
- package/{tabs-widget-a6852f29.js → tabs-widget-ceb53ffb.js} +5 -5
- package/{tag-widget-83f52b18.js → tag-widget-1f275395.js} +9 -9
- package/{text-widget-54273cab.js → text-widget-16235daa.js} +9 -9
- package/{textarea-widget-e9055d94.js → textarea-widget-e8496337.js} +7 -7
- package/{time-picker-range-widget-c947ddc4.js → time-picker-range-widget-782d6685.js} +7 -7
- package/{time-picker-widget-0ba1cdde.js → time-picker-widget-16cf6d82.js} +7 -7
- package/{time-select-widget-cd1444e6.js → time-select-widget-21274c04.js} +7 -7
- package/{timeline-widget-27a8e13f.js → timeline-widget-c8ae14cf.js} +7 -7
- package/{tmpl-widget-d85252bc.js → tmpl-widget-82b02103.js} +7 -7
- package/{tooltip-widget-790b908c.js → tooltip-widget-6661ad40.js} +7 -7
- package/{tour-widget-344ebe98.js → tour-widget-6282c153.js} +6 -6
- package/{transfer-widget-94240887.js → transfer-widget-62d705f5.js} +8 -8
- package/{tree-select-widget-cafeda0a.js → tree-select-widget-8bf4e227.js} +7 -7
- package/{tree-widget-1ba8bae6.js → tree-widget-708473ad.js} +6 -6
- package/{verifycode-widget-65c4f30d.js → verifycode-widget-15518d17.js} +6 -6
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-61661fec.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-066cc011.js} +2 -2
- package/{wrapper-widget-18997c0f.js → wrapper-widget-7cf8f73c.js} +4 -4
- package/form-widget-70ce2941.js +0 -244
- package/share-field-12538a84.js +0 -841
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as e, openBlock as f, createBlock as _, mergeProps as c, unref as r } from "vue";
|
|
2
2
|
import { I as u } from "./field-base-1acf3ada.js";
|
|
3
|
-
import { _ as g } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-
|
|
3
|
+
import { _ as g } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-cb63af58.js";
|
|
4
4
|
import { w as v } from "./expression-1bc46129.js";
|
|
5
|
-
import { b as x } from "./share-field-
|
|
5
|
+
import { b as x } from "./share-field-8ff93bee.js";
|
|
6
6
|
import "./widget-base-8eece820.js";
|
|
7
7
|
import "./enum-type-480f80f2.js";
|
|
8
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
9
|
-
import "./index-
|
|
8
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-066cc011.js";
|
|
9
|
+
import "./index-dc309777.js";
|
|
10
10
|
import "./uuid-55da46f2.js";
|
|
11
11
|
import "./enum-type-9ba3f57a.js";
|
|
12
|
-
import "./baseImp-
|
|
12
|
+
import "./baseImp-1b539054.js";
|
|
13
13
|
import "./icon-1fc5d00d.js";
|
|
14
14
|
import "./dialog-9a702251.js";
|
|
15
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
@@ -17,12 +17,12 @@ import "element-plus";
|
|
|
17
17
|
import "./index-f962cb75.js";
|
|
18
18
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
19
19
|
import "./fieldobj-1526eb3d.js";
|
|
20
|
-
import "./slot-
|
|
21
|
-
import "./content-wrapper.vue_vue_type_script_setup_true_lang-
|
|
22
|
-
import "./drag-wrapper-
|
|
20
|
+
import "./slot-c256f990.js";
|
|
21
|
+
import "./content-wrapper.vue_vue_type_script_setup_true_lang-11f71ef0.js";
|
|
22
|
+
import "./drag-wrapper-34808d28.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
|
-
import "./multirow-
|
|
25
|
+
import "./multirow-7237a6cd.js";
|
|
26
26
|
const E = e({ componentName: v.FieldWidget }), Q = /* @__PURE__ */ e({
|
|
27
27
|
...E,
|
|
28
28
|
__name: "divider-widget",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineAsyncComponent as B, defineComponent as W, useCssVars as q, unref as p, computed as O, watch as U, onMounted as G, openBlock as a, createBlock as f, resolveDynamicComponent as S, mergeProps as c, withCtx as m, renderSlot as h, resolveComponent as T, createVNode as M, createElementBlock as y, toDisplayString as I, createCommentVNode as P, Fragment as N, Suspense as z, renderList as $ } from "vue";
|
|
2
2
|
import { e as J, R as K, s as Q, g as A } from "./enum-type-480f80f2.js";
|
|
3
|
-
import { B as D } from "./baseImp-
|
|
3
|
+
import { B as D } from "./baseImp-1b539054.js";
|
|
4
4
|
import { I as E } from "./widget-base-8eece820.js";
|
|
5
|
-
import { a as X } from "./index-
|
|
6
|
-
import { c as Y, p as Z, a as x, F as L } from "./slot-
|
|
5
|
+
import { a as X } from "./index-dc309777.js";
|
|
6
|
+
import { c as Y, p as Z, a as x, F as L } from "./slot-c256f990.js";
|
|
7
7
|
import { b as _ } from "./expression-1bc46129.js";
|
|
8
8
|
import { _ as V } from "./_plugin-vue_export-helper-dad06003.js";
|
|
9
9
|
const R = (e, s) => {
|
|
@@ -16,7 +16,7 @@ function ee() {
|
|
|
16
16
|
let e = /* @__PURE__ */ new Map();
|
|
17
17
|
const s = (t) => {
|
|
18
18
|
var n = D.getWidgetName(t), w = null;
|
|
19
|
-
return n && (D.isContainer(t) ? w = B(() => R(/* @__PURE__ */ Object.assign({ "./container-widget/cont-cell-widget.vue": () => import("./cont-cell-widget-
|
|
19
|
+
return n && (D.isContainer(t) ? w = B(() => R(/* @__PURE__ */ Object.assign({ "./container-widget/cont-cell-widget.vue": () => import("./cont-cell-widget-2e2a4348.js").then((o) => o._), "./container-widget/cont-widget.vue": () => import("./cont-widget-b311b341.js").then((o) => o._), "./container-widget/form-widget.vue": () => import("./form-widget-93130d72.js").then((o) => o._), "./container-widget/grid-col-widget.vue": () => import("./grid-col-widget-1b3159c9.js").then((o) => o._), "./container-widget/grid-widget.vue": () => import("./grid-widget-ad51ac81.js").then((o) => o._), "./container-widget/ltable-col-widget.vue": () => import("./ltable-col-widget-2193812c.js").then((o) => o._), "./container-widget/ltable-widget.vue": () => import("./ltable-widget-388c45a1.js").then((o) => o._), "./container-widget/tab-pane-widget.vue": () => import("./tab-pane-widget-8b490391.js").then((o) => o._), "./container-widget/tabs-widget.vue": () => import("./tabs-widget-ceb53ffb.js").then((o) => o._), "./container-widget/wrapper-widget.vue": () => import("./wrapper-widget-7cf8f73c.js").then((o) => o._) }), `./container-widget/${n}.vue`)) : w = B(() => R(/* @__PURE__ */ Object.assign({ "./field-widget/affix-widget.vue": () => import("./affix-widget-89816827.js"), "./field-widget/alert-widget.vue": () => import("./alert-widget-8cc83973.js"), "./field-widget/anchor-link-widget.vue": () => import("./anchor-link-widget-dae98704.js"), "./field-widget/anchor-widget.vue": () => import("./anchor-widget-c9318b9a.js"), "./field-widget/auto-complete-widget.vue": () => import("./auto-complete-widget-d9865180.js"), "./field-widget/avatar-widget.vue": () => import("./avatar-widget-f61254e1.js"), "./field-widget/backtop-widget.vue": () => import("./backtop-widget-bc358b4a.js"), "./field-widget/badge-widget.vue": () => import("./badge-widget-4f3c9b5e.js"), "./field-widget/barcode-widget.vue": () => import("./barcode-widget-84c9d547.js"), "./field-widget/breadcrumb-widget.vue": () => import("./breadcrumb-widget-51f17ab5.js"), "./field-widget/button-widget.vue": () => import("./button-widget-3367df1e.js"), "./field-widget/cache-widget.vue": () => import("./cache-widget-8db7e270.js"), "./field-widget/card-widget.vue": () => import("./card-widget-63c0aff1.js"), "./field-widget/carousel-widget.vue": () => import("./carousel-widget-e6af6a98.js"), "./field-widget/cascader-widget.vue": () => import("./cascader-widget-2770b6e5.js"), "./field-widget/chart-widget.vue": () => import("./chart-widget-d3268809.js"), "./field-widget/checkbox-widget.vue": () => import("./checkbox-widget-25b06064.js"), "./field-widget/collapse-widget.vue": () => import("./collapse-widget-2c641841.js"), "./field-widget/color-picker-widget.vue": () => import("./color-picker-widget-89b2b921.js"), "./field-widget/content-wrapper.vue": () => import("./content-wrapper-24d51168.js"), "./field-widget/countdown-widget.vue": () => import("./countdown-widget-36ed5df7.js"), "./field-widget/date-picker-range-widget.vue": () => import("./date-picker-range-widget-a74068eb.js"), "./field-widget/date-picker-widget.vue": () => import("./date-picker-widget-c4aa31bd.js"), "./field-widget/default-slot-widget.vue": () => import("./default-slot-widget-c21b89a2.js"), "./field-widget/descriptions-widget.vue": () => import("./descriptions-widget-e87aae0a.js"), "./field-widget/dialog-widget.vue": () => import("./dialog-widget-c501db89.js"), "./field-widget/divider-widget.vue": () => import("./divider-widget-6f569293.js"), "./field-widget/drawer-widget.vue": () => import("./drawer-widget-fc27b216.js"), "./field-widget/dropdown-widget.vue": () => import("./dropdown-widget-86bb575b.js"), "./field-widget/empty-widget.vue": () => import("./empty-widget-f727820c.js"), "./field-widget/feedback-widget.vue": () => import("./feedback-widget-e53049da.js"), "./field-widget/file-upload-widget.vue": () => import("./file-upload-widget-ffa9ad94.js"), "./field-widget/form-item-wrapper.vue": () => import("./form-item-wrapper-88b51079.js"), "./field-widget/hcard-widget.vue": () => import("./hcard-widget-fb58d77b.js"), "./field-widget/html-text-widget.vue": () => import("./html-text-widget-756df9a2.js"), "./field-widget/icon-widget.vue": () => import("./icon-widget-d2d6fe37.js"), "./field-widget/iframe-widget.vue": () => import("./iframe-widget-62372a2b.js"), "./field-widget/image-widget.vue": () => import("./image-widget-39b83303.js"), "./field-widget/input-number-widget.vue": () => import("./input-number-widget-f71422af.js"), "./field-widget/input-tag-widget.vue": () => import("./input-tag-widget-d654e7f4.js"), "./field-widget/input-widget.vue": () => import("./input-widget-c2d5ffc1.js"), "./field-widget/label-wrapper.vue": () => import("./label-wrapper-c7abbaba.js"), "./field-widget/link-widget.vue": () => import("./link-widget-f9c669df.js"), "./field-widget/mention-widget.vue": () => import("./mention-widget-77373ae8.js"), "./field-widget/menu-widget.vue": () => import("./menu-widget-5719c90f.js"), "./field-widget/model-widget.vue": () => import("./model-widget-5642e313.js"), "./field-widget/multirow-widget.vue": () => import("./multirow-widget-51ae8e72.js"), "./field-widget/pagination-widget.vue": () => import("./pagination-widget-fb521dcf.js"), "./field-widget/picture-upload-widget.vue": () => import("./picture-upload-widget-3a282a04.js"), "./field-widget/progress-widget.vue": () => import("./progress-widget-d24b4057.js"), "./field-widget/qrcode-widget.vue": () => import("./qrcode-widget-32de789b.js"), "./field-widget/radio-widget.vue": () => import("./radio-widget-e27bed26.js"), "./field-widget/range-widget.vue": () => import("./range-widget-7cba4e8e.js"), "./field-widget/rate-widget.vue": () => import("./rate-widget-87922b5c.js"), "./field-widget/result-widget.vue": () => import("./result-widget-cba7e9a3.js"), "./field-widget/rich-editor-widget.vue": () => import("./rich-editor-widget-f1b8c184.js"), "./field-widget/router-widget.vue": () => import("./router-widget-05b01295.js"), "./field-widget/segmented-widget.vue": () => import("./segmented-widget-dc5e0c04.js"), "./field-widget/select-widget.vue": () => import("./select-widget-6bc25c73.js"), "./field-widget/skeleton-widget.vue": () => import("./skeleton-widget-a0a7a1ca.js"), "./field-widget/skeletonItem-widget.vue": () => import("./skeletonItem-widget-ab4d9d62.js"), "./field-widget/slider-widget.vue": () => import("./slider-widget-e1730786.js"), "./field-widget/space-widget.vue": () => import("./space-widget-0a48c722.js"), "./field-widget/splitter-widget.vue": () => import("./splitter-widget-c38988ea.js"), "./field-widget/static-text-widget.vue": () => import("./static-text-widget-2de30fa0.js"), "./field-widget/statistic-widget.vue": () => import("./statistic-widget-a9dc2961.js"), "./field-widget/steps-widget.vue": () => import("./steps-widget-b4f6083b.js"), "./field-widget/subMenu-widget.vue": () => import("./subMenu-widget-2dd5d119.js"), "./field-widget/switch-widget.vue": () => import("./switch-widget-30552ea8.js"), "./field-widget/table-col-widget.vue": () => import("./table-col-widget-8e624b55.js"), "./field-widget/table-widget.vue": () => import("./table-widget-d2b031e5.js"), "./field-widget/tag-widget.vue": () => import("./tag-widget-1f275395.js"), "./field-widget/text-widget.vue": () => import("./text-widget-16235daa.js"), "./field-widget/textarea-widget.vue": () => import("./textarea-widget-e8496337.js"), "./field-widget/time-picker-range-widget.vue": () => import("./time-picker-range-widget-782d6685.js"), "./field-widget/time-picker-widget.vue": () => import("./time-picker-widget-16cf6d82.js"), "./field-widget/time-select-widget.vue": () => import("./time-select-widget-21274c04.js"), "./field-widget/timeline-widget.vue": () => import("./timeline-widget-c8ae14cf.js"), "./field-widget/tmpl-widget.vue": () => import("./tmpl-widget-82b02103.js"), "./field-widget/tooltip-widget.vue": () => import("./tooltip-widget-6661ad40.js"), "./field-widget/tour-widget.vue": () => import("./tour-widget-6282c153.js"), "./field-widget/transfer-widget.vue": () => import("./transfer-widget-62d705f5.js"), "./field-widget/tree-select-widget.vue": () => import("./tree-select-widget-8bf4e227.js"), "./field-widget/tree-widget.vue": () => import("./tree-widget-708473ad.js"), "./field-widget/verifycode-widget.vue": () => import("./verifycode-widget-15518d17.js"), "./field-widget/vertical-progress-widget.vue": () => import("./vertical-progress-widget-c44812e6.js") }), `./field-widget/${n}.vue`))), w;
|
|
20
20
|
};
|
|
21
21
|
return { components: (t) => {
|
|
22
22
|
var n = D.getWidgetName(t);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as p, createBlock as t, mergeProps as m } from "vue";
|
|
2
|
-
import { _ as i } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-
|
|
2
|
+
import { _ as i } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-4051a0d7.js";
|
|
3
3
|
import { I as e } from "./widget-base-8eece820.js";
|
|
4
|
-
import "./drag-wrapper-
|
|
4
|
+
import "./drag-wrapper-34808d28.js";
|
|
5
5
|
import "./enum-type-480f80f2.js";
|
|
6
|
-
import "./baseImp-
|
|
6
|
+
import "./baseImp-1b539054.js";
|
|
7
7
|
import "./enum-type-9ba3f57a.js";
|
|
8
8
|
import "./expression-1bc46129.js";
|
|
9
9
|
import "./source-map-b04aec4a.js";
|
|
@@ -13,14 +13,14 @@ import "./esprima-e8d15055.js";
|
|
|
13
13
|
import "./icon-1fc5d00d.js";
|
|
14
14
|
import "./dialog-9a702251.js";
|
|
15
15
|
import "element-plus";
|
|
16
|
-
import "./index-
|
|
17
|
-
import "./slot-
|
|
16
|
+
import "./index-dc309777.js";
|
|
17
|
+
import "./slot-c256f990.js";
|
|
18
18
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
19
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
19
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-066cc011.js";
|
|
20
20
|
import "./index-f962cb75.js";
|
|
21
21
|
import "./fieldobj-1526eb3d.js";
|
|
22
|
-
import "./share-field-
|
|
23
|
-
import "./multirow-
|
|
22
|
+
import "./share-field-8ff93bee.js";
|
|
23
|
+
import "./multirow-7237a6cd.js";
|
|
24
24
|
const y = /* @__PURE__ */ o({
|
|
25
25
|
__name: "drawer-widget",
|
|
26
26
|
props: { ...e },
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as w, computed as B, resolveComponent as m, openBlock as r, createBlock as p, mergeProps as s, unref as e, withCtx as n, toHandlers as D, createSlots as H, createVNode as L, createElementBlock as u, Fragment as _, renderList as f, createElementVNode as g, createTextVNode as T, toDisplayString as W } from "vue";
|
|
2
2
|
import { e as $ } from "./enum-type-480f80f2.js";
|
|
3
3
|
import { I as A } from "./field-base-1acf3ada.js";
|
|
4
|
-
import { _ as M } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { b as P } from "./share-field-
|
|
4
|
+
import { _ as M } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-066cc011.js";
|
|
5
|
+
import { b as P } from "./share-field-8ff93bee.js";
|
|
6
6
|
import { w as I } from "./expression-1bc46129.js";
|
|
7
|
-
import { b as K } from "./baseImp-
|
|
8
|
-
import { g as q } from "./slot-
|
|
9
|
-
import { D as G } from "./drag-wrapper-
|
|
7
|
+
import { b as K } from "./baseImp-1b539054.js";
|
|
8
|
+
import { g as q } from "./slot-c256f990.js";
|
|
9
|
+
import { D as G } from "./drag-wrapper-34808d28.js";
|
|
10
10
|
import "./widget-base-8eece820.js";
|
|
11
|
-
import "./index-
|
|
11
|
+
import "./index-dc309777.js";
|
|
12
12
|
import "./uuid-55da46f2.js";
|
|
13
13
|
import "./enum-type-9ba3f57a.js";
|
|
14
14
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
@@ -16,7 +16,7 @@ import "./index-f962cb75.js";
|
|
|
16
16
|
import "./icon-1fc5d00d.js";
|
|
17
17
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
18
18
|
import "./fieldobj-1526eb3d.js";
|
|
19
|
-
import "./multirow-
|
|
19
|
+
import "./multirow-7237a6cd.js";
|
|
20
20
|
import "./source-map-b04aec4a.js";
|
|
21
21
|
import "./esprima-e8d15055.js";
|
|
22
22
|
import "./dialog-9a702251.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as t, openBlock as n, createBlock as d, mergeProps as f, unref as l } from "vue";
|
|
2
2
|
import { I as a } from "./field-base-1acf3ada.js";
|
|
3
|
-
import { _ } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-
|
|
3
|
+
import { _ } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-cb63af58.js";
|
|
4
4
|
import { w as c } from "./expression-1bc46129.js";
|
|
5
|
-
import { b as u } from "./share-field-
|
|
5
|
+
import { b as u } from "./share-field-8ff93bee.js";
|
|
6
6
|
import "./widget-base-8eece820.js";
|
|
7
7
|
import "./enum-type-480f80f2.js";
|
|
8
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
9
|
-
import "./index-
|
|
8
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-066cc011.js";
|
|
9
|
+
import "./index-dc309777.js";
|
|
10
10
|
import "./uuid-55da46f2.js";
|
|
11
11
|
import "./enum-type-9ba3f57a.js";
|
|
12
|
-
import "./baseImp-
|
|
12
|
+
import "./baseImp-1b539054.js";
|
|
13
13
|
import "./icon-1fc5d00d.js";
|
|
14
14
|
import "./dialog-9a702251.js";
|
|
15
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
@@ -17,12 +17,12 @@ import "element-plus";
|
|
|
17
17
|
import "./index-f962cb75.js";
|
|
18
18
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
19
19
|
import "./fieldobj-1526eb3d.js";
|
|
20
|
-
import "./slot-
|
|
21
|
-
import "./content-wrapper.vue_vue_type_script_setup_true_lang-
|
|
22
|
-
import "./drag-wrapper-
|
|
20
|
+
import "./slot-c256f990.js";
|
|
21
|
+
import "./content-wrapper.vue_vue_type_script_setup_true_lang-11f71ef0.js";
|
|
22
|
+
import "./drag-wrapper-34808d28.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
|
-
import "./multirow-
|
|
25
|
+
import "./multirow-7237a6cd.js";
|
|
26
26
|
const g = t({ componentName: c.FieldWidget }), K = /* @__PURE__ */ t({
|
|
27
27
|
...g,
|
|
28
28
|
__name: "empty-widget",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as o } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-
|
|
1
|
+
import { _ as o } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-4051a0d7.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "./widget-base-8eece820.js";
|
|
4
|
-
import "./drag-wrapper-
|
|
4
|
+
import "./drag-wrapper-34808d28.js";
|
|
5
5
|
import "./enum-type-480f80f2.js";
|
|
6
|
-
import "./baseImp-
|
|
6
|
+
import "./baseImp-1b539054.js";
|
|
7
7
|
import "./enum-type-9ba3f57a.js";
|
|
8
8
|
import "./expression-1bc46129.js";
|
|
9
9
|
import "./source-map-b04aec4a.js";
|
|
@@ -13,14 +13,14 @@ import "./esprima-e8d15055.js";
|
|
|
13
13
|
import "./icon-1fc5d00d.js";
|
|
14
14
|
import "./dialog-9a702251.js";
|
|
15
15
|
import "element-plus";
|
|
16
|
-
import "./index-
|
|
17
|
-
import "./slot-
|
|
16
|
+
import "./index-dc309777.js";
|
|
17
|
+
import "./slot-c256f990.js";
|
|
18
18
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
19
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
19
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-066cc011.js";
|
|
20
20
|
import "./index-f962cb75.js";
|
|
21
21
|
import "./fieldobj-1526eb3d.js";
|
|
22
|
-
import "./share-field-
|
|
23
|
-
import "./multirow-
|
|
22
|
+
import "./share-field-8ff93bee.js";
|
|
23
|
+
import "./multirow-7237a6cd.js";
|
|
24
24
|
export {
|
|
25
25
|
o as default
|
|
26
26
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as h, ref as P, inject as A, openBlock as a, createBlock as t, mergeProps as p, unref as d, withCtx as V, createElementBlock as i, Fragment as u, renderList as O, resolveDynamicComponent as m, createCommentVNode as f, createVNode as k, isRef as E, toHandlers as H, createSlots as K, createTextVNode as M, toDisplayString as T } from "vue";
|
|
2
2
|
import { I as U } from "./widget-base-8eece820.js";
|
|
3
|
-
import { D as s } from "./drag-wrapper-
|
|
4
|
-
import { _ as q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
3
|
+
import { D as s } from "./drag-wrapper-34808d28.js";
|
|
4
|
+
import { _ as q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-066cc011.js";
|
|
5
5
|
import { d as G, w as J } from "./expression-1bc46129.js";
|
|
6
|
-
import { b as Q } from "./share-field-
|
|
7
|
-
import { g as $ } from "./slot-
|
|
6
|
+
import { b as Q } from "./share-field-8ff93bee.js";
|
|
7
|
+
import { g as $ } from "./slot-c256f990.js";
|
|
8
8
|
import { i as X } from "./enum-type-480f80f2.js";
|
|
9
9
|
const Y = {
|
|
10
10
|
key: 0,
|
|
@@ -2,26 +2,26 @@ import { defineComponent as B, shallowRef as pe, onMounted as me, openBlock as l
|
|
|
2
2
|
import { e as u } from "./enum-type-480f80f2.js";
|
|
3
3
|
import { u as ge } from "./uuid-55da46f2.js";
|
|
4
4
|
import { I as ke } from "./field-base-1acf3ada.js";
|
|
5
|
-
import { u as ve } from "./share-file-
|
|
5
|
+
import { u as ve } from "./share-file-5e3ac008.js";
|
|
6
6
|
import { f as b, w as fe } from "./expression-1bc46129.js";
|
|
7
|
-
import we from "./form-item-wrapper-
|
|
8
|
-
import { g as Ce } from "./slot-
|
|
9
|
-
import { D as be } from "./drag-wrapper-
|
|
7
|
+
import we from "./form-item-wrapper-88b51079.js";
|
|
8
|
+
import { g as Ce } from "./slot-c256f990.js";
|
|
9
|
+
import { D as be } from "./drag-wrapper-34808d28.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
11
|
import { L as ae } from "./enum-type-9ba3f57a.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-8ff93bee.js";
|
|
15
|
+
import "./multirow-7237a6cd.js";
|
|
16
|
+
import "./baseImp-1b539054.js";
|
|
17
17
|
import "./icon-1fc5d00d.js";
|
|
18
18
|
import "./dialog-9a702251.js";
|
|
19
19
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
20
20
|
import "element-plus";
|
|
21
|
-
import "./index-
|
|
21
|
+
import "./index-dc309777.js";
|
|
22
22
|
import "./source-map-b04aec4a.js";
|
|
23
23
|
import "./esprima-e8d15055.js";
|
|
24
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
24
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-066cc011.js";
|
|
25
25
|
import "./index-f962cb75.js";
|
|
26
26
|
import "./fieldobj-1526eb3d.js";
|
|
27
27
|
import "./label-wrapper.vue_vue_type_style_index_0_lang-7cb988e0.js";
|
|
@@ -38,11 +38,11 @@ const Ue = {
|
|
|
38
38
|
var x, f, y, h, U;
|
|
39
39
|
switch ((x = $.file) == null ? void 0 : x.type) {
|
|
40
40
|
case "application/pdf": {
|
|
41
|
-
m.value = V(() => import("./_pdf-
|
|
41
|
+
m.value = V(() => import("./_pdf-594c78bc.js"));
|
|
42
42
|
break;
|
|
43
43
|
}
|
|
44
44
|
case "text/plain": {
|
|
45
|
-
m.value = V(() => import("./_txt-
|
|
45
|
+
m.value = V(() => import("./_txt-e8ca6b7d.js"));
|
|
46
46
|
break;
|
|
47
47
|
}
|
|
48
48
|
default: {
|
|
@@ -1,15 +1,15 @@
|
|
|
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-
|
|
3
|
+
import { _ as O } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-066cc011.js";
|
|
4
4
|
import { _ as v } from "./label-wrapper.vue_vue_type_style_index_0_lang-7cb988e0.js";
|
|
5
5
|
import { u as w } from "./fieldobj-1526eb3d.js";
|
|
6
6
|
import { _ as x } from "./_plugin-vue_export-helper-dad06003.js";
|
|
7
7
|
import "./widget-base-8eece820.js";
|
|
8
8
|
import "./enum-type-480f80f2.js";
|
|
9
|
-
import "./index-
|
|
9
|
+
import "./index-dc309777.js";
|
|
10
10
|
import "./uuid-55da46f2.js";
|
|
11
11
|
import "./enum-type-9ba3f57a.js";
|
|
12
|
-
import "./baseImp-
|
|
12
|
+
import "./baseImp-1b539054.js";
|
|
13
13
|
import "./expression-1bc46129.js";
|
|
14
14
|
import "./source-map-b04aec4a.js";
|
|
15
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
import { ref as Q, reactive as U, onMounted as ue, nextTick as Ee, defineComponent as me, computed as ae, resolveComponent as Ne, resolveDirective as je, openBlock as ie, createBlock as le, mergeProps as G, unref as g, withCtx as de, withDirectives as ye, toHandlers as Me, withModifiers as Re, createVNode as Ae } from "vue";
|
|
2
|
+
import { I as Pe } from "./widget-base-8eece820.js";
|
|
3
|
+
import { D as $e } from "./drag-wrapper-34808d28.js";
|
|
4
|
+
import { _ as ke } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-066cc011.js";
|
|
5
|
+
import { w as X, a as re, b as $, f as L, i as Ie } from "./expression-1bc46129.js";
|
|
6
|
+
import { u as Be } from "./icon-1fc5d00d.js";
|
|
7
|
+
import { u as He, a as qe } from "./multirow-7237a6cd.js";
|
|
8
|
+
import { b as Te, H as J, M as se, e as pe, d as ce, N as fe, O as ze, A as Ke, g as Ue } from "./enum-type-480f80f2.js";
|
|
9
|
+
import { $ as Ge, B as Je } from "./baseImp-1b539054.js";
|
|
10
|
+
import { f as Qe } from "./index-dc309777.js";
|
|
11
|
+
import { b as Xe, a as Ye, u as Ze } from "./share-field-8ff93bee.js";
|
|
12
|
+
import { W as et } from "./enum-type-9ba3f57a.js";
|
|
13
|
+
import { F as tt } from "./slot-c256f990.js";
|
|
14
|
+
import { _ as ot } from "./_plugin-vue_export-helper-dad06003.js";
|
|
15
|
+
function nt(s) {
|
|
16
|
+
const O = s.widget, h = s.designer, C = h == null ? void 0 : h.pageConfig, b = s == null ? void 0 : s.widgetList, x = Q({}), E = {}, { fieldModel: k, fieldName: I, fieldEditor: c, attrs: N, events: _, hasFieldOptions: j, exposed: w, fieldObj: B, watchOption: F, propResultOpt: V, extendAttrs: D } = Xe(s), { off$: a, on$: m, emit$: H, broadcast: y } = qe();
|
|
17
|
+
var { instance: S } = Be();
|
|
18
|
+
const { setAllRefList: M } = Ye(x.value), W = { designState: s == null ? void 0 : s.designState, pageConfig: C, globalConfig: V == null ? void 0 : V.globalConfig }, { formModel: R, setData: ve, getData: A, clearData: Y } = He(b, { ...W }), { handleFunc: q } = Ze({ options: C }, W), T = U({}), ge = () => {
|
|
19
|
+
a(L.fieldChange), m(L.fieldChange, (e) => {
|
|
20
|
+
Fe(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue), w == null || w.setValue(R), be(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue);
|
|
21
|
+
});
|
|
22
|
+
}, he = () => {
|
|
23
|
+
a(L.fieldValidation), m(L.fieldValidation, (e) => {
|
|
24
|
+
var t;
|
|
25
|
+
(t = c.value) == null || t.validateField(e == null ? void 0 : e.propName);
|
|
26
|
+
});
|
|
27
|
+
}, _e = () => {
|
|
28
|
+
a(L.fieldRuleChange), m(L.fieldRuleChange, (e) => {
|
|
29
|
+
var o;
|
|
30
|
+
var t = (o = e == null ? void 0 : e.rules) == null ? void 0 : o.map((n) => ({
|
|
31
|
+
required: n.required,
|
|
32
|
+
message: n.message,
|
|
33
|
+
trigger: n.trigger,
|
|
34
|
+
validator: n.validator
|
|
35
|
+
}));
|
|
36
|
+
Object.assign(T, { [e == null ? void 0 : e.fieldName]: t }), N.value.rules = T;
|
|
37
|
+
});
|
|
38
|
+
}, z = Q(!1), K = U({}), P = U({}), Z = (e) => {
|
|
39
|
+
se(P), ce(P, e);
|
|
40
|
+
}, Ce = () => ({
|
|
41
|
+
change_info: J(K),
|
|
42
|
+
before_info: J(P),
|
|
43
|
+
after_info: J(R),
|
|
44
|
+
flag: z.value
|
|
45
|
+
}), be = (e, t, o) => {
|
|
46
|
+
var n = P[e];
|
|
47
|
+
fe(t, o) || fe(t, n) || (z.value = !0, e && ce(K, { [e]: { oldValue: n, newValue: t, beforeValue: o } }));
|
|
48
|
+
}, we = () => {
|
|
49
|
+
z.value = !1, se(K), Z(A());
|
|
50
|
+
}, Fe = (e, t, o) => {
|
|
51
|
+
q(_.value.formDataChange, { field: { fieldName: e, newValue: t, oldValue: o }, formModel: R });
|
|
52
|
+
}, De = () => {
|
|
53
|
+
q(_.value.formCreated);
|
|
54
|
+
}, Le = () => {
|
|
55
|
+
q(_.value.formMounted);
|
|
56
|
+
}, Ve = () => {
|
|
57
|
+
_e(), ge(), he(), De();
|
|
58
|
+
}, Se = (e) => {
|
|
59
|
+
var t;
|
|
60
|
+
(t = c.value) == null || t.clearValidate(e);
|
|
61
|
+
}, We = () => {
|
|
62
|
+
M(et.resetField), Ee(() => {
|
|
63
|
+
Se();
|
|
64
|
+
});
|
|
65
|
+
}, ee = (e, t) => {
|
|
66
|
+
let o = [];
|
|
67
|
+
for (let f in e) {
|
|
68
|
+
var n = e[f], l = n == null ? void 0 : n.filter((d) => (d == null ? void 0 : d.force) === t);
|
|
69
|
+
l == null || l.forEach((d) => {
|
|
70
|
+
var i;
|
|
71
|
+
const p = (i = d == null ? void 0 : d.rule) == null ? void 0 : i.label;
|
|
72
|
+
d.message && o.push(Ie(p ? "【" + p + "】" : "", d.message, ":"));
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
return ze(o);
|
|
76
|
+
}, Oe = (e, t) => {
|
|
77
|
+
var o = {};
|
|
78
|
+
return Qe(t, (n) => {
|
|
79
|
+
var l = Je.getName(n), f = Ke(e, l);
|
|
80
|
+
return f && (o[l] = e[l]), f;
|
|
81
|
+
}, !1), o;
|
|
82
|
+
}, xe = (e = !0) => {
|
|
83
|
+
var l, f, d;
|
|
84
|
+
let t = A(), o = function() {
|
|
85
|
+
}, n = new Promise(function(p, i) {
|
|
86
|
+
o = function(u, r) {
|
|
87
|
+
(r ? i : p)({ data: u, isSuccess: !r, message: r });
|
|
88
|
+
};
|
|
89
|
+
});
|
|
90
|
+
return !((l = c.value) != null && l.validate) || !e ? (o(t), n) : ((d = (f = c.value) == null ? void 0 : f.validate) == null || d.call(f, (p, i) => {
|
|
91
|
+
if (p)
|
|
92
|
+
o(t);
|
|
93
|
+
else {
|
|
94
|
+
var u = ee(i, !0);
|
|
95
|
+
if (u && u.length > 0) {
|
|
96
|
+
o(t, u);
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
var r = ee(i, !1);
|
|
100
|
+
if (r && r.length > 0) {
|
|
101
|
+
r.push(pe.i18nt("designer.hint.continue")), Ge.multiple(r).then((v) => {
|
|
102
|
+
o(t);
|
|
103
|
+
});
|
|
104
|
+
return;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}), n);
|
|
108
|
+
}, te = (e, t = !0) => {
|
|
109
|
+
if (!O)
|
|
110
|
+
return;
|
|
111
|
+
var o = Oe(e, [O]);
|
|
112
|
+
ve(o, t);
|
|
113
|
+
const n = ["refList", "widgetRefList"];
|
|
114
|
+
y(X.ContainerWidget, re.setFormData, e, S, n), y(X.FieldWidget, re.setFormData, e, S, n);
|
|
115
|
+
}, oe = (e) => new Promise((t, o) => {
|
|
116
|
+
const n = (i, u) => {
|
|
117
|
+
var ne;
|
|
118
|
+
const r = (ne = D.value) == null ? void 0 : ne.formDataLoaded;
|
|
119
|
+
let v = r ? r == null ? void 0 : r(A(), i) : i;
|
|
120
|
+
Ue(v) ? te(v, !u) : v = {}, Z(v), t(v);
|
|
121
|
+
}, l = () => {
|
|
122
|
+
F($.newDataSource).then((i) => {
|
|
123
|
+
n(i, !0);
|
|
124
|
+
});
|
|
125
|
+
}, f = () => {
|
|
126
|
+
F($.editDataSource).then((i) => {
|
|
127
|
+
var v;
|
|
128
|
+
const u = (v = D.value) == null ? void 0 : v.needFormAdd;
|
|
129
|
+
if ((u == null ? void 0 : u(i)) && p) {
|
|
130
|
+
l();
|
|
131
|
+
return;
|
|
132
|
+
}
|
|
133
|
+
n(i, !1);
|
|
134
|
+
});
|
|
135
|
+
}, d = j($.editDataSource), p = j($.newDataSource);
|
|
136
|
+
d ? f() : p && l();
|
|
137
|
+
});
|
|
138
|
+
return Ve(), ue(() => {
|
|
139
|
+
Te(), Le();
|
|
140
|
+
}), {
|
|
141
|
+
widgetRefList: x,
|
|
142
|
+
allWidgetRefList: E,
|
|
143
|
+
fieldEditor: c,
|
|
144
|
+
formModel: R,
|
|
145
|
+
pageConfig: C,
|
|
146
|
+
widgetList: b,
|
|
147
|
+
fieldModel: k,
|
|
148
|
+
fieldName: I,
|
|
149
|
+
attrs: N,
|
|
150
|
+
extendAttrs: D,
|
|
151
|
+
events: _,
|
|
152
|
+
rules: T,
|
|
153
|
+
loadData: oe,
|
|
154
|
+
clearData: Y,
|
|
155
|
+
exposed: {
|
|
156
|
+
...w,
|
|
157
|
+
setValue: te,
|
|
158
|
+
getValue: xe,
|
|
159
|
+
resetField: We,
|
|
160
|
+
clearData: Y,
|
|
161
|
+
loadData: oe,
|
|
162
|
+
getData: A,
|
|
163
|
+
//修改痕迹
|
|
164
|
+
clearChangeRecord: we,
|
|
165
|
+
getChangeRecord: Ce,
|
|
166
|
+
emit$: H
|
|
167
|
+
},
|
|
168
|
+
fieldObj: B
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
const at = me({ componentName: X.ContainerWidget }), it = /* @__PURE__ */ me({
|
|
172
|
+
...at,
|
|
173
|
+
__name: "form-widget",
|
|
174
|
+
props: { ...Pe },
|
|
175
|
+
setup(s, { expose: O }) {
|
|
176
|
+
var D;
|
|
177
|
+
const h = s, { exposed: C, formModel: b, fieldEditor: x, attrs: E, events: k, widgetRefList: I, extendAttrs: c, fieldName: N, fieldObj: _, loadData: j } = nt({ ...h, widgetList: (D = h == null ? void 0 : h.widget) == null ? void 0 : D.widgetList }), w = N.value, B = ae(() => {
|
|
178
|
+
var a, m;
|
|
179
|
+
return {
|
|
180
|
+
disabled: (a = E.value) == null ? void 0 : a.disabled,
|
|
181
|
+
readonly: (m = c.value) == null ? void 0 : m.readonly
|
|
182
|
+
};
|
|
183
|
+
}), F = Q(!1), V = ae(() => {
|
|
184
|
+
var a;
|
|
185
|
+
return F.value || ((a = c.value) == null ? void 0 : a.showLoading);
|
|
186
|
+
});
|
|
187
|
+
return tt.globalProvide({
|
|
188
|
+
globalFormName: w,
|
|
189
|
+
globalDataModel: b,
|
|
190
|
+
globalFormOptions: B
|
|
191
|
+
}), ue(() => {
|
|
192
|
+
var a;
|
|
193
|
+
(a = c.value) != null && a.loadDataWhenInit && !h.designState && (F.value = !0, j(!0).catch((m) => {
|
|
194
|
+
}).finally(() => {
|
|
195
|
+
F.value = !1, C.clearChangeRecord();
|
|
196
|
+
}));
|
|
197
|
+
}), O({ ...C }), (a, m) => {
|
|
198
|
+
const H = Ne("el-form"), y = je("loading");
|
|
199
|
+
return ie(), le(ke, G(a.$props, {
|
|
200
|
+
"prop-options": { fieldObj: g(_) }
|
|
201
|
+
}), {
|
|
202
|
+
default: de(({ data: S }) => {
|
|
203
|
+
var M;
|
|
204
|
+
return [
|
|
205
|
+
ye((ie(), le(H, G({
|
|
206
|
+
ref_key: "fieldEditor",
|
|
207
|
+
ref: x,
|
|
208
|
+
model: g(b)
|
|
209
|
+
}, g(E), Me(g(k)), {
|
|
210
|
+
class: S.injectClass,
|
|
211
|
+
key: (M = g(_)) == null ? void 0 : M.fieldKey,
|
|
212
|
+
"element-loading-text": g(c).loadingText || g(pe).i18nt("designer.hint.dataLoading"),
|
|
213
|
+
onSubmit: m[0] || (m[0] = Re(() => {
|
|
214
|
+
}, ["prevent"]))
|
|
215
|
+
}), {
|
|
216
|
+
default: de(() => {
|
|
217
|
+
var W;
|
|
218
|
+
return [
|
|
219
|
+
Ae($e, G(a.$props, {
|
|
220
|
+
dragClass: "formDrag padSize",
|
|
221
|
+
model: g(b),
|
|
222
|
+
provideModel: !0,
|
|
223
|
+
"component-class": S.componentWrapperClass,
|
|
224
|
+
refList: g(I),
|
|
225
|
+
"show-suspense": (W = g(c)) == null ? void 0 : W.showSuspense
|
|
226
|
+
}), null, 16, ["model", "component-class", "refList", "show-suspense"])
|
|
227
|
+
];
|
|
228
|
+
}),
|
|
229
|
+
_: 2
|
|
230
|
+
}, 1040, ["model", "class", "element-loading-text"])), [
|
|
231
|
+
[y, V.value]
|
|
232
|
+
])
|
|
233
|
+
];
|
|
234
|
+
}),
|
|
235
|
+
_: 1
|
|
236
|
+
}, 16, ["prop-options"]);
|
|
237
|
+
};
|
|
238
|
+
}
|
|
239
|
+
});
|
|
240
|
+
const lt = /* @__PURE__ */ ot(it, [["__scopeId", "data-v-2649eac0"]]), wt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
241
|
+
__proto__: null,
|
|
242
|
+
default: lt
|
|
243
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
244
|
+
export {
|
|
245
|
+
wt as _
|
|
246
|
+
};
|
|
@@ -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-26b92457.js";
|
|
2
2
|
const o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3
3
|
__proto__: null,
|
|
4
4
|
default: e
|
|
@@ -1,10 +1,10 @@
|
|
|
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
2
|
import { w as b } from "./expression-1bc46129.js";
|
|
3
3
|
import { I as k } from "./widget-base-8eece820.js";
|
|
4
|
-
import { D as A } from "./drag-wrapper-
|
|
5
|
-
import { _ as j } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
6
|
-
import { b as H } from "./share-field-
|
|
7
|
-
import { c as $ } from "./slot-
|
|
4
|
+
import { D as A } from "./drag-wrapper-34808d28.js";
|
|
5
|
+
import { _ as j } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-066cc011.js";
|
|
6
|
+
import { b as H } from "./share-field-8ff93bee.js";
|
|
7
|
+
import { c as $ } from "./slot-c256f990.js";
|
|
8
8
|
const z = m({ componentName: b.ContainerWidget }), V = /* @__PURE__ */ m({
|
|
9
9
|
...z,
|
|
10
10
|
__name: "grid-col-widget",
|
|
@@ -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
2
|
import { b as k, w as y } from "./expression-1bc46129.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 { b as j } from "./share-field-
|
|
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-26b92457.js";
|
|
5
|
+
import { _ as S } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-066cc011.js";
|
|
6
|
+
import { b as j } from "./share-field-8ff93bee.js";
|
|
7
|
+
import { c as P } from "./slot-c256f990.js";
|
|
8
8
|
const v = p({ componentName: y.ContainerWidget }), B = /* @__PURE__ */ p({
|
|
9
9
|
...v,
|
|
10
10
|
__name: "grid-widget",
|