hlrender 0.0.279 → 0.0.281
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-9b5d27b4.js → _pdf-548ad0f3.js} +6 -6
- package/{_txt-0593d0e0.js → _txt-24c93a61.js} +6 -6
- package/{_unsupport-da233192.js → _unsupport-94709676.js} +1 -1
- package/{affix-widget-c64f2a6d.js → affix-widget-1a6310d4.js} +16 -16
- package/{alert-widget-d9a90987.js → alert-widget-571bba6e.js} +16 -16
- package/{anchor-widget-d58f6e60.js → anchor-widget-7f9b4704.js} +13 -13
- package/{auto-complete-widget-ffbb9c34.js → auto-complete-widget-28e2a290.js} +16 -16
- package/{avatar-widget-c74e9cb1.js → avatar-widget-49f2752a.js} +16 -16
- package/{backtop-widget-13c5e63c.js → backtop-widget-30564189.js} +16 -16
- package/{badge-widget-ae67ac0d.js → badge-widget-0818febb.js} +16 -16
- package/{barcode-widget-25155300.js → barcode-widget-ffc961ea.js} +13 -13
- package/{baseImp-400cad07.js → baseImp-e43868e7.js} +6 -6
- package/{breadcrumb-widget-bdd20066.js → breadcrumb-widget-77002c24.js} +13 -13
- package/{button-widget-6305ac39.js → button-widget-e8070fb5.js} +16 -16
- package/{cache-widget-5c727929.js → cache-widget-6cc29c5e.js} +15 -15
- package/{card-widget-1c9aca68.js → card-widget-ca2bb1ad.js} +14 -14
- package/{carousel-widget-bf1aaede.js → carousel-widget-4ffc62fc.js} +14 -14
- package/{cascader-widget-b1c95acc.js → cascader-widget-74a7b297.js} +15 -15
- package/{chart-widget-4ca61f96.js → chart-widget-e18a19f7.js} +13 -13
- package/{checkbox-widget-2f21494c.js → checkbox-widget-31023095.js} +15 -15
- package/{collapse-widget-4977c167.js → collapse-widget-50f525a9.js} +14 -14
- package/{color-picker-widget-1b2e9202.js → color-picker-widget-e624aa47.js} +15 -15
- package/{cont-cell-widget-99eb942e.js → cont-cell-widget-f308c538.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-b77b65d2.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-98452cda.js} +5 -5
- package/{cont-widget-cc0aab97.js → cont-widget-41b64d3c.js} +5 -5
- package/{content-wrapper-34143ad2.js → content-wrapper-2f8a8778.js} +7 -7
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-4a379729.js → content-wrapper.vue_vue_type_script_setup_true_lang-f2107cfb.js} +3 -3
- package/{countdown-widget-71af8ef3.js → countdown-widget-4a53b867.js} +16 -16
- package/{date-picker-range-widget-140bbecb.js → date-picker-range-widget-852eb4c0.js} +15 -15
- package/{date-picker-widget-80cabeb6.js → date-picker-widget-d20afc47.js} +15 -15
- package/default-slot-widget-1f6e991f.js +27 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-7b022737.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-9e5c9bd8.js} +7 -7
- package/{descriptions-widget-6f30544a.js → descriptions-widget-50eee1e8.js} +14 -14
- package/{dialog-ba82cdec.js → dialog-5573c8b7.js} +2 -2
- package/{dialog-widget-663ea60c.js → dialog-widget-2dad7b95.js} +15 -15
- package/{divider-widget-37ca9249.js → divider-widget-01b38854.js} +16 -16
- package/{drag-wrapper-c1f48877.js → drag-wrapper-d98cad09.js} +6 -6
- package/{drawer-widget-6da250e3.js → drawer-widget-939bde62.js} +15 -15
- package/{dropdown-widget-d5f12e1c.js → dropdown-widget-3a3df408.js} +14 -14
- package/{empty-widget-1720c703.js → empty-widget-809007bc.js} +16 -16
- package/{enum-type-e79908ad.js → enum-type-54c8c6ff.js} +10 -9
- package/{enum-type-c811e210.js → enum-type-90590ca7.js} +1 -1
- package/{expression-33c6675c.js → expression-843cb957.js} +2 -2
- package/feedback-widget-295b041f.js +27 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-f4e77273.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-744d22c3.js} +6 -6
- package/{fieldobj-f85abb19.js → fieldobj-eb2feee2.js} +1 -1
- package/{file-upload-widget-b21f63ca.js → file-upload-widget-ab82c308.js} +20 -20
- package/{form-item-wrapper-34a76f45.js → form-item-wrapper-dc9f2e85.js} +11 -11
- package/{form-widget-fc54d407.js → form-widget-551effdf.js} +10 -10
- package/{grid-col-widget-aca087ac.js → grid-col-widget-c02ffb7e.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-7016d744.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-2635b1fb.js} +5 -5
- package/{grid-widget-4caffeb4.js → grid-widget-7783b8a6.js} +5 -5
- package/{hcard-widget-752cba4b.js → hcard-widget-d116f0b2.js} +14 -14
- package/{html-text-widget-4d24ba9c.js → html-text-widget-fde30e97.js} +14 -14
- package/{icon-widget-16401900.js → icon-widget-58f29aa4.js} +13 -13
- package/{iframe-widget-f326d813.js → iframe-widget-e8e0557b.js} +13 -13
- package/{image-widget-7ea56ba3.js → image-widget-51e5ed47.js} +13 -13
- package/{index-c0a3d6e7.js → index-9d408ab3.js} +4 -4
- package/{index-2bf9b2be.js → index-ab77f273.js} +1 -1
- package/{index-ae0006aa.js → index-e6ed9f5a.js} +9 -5
- package/{input-number-widget-29452144.js → input-number-widget-c5081b1b.js} +15 -15
- package/{input-tag-widget-96cd81be.js → input-tag-widget-2ffdb2ec.js} +16 -16
- package/{input-widget-ff6d1d64.js → input-widget-29acc552.js} +16 -16
- package/{label-wrapper-7e729f44.js → label-wrapper-e1cc338d.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-cc21dbd8.js → label-wrapper.vue_vue_type_style_index_0_lang-e4bea232.js} +3 -3
- package/{link-widget-bc8b68e7.js → link-widget-a6a6e2ee.js} +16 -16
- package/{ltable-col-widget-7e7991ff.js → ltable-col-widget-4db824e1.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-51fa2c12.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-77c5fb3e.js} +9 -9
- package/{ltable-widget-79282781.js → ltable-widget-a3fb3718.js} +5 -5
- package/{mention-widget-564d6496.js → mention-widget-83f669d6.js} +16 -16
- package/{menu-widget-cd89a5c9.js → menu-widget-92aff85b.js} +14 -14
- package/{model-widget-c1ffd4d7.js → model-widget-e78a71d0.js} +13 -13
- package/{multirow-08ac8d9a.js → multirow-e54c3ff7.js} +6 -6
- package/{multirow-widget-a5f96aca.js → multirow-widget-71e28030.js} +15 -15
- package/package.json +1 -1
- package/{pagination-widget-3a85115a.js → pagination-widget-9b4b03ef.js} +13 -13
- package/{picture-upload-widget-841e9ef1.js → picture-upload-widget-fc052b6c.js} +16 -16
- package/{progress-widget-a8395d00.js → progress-widget-c9044fa3.js} +14 -14
- package/{qrcode-widget-e9ee4a6e.js → qrcode-widget-70e3e032.js} +13 -13
- package/{radio-widget-d23aedc3.js → radio-widget-38b4713c.js} +15 -15
- package/{range-widget-8a9f70d8.js → range-widget-1268a463.js} +16 -16
- package/{rate-widget-4bbc2e66.js → rate-widget-9d0fbe3b.js} +15 -15
- package/render.es.js +32 -32
- package/render.umd.js +161 -161
- package/{result-widget-999f1c09.js → result-widget-dff9b20e.js} +14 -14
- package/{rich-editor-widget-21fa8e4c.js → rich-editor-widget-673f0312.js} +15 -15
- package/{router-widget-d51b8479.js → router-widget-2b256e76.js} +13 -13
- package/{segmented-widget-18a04c75.js → segmented-widget-f94759b2.js} +13 -13
- package/{select-widget-c2bf646a.js → select-widget-a5794d9d.js} +15 -15
- package/{sfc-31e7b9c3.js → sfc-66e5b989.js} +8 -8
- package/{sfcview-97706d6a.js → sfcview-60d56dab.js} +7 -7
- package/{share-field-81883144.js → share-field-dc9be135.js} +8 -8
- package/{share-file-a5a8446d.js → share-file-78434836.js} +6 -6
- package/{skeleton-widget-6119d6c7.js → skeleton-widget-ebdbfd1b.js} +16 -16
- package/{skeletonItem-widget-22f3cbe2.js → skeletonItem-widget-d201868b.js} +13 -13
- package/{slider-widget-62638317.js → slider-widget-046814a0.js} +15 -15
- package/{slot-474db76c.js → slot-100f7831.js} +4 -4
- package/{space-widget-43b8f588.js → space-widget-5e30a357.js} +14 -14
- package/{splitter-widget-f3f80098.js → splitter-widget-2fa37fc7.js} +14 -14
- package/{static-text-widget-90b0cfc8.js → static-text-widget-24513e6b.js} +14 -14
- package/{statistic-widget-4c288c30.js → statistic-widget-9acbbea7.js} +16 -16
- package/{steps-widget-eaefe865.js → steps-widget-38d93f31.js} +13 -13
- package/{subMenu-widget-4d9681aa.js → subMenu-widget-23007af2.js} +8 -8
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-5d15c8c6.js → subMenu-widget.vue_vue_type_script_setup_true_lang-e57e4ad0.js} +3 -3
- package/{switch-widget-97664e9a.js → switch-widget-0b65d046.js} +15 -15
- package/{tab-pane-widget-c4795e39.js → tab-pane-widget-93f2901b.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-ecb67384.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-ab5debe0.js} +5 -5
- package/table-col-widget-cbf9b823.js +23 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-67b0f42b.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-e4ff6a5d.js} +7 -7
- package/table-widget-906bd14a.js +360 -0
- package/{tabs-widget-a1af3ab9.js → tabs-widget-652f9592.js} +7 -7
- package/{tag-widget-737b1d35.js → tag-widget-b7dcc617.js} +16 -16
- package/{text-widget-dc985322.js → text-widget-b029f026.js} +16 -16
- package/{textarea-widget-747dc446.js → textarea-widget-d9c0bfdb.js} +15 -15
- package/{time-picker-range-widget-1109a59d.js → time-picker-range-widget-a95172e3.js} +15 -15
- package/{time-picker-widget-553b16f2.js → time-picker-widget-cd50707b.js} +15 -15
- package/{time-select-widget-43f6185d.js → time-select-widget-5c310493.js} +15 -15
- package/{timeline-widget-f6de5bbc.js → timeline-widget-4d95600d.js} +14 -14
- package/{tmpl-widget-af11e8f2.js → tmpl-widget-baa4063a.js} +14 -14
- package/{tooltip-widget-67613620.js → tooltip-widget-949acbc8.js} +14 -14
- package/{tour-widget-ab373a54.js → tour-widget-b95b85c0.js} +13 -13
- package/{transfer-widget-09fc210d.js → transfer-widget-80b58022.js} +16 -16
- package/{tree-select-widget-fafa708c.js → tree-select-widget-b3328139.js} +15 -15
- package/{tree-widget-d28f3bc9.js → tree-widget-bb4b799f.js} +13 -13
- package/{uuid-803a2cf2.js → uuid-aab81f94.js} +1 -1
- package/{verifycode-widget-cfaac442.js → verifycode-widget-ba096ca4.js} +13 -13
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b10bd579.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-2b5032e8.js} +7 -7
- package/{wrapper-widget-4f0c68ba.js → wrapper-widget-41ce114e.js} +6 -6
- package/default-slot-widget-8aee6c32.js +0 -27
- package/feedback-widget-74d1293a.js +0 -27
- package/table-col-widget-48e46875.js +0 -23
- package/table-widget-39d3886b.js +0 -353
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as oe, resolveComponent as U, openBlock as o, createElementBlock as w, Fragment as j, createVNode as d, createCommentVNode as y, createBlock as W, createSlots as ne, withCtx as a, createElementVNode as z, renderList as ie, createTextVNode as C, toDisplayString as b, withModifiers as v, unref as l, renderSlot as S, computed as h, ref as se, resolveDynamicComponent as le, mergeProps as E, toHandlers as pe } from "vue";
|
|
2
|
-
import { e as g, c as ue, S as de } from "./enum-type-
|
|
2
|
+
import { e as g, c as ue, S as de } from "./enum-type-54c8c6ff.js";
|
|
3
3
|
import { I as me, a as ge } from "./widget-base-8eece820.js";
|
|
4
|
-
import { a as ae, i as fe, j as ve, k as we } 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 { b as N } from "./expression-
|
|
4
|
+
import { a as ae, i as fe, j as ve, k as we } from "./index-e6ed9f5a.js";
|
|
5
|
+
import { S as m } from "./index-ab77f273.js";
|
|
6
|
+
import { f as he } from "./baseImp-e43868e7.js";
|
|
7
|
+
import { c as X, S as ye } from "./enum-type-90590ca7.js";
|
|
8
|
+
import { u as We } from "./fieldobj-eb2feee2.js";
|
|
9
|
+
import { b as N } from "./expression-843cb957.js";
|
|
10
10
|
const ce = { key: 0 }, ke = { class: "clWhite" }, Ce = { class: "clWhite" }, be = ["title"], Le = ["title"], $e = ["title"], Se = ["title"], Te = /* @__PURE__ */ oe({
|
|
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 P, watch as j, defineComponent as y, computed as D, resolveDirective as L, openBlock as h, createBlock as O, mergeProps as C, unref as r, withCtx as F, withDirectives as S, createElementBlock as z, normalizeClass as R, createVNode as k, createCommentVNode as A } from "vue";
|
|
2
2
|
import { I as B } from "./widget-base-8eece820.js";
|
|
3
|
-
import { D as I } from "./drag-wrapper-
|
|
4
|
-
import { _ as N } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { w as $ } from "./expression-
|
|
6
|
-
import { W } from "./enum-type-
|
|
7
|
-
import { a as E, u as H } from "./share-field-
|
|
8
|
-
import { c as K, F as T } from "./slot-
|
|
3
|
+
import { D as I } from "./drag-wrapper-d98cad09.js";
|
|
4
|
+
import { _ as N } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-2b5032e8.js";
|
|
5
|
+
import { w as $ } from "./expression-843cb957.js";
|
|
6
|
+
import { W } from "./enum-type-90590ca7.js";
|
|
7
|
+
import { a as E, u as H } from "./share-field-dc9be135.js";
|
|
8
|
+
import { c as K, F as T } from "./slot-100f7831.js";
|
|
9
9
|
function V(a) {
|
|
10
10
|
const d = P({}), { componentWrapperClass: c, customClass: i } = K({ widget: a.widget }), { exposed: e, attrs: l, extendAttrs: m, fieldKey: f, fieldObj: u } = E(a), { setAllRefList: p } = H(d.value), s = (o = !1) => {
|
|
11
11
|
var t;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { _ as o } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-7b022737.js";
|
|
2
|
-
import "vue";
|
|
3
|
-
import "./enum-type-e79908ad.js";
|
|
4
|
-
import "./field-base-1acf3ada.js";
|
|
5
|
-
import "./widget-base-8eece820.js";
|
|
6
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b10bd579.js";
|
|
7
|
-
import "./index-ae0006aa.js";
|
|
8
|
-
import "./uuid-803a2cf2.js";
|
|
9
|
-
import "./enum-type-c811e210.js";
|
|
10
|
-
import "./baseImp-400cad07.js";
|
|
11
|
-
import "./expression-33c6675c.js";
|
|
12
|
-
import "./source-map-b04aec4a.js";
|
|
13
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
|
-
import "./esprima-e8d15055.js";
|
|
15
|
-
import "./icon-1fc5d00d.js";
|
|
16
|
-
import "axios";
|
|
17
|
-
import "./dialog-ba82cdec.js";
|
|
18
|
-
import "element-plus";
|
|
19
|
-
import "./index-2bf9b2be.js";
|
|
20
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
-
import "./fieldobj-f85abb19.js";
|
|
22
|
-
import "./slot-474db76c.js";
|
|
23
|
-
import "./content-wrapper.vue_vue_type_script_setup_true_lang-4a379729.js";
|
|
24
|
-
import "./drag-wrapper-c1f48877.js";
|
|
25
|
-
export {
|
|
26
|
-
o as default
|
|
27
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { _ as o } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-f4e77273.js";
|
|
2
|
-
import "vue";
|
|
3
|
-
import "./widget-base-8eece820.js";
|
|
4
|
-
import "./drag-wrapper-c1f48877.js";
|
|
5
|
-
import "./enum-type-e79908ad.js";
|
|
6
|
-
import "./baseImp-400cad07.js";
|
|
7
|
-
import "./enum-type-c811e210.js";
|
|
8
|
-
import "./expression-33c6675c.js";
|
|
9
|
-
import "./source-map-b04aec4a.js";
|
|
10
|
-
import "./uuid-803a2cf2.js";
|
|
11
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
12
|
-
import "./esprima-e8d15055.js";
|
|
13
|
-
import "./icon-1fc5d00d.js";
|
|
14
|
-
import "axios";
|
|
15
|
-
import "./dialog-ba82cdec.js";
|
|
16
|
-
import "element-plus";
|
|
17
|
-
import "./index-ae0006aa.js";
|
|
18
|
-
import "./slot-474db76c.js";
|
|
19
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b10bd579.js";
|
|
21
|
-
import "./index-2bf9b2be.js";
|
|
22
|
-
import "./fieldobj-f85abb19.js";
|
|
23
|
-
import "./share-field-81883144.js";
|
|
24
|
-
import "./multirow-08ac8d9a.js";
|
|
25
|
-
export {
|
|
26
|
-
o as default
|
|
27
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { _ as o } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-67b0f42b.js";
|
|
2
|
-
import "vue";
|
|
3
|
-
import "./enum-type-e79908ad.js";
|
|
4
|
-
import "./drag-wrapper-c1f48877.js";
|
|
5
|
-
import "./baseImp-400cad07.js";
|
|
6
|
-
import "./enum-type-c811e210.js";
|
|
7
|
-
import "./expression-33c6675c.js";
|
|
8
|
-
import "./source-map-b04aec4a.js";
|
|
9
|
-
import "./uuid-803a2cf2.js";
|
|
10
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
11
|
-
import "./esprima-e8d15055.js";
|
|
12
|
-
import "./icon-1fc5d00d.js";
|
|
13
|
-
import "axios";
|
|
14
|
-
import "./dialog-ba82cdec.js";
|
|
15
|
-
import "element-plus";
|
|
16
|
-
import "./widget-base-8eece820.js";
|
|
17
|
-
import "./index-ae0006aa.js";
|
|
18
|
-
import "./slot-474db76c.js";
|
|
19
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
|
-
import "./multirow-08ac8d9a.js";
|
|
21
|
-
export {
|
|
22
|
-
o as default
|
|
23
|
-
};
|
package/table-widget-39d3886b.js
DELETED
|
@@ -1,353 +0,0 @@
|
|
|
1
|
-
import { defineComponent as he, inject as Je, ref as k, computed as j, reactive as qe, onMounted as Qe, resolveComponent as V, resolveDirective as Xe, openBlock as g, createBlock as h, mergeProps as K, unref as o, withCtx as W, withDirectives as Ye, createElementBlock as A, createElementVNode as ce, createCommentVNode as x, createTextVNode as Ze, toDisplayString as we, toHandlers as Re, createSlots as et, renderList as pe, Fragment as D, resolveDynamicComponent as fe, createVNode as tt } from "vue";
|
|
2
|
-
import { a2 as rt, x as at, e as B, g as H, t as ge, v as nt, a as ot, f as it, o as lt } from "./enum-type-e79908ad.js";
|
|
3
|
-
import { L as st, g as ut, P as U, K as dt, b as ct, c as pt } from "./baseImp-400cad07.js";
|
|
4
|
-
import { I as ft } from "./field-base-1acf3ada.js";
|
|
5
|
-
import { _ as gt } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b10bd579.js";
|
|
6
|
-
import { a as mt } from "./share-field-81883144.js";
|
|
7
|
-
import { d as vt, s as ht, w as bt, b as yt } from "./expression-33c6675c.js";
|
|
8
|
-
import { _ as St } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-67b0f42b.js";
|
|
9
|
-
import { F as _t, d as Nt, g as Pt } from "./slot-474db76c.js";
|
|
10
|
-
import { c as kt, p as me } from "./multirow-08ac8d9a.js";
|
|
11
|
-
import { S as Ct } from "./enum-type-c811e210.js";
|
|
12
|
-
import { D as ve } from "./drag-wrapper-c1f48877.js";
|
|
13
|
-
import { Grid as Ft } from "./index-6bcfdc22.js";
|
|
14
|
-
import "./icon-1fc5d00d.js";
|
|
15
|
-
import "axios";
|
|
16
|
-
import "./dialog-ba82cdec.js";
|
|
17
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
18
|
-
import "./uuid-803a2cf2.js";
|
|
19
|
-
import "element-plus";
|
|
20
|
-
import "./widget-base-8eece820.js";
|
|
21
|
-
import "./index-ae0006aa.js";
|
|
22
|
-
import "./index-2bf9b2be.js";
|
|
23
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
24
|
-
import "./fieldobj-f85abb19.js";
|
|
25
|
-
import "./source-map-b04aec4a.js";
|
|
26
|
-
import "./esprima-e8d15055.js";
|
|
27
|
-
function xt() {
|
|
28
|
-
return {
|
|
29
|
-
splitNumericUnit: (v) => {
|
|
30
|
-
if (v === Ct.auto)
|
|
31
|
-
return {
|
|
32
|
-
original: v,
|
|
33
|
-
numeric: null,
|
|
34
|
-
unit: v,
|
|
35
|
-
valid: !0
|
|
36
|
-
};
|
|
37
|
-
const b = v == null ? void 0 : v.replace(/\s+/g, ""), C = b == null ? void 0 : b.match(/^(-?\d*\.?\d+)([^\d]*)$/);
|
|
38
|
-
if (!C)
|
|
39
|
-
return {
|
|
40
|
-
original: v,
|
|
41
|
-
numeric: null,
|
|
42
|
-
unit: "",
|
|
43
|
-
valid: !1
|
|
44
|
-
};
|
|
45
|
-
const d = parseFloat(C[1]), M = C[2] || "";
|
|
46
|
-
return {
|
|
47
|
-
original: v,
|
|
48
|
-
numeric: isNaN(d) ? null : d,
|
|
49
|
-
unit: M,
|
|
50
|
-
valid: M !== null && !isNaN(d)
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
const zt = { key: 1 }, Ot = { style: { flex: "1" } }, Tt = he({ componentName: bt.FieldWidget }), nr = /* @__PURE__ */ he({
|
|
56
|
-
...Tt,
|
|
57
|
-
__name: "table-widget",
|
|
58
|
-
props: { ...ft },
|
|
59
|
-
setup(J, { expose: v }) {
|
|
60
|
-
var ee;
|
|
61
|
-
const b = J, { fieldName: C, exposed: d, fieldEditor: M, fieldKey: be, attrs: N, slots: q, extendAttrs: p, events: ye, optionItems: y, watchOption: Se, fieldObj: _e, propResultOpt: Ne, getFieldOptions: Pe, instance: L } = mt(b), ke = Je(vt.globalConfig, {}), { toModel: Ce } = kt({
|
|
62
|
-
...b,
|
|
63
|
-
globalConfig: ke,
|
|
64
|
-
fieldName: C.value
|
|
65
|
-
}, L), Q = k();
|
|
66
|
-
var Fe = j(() => rt(y == null ? void 0 : y.value, "children", (e) => U.getValue(e == null ? void 0 : e.filterable) || !1));
|
|
67
|
-
const xe = (e) => {
|
|
68
|
-
var t, r;
|
|
69
|
-
Q.value = { ...e }, (r = (t = N.value) == null ? void 0 : t.filterChange) == null || r.call(t, e);
|
|
70
|
-
}, ze = (e, t, r) => {
|
|
71
|
-
if (!e || (e == null ? void 0 : e.length) <= 0)
|
|
72
|
-
return e;
|
|
73
|
-
let l = [...e];
|
|
74
|
-
return !t || t.length <= 0 || r && r.length > 0 && (r == null || r.forEach((n) => {
|
|
75
|
-
l = l == null ? void 0 : l.filter(
|
|
76
|
-
(i) => {
|
|
77
|
-
var m;
|
|
78
|
-
const u = n.prop, c = U.getValue(n == null ? void 0 : n.filterMethod), a = t[u];
|
|
79
|
-
if (!c || !H(a))
|
|
80
|
-
return !0;
|
|
81
|
-
const f = (m = ge(a, !0)) == null ? void 0 : m.some((S) => dt(c, { value: S, row: i, col: { ...n, property: u }, ctx: T }));
|
|
82
|
-
return u && f;
|
|
83
|
-
}
|
|
84
|
-
);
|
|
85
|
-
})), l;
|
|
86
|
-
}, z = k([]), Oe = (e, t) => {
|
|
87
|
-
if (!e || (e == null ? void 0 : e.length) <= 0)
|
|
88
|
-
return e;
|
|
89
|
-
const r = [...e];
|
|
90
|
-
if (t.length === 0)
|
|
91
|
-
return r;
|
|
92
|
-
const l = {
|
|
93
|
-
descending: "desc",
|
|
94
|
-
ascending: "asc"
|
|
95
|
-
};
|
|
96
|
-
var n = t == null ? void 0 : t.map((i) => ({
|
|
97
|
-
selector: (u, c) => {
|
|
98
|
-
var a, f;
|
|
99
|
-
return ((f = (a = i.column).sortBy) == null ? void 0 : f.call(a, u, c, T)) || u[i.prop];
|
|
100
|
-
},
|
|
101
|
-
method: i.column.sortMethod == null ? (u, c) => {
|
|
102
|
-
var a, f;
|
|
103
|
-
return (f = (a = i.column).sortMethod) == null ? void 0 : f.call(a, u, c, T);
|
|
104
|
-
} : void 0,
|
|
105
|
-
direction: l[i.order]
|
|
106
|
-
}));
|
|
107
|
-
return nt(r, ...n);
|
|
108
|
-
}, Te = ({ column: e, prop: t, order: r }) => {
|
|
109
|
-
const l = z.value.findIndex((n) => n.prop === t);
|
|
110
|
-
if (r == null)
|
|
111
|
-
l !== -1 && z.value.splice(l, 1);
|
|
112
|
-
else {
|
|
113
|
-
const n = { column: e, prop: t, order: r };
|
|
114
|
-
l !== -1 ? z.value[l] = n : z.value.push(n);
|
|
115
|
-
}
|
|
116
|
-
_.value = 1;
|
|
117
|
-
}, _ = k(1), O = k((ee = p.value) == null ? void 0 : ee.pageSize), $ = k(10), Ee = (e) => {
|
|
118
|
-
O.value = e;
|
|
119
|
-
}, X = (e) => {
|
|
120
|
-
_.value = e;
|
|
121
|
-
}, F = k(), je = j(() => {
|
|
122
|
-
var t;
|
|
123
|
-
if (b.designState)
|
|
124
|
-
return [{}];
|
|
125
|
-
if ((t = p.value) != null && t.allowPage) {
|
|
126
|
-
var e = at(G.value, _.value, O.value);
|
|
127
|
-
return $.value = e == null ? void 0 : e.totalItems, e == null ? void 0 : e.data;
|
|
128
|
-
} else
|
|
129
|
-
return G.value;
|
|
130
|
-
}), G = j(() => {
|
|
131
|
-
let e = F.value;
|
|
132
|
-
return e = ze(e, Q.value, Fe.value), e = Oe(e, z.value), e;
|
|
133
|
-
}), I = k(!1), Ve = () => {
|
|
134
|
-
_.value = 1, $.value = 0, F.value = [];
|
|
135
|
-
}, Y = (e = !0) => {
|
|
136
|
-
const t = _.value;
|
|
137
|
-
return new Promise((r, l) => {
|
|
138
|
-
const n = (i) => {
|
|
139
|
-
F.value = i, I.value = !1, e && t > 1 && X(t), r(i);
|
|
140
|
-
};
|
|
141
|
-
Se(yt.data, () => {
|
|
142
|
-
Ve(), I.value = !0;
|
|
143
|
-
}, (i) => {
|
|
144
|
-
var u, c;
|
|
145
|
-
if (!((u = p.value) != null && u.beforeTableRender)) {
|
|
146
|
-
n(i);
|
|
147
|
-
return;
|
|
148
|
-
}
|
|
149
|
-
(c = p.value) == null || c.beforeTableRender(i, (a) => {
|
|
150
|
-
n(a);
|
|
151
|
-
});
|
|
152
|
-
});
|
|
153
|
-
});
|
|
154
|
-
}, Me = (e) => {
|
|
155
|
-
ot(e) && (e = it(e)), F.value = ge(e, !0);
|
|
156
|
-
}, Ie = () => F.value, We = (e = !0) => {
|
|
157
|
-
I.value = e;
|
|
158
|
-
}, Z = qe({}), Ae = C.value;
|
|
159
|
-
_t.globalProvide({
|
|
160
|
-
globalFormName: Ae,
|
|
161
|
-
globalDataModel: Z
|
|
162
|
-
});
|
|
163
|
-
const Be = B.i18nt("designer.hint.noData"), Ue = () => {
|
|
164
|
-
var t;
|
|
165
|
-
var e = {};
|
|
166
|
-
return (t = Object.keys(d == null ? void 0 : d.allRefList)) == null || t.forEach((r) => {
|
|
167
|
-
var i, u, c;
|
|
168
|
-
var l = (c = (u = (i = d == null ? void 0 : d.allRefList[r]) == null ? void 0 : i.exposed) == null ? void 0 : u.getField) == null ? void 0 : c.call(u);
|
|
169
|
-
if (l) {
|
|
170
|
-
const a = me(r);
|
|
171
|
-
if (!(a != null && a.groupName) || (a == null ? void 0 : a.groupName) === "header")
|
|
172
|
-
return;
|
|
173
|
-
var n = e[a == null ? void 0 : a.groupName];
|
|
174
|
-
n || (n = []), n.push(l), e[a == null ? void 0 : a.groupName] = n;
|
|
175
|
-
}
|
|
176
|
-
}), lt(e).map((r) => Ce(Z, e[r]));
|
|
177
|
-
}, Le = (e) => {
|
|
178
|
-
var t;
|
|
179
|
-
!e || e.length <= 0 || (t = Object.keys(d == null ? void 0 : d.allRefList)) == null || t.forEach((r) => {
|
|
180
|
-
var c, a, f, m, S, P, E;
|
|
181
|
-
var l = (f = (a = (c = d == null ? void 0 : d.allRefList[r]) == null ? void 0 : c.exposed) == null ? void 0 : a.getField) == null ? void 0 : f.call(a);
|
|
182
|
-
if (!l)
|
|
183
|
-
return;
|
|
184
|
-
const n = me(r);
|
|
185
|
-
if (!(n != null && n.groupName))
|
|
186
|
-
return;
|
|
187
|
-
var i = e == null ? void 0 : e[parseInt(n == null ? void 0 : n.groupName)];
|
|
188
|
-
const u = (m = l == null ? void 0 : l._source) == null ? void 0 : m.name;
|
|
189
|
-
(i == null ? void 0 : i[u]) != null && ((E = (P = (S = d == null ? void 0 : d.allRefList[r]) == null ? void 0 : S.exposed) == null ? void 0 : P.setValue) == null || E.call(P, i == null ? void 0 : i[u]));
|
|
190
|
-
});
|
|
191
|
-
}, $e = j(() => {
|
|
192
|
-
var e;
|
|
193
|
-
return (e = p.value) == null ? void 0 : e.showToolbar;
|
|
194
|
-
}), Ge = j(() => {
|
|
195
|
-
var e;
|
|
196
|
-
return (e = p.value) == null ? void 0 : e.enableExport;
|
|
197
|
-
}), { exporting: Ke, exportExcel: De } = st(), { splitNumericUnit: He } = xt(), T = ut({ instance: L }), w = (e) => {
|
|
198
|
-
var t;
|
|
199
|
-
return ((t = e == null ? void 0 : e.filter((r) => !!U.getValue(r.exportable))) == null ? void 0 : t.map((r) => {
|
|
200
|
-
var i;
|
|
201
|
-
const { getWidgetOptionByPropValue: l } = ct({ options: r }, void 0, void 0, L), n = (i = He(r.width + "")) == null ? void 0 : i.numeric;
|
|
202
|
-
return {
|
|
203
|
-
prop: r.prop,
|
|
204
|
-
label: r.label,
|
|
205
|
-
children: w(r.children),
|
|
206
|
-
width: n,
|
|
207
|
-
formatter: (u, c, a, f) => {
|
|
208
|
-
const m = r.formatter;
|
|
209
|
-
if (!m || !U.getValue(m))
|
|
210
|
-
return a;
|
|
211
|
-
const S = { row: u, column: c, cellValue: a, index: f, ctx: T };
|
|
212
|
-
return pt(l(m), S);
|
|
213
|
-
}
|
|
214
|
-
};
|
|
215
|
-
})) || [];
|
|
216
|
-
}, R = (e) => {
|
|
217
|
-
var l, n, i;
|
|
218
|
-
if (b.designState)
|
|
219
|
-
return;
|
|
220
|
-
const t = {
|
|
221
|
-
filename: (l = p.value) == null ? void 0 : l.exportFileName,
|
|
222
|
-
sheetName: (n = p.value) == null ? void 0 : n.exportSheetName,
|
|
223
|
-
autoWidth: (i = p.value) == null ? void 0 : i.exportAutoWidth
|
|
224
|
-
}, r = w(y == null ? void 0 : y.value);
|
|
225
|
-
return De(G.value, r, { ...t, ...e });
|
|
226
|
-
};
|
|
227
|
-
return Qe(() => {
|
|
228
|
-
b.designState || Y();
|
|
229
|
-
}), v({
|
|
230
|
-
...d,
|
|
231
|
-
setValue: Me,
|
|
232
|
-
getValue: Ie,
|
|
233
|
-
refresh: Y,
|
|
234
|
-
getTableData: Ue,
|
|
235
|
-
setTableData: Le,
|
|
236
|
-
setLoading: We,
|
|
237
|
-
exporting: Ke,
|
|
238
|
-
exportToExcel: R,
|
|
239
|
-
currentPage: () => _.value,
|
|
240
|
-
pageSize: () => O.value
|
|
241
|
-
}), (e, t) => {
|
|
242
|
-
const r = V("el-empty"), l = V("el-button"), n = V("el-row"), i = V("el-table"), u = V("el-pagination"), c = Xe("loading");
|
|
243
|
-
return g(), h(gt, K(e.$props, {
|
|
244
|
-
"prop-options": { fieldObj: o(_e) }
|
|
245
|
-
}), {
|
|
246
|
-
default: W(({ data: a }) => {
|
|
247
|
-
var f, m, S, P, E, te, re, ae, ne, oe, ie, le;
|
|
248
|
-
return [
|
|
249
|
-
!o(y) || ((f = o(y)) == null ? void 0 : f.length) <= 0 || ((m = o(y)) == null ? void 0 : m[0]) == null ? (g(), h(r, {
|
|
250
|
-
key: 0,
|
|
251
|
-
description: o(B).i18nt("designer.hint.tableSetting")
|
|
252
|
-
}, null, 8, ["description"])) : Ye((g(), A("div", zt, [
|
|
253
|
-
$e.value ? (g(), h(n, {
|
|
254
|
-
key: 0,
|
|
255
|
-
justify: "space-between",
|
|
256
|
-
style: { padding: "10px" }
|
|
257
|
-
}, {
|
|
258
|
-
default: W(() => {
|
|
259
|
-
var s;
|
|
260
|
-
return [
|
|
261
|
-
ce("div", Ot, [
|
|
262
|
-
(s = o(p)) != null && s.slotable ? (g(), h(ve, {
|
|
263
|
-
key: 0,
|
|
264
|
-
designState: e.designState,
|
|
265
|
-
designer: e.designer,
|
|
266
|
-
widget: o(Nt)(o(q), "toolbar"),
|
|
267
|
-
dragTip: o(B).i18nt("designer.hint.draggableArea1")
|
|
268
|
-
}, null, 8, ["designState", "designer", "widget", "dragTip"])) : x("", !0)
|
|
269
|
-
]),
|
|
270
|
-
ce("div", null, [
|
|
271
|
-
Ge.value ? (g(), h(l, {
|
|
272
|
-
key: 0,
|
|
273
|
-
link: "",
|
|
274
|
-
onClick: R,
|
|
275
|
-
icon: o(Ft)
|
|
276
|
-
}, {
|
|
277
|
-
default: W(() => [
|
|
278
|
-
Ze(we(o(B).i18nt("designer.hint.export")), 1)
|
|
279
|
-
]),
|
|
280
|
-
_: 1
|
|
281
|
-
}, 8, ["icon"])) : x("", !0)
|
|
282
|
-
])
|
|
283
|
-
];
|
|
284
|
-
}),
|
|
285
|
-
_: 1
|
|
286
|
-
})) : x("", !0),
|
|
287
|
-
(g(), h(i, K({
|
|
288
|
-
ref_key: "fieldEditor",
|
|
289
|
-
ref: M
|
|
290
|
-
}, o(N), Re(o(ye)), {
|
|
291
|
-
key: o(be),
|
|
292
|
-
"empty-text": ((S = o(N)) == null ? void 0 : S.emptyText) || o(Be),
|
|
293
|
-
size: a.size,
|
|
294
|
-
defaultSort: o(H)((P = o(N)) == null ? void 0 : P.defaultSort) ? (E = o(N)) == null ? void 0 : E.defaultSort : void 0,
|
|
295
|
-
treeProps: o(H)((te = o(N)) == null ? void 0 : te.treeProps) ? (re = o(N)) == null ? void 0 : re.treeProps : void 0,
|
|
296
|
-
class: a.injectClass,
|
|
297
|
-
style: a.injectStyle,
|
|
298
|
-
data: je.value,
|
|
299
|
-
onFilterChange: xe,
|
|
300
|
-
onSortChange: Te
|
|
301
|
-
}), et({ _: 2 }, [
|
|
302
|
-
pe(o(Pt)(o(q), !1), (s) => ({
|
|
303
|
-
name: s.slotName,
|
|
304
|
-
fn: W(() => {
|
|
305
|
-
var se, ue;
|
|
306
|
-
return [
|
|
307
|
-
(s == null ? void 0 : s.slotName) === o(ht).default ? (g(), A(D, { key: 0 }, [
|
|
308
|
-
s != null && s.default && ((se = o(p)) != null && se.slotable) ? (g(), h(fe(s == null ? void 0 : s.default), { key: 0 })) : (g(!0), A(D, { key: 1 }, pe(o(Pe)("optionItems"), (de, Et) => (g(), h(St, {
|
|
309
|
-
key: de.uuid,
|
|
310
|
-
options: de,
|
|
311
|
-
designer: e.designer,
|
|
312
|
-
propResultParam: o(Ne),
|
|
313
|
-
ctx: o(T),
|
|
314
|
-
designState: e.designState,
|
|
315
|
-
"real-table-data": F.value
|
|
316
|
-
}, null, 8, ["options", "designer", "propResultParam", "ctx", "designState", "real-table-data"]))), 128))
|
|
317
|
-
], 64)) : (ue = o(p)) != null && ue.slotable ? (g(), A(D, { key: 1 }, [
|
|
318
|
-
s != null && s.default ? (g(), h(fe(s == null ? void 0 : s.default), { key: 0 })) : x("", !0),
|
|
319
|
-
tt(ve, K(e.$props, {
|
|
320
|
-
widget: s,
|
|
321
|
-
"drag-class": "dragSize1"
|
|
322
|
-
}), null, 16, ["widget"])
|
|
323
|
-
], 64)) : x("", !0)
|
|
324
|
-
];
|
|
325
|
-
})
|
|
326
|
-
}))
|
|
327
|
-
]), 1040, ["empty-text", "size", "defaultSort", "treeProps", "class", "style", "data"])),
|
|
328
|
-
(ae = o(p)) != null && ae.allowPage ? (g(), h(u, {
|
|
329
|
-
key: 1,
|
|
330
|
-
"current-page": _.value,
|
|
331
|
-
"onUpdate:currentPage": t[0] || (t[0] = (s) => _.value = s),
|
|
332
|
-
"page-size": O.value,
|
|
333
|
-
"onUpdate:pageSize": t[1] || (t[1] = (s) => O.value = s),
|
|
334
|
-
"page-sizes": (ne = o(p)) == null ? void 0 : ne.pageSizes,
|
|
335
|
-
hideOnSinglePage: (oe = o(p)) == null ? void 0 : oe.hideOnSinglePage,
|
|
336
|
-
layout: (le = (ie = o(p)) == null ? void 0 : ie.layout) == null ? void 0 : le.join(","),
|
|
337
|
-
total: $.value,
|
|
338
|
-
onSizeChange: Ee,
|
|
339
|
-
onCurrentChange: X
|
|
340
|
-
}, null, 8, ["current-page", "page-size", "page-sizes", "hideOnSinglePage", "layout", "total"])) : x("", !0)
|
|
341
|
-
])), [
|
|
342
|
-
[c, !e.designState && I.value]
|
|
343
|
-
])
|
|
344
|
-
];
|
|
345
|
-
}),
|
|
346
|
-
_: 1
|
|
347
|
-
}, 16, ["prop-options"]);
|
|
348
|
-
};
|
|
349
|
-
}
|
|
350
|
-
});
|
|
351
|
-
export {
|
|
352
|
-
nr as default
|
|
353
|
-
};
|