hlrender 0.0.219 → 0.0.221
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-0c974cbe.js → _pdf-2615d97f.js} +6 -6
- package/{_txt-fb5b2545.js → _txt-fefad837.js} +6 -6
- package/{_unsupport-dc6b3049.js → _unsupport-05d8e7f5.js} +1 -1
- package/{affix-widget-fb8e3747.js → affix-widget-7ee62ad0.js} +16 -16
- package/{alert-widget-fef87e5d.js → alert-widget-e49cf21a.js} +16 -16
- package/{anchor-widget-097b103d.js → anchor-widget-2ee58e27.js} +13 -13
- package/{auto-complete-widget-bd98e8a4.js → auto-complete-widget-0ca8ea1b.js} +16 -16
- package/{avatar-widget-29044b19.js → avatar-widget-41693c37.js} +16 -16
- package/{backtop-widget-e21f9ed5.js → backtop-widget-25aecb13.js} +16 -16
- package/{badge-widget-94c4f222.js → badge-widget-67b8d37b.js} +16 -16
- package/{barcode-widget-dbc9f8ef.js → barcode-widget-9e091ba9.js} +13 -13
- package/{baseImp-c00e8adf.js → baseImp-e8c9b2a6.js} +1849 -1844
- package/{breadcrumb-widget-cf2b61e4.js → breadcrumb-widget-08733d3e.js} +13 -13
- package/{button-widget-668ba6fd.js → button-widget-57b0d6a1.js} +16 -16
- package/{cache-widget-81e301c2.js → cache-widget-311cfc52.js} +15 -15
- package/{card-widget-7b583092.js → card-widget-add6804a.js} +14 -14
- package/{carousel-widget-4d1a3239.js → carousel-widget-ea7d87b1.js} +14 -14
- package/{cascader-widget-fea57791.js → cascader-widget-0b81eec8.js} +15 -15
- package/{chart-widget-9dc25f9a.js → chart-widget-8373404e.js} +13 -13
- package/{checkbox-widget-cdab1671.js → checkbox-widget-66a7e1cb.js} +15 -15
- package/{collapse-widget-fd10b5fa.js → collapse-widget-7ee41c5c.js} +14 -14
- package/{color-picker-widget-c887f50b.js → color-picker-widget-3f9717a1.js} +15 -15
- package/{cont-cell-widget-71e77c48.js → cont-cell-widget-4b79347c.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-7f3fb38b.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-83f8cacc.js} +5 -5
- package/{cont-widget-cbdc6662.js → cont-widget-547c6110.js} +5 -5
- package/{content-wrapper-7b2872cf.js → content-wrapper-5726b7f5.js} +7 -7
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-db0bce35.js → content-wrapper.vue_vue_type_script_setup_true_lang-baea5e7e.js} +3 -3
- package/{date-picker-range-widget-c03bc378.js → date-picker-range-widget-11e82e2a.js} +15 -15
- package/{date-picker-widget-a4788e49.js → date-picker-widget-6fc6de52.js} +15 -15
- package/default-slot-widget-8d762171.js +26 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-fd9018b4.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-c459220b.js} +7 -7
- package/{descriptions-widget-99727453.js → descriptions-widget-c5fecb39.js} +14 -14
- package/{dialog-3c8bd967.js → dialog-4a3f5772.js} +24 -21
- package/{dialog-widget-83d060df.js → dialog-widget-6e8df434.js} +15 -15
- package/{divider-widget-d9a1397c.js → divider-widget-f9ed187b.js} +16 -16
- package/{drag-wrapper-e9462729.js → drag-wrapper-e9a12534.js} +6 -6
- package/{drawer-widget-3dde4140.js → drawer-widget-1d494753.js} +15 -15
- package/{dropdown-widget-80aa9f87.js → dropdown-widget-330a3cdc.js} +14 -14
- package/{empty-widget-b01b034e.js → empty-widget-6967f161.js} +16 -16
- package/{enum-type-3eee09cf.js → enum-type-7a728829.js} +57 -54
- package/{enum-type-af9f5bba.js → enum-type-829c8462.js} +48 -37
- package/{expression-f9adb9b4.js → expression-f3b962d3.js} +2 -2
- package/feedback-widget-7a6ac9ed.js +26 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-06094233.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-06683f41.js} +5 -5
- package/{fieldobj-0d6a0693.js → fieldobj-f28634ba.js} +1 -1
- package/{file-upload-widget-81081a10.js → file-upload-widget-b1b14ffa.js} +20 -20
- package/{form-item-wrapper-b755a7ab.js → form-item-wrapper-d0a9ff6c.js} +11 -11
- package/{form-widget-a19d1d5e.js → form-widget-1a27e9b4.js} +27 -27
- package/{grid-col-widget-c0aa72e3.js → grid-col-widget-f9ee0ab1.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-940f7fb8.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-ff4d1b7c.js} +5 -5
- package/{grid-widget-7ff1f824.js → grid-widget-7ecb5c19.js} +5 -5
- package/{html-text-widget-687720a1.js → html-text-widget-30f07d9a.js} +14 -14
- package/{icon-widget-49fb6d23.js → icon-widget-d565d050.js} +13 -13
- package/{iframe-widget-6b3134ec.js → iframe-widget-086f4098.js} +13 -13
- package/{image-widget-614de330.js → image-widget-630ebd35.js} +13 -13
- package/{index-d0ed190f.js → index-198e6bfc.js} +1 -1
- package/{index-89915d03.js → index-4f56cada.js} +9 -9
- package/index-697c9c4d.js +241 -0
- package/{input-number-widget-2e3cb800.js → input-number-widget-740bc531.js} +15 -15
- package/{input-widget-74572ab8.js → input-widget-c172fb57.js} +16 -16
- package/{label-wrapper-714b1ffc.js → label-wrapper-63276661.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-9bf010c8.js → label-wrapper.vue_vue_type_style_index_0_lang-e7f67615.js} +3 -3
- package/{link-widget-a7ffc17b.js → link-widget-931d6131.js} +16 -16
- package/{ltable-col-widget-ca0db2f7.js → ltable-col-widget-bf4521f9.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-fd7b8b5b.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-426f2b4c.js} +9 -9
- package/{ltable-widget-1ef2e0cb.js → ltable-widget-a7acf843.js} +5 -5
- package/{menu-widget-f654b2e2.js → menu-widget-24785732.js} +32 -32
- package/{model-widget-250ae819.js → model-widget-9280f81f.js} +13 -13
- package/multirow-cf88c15f.js +230 -0
- package/multirow-widget-8abae879.js +722 -0
- package/package.json +1 -1
- package/{pagination-widget-df2f379b.js → pagination-widget-21b9734a.js} +13 -13
- package/{picture-upload-widget-25603bd3.js → picture-upload-widget-2d6f5166.js} +16 -16
- package/{progress-widget-ef1fbe38.js → progress-widget-7acbcbd2.js} +37 -37
- package/{qrcode-widget-422ba971.js → qrcode-widget-ef7c0554.js} +13 -13
- package/{radio-widget-fb75bc5e.js → radio-widget-309621c0.js} +15 -15
- package/{range-widget-6dc8a81a.js → range-widget-0eab72e0.js} +16 -16
- package/{rate-widget-6395f645.js → rate-widget-b9cfc2cf.js} +15 -15
- package/render.es.js +32 -32
- package/render.style.css +1 -1
- package/render.umd.js +359 -355
- package/{result-widget-230edb57.js → result-widget-2b5456a9.js} +14 -14
- package/{rich-editor-widget-7281e7fc.js → rich-editor-widget-c203861c.js} +26 -26
- package/{router-widget-aab48273.js → router-widget-04b9a98b.js} +13 -13
- package/{select-widget-3fabec4c.js → select-widget-2bf2ef62.js} +15 -15
- package/{sfc-607e4077.js → sfc-2bf2df56.js} +8 -8
- package/{sfcview-5d26e89f.js → sfcview-1361c175.js} +7 -7
- package/{share-field-35b67886.js → share-field-addc6ef5.js} +278 -276
- package/{share-file-77daa671.js → share-file-f342058d.js} +14 -14
- package/{slider-widget-d6bfad96.js → slider-widget-33b99e50.js} +15 -15
- package/{slot-272abb65.js → slot-56adbbb3.js} +3 -3
- package/{static-text-widget-9c22019b.js → static-text-widget-108edde9.js} +14 -14
- package/{steps-widget-5cdb799d.js → steps-widget-9ca1809f.js} +13 -13
- package/{subMenu-widget-4f1581f9.js → subMenu-widget-7027f7e1.js} +8 -8
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-bc537be5.js → subMenu-widget.vue_vue_type_script_setup_true_lang-acaf3bc5.js} +6 -6
- package/{switch-widget-857f4664.js → switch-widget-c8f119c0.js} +15 -15
- package/{tab-pane-widget-00680892.js → tab-pane-widget-3706cee1.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-45512f0f.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-0bdade93.js} +5 -5
- package/table-col-widget-23084965.js +22 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-292b6fec.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-a3c724ca.js} +6 -6
- package/{table-widget-57890751.js → table-widget-c469cd7e.js} +15 -15
- package/{tabs-widget-a8268ebc.js → tabs-widget-8b8bf0e5.js} +7 -7
- package/{tag-widget-b1bde14f.js → tag-widget-f9cc80b9.js} +16 -16
- package/{text-widget-8e4b909d.js → text-widget-ef976b4a.js} +16 -16
- package/{textarea-widget-4c156f4a.js → textarea-widget-c2943bad.js} +15 -15
- package/{time-picker-range-widget-af2e8d96.js → time-picker-range-widget-e97ab6b0.js} +15 -15
- package/{time-picker-widget-6997e5ff.js → time-picker-widget-ad75fba4.js} +15 -15
- package/{time-select-widget-645a26ba.js → time-select-widget-7f3d955a.js} +15 -15
- package/{tmpl-widget-fdb68779.js → tmpl-widget-f116a203.js} +14 -14
- package/{tree-select-widget-ab0476a9.js → tree-select-widget-62c48877.js} +15 -15
- package/{tree-widget-e57ceed7.js → tree-widget-1fa2535b.js} +13 -13
- package/{uuid-59b631d4.js → uuid-92282a79.js} +1 -1
- package/{verifycode-widget-264bfa9d.js → verifycode-widget-71283784.js} +13 -13
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b9780aad.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ce22cece.js} +7 -7
- package/wrapper-widget-669e9a3b.js +84 -0
- package/default-slot-widget-02517799.js +0 -26
- package/feedback-widget-2098cac5.js +0 -26
- package/index-696a9346.js +0 -120
- package/multirow-b54f3d83.js +0 -229
- package/multirow-widget-5d488d4a.js +0 -703
- package/table-col-widget-5fc4ff5a.js +0 -22
- package/wrapper-widget-e9bb70ba.js +0 -84
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isRef as
|
|
1
|
+
import { isRef as _, watch as L, isReactive as B, toRaw as M } from "vue";
|
|
2
2
|
function d(e, t, r = []) {
|
|
3
3
|
if (e === t || e !== e && t !== t)
|
|
4
4
|
return !0;
|
|
@@ -165,22 +165,22 @@ const ge = (e) => {
|
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
167
|
return a(e), r;
|
|
168
|
-
},
|
|
168
|
+
}, G = (e) => Promise.resolve(e) === e, Se = (e) => Array.from(new Set(e)), Te = (e, t, r) => (e === void 0 && (e = []), e == null || e.splice(t + 1, 0, r), e), Ae = (e, t) => (e == null || e.splice(t, 1), e), Ce = (e, t) => ([e[t - 1], e[t]] = [e[t], e[t - 1]], e), we = (e, t) => ([e[t], e[t + 1]] = [e[t + 1], e[t]], e), I = (e, t, r, a, n) => {
|
|
169
169
|
!e || !Array.isArray(e) || e == null || e.forEach((o, i, l) => {
|
|
170
170
|
(r ? r(o, i, l) : !0) ? a == null || a(o, i, l) : n == null || n(o, i, l), o[t] && I(o[t], t, r, a, n);
|
|
171
171
|
});
|
|
172
|
-
},
|
|
172
|
+
}, be = (e, t, r) => {
|
|
173
173
|
var a = [];
|
|
174
174
|
return !e || !Array.isArray(e) || I(e, t, r, (n) => {
|
|
175
175
|
a.push(n);
|
|
176
176
|
}), a;
|
|
177
|
-
},
|
|
177
|
+
}, W = (e, t, r, a) => {
|
|
178
178
|
e == null || e.forEach((n) => {
|
|
179
179
|
if (a != null && a(n))
|
|
180
180
|
t.push(n);
|
|
181
181
|
else {
|
|
182
182
|
var o = t.length;
|
|
183
|
-
|
|
183
|
+
W(n == null ? void 0 : n[r], t, r, a);
|
|
184
184
|
var i = t.length;
|
|
185
185
|
i !== o && t.push(n);
|
|
186
186
|
}
|
|
@@ -193,7 +193,7 @@ function K(e, t) {
|
|
|
193
193
|
t(e, r, a), typeof a == "object" && a !== null && K(a, t);
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
|
-
const
|
|
196
|
+
const _e = (e) => Array.isArray(e) ? e.join(" ") : "", Ne = (...e) => {
|
|
197
197
|
var t;
|
|
198
198
|
return !e || e.length <= 0 ? [] : e.length == 1 && ((t = e[0]) != null && t.hasOwnProperty("length")) && Array.isArray(e) ? Object.values(e[0]) : e;
|
|
199
199
|
};
|
|
@@ -248,21 +248,21 @@ function Oe(e, t, r) {
|
|
|
248
248
|
currentPage: t
|
|
249
249
|
};
|
|
250
250
|
}
|
|
251
|
-
function
|
|
251
|
+
function Pe(e, t) {
|
|
252
252
|
const r = /* @__PURE__ */ new Set();
|
|
253
253
|
return e.filter((a) => {
|
|
254
254
|
const n = t.map((o) => a[o]).join("|");
|
|
255
255
|
return r.has(n) ? !1 : r.add(n);
|
|
256
256
|
});
|
|
257
257
|
}
|
|
258
|
-
const
|
|
258
|
+
const b = (e) => {
|
|
259
259
|
if (typeof e != "object" || e === null)
|
|
260
260
|
return Promise.resolve(e);
|
|
261
261
|
if (e instanceof Promise)
|
|
262
262
|
return e;
|
|
263
263
|
if (Array.isArray(e))
|
|
264
|
-
return Promise.all(e.map(
|
|
265
|
-
const t = Object.keys(e), r = t.map((a) =>
|
|
264
|
+
return Promise.all(e.map(b));
|
|
265
|
+
const t = Object.keys(e), r = t.map((a) => b(e[a]));
|
|
266
266
|
return new Promise((a, n) => {
|
|
267
267
|
Promise.all(r).then((o) => {
|
|
268
268
|
const i = {};
|
|
@@ -1533,9 +1533,12 @@ vars:页面设置中的全局变量`,
|
|
|
1533
1533
|
withQuery: "当前页参数",
|
|
1534
1534
|
windowTatget: "新页面",
|
|
1535
1535
|
dialogType: "操作按钮",
|
|
1536
|
+
modalType: "弹窗类型",
|
|
1536
1537
|
setQueryFn: "设置url参数",
|
|
1537
1538
|
encodeQuery: "url编码",
|
|
1538
1539
|
windowModal: "窗口形式",
|
|
1540
|
+
exterOptions: "组件参数",
|
|
1541
|
+
exterOptionsHelp: "支持json格式,具体参数名参照elementplus官网对应组件属性",
|
|
1539
1542
|
selectOnlyOneGroup: "单组选择",
|
|
1540
1543
|
showLimit: "显示条数限制",
|
|
1541
1544
|
onlyOneAddButton: "单添加按钮",
|
|
@@ -1876,7 +1879,10 @@ vars:页面设置中的全局变量`,
|
|
|
1876
1879
|
ComicSansMS: "漫画体",
|
|
1877
1880
|
TrebuchetMS: "特粗体",
|
|
1878
1881
|
Palatino: "帕拉提诺体",
|
|
1879
|
-
defaultState: "默认状态"
|
|
1882
|
+
defaultState: "默认状态",
|
|
1883
|
+
dialogTP: "弹窗式",
|
|
1884
|
+
drawerTP: "抽屉式",
|
|
1885
|
+
popoverTP: "提示式"
|
|
1880
1886
|
},
|
|
1881
1887
|
helper: {
|
|
1882
1888
|
CONCATENATE_func: "将多个字符串拼接合成一个文本字符串",
|
|
@@ -2382,6 +2388,11 @@ getSchemaDatas(schemaNames,data,progressFn):List`,
|
|
|
2382
2388
|
* @returns List,数据源查询结果,promise异步结果
|
|
2383
2389
|
*/
|
|
2384
2390
|
getSchemaDataObject(schemaNames,data,progressFn):Object`,
|
|
2391
|
+
getGlobalParams: `/**
|
|
2392
|
+
* 集成静态参数:url参数、cookie、数据源的变量参数、外部组件传参
|
|
2393
|
+
* @returns Object。{vars:Object,urlParams:Object,cookies:Object,compParams:Object}
|
|
2394
|
+
*/
|
|
2395
|
+
getGlobalParams():Object`,
|
|
2385
2396
|
addCssClass: `/**
|
|
2386
2397
|
* 添加样式类
|
|
2387
2398
|
* 如引用自全局css时,需现在全局设置中的css编辑添加此类,如
|
|
@@ -2973,7 +2984,7 @@ function y(e) {
|
|
|
2973
2984
|
if (!c(e))
|
|
2974
2985
|
return e;
|
|
2975
2986
|
}
|
|
2976
|
-
function
|
|
2987
|
+
function Fe(e, t) {
|
|
2977
2988
|
return t === !0 ? Z(e) : $(e);
|
|
2978
2989
|
}
|
|
2979
2990
|
function $(e) {
|
|
@@ -2988,14 +2999,14 @@ function xe(e, t = !1) {
|
|
|
2988
2999
|
var r = Number(e);
|
|
2989
3000
|
return isNaN(r) ? t ? e : void 0 : r;
|
|
2990
3001
|
}
|
|
2991
|
-
const ve = (e) =>
|
|
2992
|
-
if (
|
|
3002
|
+
const ve = (e) => _(e) ? e == null ? void 0 : e.value : e, Le = (e) => ee(R(e)), Be = (e) => new Promise((t, r) => {
|
|
3003
|
+
if (G(e)) {
|
|
2993
3004
|
e.then((n) => {
|
|
2994
3005
|
t(y(n));
|
|
2995
3006
|
});
|
|
2996
3007
|
return;
|
|
2997
3008
|
}
|
|
2998
|
-
if (!
|
|
3009
|
+
if (!_(e)) {
|
|
2999
3010
|
t(y(e));
|
|
3000
3011
|
return;
|
|
3001
3012
|
}
|
|
@@ -3102,15 +3113,15 @@ const g = {
|
|
|
3102
3113
|
...Q,
|
|
3103
3114
|
...X
|
|
3104
3115
|
}
|
|
3105
|
-
},
|
|
3106
|
-
return { lang: O.get(
|
|
3116
|
+
}, P = "v_form_locale", F = function() {
|
|
3117
|
+
return { lang: O.get(P) || "zh-CN" };
|
|
3107
3118
|
}, re = function(e) {
|
|
3108
|
-
f.setLang(e), O.set(
|
|
3119
|
+
f.setLang(e), O.set(P, e);
|
|
3109
3120
|
}, ke = () => {
|
|
3110
|
-
let e =
|
|
3121
|
+
let e = F();
|
|
3111
3122
|
re(e == null ? void 0 : e.lang);
|
|
3112
3123
|
}, f = ae({
|
|
3113
|
-
locale:
|
|
3124
|
+
locale: F(),
|
|
3114
3125
|
messages: te
|
|
3115
3126
|
});
|
|
3116
3127
|
function ae(e) {
|
|
@@ -3146,35 +3157,35 @@ const Ue = function(e) {
|
|
|
3146
3157
|
var ne = /* @__PURE__ */ ((e) => (e.string = "string", e.number = "number", e.bigint = "bigint", e.boolean = "boolean", e.symbol = "symbol", e.undefined = "undefined", e.object = "object", e.function = "function", e.array = "array", e.any = "any", e.date = "date", e))(ne || {}), oe = /* @__PURE__ */ ((e) => (e.typescript = "typescript", e.javascript = "javascript", e.css = "css", e.html = "html", e.json = "json", e.sql = "sql", e.text = "text", e))(oe || {}), ie = /* @__PURE__ */ ((e) => (e.sysVar = "sysVar", e.sysFunc = "sysFunc", e.sysData = "sysData", e.schema = "schema", e))(ie || {});
|
|
3147
3158
|
export {
|
|
3148
3159
|
Ce as $,
|
|
3149
|
-
|
|
3160
|
+
pe as A,
|
|
3150
3161
|
ne as B,
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3162
|
+
xe as C,
|
|
3163
|
+
Le as D,
|
|
3164
|
+
ve as E,
|
|
3165
|
+
w as F,
|
|
3166
|
+
K as G,
|
|
3167
|
+
I as H,
|
|
3168
|
+
Be as I,
|
|
3169
|
+
G as J,
|
|
3159
3170
|
He as K,
|
|
3160
|
-
|
|
3171
|
+
b as L,
|
|
3161
3172
|
me as M,
|
|
3162
3173
|
Se as N,
|
|
3163
3174
|
Ne as O,
|
|
3164
3175
|
le as P,
|
|
3165
3176
|
C as Q,
|
|
3166
|
-
|
|
3177
|
+
_e as R,
|
|
3167
3178
|
oe as S,
|
|
3168
3179
|
fe as T,
|
|
3169
3180
|
ye as U,
|
|
3170
3181
|
Ue as V,
|
|
3171
3182
|
Ee as W,
|
|
3172
|
-
|
|
3183
|
+
W as X,
|
|
3173
3184
|
Te as Y,
|
|
3174
3185
|
Ae as Z,
|
|
3175
3186
|
we as _,
|
|
3176
3187
|
ce as a,
|
|
3177
|
-
|
|
3188
|
+
be as a0,
|
|
3178
3189
|
ke as b,
|
|
3179
3190
|
y as c,
|
|
3180
3191
|
D as d,
|
|
@@ -3193,11 +3204,11 @@ export {
|
|
|
3193
3204
|
Ie as q,
|
|
3194
3205
|
O as r,
|
|
3195
3206
|
he as s,
|
|
3196
|
-
|
|
3197
|
-
|
|
3207
|
+
Fe as t,
|
|
3208
|
+
Pe as u,
|
|
3198
3209
|
Re as v,
|
|
3199
3210
|
De as w,
|
|
3200
3211
|
Oe as x,
|
|
3201
|
-
|
|
3202
|
-
|
|
3212
|
+
Me as y,
|
|
3213
|
+
ue as z
|
|
3203
3214
|
};
|
|
@@ -2,8 +2,8 @@ var wr = Object.defineProperty;
|
|
|
2
2
|
var Or = (e, t, r) => t in e ? wr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
3
|
var me = (e, t, r) => (Or(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
4
4
|
import { r as xr } from "./source-map-b04aec4a.js";
|
|
5
|
-
import { a as kt, i as ze, N as Lr, m as Nt, e as i, k as Vt, O as ue, B as u,
|
|
6
|
-
import { e as rr, f as nr, h as De, d as Qe, i as Gr, j as z, k as Te, l as Wr } from "./uuid-
|
|
5
|
+
import { a as kt, i as ze, N as Lr, m as Nt, e as i, k as Vt, O as ue, B as u, C as Ce, P as Hr, n as Br, j as Et, h as Fr, f as $t, c as er, F as tr, t as Yt, A as Ur } from "./enum-type-829c8462.js";
|
|
6
|
+
import { e as rr, f as nr, h as De, d as Qe, i as Gr, j as z, k as Te, l as Wr } from "./uuid-92282a79.js";
|
|
7
7
|
import { c as qt } from "./_commonjsHelpers-e7ea1525.js";
|
|
8
8
|
import { a as Q } from "./esprima-e8d15055.js";
|
|
9
9
|
var Yr = /* @__PURE__ */ ((e) => (e.VFormRender = "VFormRender", e.VFormDesigner = "VFormDesigner", e.FieldWidget = "FieldWidget", e.ContainerWidget = "ContainerWidget", e.SettingPanel = "SettingPanel", e.PropertyEditor = "PropertyEditor", e))(Yr || {}), qr = /* @__PURE__ */ ((e) => (e.page = "page", e.cssCode = "cssCode", e.functions = "functions", e.pageCssUpdated = "page-css-updated", e.pageJsonImported = "page-json-imported", e[e.pageJsonVersion = 20240724] = "pageJsonVersion", e))(qr || {}), Kr = /* @__PURE__ */ ((e) => (e.editHandler = "editHandler", e.tooltipHandler = "tooltipHandler", e.popOverHandler = "popOverHandler", e.drawerHandler = "drawerHandler", e.designFormHandler = "designFormHandler", e.setFormData = "setFormData", e.reloadOptionItems = "reloadOptionItems", e.formChange = "formChange", e.v_form_ref = "v_form_ref", e.renderComplete = "renderComplete", e))(Kr || {}), jr = /* @__PURE__ */ ((e) => (e.fieldSelected = "field-selected", e.fieldValueChanged = "field-value-changed", e.fieldChange = "fieldChange", e.fieldRuleChange = "fieldRuleChange", e.fieldValidation = "fieldValidation", e.defaultValue = "defaultValue", e.defaultTime = "defaultTime", e.multiple = "multiple", e.externalArgs = "ctx", e.valueKey = "valueKey", e.labelKey = "labelKey", e.isdefaultKey = "isDefaultKey", e.onChange = "change", e.onChangeFn = "onChange", e.onClick = "click", e.onInput = "input", e.buttonClick = "buttonClick", e.onValidate = "validate", e.validFunc = "func", e.beforeUpload = "beforeUpload", e.onSuccess = "onSuccess", e.onError = "onError", e.onRemove = "onRemove", e.onBuildUrl = "onBuildUrl", e.onDownload = "onDownload", e.onPreview = "onPreview", e.isUploadSuccess = "isUploadSuccess", e.allowDelete = "allowDelete", e.allowPreview = "allowPreview", e.allowDownload = "allowDownload", e.beforeRemove = "beforeRemove", e.getHeaders = "getHeaders", e.getData = "getData", e.popperOptions = "popperOptions", e.shortcuts = "shortcuts", e.fitFetch = "fitFetch", e.errorFetch = "errorFetch", e.didFetch = "didFetch", e.willFetch = "willFetch", e.chartOption = "chartOption", e.lazyLoad = "lazyLoad", e.data = "data", e.formDataLoaded = "formDataLoaded", e.setQueryFn = "setQueryFn", e.afterFetch = "afterFetch", e.beforeFetch = "beforeFetch", e.isActiveItem = "isActiveItem", e.filtersDatasource = "filtersDatasource", e.tableFilterMethod = "tableFilterMethod", e))(jr || {}), Xr = /* @__PURE__ */ ((e) => (e.pageConfig = "pageConfig", e.widgetList = "widgetList", e.allRefList = "allRefList", e.refList = "refList", e.sfRefList = "sfRefList", e.globalModel = "globalModel", e.getPageConfig = "getPageConfig", e.staticDataModel = "staticDataModel", e.getDesignerConfig = "getDesignerConfig", e.getBannedWidgets = "getBannedWidgets", e.getPageTemplates = "getPageTemplates", e.getExampleCode = "getExampleCode", e.serverFieldList = "serverFieldList", e.urlParams = "urlParams", e.compParams = "compParams", e.globalForm = "globalForm", e.globalPage = "globalPage", e.rowScope = "rowScope", e.globalConfig = "globalConfig", e.isRenderComplete = "isRenderComplete", e))(Xr || {}), Jr = /* @__PURE__ */ ((e) => (e.optionItems = "optionItems", e.options = "options", e.schema = "schema", e.tabs = "tabs", e.cols = "cols", e.params = "params", e.headers = "headers", e.id = "id", e.name = "name", e.content = "content", e.width = "width", e.ctrlWidth = "ctrlWidth", e.ctrlHeight = "ctrlHeight", e.value = "value", e.children = "children", e.option = "option", e.isdefault = "isdefault", e.state = "state", e.slotable = "slotable", e.readonly = "readonly", e.disabled = "disabled", e.isLeaf = "isLeaf", e.class = "class", e.css = "css", e.label = "label", e.labelWidth = "labelWidth", e.labelHidden = "labelHidden", e.labelAlign = "labelAlign", e.labelTooltip = "labelTooltip", e.labelIconClass = "labelIconClass", e.labelIconPosition = "labelIconPosition", e.labelSuffix = "labelSuffix", e.requireAsteriskPosition = "requireAsteriskPosition", e.required = "required", e.displayLayout = "displayLayout", e.size = "size", e.customClass = "customClass", e.componentWrapperClass = "componentWrapperClass", e.componentRootClass = "componentRootClass", e.hidden = "hidden", e.widgetList = "widgetList", e.handlerLayout = "handlerLayout", e.relate = "relate", e.newDataSource = "newDataSource", e.editDataSource = "editDataSource", e.data = "data", e))(Jr || {}), zr = /* @__PURE__ */ ((e) => (e.default = "default", e.tip = "tip", e.header = "header", e))(zr || {}), Ke = /* @__PURE__ */ ((e) => (e.copyItem = "___copy", e.checkedOptions = "___cked", e.optionText = "_text", e.optionCode = "_code", e.optionLabelName = "_name", e))(Ke || {}), Qr = /* @__PURE__ */ ((e) => (e.formItemTarget = "formItemTarget", e))(Qr || {}), Zr = /* @__PURE__ */ ((e) => (e.color1 = "#1976D2", e))(Zr || {});
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { _ as o } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-06683f41.js";
|
|
2
|
+
import "vue";
|
|
3
|
+
import "./widget-base-4c2d6265.js";
|
|
4
|
+
import "./drag-wrapper-e9a12534.js";
|
|
5
|
+
import "./enum-type-829c8462.js";
|
|
6
|
+
import "./baseImp-e8c9b2a6.js";
|
|
7
|
+
import "./enum-type-7a728829.js";
|
|
8
|
+
import "./expression-f3b962d3.js";
|
|
9
|
+
import "./source-map-b04aec4a.js";
|
|
10
|
+
import "./uuid-92282a79.js";
|
|
11
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
12
|
+
import "./esprima-e8d15055.js";
|
|
13
|
+
import "./icon-a0e0cdb0.js";
|
|
14
|
+
import "./dialog-4a3f5772.js";
|
|
15
|
+
import "element-plus";
|
|
16
|
+
import "./index-4f56cada.js";
|
|
17
|
+
import "./slot-56adbbb3.js";
|
|
18
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
19
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ce22cece.js";
|
|
20
|
+
import "./index-198e6bfc.js";
|
|
21
|
+
import "./fieldobj-f28634ba.js";
|
|
22
|
+
import "./share-field-addc6ef5.js";
|
|
23
|
+
import "./multirow-cf88c15f.js";
|
|
24
|
+
export {
|
|
25
|
+
o as default
|
|
26
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as b, ref as F, inject as I, openBlock as a, createBlock as n, mergeProps as p, unref as r, withCtx as C, createElementBlock as i, Fragment as m, renderList as V, resolveDynamicComponent as u, createCommentVNode as g, createVNode as f, isRef as P, toHandlers as R, createSlots as E, createTextVNode as H, toDisplayString as K } from "vue";
|
|
2
2
|
import { I as M } from "./widget-base-4c2d6265.js";
|
|
3
|
-
import { D as o } from "./drag-wrapper-
|
|
4
|
-
import { _ as T } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { d as U, w as q } from "./expression-
|
|
6
|
-
import { b as A } from "./share-field-
|
|
7
|
-
import { g as v } from "./slot-
|
|
3
|
+
import { D as o } from "./drag-wrapper-e9a12534.js";
|
|
4
|
+
import { _ as T } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ce22cece.js";
|
|
5
|
+
import { d as U, w as q } from "./expression-f3b962d3.js";
|
|
6
|
+
import { b as A } from "./share-field-addc6ef5.js";
|
|
7
|
+
import { g as v } from "./slot-56adbbb3.js";
|
|
8
8
|
const G = b({ componentName: q.ContainerWidget }), ee = /* @__PURE__ */ b({
|
|
9
9
|
...G,
|
|
10
10
|
__name: "feedback-widget",
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { defineComponent as B, shallowRef as pe, onMounted as me, openBlock as l, createElementBlock as n, createBlock as i, resolveDynamicComponent as A, unref as e, defineAsyncComponent as V, computed as _e, ref as E, resolveComponent as P, Fragment as C, createVNode as a, mergeProps as N, withCtx as o, toHandlers as Z, createSlots as ee, createElementVNode as d, createTextVNode as W, toDisplayString as c, createCommentVNode as p, renderList as ye, normalizeProps as he } from "vue";
|
|
2
|
-
import { e as u } from "./enum-type-
|
|
3
|
-
import { u as ge } from "./uuid-
|
|
2
|
+
import { e as u } from "./enum-type-829c8462.js";
|
|
3
|
+
import { u as ge } from "./uuid-92282a79.js";
|
|
4
4
|
import { I as ke } from "./field-base-5547436d.js";
|
|
5
|
-
import { u as ve } from "./share-file-
|
|
6
|
-
import { f as b, w as fe } from "./expression-
|
|
7
|
-
import we from "./form-item-wrapper-
|
|
8
|
-
import { g as Ce } from "./slot-
|
|
9
|
-
import { D as be } from "./drag-wrapper-
|
|
5
|
+
import { u as ve } from "./share-file-f342058d.js";
|
|
6
|
+
import { f as b, w as fe } from "./expression-f3b962d3.js";
|
|
7
|
+
import we from "./form-item-wrapper-d0a9ff6c.js";
|
|
8
|
+
import { g as Ce } from "./slot-56adbbb3.js";
|
|
9
|
+
import { D as be } from "./drag-wrapper-e9a12534.js";
|
|
10
10
|
import { UploadFilled as De, Plus as $e, Document as Te, Download as te, CircleCheck as le, Close as oe } from "./index-ddd23411.js";
|
|
11
|
-
import { L as ae } from "./enum-type-
|
|
11
|
+
import { L as ae } from "./enum-type-7a728829.js";
|
|
12
12
|
import { _ as xe } from "./_plugin-vue_export-helper-dad06003.js";
|
|
13
13
|
import "./widget-base-4c2d6265.js";
|
|
14
|
-
import "./share-field-
|
|
15
|
-
import "./multirow-
|
|
16
|
-
import "./baseImp-
|
|
14
|
+
import "./share-field-addc6ef5.js";
|
|
15
|
+
import "./multirow-cf88c15f.js";
|
|
16
|
+
import "./baseImp-e8c9b2a6.js";
|
|
17
17
|
import "./icon-a0e0cdb0.js";
|
|
18
|
-
import "./dialog-
|
|
18
|
+
import "./dialog-4a3f5772.js";
|
|
19
19
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
20
20
|
import "element-plus";
|
|
21
|
-
import "./index-
|
|
21
|
+
import "./index-4f56cada.js";
|
|
22
22
|
import "./source-map-b04aec4a.js";
|
|
23
23
|
import "./esprima-e8d15055.js";
|
|
24
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
25
|
-
import "./index-
|
|
26
|
-
import "./fieldobj-
|
|
27
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
24
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ce22cece.js";
|
|
25
|
+
import "./index-198e6bfc.js";
|
|
26
|
+
import "./fieldobj-f28634ba.js";
|
|
27
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-e7f67615.js";
|
|
28
28
|
const Ue = {
|
|
29
29
|
class: "full-height full-width",
|
|
30
30
|
style: { overflow: "auto" }
|
|
@@ -38,15 +38,15 @@ const Ue = {
|
|
|
38
38
|
var x, f, y, h, U;
|
|
39
39
|
switch ((x = $.file) == null ? void 0 : x.type) {
|
|
40
40
|
case "application/pdf": {
|
|
41
|
-
m.value = V(() => import("./_pdf-
|
|
41
|
+
m.value = V(() => import("./_pdf-2615d97f.js"));
|
|
42
42
|
break;
|
|
43
43
|
}
|
|
44
44
|
case "text/plain": {
|
|
45
|
-
m.value = V(() => import("./_txt-
|
|
45
|
+
m.value = V(() => import("./_txt-fefad837.js"));
|
|
46
46
|
break;
|
|
47
47
|
}
|
|
48
48
|
default: {
|
|
49
|
-
(y = (f = $.file) == null ? void 0 : f.type) != null && y.startsWith("image/") ? m.value = V(() => import("./_image-fab8c8e2.js")) : (U = (h = $.file) == null ? void 0 : h.type) != null && U.startsWith("video/") ? m.value = V(() => import("./_video-21c5b64e.js")) : m.value = V(() => import("./_unsupport-
|
|
49
|
+
(y = (f = $.file) == null ? void 0 : f.type) != null && y.startsWith("image/") ? m.value = V(() => import("./_image-fab8c8e2.js")) : (U = (h = $.file) == null ? void 0 : h.type) != null && U.startsWith("video/") ? m.value = V(() => import("./_video-21c5b64e.js")) : m.value = V(() => import("./_unsupport-05d8e7f5.js"));
|
|
50
50
|
break;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { defineComponent as F, computed as i, resolveComponent as g, openBlock as n, createBlock as _, normalizeProps as h, guardReactiveProps as S, withCtx as a, mergeProps as f, unref as l, createSlots as q, renderSlot as b, createVNode as u, createElementBlock as C, normalizeClass as H, createElementVNode as $, normalizeStyle as N } from "vue";
|
|
2
2
|
import { I as O } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as w } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
4
|
-
import { _ as v } from "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
5
|
-
import { u as x } from "./fieldobj-
|
|
3
|
+
import { _ as w } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ce22cece.js";
|
|
4
|
+
import { _ as v } from "./label-wrapper.vue_vue_type_style_index_0_lang-e7f67615.js";
|
|
5
|
+
import { u as x } from "./fieldobj-f28634ba.js";
|
|
6
6
|
import { _ as B } from "./_plugin-vue_export-helper-dad06003.js";
|
|
7
7
|
import "./widget-base-4c2d6265.js";
|
|
8
|
-
import "./enum-type-
|
|
9
|
-
import "./index-
|
|
10
|
-
import "./uuid-
|
|
11
|
-
import "./enum-type-
|
|
12
|
-
import "./baseImp-
|
|
13
|
-
import "./expression-
|
|
8
|
+
import "./enum-type-829c8462.js";
|
|
9
|
+
import "./index-4f56cada.js";
|
|
10
|
+
import "./uuid-92282a79.js";
|
|
11
|
+
import "./enum-type-7a728829.js";
|
|
12
|
+
import "./baseImp-e8c9b2a6.js";
|
|
13
|
+
import "./expression-f3b962d3.js";
|
|
14
14
|
import "./source-map-b04aec4a.js";
|
|
15
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
16
|
import "./esprima-e8d15055.js";
|
|
17
17
|
import "./icon-a0e0cdb0.js";
|
|
18
|
-
import "./dialog-
|
|
18
|
+
import "./dialog-4a3f5772.js";
|
|
19
19
|
import "element-plus";
|
|
20
|
-
import "./index-
|
|
20
|
+
import "./index-198e6bfc.js";
|
|
21
21
|
const W = { class: "el-form-item__content" }, j = /* @__PURE__ */ F({
|
|
22
22
|
__name: "form-item-wrapper",
|
|
23
23
|
props: { ...O },
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { ref as oe, reactive as z, onMounted as fe, nextTick as
|
|
1
|
+
import { ref as oe, reactive as z, onMounted as fe, nextTick as Oe, defineComponent as ce, resolveComponent as je, resolveDirective as xe, openBlock as ne, createBlock as ae, mergeProps as K, unref as p, withCtx as ie, withDirectives as Ee, toHandlers as Se, withModifiers as Me, createVNode as Re } from "vue";
|
|
2
2
|
import { I as ye } from "./widget-base-4c2d6265.js";
|
|
3
|
-
import { D as Ae } from "./drag-wrapper-
|
|
4
|
-
import { _ as Pe } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { w as U, a as le, b as y, f as L, i as $e } from "./expression-
|
|
3
|
+
import { D as Ae } from "./drag-wrapper-e9a12534.js";
|
|
4
|
+
import { _ as Pe } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ce22cece.js";
|
|
5
|
+
import { w as U, a as le, b as y, f as L, i as $e } from "./expression-f3b962d3.js";
|
|
6
6
|
import { u as ke } from "./icon-a0e0cdb0.js";
|
|
7
|
-
import { u as Ie, a as Be } from "./multirow-
|
|
8
|
-
import { b as He,
|
|
9
|
-
import { $ as Ue, B as Ge } from "./baseImp-
|
|
10
|
-
import { f as Je } from "./index-
|
|
11
|
-
import { b as Qe, a as Xe, u as Ye } from "./share-field-
|
|
12
|
-
import { W as Ze } from "./enum-type-
|
|
13
|
-
import { F as et } from "./slot-
|
|
7
|
+
import { u as Ie, a as Be } from "./multirow-cf88c15f.js";
|
|
8
|
+
import { b as He, F as de, M as re, e as Te, d as se, N as qe, A as ze, g as Ke } from "./enum-type-829c8462.js";
|
|
9
|
+
import { $ as Ue, B as Ge } from "./baseImp-e8c9b2a6.js";
|
|
10
|
+
import { f as Je } from "./index-4f56cada.js";
|
|
11
|
+
import { b as Qe, a as Xe, u as Ye } from "./share-field-addc6ef5.js";
|
|
12
|
+
import { W as Ze } from "./enum-type-7a728829.js";
|
|
13
|
+
import { F as et } from "./slot-56adbbb3.js";
|
|
14
14
|
import { _ as tt } from "./_plugin-vue_export-helper-dad06003.js";
|
|
15
15
|
function ot(r) {
|
|
16
|
-
const
|
|
16
|
+
const O = r.widget, c = r.designer, b = c == null ? void 0 : c.pageConfig, F = r == null ? void 0 : r.widgetList, j = oe({}), A = {}, { fieldModel: P, fieldName: $, fieldEditor: u, attrs: x, events: _, hasFieldOptions: E, exposed: w, fieldObj: S, watchOption: g, propResultOpt: h, extendAttrs: D } = Qe(r), { off$: W, on$: V, emit$: M, broadcast: N } = Be();
|
|
17
17
|
var { instance: G } = ke();
|
|
18
|
-
const { setAllRefList: ue } = Xe(
|
|
18
|
+
const { setAllRefList: ue } = Xe(j.value), J = { designState: r == null ? void 0 : r.designState, pageConfig: b, globalConfig: h == null ? void 0 : h.globalConfig }, { formModel: k, setData: me, getData: R, clearData: Q } = Ie(F, { ...J }), { handleFunc: I } = Ye({ options: b }, J), B = z({}), ve = () => {
|
|
19
19
|
W(L.fieldChange), V(L.fieldChange, (e) => {
|
|
20
20
|
be(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue), w == null || w.setValue(k), _e(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue);
|
|
21
21
|
});
|
|
@@ -33,7 +33,7 @@ function ot(r) {
|
|
|
33
33
|
trigger: n.trigger,
|
|
34
34
|
validator: n.validator
|
|
35
35
|
}));
|
|
36
|
-
Object.assign(B, { [e == null ? void 0 : e.fieldName]: t }),
|
|
36
|
+
Object.assign(B, { [e == null ? void 0 : e.fieldName]: t }), x.value.rules = B;
|
|
37
37
|
});
|
|
38
38
|
}, H = oe(!1), T = z({}), q = z({}), X = (e) => {
|
|
39
39
|
re(q), se(q, e);
|
|
@@ -57,7 +57,7 @@ function ot(r) {
|
|
|
57
57
|
var t;
|
|
58
58
|
(t = u.value) == null || t.clearValidate(e);
|
|
59
59
|
}, Le = () => {
|
|
60
|
-
ue(Ze.resetField),
|
|
60
|
+
ue(Ze.resetField), Oe(() => {
|
|
61
61
|
Ve();
|
|
62
62
|
});
|
|
63
63
|
}, Y = (e, t) => {
|
|
@@ -104,9 +104,9 @@ function ot(r) {
|
|
|
104
104
|
}
|
|
105
105
|
}), n);
|
|
106
106
|
}, Z = (e, t = !0) => {
|
|
107
|
-
if (!
|
|
107
|
+
if (!O)
|
|
108
108
|
return;
|
|
109
|
-
var o = We(e, [
|
|
109
|
+
var o = We(e, [O]);
|
|
110
110
|
me(o, t);
|
|
111
111
|
const n = ["refList", "widgetRefList"];
|
|
112
112
|
N(U.ContainerWidget, le.setFormData, e, G, n), N(U.FieldWidget, le.setFormData, e, G, n);
|
|
@@ -128,13 +128,13 @@ function ot(r) {
|
|
|
128
128
|
}
|
|
129
129
|
n(a, !1);
|
|
130
130
|
});
|
|
131
|
-
}, l =
|
|
131
|
+
}, l = E(y.editDataSource), f = E(y.newDataSource);
|
|
132
132
|
l ? s() : f && d();
|
|
133
133
|
});
|
|
134
134
|
return De(), fe(() => {
|
|
135
135
|
He(), we();
|
|
136
136
|
}), {
|
|
137
|
-
widgetRefList:
|
|
137
|
+
widgetRefList: j,
|
|
138
138
|
allWidgetRefList: A,
|
|
139
139
|
fieldEditor: u,
|
|
140
140
|
formModel: k,
|
|
@@ -142,7 +142,7 @@ function ot(r) {
|
|
|
142
142
|
widgetList: F,
|
|
143
143
|
fieldModel: P,
|
|
144
144
|
fieldName: $,
|
|
145
|
-
attrs:
|
|
145
|
+
attrs: x,
|
|
146
146
|
extendAttrs: D,
|
|
147
147
|
events: _,
|
|
148
148
|
rules: B,
|
|
@@ -168,30 +168,30 @@ const nt = ce({ componentName: U.ContainerWidget }), at = /* @__PURE__ */ ce({
|
|
|
168
168
|
...nt,
|
|
169
169
|
__name: "form-widget",
|
|
170
170
|
props: { ...ye },
|
|
171
|
-
setup(r, { expose:
|
|
171
|
+
setup(r, { expose: O }) {
|
|
172
172
|
var S;
|
|
173
|
-
const c = r, { exposed: b, formModel: F, fieldEditor:
|
|
173
|
+
const c = r, { exposed: b, formModel: F, fieldEditor: j, attrs: A, events: P, widgetRefList: $, extendAttrs: u, fieldName: x, fieldObj: _, loadData: E } = ot({ ...c, widgetList: (S = c == null ? void 0 : c.widget) == null ? void 0 : S.widgetList }), w = x.value;
|
|
174
174
|
return et.globalProvide({
|
|
175
175
|
globalFormName: w,
|
|
176
176
|
globalDataModel: F
|
|
177
177
|
}), fe(() => {
|
|
178
178
|
var g;
|
|
179
|
-
(g = u.value) != null && g.loadDataWhenInit && !c.designState &&
|
|
179
|
+
(g = u.value) != null && g.loadDataWhenInit && !c.designState && E(!0).then((h) => {
|
|
180
180
|
}).catch((h) => {
|
|
181
181
|
}).finally(() => {
|
|
182
182
|
b.clearChangeRecord();
|
|
183
183
|
});
|
|
184
|
-
}),
|
|
185
|
-
const D =
|
|
184
|
+
}), O({ ...b }), (g, h) => {
|
|
185
|
+
const D = je("el-form"), W = xe("loading");
|
|
186
186
|
return ne(), ae(Pe, K(g.$props, {
|
|
187
187
|
"prop-options": { fieldObj: p(_) }
|
|
188
188
|
}), {
|
|
189
189
|
default: ie(({ data: V }) => {
|
|
190
190
|
var M, N;
|
|
191
191
|
return [
|
|
192
|
-
|
|
192
|
+
Ee((ne(), ae(D, K({
|
|
193
193
|
ref_key: "fieldEditor",
|
|
194
|
-
ref:
|
|
194
|
+
ref: j,
|
|
195
195
|
model: p(F)
|
|
196
196
|
}, p(A), Se(p(P)), {
|
|
197
197
|
class: V.injectClass,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as e } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-
|
|
1
|
+
import { _ as e } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-ff4d1b7c.js";
|
|
2
2
|
const o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3
3
|
__proto__: null,
|
|
4
4
|
default: e
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as m, computed as l, reactive as C, openBlock as y, createBlock as O, mergeProps as c, unref as o, withCtx as W, createVNode as b } from "vue";
|
|
2
|
-
import { w as k } from "./expression-
|
|
2
|
+
import { w as k } from "./expression-f3b962d3.js";
|
|
3
3
|
import { I as x } from "./widget-base-4c2d6265.js";
|
|
4
|
-
import { D as A } from "./drag-wrapper-
|
|
5
|
-
import { _ as j } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
6
|
-
import { b as H } from "./share-field-
|
|
7
|
-
import { c as $ } from "./slot-
|
|
4
|
+
import { D as A } from "./drag-wrapper-e9a12534.js";
|
|
5
|
+
import { _ as j } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ce22cece.js";
|
|
6
|
+
import { b as H } from "./share-field-addc6ef5.js";
|
|
7
|
+
import { c as $ } from "./slot-56adbbb3.js";
|
|
8
8
|
const z = m({ componentName: k.ContainerWidget }), V = /* @__PURE__ */ m({
|
|
9
9
|
...z,
|
|
10
10
|
__name: "grid-col-widget",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as p, openBlock as t, createBlock as s, mergeProps as f, unref as o, withCtx as u, createElementBlock as w, Fragment as b, renderList as h } from "vue";
|
|
2
|
-
import { b as k, w as y } from "./expression-
|
|
2
|
+
import { b as k, w as y } from "./expression-f3b962d3.js";
|
|
3
3
|
import { I as C } from "./widget-base-4c2d6265.js";
|
|
4
|
-
import { _ as O } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-
|
|
5
|
-
import { _ as S } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
6
|
-
import { b as j } from "./share-field-
|
|
7
|
-
import { c as P } from "./slot-
|
|
4
|
+
import { _ as O } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-ff4d1b7c.js";
|
|
5
|
+
import { _ as S } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ce22cece.js";
|
|
6
|
+
import { b as j } from "./share-field-addc6ef5.js";
|
|
7
|
+
import { c as P } from "./slot-56adbbb3.js";
|
|
8
8
|
const v = p({ componentName: y.ContainerWidget }), B = /* @__PURE__ */ p({
|
|
9
9
|
...v,
|
|
10
10
|
__name: "grid-widget",
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { defineComponent as e, openBlock as _, createBlock as u, mergeProps as x, unref as o, withCtx as g, createVNode as w } from "vue";
|
|
2
2
|
import { I as C } from "./field-base-5547436d.js";
|
|
3
|
-
import { b as P } from "./share-field-
|
|
4
|
-
import { w as b } from "./expression-
|
|
5
|
-
import { _ as h } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
6
|
-
import { _ as j } from "./content-wrapper.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { b as P } from "./share-field-addc6ef5.js";
|
|
4
|
+
import { w as b } from "./expression-f3b962d3.js";
|
|
5
|
+
import { _ as h } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ce22cece.js";
|
|
6
|
+
import { _ as j } from "./content-wrapper.vue_vue_type_script_setup_true_lang-baea5e7e.js";
|
|
7
7
|
import "./widget-base-4c2d6265.js";
|
|
8
|
-
import "./enum-type-
|
|
9
|
-
import "./multirow-
|
|
10
|
-
import "./baseImp-
|
|
11
|
-
import "./enum-type-
|
|
8
|
+
import "./enum-type-829c8462.js";
|
|
9
|
+
import "./multirow-cf88c15f.js";
|
|
10
|
+
import "./baseImp-e8c9b2a6.js";
|
|
11
|
+
import "./enum-type-7a728829.js";
|
|
12
12
|
import "./icon-a0e0cdb0.js";
|
|
13
|
-
import "./dialog-
|
|
13
|
+
import "./dialog-4a3f5772.js";
|
|
14
14
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
|
-
import "./uuid-
|
|
15
|
+
import "./uuid-92282a79.js";
|
|
16
16
|
import "element-plus";
|
|
17
|
-
import "./index-
|
|
18
|
-
import "./slot-
|
|
17
|
+
import "./index-4f56cada.js";
|
|
18
|
+
import "./slot-56adbbb3.js";
|
|
19
19
|
import "./source-map-b04aec4a.js";
|
|
20
20
|
import "./esprima-e8d15055.js";
|
|
21
|
-
import "./index-
|
|
21
|
+
import "./index-198e6bfc.js";
|
|
22
22
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
23
|
-
import "./fieldobj-
|
|
23
|
+
import "./fieldobj-f28634ba.js";
|
|
24
24
|
const k = e({ componentName: b.FieldWidget }), T = /* @__PURE__ */ e({
|
|
25
25
|
...k,
|
|
26
26
|
__name: "html-text-widget",
|