hlrender 0.0.169 → 0.0.170
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-390b46e5.js → _pdf-4a85c1fb.js} +10 -10
- package/{_txt-c35599bb.js → _txt-5adcdbf1.js} +10 -10
- package/{_unsupport-f93b0616.js → _unsupport-230b4ee9.js} +1 -1
- package/{affix-widget-85c291bd.js → affix-widget-79b241b8.js} +15 -15
- package/{alert-widget-7c1b4f9f.js → alert-widget-3e4247ad.js} +15 -15
- package/{anchor-widget-b8b58806.js → anchor-widget-45a6a40c.js} +12 -12
- package/{auto-complete-widget-ba2c8ff2.js → auto-complete-widget-3fff90f7.js} +15 -15
- package/{avatar-widget-bac433a6.js → avatar-widget-884a0520.js} +15 -15
- package/{backtop-widget-c0352cd8.js → backtop-widget-d3b577db.js} +15 -15
- package/{badge-widget-71d7a5f0.js → badge-widget-61593567.js} +15 -15
- package/{barcode-widget-de868823.js → barcode-widget-92789c8c.js} +12 -12
- package/{baseImp-466f044e.js → baseImp-3a4636f3.js} +8 -8
- package/{breadcrumb-widget-0adb110c.js → breadcrumb-widget-990d00a9.js} +12 -12
- package/{button-widget-6ed59e5f.js → button-widget-a1ca4081.js} +15 -15
- package/{cache-widget-0cda9b65.js → cache-widget-72263d58.js} +14 -14
- package/{card-widget-c25c6189.js → card-widget-469b9f74.js} +13 -13
- package/{carousel-widget-1b851bc8.js → carousel-widget-6df30912.js} +13 -13
- package/{cascader-widget-c021c305.js → cascader-widget-6548c333.js} +14 -14
- package/{chart-widget-7ecbdb54.js → chart-widget-6a3e4235.js} +12 -12
- package/{checkbox-widget-308e7ddc.js → checkbox-widget-ea9b34e9.js} +14 -14
- package/{collapse-widget-f3d64384.js → collapse-widget-c284e536.js} +13 -13
- package/{color-picker-widget-b3140711.js → color-picker-widget-8e15f7b7.js} +14 -14
- package/{cont-cell-widget-a0862224.js → cont-cell-widget-0fce44d4.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-01c85403.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-009e9be4.js} +5 -5
- package/{cont-widget-b5c913ee.js → cont-widget-8aaa30ec.js} +5 -5
- package/{content-wrapper-9c34fd63.js → content-wrapper-f64fe14e.js} +6 -6
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-88b7ccd9.js → content-wrapper.vue_vue_type_script_setup_true_lang-d5bf0178.js} +3 -3
- package/{date-picker-range-widget-bf622eeb.js → date-picker-range-widget-8230b77b.js} +14 -14
- package/{date-picker-widget-f1ea836f.js → date-picker-widget-52cbd307.js} +14 -14
- package/default-slot-widget-445d4395.js +26 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-72581ebd.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-1de61c58.js} +7 -7
- package/{descriptions-widget-2fe9000a.js → descriptions-widget-9cadd8c9.js} +13 -13
- package/{dialog-7ca048d4.js → dialog-7d3d4c46.js} +2 -2
- package/{dialog-widget-5831ac28.js → dialog-widget-c6669182.js} +14 -14
- package/{divider-widget-c3686a8e.js → divider-widget-5b77d5f1.js} +15 -15
- package/{drag-wrapper-8160d249.js → drag-wrapper-67e4186c.js} +6 -6
- package/{drawer-widget-a364e122.js → drawer-widget-900796a3.js} +14 -14
- package/{dropdown-widget-40eff1f9.js → dropdown-widget-a51c706f.js} +13 -13
- package/{empty-widget-97023e18.js → empty-widget-711e74e7.js} +15 -15
- package/{enum-type-d8df98a0.js → enum-type-cd0c3fe0.js} +1 -1
- package/{enum-type-8f579881.js → enum-type-f5ed0249.js} +1 -0
- package/{expression-497e1d43.js → expression-88659148.js} +1 -1
- package/feedback-widget-57da153e.js +26 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-18e13ae1.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-9d4f2d48.js} +5 -5
- package/{fieldobj-29aa53d6.js → fieldobj-95fc9eda.js} +1 -1
- package/{file-upload-widget-43bde826.js → file-upload-widget-b39e0d27.js} +19 -19
- package/{form-item-wrapper-56721cff.js → form-item-wrapper-b5a0c512.js} +10 -10
- package/{form-widget-e298047d.js → form-widget-ddb2ee4e.js} +10 -10
- package/{grid-col-widget-d6adbc77.js → grid-col-widget-2d946dbf.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-8efcd6a8.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-fae40043.js} +5 -5
- package/{grid-widget-2d1ae98e.js → grid-widget-3132011a.js} +5 -5
- package/{html-text-widget-4789dacd.js → html-text-widget-cdd20c59.js} +13 -13
- package/{icon-widget-396bf1cf.js → icon-widget-a63ac01b.js} +12 -12
- package/{iframe-widget-d4949e5b.js → iframe-widget-7c833921.js} +12 -12
- package/{image-widget-483c7a93.js → image-widget-cc54893c.js} +12 -12
- package/{index-33378705.js → index-3b472e10.js} +1 -1
- package/{index-c1af36a9.js → index-98c90591.js} +297 -293
- package/{index-fe5601ce.js → index-b465c4f5.js} +3 -3
- package/{input-number-widget-95687703.js → input-number-widget-bea9945a.js} +14 -14
- package/{input-widget-1ea32027.js → input-widget-df1e90d6.js} +15 -15
- package/{label-wrapper-0c5f7c2b.js → label-wrapper-20879bcd.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-bca7d543.js → label-wrapper.vue_vue_type_style_index_0_lang-7854fe6f.js} +3 -3
- package/{link-widget-4c1ed699.js → link-widget-52b447c7.js} +15 -15
- package/{ltable-col-widget-5e187954.js → ltable-col-widget-b25ee568.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-b8794088.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-b388e891.js} +9 -9
- package/{ltable-widget-380b3288.js → ltable-widget-559e10a6.js} +5 -5
- package/{menu-widget-a46ba782.js → menu-widget-832f79c1.js} +13 -13
- package/{model-widget-69d25690.js → model-widget-2237cd3e.js} +12 -12
- package/{multirow-ed4c7fcf.js → multirow-88d117c3.js} +5 -5
- package/{multirow-widget-513ad966.js → multirow-widget-cd6fa990.js} +14 -14
- package/package.json +1 -1
- package/{pagination-widget-bac2cdbf.js → pagination-widget-f03a8dd7.js} +12 -12
- package/{picture-upload-widget-0f8360be.js → picture-upload-widget-3df831fa.js} +15 -15
- package/{progress-widget-78fee26e.js → progress-widget-0ed97d3e.js} +13 -13
- package/{propresult-f21a7f7f.js → propresult-81b77756.js} +1 -1
- package/{qrcode-widget-8cab9e61.js → qrcode-widget-198acb09.js} +12 -12
- package/{radio-widget-78412620.js → radio-widget-97ac5675.js} +14 -14
- package/{range-widget-1f22cb20.js → range-widget-425e5d09.js} +15 -15
- package/{rate-widget-b6efb81e.js → rate-widget-7298f53c.js} +14 -14
- package/render.es.js +31 -31
- package/render.umd.js +262 -262
- package/{result-widget-b6fe28cc.js → result-widget-1db69d4a.js} +13 -13
- package/{rich-editor-widget-2af3b5c8.js → rich-editor-widget-8a4917e2.js} +14 -14
- package/{router-widget-82363477.js → router-widget-c005111b.js} +12 -12
- package/{select-widget-5f4f6672.js → select-widget-52626b29.js} +14 -14
- package/{sfc-b300f7bf.js → sfc-7649bd5b.js} +7 -7
- package/{sfcview-96adcff9.js → sfcview-a3a9e987.js} +6 -6
- package/{share-field-7b815bb1.js → share-field-6fcd1d83.js} +7 -7
- package/{share-file-170214b8.js → share-file-bcd5df8e.js} +5 -5
- package/{slider-widget-e0836ac9.js → slider-widget-8255d13e.js} +14 -14
- package/{slot-c8fb1bf9.js → slot-4a8c75ab.js} +3 -3
- package/{static-text-widget-db9590ae.js → static-text-widget-65e47322.js} +13 -13
- package/{steps-widget-80a0aa3a.js → steps-widget-00a4813a.js} +12 -12
- package/{subMenu-widget-c1d4c0c0.js → subMenu-widget-1bfe30ad.js} +7 -7
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-8eb1288c.js → subMenu-widget.vue_vue_type_script_setup_true_lang-0b8f936a.js} +3 -3
- package/{switch-widget-1da7b750.js → switch-widget-235c1985.js} +14 -14
- package/{tab-pane-widget-2f2daeeb.js → tab-pane-widget-d3b6ba72.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-7118490d.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-0415fd29.js} +5 -5
- package/{table-col-widget-d86a3867.js → table-col-widget-0b763344.js} +10 -10
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-578a1659.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-8ba711af.js} +5 -5
- package/table-widget-d71174bf.js +253 -0
- package/{tabs-widget-42d49fd0.js → tabs-widget-6cc44681.js} +7 -7
- package/{tag-widget-0dcc4fca.js → tag-widget-f23d2a8c.js} +15 -15
- package/{text-widget-57a7630a.js → text-widget-e5cd6d67.js} +15 -15
- package/{textarea-widget-a1ddc5eb.js → textarea-widget-728de73a.js} +14 -14
- package/{time-picker-range-widget-36d938f8.js → time-picker-range-widget-7f8116a1.js} +14 -14
- package/{time-picker-widget-7b56a808.js → time-picker-widget-4530e9b0.js} +14 -14
- package/{time-select-widget-8bd8e0e4.js → time-select-widget-21fcabb6.js} +14 -14
- package/{tmpl-widget-11b63068.js → tmpl-widget-8ab8aa9f.js} +13 -13
- package/{tree-select-widget-0b962a25.js → tree-select-widget-0355f65b.js} +14 -14
- package/{tree-widget-0f3f2862.js → tree-widget-c8309543.js} +12 -12
- package/{verifycode-widget-29b40889.js → verifycode-widget-38104472.js} +12 -12
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c87aee50.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3e91afbe.js} +7 -7
- package/{wrapper-widget-e13dcf34.js → wrapper-widget-fd7f08bc.js} +6 -6
- package/default-slot-widget-fdf9d79d.js +0 -26
- package/feedback-widget-c7f414fa.js +0 -26
- package/table-widget-954765c6.js +0 -207
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { defineComponent as g, ref as v, onMounted as N, watch as k, openBlock as w, createElementBlock as S, createElementVNode as x, computed as C, nextTick as H, createBlock as P, mergeProps as b, unref as u, withCtx as W, createVNode as I } from "vue";
|
|
2
|
-
import { w as V } from "./expression-
|
|
2
|
+
import { w as V } from "./expression-88659148.js";
|
|
3
3
|
import { I as z } from "./field-base-5547436d.js";
|
|
4
|
-
import { b as T } from "./share-field-
|
|
5
|
-
import { _ as B } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
6
|
-
import { R as E } from "./enum-type-
|
|
4
|
+
import { b as T } from "./share-field-6fcd1d83.js";
|
|
5
|
+
import { _ as B } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3e91afbe.js";
|
|
6
|
+
import { R as E } from "./enum-type-f5ed0249.js";
|
|
7
7
|
import { _ as R } from "./_plugin-vue_export-helper-dad06003.js";
|
|
8
8
|
import "./source-map-b04aec4a.js";
|
|
9
9
|
import "./uuid-4999945f.js";
|
|
10
10
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
11
11
|
import "./esprima-e8d15055.js";
|
|
12
12
|
import "./widget-base-4c2d6265.js";
|
|
13
|
-
import "./multirow-
|
|
14
|
-
import "./baseImp-
|
|
15
|
-
import "./enum-type-
|
|
13
|
+
import "./multirow-88d117c3.js";
|
|
14
|
+
import "./baseImp-3a4636f3.js";
|
|
15
|
+
import "./enum-type-cd0c3fe0.js";
|
|
16
16
|
import "./icon-a0e0cdb0.js";
|
|
17
|
-
import "./dialog-
|
|
17
|
+
import "./dialog-7d3d4c46.js";
|
|
18
18
|
import "element-plus";
|
|
19
|
-
import "./index-
|
|
20
|
-
import "./slot-
|
|
21
|
-
import "./index-
|
|
22
|
-
import "./fieldobj-
|
|
19
|
+
import "./index-98c90591.js";
|
|
20
|
+
import "./slot-4a8c75ab.js";
|
|
21
|
+
import "./index-3b472e10.js";
|
|
22
|
+
import "./fieldobj-95fc9eda.js";
|
|
23
23
|
const F = { class: "s-canvas" }, L = ["width", "height"], $ = /* @__PURE__ */ g({
|
|
24
24
|
__name: "_index",
|
|
25
25
|
props: {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as le, resolveComponent as U, openBlock as l, createElementBlock as v, Fragment as j, createVNode as o, createCommentVNode as y, createBlock as W, createSlots as ne, withCtx as r, createElementVNode as z, renderList as ie, createTextVNode as C, toDisplayString as L, withModifiers as w, unref as n, renderSlot as S, computed as h, ref as se, resolveDynamicComponent as de, mergeProps as E, toHandlers as pe } from "vue";
|
|
2
|
-
import { e as g, c as ue, R as oe } from "./enum-type-
|
|
2
|
+
import { e as g, c as ue, R as oe } from "./enum-type-f5ed0249.js";
|
|
3
3
|
import { I as me, a as ge } from "./widget-base-4c2d6265.js";
|
|
4
|
-
import { a as re, i as fe, j as we, k as ve } from "./index-
|
|
5
|
-
import { S as m } from "./index-
|
|
6
|
-
import { f as he } from "./baseImp-
|
|
7
|
-
import { c as X, S as ye } from "./enum-type-
|
|
8
|
-
import { u as We } from "./fieldobj-
|
|
9
|
-
import { g as N } from "./expression-
|
|
4
|
+
import { a as re, i as fe, j as we, k as ve } from "./index-98c90591.js";
|
|
5
|
+
import { S as m } from "./index-3b472e10.js";
|
|
6
|
+
import { f as he } from "./baseImp-3a4636f3.js";
|
|
7
|
+
import { c as X, S as ye } from "./enum-type-cd0c3fe0.js";
|
|
8
|
+
import { u as We } from "./fieldobj-95fc9eda.js";
|
|
9
|
+
import { g as N } from "./expression-88659148.js";
|
|
10
10
|
const ce = { key: 0 }, ke = { class: "clWhite" }, Ce = { class: "clWhite" }, Le = ["title"], be = ["title"], $e = ["title"], Se = ["title"], Te = /* @__PURE__ */ le({
|
|
11
11
|
__name: "drag-handler",
|
|
12
12
|
props: { ...me, parentTree: { type: Object, default: null }, hidden: { type: Boolean, default: !1 }, simple: { type: Boolean } },
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ref as y, watch as L, defineComponent as h, resolveDirective as j, openBlock as b, createBlock as D, mergeProps as W, unref as s, withCtx as O, withDirectives as P, createElementBlock as x, normalizeClass as z, createVNode as R, createCommentVNode as S } from "vue";
|
|
2
2
|
import { I as k } from "./widget-base-4c2d6265.js";
|
|
3
|
-
import { D as A } from "./drag-wrapper-
|
|
4
|
-
import { _ as B } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { w as F } from "./expression-
|
|
6
|
-
import { W as v } from "./enum-type-
|
|
7
|
-
import { b as N, a as $ } from "./share-field-
|
|
8
|
-
import { c as E } from "./slot-
|
|
3
|
+
import { D as A } from "./drag-wrapper-67e4186c.js";
|
|
4
|
+
import { _ as B } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3e91afbe.js";
|
|
5
|
+
import { w as F } from "./expression-88659148.js";
|
|
6
|
+
import { W as v } from "./enum-type-cd0c3fe0.js";
|
|
7
|
+
import { b as N, a as $ } from "./share-field-6fcd1d83.js";
|
|
8
|
+
import { c as E } from "./slot-4a8c75ab.js";
|
|
9
9
|
function H(i) {
|
|
10
10
|
const n = y({}), { componentWrapperClass: c, customClass: a } = E({ widget: i.widget }), { exposed: t, attrs: d, extendAttrs: f, fieldKey: g, fieldObj: m } = N(i), { setAllRefList: l } = $(n.value), p = (o = !1) => {
|
|
11
11
|
l(v.setDisabled, { flag: o });
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { _ as o } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-72581ebd.js";
|
|
2
|
-
import "vue";
|
|
3
|
-
import "./enum-type-8f579881.js";
|
|
4
|
-
import "./field-base-5547436d.js";
|
|
5
|
-
import "./widget-base-4c2d6265.js";
|
|
6
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c87aee50.js";
|
|
7
|
-
import "./index-c1af36a9.js";
|
|
8
|
-
import "./uuid-4999945f.js";
|
|
9
|
-
import "./enum-type-d8df98a0.js";
|
|
10
|
-
import "./baseImp-466f044e.js";
|
|
11
|
-
import "./expression-497e1d43.js";
|
|
12
|
-
import "./source-map-b04aec4a.js";
|
|
13
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
|
-
import "./esprima-e8d15055.js";
|
|
15
|
-
import "./icon-a0e0cdb0.js";
|
|
16
|
-
import "./dialog-7ca048d4.js";
|
|
17
|
-
import "element-plus";
|
|
18
|
-
import "./index-33378705.js";
|
|
19
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
|
-
import "./fieldobj-29aa53d6.js";
|
|
21
|
-
import "./slot-c8fb1bf9.js";
|
|
22
|
-
import "./content-wrapper.vue_vue_type_script_setup_true_lang-88b7ccd9.js";
|
|
23
|
-
import "./drag-wrapper-8160d249.js";
|
|
24
|
-
export {
|
|
25
|
-
o as default
|
|
26
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { _ as o } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-18e13ae1.js";
|
|
2
|
-
import "vue";
|
|
3
|
-
import "./widget-base-4c2d6265.js";
|
|
4
|
-
import "./drag-wrapper-8160d249.js";
|
|
5
|
-
import "./enum-type-8f579881.js";
|
|
6
|
-
import "./baseImp-466f044e.js";
|
|
7
|
-
import "./enum-type-d8df98a0.js";
|
|
8
|
-
import "./expression-497e1d43.js";
|
|
9
|
-
import "./source-map-b04aec4a.js";
|
|
10
|
-
import "./uuid-4999945f.js";
|
|
11
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
12
|
-
import "./esprima-e8d15055.js";
|
|
13
|
-
import "./icon-a0e0cdb0.js";
|
|
14
|
-
import "./dialog-7ca048d4.js";
|
|
15
|
-
import "element-plus";
|
|
16
|
-
import "./index-c1af36a9.js";
|
|
17
|
-
import "./slot-c8fb1bf9.js";
|
|
18
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
19
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c87aee50.js";
|
|
20
|
-
import "./index-33378705.js";
|
|
21
|
-
import "./fieldobj-29aa53d6.js";
|
|
22
|
-
import "./share-field-7b815bb1.js";
|
|
23
|
-
import "./multirow-ed4c7fcf.js";
|
|
24
|
-
export {
|
|
25
|
-
o as default
|
|
26
|
-
};
|
package/table-widget-954765c6.js
DELETED
|
@@ -1,207 +0,0 @@
|
|
|
1
|
-
import { defineComponent as Y, ref as k, computed as G, reactive as xe, onMounted as Ne, resolveComponent as b, resolveDirective as Oe, openBlock as d, createBlock as S, mergeProps as H, unref as t, withCtx as z, withDirectives as Pe, createElementBlock as J, createVNode as E, createElementVNode as ke, toDisplayString as ze, createCommentVNode as q, toHandlers as Ce, createTextVNode as je, Fragment as Re, renderList as Ee } from "vue";
|
|
2
|
-
import { I as Fe } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as De } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c87aee50.js";
|
|
4
|
-
import { b as Te } from "./share-field-7b815bb1.js";
|
|
5
|
-
import { w as Ie, g as Me } from "./expression-497e1d43.js";
|
|
6
|
-
import { _ as We } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-578a1659.js";
|
|
7
|
-
import { x as Ae, e as F, g as Q, a as Le, f as Ve, t as we, o as Be } from "./enum-type-8f579881.js";
|
|
8
|
-
import { F as $e } from "./slot-c8fb1bf9.js";
|
|
9
|
-
import { c as Ke, p as X } from "./multirow-ed4c7fcf.js";
|
|
10
|
-
import { L as Ue } from "./baseImp-466f044e.js";
|
|
11
|
-
import { S as Ge } from "./index-33378705.js";
|
|
12
|
-
import "./widget-base-4c2d6265.js";
|
|
13
|
-
import "./index-c1af36a9.js";
|
|
14
|
-
import "./uuid-4999945f.js";
|
|
15
|
-
import "./enum-type-d8df98a0.js";
|
|
16
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
17
|
-
import "./fieldobj-29aa53d6.js";
|
|
18
|
-
import "./icon-a0e0cdb0.js";
|
|
19
|
-
import "./source-map-b04aec4a.js";
|
|
20
|
-
import "./esprima-e8d15055.js";
|
|
21
|
-
import "./drag-wrapper-8160d249.js";
|
|
22
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
23
|
-
import "./dialog-7ca048d4.js";
|
|
24
|
-
import "element-plus";
|
|
25
|
-
const He = { key: 1 }, Je = { style: { display: "inline-block", "margin-left": "3px", "margin-top": "3px" } }, qe = Y({ componentName: Ie.FieldWidget }), St = /* @__PURE__ */ Y({
|
|
26
|
-
...qe,
|
|
27
|
-
__name: "table-widget",
|
|
28
|
-
props: { ...Fe },
|
|
29
|
-
setup(Z, { expose: ee }) {
|
|
30
|
-
var W;
|
|
31
|
-
const C = Z, { fieldName: D, exposed: n, fieldEditor: te, fieldKey: ae, attrs: g, extendAttrs: u, events: oe, optionItems: v, watchOption: re, fieldObj: ne, propResultOpt: le, getFieldOptions: ie } = Te({ ...C, exposedWholeInstance: !0 }), { toModel: se } = Ke({
|
|
32
|
-
...C,
|
|
33
|
-
fieldName: D.value
|
|
34
|
-
}), _ = k(1), x = k((W = u.value) == null ? void 0 : W.pageSize), j = k(10), ue = (e) => {
|
|
35
|
-
x.value = e;
|
|
36
|
-
}, pe = (e) => {
|
|
37
|
-
_.value = e;
|
|
38
|
-
}, R = k(!1), c = k(), me = G(() => {
|
|
39
|
-
var r;
|
|
40
|
-
if (C.designState)
|
|
41
|
-
return [{}];
|
|
42
|
-
if ((r = u.value) != null && r.allowPage) {
|
|
43
|
-
var e = Ae(c.value, _.value, x.value);
|
|
44
|
-
return j.value = e == null ? void 0 : e.totalItems, e == null ? void 0 : e.data;
|
|
45
|
-
} else
|
|
46
|
-
return c.value;
|
|
47
|
-
}), de = () => {
|
|
48
|
-
_.value = 1, j.value = 0, c.value = [];
|
|
49
|
-
}, T = (e = !1) => new Promise((r, i) => {
|
|
50
|
-
const l = (a) => {
|
|
51
|
-
c.value = a, R.value = !1, r(a);
|
|
52
|
-
};
|
|
53
|
-
re(e, Me.data, () => {
|
|
54
|
-
de(), R.value = !0;
|
|
55
|
-
}, (a) => {
|
|
56
|
-
var s, p;
|
|
57
|
-
(s = u.value) != null && s.beforeTableRender ? (p = u.value) == null || p.beforeTableRender(a, (m) => {
|
|
58
|
-
l(m);
|
|
59
|
-
}) : l(a);
|
|
60
|
-
});
|
|
61
|
-
}), ce = (e) => {
|
|
62
|
-
Le(e) && (e = Ve(e)), c.value = we(e, !0);
|
|
63
|
-
}, fe = () => c.value, I = xe({}), ge = D.value;
|
|
64
|
-
$e.globalProvide({
|
|
65
|
-
globalFormName: ge,
|
|
66
|
-
globalDataModel: I
|
|
67
|
-
});
|
|
68
|
-
const ve = F.i18nt("designer.hint.noData"), _e = () => {
|
|
69
|
-
var r;
|
|
70
|
-
var e = {};
|
|
71
|
-
return (r = Object.keys(n == null ? void 0 : n.allRefList)) == null || r.forEach((i) => {
|
|
72
|
-
var s, p, m;
|
|
73
|
-
var l = (m = (p = (s = n == null ? void 0 : n.allRefList[i]) == null ? void 0 : s.exposed) == null ? void 0 : p.getField) == null ? void 0 : m.call(p);
|
|
74
|
-
if (l) {
|
|
75
|
-
const o = X(i);
|
|
76
|
-
if (!(o != null && o.groupName) || (o == null ? void 0 : o.groupName) === "header")
|
|
77
|
-
return;
|
|
78
|
-
var a = e[o == null ? void 0 : o.groupName];
|
|
79
|
-
a || (a = []), a.push(l), e[o == null ? void 0 : o.groupName] = a;
|
|
80
|
-
}
|
|
81
|
-
}), Be(e).map((i) => se(I, e[i]));
|
|
82
|
-
}, ye = (e) => {
|
|
83
|
-
var r;
|
|
84
|
-
!e || e.length <= 0 || (r = Object.keys(n == null ? void 0 : n.allRefList)) == null || r.forEach((i) => {
|
|
85
|
-
var m, o, y, N, O, f, P;
|
|
86
|
-
var l = (y = (o = (m = n == null ? void 0 : n.allRefList[i]) == null ? void 0 : m.exposed) == null ? void 0 : o.getField) == null ? void 0 : y.call(o);
|
|
87
|
-
if (!l)
|
|
88
|
-
return;
|
|
89
|
-
const a = X(i);
|
|
90
|
-
if (!(a != null && a.groupName))
|
|
91
|
-
return;
|
|
92
|
-
var s = e == null ? void 0 : e[parseInt(a == null ? void 0 : a.groupName)];
|
|
93
|
-
const p = (N = l == null ? void 0 : l._source) == null ? void 0 : N.name;
|
|
94
|
-
(s == null ? void 0 : s[p]) != null && ((P = (f = (O = n == null ? void 0 : n.allRefList[i]) == null ? void 0 : O.exposed) == null ? void 0 : f.setValue) == null || P.call(f, s == null ? void 0 : s[p]));
|
|
95
|
-
});
|
|
96
|
-
}, he = G(() => {
|
|
97
|
-
var e;
|
|
98
|
-
return (e = u.value) == null ? void 0 : e.enableExport;
|
|
99
|
-
}), { exporting: be, exportExcel: Se } = Ue(), M = (e) => {
|
|
100
|
-
var i, l, a;
|
|
101
|
-
const r = {
|
|
102
|
-
filename: (i = u.value) == null ? void 0 : i.exportFileName,
|
|
103
|
-
sheetName: (l = u.value) == null ? void 0 : l.exportSheetName,
|
|
104
|
-
autoWidth: (a = u.value) == null ? void 0 : a.exportAutoWidth
|
|
105
|
-
};
|
|
106
|
-
return Se(c.value, v == null ? void 0 : v.value, { ...r, ...e });
|
|
107
|
-
};
|
|
108
|
-
return Ne(() => {
|
|
109
|
-
C.designState || T(!0);
|
|
110
|
-
}), ee({
|
|
111
|
-
...n,
|
|
112
|
-
setValue: ce,
|
|
113
|
-
getValue: fe,
|
|
114
|
-
refresh: T,
|
|
115
|
-
getTableData: _e,
|
|
116
|
-
setTableData: ye,
|
|
117
|
-
exporting: be,
|
|
118
|
-
exportToExcel: M,
|
|
119
|
-
currentPage: () => _.value,
|
|
120
|
-
pageSize: () => x.value
|
|
121
|
-
}), (e, r) => {
|
|
122
|
-
const i = b("el-empty"), l = b("el-button"), a = b("el-col"), s = b("el-row"), p = b("el-table"), m = b("el-pagination"), o = Oe("loading");
|
|
123
|
-
return d(), S(De, H(e.$props, {
|
|
124
|
-
"prop-options": { fieldObj: t(ne) }
|
|
125
|
-
}), {
|
|
126
|
-
default: z(({ data: y }) => {
|
|
127
|
-
var N, O, f, P, A, L, V, w, B, $, K, U;
|
|
128
|
-
return [
|
|
129
|
-
!t(v) || ((N = t(v)) == null ? void 0 : N.length) <= 0 || ((O = t(v)) == null ? void 0 : O[0]) == null ? (d(), S(i, {
|
|
130
|
-
key: 0,
|
|
131
|
-
description: t(F).i18nt("designer.hint.tableSetting")
|
|
132
|
-
}, null, 8, ["description"])) : Pe((d(), J("div", He, [
|
|
133
|
-
t(he) ? (d(), S(s, {
|
|
134
|
-
key: 0,
|
|
135
|
-
justify: "end"
|
|
136
|
-
}, {
|
|
137
|
-
default: z(() => [
|
|
138
|
-
E(a, {
|
|
139
|
-
span: 24,
|
|
140
|
-
style: { "text-align": "right", margin: "10px" }
|
|
141
|
-
}, {
|
|
142
|
-
default: z(() => [
|
|
143
|
-
E(l, { onClick: M }, {
|
|
144
|
-
default: z(() => [
|
|
145
|
-
E(Ge, { name: "@custom-xls" }),
|
|
146
|
-
ke("span", Je, ze(t(F).i18nt("designer.hint.export")), 1)
|
|
147
|
-
]),
|
|
148
|
-
_: 1
|
|
149
|
-
})
|
|
150
|
-
]),
|
|
151
|
-
_: 1
|
|
152
|
-
})
|
|
153
|
-
]),
|
|
154
|
-
_: 1
|
|
155
|
-
})) : q("", !0),
|
|
156
|
-
(d(), S(p, H({
|
|
157
|
-
ref_key: "fieldEditor",
|
|
158
|
-
ref: te
|
|
159
|
-
}, t(g), Ce(t(oe)), {
|
|
160
|
-
key: t(ae),
|
|
161
|
-
"row-key": "uuid",
|
|
162
|
-
"empty-text": ((f = t(g)) == null ? void 0 : f.emptyText) || t(ve),
|
|
163
|
-
size: y.size,
|
|
164
|
-
defaultSort: t(Q)((P = t(g)) == null ? void 0 : P.defaultSort) ? (A = t(g)) == null ? void 0 : A.defaultSort : void 0,
|
|
165
|
-
treeProps: t(Q)((L = t(g)) == null ? void 0 : L.treeProps) ? (V = t(g)) == null ? void 0 : V.treeProps : void 0,
|
|
166
|
-
class: y.injectClass,
|
|
167
|
-
style: y.injectStyle,
|
|
168
|
-
data: t(me)
|
|
169
|
-
}), {
|
|
170
|
-
default: z(() => [
|
|
171
|
-
je('Class" :style="data.injectStyle" :data="tableData"> '),
|
|
172
|
-
(d(!0), J(Re, null, Ee(t(ie)("optionItems"), (h, Qe) => (d(), S(We, {
|
|
173
|
-
key: h.uuid,
|
|
174
|
-
options: h,
|
|
175
|
-
designer: e.designer,
|
|
176
|
-
propResultOpt: t(le),
|
|
177
|
-
designState: e.designState
|
|
178
|
-
}, null, 8, ["options", "designer", "propResultOpt", "designState"]))), 128))
|
|
179
|
-
]),
|
|
180
|
-
_: 2
|
|
181
|
-
}, 1040, ["empty-text", "size", "defaultSort", "treeProps", "class", "style", "data"])),
|
|
182
|
-
(w = t(u)) != null && w.allowPage ? (d(), S(m, {
|
|
183
|
-
key: 1,
|
|
184
|
-
"current-page": _.value,
|
|
185
|
-
"onUpdate:current-page": r[0] || (r[0] = (h) => _.value = h),
|
|
186
|
-
"page-size": x.value,
|
|
187
|
-
"onUpdate:page-size": r[1] || (r[1] = (h) => x.value = h),
|
|
188
|
-
"page-sizes": (B = t(u)) == null ? void 0 : B.pageSizes,
|
|
189
|
-
hideOnSinglePage: ($ = t(u)) == null ? void 0 : $.hideOnSinglePage,
|
|
190
|
-
layout: (U = (K = t(u)) == null ? void 0 : K.layout) == null ? void 0 : U.join(","),
|
|
191
|
-
total: j.value,
|
|
192
|
-
onSizeChange: ue,
|
|
193
|
-
onCurrentChange: pe
|
|
194
|
-
}, null, 8, ["current-page", "page-size", "page-sizes", "hideOnSinglePage", "layout", "total"])) : q("", !0)
|
|
195
|
-
])), [
|
|
196
|
-
[o, !e.designState && R.value]
|
|
197
|
-
])
|
|
198
|
-
];
|
|
199
|
-
}),
|
|
200
|
-
_: 1
|
|
201
|
-
}, 16, ["prop-options"]);
|
|
202
|
-
};
|
|
203
|
-
}
|
|
204
|
-
});
|
|
205
|
-
export {
|
|
206
|
-
St as default
|
|
207
|
-
};
|