hldesigner 0.0.220 → 0.0.222
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-30337a9f.js → _pdf-7ecd2054.js} +7 -7
- package/{_share_image-a24e20ab.js → _share_image-ba939001.js} +2 -2
- package/{_share_size.vue_vue_type_script_setup_true_lang-66f7d18d.js → _share_size.vue_vue_type_script_setup_true_lang-0b67bf31.js} +3 -3
- package/{_txt-a053dbe0.js → _txt-f9ebfdc7.js} +7 -7
- package/{_unsupport-5ce9e73d.js → _unsupport-10535eda.js} +2 -2
- package/{affix-widget-3e53b328.js → affix-widget-1782f79e.js} +21 -21
- package/{alert-widget-a6f06bfb.js → alert-widget-2fb4f10f.js} +21 -21
- package/{anchor-widget-051a8b6b.js → anchor-widget-b9c43e29.js} +18 -18
- package/{auto-complete-widget-47f66305.js → auto-complete-widget-5677e758.js} +21 -21
- package/{avatar-widget-acfb76f2.js → avatar-widget-e13567ce.js} +21 -21
- package/{backtop-widget-ae175cc7.js → backtop-widget-ea11602f.js} +21 -21
- package/{badge-widget-2b725f21.js → badge-widget-317e871e.js} +21 -21
- package/{barcode-widget-e5495239.js → barcode-widget-7e7914d7.js} +18 -18
- package/{baseImp-03fc3b78.js → baseImp-9f3fde4e.js} +511 -507
- package/{breadcrumb-widget-cb98290f.js → breadcrumb-widget-50616ee9.js} +18 -18
- package/{button-widget-7e1aaf81.js → button-widget-9ff2a0ad.js} +21 -21
- package/{cache-widget-4a66527f.js → cache-widget-dc300f38.js} +20 -20
- package/{card-widget-a05bb421.js → card-widget-ed88e099.js} +19 -19
- package/{carousel-widget-43d71c9e.js → carousel-widget-7501dc99.js} +19 -19
- package/{cascader-widget-12e52fd1.js → cascader-widget-78f0cf88.js} +20 -20
- package/{chart-widget-be1058de.js → chart-widget-e7f87083.js} +28 -28
- package/{checkbox-widget-66eac543.js → checkbox-widget-e43250c0.js} +20 -20
- package/{collapse-widget-30f25e2c.js → collapse-widget-eea2b401.js} +19 -19
- package/{color-picker-widget-da38de24.js → color-picker-widget-61b31a3a.js} +20 -20
- package/common-editor-7142f0c1.js +27 -0
- package/{common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-e91ffb4a.js → common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-ea06a562.js} +2 -2
- package/{configItem-306213e3.js → configItem-d30b2851.js} +38 -38
- package/{cont-cell-widget-69f7ae82.js → cont-cell-widget-6b0e6950.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-98025d41.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-cf26bf0c.js} +6 -6
- package/{cont-widget-fb00c8cf.js → cont-widget-f1d08b93.js} +5 -5
- package/{content-wrapper-1341924f.js → content-wrapper-593018fc.js} +8 -8
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-cbf12c74.js → content-wrapper.vue_vue_type_script_setup_true_lang-f7589f01.js} +3 -3
- package/{css-editor-0ef796a6.js → css-editor-b69c320e.js} +131 -131
- package/{cssIndex-107d18a0.js → cssIndex-b8eb4bbc.js} +11 -11
- package/{customClass-editor-a308fec7.js → customClass-editor-cd51812e.js} +17 -17
- package/{date-picker-range-widget-72f52ef5.js → date-picker-range-widget-a735cfaf.js} +20 -20
- package/{date-picker-widget-3a1cc317.js → date-picker-widget-36d4ed6e.js} +28 -28
- package/default-slot-widget-3f3375c5.js +30 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-8c368eb3.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-4e853cc9.js} +8 -8
- package/{descriptions-widget-50bed6ea.js → descriptions-widget-a03681f5.js} +19 -19
- package/designer.es.js +36 -36
- package/designer.style.css +2 -2
- package/designer.umd.js +523 -519
- package/{dialog-bb7e0514.js → dialog-13620fb6.js} +17 -14
- package/{dialog-widget-d370a8a8.js → dialog-widget-39b16e40.js} +20 -20
- package/{divider-widget-2f11bb70.js → divider-widget-086b3f21.js} +21 -21
- package/{drag-wrapper-2961a1e8.js → drag-wrapper-ae9ba6f4.js} +7 -7
- package/{drawer-widget-c0553f06.js → drawer-widget-aa443af4.js} +20 -20
- package/{dropdown-widget-a935f8c6.js → dropdown-widget-31c24970.js} +19 -19
- package/{editor-wrapper-fab6a482.js → editor-wrapper-28106e15.js} +62 -62
- package/{emitter-2df329ed.js → emitter-c412e0ca.js} +1 -1
- package/{empty-widget-9dec79d5.js → empty-widget-d3b56c06.js} +21 -21
- package/{enum-type-d322f2dc.js → enum-type-8a51728f.js} +211 -203
- package/{enum-type-6cfd49c6.js → enum-type-8eed1126.js} +36 -25
- package/{expression-0f34a71b.js → expression-e467a9a1.js} +3 -3
- package/feedback-widget-7422fdb5.js +31 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-6b56d2f1.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-83070ad8.js} +5 -5
- package/{field-editor-818f8d01.js → field-editor-a16b5501.js} +20 -20
- package/{fieldobj-1334f6d2.js → fieldobj-db31be1f.js} +1 -1
- package/{file-upload-widget-4856b3d1.js → file-upload-widget-51234027.js} +25 -25
- package/{form-item-wrapper-348e0a3d.js → form-item-wrapper-fdfa232e.js} +14 -14
- package/{form-widget-eb61ba40.js → form-widget-9e052f68.js} +50 -50
- package/{grid-col-widget-6c8d842a.js → grid-col-widget-20e3d6a9.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-39b53388.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-7206e559.js} +5 -5
- package/{grid-widget-7cc7687e.js → grid-widget-4cbc2b67.js} +5 -5
- package/{html-text-widget-959e3a03.js → html-text-widget-f4374e2c.js} +19 -19
- package/{icon-widget-4e22900d.js → icon-widget-fb3854be.js} +18 -18
- package/{iframe-widget-b32de96e.js → iframe-widget-358a56bf.js} +18 -18
- package/{image-editor-21163e0b.js → image-editor-4a5c9ed6.js} +19 -19
- package/{image-widget-12d98d45.js → image-widget-66b1c669.js} +18 -18
- package/{index-38c00fbc.js → index-0e65974c.js} +16 -16
- package/index-107a3894.js +1467 -0
- package/{index-959d6efa.js → index-1ee2f174.js} +7 -7
- package/{index-a478c2e7.js → index-248bd3df.js} +1 -1
- package/{index-f6520dd3.js → index-3088e76c.js} +7 -7
- package/{index-7d07fba5.js → index-30b511fd.js} +7 -7
- package/{index-afacc7ac.js → index-4766ae33.js} +29 -29
- package/index-4a64237d.js +870 -0
- package/{index-6af24cf7.js → index-52f53019.js} +7 -7
- package/{index-4c9a80f1.js → index-5648964f.js} +38 -38
- package/{index-cf5a8033.js → index-611b7b4b.js} +10 -10
- package/{index-997fb51b.js → index-7320db7e.js} +166 -163
- package/{index-028b1176.js → index-84a16201.js} +9 -9
- package/{index-162c82eb.js → index-889f2fc0.js} +39 -39
- package/{index-94e91998.js → index-8a3236b2.js} +12 -12
- package/{index-a288480d.js → index-8d6fe012.js} +1 -1
- package/{index-05fbd4a9.js → index-9ef531cd.js} +1 -1
- package/{index-fddc16f2.js → index-af3f4153.js} +9 -9
- package/{index-31d4689e.js → index-af5c0884.js} +16 -16
- package/index-d5241bd7.js +242 -0
- package/{index-48b0f175.js → index-d8e0ed85.js} +10 -10
- package/{index-250b2fdf.js → index-df442420.js} +39 -39
- package/{index-6a46780f.js → index-e5c99809.js} +21 -21
- package/{index-3af77c3e.js → index-f7eb164a.js} +19 -18
- package/{index-ef9c5199.js → index-fa269049.js} +18 -18
- package/{index-75b5cbca.js → index-fa714788.js} +1 -1
- package/{input-number-widget-7912566e.js → input-number-widget-7f651c00.js} +20 -20
- package/{input-widget-a053d771.js → input-widget-91b3ca9a.js} +21 -21
- package/{install-designer-ffdc6604.js → install-designer-f95263aa.js} +30 -30
- package/{item-0a830f16.js → item-3b88da95.js} +3 -3
- package/{itemDetail-0b182e79.js → itemDetail-355cef42.js} +3 -3
- package/{label-wrapper-a18db542.js → label-wrapper-305485ce.js} +6 -6
- package/{label-wrapper.vue_vue_type_style_index_0_lang-cb9db45f.js → label-wrapper.vue_vue_type_style_index_0_lang-8a9fd406.js} +10 -10
- package/{link-widget-401a61c6.js → link-widget-f0792335.js} +21 -21
- package/{ltable-col-widget-3188ab41.js → ltable-col-widget-ad818dfe.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-aaf4c6cb.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-5b8caff0.js} +9 -9
- package/{ltable-widget-92e9ba45.js → ltable-widget-20e55799.js} +5 -5
- package/{menu-widget-e6cf7d1f.js → menu-widget-e9c7af23.js} +36 -36
- package/{model-widget-c157b880.js → model-widget-8e7ebc05.js} +18 -18
- package/multirow-ed75c309.js +180 -0
- package/multirow-widget-c3f15bae.js +727 -0
- package/{name-editor-e7b98f0a.js → name-editor-f60298da.js} +26 -26
- package/{obj-a84ba092.js → obj-e8c00997.js} +87 -81
- package/{optionItem-8a3f259b.js → optionItem-436df6a3.js} +9 -9
- package/package.json +1 -1
- package/{pagination-widget-90fb9166.js → pagination-widget-57fd3a20.js} +18 -18
- package/{picture-upload-widget-319169d6.js → picture-upload-widget-90c1584a.js} +21 -21
- package/{progress-widget-ea66978a.js → progress-widget-3e20d649.js} +19 -19
- package/{property-base-3a5ea738.js → property-base-43e7ce0a.js} +4 -4
- package/{qrcode-widget-1c0ac09c.js → qrcode-widget-1ce846a3.js} +18 -18
- package/{radio-widget-c427dc4e.js → radio-widget-8d40f75f.js} +20 -20
- package/{range-widget-b0a0ada9.js → range-widget-2e1dab13.js} +24 -24
- package/{rate-widget-1cd50c5e.js → rate-widget-e03b23c1.js} +20 -20
- package/{reg-editor.vue_vue_type_script_setup_true_lang-f78c902d.js → reg-editor.vue_vue_type_script_setup_true_lang-426b2d6f.js} +8 -8
- package/{result-widget-98c40549.js → result-widget-d9a32094.js} +19 -19
- package/{rich-editor-widget-7b853e3a.js → rich-editor-widget-1144b7bc.js} +20 -20
- package/{router-widget-3213e668.js → router-widget-dd71b70e.js} +18 -18
- package/{schemaData-4d95870e.js → schemaData-1ff52156.js} +21 -21
- package/{select-widget-ffc03a9d.js → select-widget-90c95fae.js} +20 -20
- package/{sfc-35ef8dcb.js → sfc-218f3b4e.js} +12 -12
- package/{sfcview-f5fa69a9.js → sfcview-fea46729.js} +10 -10
- package/{share-editor-7ac32fea.js → share-editor-7a7a0b42.js} +15 -15
- package/{share-event-6e531c9d.js → share-event-6a1f0d98.js} +2 -2
- package/{share-field-07fbaecb.js → share-field-9a05d968.js} +10 -10
- package/{share-file-b8105ea4.js → share-file-b41869e5.js} +7 -7
- package/{size-editor-f70dfe32.js → size-editor-328945d1.js} +20 -20
- package/{slider-widget-7fafea8a.js → slider-widget-28d88092.js} +20 -20
- package/{slot-88a8f707.js → slot-1856429f.js} +5 -5
- package/{static-text-widget-92904eff.js → static-text-widget-312efbc4.js} +19 -19
- package/{steps-widget-0f10fd51.js → steps-widget-f006016f.js} +18 -18
- package/{subMenu-widget-255ee516.js → subMenu-widget-63a38209.js} +9 -9
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-b5da28be.js → subMenu-widget.vue_vue_type_script_setup_true_lang-a77436a8.js} +3 -3
- package/{switch-widget-a09f0aa5.js → switch-widget-6bda6e34.js} +20 -20
- package/{tab-pane-widget-1c74537a.js → tab-pane-widget-4e9a1910.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-f8721f9f.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-39ebcc71.js} +5 -5
- package/table-col-widget-c9fcc3f2.js +27 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-42684361.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-cc8ae3fb.js} +7 -7
- package/{table-widget-d53e61ef.js → table-widget-bdfa9bb2.js} +35 -35
- package/{tabs-widget-6db3d58d.js → tabs-widget-3123fc1c.js} +8 -8
- package/{tag-widget-990ee87b.js → tag-widget-e6a8b880.js} +21 -21
- package/{target-code-b1525902.js → target-code-a33199e9.js} +9 -9
- package/{target-datasource-875a1068.js → target-datasource-79fa0ae3.js} +45 -45
- package/target-link-f5731c8c.js +149 -0
- package/{target-saveForm-e8b85c1f.js → target-saveForm-ecac24be.js} +39 -39
- package/{target-widget-40d31fc4.js → target-widget-12e46fcd.js} +2 -2
- package/{target-window-89c09bb4.js → target-window-b5488316.js} +14 -14
- package/{text-widget-7b6432a6.js → text-widget-d2653ca5.js} +21 -21
- package/{textarea-widget-954f63c4.js → textarea-widget-9d669e9a.js} +20 -20
- package/{time-picker-range-widget-6cc72898.js → time-picker-range-widget-c585dbb1.js} +20 -20
- package/{time-picker-widget-fcb42663.js → time-picker-widget-4e277f3d.js} +20 -20
- package/{time-select-widget-6879dc4c.js → time-select-widget-e63ca53f.js} +20 -20
- package/{tmpl-widget-cff6267b.js → tmpl-widget-1ddc65fe.js} +19 -19
- package/{tree-select-widget-3bc931c6.js → tree-select-widget-28e7997a.js} +20 -20
- package/{tree-widget-1361085d.js → tree-widget-1e0fd963.js} +18 -18
- package/{uuid-45249b4f.js → uuid-6819ca21.js} +1 -1
- package/{value-editor-983e4d5e.js → value-editor-6a769ac0.js} +24 -24
- package/{verifycode-widget-f0ce88fd.js → verifycode-widget-198c495e.js} +26 -26
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4191bdbc.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-5225db2c.js} +33 -33
- package/wrapper-widget-0a98605f.js +84 -0
- package/common-editor-25eb0b6b.js +0 -27
- package/default-slot-widget-34260aea.js +0 -30
- package/feedback-widget-91c3f2b8.js +0 -31
- package/index-50d28c01.js +0 -1391
- package/index-664c8c4c.js +0 -121
- package/index-f5593902.js +0 -843
- package/multirow-2f515b36.js +0 -179
- package/multirow-widget-a81da2f7.js +0 -708
- package/table-col-widget-587b9e2e.js +0 -27
- package/target-link-f30c4056.js +0 -136
- package/wrapper-widget-860d29df.js +0 -84
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as c, z as S, m as T, B as d } from "./obj-
|
|
1
|
+
import { i as c, z as S, m as T, B as d } from "./obj-e8c00997.js";
|
|
2
2
|
import { isRef as m, watch as b, isReactive as y, toRaw as C } from "vue";
|
|
3
3
|
var w = {
|
|
4
4
|
name: "zh-cn",
|
|
@@ -1261,9 +1261,12 @@ vars:页面设置中的全局变量`,
|
|
|
1261
1261
|
withQuery: "当前页参数",
|
|
1262
1262
|
windowTatget: "新页面",
|
|
1263
1263
|
dialogType: "操作按钮",
|
|
1264
|
+
modalType: "弹窗类型",
|
|
1264
1265
|
setQueryFn: "设置url参数",
|
|
1265
1266
|
encodeQuery: "url编码",
|
|
1266
1267
|
windowModal: "窗口形式",
|
|
1268
|
+
exterOptions: "组件参数",
|
|
1269
|
+
exterOptionsHelp: "支持json格式,具体参数名参照elementplus官网对应组件属性",
|
|
1267
1270
|
selectOnlyOneGroup: "单组选择",
|
|
1268
1271
|
showLimit: "显示条数限制",
|
|
1269
1272
|
onlyOneAddButton: "单添加按钮",
|
|
@@ -1604,7 +1607,10 @@ vars:页面设置中的全局变量`,
|
|
|
1604
1607
|
ComicSansMS: "漫画体",
|
|
1605
1608
|
TrebuchetMS: "特粗体",
|
|
1606
1609
|
Palatino: "帕拉提诺体",
|
|
1607
|
-
defaultState: "默认状态"
|
|
1610
|
+
defaultState: "默认状态",
|
|
1611
|
+
dialogTP: "弹窗式",
|
|
1612
|
+
drawerTP: "抽屉式",
|
|
1613
|
+
popoverTP: "提示式"
|
|
1608
1614
|
},
|
|
1609
1615
|
helper: {
|
|
1610
1616
|
CONCATENATE_func: "将多个字符串拼接合成一个文本字符串",
|
|
@@ -2110,6 +2116,11 @@ getSchemaDatas(schemaNames,data,progressFn):List`,
|
|
|
2110
2116
|
* @returns List,数据源查询结果,promise异步结果
|
|
2111
2117
|
*/
|
|
2112
2118
|
getSchemaDataObject(schemaNames,data,progressFn):Object`,
|
|
2119
|
+
getGlobalParams: `/**
|
|
2120
|
+
* 集成静态参数:url参数、cookie、数据源的变量参数、外部组件传参
|
|
2121
|
+
* @returns Object。{vars:Object,urlParams:Object,cookies:Object,compParams:Object}
|
|
2122
|
+
*/
|
|
2123
|
+
getGlobalParams():Object`,
|
|
2113
2124
|
addCssClass: `/**
|
|
2114
2125
|
* 添加样式类
|
|
2115
2126
|
* 如引用自全局css时,需现在全局设置中的css编辑添加此类,如
|
|
@@ -2716,10 +2727,10 @@ function V(e, t = !1) {
|
|
|
2716
2727
|
var a = Number(e);
|
|
2717
2728
|
return isNaN(a) ? t ? e : void 0 : a;
|
|
2718
2729
|
}
|
|
2719
|
-
const U = (e) => m(e) ? e == null ? void 0 : e.value : e,
|
|
2730
|
+
const U = (e) => m(e) ? e == null ? void 0 : e.value : e, G = (e) => R(p(e)), W = (e) => new Promise((t, a) => {
|
|
2720
2731
|
if (S(e)) {
|
|
2721
|
-
e.then((
|
|
2722
|
-
t(s(
|
|
2732
|
+
e.then((n) => {
|
|
2733
|
+
t(s(n));
|
|
2723
2734
|
});
|
|
2724
2735
|
return;
|
|
2725
2736
|
}
|
|
@@ -2728,14 +2739,14 @@ const U = (e) => m(e) ? e == null ? void 0 : e.value : e, W = (e) => R(p(e)), G
|
|
|
2728
2739
|
return;
|
|
2729
2740
|
}
|
|
2730
2741
|
let r = null;
|
|
2731
|
-
r = b(() => e == null ? void 0 : e.value, (
|
|
2732
|
-
if (
|
|
2742
|
+
r = b(() => e == null ? void 0 : e.value, (n) => {
|
|
2743
|
+
if (n != null) {
|
|
2733
2744
|
try {
|
|
2734
2745
|
r == null || r();
|
|
2735
|
-
} catch (
|
|
2736
|
-
console.log(
|
|
2746
|
+
} catch (o) {
|
|
2747
|
+
console.log(o);
|
|
2737
2748
|
}
|
|
2738
|
-
t(s(
|
|
2749
|
+
t(s(n));
|
|
2739
2750
|
}
|
|
2740
2751
|
}, { immediate: !0 });
|
|
2741
2752
|
});
|
|
@@ -2746,14 +2757,14 @@ function u(e, t = /* @__PURE__ */ new WeakMap()) {
|
|
|
2746
2757
|
return t.get(e);
|
|
2747
2758
|
const a = C(e) || e, r = Array.isArray(a) ? [] : {};
|
|
2748
2759
|
if (t.set(e, r), Array.isArray(a)) {
|
|
2749
|
-
for (let
|
|
2750
|
-
r[
|
|
2760
|
+
for (let o = 0; o < a.length; o++)
|
|
2761
|
+
r[o] = u(a[o], t);
|
|
2751
2762
|
return r;
|
|
2752
2763
|
}
|
|
2753
|
-
const
|
|
2754
|
-
for (const
|
|
2755
|
-
const h = a[
|
|
2756
|
-
r[
|
|
2764
|
+
const n = Reflect.ownKeys(a);
|
|
2765
|
+
for (const o of n) {
|
|
2766
|
+
const h = a[o];
|
|
2767
|
+
r[o] = u(h, t);
|
|
2757
2768
|
}
|
|
2758
2769
|
return r;
|
|
2759
2770
|
}
|
|
@@ -2847,14 +2858,14 @@ function P(e) {
|
|
|
2847
2858
|
locale: e.locale,
|
|
2848
2859
|
$st(t, a = !0, ...r) {
|
|
2849
2860
|
t = t == null ? void 0 : t.trim();
|
|
2850
|
-
let
|
|
2851
|
-
const
|
|
2852
|
-
return typeof
|
|
2861
|
+
let n = this.messages[this.locale.lang];
|
|
2862
|
+
const o = d(n, t);
|
|
2863
|
+
return typeof o == "function" ? o(...r) : o !== null ? o : a ? t : "";
|
|
2853
2864
|
},
|
|
2854
2865
|
$st2(t, a) {
|
|
2855
2866
|
let r = this.messages[this.locale.lang];
|
|
2856
|
-
const
|
|
2857
|
-
return
|
|
2867
|
+
const n = d(r, t);
|
|
2868
|
+
return n !== null ? n : this.$st(a);
|
|
2858
2869
|
},
|
|
2859
2870
|
setLang(t) {
|
|
2860
2871
|
this.locale.lang = t;
|
|
@@ -2881,14 +2892,14 @@ export {
|
|
|
2881
2892
|
p as d,
|
|
2882
2893
|
g as e,
|
|
2883
2894
|
R as f,
|
|
2884
|
-
|
|
2885
|
-
|
|
2895
|
+
j as g,
|
|
2896
|
+
U as h,
|
|
2886
2897
|
Y as i,
|
|
2887
2898
|
K as j,
|
|
2888
2899
|
J as k,
|
|
2889
2900
|
l,
|
|
2890
|
-
|
|
2901
|
+
G as r,
|
|
2891
2902
|
M as s,
|
|
2892
2903
|
H as t,
|
|
2893
|
-
|
|
2904
|
+
W as w
|
|
2894
2905
|
};
|
|
@@ -2,9 +2,9 @@ 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, g as Lr, i as ze, b as Vt, k as ue, l as Hr, m as Br, c as Et, e as $t, h as Fr } from "./obj-
|
|
6
|
-
import { d as er, a as tr, b as De, c as Qe, e as Ur, t as z, f as Te, h as Gr } from "./uuid-
|
|
7
|
-
import { l as Nt, a as i, B as u, b as Ce, d as Wr, f as rr, c as nr, t as Yt } from "./enum-type-
|
|
5
|
+
import { a as kt, g as Lr, i as ze, b as Vt, k as ue, l as Hr, m as Br, c as Et, e as $t, h as Fr } from "./obj-e8c00997.js";
|
|
6
|
+
import { d as er, a as tr, b as De, c as Qe, e as Ur, t as z, f as Te, h as Gr } from "./uuid-6819ca21.js";
|
|
7
|
+
import { l as Nt, a as i, B as u, b as Ce, d as Wr, f as rr, c as nr, t as Yt } from "./enum-type-8eed1126.js";
|
|
8
8
|
import { c as qt } from "./_commonjsHelpers-e7ea1525.js";
|
|
9
9
|
import { a as Q } from "./esprima-e8d15055.js";
|
|
10
10
|
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 || {}), Xr = /* @__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))(Xr || {}), jr = /* @__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))(jr || {}), 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,31 @@
|
|
|
1
|
+
import { _ as o } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-83070ad8.js";
|
|
2
|
+
import "vue";
|
|
3
|
+
import "./widget-base-4c2d6265.js";
|
|
4
|
+
import "./drag-wrapper-ae9ba6f4.js";
|
|
5
|
+
import "./obj-e8c00997.js";
|
|
6
|
+
import "./enum-type-8eed1126.js";
|
|
7
|
+
import "./baseImp-9f3fde4e.js";
|
|
8
|
+
import "./enum-type-8a51728f.js";
|
|
9
|
+
import "./expression-e467a9a1.js";
|
|
10
|
+
import "./source-map-b04aec4a.js";
|
|
11
|
+
import "./uuid-6819ca21.js";
|
|
12
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
|
+
import "./esprima-e8d15055.js";
|
|
14
|
+
import "./icon-6342f929.js";
|
|
15
|
+
import "./dialog-13620fb6.js";
|
|
16
|
+
import "element-plus";
|
|
17
|
+
import "./index-107a3894.js";
|
|
18
|
+
import "./optionItem-436df6a3.js";
|
|
19
|
+
import "./index-fa714788.js";
|
|
20
|
+
import "./slot-1856429f.js";
|
|
21
|
+
import "./index-9ef531cd.js";
|
|
22
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
23
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-5225db2c.js";
|
|
24
|
+
import "./index-248bd3df.js";
|
|
25
|
+
import "./fieldobj-db31be1f.js";
|
|
26
|
+
import "./share-field-9a05d968.js";
|
|
27
|
+
import "./emitter-c412e0ca.js";
|
|
28
|
+
import "./multirow-ed75c309.js";
|
|
29
|
+
export {
|
|
30
|
+
o as default
|
|
31
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as O, 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 { c as A } from "./share-field-
|
|
7
|
-
import { g as v } from "./slot-
|
|
3
|
+
import { D as o } from "./drag-wrapper-ae9ba6f4.js";
|
|
4
|
+
import { _ as T } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-5225db2c.js";
|
|
5
|
+
import { d as U, w as q } from "./expression-e467a9a1.js";
|
|
6
|
+
import { c as A } from "./share-field-9a05d968.js";
|
|
7
|
+
import { g as v } from "./slot-1856429f.js";
|
|
8
8
|
const G = O({ componentName: q.ContainerWidget }), ee = /* @__PURE__ */ O({
|
|
9
9
|
...G,
|
|
10
10
|
__name: "feedback-widget",
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { defineComponent as P, inject as
|
|
2
|
-
import { I as w } from "./property-base-
|
|
3
|
-
import { E as
|
|
4
|
-
import { d as
|
|
5
|
-
import { u as
|
|
6
|
-
import { d as
|
|
7
|
-
import {
|
|
8
|
-
import "./enum-type-
|
|
9
|
-
import "./baseImp-
|
|
1
|
+
import { defineComponent as P, inject as k, computed as y, resolveComponent as a, openBlock as r, createBlock as l, normalizeProps as E, guardReactiveProps as F, withCtx as s, createVNode as b, mergeProps as C, unref as p, isRef as d, createElementBlock as I, Fragment as B, renderList as L } from "vue";
|
|
2
|
+
import { I as w } from "./property-base-43e7ce0a.js";
|
|
3
|
+
import { E as x, O as N } from "./editor-wrapper-28106e15.js";
|
|
4
|
+
import { d as O } from "./expression-e467a9a1.js";
|
|
5
|
+
import { u as R } from "./share-editor-7a7a0b42.js";
|
|
6
|
+
import { d as U, e as W } from "./obj-e8c00997.js";
|
|
7
|
+
import { ak as $ } from "./enum-type-8a51728f.js";
|
|
8
|
+
import "./enum-type-8eed1126.js";
|
|
9
|
+
import "./baseImp-9f3fde4e.js";
|
|
10
10
|
import "./icon-6342f929.js";
|
|
11
|
-
import "./dialog-
|
|
11
|
+
import "./dialog-13620fb6.js";
|
|
12
12
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
|
-
import "./uuid-
|
|
13
|
+
import "./uuid-6819ca21.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./share-event-
|
|
16
|
-
import "./emitter-
|
|
17
|
-
import "./index-
|
|
18
|
-
import "./optionItem-
|
|
19
|
-
import "./index-
|
|
20
|
-
import "./index-
|
|
15
|
+
import "./share-event-6a1f0d98.js";
|
|
16
|
+
import "./emitter-c412e0ca.js";
|
|
17
|
+
import "./index-107a3894.js";
|
|
18
|
+
import "./optionItem-436df6a3.js";
|
|
19
|
+
import "./index-fa714788.js";
|
|
20
|
+
import "./index-248bd3df.js";
|
|
21
21
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
22
22
|
import "./source-map-b04aec4a.js";
|
|
23
23
|
import "./esprima-e8d15055.js";
|
|
@@ -25,15 +25,15 @@ const ie = /* @__PURE__ */ P({
|
|
|
25
25
|
__name: "field-editor",
|
|
26
26
|
props: { ...w },
|
|
27
27
|
setup(u) {
|
|
28
|
-
const m = u, i =
|
|
28
|
+
const m = u, i = k(O.serverFieldList), c = U(W(m.propConfig), { type: $.slot }), { propName: j, propValue: o } = R(m), f = y(() => {
|
|
29
29
|
var e;
|
|
30
30
|
return !((e = m.selectedWidget) == null ? void 0 : e.formItemFlag) || !i || i.length <= 0;
|
|
31
31
|
});
|
|
32
32
|
return (n, e) => {
|
|
33
33
|
const g = a("el-input"), _ = a("el-option"), V = a("el-select");
|
|
34
|
-
return r(), l(
|
|
34
|
+
return r(), l(x, E(F(n.$props)), {
|
|
35
35
|
slotEditor: s(() => [
|
|
36
|
-
|
|
36
|
+
b(N, C(n.$props, { "prop-config": p(c) }), {
|
|
37
37
|
specialEditor: s(() => [
|
|
38
38
|
p(f) ? (r(), l(g, {
|
|
39
39
|
key: 0,
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { defineComponent as B, shallowRef as ue, 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 L, resolveComponent as P, Fragment as C, createVNode as a, mergeProps as N, withCtx as o, toHandlers as Z, createSlots as ee, createElementVNode as r, createTextVNode as W, toDisplayString as c, createCommentVNode as u, renderList as ye, normalizeProps as he } from "vue";
|
|
2
|
-
import { a as p } from "./enum-type-
|
|
3
|
-
import { u as ge } from "./uuid-
|
|
2
|
+
import { a as p } from "./enum-type-8eed1126.js";
|
|
3
|
+
import { u as ge } from "./uuid-6819ca21.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-b41869e5.js";
|
|
6
|
+
import { f as b, w as fe } from "./expression-e467a9a1.js";
|
|
7
|
+
import we from "./form-item-wrapper-fdfa232e.js";
|
|
8
|
+
import { g as Ce } from "./slot-1856429f.js";
|
|
9
|
+
import { D as be } from "./drag-wrapper-ae9ba6f4.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 {
|
|
11
|
+
import { x as ae } from "./enum-type-8a51728f.js";
|
|
12
12
|
import { _ as xe } from "./_plugin-vue_export-helper-dad06003.js";
|
|
13
|
-
import "./obj-
|
|
13
|
+
import "./obj-e8c00997.js";
|
|
14
14
|
import "./widget-base-4c2d6265.js";
|
|
15
|
-
import "./share-field-
|
|
16
|
-
import "./emitter-
|
|
15
|
+
import "./share-field-9a05d968.js";
|
|
16
|
+
import "./emitter-c412e0ca.js";
|
|
17
17
|
import "./icon-6342f929.js";
|
|
18
|
-
import "./baseImp-
|
|
19
|
-
import "./dialog-
|
|
18
|
+
import "./baseImp-9f3fde4e.js";
|
|
19
|
+
import "./dialog-13620fb6.js";
|
|
20
20
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
21
21
|
import "element-plus";
|
|
22
|
-
import "./index-
|
|
23
|
-
import "./optionItem-
|
|
24
|
-
import "./index-
|
|
25
|
-
import "./multirow-
|
|
22
|
+
import "./index-107a3894.js";
|
|
23
|
+
import "./optionItem-436df6a3.js";
|
|
24
|
+
import "./index-fa714788.js";
|
|
25
|
+
import "./multirow-ed75c309.js";
|
|
26
26
|
import "./source-map-b04aec4a.js";
|
|
27
27
|
import "./esprima-e8d15055.js";
|
|
28
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
29
|
-
import "./index-
|
|
30
|
-
import "./fieldobj-
|
|
31
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
32
|
-
import "./index-
|
|
28
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-5225db2c.js";
|
|
29
|
+
import "./index-248bd3df.js";
|
|
30
|
+
import "./fieldobj-db31be1f.js";
|
|
31
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-8a9fd406.js";
|
|
32
|
+
import "./index-9ef531cd.js";
|
|
33
33
|
const Ue = {
|
|
34
34
|
class: "full-height full-width",
|
|
35
35
|
style: { overflow: "auto" }
|
|
@@ -43,15 +43,15 @@ const Ue = {
|
|
|
43
43
|
var x, f, y, h, U;
|
|
44
44
|
switch ((x = $.file) == null ? void 0 : x.type) {
|
|
45
45
|
case "application/pdf": {
|
|
46
|
-
m.value = V(() => import("./_pdf-
|
|
46
|
+
m.value = V(() => import("./_pdf-7ecd2054.js"));
|
|
47
47
|
break;
|
|
48
48
|
}
|
|
49
49
|
case "text/plain": {
|
|
50
|
-
m.value = V(() => import("./_txt-
|
|
50
|
+
m.value = V(() => import("./_txt-f9ebfdc7.js"));
|
|
51
51
|
break;
|
|
52
52
|
}
|
|
53
53
|
default: {
|
|
54
|
-
(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-
|
|
54
|
+
(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-10535eda.js"));
|
|
55
55
|
break;
|
|
56
56
|
}
|
|
57
57
|
}
|
|
@@ -1,26 +1,26 @@
|
|
|
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-5225db2c.js";
|
|
4
|
+
import { _ as v } from "./label-wrapper.vue_vue_type_style_index_0_lang-8a9fd406.js";
|
|
5
|
+
import { u as x } from "./fieldobj-db31be1f.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 "./obj-
|
|
10
|
-
import "./index-
|
|
11
|
-
import "./uuid-
|
|
12
|
-
import "./enum-type-
|
|
13
|
-
import "./optionItem-
|
|
14
|
-
import "./baseImp-
|
|
15
|
-
import "./expression-
|
|
8
|
+
import "./enum-type-8eed1126.js";
|
|
9
|
+
import "./obj-e8c00997.js";
|
|
10
|
+
import "./index-107a3894.js";
|
|
11
|
+
import "./uuid-6819ca21.js";
|
|
12
|
+
import "./enum-type-8a51728f.js";
|
|
13
|
+
import "./optionItem-436df6a3.js";
|
|
14
|
+
import "./baseImp-9f3fde4e.js";
|
|
15
|
+
import "./expression-e467a9a1.js";
|
|
16
16
|
import "./source-map-b04aec4a.js";
|
|
17
17
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
18
18
|
import "./esprima-e8d15055.js";
|
|
19
19
|
import "./icon-6342f929.js";
|
|
20
|
-
import "./dialog-
|
|
20
|
+
import "./dialog-13620fb6.js";
|
|
21
21
|
import "element-plus";
|
|
22
|
-
import "./index-
|
|
23
|
-
import "./index-
|
|
22
|
+
import "./index-fa714788.js";
|
|
23
|
+
import "./index-248bd3df.js";
|
|
24
24
|
const W = { class: "el-form-item__content" }, j = /* @__PURE__ */ F({
|
|
25
25
|
__name: "form-item-wrapper",
|
|
26
26
|
props: { ...O },
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { ref as oe, reactive as z, onMounted as
|
|
1
|
+
import { ref as oe, reactive as z, onMounted as ce, nextTick as Ne, defineComponent as fe, resolveComponent as Oe, resolveDirective as Se, openBlock as ne, createBlock as ae, mergeProps as K, unref as v, withCtx as ie, withDirectives as xe, toHandlers as Ee, withModifiers as Re, createVNode as ye } from "vue";
|
|
2
2
|
import { I as Me } 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 M, f as L, c as $e } from "./expression-
|
|
3
|
+
import { D as Ae } from "./drag-wrapper-ae9ba6f4.js";
|
|
4
|
+
import { _ as Pe } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-5225db2c.js";
|
|
5
|
+
import { w as U, a as le, b as M, f as L, c as $e } from "./expression-e467a9a1.js";
|
|
6
6
|
import { u as ke } from "./icon-6342f929.js";
|
|
7
|
-
import { u as Ie } from "./emitter-
|
|
8
|
-
import { i as Be, a as He } from "./enum-type-
|
|
9
|
-
import { $ as Te, B as qe } from "./baseImp-
|
|
10
|
-
import { f as ze } from "./index-
|
|
11
|
-
import { c as Ke, a as Ue, u as Ge } from "./share-field-
|
|
12
|
-
import { W as Je } from "./enum-type-
|
|
13
|
-
import { u as Qe } from "./multirow-
|
|
14
|
-
import { e as de, f as re, d as se, g as Xe, h as Ye, j as Ze } from "./obj-
|
|
15
|
-
import { F as et } from "./slot-
|
|
7
|
+
import { u as Ie } from "./emitter-c412e0ca.js";
|
|
8
|
+
import { i as Be, a as He } from "./enum-type-8eed1126.js";
|
|
9
|
+
import { $ as Te, B as qe } from "./baseImp-9f3fde4e.js";
|
|
10
|
+
import { f as ze } from "./index-107a3894.js";
|
|
11
|
+
import { c as Ke, a as Ue, u as Ge } from "./share-field-9a05d968.js";
|
|
12
|
+
import { W as Je } from "./enum-type-8a51728f.js";
|
|
13
|
+
import { u as Qe } from "./multirow-ed75c309.js";
|
|
14
|
+
import { e as de, f as re, d as se, g as Xe, h as Ye, j as Ze } from "./obj-e8c00997.js";
|
|
15
|
+
import { F as et } from "./slot-1856429f.js";
|
|
16
16
|
import { _ as tt } from "./_plugin-vue_export-helper-dad06003.js";
|
|
17
17
|
function ot(r) {
|
|
18
|
-
const N = r.widget,
|
|
18
|
+
const N = r.widget, f = r.designer, F = f == null ? void 0 : f.pageConfig, w = r == null ? void 0 : r.widgetList, O = oe({}), A = {}, { fieldModel: P, fieldName: $, fieldEditor: m, attrs: S, events: _, hasFieldOptions: x, exposed: b, fieldObj: E, watchOption: g, propResultOpt: h, extendAttrs: D } = Ke(r), { off$: W, on$: V, emit$: R, broadcast: j } = Ie();
|
|
19
19
|
var { instance: G } = ke();
|
|
20
|
-
const { setAllRefList: me } = Ue(O.value), J = { designState: r == null ? void 0 : r.designState, pageConfig: F, globalConfig: h == null ? void 0 : h.globalConfig }, { formModel: k, setData: ue, getData: y, clearData: Q } = Qe(
|
|
20
|
+
const { setAllRefList: me } = Ue(O.value), J = { designState: r == null ? void 0 : r.designState, pageConfig: F, globalConfig: h == null ? void 0 : h.globalConfig }, { formModel: k, setData: ue, getData: y, clearData: Q } = Qe(w, { ...J }), { handleFunc: I } = Ge({ options: F }, J), B = z({}), pe = () => {
|
|
21
21
|
W(L.fieldChange), V(L.fieldChange, (e) => {
|
|
22
|
-
Fe(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue),
|
|
22
|
+
Fe(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue), b == null || b.setValue(k), _e(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue);
|
|
23
23
|
});
|
|
24
24
|
}, ve = () => {
|
|
25
25
|
W(L.fieldValidation), V(L.fieldValidation, (e) => {
|
|
@@ -35,7 +35,7 @@ function ot(r) {
|
|
|
35
35
|
trigger: n.trigger,
|
|
36
36
|
validator: n.validator
|
|
37
37
|
}));
|
|
38
|
-
Object.assign(B, { [e == null ? void 0 : e.fieldName]: t }),
|
|
38
|
+
Object.assign(B, { [e == null ? void 0 : e.fieldName]: t }), S.value.rules = B;
|
|
39
39
|
});
|
|
40
40
|
}, H = oe(!1), T = z({}), q = z({}), X = (e) => {
|
|
41
41
|
re(q), se(q, e);
|
|
@@ -49,12 +49,12 @@ function ot(r) {
|
|
|
49
49
|
H.value = !1, re(T), X(y());
|
|
50
50
|
}, Fe = (e, t, o) => {
|
|
51
51
|
I(_.value.formDataChange, { field: { fieldName: e, newValue: t, oldValue: o }, formModel: k });
|
|
52
|
-
}, be = () => {
|
|
53
|
-
I(_.value.formCreated);
|
|
54
52
|
}, we = () => {
|
|
53
|
+
I(_.value.formCreated);
|
|
54
|
+
}, be = () => {
|
|
55
55
|
I(_.value.formMounted);
|
|
56
56
|
}, De = () => {
|
|
57
|
-
ge(), pe(), ve(),
|
|
57
|
+
ge(), pe(), ve(), we();
|
|
58
58
|
}, Ve = (e) => {
|
|
59
59
|
var t;
|
|
60
60
|
(t = m.value) == null || t.clearValidate(e);
|
|
@@ -68,8 +68,8 @@ function ot(r) {
|
|
|
68
68
|
var n = e[s], d = n == null ? void 0 : n.filter((l) => (l == null ? void 0 : l.force) === t);
|
|
69
69
|
d == null || d.forEach((l) => {
|
|
70
70
|
var a;
|
|
71
|
-
const
|
|
72
|
-
l.message && o.push($e(
|
|
71
|
+
const c = (a = l == null ? void 0 : l.rule) == null ? void 0 : a.label;
|
|
72
|
+
l.message && o.push($e(c ? "【" + c + "】" : "", l.message, ":"));
|
|
73
73
|
});
|
|
74
74
|
}
|
|
75
75
|
return Xe(o);
|
|
@@ -82,13 +82,13 @@ function ot(r) {
|
|
|
82
82
|
}, je = (e = !0) => {
|
|
83
83
|
var d, s, l;
|
|
84
84
|
let t = y(), o = function() {
|
|
85
|
-
}, n = new Promise(function(
|
|
85
|
+
}, n = new Promise(function(c, a) {
|
|
86
86
|
o = function(u, i) {
|
|
87
|
-
(i ? a :
|
|
87
|
+
(i ? a : c)({ data: u, isSuccess: !i, message: i });
|
|
88
88
|
};
|
|
89
89
|
});
|
|
90
|
-
return !((d = m.value) != null && d.validate) || !e ? (o(t), n) : ((l = (s = m.value) == null ? void 0 : s.validate) == null || l.call(s, (
|
|
91
|
-
if (
|
|
90
|
+
return !((d = m.value) != null && d.validate) || !e ? (o(t), n) : ((l = (s = m.value) == null ? void 0 : s.validate) == null || l.call(s, (c, a) => {
|
|
91
|
+
if (c)
|
|
92
92
|
o(t);
|
|
93
93
|
else {
|
|
94
94
|
var u = Y(a, !0);
|
|
@@ -124,34 +124,34 @@ function ot(r) {
|
|
|
124
124
|
}, s = () => {
|
|
125
125
|
g(e, M.editDataSource, void 0, (a, u) => {
|
|
126
126
|
var p, C;
|
|
127
|
-
if (((C = (p = D.value) == null ? void 0 : p.needFormAdd) == null ? void 0 : C.call(p, a)) &&
|
|
127
|
+
if (((C = (p = D.value) == null ? void 0 : p.needFormAdd) == null ? void 0 : C.call(p, a)) && c) {
|
|
128
128
|
d();
|
|
129
129
|
return;
|
|
130
130
|
}
|
|
131
131
|
n(a, !1);
|
|
132
132
|
});
|
|
133
|
-
}, l =
|
|
134
|
-
l ? s() :
|
|
133
|
+
}, l = x(M.editDataSource), c = x(M.newDataSource);
|
|
134
|
+
l ? s() : c && d();
|
|
135
135
|
});
|
|
136
|
-
return De(),
|
|
137
|
-
Be(),
|
|
136
|
+
return De(), ce(() => {
|
|
137
|
+
Be(), be();
|
|
138
138
|
}), {
|
|
139
139
|
widgetRefList: O,
|
|
140
140
|
allWidgetRefList: A,
|
|
141
141
|
fieldEditor: m,
|
|
142
142
|
formModel: k,
|
|
143
143
|
pageConfig: F,
|
|
144
|
-
widgetList:
|
|
144
|
+
widgetList: w,
|
|
145
145
|
fieldModel: P,
|
|
146
146
|
fieldName: $,
|
|
147
|
-
attrs:
|
|
147
|
+
attrs: S,
|
|
148
148
|
extendAttrs: D,
|
|
149
149
|
events: _,
|
|
150
150
|
rules: B,
|
|
151
151
|
loadData: ee,
|
|
152
152
|
clearData: Q,
|
|
153
153
|
exposed: {
|
|
154
|
-
...
|
|
154
|
+
...b,
|
|
155
155
|
setValue: Z,
|
|
156
156
|
getValue: je,
|
|
157
157
|
resetField: Le,
|
|
@@ -163,39 +163,39 @@ function ot(r) {
|
|
|
163
163
|
getChangeRecord: he,
|
|
164
164
|
emit$: R
|
|
165
165
|
},
|
|
166
|
-
fieldObj:
|
|
166
|
+
fieldObj: E
|
|
167
167
|
};
|
|
168
168
|
}
|
|
169
|
-
const nt =
|
|
169
|
+
const nt = fe({ componentName: U.ContainerWidget }), at = /* @__PURE__ */ fe({
|
|
170
170
|
...nt,
|
|
171
171
|
__name: "form-widget",
|
|
172
172
|
props: { ...Me },
|
|
173
173
|
setup(r, { expose: N }) {
|
|
174
|
-
var
|
|
175
|
-
const
|
|
174
|
+
var E;
|
|
175
|
+
const f = r, { exposed: F, formModel: w, fieldEditor: O, attrs: A, events: P, widgetRefList: $, extendAttrs: m, fieldName: S, fieldObj: _, loadData: x } = ot({ ...f, widgetList: (E = f == null ? void 0 : f.widget) == null ? void 0 : E.widgetList }), b = S.value;
|
|
176
176
|
return et.globalProvide({
|
|
177
|
-
globalFormName:
|
|
178
|
-
globalDataModel:
|
|
179
|
-
}),
|
|
177
|
+
globalFormName: b,
|
|
178
|
+
globalDataModel: w
|
|
179
|
+
}), ce(() => {
|
|
180
180
|
var g;
|
|
181
|
-
(g = m.value) != null && g.loadDataWhenInit && !
|
|
181
|
+
(g = m.value) != null && g.loadDataWhenInit && !f.designState && x(!0).then((h) => {
|
|
182
182
|
}).catch((h) => {
|
|
183
183
|
}).finally(() => {
|
|
184
184
|
F.clearChangeRecord();
|
|
185
185
|
});
|
|
186
186
|
}), N({ ...F }), (g, h) => {
|
|
187
|
-
const D = Oe("el-form"), W =
|
|
187
|
+
const D = Oe("el-form"), W = Se("loading");
|
|
188
188
|
return ne(), ae(Pe, K(g.$props, {
|
|
189
189
|
"prop-options": { fieldObj: v(_) }
|
|
190
190
|
}), {
|
|
191
191
|
default: ie(({ data: V }) => {
|
|
192
192
|
var R, j;
|
|
193
193
|
return [
|
|
194
|
-
|
|
194
|
+
xe((ne(), ae(D, K({
|
|
195
195
|
ref_key: "fieldEditor",
|
|
196
196
|
ref: O,
|
|
197
|
-
model: v(
|
|
198
|
-
}, v(A),
|
|
197
|
+
model: v(w)
|
|
198
|
+
}, v(A), Ee(v(P)), {
|
|
199
199
|
class: V.injectClass,
|
|
200
200
|
key: (R = v(_)) == null ? void 0 : R.fieldKey,
|
|
201
201
|
"element-loading-text": v(m).loadingText,
|
|
@@ -204,8 +204,8 @@ const nt = ce({ componentName: U.ContainerWidget }), at = /* @__PURE__ */ ce({
|
|
|
204
204
|
}), {
|
|
205
205
|
default: ie(() => [
|
|
206
206
|
ye(Ae, K(g.$props, {
|
|
207
|
-
dragClass: "formDrag",
|
|
208
|
-
model: v(
|
|
207
|
+
dragClass: "formDrag padSize",
|
|
208
|
+
model: v(w),
|
|
209
209
|
provideModel: !0,
|
|
210
210
|
"component-class": V.componentWrapperClass,
|
|
211
211
|
refList: v($)
|
|
@@ -222,10 +222,10 @@ const nt = ce({ componentName: U.ContainerWidget }), at = /* @__PURE__ */ ce({
|
|
|
222
222
|
};
|
|
223
223
|
}
|
|
224
224
|
});
|
|
225
|
-
const it = /* @__PURE__ */ tt(at, [["__scopeId", "data-v-
|
|
225
|
+
const it = /* @__PURE__ */ tt(at, [["__scopeId", "data-v-0764c56d"]]), bt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
226
226
|
__proto__: null,
|
|
227
227
|
default: it
|
|
228
228
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
229
229
|
export {
|
|
230
|
-
|
|
230
|
+
bt as _
|
|
231
231
|
};
|
|
@@ -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-7206e559.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 k } from "vue";
|
|
2
|
-
import { w as x } from "./expression-
|
|
2
|
+
import { w as x } from "./expression-e467a9a1.js";
|
|
3
3
|
import { I as A } from "./widget-base-4c2d6265.js";
|
|
4
|
-
import { D as b } from "./drag-wrapper-
|
|
5
|
-
import { _ as j } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
6
|
-
import { c as H } from "./share-field-
|
|
7
|
-
import { c as $ } from "./slot-
|
|
4
|
+
import { D as b } from "./drag-wrapper-ae9ba6f4.js";
|
|
5
|
+
import { _ as j } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-5225db2c.js";
|
|
6
|
+
import { c as H } from "./share-field-9a05d968.js";
|
|
7
|
+
import { c as $ } from "./slot-1856429f.js";
|
|
8
8
|
const z = m({ componentName: x.ContainerWidget }), V = /* @__PURE__ */ m({
|
|
9
9
|
...z,
|
|
10
10
|
__name: "grid-col-widget",
|