hldesigner 0.0.171 → 0.0.173
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-6a3901a6.js → _pdf-57f5e602.js} +14 -14
- package/{_share_image-9f47efb1.js → _share_image-875fb4c9.js} +2 -2
- package/{_share_size.vue_vue_type_script_setup_true_lang-1c0f84b7.js → _share_size.vue_vue_type_script_setup_true_lang-ba8a619a.js} +3 -3
- package/{_txt-df9aea5e.js → _txt-c64b4a51.js} +14 -14
- package/{_unsupport-17daf941.js → _unsupport-184b69b4.js} +1 -1
- package/{affix-widget-64bcbf56.js → affix-widget-5c1df22f.js} +19 -19
- package/{alert-widget-21e27e57.js → alert-widget-138d340e.js} +19 -19
- package/{anchor-widget-d977d9d7.js → anchor-widget-9251ce93.js} +16 -16
- package/{auto-complete-widget-6201faf1.js → auto-complete-widget-7a0a0283.js} +19 -19
- package/{avatar-widget-c642bf9f.js → avatar-widget-c367793d.js} +19 -19
- package/{backtop-widget-6608dc47.js → backtop-widget-06c20126.js} +19 -19
- package/{badge-widget-3bea9b03.js → badge-widget-45cd9ab6.js} +19 -19
- package/{barcode-widget-bae6d5f3.js → barcode-widget-91b664f0.js} +16 -16
- package/{baseImp-0bb4caf0.js → baseImp-2d4cb07b.js} +5 -5
- package/{breadcrumb-widget-cafdb279.js → breadcrumb-widget-a250095f.js} +16 -16
- package/{button-widget-f489f5af.js → button-widget-78f58b0c.js} +19 -19
- package/{cache-widget-46f00969.js → cache-widget-17fd9347.js} +18 -18
- package/{card-widget-39cc4568.js → card-widget-f5bc73e3.js} +17 -17
- package/{carousel-widget-bca813c3.js → carousel-widget-dc53d2b6.js} +17 -17
- package/{cascader-widget-dd74bb6f.js → cascader-widget-1364fed3.js} +18 -18
- package/{chart-widget-5a21d40a.js → chart-widget-d4e24444.js} +16 -16
- package/{checkbox-widget-1c887391.js → checkbox-widget-73ce0862.js} +18 -18
- package/{collapse-widget-49cc3c1f.js → collapse-widget-c3c956dd.js} +17 -17
- package/{color-picker-widget-db625ad6.js → color-picker-widget-580e3df1.js} +18 -18
- package/common-editor-9093052c.js +26 -0
- package/{common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-302a9a97.js → common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-e14985a3.js} +2 -2
- package/{configItem-9979da42.js → configItem-6ed6c531.js} +35 -35
- package/{cont-cell-widget-8faaaa20.js → cont-cell-widget-5fa7dd42.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-53d03866.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-9989b474.js} +5 -5
- package/{cont-widget-b899d004.js → cont-widget-5af1cd2c.js} +5 -5
- package/{content-wrapper-c68c9a08.js → content-wrapper-ba91ba25.js} +6 -6
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-7744c194.js → content-wrapper.vue_vue_type_script_setup_true_lang-47ae8619.js} +3 -3
- package/{css-editor-29fd8154.js → css-editor-35277bc8.js} +18 -18
- package/{cssIndex-02a77ff8.js → cssIndex-1e52ec10.js} +3 -3
- package/{customClass-editor-b5ea61a0.js → customClass-editor-38128886.js} +18 -18
- package/{date-picker-range-widget-fb5f40da.js → date-picker-range-widget-8e88eeba.js} +18 -18
- package/{date-picker-widget-f512181c.js → date-picker-widget-f91bb820.js} +18 -18
- package/default-slot-widget-7743f697.js +29 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-197f0d6f.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-d4aa3dd8.js} +7 -7
- package/{descriptions-widget-2dfe2278.js → descriptions-widget-efe557f6.js} +17 -17
- package/designer.es.js +33 -33
- package/designer.style.css +1 -1
- package/designer.umd.js +401 -401
- package/{dialog-32c05d2c.js → dialog-fceb6336.js} +9 -8
- package/{dialog-widget-3e971b6f.js → dialog-widget-912299e9.js} +18 -18
- package/{divider-widget-21f2c9b8.js → divider-widget-634c1bfa.js} +19 -19
- package/{drag-wrapper-01d7b1e2.js → drag-wrapper-dcf4513e.js} +6 -6
- package/{drawer-widget-7819a515.js → drawer-widget-aa534b6e.js} +18 -18
- package/{dropdown-widget-2f505daa.js → dropdown-widget-a4059675.js} +17 -17
- package/editor-wrapper-b2da5678.js +800 -0
- package/{emitter-21ef82ac.js → emitter-6aaaebac.js} +1 -1
- package/{empty-widget-e13a40a2.js → empty-widget-90eaf906.js} +19 -19
- package/{enum-type-bd753230.js → enum-type-52034024.js} +13 -12
- package/{enum-type-ac304504.js → enum-type-7d95ce29.js} +2 -2
- package/{expression-f94b1543.js → expression-7c55599f.js} +1 -1
- package/feedback-widget-6cde6bec.js +30 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-11346588.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-b25457d8.js} +5 -5
- package/{field-editor-1709dab1.js → field-editor-5b781d95.js} +19 -19
- package/{fieldobj-6af1e5bf.js → fieldobj-f3708356.js} +1 -1
- package/{file-upload-widget-4bac6724.js → file-upload-widget-4b44b20f.js} +53 -53
- package/{form-item-wrapper-bc49eaa1.js → form-item-wrapper-7fcf6783.js} +12 -12
- package/{form-widget-21f30b79.js → form-widget-8511e2be.js} +28 -28
- package/{grid-col-widget-adb2e5d4.js → grid-col-widget-5c908f97.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-ac972087.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-944bd3c3.js} +5 -5
- package/{grid-widget-080d2896.js → grid-widget-2c51c355.js} +5 -5
- package/{html-text-widget-ee957738.js → html-text-widget-8176798a.js} +17 -17
- package/{icon-widget-e165a88a.js → icon-widget-ea4f3cf8.js} +16 -16
- package/{iframe-widget-a8feab7b.js → iframe-widget-804ea91b.js} +16 -16
- package/{image-editor-cecfd8b3.js → image-editor-28f4ec1f.js} +19 -19
- package/{image-widget-92c841b4.js → image-widget-35f38830.js} +16 -16
- package/{index-ce343297.js → index-00822503.js} +1 -1
- package/{index-867bb89e.js → index-04a916c2.js} +39 -39
- package/{index-2201504d.js → index-1e244797.js} +36 -36
- package/{index-a29f53c7.js → index-29fdfa66.js} +16 -16
- package/{index-9bf285eb.js → index-32330d84.js} +14 -14
- package/{index-2fd9fd35.js → index-35e51b18.js} +8 -8
- package/{index-b78a315c.js → index-4bf6320a.js} +36 -36
- package/{index-cff83b18.js → index-5a576b65.js} +1 -1
- package/{index-ce2401bd.js → index-61f0771c.js} +15 -15
- package/index-6cfb57ad.js +113 -0
- package/{index-8db4f0b7.js → index-729f3c02.js} +78 -78
- package/{index-89975875.js → index-7434dce3.js} +21 -21
- package/{index-60e383ad.js → index-776da03f.js} +7 -7
- package/{index-bcd39331.js → index-7933136e.js} +5 -5
- package/{index-b0a75e4a.js → index-834c77cc.js} +5 -5
- package/{index-f762e11c.js → index-95d44359.js} +23 -23
- package/{index-596decf4.js → index-97c9d975.js} +103 -103
- package/{index-53e13cc7.js → index-b8cbba4a.js} +8 -8
- package/{index-798dd2df.js → index-c4e90652.js} +34 -32
- package/{index-59b18dd1.js → index-ca453e47.js} +7 -7
- package/index-ce31c00b.js +43 -0
- package/{index-e15275c3.js → index-d97659d7.js} +7 -7
- package/{index-ba3c572d.js → index-e07cbde6.js} +5 -5
- package/{index-c9cc7b0c.js → index-e3ac08f3.js} +5 -5
- package/index-ebd8128b.js +42 -0
- package/{index-d450b82c.js → index-eec8ef85.js} +1 -1
- package/{input-number-widget-4d8ffe85.js → input-number-widget-0463c50a.js} +18 -18
- package/{input-widget-a604030f.js → input-widget-fe71e01e.js} +19 -19
- package/{install-designer-a9cd4727.js → install-designer-16d17237.js} +33 -28
- package/{item-284c9f6f.js → item-09666b1a.js} +2 -2
- package/{itemDetail-6e8db3b7.js → itemDetail-5c3b1535.js} +2 -2
- package/{label-wrapper-51609c14.js → label-wrapper-095216e7.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-b14c0192.js → label-wrapper.vue_vue_type_style_index_0_lang-25b740ce.js} +3 -3
- package/{link-widget-2d4e3b58.js → link-widget-cb70457e.js} +19 -19
- package/{ltable-col-widget-cefb6bd5.js → ltable-col-widget-6c83eeb9.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-b8fb820c.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-00d8465d.js} +9 -9
- package/{ltable-widget-92d41a4d.js → ltable-widget-e7ddb64c.js} +5 -5
- package/{menu-widget-c37acf39.js → menu-widget-84ff5d95.js} +17 -17
- package/{model-widget-8f69e223.js → model-widget-65c0dd50.js} +16 -16
- package/{multirow-63cda10c.js → multirow-07e3d9fa.js} +8 -8
- package/{multirow-widget-bf9f7e01.js → multirow-widget-67ac8adb.js} +18 -18
- package/{name-editor-2c7c7318.js → name-editor-9bbaa9ca.js} +20 -20
- package/{optionItem-50d41373.js → optionItem-86cf1b42.js} +37 -30
- package/package.json +2 -2
- package/{pagination-widget-2760bd40.js → pagination-widget-2cd2bbbd.js} +16 -16
- package/{picture-upload-widget-5e9f7e7e.js → picture-upload-widget-6732342f.js} +39 -39
- package/{progress-widget-fddc06db.js → progress-widget-2f3a168c.js} +17 -17
- package/{property-base-f0d677ee.js → property-base-fc92bc24.js} +3 -3
- package/{propresult-4d35be3b.js → propresult-4ad53912.js} +1 -1
- package/{qrcode-widget-153ce193.js → qrcode-widget-182075db.js} +16 -16
- package/{radio-widget-af4c577e.js → radio-widget-ec982293.js} +18 -18
- package/{range-widget-0e30d4fc.js → range-widget-cd314b8b.js} +19 -19
- package/{rate-widget-501ef996.js → rate-widget-43d8e83b.js} +18 -18
- package/{reg-editor.vue_vue_type_script_setup_true_lang-acc38de0.js → reg-editor.vue_vue_type_script_setup_true_lang-25f37faa.js} +3 -3
- package/{result-widget-58763cb1.js → result-widget-be75d779.js} +17 -17
- package/{rich-editor-widget-46c4fda6.js → rich-editor-widget copy-6da68f54.js } +25 -25
- package/rich-editor-widget-b99da153.js +76 -0
- package/{router-widget-3fa49c2c.js → router-widget-7bd2c3f7.js} +16 -16
- package/{schemaData-15070e90.js → schemaData-ac08a73e.js} +17 -17
- package/{select-widget-3f1f285c.js → select-widget-f98400cf.js} +18 -18
- package/{sfc-5169d8e0.js → sfc-7e9ef2bb.js} +10 -10
- package/{sfcview-23bac484.js → sfcview-fd785414.js} +8 -8
- package/{share-editor-0c763b5a.js → share-editor-4c6044b6.js} +65 -65
- package/{share-event-8058bcca.js → share-event-a28ca248.js} +2 -2
- package/{share-field-639cbbc5.js → share-field-3d5425a3.js} +8 -8
- package/{share-file-6c20d2a6.js → share-file-def52a8c.js} +5 -5
- package/{size-editor-a4522fb8.js → size-editor-4cdec921.js} +21 -21
- package/{slider-widget-1b556f75.js → slider-widget-73256415.js} +18 -18
- package/{slot-b5de9db6.js → slot-2fd03e98.js} +8 -8
- package/{static-text-widget-a7e43b12.js → static-text-widget-7c7d0a3b.js} +17 -17
- package/{steps-widget-c96d73bc.js → steps-widget-2413d1a9.js} +16 -16
- package/{subMenu-widget-4a877740.js → subMenu-widget-47fd0301.js} +7 -7
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-d1519ee9.js → subMenu-widget.vue_vue_type_script_setup_true_lang-ff3d7fe3.js} +3 -3
- package/{switch-widget-93cd812c.js → switch-widget-7195727d.js} +18 -18
- package/{tab-pane-widget-e788dcd3.js → tab-pane-widget-ce61101a.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-7887c8f7.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-72ddb3e0.js} +5 -5
- package/table-col-widget-10734982.js +26 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-8d782c08.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-562344b5.js} +5 -5
- package/{table-widget-f872a7f8.js → table-widget-302dfdf2.js} +19 -19
- package/{tabs-widget-9415f449.js → tabs-widget-db36f2ef.js} +7 -7
- package/{tag-widget-f06db3bd.js → tag-widget-acb57bfc.js} +19 -19
- package/{target-code-f086f044.js → target-code-d19d8502.js} +7 -7
- package/{target-datasource-fae18460.js → target-datasource-f3686e1a.js} +48 -48
- package/{target-link-a73105fe.js → target-link-0e84fdd3.js} +36 -36
- package/{target-saveForm-ca148cb5.js → target-saveForm-f5a7a2f1.js} +36 -36
- package/{target-widget-865c2f48.js → target-widget-ded5e568.js} +1 -1
- package/{target-window-43a33f8c.js → target-window-168d7d51.js} +8 -8
- package/{text-widget-4ce5b6fb.js → text-widget-8a6e25e7.js} +19 -19
- package/{textarea-widget-7ea87efc.js → textarea-widget-bd24ab12.js} +18 -18
- package/{time-picker-range-widget-6994f6e5.js → time-picker-range-widget-4ad7d320.js} +21 -21
- package/{time-picker-widget-1c31f465.js → time-picker-widget-cad5bd47.js} +18 -18
- package/{time-select-widget-e6298570.js → time-select-widget-e09ce437.js} +18 -18
- package/{tmpl-widget-18b87b9e.js → tmpl-widget-ec6da9f9.js} +17 -17
- package/{tree-select-widget-a23aff77.js → tree-select-widget-7c62c0d7.js} +18 -18
- package/{tree-widget-3ac4175d.js → tree-widget-c144be1a.js} +16 -16
- package/{value-editor-d099f5b8.js → value-editor-6e23c02b.js} +19 -19
- package/{verifycode-widget-d1d3b279.js → verifycode-widget-db162b32.js} +16 -16
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-e3e6139c.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-96674260.js} +7 -7
- package/{wrapper-widget-b57193fb.js → wrapper-widget-21ce43a8.js} +6 -6
- package/common-editor-de05c14d.js +0 -26
- package/default-slot-widget-e8f17d02.js +0 -29
- package/editor-wrapper-d6561c53.js +0 -787
- package/feedback-widget-30fab14c.js +0 -30
- package/index-b1170a9c.js +0 -99
- package/table-col-widget-e8748655.js +0 -26
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { defineComponent as u, computed as d, shallowRef as H, onMounted as V, openBlock as s, createBlock as a, mergeProps as c, unref as e, withCtx as b, createElementVNode as j, normalizeClass as x, normalizeStyle as I, resolveDynamicComponent as M, isRef as W, toHandlers as z } from "vue";
|
|
2
|
+
import { c as B } from "./share-field-3d5425a3.js";
|
|
3
|
+
import { I as N } from "./field-base-5547436d.js";
|
|
4
|
+
import P from "./form-item-wrapper-7fcf6783.js";
|
|
5
|
+
import { w as R } from "./expression-7c55599f.js";
|
|
6
|
+
import { d as S, k as q } from "./enum-type-52034024.js";
|
|
7
|
+
import "./emitter-6aaaebac.js";
|
|
8
|
+
import "./icon-6342f929.js";
|
|
9
|
+
import "./baseImp-2d4cb07b.js";
|
|
10
|
+
import "./enum-type-7d95ce29.js";
|
|
11
|
+
import "./dialog-fceb6336.js";
|
|
12
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
|
+
import "./uuid-009aae31.js";
|
|
14
|
+
import "element-plus";
|
|
15
|
+
import "./slot-2fd03e98.js";
|
|
16
|
+
import "./index-00822503.js";
|
|
17
|
+
import "./index-04a916c2.js";
|
|
18
|
+
import "./optionItem-86cf1b42.js";
|
|
19
|
+
import "./index-eec8ef85.js";
|
|
20
|
+
import "./multirow-07e3d9fa.js";
|
|
21
|
+
import "./widget-base-4c2d6265.js";
|
|
22
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-96674260.js";
|
|
23
|
+
import "./index-5a576b65.js";
|
|
24
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
25
|
+
import "./fieldobj-f3708356.js";
|
|
26
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-25b740ce.js";
|
|
27
|
+
import "./source-map-b04aec4a.js";
|
|
28
|
+
import "./esprima-e8d15055.js";
|
|
29
|
+
const D = u({ componentName: R.FieldWidget }), he = /* @__PURE__ */ u({
|
|
30
|
+
...D,
|
|
31
|
+
__name: "rich-editor-widget",
|
|
32
|
+
props: { ...N },
|
|
33
|
+
setup(f, { expose: _ }) {
|
|
34
|
+
const h = f, { fieldEditor: g, fieldKey: y, fieldModel: l, rules: v, events: i, getFieldOptions: n, exposed: w, fieldObj: C } = B(h), E = d(() => n("contentHeight")), m = H(), O = () => {
|
|
35
|
+
import("./index-ebd8128b.js").then((t) => {
|
|
36
|
+
m.value = t.default;
|
|
37
|
+
});
|
|
38
|
+
}, k = S(q(i.value), {
|
|
39
|
+
change: (t) => {
|
|
40
|
+
var o, p;
|
|
41
|
+
const r = t == null ? void 0 : t.html;
|
|
42
|
+
(p = (o = i == null ? void 0 : i.value) == null ? void 0 : o.change) == null || p.call(o, r);
|
|
43
|
+
}
|
|
44
|
+
}), F = d(() => ({
|
|
45
|
+
disabled: n("disabled"),
|
|
46
|
+
placeholder: n("placeholder")
|
|
47
|
+
}));
|
|
48
|
+
return V(() => {
|
|
49
|
+
O();
|
|
50
|
+
}), _({ ...w }), (t, r) => (s(), a(P, c(t.$props, {
|
|
51
|
+
propOptions: { fieldObj: e(C), rules: e(v) }
|
|
52
|
+
}), {
|
|
53
|
+
default: b(({ data: o }) => [
|
|
54
|
+
j("div", {
|
|
55
|
+
class: x(["full-height", o.injectClass]),
|
|
56
|
+
style: I(o.injectStyle)
|
|
57
|
+
}, [
|
|
58
|
+
(s(), a(M(e(m)), c({
|
|
59
|
+
ref_key: "fieldEditor",
|
|
60
|
+
ref: g,
|
|
61
|
+
modelValue: e(l),
|
|
62
|
+
"onUpdate:modelValue": r[0] || (r[0] = (p) => W(l) ? l.value = p : null)
|
|
63
|
+
}, z(e(k)), {
|
|
64
|
+
key: e(y),
|
|
65
|
+
options: e(F),
|
|
66
|
+
contentHeight: e(E)
|
|
67
|
+
}), null, 16, ["modelValue", "options", "contentHeight"]))
|
|
68
|
+
], 6)
|
|
69
|
+
]),
|
|
70
|
+
_: 1
|
|
71
|
+
}, 16, ["propOptions"]));
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
export {
|
|
75
|
+
he as default
|
|
76
|
+
};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { defineComponent as m, resolveComponent as u, openBlock as e, createBlock as i, mergeProps as g, unref as o, withCtx as p, createElementBlock as k, toDisplayString as w, createCommentVNode as y } from "vue";
|
|
2
|
-
import { c as b } from "./share-field-
|
|
2
|
+
import { c as b } from "./share-field-3d5425a3.js";
|
|
3
3
|
import { I as v } from "./field-base-5547436d.js";
|
|
4
|
-
import { _ as C } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { w as F } from "./expression-
|
|
6
|
-
import "./enum-type-
|
|
7
|
-
import "./emitter-
|
|
4
|
+
import { _ as C } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-96674260.js";
|
|
5
|
+
import { w as F } from "./expression-7c55599f.js";
|
|
6
|
+
import "./enum-type-52034024.js";
|
|
7
|
+
import "./emitter-6aaaebac.js";
|
|
8
8
|
import "./icon-6342f929.js";
|
|
9
|
-
import "./baseImp-
|
|
10
|
-
import "./enum-type-
|
|
11
|
-
import "./dialog-
|
|
9
|
+
import "./baseImp-2d4cb07b.js";
|
|
10
|
+
import "./enum-type-7d95ce29.js";
|
|
11
|
+
import "./dialog-fceb6336.js";
|
|
12
12
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
13
|
import "./uuid-009aae31.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./slot-
|
|
16
|
-
import "./index-
|
|
17
|
-
import "./index-
|
|
18
|
-
import "./optionItem-
|
|
19
|
-
import "./index-
|
|
20
|
-
import "./multirow-
|
|
15
|
+
import "./slot-2fd03e98.js";
|
|
16
|
+
import "./index-00822503.js";
|
|
17
|
+
import "./index-04a916c2.js";
|
|
18
|
+
import "./optionItem-86cf1b42.js";
|
|
19
|
+
import "./index-eec8ef85.js";
|
|
20
|
+
import "./multirow-07e3d9fa.js";
|
|
21
21
|
import "./widget-base-4c2d6265.js";
|
|
22
|
-
import "./index-
|
|
22
|
+
import "./index-5a576b65.js";
|
|
23
23
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
24
|
-
import "./fieldobj-
|
|
24
|
+
import "./fieldobj-f3708356.js";
|
|
25
25
|
import "./source-map-b04aec4a.js";
|
|
26
26
|
import "./esprima-e8d15055.js";
|
|
27
27
|
const h = { key: 0 }, B = m({ componentName: F.FieldWidget }), Z = /* @__PURE__ */ m({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as Se, useCssVars as we, unref as t, ref as r, watch as re, nextTick as Ee, shallowRef as De, computed as se, onMounted as Re, resolveComponent as g, openBlock as T, createElementBlock as $e, createVNode as a, withCtx as i, createElementVNode as c, mergeProps as He, createTextVNode as v, toDisplayString as _, createBlock as $, createCommentVNode as Ne, normalizeStyle as H, withDirectives as oe, vShow as ae, resolveDynamicComponent as ie, defineAsyncComponent as Pe } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { k as F, c as k, e as s, z as N, o as Me, N as Be, a1 as Ue } from "./enum-type-52034024.js";
|
|
3
3
|
import { ElTree as ce } from "element-plus";
|
|
4
4
|
import { Search as We } from "./index-ddd23411.js";
|
|
5
|
-
import { Q as ue, e as Ae, R as Ie, U as Je } from "./baseImp-
|
|
6
|
-
import { r as
|
|
7
|
-
import { u as
|
|
5
|
+
import { Q as ue, e as Ae, R as Ie, U as Je } from "./baseImp-2d4cb07b.js";
|
|
6
|
+
import { r as ze, x as Ke, H as Oe } from "./expression-7c55599f.js";
|
|
7
|
+
import { u as je, a as b, p as V } from "./setView-de8aaf40.js";
|
|
8
8
|
import { _ as Qe } from "./_plugin-vue_export-helper-dad06003.js";
|
|
9
9
|
const qe = { id: "schemaPage" }, Ge = { class: "varCell varCell1 cellRow" }, Xe = { class: "splitCell" }, Ye = { class: "card-tree" }, Ze = { class: "splitCell" }, el = { class: "card-search" }, ll = { class: "card-tree" }, tl = ["onMouseover"], nl = { class: "varCell1" }, rl = ["innerHTML"], sl = /* @__PURE__ */ Se({
|
|
10
10
|
__name: "schemaData",
|
|
@@ -31,7 +31,7 @@ const qe = { id: "schemaPage" }, Ge = { class: "varCell varCell1 cellRow" }, Xe
|
|
|
31
31
|
return e ? (n = l.label) == null ? void 0 : n.toLocaleLowerCase().includes(e == null ? void 0 : e.toLocaleLowerCase()) : !0;
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
|
-
const fe = F(k(d == null ? void 0 : d.allFields)), me = F(k(
|
|
34
|
+
const fe = F(k(d == null ? void 0 : d.allFields)), me = F(k(Oe)), B = (e) => {
|
|
35
35
|
var l;
|
|
36
36
|
return e ? (l = F(e)) == null ? void 0 : l.map((n) => ({
|
|
37
37
|
label: n.label,
|
|
@@ -62,7 +62,7 @@ const qe = { id: "schemaPage" }, Ge = { class: "varCell varCell1 cellRow" }, Xe
|
|
|
62
62
|
expression: e.name,
|
|
63
63
|
caller: `${N.schema}.${e.name}`,
|
|
64
64
|
exprType: "schema",
|
|
65
|
-
comment:
|
|
65
|
+
comment: ze(String(s.i18nt("designer.hint.variableExpression")), "@", e.name)
|
|
66
66
|
//String(i18n.i18nt('designer.hint.variableExpression'))?. replace(new RegExp('@',"gi"), m.name!)
|
|
67
67
|
}))
|
|
68
68
|
},
|
|
@@ -125,21 +125,21 @@ const qe = { id: "schemaPage" }, Ge = { class: "varCell varCell1 cellRow" }, Xe
|
|
|
125
125
|
}
|
|
126
126
|
}, J = r(), Ve = (e, l) => {
|
|
127
127
|
J.value = e == null ? void 0 : e.comment;
|
|
128
|
-
}, S = r(),
|
|
128
|
+
}, S = r(), z = r();
|
|
129
129
|
re(S, (e) => {
|
|
130
|
-
|
|
130
|
+
z.value.filter(e);
|
|
131
131
|
});
|
|
132
132
|
const x = r(), w = De(), xe = () => {
|
|
133
|
-
w.value = Pe(() => import("./index-
|
|
133
|
+
w.value = Pe(() => import("./index-e07cbde6.js"));
|
|
134
134
|
}, Ce = () => {
|
|
135
135
|
let e = {};
|
|
136
136
|
const l = Ue(fe, "children");
|
|
137
137
|
return l == null || l.forEach((n) => e[n.id] = n.label), e;
|
|
138
|
-
},
|
|
139
|
-
var l =
|
|
138
|
+
}, K = Je(), O = Ce(), j = (e) => {
|
|
139
|
+
var l = K.buildVariableWithLabel(e || "", O);
|
|
140
140
|
return l;
|
|
141
141
|
}, C = (e) => {
|
|
142
|
-
var l =
|
|
142
|
+
var l = K.removeVariableWithLabel(e || "", O);
|
|
143
143
|
return l;
|
|
144
144
|
}, Te = () => {
|
|
145
145
|
p.value = x.value;
|
|
@@ -163,7 +163,7 @@ const qe = { id: "schemaPage" }, Ge = { class: "varCell varCell1 cellRow" }, Xe
|
|
|
163
163
|
(e = x.value) == null || e.focus(1);
|
|
164
164
|
}, 1e3);
|
|
165
165
|
});
|
|
166
|
-
const { pageHeight: m, getComputedHeight: ke } =
|
|
166
|
+
const { pageHeight: m, getComputedHeight: ke } = je();
|
|
167
167
|
return ke("#schemaPage"), (e, l) => {
|
|
168
168
|
const n = g("el-input"), u = g("el-tag"), le = g("el-col"), D = g("el-alert"), Le = g("el-row");
|
|
169
169
|
return T(), $e("div", qe, [
|
|
@@ -199,7 +199,7 @@ const qe = { id: "schemaPage" }, Ge = { class: "varCell varCell1 cellRow" }, Xe
|
|
|
199
199
|
c("div", ll, [
|
|
200
200
|
a(t(ce), He({
|
|
201
201
|
ref_key: "varSourceRef",
|
|
202
|
-
ref:
|
|
202
|
+
ref: z,
|
|
203
203
|
data: I.value,
|
|
204
204
|
"highlight-current": "",
|
|
205
205
|
props: P,
|
|
@@ -266,7 +266,7 @@ const qe = { id: "schemaPage" }, Ge = { class: "varCell varCell1 cellRow" }, Xe
|
|
|
266
266
|
],
|
|
267
267
|
onFocused: Te,
|
|
268
268
|
gutters: !1,
|
|
269
|
-
"beatify-fn":
|
|
269
|
+
"beatify-fn": j,
|
|
270
270
|
"un-beatify-fn": C,
|
|
271
271
|
ref_key: "editorRef",
|
|
272
272
|
ref: x,
|
|
@@ -299,7 +299,7 @@ const qe = { id: "schemaPage" }, Ge = { class: "varCell varCell1 cellRow" }, Xe
|
|
|
299
299
|
ref_key: "paramRef",
|
|
300
300
|
ref: E,
|
|
301
301
|
gutters: !1,
|
|
302
|
-
"beatify-fn":
|
|
302
|
+
"beatify-fn": j,
|
|
303
303
|
"un-beatify-fn": C,
|
|
304
304
|
onFocused: Fe,
|
|
305
305
|
height: t(b)(t(V)(t(m)) * 0.42)
|
|
@@ -311,7 +311,7 @@ const qe = { id: "schemaPage" }, Ge = { class: "varCell varCell1 cellRow" }, Xe
|
|
|
311
311
|
}, {
|
|
312
312
|
default: i(() => [
|
|
313
313
|
c("div", {
|
|
314
|
-
innerHTML: t(
|
|
314
|
+
innerHTML: t(Ke)(J.value)
|
|
315
315
|
}, null, 8, rl)
|
|
316
316
|
]),
|
|
317
317
|
_: 1
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { defineComponent as ie, ref as S, computed as te, shallowRef as ue, watch as Fe, onMounted as we, resolveComponent as R, openBlock as u, createBlock as d, mergeProps as K, unref as e, withCtx as m, isRef as re, toHandlers as ne, createElementBlock as k, createVNode as ze, createTextVNode as Ne, toDisplayString as Se, createCommentVNode as V, Fragment as _, renderList as B, resolveDynamicComponent as j } from "vue";
|
|
2
|
-
import { t as O, c as oe, e as q } from "./enum-type-
|
|
3
|
-
import { c as Be } from "./baseImp-
|
|
4
|
-
import { c as Ee } from "./share-field-
|
|
2
|
+
import { t as O, c as oe, e as q } from "./enum-type-52034024.js";
|
|
3
|
+
import { c as Be } from "./baseImp-2d4cb07b.js";
|
|
4
|
+
import { c as Ee } from "./share-field-3d5425a3.js";
|
|
5
5
|
import { I as Pe } from "./field-base-5547436d.js";
|
|
6
|
-
import De from "./form-item-wrapper-
|
|
7
|
-
import { e as Le, w as Re } from "./expression-
|
|
8
|
-
import { d as se } from "./slot-
|
|
9
|
-
import "./enum-type-
|
|
6
|
+
import De from "./form-item-wrapper-7fcf6783.js";
|
|
7
|
+
import { e as Le, w as Re } from "./expression-7c55599f.js";
|
|
8
|
+
import { d as se } from "./slot-2fd03e98.js";
|
|
9
|
+
import "./enum-type-7d95ce29.js";
|
|
10
10
|
import "./icon-6342f929.js";
|
|
11
|
-
import "./dialog-
|
|
11
|
+
import "./dialog-fceb6336.js";
|
|
12
12
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
13
|
import "./uuid-009aae31.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./emitter-
|
|
16
|
-
import "./index-
|
|
17
|
-
import "./optionItem-
|
|
18
|
-
import "./index-
|
|
19
|
-
import "./multirow-
|
|
15
|
+
import "./emitter-6aaaebac.js";
|
|
16
|
+
import "./index-04a916c2.js";
|
|
17
|
+
import "./optionItem-86cf1b42.js";
|
|
18
|
+
import "./index-eec8ef85.js";
|
|
19
|
+
import "./multirow-07e3d9fa.js";
|
|
20
20
|
import "./widget-base-4c2d6265.js";
|
|
21
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
22
|
-
import "./index-
|
|
21
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-96674260.js";
|
|
22
|
+
import "./index-5a576b65.js";
|
|
23
23
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
24
|
-
import "./fieldobj-
|
|
25
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
24
|
+
import "./fieldobj-f3708356.js";
|
|
25
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-25b740ce.js";
|
|
26
26
|
import "./source-map-b04aec4a.js";
|
|
27
27
|
import "./esprima-e8d15055.js";
|
|
28
|
-
import "./index-
|
|
28
|
+
import "./index-00822503.js";
|
|
29
29
|
const Ue = {
|
|
30
30
|
key: 0,
|
|
31
31
|
class: "el-select-dropdown__item"
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
var qe = Object.defineProperty;
|
|
2
2
|
var Ve = (t, i, s) => i in t ? qe(t, i, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[i] = s;
|
|
3
3
|
var Y = (t, i, s) => (Ve(t, typeof i != "symbol" ? i + "" : i, s), s);
|
|
4
|
-
import { T as q, f as Fe, i as Wt, w as J, U as Bt, o as H, d as B, V as Xe,
|
|
5
|
-
import { B as w, P as M, D as ke, G as Je, H as Ye, J as Ze, b as gt, K as ti } from "./baseImp-
|
|
6
|
-
import { e as rt, q as F, s as _t, r as ei, v as Re } from "./expression-
|
|
7
|
-
import { d as R, e as ii, H as Yt, f as Zt, ah as si } from "./enum-type-
|
|
8
|
-
import { d as Se } from "./slot-
|
|
9
|
-
import { t as ni, n as Ae, o as Ce } from "./index-
|
|
4
|
+
import { T as q, f as Fe, i as Wt, w as J, U as Bt, o as H, d as B, V as Xe, j as mt, W as Ge, c as Kt, X as Qe, k as Ee, h as He } from "./enum-type-52034024.js";
|
|
5
|
+
import { B as w, P as M, D as ke, G as Je, H as Ye, J as Ze, b as gt, K as ti } from "./baseImp-2d4cb07b.js";
|
|
6
|
+
import { e as rt, q as F, s as _t, r as ei, v as Re } from "./expression-7c55599f.js";
|
|
7
|
+
import { d as R, e as ii, H as Yt, f as Zt, ah as si } from "./enum-type-7d95ce29.js";
|
|
8
|
+
import { d as Se } from "./slot-2fd03e98.js";
|
|
9
|
+
import { t as ni, n as Ae, o as Ce } from "./index-04a916c2.js";
|
|
10
10
|
import "vue";
|
|
11
11
|
import "./icon-6342f929.js";
|
|
12
|
-
import "./dialog-
|
|
12
|
+
import "./dialog-fceb6336.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
14
|
import "./uuid-009aae31.js";
|
|
15
15
|
import "element-plus";
|
|
16
16
|
import "./source-map-b04aec4a.js";
|
|
17
17
|
import "./esprima-e8d15055.js";
|
|
18
|
-
import "./index-
|
|
19
|
-
import "./optionItem-
|
|
20
|
-
import "./index-
|
|
18
|
+
import "./index-00822503.js";
|
|
19
|
+
import "./optionItem-86cf1b42.js";
|
|
20
|
+
import "./index-eec8ef85.js";
|
|
21
21
|
const ai = (t) => t ? t.replace(/[A-Z]/g, function(i) {
|
|
22
22
|
return "-" + i.toLowerCase();
|
|
23
23
|
}) : "";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { B as a, J as B } from "./baseImp-
|
|
2
|
-
import { d as p } from "./enum-type-
|
|
3
|
-
import { f as J, p as q, q as G } from "./index-
|
|
4
|
-
import { m as h } from "./expression-
|
|
5
|
-
import { f as k, c as b } from "./enum-type-
|
|
1
|
+
import { B as a, J as B } from "./baseImp-2d4cb07b.js";
|
|
2
|
+
import { d as p } from "./enum-type-7d95ce29.js";
|
|
3
|
+
import { f as J, p as q, q as G } from "./index-04a916c2.js";
|
|
4
|
+
import { m as h } from "./expression-7c55599f.js";
|
|
5
|
+
import { f as k, c as b } from "./enum-type-52034024.js";
|
|
6
6
|
import "./icon-6342f929.js";
|
|
7
7
|
import "vue";
|
|
8
|
-
import "./dialog-
|
|
8
|
+
import "./dialog-fceb6336.js";
|
|
9
9
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
10
10
|
import "./uuid-009aae31.js";
|
|
11
11
|
import "element-plus";
|
|
12
|
-
import "./optionItem-
|
|
13
|
-
import "./index-
|
|
12
|
+
import "./optionItem-86cf1b42.js";
|
|
13
|
+
import "./index-eec8ef85.js";
|
|
14
14
|
import "./source-map-b04aec4a.js";
|
|
15
15
|
import "./esprima-e8d15055.js";
|
|
16
16
|
const tt = (F, _) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { aj as f, d as xe } from "./enum-type-
|
|
2
|
-
import { P as o, D as ge } from "./baseImp-
|
|
3
|
-
import { w as G, i as Ee, c as v, H as y, e as V, T as _, N as z,
|
|
4
|
-
import { inject as Se, computed as
|
|
5
|
-
import { f as i, d as De, x as Te, g as B, p as q } from "./expression-
|
|
1
|
+
import { aj as f, d as xe } from "./enum-type-7d95ce29.js";
|
|
2
|
+
import { P as o, D as ge } from "./baseImp-2d4cb07b.js";
|
|
3
|
+
import { w as G, i as Ee, c as v, H as y, e as V, T as _, N as z, s as pe, k as ye, j as Ve, f as we } from "./enum-type-52034024.js";
|
|
4
|
+
import { inject as Se, computed as s, isRef as _e } from "vue";
|
|
5
|
+
import { f as i, d as De, x as Te, g as B, p as q } from "./expression-7c55599f.js";
|
|
6
6
|
function Pe(n) {
|
|
7
7
|
return `<template>
|
|
8
8
|
<!--normal dataType:Object,String,Number-->
|
|
@@ -74,7 +74,7 @@ function Ae() {
|
|
|
74
74
|
config.data = {newData:config.data};
|
|
75
75
|
return config;`;
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function ke() {
|
|
78
78
|
return `const content = (response.content !== undefined) ? response.content : response;
|
|
79
79
|
const error = {
|
|
80
80
|
message: response.errorMsg ||
|
|
@@ -93,12 +93,12 @@ return {
|
|
|
93
93
|
error,
|
|
94
94
|
};`;
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function Me() {
|
|
97
97
|
return `
|
|
98
98
|
/*重要,需返回 content*/
|
|
99
99
|
return content; `;
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function Re() {
|
|
102
102
|
return `
|
|
103
103
|
return {
|
|
104
104
|
title: {
|
|
@@ -179,13 +179,13 @@ const T = {
|
|
|
179
179
|
[i.validFunc]: $e(),
|
|
180
180
|
[i.popperOptions]: Le(),
|
|
181
181
|
[i.shortcuts]: Ne(),
|
|
182
|
-
[i.chartOption]:
|
|
182
|
+
[i.chartOption]: Re(),
|
|
183
183
|
[i.lazyLoad]: He(),
|
|
184
184
|
[i.data]: Je(),
|
|
185
185
|
[i.formDataLoaded]: Oe(),
|
|
186
186
|
[i.setQueryFn]: Qe(),
|
|
187
|
-
[i.fitFetch]:
|
|
188
|
-
[i.didFetch]:
|
|
187
|
+
[i.fitFetch]: ke(),
|
|
188
|
+
[i.didFetch]: Me(),
|
|
189
189
|
[i.willFetch]: Ae(),
|
|
190
190
|
[i.errorFetch]: Ie(),
|
|
191
191
|
[i.afterFetch]: Ue(),
|
|
@@ -204,13 +204,13 @@ function Be(n, t, h) {
|
|
|
204
204
|
}`;
|
|
205
205
|
}
|
|
206
206
|
const P = (n, t) => !n || !t ? "" : n != null && n.startsWith("@") ? V.i18nt("designer.setting." + (n == null ? void 0 : n.substring(1))) : n === "#" ? V.i18nt("designer.setting." + t) : n === "eq" ? t : n;
|
|
207
|
-
function
|
|
207
|
+
function st(n) {
|
|
208
208
|
var H, I, J, O, Q;
|
|
209
|
-
const t =
|
|
209
|
+
const t = s(() => n == null ? void 0 : n.propConfig), h = s(() => n == null ? void 0 : n.optionModel), j = s({
|
|
210
210
|
get: () => {
|
|
211
211
|
var e, a;
|
|
212
|
-
if ((e =
|
|
213
|
-
return (a =
|
|
212
|
+
if ((e = r.value) != null && e.getPropValueFn)
|
|
213
|
+
return (a = r.value) == null ? void 0 : a.getPropValueFn(n);
|
|
214
214
|
},
|
|
215
215
|
set: (e) => {
|
|
216
216
|
var a, l, u, d;
|
|
@@ -219,10 +219,10 @@ function rt(n) {
|
|
|
219
219
|
return;
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
|
-
}), F =
|
|
222
|
+
}), F = s({
|
|
223
223
|
get: () => {
|
|
224
224
|
var l;
|
|
225
|
-
if ((l =
|
|
225
|
+
if ((l = r.value) != null && l.getPropValueFn)
|
|
226
226
|
return j.value || null;
|
|
227
227
|
var e = o.get(h.value, c.value), a = o.getValue(e);
|
|
228
228
|
if (b.value && [f.inputNumber, f.number].includes(b.value)) {
|
|
@@ -239,111 +239,111 @@ function rt(n) {
|
|
|
239
239
|
}
|
|
240
240
|
o.setValue(h.value, c.value, e);
|
|
241
241
|
}
|
|
242
|
-
}), m =
|
|
242
|
+
}), m = s({
|
|
243
243
|
get: () => o.get(h.value, c.value),
|
|
244
244
|
set: (e) => {
|
|
245
245
|
o.set(h.value, c.value, e);
|
|
246
246
|
}
|
|
247
|
-
}), K =
|
|
247
|
+
}), K = s({
|
|
248
248
|
get: () => !!c && o.getEnable(m.value),
|
|
249
249
|
set: (e) => {
|
|
250
250
|
c.value && o.setEnable(h.value, c.value, e);
|
|
251
251
|
}
|
|
252
|
-
}), X =
|
|
252
|
+
}), X = s(() => {
|
|
253
253
|
var e, a;
|
|
254
|
-
return Ee((e =
|
|
255
|
-
}), Z =
|
|
254
|
+
return Ee((e = r.value) == null ? void 0 : e.showOptionEnable) || ((a = r.value) == null ? void 0 : a.showOptionEnable) === !0;
|
|
255
|
+
}), Z = s(() => {
|
|
256
256
|
var e;
|
|
257
|
-
return (e =
|
|
258
|
-
}), C =
|
|
257
|
+
return (e = r.value) == null ? void 0 : e.editTip;
|
|
258
|
+
}), C = s({
|
|
259
259
|
get: () => v(F.value) || [],
|
|
260
260
|
set: (e) => {
|
|
261
261
|
F.value = e;
|
|
262
262
|
}
|
|
263
|
-
}), ee =
|
|
263
|
+
}), ee = s({
|
|
264
264
|
get: () => {
|
|
265
|
-
var e =
|
|
265
|
+
var e = M();
|
|
266
266
|
return v(F.value) || (L.value ? "" : e == null ? void 0 : e.exampleCode);
|
|
267
267
|
},
|
|
268
268
|
set: (e) => {
|
|
269
269
|
F.value = e;
|
|
270
270
|
}
|
|
271
|
-
}), te =
|
|
271
|
+
}), te = s(() => {
|
|
272
272
|
var e;
|
|
273
273
|
return (e = t == null ? void 0 : t.value) == null ? void 0 : e.path;
|
|
274
|
-
}), c =
|
|
274
|
+
}), c = s(() => {
|
|
275
275
|
var e;
|
|
276
276
|
return ((e = t == null ? void 0 : t.value) == null ? void 0 : e.name) || "";
|
|
277
|
-
}), w = y((H = t == null ? void 0 : t.value) == null ? void 0 : H.data) ? (J = v((I = t == null ? void 0 : t.value) == null ? void 0 : I.data)) == null ? void 0 : J(n) : _e((O = t == null ? void 0 : t.value) == null ? void 0 : O.data) ? (Q = t == null ? void 0 : t.value) == null ? void 0 : Q.data :
|
|
277
|
+
}), w = y((H = t == null ? void 0 : t.value) == null ? void 0 : H.data) ? (J = v((I = t == null ? void 0 : t.value) == null ? void 0 : I.data)) == null ? void 0 : J(n) : _e((O = t == null ? void 0 : t.value) == null ? void 0 : O.data) ? (Q = t == null ? void 0 : t.value) == null ? void 0 : Q.data : s(() => {
|
|
278
278
|
var e;
|
|
279
279
|
return (e = t == null ? void 0 : t.value) == null ? void 0 : e.data;
|
|
280
|
-
}), ae =
|
|
280
|
+
}), ae = s(() => {
|
|
281
281
|
var e;
|
|
282
282
|
return (e = t == null ? void 0 : t.value) == null ? void 0 : e.title;
|
|
283
|
-
}), b =
|
|
283
|
+
}), b = s(() => {
|
|
284
284
|
var e, a, l, u;
|
|
285
285
|
return y((e = t == null ? void 0 : t.value) == null ? void 0 : e.type) ? (l = v((a = t == null ? void 0 : t.value) == null ? void 0 : a.type)) == null ? void 0 : l(n) : (u = t == null ? void 0 : t.value) == null ? void 0 : u.type;
|
|
286
|
-
}), ne =
|
|
286
|
+
}), ne = s(() => P(ae.value, c.value)), le = s(() => {
|
|
287
287
|
var e, a, l, u, d;
|
|
288
288
|
return ((e = t.value) == null ? void 0 : e.visibleFn) === void 0 ? !0 : y((a = t == null ? void 0 : t.value) == null ? void 0 : a.visibleFn) ? (u = v((l = t == null ? void 0 : t.value) == null ? void 0 : l.visibleFn)) == null ? void 0 : u(n) : v((d = t == null ? void 0 : t.value) == null ? void 0 : d.visibleFn);
|
|
289
|
-
}), $ =
|
|
289
|
+
}), $ = s(() => {
|
|
290
290
|
var e;
|
|
291
291
|
return (e = t == null ? void 0 : t.value) == null ? void 0 : e.widgetType;
|
|
292
|
-
}),
|
|
292
|
+
}), se = s(() => {
|
|
293
293
|
var e;
|
|
294
294
|
return (e = t == null ? void 0 : t.value) == null ? void 0 : e.rules;
|
|
295
|
-
}),
|
|
295
|
+
}), re = s(() => {
|
|
296
296
|
var e;
|
|
297
297
|
return ((e = t == null ? void 0 : t.value) == null ? void 0 : e.formula) !== !1;
|
|
298
|
-
}), ue =
|
|
298
|
+
}), ue = s(() => {
|
|
299
299
|
var e;
|
|
300
300
|
return ((e = t == null ? void 0 : t.value) == null ? void 0 : e.variable) !== !1;
|
|
301
|
-
}), ie =
|
|
301
|
+
}), ie = s(() => !!o.getVariable(m.value)), ce = s(() => {
|
|
302
302
|
var l;
|
|
303
303
|
var e = (l = t == null ? void 0 : t.value) == null ? void 0 : l.attrs, a = y(e) ? e(n) : e;
|
|
304
304
|
return a;
|
|
305
|
-
}),
|
|
305
|
+
}), r = s(() => {
|
|
306
306
|
var e;
|
|
307
307
|
return (e = t == null ? void 0 : t.value) == null ? void 0 : e.options;
|
|
308
|
-
}), oe =
|
|
308
|
+
}), oe = s(() => {
|
|
309
309
|
var l;
|
|
310
|
-
var e = V.i18nt(`designer.setting.${c.value}Hint`, !1), a = P(((l =
|
|
310
|
+
var e = V.i18nt(`designer.setting.${c.value}Hint`, !1), a = P(((l = r.value) == null ? void 0 : l.tipContent) || e, c.value);
|
|
311
311
|
return a = Te(a), [
|
|
312
312
|
B(V.i18nt("designer.hint.propName"), c.value),
|
|
313
313
|
B(V.i18nt("designer.hint.description"), a)
|
|
314
314
|
];
|
|
315
|
-
}), de =
|
|
315
|
+
}), de = s(() => {
|
|
316
316
|
var e, a, l, u, d;
|
|
317
|
-
return ((e =
|
|
318
|
-
}), ve =
|
|
317
|
+
return ((e = r.value) == null ? void 0 : e.multipleFn) === void 0 ? null : y((a = r == null ? void 0 : r.value) == null ? void 0 : a.multipleFn) ? (u = v((l = r == null ? void 0 : r.value) == null ? void 0 : l.multipleFn)) == null ? void 0 : u(n) : v((d = r == null ? void 0 : r.value) == null ? void 0 : d.multipleFn);
|
|
318
|
+
}), ve = s(() => {
|
|
319
319
|
var e;
|
|
320
|
-
return P((e =
|
|
321
|
-
}), L =
|
|
320
|
+
return P((e = r.value) == null ? void 0 : e.dividerTitle, c.value);
|
|
321
|
+
}), L = s(() => {
|
|
322
322
|
var e;
|
|
323
|
-
return (e =
|
|
324
|
-
}), me =
|
|
323
|
+
return (e = r.value) == null ? void 0 : e.codeEdit;
|
|
324
|
+
}), me = s(() => {
|
|
325
325
|
var e;
|
|
326
|
-
return (e =
|
|
327
|
-
}), fe =
|
|
326
|
+
return (e = r.value) == null ? void 0 : e.addFormItem;
|
|
327
|
+
}), fe = s(() => {
|
|
328
328
|
var e;
|
|
329
|
-
return (e =
|
|
330
|
-
}), he =
|
|
329
|
+
return (e = r.value) == null ? void 0 : e.newRowLabel;
|
|
330
|
+
}), he = s(() => {
|
|
331
331
|
var e;
|
|
332
|
-
return (e =
|
|
332
|
+
return (e = r.value) == null ? void 0 : e.noRowLabel;
|
|
333
333
|
}), N = () => {
|
|
334
334
|
var u;
|
|
335
|
-
const e = w == null ? void 0 : w.value, a = (u =
|
|
335
|
+
const e = w == null ? void 0 : w.value, a = (u = r.value) == null ? void 0 : u.passExternalArgs;
|
|
336
336
|
var l = ye(e);
|
|
337
337
|
return a !== !1 && g && (l || (l = []), l.push(i.externalArgs + ":Object")), l;
|
|
338
|
-
}, A = !!b.value && [f.javascript, f.targetEvent].includes(b.value),
|
|
338
|
+
}, A = !!b.value && [f.javascript, f.targetEvent].includes(b.value), k = !!b.value && [f.json].includes(b.value);
|
|
339
339
|
//!!dataType.value && [BaseDataType.array, BaseDataType.object].includes(dataType.value);
|
|
340
|
-
const g = A && c.value !== q.functions,
|
|
340
|
+
const g = A && c.value !== q.functions, M = (e) => {
|
|
341
341
|
var W;
|
|
342
342
|
var a = N();
|
|
343
343
|
const l = c.value, u = h.value;
|
|
344
344
|
if (!l)
|
|
345
345
|
return;
|
|
346
|
-
const d = (W =
|
|
346
|
+
const d = (W = r.value) == null ? void 0 : W.sfc;
|
|
347
347
|
let S = "";
|
|
348
348
|
var E = "", p = "";
|
|
349
349
|
const D = {
|
|
@@ -362,18 +362,18 @@ function rt(n) {
|
|
|
362
362
|
E = be;
|
|
363
363
|
} else
|
|
364
364
|
E = Y(l);
|
|
365
|
-
return x ? (g && (x =
|
|
365
|
+
return x ? (g && (x = R(v(x))), k && z(x) ? p = G(x, void 0, " ") : x ? p = String(x) : p = "") : g && (p = E), {
|
|
366
366
|
alertTitle: `${[Fe || "component", l].join(".")}${S}`,
|
|
367
367
|
mode: D == null ? void 0 : D[b.value],
|
|
368
368
|
exampleCode: E,
|
|
369
369
|
curValue: p
|
|
370
370
|
};
|
|
371
|
-
},
|
|
371
|
+
}, R = (e) => {
|
|
372
372
|
var a = ge(e);
|
|
373
373
|
return a == null ? void 0 : a.body;
|
|
374
374
|
};
|
|
375
375
|
return {
|
|
376
|
-
propOptions:
|
|
376
|
+
propOptions: r,
|
|
377
377
|
propData: w,
|
|
378
378
|
propModel: m,
|
|
379
379
|
propLabel: ne,
|
|
@@ -384,7 +384,7 @@ function rt(n) {
|
|
|
384
384
|
propVisible: le,
|
|
385
385
|
propTipContent: oe,
|
|
386
386
|
propPath: te,
|
|
387
|
-
propFormula:
|
|
387
|
+
propFormula: re,
|
|
388
388
|
propVariable: ue,
|
|
389
389
|
variableState: ie,
|
|
390
390
|
widgetType: $,
|
|
@@ -396,17 +396,17 @@ function rt(n) {
|
|
|
396
396
|
addFormItem: me,
|
|
397
397
|
newRowLabel: fe,
|
|
398
398
|
noRowLabel: he,
|
|
399
|
-
rules:
|
|
399
|
+
rules: se,
|
|
400
400
|
attrs: ce,
|
|
401
401
|
arrayPropValue: C,
|
|
402
402
|
codePropValue: ee,
|
|
403
403
|
codeEdit: L,
|
|
404
|
-
getCode:
|
|
404
|
+
getCode: R,
|
|
405
405
|
saveCode: (e) => {
|
|
406
406
|
const a = N();
|
|
407
|
-
return g && !Ve(e) ? Be(c.value || "func", a, e) :
|
|
407
|
+
return g && !Ve(e) ? Be(c.value || "func", a, e) : k && z(e) ? we(e) : e;
|
|
408
408
|
},
|
|
409
|
-
initCode:
|
|
409
|
+
initCode: M,
|
|
410
410
|
changeFn: (e) => {
|
|
411
411
|
var a, l;
|
|
412
412
|
(l = (a = t == null ? void 0 : t.value) == null ? void 0 : a.changeFn) == null || l.call(a, n, e);
|
|
@@ -430,5 +430,5 @@ function rt(n) {
|
|
|
430
430
|
}
|
|
431
431
|
export {
|
|
432
432
|
Y as g,
|
|
433
|
-
|
|
433
|
+
st as u
|
|
434
434
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { w as t, b as a } from "./expression-
|
|
2
|
-
import { u as d } from "./emitter-
|
|
1
|
+
import { w as t, b as a } from "./expression-7c55599f.js";
|
|
2
|
+
import { u as d } from "./emitter-6aaaebac.js";
|
|
3
3
|
import { u as i } from "./icon-6342f929.js";
|
|
4
4
|
function f(o) {
|
|
5
5
|
const { instance: n } = i(o.instance), { dispatch: r } = d();
|