hlrender 0.0.280 → 0.0.282
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{_pdf-548ad0f3.js → _pdf-d2478121.js} +8 -8
- package/{_txt-24c93a61.js → _txt-fd32f949.js} +6 -6
- package/{_unsupport-94709676.js → _unsupport-10d1d421.js} +1 -1
- package/{affix-widget-2faab4af.js → affix-widget-77ddfdb9.js} +16 -16
- package/{alert-widget-e95490e8.js → alert-widget-c1f66236.js} +16 -16
- package/{anchor-widget-ca3c597f.js → anchor-widget-05148dd1.js} +13 -13
- package/{auto-complete-widget-931e018a.js → auto-complete-widget-9bd9881e.js} +16 -16
- package/{avatar-widget-42a7ad8f.js → avatar-widget-89758349.js} +16 -16
- package/{backtop-widget-a5ec4cb5.js → backtop-widget-068a28c5.js} +16 -16
- package/{badge-widget-9a654a6a.js → badge-widget-e5ddb65c.js} +16 -16
- package/{barcode-widget-7789290b.js → barcode-widget-6882a0ee.js} +19 -19
- package/{baseImp-e43868e7.js → baseImp-a05aa287.js} +1405 -1306
- package/{breadcrumb-widget-5a86bad0.js → breadcrumb-widget-1efe16dc.js} +13 -13
- package/{button-widget-32dca2c5.js → button-widget-cd209307.js} +16 -16
- package/{cache-widget-200bdd48.js → cache-widget-c6dc1d4d.js} +15 -15
- package/{card-widget-0bab1727.js → card-widget-e99850fe.js} +14 -14
- package/{carousel-widget-b8a04501.js → carousel-widget-0e5da3dd.js} +14 -14
- package/{cascader-widget-35259793.js → cascader-widget-c960147f.js} +15 -15
- package/{chart-widget-ea3c142e.js → chart-widget-3da22d60.js} +29 -29
- package/{checkbox-widget-32987927.js → checkbox-widget-24946378.js} +15 -15
- package/{collapse-widget-2bf10c41.js → collapse-widget-09465fbb.js} +14 -14
- package/{color-picker-widget-daf9eeba.js → color-picker-widget-88d01165.js} +15 -15
- package/{cont-cell-widget-4193e729.js → cont-cell-widget-ed0e5d83.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-b557f04f.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-e2ea7130.js} +11 -11
- package/{cont-widget-683f83da.js → cont-widget-4b88e7e5.js} +15 -15
- package/{content-wrapper-2f8a8778.js → content-wrapper-b85ff3c9.js} +7 -7
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-f2107cfb.js → content-wrapper.vue_vue_type_script_setup_true_lang-4adfe6d4.js} +7 -7
- package/{countdown-widget-7d350107.js → countdown-widget-19441bfe.js} +16 -16
- package/cssClass-d5b2a013.js +24 -0
- package/{date-picker-range-widget-949581d3.js → date-picker-range-widget-b7a93200.js} +15 -15
- package/{date-picker-widget-52187886.js → date-picker-widget-85161b08.js} +15 -15
- package/default-slot-widget-46a8a1ee.js +27 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-6f15eb11.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-c2a09043.js} +7 -7
- package/{descriptions-widget-4b70fe87.js → descriptions-widget-fa392515.js} +14 -14
- package/{dialog-5573c8b7.js → dialog-64d549cc.js} +2 -2
- package/{dialog-widget-cbb372e4.js → dialog-widget-42c8990c.js} +15 -15
- package/{divider-widget-bf30d1fd.js → divider-widget-07e594c7.js} +16 -16
- package/drag-wrapper-f78636d1.js +279 -0
- package/{drawer-widget-7c544c8f.js → drawer-widget-1c1dd8e2.js} +15 -15
- package/{dropdown-widget-35c5e1f1.js → dropdown-widget-47274915.js} +14 -14
- package/{empty-widget-add6aa1e.js → empty-widget-e7aa5b70.js} +16 -16
- package/{enum-type-54c8c6ff.js → enum-type-42dd79a1.js} +191 -316
- package/{enum-type-90590ca7.js → enum-type-51f144c1.js} +1 -1
- package/{expression-843cb957.js → expression-d4680713.js} +959 -944
- package/feedback-widget-f1e2b360.js +27 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-469ca730.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-dc498e85.js} +6 -6
- package/{fieldobj-eb2feee2.js → fieldobj-a2678999.js} +1 -1
- package/{file-upload-widget-ad75ee6f.js → file-upload-widget-451addd2.js} +20 -20
- package/{form-item-wrapper-dc9f2e85.js → form-item-wrapper-228b6375.js} +11 -11
- package/{form-widget-4f508901.js → form-widget-9f5290b7.js} +53 -53
- package/{grid-col-widget-5fa52864.js → grid-col-widget-fd469073.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-97251137.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-c90ca8e7.js} +5 -5
- package/{grid-widget-d5ac789b.js → grid-widget-9a62f39a.js} +17 -17
- package/{hcard-widget-a7735316.js → hcard-widget-c75b1b6f.js} +14 -14
- package/{html-text-widget-3cfc4a4b.js → html-text-widget-bb760458.js} +14 -14
- package/{icon-widget-b4f94e49.js → icon-widget-39740e64.js} +13 -13
- package/iframe-widget-6c513e2d.js +127 -0
- package/{image-widget-c9acf85d.js → image-widget-6658a5e2.js} +13 -13
- package/{index-e6ed9f5a.js → index-6afb8bee.js} +64 -64
- package/{index-9d408ab3.js → index-6e69a58f.js} +4 -4
- package/{index-ab77f273.js → index-ee925296.js} +1 -1
- package/{input-number-widget-d1b25aab.js → input-number-widget-d8266ca4.js} +19 -19
- package/{input-tag-widget-59e43500.js → input-tag-widget-0d69bd56.js} +16 -16
- package/{input-widget-7695f32d.js → input-widget-eaba46a8.js} +16 -16
- package/{label-wrapper-e1cc338d.js → label-wrapper-c772b8f2.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-e4bea232.js → label-wrapper.vue_vue_type_style_index_0_lang-82c93f40.js} +3 -3
- package/{link-widget-2cfdad19.js → link-widget-ba4d6aa4.js} +16 -16
- package/{ltable-col-widget-a6196715.js → ltable-col-widget-c421ff75.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-542ace6a.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-99261216.js} +56 -56
- package/{ltable-widget-67b20dcd.js → ltable-widget-35df30a2.js} +19 -19
- package/{mention-widget-ded8ea32.js → mention-widget-6301f55a.js} +16 -16
- package/{menu-widget-de67461f.js → menu-widget-e2d328e3.js} +48 -48
- package/{model-widget-f73630f0.js → model-widget-094f97d8.js} +13 -13
- package/{multirow-685f615b.js → multirow-88dc90dd.js} +53 -53
- package/{multirow-widget-8b3c37ac.js → multirow-widget-cc00757f.js} +46 -46
- package/package.json +1 -1
- package/{pagination-widget-5d9e11de.js → pagination-widget-57ef2182.js} +13 -13
- package/{picture-upload-widget-6db6e1e5.js → picture-upload-widget-c602e32a.js} +37 -37
- package/{progress-widget-a81f02e2.js → progress-widget-4c04b55c.js} +14 -14
- package/{qrcode-widget-94066c8c.js → qrcode-widget-dbd3212d.js} +25 -25
- package/{radio-widget-c76e2752.js → radio-widget-9e2a9b43.js} +15 -15
- package/{range-widget-de46fe1c.js → range-widget-6a4d2259.js} +16 -16
- package/{rate-widget-7d264c37.js → rate-widget-5de20ced.js} +15 -15
- package/render.es.js +155 -154
- package/render.style.css +1 -1
- package/render.umd.js +230 -230
- package/{result-widget-e6222f24.js → result-widget-fd88b2b1.js} +14 -14
- package/{rich-editor-widget-7667e493.js → rich-editor-widget-e14dcbe6.js} +23 -23
- package/{router-widget-40777271.js → router-widget-ea67f0ba.js} +13 -13
- package/{segmented-widget-505e9aa3.js → segmented-widget-11bd4e4d.js} +13 -13
- package/{select-widget-5a895b69.js → select-widget-2a9fa056.js} +15 -15
- package/{sfc-70fea8b1.js → sfc-1b884c50.js} +114 -96
- package/{sfcview-60d56dab.js → sfcview-33b88ef4.js} +14 -14
- package/{share-field-518be3d6.js → share-field-ec8c208e.js} +94 -94
- package/{share-file-ec787a17.js → share-file-3087c9f9.js} +70 -70
- package/{skeleton-widget-244c4a58.js → skeleton-widget-35dd8bd6.js} +16 -16
- package/{skeletonItem-widget-9f418b95.js → skeletonItem-widget-dc2311cd.js} +13 -13
- package/{slider-widget-95d37e13.js → slider-widget-7df4253d.js} +15 -15
- package/slot-6db6ac8e.js +360 -0
- package/{space-widget-f6b16905.js → space-widget-6fc38426.js} +14 -14
- package/{splitter-widget-cb39c839.js → splitter-widget-f4629b33.js} +14 -14
- package/{static-text-widget-e4434d9d.js → static-text-widget-a54245c0.js} +14 -14
- package/{statistic-widget-6ea4b23b.js → statistic-widget-2b39fcff.js} +16 -16
- package/{steps-widget-b9210f2a.js → steps-widget-bb63027b.js} +13 -13
- package/{subMenu-widget-23007af2.js → subMenu-widget-a0d1771a.js} +8 -8
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-e57e4ad0.js → subMenu-widget.vue_vue_type_script_setup_true_lang-6ec20ca0.js} +6 -6
- package/{switch-widget-993084af.js → switch-widget-d454ac66.js} +15 -15
- package/{tab-pane-widget-5e1057c7.js → tab-pane-widget-5df8b474.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-2ea7c3db.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-3bfd8f17.js} +8 -8
- package/table-col-widget-38f163df.js +23 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-9a2862cc.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-21bd0d44.js} +7 -7
- package/table-widget-af19ac4d.js +360 -0
- package/{tabs-widget-53ecac4f.js → tabs-widget-eb2292e7.js} +7 -7
- package/{tag-widget-4f5e8c1b.js → tag-widget-c5e8cb90.js} +16 -16
- package/{text-widget-3f722f87.js → text-widget-bb44b9c7.js} +16 -16
- package/{textarea-widget-8f1cea5a.js → textarea-widget-c6a1b4ba.js} +15 -15
- package/{time-picker-range-widget-7f472ee1.js → time-picker-range-widget-b3a3ff54.js} +15 -15
- package/{time-picker-widget-961b087d.js → time-picker-widget-bbc1e186.js} +15 -15
- package/{time-select-widget-89abcf8b.js → time-select-widget-e098c664.js} +15 -15
- package/{timeline-widget-9b1d6448.js → timeline-widget-90ec82c4.js} +14 -14
- package/tmpl-widget-702c58d7.js +99 -0
- package/{tooltip-widget-6c3c34ca.js → tooltip-widget-5eb579d5.js} +14 -14
- package/{tour-widget-a9431487.js → tour-widget-aa29b856.js} +23 -23
- package/{transfer-widget-084db50a.js → transfer-widget-593d18ed.js} +16 -16
- package/{tree-select-widget-4560b80a.js → tree-select-widget-f8568c4e.js} +15 -15
- package/{tree-widget-65b00f9e.js → tree-widget-1d871bf4.js} +13 -13
- package/{uuid-aab81f94.js → uuid-0888fc5f.js} +1 -1
- package/{verifycode-widget-a6ddfe58.js → verifycode-widget-cd1b3fb4.js} +21 -21
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-2b5032e8.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-a9e4f996.js} +7 -7
- package/{wrapper-widget-11c1e480.js → wrapper-widget-38438697.js} +9 -8
- package/default-slot-widget-825a6967.js +0 -27
- package/drag-wrapper-733d900b.js +0 -295
- package/feedback-widget-66402edd.js +0 -27
- package/iframe-widget-650e189a.js +0 -122
- package/slot-138aa61e.js +0 -341
- package/table-col-widget-7230eb66.js +0 -23
- package/table-widget-d5f990d8.js +0 -354
- package/tmpl-widget-5a6aee00.js +0 -98
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { defineComponent as g, ref as v, onMounted as N, watch as k, openBlock as
|
|
2
|
-
import {
|
|
3
|
-
import { I as
|
|
4
|
-
import { a as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { S as E } from "./enum-type-54c8c6ff.js";
|
|
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 { o as V, w as z } from "./expression-d4680713.js";
|
|
3
|
+
import { I as T } from "./field-base-1acf3ada.js";
|
|
4
|
+
import { a as B } from "./share-field-ec8c208e.js";
|
|
5
|
+
import { _ as E } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-a9e4f996.js";
|
|
7
6
|
import { _ as F } from "./_plugin-vue_export-helper-dad06003.js";
|
|
8
7
|
import "./source-map-b04aec4a.js";
|
|
9
|
-
import "./
|
|
8
|
+
import "./enum-type-42dd79a1.js";
|
|
9
|
+
import "./uuid-0888fc5f.js";
|
|
10
10
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
11
11
|
import "./esprima-e8d15055.js";
|
|
12
12
|
import "./widget-base-8eece820.js";
|
|
13
|
-
import "./multirow-
|
|
14
|
-
import "./baseImp-
|
|
15
|
-
import "./enum-type-
|
|
13
|
+
import "./multirow-88dc90dd.js";
|
|
14
|
+
import "./baseImp-a05aa287.js";
|
|
15
|
+
import "./enum-type-51f144c1.js";
|
|
16
16
|
import "./icon-1fc5d00d.js";
|
|
17
17
|
import "axios";
|
|
18
|
-
import "./dialog-
|
|
18
|
+
import "./dialog-64d549cc.js";
|
|
19
19
|
import "element-plus";
|
|
20
|
-
import "./index-
|
|
21
|
-
import "./slot-
|
|
22
|
-
import "./index-
|
|
23
|
-
import "./fieldobj-
|
|
20
|
+
import "./index-6afb8bee.js";
|
|
21
|
+
import "./slot-6db6ac8e.js";
|
|
22
|
+
import "./index-ee925296.js";
|
|
23
|
+
import "./fieldobj-a2678999.js";
|
|
24
24
|
const L = { class: "s-canvas" }, R = ["width", "height"], $ = /* @__PURE__ */ g({
|
|
25
25
|
__name: "_index",
|
|
26
26
|
props: {
|
|
@@ -106,7 +106,7 @@ const L = { class: "s-canvas" }, R = ["width", "height"], $ = /* @__PURE__ */ g(
|
|
|
106
106
|
(e) => {
|
|
107
107
|
e && a();
|
|
108
108
|
}
|
|
109
|
-
), (e, o) => (
|
|
109
|
+
), (e, o) => (w(), S("div", L, [
|
|
110
110
|
x("canvas", {
|
|
111
111
|
ref_key: "canavsRef",
|
|
112
112
|
ref: m,
|
|
@@ -116,12 +116,12 @@ const L = { class: "s-canvas" }, R = ["width", "height"], $ = /* @__PURE__ */ g(
|
|
|
116
116
|
]));
|
|
117
117
|
}
|
|
118
118
|
});
|
|
119
|
-
const j = /* @__PURE__ */ F($, [["__scopeId", "data-v-10737829"]]), A = (d, t) => (t = t + 1, Math.floor(Math.random() * (t - d) + d)), O = g({ componentName:
|
|
119
|
+
const j = /* @__PURE__ */ F($, [["__scopeId", "data-v-10737829"]]), A = (d, t) => (t = t + 1, Math.floor(Math.random() * (t - d) + d)), O = g({ componentName: z.FieldWidget }), ue = /* @__PURE__ */ g({
|
|
120
120
|
...O,
|
|
121
121
|
__name: "verifycode-widget",
|
|
122
|
-
props: { ...
|
|
122
|
+
props: { ...T },
|
|
123
123
|
setup(d, { expose: t }) {
|
|
124
|
-
const m = d, { fieldEditor: n, exposed: s, extendAttrs: c, attrs: _, fieldObj: y } =
|
|
124
|
+
const m = d, { fieldEditor: n, exposed: s, extendAttrs: c, attrs: _, fieldObj: y } = B(m);
|
|
125
125
|
let a = v(""), e = C(() => {
|
|
126
126
|
var r;
|
|
127
127
|
return (r = c.value) == null ? void 0 : r.content;
|
|
@@ -143,7 +143,7 @@ const j = /* @__PURE__ */ F($, [["__scopeId", "data-v-10737829"]]), A = (d, t) =
|
|
|
143
143
|
});
|
|
144
144
|
}), N(() => {
|
|
145
145
|
l();
|
|
146
|
-
}), t({ ...s, refresh: l, getValue: f, setValue: h }), (r, M) => (
|
|
146
|
+
}), t({ ...s, refresh: l, getValue: f, setValue: h }), (r, M) => (w(), P(E, b(r.$props, {
|
|
147
147
|
"prop-options": { fieldObj: u(y) }
|
|
148
148
|
}), {
|
|
149
149
|
default: W(() => {
|
|
@@ -154,7 +154,7 @@ const j = /* @__PURE__ */ F($, [["__scopeId", "data-v-10737829"]]), A = (d, t) =
|
|
|
154
154
|
ref: n
|
|
155
155
|
}, u(_), {
|
|
156
156
|
"identify-code": u(a),
|
|
157
|
-
class: u(
|
|
157
|
+
class: u(V)((p = u(c)) == null ? void 0 : p.customClass),
|
|
158
158
|
onClick: l
|
|
159
159
|
}), null, 16, ["identify-code", "class"])
|
|
160
160
|
];
|
|
@@ -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
|
|
2
|
+
import { e as g, c as ue } from "./enum-type-42dd79a1.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 {
|
|
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-6afb8bee.js";
|
|
5
|
+
import { S as m } from "./index-ee925296.js";
|
|
6
|
+
import { h as he } from "./baseImp-a05aa287.js";
|
|
7
|
+
import { c as X, S as ye } from "./enum-type-51f144c1.js";
|
|
8
|
+
import { u as We } from "./fieldobj-a2678999.js";
|
|
9
|
+
import { b as N, o as de } from "./expression-d4680713.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,12 @@
|
|
|
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
|
|
3
|
+
import { D as I } from "./drag-wrapper-f78636d1.js";
|
|
4
|
+
import { _ as N } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-a9e4f996.js";
|
|
5
|
+
import { w as $ } from "./expression-d4680713.js";
|
|
6
|
+
import { W } from "./enum-type-51f144c1.js";
|
|
7
|
+
import { a as E, u as H } from "./share-field-ec8c208e.js";
|
|
8
|
+
import { c as K } from "./cssClass-d5b2a013.js";
|
|
9
|
+
import { F as T } from "./slot-6db6ac8e.js";
|
|
9
10
|
function V(a) {
|
|
10
11
|
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
12
|
var t;
|
|
@@ -85,10 +86,10 @@ const x = ["element-loading-text"], M = y({ componentName: $.ContainerWidget }),
|
|
|
85
86
|
}, 16, ["prop-options"]);
|
|
86
87
|
};
|
|
87
88
|
}
|
|
88
|
-
}),
|
|
89
|
+
}), oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
89
90
|
__proto__: null,
|
|
90
91
|
default: q
|
|
91
92
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92
93
|
export {
|
|
93
|
-
|
|
94
|
+
oe as _
|
|
94
95
|
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { _ as o } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-6f15eb11.js";
|
|
2
|
-
import "vue";
|
|
3
|
-
import "./enum-type-54c8c6ff.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-2b5032e8.js";
|
|
7
|
-
import "./index-e6ed9f5a.js";
|
|
8
|
-
import "./uuid-aab81f94.js";
|
|
9
|
-
import "./enum-type-90590ca7.js";
|
|
10
|
-
import "./baseImp-e43868e7.js";
|
|
11
|
-
import "./expression-843cb957.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-5573c8b7.js";
|
|
18
|
-
import "element-plus";
|
|
19
|
-
import "./index-ab77f273.js";
|
|
20
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
-
import "./fieldobj-eb2feee2.js";
|
|
22
|
-
import "./slot-138aa61e.js";
|
|
23
|
-
import "./content-wrapper.vue_vue_type_script_setup_true_lang-f2107cfb.js";
|
|
24
|
-
import "./drag-wrapper-733d900b.js";
|
|
25
|
-
export {
|
|
26
|
-
o as default
|
|
27
|
-
};
|
package/drag-wrapper-733d900b.js
DELETED
|
@@ -1,295 +0,0 @@
|
|
|
1
|
-
import { defineAsyncComponent as T, defineComponent as W, useCssVars as H, unref as p, computed as B, watch as q, onMounted as U, openBlock as g, createBlock as f, resolveDynamicComponent as k, mergeProps as v, withCtx as m, renderSlot as b, shallowRef as G, resolveComponent as z, createVNode as M, createElementBlock as h, toDisplayString as I, createCommentVNode as P, Fragment as A, Suspense as J, renderList as $ } from "vue";
|
|
2
|
-
import { e as K, R as Q, s as X, g as D } from "./enum-type-54c8c6ff.js";
|
|
3
|
-
import { B as L } from "./baseImp-e43868e7.js";
|
|
4
|
-
import { I as E } from "./widget-base-8eece820.js";
|
|
5
|
-
import { a as Y } from "./index-e6ed9f5a.js";
|
|
6
|
-
import { c as Z, p as x, a as _, F as j } from "./slot-138aa61e.js";
|
|
7
|
-
import { b as ee } from "./expression-843cb957.js";
|
|
8
|
-
import { _ as V } from "./_plugin-vue_export-helper-dad06003.js";
|
|
9
|
-
const R = (e, w) => {
|
|
10
|
-
const a = e[w];
|
|
11
|
-
return a ? typeof a == "function" ? a() : Promise.resolve(a) : new Promise((t, n) => {
|
|
12
|
-
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(n.bind(null, new Error("Unknown variable dynamic import: " + w)));
|
|
13
|
-
});
|
|
14
|
-
};
|
|
15
|
-
function te() {
|
|
16
|
-
let e = /* @__PURE__ */ new Map();
|
|
17
|
-
const w = (t) => {
|
|
18
|
-
var n = L.getWidgetName(t), s = null;
|
|
19
|
-
return n && (L.isContainer(t) ? s = T(() => R(/* @__PURE__ */ Object.assign({ "./container-widget/cont-cell-widget.vue": () => import("./cont-cell-widget-4193e729.js").then((o) => o._), "./container-widget/cont-widget.vue": () => import("./cont-widget-683f83da.js").then((o) => o._), "./container-widget/form-widget.vue": () => import("./form-widget-4f508901.js").then((o) => o._), "./container-widget/grid-col-widget.vue": () => import("./grid-col-widget-5fa52864.js").then((o) => o._), "./container-widget/grid-widget.vue": () => import("./grid-widget-d5ac789b.js").then((o) => o._), "./container-widget/ltable-col-widget.vue": () => import("./ltable-col-widget-a6196715.js").then((o) => o._), "./container-widget/ltable-widget.vue": () => import("./ltable-widget-67b20dcd.js").then((o) => o._), "./container-widget/tab-pane-widget.vue": () => import("./tab-pane-widget-5e1057c7.js").then((o) => o._), "./container-widget/tabs-widget.vue": () => import("./tabs-widget-53ecac4f.js").then((o) => o._), "./container-widget/wrapper-widget.vue": () => import("./wrapper-widget-11c1e480.js").then((o) => o._) }), `./container-widget/${n}.vue`)) : s = T(() => R(/* @__PURE__ */ Object.assign({ "./field-widget/affix-widget.vue": () => import("./affix-widget-2faab4af.js"), "./field-widget/alert-widget.vue": () => import("./alert-widget-e95490e8.js"), "./field-widget/anchor-link-widget.vue": () => import("./anchor-link-widget-dae98704.js"), "./field-widget/anchor-widget.vue": () => import("./anchor-widget-ca3c597f.js"), "./field-widget/auto-complete-widget.vue": () => import("./auto-complete-widget-931e018a.js"), "./field-widget/avatar-widget.vue": () => import("./avatar-widget-42a7ad8f.js"), "./field-widget/backtop-widget.vue": () => import("./backtop-widget-a5ec4cb5.js"), "./field-widget/badge-widget.vue": () => import("./badge-widget-9a654a6a.js"), "./field-widget/barcode-widget.vue": () => import("./barcode-widget-7789290b.js"), "./field-widget/breadcrumb-widget.vue": () => import("./breadcrumb-widget-5a86bad0.js"), "./field-widget/button-widget.vue": () => import("./button-widget-32dca2c5.js"), "./field-widget/cache-widget.vue": () => import("./cache-widget-200bdd48.js"), "./field-widget/card-widget.vue": () => import("./card-widget-0bab1727.js"), "./field-widget/carousel-widget.vue": () => import("./carousel-widget-b8a04501.js"), "./field-widget/cascader-widget.vue": () => import("./cascader-widget-35259793.js"), "./field-widget/chart-widget.vue": () => import("./chart-widget-ea3c142e.js"), "./field-widget/checkbox-widget.vue": () => import("./checkbox-widget-32987927.js"), "./field-widget/collapse-widget.vue": () => import("./collapse-widget-2bf10c41.js"), "./field-widget/color-picker-widget.vue": () => import("./color-picker-widget-daf9eeba.js"), "./field-widget/content-wrapper.vue": () => import("./content-wrapper-2f8a8778.js"), "./field-widget/countdown-widget.vue": () => import("./countdown-widget-7d350107.js"), "./field-widget/date-picker-range-widget.vue": () => import("./date-picker-range-widget-949581d3.js"), "./field-widget/date-picker-widget.vue": () => import("./date-picker-widget-52187886.js"), "./field-widget/default-slot-widget.vue": () => import("./default-slot-widget-825a6967.js"), "./field-widget/descriptions-widget.vue": () => import("./descriptions-widget-4b70fe87.js"), "./field-widget/dialog-widget.vue": () => import("./dialog-widget-cbb372e4.js"), "./field-widget/divider-widget.vue": () => import("./divider-widget-bf30d1fd.js"), "./field-widget/drawer-widget.vue": () => import("./drawer-widget-7c544c8f.js"), "./field-widget/dropdown-widget.vue": () => import("./dropdown-widget-35c5e1f1.js"), "./field-widget/empty-widget.vue": () => import("./empty-widget-add6aa1e.js"), "./field-widget/feedback-widget.vue": () => import("./feedback-widget-66402edd.js"), "./field-widget/file-upload-widget.vue": () => import("./file-upload-widget-ad75ee6f.js"), "./field-widget/form-item-wrapper.vue": () => import("./form-item-wrapper-dc9f2e85.js"), "./field-widget/hcard-widget.vue": () => import("./hcard-widget-a7735316.js"), "./field-widget/html-text-widget.vue": () => import("./html-text-widget-3cfc4a4b.js"), "./field-widget/icon-widget.vue": () => import("./icon-widget-b4f94e49.js"), "./field-widget/iframe-widget.vue": () => import("./iframe-widget-650e189a.js"), "./field-widget/image-widget.vue": () => import("./image-widget-c9acf85d.js"), "./field-widget/input-number-widget.vue": () => import("./input-number-widget-d1b25aab.js"), "./field-widget/input-tag-widget.vue": () => import("./input-tag-widget-59e43500.js"), "./field-widget/input-widget.vue": () => import("./input-widget-7695f32d.js"), "./field-widget/label-wrapper.vue": () => import("./label-wrapper-e1cc338d.js"), "./field-widget/link-widget.vue": () => import("./link-widget-2cfdad19.js"), "./field-widget/mention-widget.vue": () => import("./mention-widget-ded8ea32.js"), "./field-widget/menu-widget.vue": () => import("./menu-widget-de67461f.js"), "./field-widget/model-widget.vue": () => import("./model-widget-f73630f0.js"), "./field-widget/multirow-widget.vue": () => import("./multirow-widget-8b3c37ac.js"), "./field-widget/pagination-widget.vue": () => import("./pagination-widget-5d9e11de.js"), "./field-widget/picture-upload-widget.vue": () => import("./picture-upload-widget-6db6e1e5.js"), "./field-widget/progress-widget.vue": () => import("./progress-widget-a81f02e2.js"), "./field-widget/qrcode-widget.vue": () => import("./qrcode-widget-94066c8c.js"), "./field-widget/radio-widget.vue": () => import("./radio-widget-c76e2752.js"), "./field-widget/range-widget.vue": () => import("./range-widget-de46fe1c.js"), "./field-widget/rate-widget.vue": () => import("./rate-widget-7d264c37.js"), "./field-widget/result-widget.vue": () => import("./result-widget-e6222f24.js"), "./field-widget/rich-editor-widget.vue": () => import("./rich-editor-widget-7667e493.js"), "./field-widget/router-widget.vue": () => import("./router-widget-40777271.js"), "./field-widget/segmented-widget.vue": () => import("./segmented-widget-505e9aa3.js"), "./field-widget/select-widget.vue": () => import("./select-widget-5a895b69.js"), "./field-widget/skeleton-widget.vue": () => import("./skeleton-widget-244c4a58.js"), "./field-widget/skeletonItem-widget.vue": () => import("./skeletonItem-widget-9f418b95.js"), "./field-widget/slider-widget.vue": () => import("./slider-widget-95d37e13.js"), "./field-widget/space-widget.vue": () => import("./space-widget-f6b16905.js"), "./field-widget/splitter-widget.vue": () => import("./splitter-widget-cb39c839.js"), "./field-widget/static-text-widget.vue": () => import("./static-text-widget-e4434d9d.js"), "./field-widget/statistic-widget.vue": () => import("./statistic-widget-6ea4b23b.js"), "./field-widget/steps-widget.vue": () => import("./steps-widget-b9210f2a.js"), "./field-widget/subMenu-widget.vue": () => import("./subMenu-widget-23007af2.js"), "./field-widget/switch-widget.vue": () => import("./switch-widget-993084af.js"), "./field-widget/table-col-widget.vue": () => import("./table-col-widget-7230eb66.js"), "./field-widget/table-widget.vue": () => import("./table-widget-d5f990d8.js"), "./field-widget/tag-widget.vue": () => import("./tag-widget-4f5e8c1b.js"), "./field-widget/text-widget.vue": () => import("./text-widget-3f722f87.js"), "./field-widget/textarea-widget.vue": () => import("./textarea-widget-8f1cea5a.js"), "./field-widget/time-picker-range-widget.vue": () => import("./time-picker-range-widget-7f472ee1.js"), "./field-widget/time-picker-widget.vue": () => import("./time-picker-widget-961b087d.js"), "./field-widget/time-select-widget.vue": () => import("./time-select-widget-89abcf8b.js"), "./field-widget/timeline-widget.vue": () => import("./timeline-widget-9b1d6448.js"), "./field-widget/tmpl-widget.vue": () => import("./tmpl-widget-5a6aee00.js"), "./field-widget/tooltip-widget.vue": () => import("./tooltip-widget-6c3c34ca.js"), "./field-widget/tour-widget.vue": () => import("./tour-widget-a9431487.js"), "./field-widget/transfer-widget.vue": () => import("./transfer-widget-084db50a.js"), "./field-widget/tree-select-widget.vue": () => import("./tree-select-widget-4560b80a.js"), "./field-widget/tree-widget.vue": () => import("./tree-widget-65b00f9e.js"), "./field-widget/verifycode-widget.vue": () => import("./verifycode-widget-a6ddfe58.js"), "./field-widget/vertical-progress-widget.vue": () => import("./vertical-progress-widget-c44812e6.js") }), `./field-widget/${n}.vue`))), s;
|
|
20
|
-
};
|
|
21
|
-
return { components: (t) => {
|
|
22
|
-
var n = L.getWidgetName(t);
|
|
23
|
-
if (e.has(n))
|
|
24
|
-
return e.get(n);
|
|
25
|
-
var s = w(t);
|
|
26
|
-
return e.set(n, s), s;
|
|
27
|
-
} };
|
|
28
|
-
}
|
|
29
|
-
const ie = /* @__PURE__ */ W({
|
|
30
|
-
__name: "comp-wrapper",
|
|
31
|
-
props: {
|
|
32
|
-
...E,
|
|
33
|
-
componentName: {
|
|
34
|
-
type: String,
|
|
35
|
-
default: "div"
|
|
36
|
-
},
|
|
37
|
-
componentClass: {
|
|
38
|
-
type: String,
|
|
39
|
-
default: ""
|
|
40
|
-
},
|
|
41
|
-
componentAttrs: {
|
|
42
|
-
type: Object,
|
|
43
|
-
default: null
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
setup(e) {
|
|
47
|
-
H((l) => ({
|
|
48
|
-
v6228d629: p(n),
|
|
49
|
-
v6dba15b8: p(s),
|
|
50
|
-
v55f480cc: p(o)
|
|
51
|
-
}));
|
|
52
|
-
const w = e, a = B(() => {
|
|
53
|
-
var l;
|
|
54
|
-
return "node_" + ((l = w.widget) == null ? void 0 : l.id);
|
|
55
|
-
}), t = B(() => ["comp__1", w.componentClass, N.value, a.value]), { ctrlWidth: n, ctrlHeight: s, displayLayout: o, componentRootClass: N, css: S } = Z(w), C = (l = "") => {
|
|
56
|
-
x(l).then((c) => {
|
|
57
|
-
_(c, a.value);
|
|
58
|
-
});
|
|
59
|
-
};
|
|
60
|
-
return q(() => S.value, (l) => {
|
|
61
|
-
C(l);
|
|
62
|
-
}), U(() => {
|
|
63
|
-
C(S.value);
|
|
64
|
-
}), (l, c) => e.componentName ? (g(), f(k(e.componentName), v({
|
|
65
|
-
key: 0,
|
|
66
|
-
class: t.value
|
|
67
|
-
}, e.componentAttrs), {
|
|
68
|
-
default: m(() => [
|
|
69
|
-
b(l.$slots, "default", {}, void 0, !0)
|
|
70
|
-
]),
|
|
71
|
-
_: 3
|
|
72
|
-
}, 16, ["class"])) : b(l.$slots, "default", v({
|
|
73
|
-
key: 1,
|
|
74
|
-
class: t.value
|
|
75
|
-
}, e.componentAttrs), void 0, !0);
|
|
76
|
-
}
|
|
77
|
-
});
|
|
78
|
-
const O = /* @__PURE__ */ V(ie, [["__scopeId", "data-v-0f5501af"]]), de = {
|
|
79
|
-
key: 0,
|
|
80
|
-
class: "tipBase tipTopLeft"
|
|
81
|
-
}, oe = {
|
|
82
|
-
key: 1,
|
|
83
|
-
class: "tipBase tipContent"
|
|
84
|
-
}, re = /* @__PURE__ */ W({
|
|
85
|
-
__name: "drag-wrapper",
|
|
86
|
-
props: {
|
|
87
|
-
...E,
|
|
88
|
-
widgetList: {
|
|
89
|
-
type: Array,
|
|
90
|
-
default: []
|
|
91
|
-
},
|
|
92
|
-
dragClass: {
|
|
93
|
-
type: String,
|
|
94
|
-
default: ""
|
|
95
|
-
},
|
|
96
|
-
propName: {
|
|
97
|
-
type: String,
|
|
98
|
-
default: ee.widgetList
|
|
99
|
-
},
|
|
100
|
-
title: {
|
|
101
|
-
type: String,
|
|
102
|
-
default: ""
|
|
103
|
-
},
|
|
104
|
-
model: {
|
|
105
|
-
type: Object,
|
|
106
|
-
default: null
|
|
107
|
-
},
|
|
108
|
-
provideModel: {
|
|
109
|
-
type: Boolean,
|
|
110
|
-
default: !1
|
|
111
|
-
},
|
|
112
|
-
refList: {
|
|
113
|
-
type: Object,
|
|
114
|
-
default: null
|
|
115
|
-
},
|
|
116
|
-
widgetTree: {
|
|
117
|
-
type: Object,
|
|
118
|
-
default: null
|
|
119
|
-
},
|
|
120
|
-
dragTip: {
|
|
121
|
-
type: String,
|
|
122
|
-
default: K.i18nt("designer.hint.draggableArea")
|
|
123
|
-
},
|
|
124
|
-
dragTag: {
|
|
125
|
-
type: String,
|
|
126
|
-
default: "div"
|
|
127
|
-
},
|
|
128
|
-
componentName: {
|
|
129
|
-
type: String,
|
|
130
|
-
default: "div"
|
|
131
|
-
},
|
|
132
|
-
componentClass: {
|
|
133
|
-
type: String,
|
|
134
|
-
default: ""
|
|
135
|
-
},
|
|
136
|
-
componentAttrs: {
|
|
137
|
-
type: Object,
|
|
138
|
-
default: null
|
|
139
|
-
},
|
|
140
|
-
componentStyle: {
|
|
141
|
-
type: Object,
|
|
142
|
-
default: null
|
|
143
|
-
},
|
|
144
|
-
rowScope: {
|
|
145
|
-
type: Object,
|
|
146
|
-
default: null
|
|
147
|
-
},
|
|
148
|
-
showSuspense: {
|
|
149
|
-
type: Boolean,
|
|
150
|
-
default: !1
|
|
151
|
-
}
|
|
152
|
-
},
|
|
153
|
-
emits: ["update"],
|
|
154
|
-
setup(e, { emit: w }) {
|
|
155
|
-
const { components: a } = te(), t = e, n = G();
|
|
156
|
-
t.designState && (n.value = "draggable");
|
|
157
|
-
const s = w, { checkWidgetMove: o, onWidgetDragAdd: N, onWidgetDragUpdate: S, onWidgetDragEnd: C, onWidgetDragRemove: l } = Y(t.designer), c = (i) => {
|
|
158
|
-
s("update", i);
|
|
159
|
-
}, r = B({
|
|
160
|
-
get: () => t.widget ? Q(t.widget, t.propName) : t.widgetList,
|
|
161
|
-
set: (i) => {
|
|
162
|
-
t.widget ? X(t.widget, t.propName, i) : s("update", i);
|
|
163
|
-
}
|
|
164
|
-
// || props.exWidgetList
|
|
165
|
-
/*exWidgetList: {
|
|
166
|
-
type: Array<Object>,
|
|
167
|
-
default: null
|
|
168
|
-
},*/
|
|
169
|
-
});
|
|
170
|
-
return (D(t.model) || t.provideModel) && j.globalProvide({
|
|
171
|
-
globalDataModel: t == null ? void 0 : t.model
|
|
172
|
-
}), t.refList && j.globalProvide({
|
|
173
|
-
formRefList: t.refList
|
|
174
|
-
}), D(t.rowScope) && D(t.rowScope) && j.globalProvide({
|
|
175
|
-
rowScope: t.rowScope
|
|
176
|
-
}), (i, u) => {
|
|
177
|
-
const F = z("el-skeleton");
|
|
178
|
-
return i.designState === !0 ? (g(), f(k(n.value), v({
|
|
179
|
-
key: 0,
|
|
180
|
-
list: r.value,
|
|
181
|
-
"item-key": "id",
|
|
182
|
-
group: "dragGroup",
|
|
183
|
-
class: [e.dragClass, "containerDraggable full-height"],
|
|
184
|
-
tag: e.dragTag
|
|
185
|
-
}, { chosenClass: "chosen", ghostClass: "ghost", animation: 200 }, {
|
|
186
|
-
"component-data": { name: "fade" },
|
|
187
|
-
handle: ".drag-handler",
|
|
188
|
-
onEnd: u[0] || (u[0] = (d) => p(C)(d, r.value)),
|
|
189
|
-
onRemove: u[1] || (u[1] = (d) => p(l)(d, r.value, c)),
|
|
190
|
-
onAdd: u[2] || (u[2] = (d) => p(N)(d, r.value, c)),
|
|
191
|
-
onUpdate: u[3] || (u[3] = (d) => p(S)(d, r.value, c)),
|
|
192
|
-
move: p(o)
|
|
193
|
-
}), {
|
|
194
|
-
header: m(() => [
|
|
195
|
-
b(i.$slots, "header", {}, void 0, !0)
|
|
196
|
-
]),
|
|
197
|
-
item: m(({ element: d, index: y }) => [
|
|
198
|
-
M(O, v({
|
|
199
|
-
widget: d,
|
|
200
|
-
designer: i.designer,
|
|
201
|
-
"design-state": i.designState,
|
|
202
|
-
"parent-list": r.value,
|
|
203
|
-
"parent-widget": i.widget,
|
|
204
|
-
"component-class": e.componentClass
|
|
205
|
-
}, e.componentAttrs, {
|
|
206
|
-
style: e.componentStyle,
|
|
207
|
-
componentName: e.componentName
|
|
208
|
-
}), {
|
|
209
|
-
default: m(() => [
|
|
210
|
-
(g(), f(k(p(a)(d)), {
|
|
211
|
-
designer: i.designer,
|
|
212
|
-
widget: d,
|
|
213
|
-
key: d.id,
|
|
214
|
-
"design-state": i.designState,
|
|
215
|
-
"parent-list": r.value,
|
|
216
|
-
"parent-widget": i.widget
|
|
217
|
-
}, null, 8, ["designer", "widget", "design-state", "parent-list", "parent-widget"]))
|
|
218
|
-
]),
|
|
219
|
-
_: 2
|
|
220
|
-
}, 1040, ["widget", "designer", "design-state", "parent-list", "parent-widget", "component-class", "style", "componentName"])
|
|
221
|
-
]),
|
|
222
|
-
footer: m(() => [
|
|
223
|
-
b(i.$slots, "footer", {}, void 0, !0),
|
|
224
|
-
b(i.$slots, "tip", {}, () => {
|
|
225
|
-
var d, y;
|
|
226
|
-
return [
|
|
227
|
-
((d = r.value) == null ? void 0 : d.length) <= 0 && e.title ? (g(), h("div", de, I(e.title), 1)) : P("", !0),
|
|
228
|
-
((y = r.value) == null ? void 0 : y.length) <= 0 && e.dragTip ? (g(), h("div", oe, I(e.dragTip), 1)) : P("", !0)
|
|
229
|
-
];
|
|
230
|
-
}, !0)
|
|
231
|
-
]),
|
|
232
|
-
_: 3
|
|
233
|
-
}, 16, ["list", "class", "tag", "move"])) : (g(), h(A, { key: 1 }, [
|
|
234
|
-
e.showSuspense ? (g(), f(J, { key: 0 }, {
|
|
235
|
-
default: m(() => [
|
|
236
|
-
(g(!0), h(A, null, $(r.value, (d, y) => (g(), f(O, v({
|
|
237
|
-
key: d.id,
|
|
238
|
-
widget: d,
|
|
239
|
-
designer: i.designer,
|
|
240
|
-
"design-state": i.designState,
|
|
241
|
-
"parent-list": r.value,
|
|
242
|
-
"parent-widget": i.widget,
|
|
243
|
-
componentName: e.componentName,
|
|
244
|
-
"component-class": e.componentClass
|
|
245
|
-
}, { ref_for: !0 }, e.componentAttrs, { style: e.componentStyle }), {
|
|
246
|
-
default: m(() => [
|
|
247
|
-
(g(), f(k(p(a)(d)), {
|
|
248
|
-
designer: i.designer,
|
|
249
|
-
widget: d,
|
|
250
|
-
"design-state": i.designState,
|
|
251
|
-
"parent-list": r.value,
|
|
252
|
-
"parent-widget": i.widget
|
|
253
|
-
}, null, 8, ["designer", "widget", "design-state", "parent-list", "parent-widget"]))
|
|
254
|
-
]),
|
|
255
|
-
_: 2
|
|
256
|
-
}, 1040, ["widget", "designer", "design-state", "parent-list", "parent-widget", "componentName", "component-class", "style"]))), 128))
|
|
257
|
-
]),
|
|
258
|
-
fallback: m(() => [
|
|
259
|
-
M(F, {
|
|
260
|
-
rows: 5,
|
|
261
|
-
animated: ""
|
|
262
|
-
})
|
|
263
|
-
]),
|
|
264
|
-
_: 1
|
|
265
|
-
})) : (g(!0), h(A, { key: 1 }, $(r.value, (d, y) => (g(), f(O, v({
|
|
266
|
-
key: d.id,
|
|
267
|
-
widget: d,
|
|
268
|
-
designer: i.designer,
|
|
269
|
-
"design-state": i.designState,
|
|
270
|
-
"parent-list": r.value,
|
|
271
|
-
"parent-widget": i.widget,
|
|
272
|
-
componentName: e.componentName,
|
|
273
|
-
"component-class": e.componentClass
|
|
274
|
-
}, { ref_for: !0 }, e.componentAttrs, { style: e.componentStyle }), {
|
|
275
|
-
default: m(() => [
|
|
276
|
-
(g(), f(k(p(a)(d)), {
|
|
277
|
-
designer: i.designer,
|
|
278
|
-
widget: d,
|
|
279
|
-
"design-state": i.designState,
|
|
280
|
-
"parent-list": r.value,
|
|
281
|
-
"parent-widget": i.widget
|
|
282
|
-
}, null, 8, ["designer", "widget", "design-state", "parent-list", "parent-widget"]))
|
|
283
|
-
]),
|
|
284
|
-
_: 2
|
|
285
|
-
}, 1040, ["widget", "designer", "design-state", "parent-list", "parent-widget", "componentName", "component-class", "style"]))), 128))
|
|
286
|
-
], 64));
|
|
287
|
-
};
|
|
288
|
-
}
|
|
289
|
-
});
|
|
290
|
-
const ue = /* @__PURE__ */ V(re, [["__scopeId", "data-v-ad0e4ce1"]]);
|
|
291
|
-
export {
|
|
292
|
-
O as C,
|
|
293
|
-
ue as D,
|
|
294
|
-
te as u
|
|
295
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { _ as o } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-469ca730.js";
|
|
2
|
-
import "vue";
|
|
3
|
-
import "./widget-base-8eece820.js";
|
|
4
|
-
import "./drag-wrapper-733d900b.js";
|
|
5
|
-
import "./enum-type-54c8c6ff.js";
|
|
6
|
-
import "./baseImp-e43868e7.js";
|
|
7
|
-
import "./enum-type-90590ca7.js";
|
|
8
|
-
import "./expression-843cb957.js";
|
|
9
|
-
import "./source-map-b04aec4a.js";
|
|
10
|
-
import "./uuid-aab81f94.js";
|
|
11
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
12
|
-
import "./esprima-e8d15055.js";
|
|
13
|
-
import "./icon-1fc5d00d.js";
|
|
14
|
-
import "axios";
|
|
15
|
-
import "./dialog-5573c8b7.js";
|
|
16
|
-
import "element-plus";
|
|
17
|
-
import "./index-e6ed9f5a.js";
|
|
18
|
-
import "./slot-138aa61e.js";
|
|
19
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-2b5032e8.js";
|
|
21
|
-
import "./index-ab77f273.js";
|
|
22
|
-
import "./fieldobj-eb2feee2.js";
|
|
23
|
-
import "./share-field-518be3d6.js";
|
|
24
|
-
import "./multirow-685f615b.js";
|
|
25
|
-
export {
|
|
26
|
-
o as default
|
|
27
|
-
};
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
import { defineComponent as F, computed as I, ref as _, onMounted as T, watch as V, resolveComponent as q, resolveDirective as H, openBlock as v, createBlock as j, mergeProps as L, unref as c, withCtx as J, createCommentVNode as U, withDirectives as K, createElementBlock as B, toHandlers as M } from "vue";
|
|
2
|
-
import { J as y } from "./baseImp-e43868e7.js";
|
|
3
|
-
import { w as z } from "./expression-843cb957.js";
|
|
4
|
-
import { a as G } from "./share-field-518be3d6.js";
|
|
5
|
-
import { _ as X } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-2b5032e8.js";
|
|
6
|
-
import { I as Y } from "./field-base-1acf3ada.js";
|
|
7
|
-
import { g as Z } from "./uuid-aab81f94.js";
|
|
8
|
-
import { m as D } from "./enum-type-54c8c6ff.js";
|
|
9
|
-
import { _ as A } from "./_plugin-vue_export-helper-dad06003.js";
|
|
10
|
-
import "./enum-type-90590ca7.js";
|
|
11
|
-
import "./icon-1fc5d00d.js";
|
|
12
|
-
import "axios";
|
|
13
|
-
import "./dialog-5573c8b7.js";
|
|
14
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
|
-
import "element-plus";
|
|
16
|
-
import "./source-map-b04aec4a.js";
|
|
17
|
-
import "./esprima-e8d15055.js";
|
|
18
|
-
import "./multirow-685f615b.js";
|
|
19
|
-
import "./index-e6ed9f5a.js";
|
|
20
|
-
import "./slot-138aa61e.js";
|
|
21
|
-
import "./widget-base-8eece820.js";
|
|
22
|
-
import "./index-ab77f273.js";
|
|
23
|
-
import "./fieldobj-eb2feee2.js";
|
|
24
|
-
function ee(p, g) {
|
|
25
|
-
var d;
|
|
26
|
-
if (!p) {
|
|
27
|
-
D.error("iframe is empty");
|
|
28
|
-
return;
|
|
29
|
-
}
|
|
30
|
-
const r = (d = p.contentWindow) == null ? void 0 : d.document;
|
|
31
|
-
if (!r) {
|
|
32
|
-
D.error("iframe doc is empty");
|
|
33
|
-
return;
|
|
34
|
-
}
|
|
35
|
-
r.open(), r.write(g), r.close();
|
|
36
|
-
}
|
|
37
|
-
const oe = {
|
|
38
|
-
key: 1,
|
|
39
|
-
class: "full-width full-height nopadding nomargin"
|
|
40
|
-
}, te = ["src", "id"], re = F({ componentName: z.FieldWidget }), ie = /* @__PURE__ */ F({
|
|
41
|
-
...re,
|
|
42
|
-
__name: "iframe-widget",
|
|
43
|
-
props: { ...Y },
|
|
44
|
-
setup(p, { expose: g }) {
|
|
45
|
-
const r = p, { exposed: d, fieldEditor: w, events: s, attrs: k, extendAttrs: i, fieldObj: Q, fieldKey: W, fieldName: $ } = G(r), x = I(() => n.value && !a.value ? "full-width full-height" : "mini-wrapper"), a = _(!1), h = _(), E = (e) => {
|
|
46
|
-
var m, u;
|
|
47
|
-
const o = ((m = i == null ? void 0 : i.value) == null ? void 0 : m.withQuery) ? y.getLocationQueryParams() : {};
|
|
48
|
-
Object.assign(o, { _timestamp: b.value });
|
|
49
|
-
const l = y.buildUrl(e, o, { addtimestamp: !1 }), f = (u = i == null ? void 0 : i.value) == null ? void 0 : u.hashRouter;
|
|
50
|
-
return y.resolveByCurrentUrl(l, f ? Z() + "" : "");
|
|
51
|
-
}, C = _(), b = _(Date.now()), n = I(() => {
|
|
52
|
-
var l;
|
|
53
|
-
if (h.value)
|
|
54
|
-
return h.value;
|
|
55
|
-
const e = C.value || k.value.src;
|
|
56
|
-
if (e == "" || e == "#")
|
|
57
|
-
return "";
|
|
58
|
-
const t = E(e), o = (l = s.value) == null ? void 0 : l.urlFormatter;
|
|
59
|
-
return o !== void 0 ? o == null ? void 0 : o(t) : t;
|
|
60
|
-
}), N = () => {
|
|
61
|
-
var e, t;
|
|
62
|
-
a.value = !1, (t = (e = s == null ? void 0 : s.value) == null ? void 0 : e.onLoaded) == null || t.call(e);
|
|
63
|
-
}, O = (e) => {
|
|
64
|
-
C.value = e;
|
|
65
|
-
}, P = (e) => {
|
|
66
|
-
h.value = e;
|
|
67
|
-
}, S = (e) => {
|
|
68
|
-
ee(w.value, e);
|
|
69
|
-
}, R = () => {
|
|
70
|
-
b.value = Date.now();
|
|
71
|
-
};
|
|
72
|
-
return T(() => {
|
|
73
|
-
n.value && (a.value = !0);
|
|
74
|
-
}), V(() => n.value, (e) => {
|
|
75
|
-
e && (a.value = !0);
|
|
76
|
-
}), g({
|
|
77
|
-
...d,
|
|
78
|
-
loadSrc: O,
|
|
79
|
-
loadUrl: P,
|
|
80
|
-
loadContent: S,
|
|
81
|
-
refresh: R
|
|
82
|
-
}), (e, t) => {
|
|
83
|
-
var f;
|
|
84
|
-
const o = q("el-empty"), l = H("loading");
|
|
85
|
-
return v(), j(X, L(e.$props, {
|
|
86
|
-
"prop-options": { fieldObj: c(Q) },
|
|
87
|
-
key: (f = e.widget) == null ? void 0 : f.id
|
|
88
|
-
}), {
|
|
89
|
-
default: J(({ data: m }) => {
|
|
90
|
-
var u;
|
|
91
|
-
return [
|
|
92
|
-
n.value ? U("", !0) : (v(), j(o, {
|
|
93
|
-
key: 0,
|
|
94
|
-
description: (u = c(k)) == null ? void 0 : u.emptyText,
|
|
95
|
-
class: "full-width full-height nopadding nomargin"
|
|
96
|
-
}, null, 8, ["description"])),
|
|
97
|
-
a.value ? K((v(), B("div", oe, null, 512)), [
|
|
98
|
-
[l, a.value]
|
|
99
|
-
]) : U("", !0),
|
|
100
|
-
(v(), B("iframe", L({
|
|
101
|
-
ref_key: "fieldEditor",
|
|
102
|
-
ref: w,
|
|
103
|
-
key: `${c(W)}_${n.value}`
|
|
104
|
-
}, M(c(s), !0), {
|
|
105
|
-
onLoad: N,
|
|
106
|
-
src: n.value,
|
|
107
|
-
class: [[...m.injectClass, x.value], "nopadding nomargin hlIframe"],
|
|
108
|
-
frameborder: 0,
|
|
109
|
-
style: m.injectStyle,
|
|
110
|
-
id: c($)
|
|
111
|
-
}), null, 16, te))
|
|
112
|
-
];
|
|
113
|
-
}),
|
|
114
|
-
_: 1
|
|
115
|
-
}, 16, ["prop-options"]);
|
|
116
|
-
};
|
|
117
|
-
}
|
|
118
|
-
});
|
|
119
|
-
const Be = /* @__PURE__ */ A(ie, [["__scopeId", "data-v-ba9450f1"]]);
|
|
120
|
-
export {
|
|
121
|
-
Be as default
|
|
122
|
-
};
|