hldesigner 0.0.158 → 0.0.163
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-80cef457.js → _pdf-6ec9407a.js} +16 -15
- package/{_share_image-a31c625d.js → _share_image-e51b1785.js} +2 -2
- package/{_share_size.vue_vue_type_script_setup_true_lang-4b6e3952.js → _share_size.vue_vue_type_script_setup_true_lang-506d843e.js} +3 -3
- package/{_txt-d6c8e4f0.js → _txt-787591a6.js} +20 -19
- package/{_unsupport-1cc2b324.js → _unsupport-f270b61a.js} +1 -1
- package/{affix-widget-a0084a84.js → affix-widget-2fa28f9d.js} +21 -20
- package/{alert-widget-4c6e538e.js → alert-widget-91547215.js} +21 -20
- package/{anchor-widget-98da4d99.js → anchor-widget-1f57f304.js} +18 -17
- package/{auto-complete-widget-d4e4f440.js → auto-complete-widget-ec4ed9be.js} +21 -20
- package/{avatar-widget-779926d1.js → avatar-widget-feba28af.js} +21 -20
- package/{backtop-widget-66077a77.js → backtop-widget-fcca3dc2.js} +21 -20
- package/badge-widget-811cae76.js +49 -0
- package/{barcode-widget-ffe7f9ac.js → barcode-widget-8a1293ef.js} +18 -17
- package/{baseImp-39fa6a51.js → baseImp-f2c449da.js} +7 -6
- package/{breadcrumb-widget-bf132924.js → breadcrumb-widget-b03a5caa.js} +18 -17
- package/{button-widget-4a6ddc5f.js → button-widget-b5d5de31.js} +21 -20
- package/{cache-widget-0205199b.js → cache-widget-38d43a48.js} +20 -19
- package/{card-widget-80606c46.js → card-widget-235646f5.js} +31 -30
- package/{carousel-widget-9f8696c2.js → carousel-widget-13cb6c75.js} +19 -18
- package/{cascader-widget-58414e54.js → cascader-widget-aef51342.js} +46 -45
- package/{chart-widget-bb046515.js → chart-widget-82765ff0.js} +18 -17
- package/{checkbox-widget-8f212afe.js → checkbox-widget-53c0145e.js} +20 -19
- package/{collapse-widget-633327bd.js → collapse-widget-d2942c51.js} +19 -18
- package/{color-picker-widget-df4cd8c5.js → color-picker-widget-8f19f971.js} +20 -19
- package/common-editor-1646bfed.js +26 -0
- package/{common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-2689a9f6.js → common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-35b219c3.js} +2 -2
- package/{configItem-98b79e68.js → configItem-c4020372.js} +35 -35
- package/{cont-cell-widget-f114f351.js → cont-cell-widget-6aba00ae.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-c5e02cd8.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-7426b6ba.js} +5 -5
- package/{cont-widget-b60f0ab7.js → cont-widget-7467897f.js} +5 -5
- package/{content-wrapper-483dcc34.js → content-wrapper-09c25104.js} +6 -6
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-08277b80.js → content-wrapper.vue_vue_type_script_setup_true_lang-7a91eea8.js} +3 -3
- package/{css-editor-b697080d.js → css-editor-07e1665c.js} +17 -17
- package/{customClass-editor-eeb88bfd.js → customClass-editor-351d620e.js} +15 -15
- package/{date-picker-range-widget-0d8508bf.js → date-picker-range-widget-56329a71.js} +20 -19
- package/{date-picker-widget-5cd77667.js → date-picker-widget-35ccbc88.js} +20 -19
- package/default-slot-widget-7d7a327c.js +29 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-e4c6668c.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-95075272.js} +27 -26
- package/{descriptions-widget-9d197d5c.js → descriptions-widget-55364d2f.js} +19 -18
- package/designer.es.js +34 -33
- package/designer.style.css +1 -1
- package/designer.umd.js +390 -387
- package/{dialog-907cc164.js → dialog-49d0d685.js} +2 -2
- package/{dialog-widget-20ed8ca4.js → dialog-widget-31cb398c.js} +20 -19
- package/divider-widget-6cdbbfb1.js +43 -0
- package/drag-wrapper-f9f0ab82.js +256 -0
- package/{drawer-widget-a834c997.js → drawer-widget-7d4b949d.js} +20 -19
- package/{dropdown-widget-0cb9a9a7.js → dropdown-widget-ec0e4088.js} +19 -18
- package/{editor-wrapper-4c2c8880.js → editor-wrapper-c1531c62.js} +11 -11
- package/{emitter-09ac5487.js → emitter-0678e48a.js} +1 -1
- package/{empty-widget-9a6fa052.js → empty-widget-d13940ac.js} +21 -20
- package/{enum-type-e9fb6f66.js → enum-type-4298f4a7.js} +1 -1
- package/{enum-type-e8d54068.js → enum-type-479210de.js} +206 -187
- package/{expression-a76bb609.js → expression-cacdcf66.js} +3 -3
- package/feedback-widget-8711929b.js +30 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-59705dae.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-7569a69a.js} +5 -5
- package/{field-editor-9f35f1f2.js → field-editor-8a2a5d82.js} +14 -14
- package/{fieldobj-272e042d.js → fieldobj-3ee1f89b.js} +1 -1
- package/{file-upload-widget-85fd39fa.js → file-upload-widget-3b3c2045.js} +25 -24
- package/{form-item-wrapper-8f901873.js → form-item-wrapper-faf8dd4c.js} +12 -12
- package/{form-widget-caab8eca.js → form-widget-ff9f9b33.js} +11 -11
- package/{grid-col-widget-7b40aeba.js → grid-col-widget-334e9dff.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-6193db6c.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-7e35c95a.js} +5 -5
- package/{grid-widget-e5b5b776.js → grid-widget-25fa1c0c.js} +5 -5
- package/html-text-widget-f5e10a7a.js +54 -0
- package/{icon-widget-3944603c.js → icon-widget-04e36c4e.js} +20 -19
- package/{iframe-widget-9c2e0bac.js → iframe-widget-b1553339.js} +18 -17
- package/{image-editor-e518da0a.js → image-editor-9d01cc48.js} +15 -15
- package/{image-widget-1cb0a44c.js → image-widget-b9ef7222.js} +18 -17
- package/{index-bb6cca72.js → index-00ceb7ce.js} +7 -7
- package/{index-396ea701.js → index-0e645e80.js} +259 -243
- package/{index-6c215fd0.js → index-0e694780.js} +10 -10
- package/{index-6cf4cdca.js → index-12379f6d.js} +8 -8
- package/{index-ed183e20.js → index-1a5d347d.js} +8 -8
- package/{index-b76c1e41.js → index-1fdb3737.js} +11 -11
- package/{index-0427c028.js → index-3db66882.js} +1 -1
- package/{index-2ef73f58.js → index-47daca79.js} +16 -16
- package/{index-7d54f9f8.js → index-4a7137b4.js} +10 -10
- package/{index-bce2d7c1.js → index-75e76843.js} +9 -9
- package/{index-e08032d5.js → index-79e25d43.js} +2 -2
- package/{index-237328cb.js → index-829a9fc4.js} +5 -5
- package/{index-41048dae.js → index-8ec42d16.js} +24 -23
- package/{index-54dbb8ee.js → index-9c8efcd8.js} +5 -5
- package/{index-925e1e7b.js → index-a9298b21.js} +7 -7
- package/{index-ebbb142f.js → index-aaa2b72d.js} +1 -1
- package/{index-493adeb6.js → index-c4cf8f45.js} +3 -3
- package/{index-3c92d442.js → index-c9b85e73.js} +5 -5
- package/{index-189465c0.js → index-d6cca8fc.js} +36 -36
- package/{index-ce7e373a.js → index-e111d18e.js} +36 -36
- package/{index-147d652a.js → index-e2a45f69.js} +6 -6
- package/{index-b0e38dfd.js → index-f4c0a5f7.js} +5 -5
- package/{index-0ea06dd5.js → index-f7cbdd4b.js} +89 -88
- package/{index-2c759ce4.js → index-f835a124.js} +7 -7
- package/{input-number-widget-e4057f58.js → input-number-widget-710a702d.js} +20 -19
- package/{input-widget-cf6cab33.js → input-widget-ef0ee22f.js} +21 -20
- package/{install-designer-eaa2378c.js → install-designer-06c4911d.js} +28 -28
- package/{item-7f54e144.js → item-59a7c917.js} +2 -2
- package/{itemDetail-b0561fff.js → itemDetail-6356e601.js} +2 -2
- package/{label-wrapper-d74c24ed.js → label-wrapper-c08eba3f.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-57a1873d.js → label-wrapper.vue_vue_type_style_index_0_lang-03b314df.js} +3 -3
- package/{link-widget-8b0e1302.js → link-widget-ec5ab6e4.js} +28 -27
- package/{ltable-col-widget-9f1c02fe.js → ltable-col-widget-e7dc626d.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-44ddf05c.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-59e1a04c.js} +9 -9
- package/{ltable-widget-09ac40aa.js → ltable-widget-9cbbe66c.js} +5 -5
- package/menu-widget-d57c9f66.js +128 -0
- package/{model-widget-e5930314.js → model-widget-c0897b03.js} +40 -39
- package/{multirow-3c5b129d.js → multirow-6aedad45.js} +6 -6
- package/{multirow-widget-eda4fa4f.js → multirow-widget-57a1851a.js} +53 -52
- package/{name-editor-2e8c82a2.js → name-editor-733b2c45.js} +14 -14
- package/{optionItem-e34ef2c9.js → optionItem-e9580742.js} +40 -31
- package/package.json +1 -1
- package/{pagination-widget-03421a01.js → pagination-widget-e6d115c8.js} +18 -17
- package/{picture-upload-widget-84d87523.js → picture-upload-widget-f4d2d437.js} +21 -20
- package/{progress-widget-31f6f02f.js → progress-widget-5e4c8b44.js} +30 -29
- package/{property-base-5398fd42.js → property-base-c7813fa2.js} +17 -17
- package/{propresult-bd844adc.js → propresult-795c68eb.js} +1 -1
- package/{qrcode-widget-8dc914cf.js → qrcode-widget-442a81ec.js} +18 -17
- package/{radio-widget-45403a5c.js → radio-widget-3fa5e4e8.js} +20 -19
- package/{range-widget-2766ff33.js → range-widget-101a3322.js} +21 -20
- package/{rate-widget-f951f5f8.js → rate-widget-9b7da718.js} +20 -19
- package/{reg-editor.vue_vue_type_script_setup_true_lang-3f6632e4.js → reg-editor.vue_vue_type_script_setup_true_lang-3585cb9f.js} +3 -3
- package/{result-widget-5867e1bb.js → result-widget-bbf7cd27.js} +19 -18
- package/{rich-editor-widget-d1ced0a2.js → rich-editor-widget-7ac1def2.js} +25 -24
- package/{router-widget-304ec6bd.js → router-widget-2a0f5264.js} +18 -17
- package/{schemaData-5e8f28ee.js → schemaData-f5ca2090.js} +4 -4
- package/{select-widget-440f1cb0.js → select-widget-db31e19f.js} +20 -19
- package/{sfc-59b2ac70.js → sfc-90410c62.js} +12 -11
- package/{sfcview-d068afea.js → sfcview-db5a46d9.js} +8 -8
- package/{share-editor-23f61220.js → share-editor-00ba99e4.js} +4 -4
- package/{share-event-34b6b4c1.js → share-event-ea388fe2.js} +2 -2
- package/{share-field-3be50ff6.js → share-field-52bf5266.js} +61 -62
- package/{share-file-2726a9bf.js → share-file-08f1005e.js} +20 -21
- package/{size-editor-959e1d96.js → size-editor-e0db0990.js} +16 -16
- package/{slider-widget-cc3af5e1.js → slider-widget-d791f6fb.js} +25 -24
- package/slot-e90d51a9.js +176 -0
- package/static-text-widget-ca26051d.js +55 -0
- package/{steps-widget-18b94f7c.js → steps-widget-b5a3032b.js} +18 -17
- package/{subMenu-widget-33bed467.js → subMenu-widget-142a6464.js} +7 -7
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-44831339.js → subMenu-widget.vue_vue_type_script_setup_true_lang-4e77aef0.js} +31 -31
- package/{switch-widget-b11f2f36.js → switch-widget-07f95e64.js} +27 -26
- package/{tab-pane-widget-bc2cddfb.js → tab-pane-widget-427a4a50.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-d39e4039.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-43780058.js} +5 -5
- package/table-col-widget-17ace5e8.js +26 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-5dfd28e2.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-821df3e8.js} +5 -5
- package/{table-widget-02a0b1b4.js → table-widget-8c72f61f.js} +20 -19
- package/{tabs-widget-431cd25a.js → tabs-widget-f8afdf26.js} +7 -7
- package/{tag-widget-cfbc9007.js → tag-widget-960b8bff.js} +21 -20
- package/{target-code-28cc5843.js → target-code-285554db.js} +7 -7
- package/{target-datasource-26f9bfe4.js → target-datasource-39de5d70.js} +37 -37
- package/{target-link-aca10d80.js → target-link-bbfb9b65.js} +36 -36
- package/{target-saveForm-21096226.js → target-saveForm-08f5b1b2.js} +36 -36
- package/{target-widget-276ab499.js → target-widget-31d5d5b2.js} +1 -1
- package/{target-window-d6232f1f.js → target-window-1605466b.js} +8 -8
- package/{text-widget-7b5d8959.js → text-widget-8155bda0.js} +21 -20
- package/{textarea-widget-be2512b6.js → textarea-widget-d1c4e669.js} +20 -19
- package/{time-picker-range-widget-d109af82.js → time-picker-range-widget-63de8c1e.js} +20 -19
- package/{time-picker-widget-506141fe.js → time-picker-widget-b015f940.js} +20 -19
- package/{time-select-widget-855eeca3.js → time-select-widget-19a8e9ae.js} +20 -19
- package/{tmpl-widget-2f4ea599.js → tmpl-widget-ce38dfeb.js} +31 -30
- package/{tree-select-widget-da1cfed1.js → tree-select-widget-2c108896.js} +32 -31
- package/{tree-widget-b1eb8fbb.js → tree-widget-9276dae4.js} +18 -17
- package/{value-editor-376bb975.js → value-editor-d0cf4765.js} +14 -14
- package/{verifycode-widget-5189122f.js → verifycode-widget-2c61ddce.js} +18 -17
- package/widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-548e5124.js +282 -0
- package/{wrapper-widget-6f6f2f37.js → wrapper-widget-44b9e34a.js} +13 -13
- package/badge-widget-ad90623e.js +0 -48
- package/common-editor-e421667f.js +0 -26
- package/default-slot-widget-b6f3c29e.js +0 -28
- package/divider-widget-48aca689.js +0 -42
- package/drag-wrapper-f1c50fce.js +0 -245
- package/feedback-widget-0938a595.js +0 -29
- package/html-text-widget-f0831a85.js +0 -53
- package/menu-widget-f6becd26.js +0 -120
- package/slot-30079966.js +0 -126
- package/static-text-widget-def1bbca.js +0 -54
- package/table-col-widget-b978aa12.js +0 -25
- package/widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-e0cc1959.js +0 -277
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
var Da = Object.defineProperty;
|
|
2
|
-
var ka = (
|
|
3
|
-
var Y = (
|
|
4
|
-
import { defineAsyncComponent as J, shallowRef as ye, defineComponent as Ht, computed as Ee, ref as $, watch as Ie, onMounted as Va, resolveComponent as
|
|
5
|
-
import { u as za } from "./emitter-
|
|
6
|
-
import { d as
|
|
7
|
-
import { h as Ua, f as Wa, S as xt, j as Ka, k as Ba, m as Ct, a as Pt, u as qa } from "./index-
|
|
8
|
-
import { _ as Qa } from "./drag-wrapper-
|
|
9
|
-
import { P as e, p as i, i as r, a as c } from "./property-base-
|
|
10
|
-
import { aj as t, ak as ze, al as Xa, am as Ya, an as $a, ao as tt, ap as at, aq as Ja, ar as
|
|
11
|
-
import { e as l, b as We, p as ve, i as oi, a as si, w as ri } from "./expression-
|
|
2
|
+
var ka = (v, m, f) => m in v ? Da(v, m, { enumerable: !0, configurable: !0, writable: !0, value: f }) : v[m] = f;
|
|
3
|
+
var Y = (v, m, f) => (ka(v, typeof m != "symbol" ? m + "" : m, f), f);
|
|
4
|
+
import { defineAsyncComponent as J, shallowRef as ye, defineComponent as Ht, computed as Ee, ref as $, watch as Ie, onMounted as Va, resolveComponent as Ge, openBlock as B, createBlock as re, withCtx as Ae, createVNode as gt, createElementBlock as Ye, Fragment as Tt, renderList as Ha, unref as pe, resolveDynamicComponent as xe, createCommentVNode as Ft, normalizeProps as Ga, guardReactiveProps as Aa, mergeProps as $e, toHandlers as Je } from "vue";
|
|
5
|
+
import { u as za } from "./emitter-0678e48a.js";
|
|
6
|
+
import { d as Gt, e as g, T as U, j as Oe, o as Se, m as Et, B as Ze, i as At, n as It, v as et } from "./enum-type-479210de.js";
|
|
7
|
+
import { h as Ua, f as Wa, S as xt, j as Ka, k as Ba, m as Ct, a as Pt, u as qa } from "./index-e2a45f69.js";
|
|
8
|
+
import { _ as Qa } from "./drag-wrapper-f9f0ab82.js";
|
|
9
|
+
import { P as e, p as i, i as r, a as c } from "./property-base-c7813fa2.js";
|
|
10
|
+
import { aj as t, ak as ze, al as Xa, am as Ya, an as $a, ao as tt, ap as at, aq as Ja, ar as Rt, as as k, at as Za, au as nt, e as en, av as tn, aw as an, ax as we, a9 as de, ay as Ce, az as nn, aA as Ot, aB as ln, aC as on, aD as d, d as s, aE as sn, aF as St, aG as rn, aH as Ue, aI as it, aJ as _t, aK as pn, aL as dn, aM as mn, aN as cn, g as Nt, aO as un, aP as wn, aQ as vn, N as Lt, aR as bn, aS as yn, aT as fn, aU as hn, aV as gn, aW as Mt, aX as Tn, aY as Fn, ai as En, aZ as In, a_ as xn, a$ as Cn, b0 as Pn, S as F, b1 as Rn, I as lt, b2 as On, b3 as Sn, b4 as _n, k as Pe, b5 as Nn, b6 as Ln, O as Re, b7 as Mn, b8 as jn, b9 as Dn, ba as kn, bb as Vn, s as me, bc as Hn, bd as ot, be as Gn, bf as An, bg as zn, bh as Un, bi as Wn, bj as Kn, bk as Bn, P as W, ah as qn, a8 as jt, bl as Qn, M as Xn, v as Yn, a6 as $n, w as Dt, R as st, af as Jn, ag as Zn, C as ei, L as ti, j as ai, i as ni, F as ii, G as li, bm as _e } from "./enum-type-4298f4a7.js";
|
|
11
|
+
import { e as l, b as We, p as ve, i as oi, a as si, w as ri } from "./expression-cacdcf66.js";
|
|
12
12
|
import { g as be, m as pi } from "./uuid-009aae31.js";
|
|
13
|
-
import { a as S, g as kt } from "./optionItem-
|
|
14
|
-
import { A as
|
|
13
|
+
import { a as S, g as kt } from "./optionItem-e9580742.js";
|
|
14
|
+
import { A as w, p as Vt, P as ae, B as di, e as mi, h as ci } from "./baseImp-f2c449da.js";
|
|
15
15
|
import { g as ui } from "./icon-6342f929.js";
|
|
16
|
-
import { e as wi } from "./index-
|
|
17
|
-
import { u as vi } from "./install-designer-
|
|
16
|
+
import { e as wi } from "./index-79e25d43.js";
|
|
17
|
+
import { u as vi } from "./install-designer-06c4911d.js";
|
|
18
18
|
function bi() {
|
|
19
|
-
let
|
|
20
|
-
const m = (y) => J(() => Qa(/* @__PURE__ */ Object.assign({ "../common-editor.vue": () => import("./common-editor-
|
|
19
|
+
let v = /* @__PURE__ */ new Map();
|
|
20
|
+
const m = (y) => J(() => Qa(/* @__PURE__ */ Object.assign({ "../common-editor.vue": () => import("./common-editor-1646bfed.js"), "../css-editor.vue": () => import("./css-editor-07e1665c.js"), "../customClass-editor.vue": () => import("./customClass-editor-351d620e.js"), "../field-editor.vue": () => import("./field-editor-8a2a5d82.js"), "../image-editor.vue": () => import("./image-editor-9d01cc48.js"), "../name-editor.vue": () => import("./name-editor-733b2c45.js"), "../size-editor.vue": () => import("./size-editor-e0db0990.js"), "../value-editor.vue": () => import("./value-editor-d0cf4765.js") }), `../${y}.vue`));
|
|
21
21
|
return { components: (y) => {
|
|
22
|
-
if (!
|
|
22
|
+
if (!v.has(y)) {
|
|
23
23
|
var N = m(y);
|
|
24
|
-
return
|
|
24
|
+
return v.set(y, N), N;
|
|
25
25
|
}
|
|
26
|
-
return
|
|
26
|
+
return v.get(y);
|
|
27
27
|
} };
|
|
28
28
|
}
|
|
29
29
|
class Ke {
|
|
@@ -36,37 +36,37 @@ class Ke {
|
|
|
36
36
|
Y(this, "validator");
|
|
37
37
|
Y(this, "regExp");
|
|
38
38
|
Y(this, "label");
|
|
39
|
-
|
|
39
|
+
Gt(this, m);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
function yi() {
|
|
43
43
|
var ht;
|
|
44
|
-
const
|
|
45
|
-
|
|
44
|
+
const v = ye(ui()), m = (n, o, b, T) => {
|
|
45
|
+
T && !Et(n, o) || ae.setValue(n, o, b);
|
|
46
46
|
}, f = (n, o) => ae.getValue(ae.get(n, o)), y = (n) => c.getOption(n, "menuItemType") === qn.SubMenu, N = (n) => {
|
|
47
|
-
var
|
|
48
|
-
const { widgetTree: o } = Ka((
|
|
47
|
+
var T;
|
|
48
|
+
const { widgetTree: o } = Ka((T = n == null ? void 0 : n.designer) == null ? void 0 : T.widgetList, !0), { parentFormId: b } = Ba(o.value, n.selectedWidget);
|
|
49
49
|
return !!b.value;
|
|
50
|
-
},
|
|
50
|
+
}, R = (n) => c.getOption(n, l.slotable), q = (n) => !c.getOption(n, l.labelHidden), ne = (n) => !Et(n.optionModel, l.state), h = (n) => {
|
|
51
51
|
const o = ae.get(n.optionModel, l.optionItems);
|
|
52
52
|
return ae.isComplexValue(o);
|
|
53
53
|
}, C = (n) => c.getOption(n, "lazy"), a = {
|
|
54
54
|
//#region 唯一标识符
|
|
55
|
-
name: new e({ name: "name", tp: i.advanced, editor: r.name, variable: !1, title: "@uniqueName", options: { tipContent: "@editNameHelp" }, rules: [new Ke({ required: !0, message:
|
|
55
|
+
name: new e({ name: "name", tp: i.advanced, editor: r.name, variable: !1, title: "@uniqueName", options: { tipContent: "@editNameHelp" }, rules: [new Ke({ required: !0, message: g.i18nt("designer.hint.nameRequired") })] }),
|
|
56
56
|
//#endregion
|
|
57
57
|
//#region 默认值
|
|
58
58
|
defaultValue: new e({ name: "defaultValue", editor: r.value }),
|
|
59
59
|
//#endregion
|
|
60
60
|
//#region 宽高尺寸
|
|
61
|
-
width: new e({ name: "width", editor: r.size, data:
|
|
62
|
-
height: new e({ name: "height", editor: r.size, data:
|
|
63
|
-
maxHeight: new e({ name: "maxHeight", editor: r.size, data:
|
|
64
|
-
cellWidth: new e({ name: "cellWidth", editor: r.size, data:
|
|
65
|
-
cellHeight: new e({ name: "cellHeight", editor: r.size, data:
|
|
61
|
+
width: new e({ name: "width", editor: r.size, data: w(F) }),
|
|
62
|
+
height: new e({ name: "height", editor: r.size, data: w(F) }),
|
|
63
|
+
maxHeight: new e({ name: "maxHeight", editor: r.size, data: w(F) }),
|
|
64
|
+
cellWidth: new e({ name: "cellWidth", editor: r.size, data: w(F) }),
|
|
65
|
+
cellHeight: new e({ name: "cellHeight", editor: r.size, data: w(F) }),
|
|
66
66
|
size: new e({ name: "size", tp: i.advanced, title: "@widgetSize", type: t.radiobutton, data: ze, attrs: { clearable: !0 } }),
|
|
67
67
|
//#endregion
|
|
68
68
|
//#region css样式
|
|
69
|
-
css: new e({ name: "css", tp: i.
|
|
69
|
+
css: new e({ name: "css", tp: i.css, variable: !1, type: t.slot, editor: r.css, options: { noRowLabel: !0, newRowLabel: !0 } }),
|
|
70
70
|
//#endregion
|
|
71
71
|
//#region 内容显示
|
|
72
72
|
content: new e({ name: "content" }),
|
|
@@ -84,10 +84,10 @@ function yi() {
|
|
|
84
84
|
showWordLimit: new e({ name: "showWordLimit", type: t.switch }),
|
|
85
85
|
//#endregion
|
|
86
86
|
//#region 前后缀图标
|
|
87
|
-
prefixIcon: new e({ name: "prefixIcon", type: t.selectGroupV2, variable: !1, data:
|
|
88
|
-
suffixIcon: new e({ name: "suffixIcon", type: t.selectGroupV2, variable: !1, data:
|
|
89
|
-
clearIcon: new e({ name: "clearIcon", type: t.selectGroupV2, variable: !1, data:
|
|
90
|
-
icon: new e({ name: "icon", type: t.selectGroupV2, variable: !1, data:
|
|
87
|
+
prefixIcon: new e({ name: "prefixIcon", type: t.selectGroupV2, variable: !1, data: v, attrs: { filterable: !0 } }),
|
|
88
|
+
suffixIcon: new e({ name: "suffixIcon", type: t.selectGroupV2, variable: !1, data: v, attrs: { filterable: !0 } }),
|
|
89
|
+
clearIcon: new e({ name: "clearIcon", type: t.selectGroupV2, variable: !1, data: v, attrs: { filterable: !0 } }),
|
|
90
|
+
icon: new e({ name: "icon", type: t.selectGroupV2, variable: !1, data: v, attrs: { filterable: !0 } }),
|
|
91
91
|
//#endregion
|
|
92
92
|
//#region 占位符
|
|
93
93
|
placeholder: new e({ name: "placeholder" }),
|
|
@@ -106,14 +106,14 @@ function yi() {
|
|
|
106
106
|
name: "labelWidth",
|
|
107
107
|
tp: i.label,
|
|
108
108
|
editor: r.size,
|
|
109
|
-
data:
|
|
109
|
+
data: w(F),
|
|
110
110
|
visibleFn: q
|
|
111
111
|
}),
|
|
112
112
|
labelIconClass: new e({
|
|
113
113
|
name: "labelIconClass",
|
|
114
114
|
tp: i.label,
|
|
115
115
|
type: t.selectGroupV2,
|
|
116
|
-
data:
|
|
116
|
+
data: v,
|
|
117
117
|
visibleFn: q
|
|
118
118
|
}),
|
|
119
119
|
labelIconPosition: new e({
|
|
@@ -194,13 +194,13 @@ function yi() {
|
|
|
194
194
|
visibleFn: (n) => !!c.getOption(n, "collapseTags")
|
|
195
195
|
}),
|
|
196
196
|
tagType: new e({ name: "tagType", type: t.radiobutton, data: Ja }),
|
|
197
|
-
tagEffect: new e({ name: "tagEffect", type: t.radiobutton, data:
|
|
197
|
+
tagEffect: new e({ name: "tagEffect", type: t.radiobutton, data: Rt }),
|
|
198
198
|
//#endregion
|
|
199
199
|
//#region 日期时间
|
|
200
200
|
isRange: new e({ name: "isRange", type: t.switch, visibleFn: !1 }),
|
|
201
201
|
arrowControl: new e({ name: "arrowControl", type: t.switch }),
|
|
202
|
-
timeFormat: new e({ name: "format", type: t.selectGroup, data:
|
|
203
|
-
timeFormat1: new e({ name: "format", type: t.selectGroup, data:
|
|
202
|
+
timeFormat: new e({ name: "format", type: t.selectGroup, data: w(jt), attrs: { allowCreate: !0, filterable: !0 } }),
|
|
203
|
+
timeFormat1: new e({ name: "format", type: t.selectGroup, data: w(Qn) }),
|
|
204
204
|
disabledHours: new e({ name: "disabledHours", data: [], type: t.javascript, variable: !1 }),
|
|
205
205
|
disabledMinutes: new e({ name: "disabledMinutes", data: ["hour:number"], type: t.javascript, variable: !1 }),
|
|
206
206
|
disabledSeconds: new e({ name: "disabledSeconds", data: ["hour:number", "minute:number"], type: t.javascript, variable: !1 }),
|
|
@@ -315,10 +315,11 @@ function yi() {
|
|
|
315
315
|
}),
|
|
316
316
|
displayStyle: new e({ name: "displayStyle", tp: i.style, type: t.radiobutton, data: tn }),
|
|
317
317
|
customClass: new e({ name: "customClass", tp: i.style, editor: r.customClass, variable: !0, type: t.selectGroup, options: { tipContent: "@customClassHelp" }, attrs: { multiple: !0, filterable: !0, allowCreate: !0, defaultFirstOption: !0 } }),
|
|
318
|
-
componentWrapperClass: new e({ name: "componentWrapperClass", tp: i.style, editor: r.customClass, variable: !1, type: t.selectGroup, title: "@compWrapCssClass", options: { tipContent: "@
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
318
|
+
componentWrapperClass: new e({ name: "componentWrapperClass", tp: i.style, editor: r.customClass, variable: !1, type: t.selectGroup, title: "@compWrapCssClass", options: { tipContent: "@compWrapCssClassHelp" }, attrs: { multiple: !0, filterable: !0, allowCreate: !0, defaultFirstOption: !0 } }),
|
|
319
|
+
componentRootClass: new e({ name: "componentRootClass", tp: i.style, editor: r.customClass, variable: !1, type: t.selectGroup, title: "@compRootCssClass", options: { tipContent: "@compRootCssClassHelp" }, attrs: { multiple: !0, filterable: !0, allowCreate: !0, defaultFirstOption: !0 } }),
|
|
320
|
+
ctrlWidth: new e({ name: "ctrlWidth", tp: i.advanced, editor: r.size, type: t.selectGroup, data: w(F), options: { tipContent: "@customClassHelp" }, attrs: { multiple: !0, filterable: !0, allowCreate: !0, defaultFirstOption: !0 } }),
|
|
321
|
+
ctrlHeight: new e({ name: "ctrlHeight", tp: i.advanced, editor: r.size, type: t.selectGroup, data: w(F), options: { tipContent: "@customClassHelp" }, attrs: { multiple: !0, filterable: !0, allowCreate: !0, defaultFirstOption: !0 } }),
|
|
322
|
+
effect: new e({ name: "effect", type: t.radiobutton, data: Rt }),
|
|
322
323
|
class: new e({ name: "class", variable: !1, editor: r.customClass, type: t.selectGroup }),
|
|
323
324
|
//#endregion
|
|
324
325
|
//#region 筛选
|
|
@@ -340,10 +341,10 @@ function yi() {
|
|
|
340
341
|
empty: new e({ name: "empty", tp: i.slot, title: "@slotEmpty", type: t.html, variable: !1, options: { sfc: !0 } }),
|
|
341
342
|
select_optionDefault: new e({ name: "optionDefault", title: "@slotOptionDefault", tp: i.slot, data: ["item:{value:any,label:string}"], type: t.html, variable: !1, options: { sfc: !0 } }),
|
|
342
343
|
tree_optionDefault: new e({ name: "optionDefault", tp: i.slot, title: "@slotOptionDefault", data: ["node:Node", "data:{value:Object,label:String,children:Array}"], type: t.html, variable: !1, options: { sfc: !0 } }),
|
|
343
|
-
prefix: new e({ name: "prefix", tp: i.slot, title: "@slotPrefix", data: [], type: t.html, variable: !1, options: { sfc: !0 }, visibleFn:
|
|
344
|
-
suffix: new e({ name: "suffix", tp: i.slot, title: "@slotSuffix", data: [], type: t.html, variable: !1, options: { sfc: !0 }, visibleFn:
|
|
345
|
-
prepend: new e({ name: "prepend", tp: i.slot, title: "@slotPrepend", data: [], type: t.html, variable: !1, options: { sfc: !0 }, visibleFn:
|
|
346
|
-
append: new e({ name: "append", tp: i.slot, title: "@slotAppend", data: [], type: t.html, variable: !1, options: { sfc: !0 }, visibleFn:
|
|
344
|
+
prefix: new e({ name: "prefix", tp: i.slot, title: "@slotPrefix", data: [], type: t.html, variable: !1, options: { sfc: !0 }, visibleFn: R }),
|
|
345
|
+
suffix: new e({ name: "suffix", tp: i.slot, title: "@slotSuffix", data: [], type: t.html, variable: !1, options: { sfc: !0 }, visibleFn: R }),
|
|
346
|
+
prepend: new e({ name: "prepend", tp: i.slot, title: "@slotPrepend", data: [], type: t.html, variable: !1, options: { sfc: !0 }, visibleFn: R }),
|
|
347
|
+
append: new e({ name: "append", tp: i.slot, title: "@slotAppend", data: [], type: t.html, variable: !1, options: { sfc: !0 }, visibleFn: R }),
|
|
347
348
|
default: new e({ name: "default", tp: i.slot, title: "@slotDefault", data: [], type: t.html, variable: !1, options: { sfc: !0 } }),
|
|
348
349
|
//, visibleFn: slotableFn
|
|
349
350
|
//#endregion
|
|
@@ -360,7 +361,7 @@ function yi() {
|
|
|
360
361
|
name: n,
|
|
361
362
|
type: t.json,
|
|
362
363
|
variable: !1,
|
|
363
|
-
options: { showOptionEnable: !1, editTip:
|
|
364
|
+
options: { showOptionEnable: !1, editTip: g.i18nt("designer.hint.editCode") },
|
|
364
365
|
editor: r.value
|
|
365
366
|
}),
|
|
366
367
|
loadDataWhenInit: new e({ name: "loadDataWhenInit", type: t.switch }),
|
|
@@ -374,8 +375,8 @@ function yi() {
|
|
|
374
375
|
options: { tipContent: "@stateHelp" },
|
|
375
376
|
changeFn: (n, o) => {
|
|
376
377
|
var b = Vt(ii);
|
|
377
|
-
b.forEach((
|
|
378
|
-
m(n == null ? void 0 : n.optionModel,
|
|
378
|
+
b.forEach((T) => {
|
|
379
|
+
m(n == null ? void 0 : n.optionModel, T, T === o);
|
|
379
380
|
});
|
|
380
381
|
}
|
|
381
382
|
}),
|
|
@@ -396,7 +397,7 @@ function yi() {
|
|
|
396
397
|
border: new e({ name: "border", type: t.switch }),
|
|
397
398
|
isdefault: new e({ name: "isdefault", type: t.switch, visibleFn: !1 }),
|
|
398
399
|
buttonStyle: new e({ name: "buttonStyle", type: t.switch }),
|
|
399
|
-
timeValueFormat: new e({ name: "valueFormat", type: t.selectGroup, data:
|
|
400
|
+
timeValueFormat: new e({ name: "valueFormat", type: t.selectGroup, data: w(jt) }),
|
|
400
401
|
dateValueFormat: new e({
|
|
401
402
|
name: "valueFormat",
|
|
402
403
|
type: t.selectGroup,
|
|
@@ -407,7 +408,7 @@ function yi() {
|
|
|
407
408
|
],
|
|
408
409
|
attrs: { filterable: !0, allowCreate: !0 }
|
|
409
410
|
}),
|
|
410
|
-
dateViewFormat: new e({ name: "format", type: t.selectGroup, data:
|
|
411
|
+
dateViewFormat: new e({ name: "format", type: t.selectGroup, data: w(de), attrs: { filterable: !0, allowCreate: !0 } }),
|
|
411
412
|
// new PropertyConfig({ name: "valueFormat", type: PropDataType.selectGroup, data: IterEnumArraySame(DateFormatType) }),
|
|
412
413
|
showLoading: new e({ name: "showLoading", type: t.switch }),
|
|
413
414
|
loadingText: new e({ name: "loadingText" }),
|
|
@@ -428,11 +429,11 @@ function yi() {
|
|
|
428
429
|
label_optionitems_1: new e({ name: "label", path: l.optionItems, variable: !0 }),
|
|
429
430
|
value_optionitems: new e({ name: "value", path: l.optionItems, variable: !1, title: "@valueTitle" }),
|
|
430
431
|
isopen_optionitems: new e({ name: "isopen", path: l.optionItems, variable: !1, type: t.switch }),
|
|
431
|
-
icon_optionitems: new e({ name: "icon", path: l.optionItems, variable: !1, type: t.selectGroupV2, data:
|
|
432
|
+
icon_optionitems: new e({ name: "icon", path: l.optionItems, variable: !1, type: t.selectGroupV2, data: v, attrs: { filterable: !0 } }),
|
|
432
433
|
description_optionitems: new e({ name: "description", path: l.optionItems, variable: !1 }),
|
|
433
434
|
title_optionitems: new e({ name: "title", path: l.optionItems, variable: !1 }),
|
|
434
|
-
minWidth_optionitems: new e({ name: "minWidth", path: l.optionItems, variable: !1, tp: i.label, editor: r.size, data:
|
|
435
|
-
width_optionitems: new e({ name: "width", path: l.optionItems, variable: !1, tp: i.label, editor: r.size, data:
|
|
435
|
+
minWidth_optionitems: new e({ name: "minWidth", path: l.optionItems, variable: !1, tp: i.label, editor: r.size, data: w(F) }),
|
|
436
|
+
width_optionitems: new e({ name: "width", path: l.optionItems, variable: !1, tp: i.label, editor: r.size, data: w(F) }),
|
|
436
437
|
align_optionitems: new e({ name: "align", path: l.optionItems, variable: !1, type: t.radiobutton, data: Ce }),
|
|
437
438
|
labelAlign_optionitems: new e({ name: "labelAlign", path: l.optionItems, variable: !1, type: t.selectGroup, data: Ce, attrs: { clearable: !0 } }),
|
|
438
439
|
className_optionitems: new e({ name: "className", path: l.optionItems, variable: !1, editor: r.customClass, type: t.selectGroup }),
|
|
@@ -472,6 +473,7 @@ function yi() {
|
|
|
472
473
|
a.displayLayout,
|
|
473
474
|
a.customClass,
|
|
474
475
|
a.componentWrapperClass,
|
|
476
|
+
a.componentRootClass,
|
|
475
477
|
a.css,
|
|
476
478
|
a.hidden,
|
|
477
479
|
a.mounted,
|
|
@@ -516,7 +518,7 @@ function yi() {
|
|
|
516
518
|
a.input,
|
|
517
519
|
a.tabindex,
|
|
518
520
|
a.ariaLabel
|
|
519
|
-
],
|
|
521
|
+
], u = () => J(() => import("./item-59a7c917.js")), j = () => J(() => import("./itemDetail-6356e601.js")), K = [
|
|
520
522
|
a.debounce,
|
|
521
523
|
a.placement,
|
|
522
524
|
a.popperClass,
|
|
@@ -555,7 +557,7 @@ function yi() {
|
|
|
555
557
|
a.hidden,
|
|
556
558
|
//new PropertyConfig({ name: "hidden", tp: propTypeEnum.advanced, type: PropDataType.switch }),
|
|
557
559
|
new e({ name: "shape", title: "@displayType", type: t.radiobutton, data: nn }),
|
|
558
|
-
new e({ name: "fit", type: t.selectGroup, data:
|
|
560
|
+
new e({ name: "fit", type: t.selectGroup, data: Ot })
|
|
559
561
|
], Z = [
|
|
560
562
|
a.slotable,
|
|
561
563
|
a.default,
|
|
@@ -598,7 +600,7 @@ function yi() {
|
|
|
598
600
|
return n.name = String(be()), n;
|
|
599
601
|
},
|
|
600
602
|
cloneOptionFn: (n) => {
|
|
601
|
-
const o =
|
|
603
|
+
const o = Oe(n);
|
|
602
604
|
return o.name = String(be()), o;
|
|
603
605
|
}
|
|
604
606
|
},
|
|
@@ -620,10 +622,10 @@ function yi() {
|
|
|
620
622
|
new e({ name: "showIcon", type: t.switch }),
|
|
621
623
|
new e({ name: "effect", type: t.radiobutton, data: tt }),
|
|
622
624
|
new e({ name: "type", type: t.radiobutton, data: sn }),
|
|
623
|
-
new e({ name: "titleSlot", title: "@slotTitle", tp: i.slot, data: [], type: t.html, variable: !1, options: { sfc: !0 }, visibleFn:
|
|
624
|
-
new e({ name: "default", title: "@slotDefault", tp: i.slot, data: [], type: t.html, variable: !1, options: { sfc: !0 }, visibleFn:
|
|
625
|
+
new e({ name: "titleSlot", title: "@slotTitle", tp: i.slot, data: [], type: t.html, variable: !1, options: { sfc: !0 }, visibleFn: R }),
|
|
626
|
+
new e({ name: "default", title: "@slotDefault", tp: i.slot, data: [], type: t.html, variable: !1, options: { sfc: !0 }, visibleFn: R }),
|
|
625
627
|
new e({ name: "close", tp: i.event, data: [], type: t.targetEvent, variable: !1 })
|
|
626
|
-
],
|
|
628
|
+
], G = [
|
|
627
629
|
a.slotable,
|
|
628
630
|
a.default,
|
|
629
631
|
a.content,
|
|
@@ -651,8 +653,8 @@ function yi() {
|
|
|
651
653
|
data: rn,
|
|
652
654
|
changeFn: (n, o) => {
|
|
653
655
|
var b = Vt(li);
|
|
654
|
-
b.forEach((
|
|
655
|
-
m(n == null ? void 0 : n.optionModel,
|
|
656
|
+
b.forEach((T) => {
|
|
657
|
+
m(n == null ? void 0 : n.optionModel, T, T === o, !0);
|
|
656
658
|
});
|
|
657
659
|
}
|
|
658
660
|
}),
|
|
@@ -664,7 +666,7 @@ function yi() {
|
|
|
664
666
|
name: "loadingIcon",
|
|
665
667
|
type: t.selectGroupV2,
|
|
666
668
|
variable: !1,
|
|
667
|
-
data:
|
|
669
|
+
data: v,
|
|
668
670
|
attrs: { filterable: !0, clearable: !0 },
|
|
669
671
|
visibleFn: (n) => !!c.getOption(n, "loading")
|
|
670
672
|
}),
|
|
@@ -692,8 +694,8 @@ function yi() {
|
|
|
692
694
|
new e({ name: "lineHeight", type: t.inputNumber }),
|
|
693
695
|
new e({ name: "lineColor", type: t.color }),
|
|
694
696
|
new e({ name: "displayValue", type: t.switch }),
|
|
695
|
-
new e({ name: "format", type: t.selectGroup, title: "@codeFormat", data:
|
|
696
|
-
],
|
|
697
|
+
new e({ name: "format", type: t.selectGroup, title: "@codeFormat", data: w(Xn) })
|
|
698
|
+
], A = [
|
|
697
699
|
a.content
|
|
698
700
|
], fe = [
|
|
699
701
|
new e({ name: "identifyCodeLen", type: t.inputNumber }),
|
|
@@ -711,7 +713,7 @@ function yi() {
|
|
|
711
713
|
new e({ name: "contentWidth", type: t.inputNumber, title: "@imgContentWidth" }),
|
|
712
714
|
new e({ name: "contentHeight", type: t.inputNumber, title: "@imgContentHeight" })
|
|
713
715
|
], he = [
|
|
714
|
-
new e({ name: "separatorIcon", type: t.selectGroupV2, data:
|
|
716
|
+
new e({ name: "separatorIcon", type: t.selectGroupV2, data: v, variable: !1, attrs: { filterable: !0 } }),
|
|
715
717
|
new e({ name: "separator" }),
|
|
716
718
|
new e({
|
|
717
719
|
name: l.optionItems,
|
|
@@ -964,7 +966,7 @@ function yi() {
|
|
|
964
966
|
new e({ name: "defaultValue", type: t.color, editor: r.value }),
|
|
965
967
|
new e({ name: "predefine", type: t.json, variable: !1, options: { showOptionEnable: !1 } }),
|
|
966
968
|
new e({ name: "showAlpha", type: t.switch }),
|
|
967
|
-
new e({ name: "colorFormat", type: t.radiobutton, data:
|
|
969
|
+
new e({ name: "colorFormat", type: t.radiobutton, data: w(Yn) })
|
|
968
970
|
], je = [
|
|
969
971
|
a.accordion,
|
|
970
972
|
new e({
|
|
@@ -990,7 +992,7 @@ function yi() {
|
|
|
990
992
|
return n.name = String(be()), n;
|
|
991
993
|
},
|
|
992
994
|
cloneOptionFn: (n) => {
|
|
993
|
-
const o =
|
|
995
|
+
const o = Oe(n);
|
|
994
996
|
return o.name = String(be()), o;
|
|
995
997
|
}
|
|
996
998
|
},
|
|
@@ -1048,7 +1050,7 @@ function yi() {
|
|
|
1048
1050
|
}
|
|
1049
1051
|
}),
|
|
1050
1052
|
//多行树形编辑器属于主组件部分,因此需要partName配置
|
|
1051
|
-
new e({ name: "partName", type: t.selectGroup, data:
|
|
1053
|
+
new e({ name: "partName", type: t.selectGroup, data: w(Nt), variable: !1 }),
|
|
1052
1054
|
new e({
|
|
1053
1055
|
name: "direction",
|
|
1054
1056
|
type: t.radiobutton,
|
|
@@ -1059,8 +1061,8 @@ function yi() {
|
|
|
1059
1061
|
},
|
|
1060
1062
|
variable: !1
|
|
1061
1063
|
}),
|
|
1062
|
-
new e({ name: "cellWidth", editor: r.size, data:
|
|
1063
|
-
new e({ name: "cellHeight", editor: r.size, data:
|
|
1064
|
+
new e({ name: "cellWidth", editor: r.size, data: w(F), variable: !1 }),
|
|
1065
|
+
new e({ name: "cellHeight", editor: r.size, data: w(F), variable: !1 }),
|
|
1064
1066
|
new e({
|
|
1065
1067
|
name: "direction",
|
|
1066
1068
|
type: t.radiobutton,
|
|
@@ -1258,7 +1260,7 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
1258
1260
|
new e({ name: "title" }),
|
|
1259
1261
|
new e({ name: "label" }),
|
|
1260
1262
|
new e({ name: "fullscreen", type: t.switch }),
|
|
1261
|
-
new e({ name: "top", editor: r.size, data:
|
|
1263
|
+
new e({ name: "top", editor: r.size, data: w(F) }),
|
|
1262
1264
|
new e({ name: "modal", type: t.switch }),
|
|
1263
1265
|
new e({ name: "modalClass", tp: i.popper, editor: r.customClass, variable: !1, type: t.selectGroup, options: { tipContent: "@customClassHelp" } }),
|
|
1264
1266
|
new e({ name: "appendToBody", tp: i.popper, type: t.switch }),
|
|
@@ -1275,7 +1277,7 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
1275
1277
|
new e({ name: "closeOnPressEscape", type: t.switch }),
|
|
1276
1278
|
new e({ name: "zIndex", tp: i.popper, type: t.inputNumber }),
|
|
1277
1279
|
//new PropertyConfig({ name: "headerAriaLevel" }),
|
|
1278
|
-
new e({ name: "closeIcon", type: t.selectGroupV2, variable: !1, data:
|
|
1280
|
+
new e({ name: "closeIcon", type: t.selectGroupV2, variable: !1, data: v, attrs: { filterable: !0 } }),
|
|
1279
1281
|
new e({ name: "header", title: "@slotHeader", tp: i.slot, data: [], type: t.html, variable: !1, options: { sfc: !0 } }),
|
|
1280
1282
|
new e({ name: "footer", title: "@slotFooter", tp: i.slot, data: [], type: t.html, variable: !1, options: { sfc: !0 } }),
|
|
1281
1283
|
new e({ name: "default", title: "@slotDefault", tp: i.slot, data: [], type: t.html, variable: !1, options: { sfc: !0 } }),
|
|
@@ -1288,15 +1290,15 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
1288
1290
|
new e({ name: "closeAutoFocus", tp: i.event, data: [], type: t.targetEvent, variable: !1 }),
|
|
1289
1291
|
new e({ name: "withHeader", type: t.switch }),
|
|
1290
1292
|
new e({ name: "direction", type: t.selectGroup, data: yn }),
|
|
1291
|
-
new e({ name: "size", editor: r.size, data:
|
|
1293
|
+
new e({ name: "size", editor: r.size, data: w(F) })
|
|
1292
1294
|
], _ = [
|
|
1293
|
-
new e({ name: "width", editor: r.size, variable: !1, data:
|
|
1294
|
-
new e({ name: "height", editor: r.size, variable: !1, data:
|
|
1295
|
+
new e({ name: "width", editor: r.size, variable: !1, data: w(F) }),
|
|
1296
|
+
new e({ name: "height", editor: r.size, variable: !1, data: w(F) }),
|
|
1295
1297
|
new e({ name: "title", variable: !1 }),
|
|
1296
1298
|
new e({ name: "fullscreen", type: t.switch, variable: !1 }),
|
|
1297
1299
|
new e({ name: "url", variable: !1 }),
|
|
1298
1300
|
new e({ name: "windowModal", type: t.radiobutton, data: fn, variable: !1 }),
|
|
1299
|
-
new e({ name: "windowTarget", type: t.selectGroup, data: hn, variable: !1, attrs: { allowCreate: !0, filterable: !0, placeholder:
|
|
1301
|
+
new e({ name: "windowTarget", type: t.selectGroup, data: hn, variable: !1, attrs: { allowCreate: !0, filterable: !0, placeholder: g.i18nt("designer.hint.inputIframeId") } }),
|
|
1300
1302
|
new e({ name: "withQuery", type: t.switch, variable: !1 }),
|
|
1301
1303
|
new e({ name: "encodeQuery", type: t.switch, variable: !1 }),
|
|
1302
1304
|
new e({ name: "setQueryFn", data: ["data:{urlQuery:any,rowScope:any,formData:any}", "exp:{...args:any,ctx:any}"], type: t.javascript, variable: !1, options: { addFormItem: !0, codeEdit: !0 } }),
|
|
@@ -1415,8 +1417,8 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
1415
1417
|
}),
|
|
1416
1418
|
new e({ name: "label", path: l.optionItems, variable: !1 }),
|
|
1417
1419
|
new e({ name: "columnKey", path: l.optionItems, variable: !1 }),
|
|
1418
|
-
new e({ name: "width", path: l.optionItems, editor: r.size, variable: !1, data:
|
|
1419
|
-
new e({ name: "minWidth", path: l.optionItems, editor: r.size, variable: !1, data:
|
|
1420
|
+
new e({ name: "width", path: l.optionItems, editor: r.size, variable: !1, data: w(F) }),
|
|
1421
|
+
new e({ name: "minWidth", path: l.optionItems, editor: r.size, variable: !1, data: w(F) }),
|
|
1420
1422
|
new e({ name: "fixed", path: l.optionItems, type: t.switch, variable: !1 }),
|
|
1421
1423
|
new e({ name: "renderHeader", path: l.optionItems, tp: i.event, data: ["data:any"], type: t.targetEvent, variable: !1 }),
|
|
1422
1424
|
new e({ name: "sortable", path: l.optionItems, type: t.switch, variable: !1, options: { dividerTitle: "@dataSort" } }),
|
|
@@ -1480,7 +1482,7 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
1480
1482
|
new e({ name: "gutter", type: t.inputNumber }),
|
|
1481
1483
|
new e({ name: "justify", type: t.selectGroup, data: Cn }),
|
|
1482
1484
|
new e({ name: "align", title: "@flexAlign", type: t.selectGroup, data: Pn }),
|
|
1483
|
-
new e({ name: "colHeight", title: "@gridColHeight", editor: r.size, data:
|
|
1485
|
+
new e({ name: "colHeight", title: "@gridColHeight", editor: r.size, data: w(F, [F.auto, F.em, F.px]) }),
|
|
1484
1486
|
new e({
|
|
1485
1487
|
name: "cols",
|
|
1486
1488
|
type: t.multirow,
|
|
@@ -1567,7 +1569,7 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
1567
1569
|
new e({
|
|
1568
1570
|
name: "horizontalAlign",
|
|
1569
1571
|
type: t.radiobutton,
|
|
1570
|
-
data:
|
|
1572
|
+
data: Rn,
|
|
1571
1573
|
attrs: { clearable: !0 }
|
|
1572
1574
|
})
|
|
1573
1575
|
// new PropertyConfig({
|
|
@@ -1596,7 +1598,7 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
1596
1598
|
name: "type",
|
|
1597
1599
|
title: "@displayType",
|
|
1598
1600
|
type: t.radiobutton,
|
|
1599
|
-
data:
|
|
1601
|
+
data: On
|
|
1600
1602
|
//未添加number,因校验问题 todo
|
|
1601
1603
|
}),
|
|
1602
1604
|
new e({
|
|
@@ -1625,7 +1627,7 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
1625
1627
|
a.height,
|
|
1626
1628
|
a.icon,
|
|
1627
1629
|
a.size,
|
|
1628
|
-
new e({ name: "sizeDef", editor: r.size, data:
|
|
1630
|
+
new e({ name: "sizeDef", editor: r.size, data: w(F) }),
|
|
1629
1631
|
new e({ name: "color", type: t.color })
|
|
1630
1632
|
], Yt = [
|
|
1631
1633
|
a.width,
|
|
@@ -1636,7 +1638,7 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
1636
1638
|
// shareConfig.initialIndex ,
|
|
1637
1639
|
new e({ name: "initialIndex", type: t.hidden, visibleFn: !1 }),
|
|
1638
1640
|
new e({ name: "previewSrcList", type: t.hidden, visibleFn: !1 }),
|
|
1639
|
-
new e({ name: "fit", type: t.selectGroup, data:
|
|
1641
|
+
new e({ name: "fit", type: t.selectGroup, data: Ot }),
|
|
1640
1642
|
new e({ name: "hideOnClickModal", type: t.switch }),
|
|
1641
1643
|
new e({ name: "loading", type: t.radiobutton, data: Sn }),
|
|
1642
1644
|
new e({ name: "scrollContainer", tp: i.other }),
|
|
@@ -1703,7 +1705,7 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
1703
1705
|
new e({
|
|
1704
1706
|
name: "ellipsisIcon",
|
|
1705
1707
|
type: t.selectGroupV2,
|
|
1706
|
-
data:
|
|
1708
|
+
data: v,
|
|
1707
1709
|
visibleFn: (n) => c.getOption(n, "mellipsisode") && c.getOption(n, "mode") == Pe.horizontal
|
|
1708
1710
|
}),
|
|
1709
1711
|
new e({ name: "backgroundColor", type: t.color }),
|
|
@@ -1808,7 +1810,7 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
1808
1810
|
variable: !1,
|
|
1809
1811
|
type: t.selectGroupV2,
|
|
1810
1812
|
path: l.optionItems,
|
|
1811
|
-
data:
|
|
1813
|
+
data: v,
|
|
1812
1814
|
visibleFn: y
|
|
1813
1815
|
}),
|
|
1814
1816
|
new e({
|
|
@@ -1816,7 +1818,7 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
1816
1818
|
variable: !1,
|
|
1817
1819
|
type: t.selectGroupV2,
|
|
1818
1820
|
path: l.optionItems,
|
|
1819
|
-
data:
|
|
1821
|
+
data: v,
|
|
1820
1822
|
visibleFn: y
|
|
1821
1823
|
}),
|
|
1822
1824
|
new e({
|
|
@@ -1824,7 +1826,7 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
1824
1826
|
variable: !1,
|
|
1825
1827
|
type: t.selectGroupV2,
|
|
1826
1828
|
path: l.optionItems,
|
|
1827
|
-
data:
|
|
1829
|
+
data: v,
|
|
1828
1830
|
visibleFn: y
|
|
1829
1831
|
}),
|
|
1830
1832
|
new e({
|
|
@@ -1832,7 +1834,7 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
1832
1834
|
variable: !1,
|
|
1833
1835
|
type: t.selectGroupV2,
|
|
1834
1836
|
path: l.optionItems,
|
|
1835
|
-
data:
|
|
1837
|
+
data: v,
|
|
1836
1838
|
visibleFn: y
|
|
1837
1839
|
})
|
|
1838
1840
|
//#endregion
|
|
@@ -1891,10 +1893,10 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
1891
1893
|
name: "compName",
|
|
1892
1894
|
type: t.selectGroup,
|
|
1893
1895
|
data: [
|
|
1894
|
-
new
|
|
1895
|
-
new
|
|
1896
|
-
new
|
|
1897
|
-
new
|
|
1896
|
+
new Re(s.tag, g.i18nt("designer.widgetLabel.tag")),
|
|
1897
|
+
new Re(s.text, g.i18nt("designer.widgetLabel.text")),
|
|
1898
|
+
new Re(s.button, g.i18nt("designer.widgetLabel.button")),
|
|
1899
|
+
new Re(s.link, g.i18nt("designer.widgetLabel.link"))
|
|
1898
1900
|
]
|
|
1899
1901
|
}),
|
|
1900
1902
|
new e({ name: "appendOnClick", type: t.switch }),
|
|
@@ -1921,7 +1923,7 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
1921
1923
|
const b = Wa((Fe = n.designer) == null ? void 0 : Fe.widgetList, (z) => (z == null ? void 0 : z.type) === s.textarea || (z == null ? void 0 : z.type) === s.input, !1);
|
|
1922
1924
|
return b == null ? void 0 : b.map((z) => {
|
|
1923
1925
|
const { buildVariable: ja } = mi();
|
|
1924
|
-
return new
|
|
1926
|
+
return new Re(ja(z == null ? void 0 : z.id), di.getOptions(z, l.label));
|
|
1925
1927
|
});
|
|
1926
1928
|
},
|
|
1927
1929
|
attrs: { multiple: !0 }
|
|
@@ -1981,8 +1983,8 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
1981
1983
|
// new PropertyConfig({ name: "disabled", type: PropDataType.switch }),
|
|
1982
1984
|
// new PropertyConfig({ name: "teleported", type: PropDataType.switch }),
|
|
1983
1985
|
new e({ name: "hideOnSinglePage", type: t.switch }),
|
|
1984
|
-
new e({ name: "prevIcon", type: t.selectGroupV2, variable: !1, data:
|
|
1985
|
-
new e({ name: "nextIcon", type: t.selectGroupV2, variable: !1, data:
|
|
1986
|
+
new e({ name: "prevIcon", type: t.selectGroupV2, variable: !1, data: v, attrs: { filterable: !0 } }),
|
|
1987
|
+
new e({ name: "nextIcon", type: t.selectGroupV2, variable: !1, data: v, attrs: { filterable: !0 } }),
|
|
1986
1988
|
new e({ name: "default", title: "@slotDefault", tp: i.slot, data: [], type: t.html, variable: !1, options: { sfc: !0 } }),
|
|
1987
1989
|
new e({ name: "layout", type: t.selectGroup, data: Mt, attrs: { multiple: !0 } }),
|
|
1988
1990
|
new e({ name: "pageSizes", type: t.json, variable: !1, options: { showOptionEnable: !1 } }),
|
|
@@ -2203,7 +2205,7 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
2203
2205
|
}),
|
|
2204
2206
|
new e({
|
|
2205
2207
|
name: "clearIcon",
|
|
2206
|
-
data:
|
|
2208
|
+
data: v,
|
|
2207
2209
|
type: t.selectGroupV2,
|
|
2208
2210
|
variable: !1,
|
|
2209
2211
|
visibleFn: dt
|
|
@@ -2248,7 +2250,7 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
2248
2250
|
a.direction,
|
|
2249
2251
|
a.defaultValue,
|
|
2250
2252
|
new e({ name: "active", type: t.inputNumber, attrs: { min: 0 } }),
|
|
2251
|
-
new e({ name: "space", editor: r.size, data:
|
|
2253
|
+
new e({ name: "space", editor: r.size, data: w(F) }),
|
|
2252
2254
|
new e({ name: "simple", type: t.switch }),
|
|
2253
2255
|
new e({ name: "alignCenter", type: t.switch }),
|
|
2254
2256
|
new e({ name: "finishStatus", type: t.selectGroup, data: ot }),
|
|
@@ -2301,7 +2303,7 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
2301
2303
|
o && m(n == null ? void 0 : n.optionModel, "height", null, !0);
|
|
2302
2304
|
}
|
|
2303
2305
|
}),
|
|
2304
|
-
new e({ name: "height", editor: r.size, data:
|
|
2306
|
+
new e({ name: "height", editor: r.size, data: w(F), visibleFn: ua }),
|
|
2305
2307
|
/**屏幕阅读器,暂时用不到 */
|
|
2306
2308
|
// new PropertyConfig({tp: propTypeEnum.advanced,
|
|
2307
2309
|
// name: "rangeStartLabel", visibleFn: (props: PropertyObject) => {
|
|
@@ -2378,12 +2380,12 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
2378
2380
|
new e({ name: "activeText" }),
|
|
2379
2381
|
new e({ name: "inactiveText" }),
|
|
2380
2382
|
new e({ name: "inlinePrompt", type: t.switch }),
|
|
2381
|
-
new e({ name: "activeIcon", type: t.selectGroupV2, variable: !1, data:
|
|
2382
|
-
new e({ name: "inactiveIcon", type: t.selectGroupV2, variable: !1, data:
|
|
2383
|
-
new e({ name: "activeActionIcon", type: t.selectGroupV2, variable: !1, data:
|
|
2384
|
-
new e({ name: "inactiveActionIcon", type: t.selectGroupV2, variable: !1, data:
|
|
2383
|
+
new e({ name: "activeIcon", type: t.selectGroupV2, variable: !1, data: v, attrs: { filterable: !0 } }),
|
|
2384
|
+
new e({ name: "inactiveIcon", type: t.selectGroupV2, variable: !1, data: v, attrs: { filterable: !0 } }),
|
|
2385
|
+
new e({ name: "activeActionIcon", type: t.selectGroupV2, variable: !1, data: v, attrs: { filterable: !0 } }),
|
|
2386
|
+
new e({ name: "inactiveActionIcon", type: t.selectGroupV2, variable: !1, data: v, attrs: { filterable: !0 } }),
|
|
2385
2387
|
new e({ name: "beforeChange", tp: i.event, title: "eq", data: [], type: t.targetEvent, variable: !1 }),
|
|
2386
|
-
new e({ name: "valueType", type: t.radiobutton, variable: !1, data:
|
|
2388
|
+
new e({ name: "valueType", type: t.radiobutton, variable: !1, data: Gn, options: { dividerTitle: "@switchValueTypeTitle" } }),
|
|
2387
2389
|
new e({ name: "activeValue", type: Xe }),
|
|
2388
2390
|
new e({ name: "inactiveValue", type: Xe }),
|
|
2389
2391
|
new e({ name: "defaultValue", type: Xe, editor: r.value })
|
|
@@ -2455,21 +2457,21 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
2455
2457
|
}
|
|
2456
2458
|
}),
|
|
2457
2459
|
new e({ name: "defaultValue", type: t.hidden, variable: !1, options: { addFormItem: !1 } }),
|
|
2458
|
-
new e({ name: "type", title: "@displayType", type: t.radiobutton, data:
|
|
2460
|
+
new e({ name: "type", title: "@displayType", type: t.radiobutton, data: An }),
|
|
2459
2461
|
new e({
|
|
2460
2462
|
name: "closable",
|
|
2461
2463
|
type: t.switch,
|
|
2462
2464
|
changeFn: (n, o) => {
|
|
2463
|
-
var b = f(n == null ? void 0 : n.optionModel, "addable"),
|
|
2464
|
-
m(n == null ? void 0 : n.optionModel, "editable", b &&
|
|
2465
|
+
var b = f(n == null ? void 0 : n.optionModel, "addable"), T = f(n == null ? void 0 : n.optionModel, "closable");
|
|
2466
|
+
m(n == null ? void 0 : n.optionModel, "editable", b && T, !0);
|
|
2465
2467
|
}
|
|
2466
2468
|
}),
|
|
2467
2469
|
new e({
|
|
2468
2470
|
name: "addable",
|
|
2469
2471
|
type: t.switch,
|
|
2470
2472
|
changeFn: (n, o) => {
|
|
2471
|
-
var b = f(n == null ? void 0 : n.optionModel, "addable"),
|
|
2472
|
-
m(n == null ? void 0 : n.optionModel, "editable", b &&
|
|
2473
|
+
var b = f(n == null ? void 0 : n.optionModel, "addable"), T = f(n == null ? void 0 : n.optionModel, "closable");
|
|
2474
|
+
m(n == null ? void 0 : n.optionModel, "editable", b && T, !0);
|
|
2473
2475
|
}
|
|
2474
2476
|
}),
|
|
2475
2477
|
//addable与closable已囊括,因此不需要展示
|
|
@@ -2570,7 +2572,7 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
2570
2572
|
a.icon,
|
|
2571
2573
|
a.empty,
|
|
2572
2574
|
a.tree_optionDefault,
|
|
2573
|
-
new e({ name: "nodeKey", rules: [new Ke({ required: !0, message:
|
|
2575
|
+
new e({ name: "nodeKey", rules: [new Ke({ required: !0, message: g.i18nt("designer.hint.required"), trigger: ["blur", "change"] })], visibleFn: h }),
|
|
2574
2576
|
new e({ name: "renderAfterExpand", type: t.switch }),
|
|
2575
2577
|
new e({
|
|
2576
2578
|
name: "load",
|
|
@@ -2660,11 +2662,11 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
2660
2662
|
...ut,
|
|
2661
2663
|
new e({ name: "selectDivider", type: t.none, variable: !1, options: { addFormItem: !1, dividerTitle: "@selectSetting" } }),
|
|
2662
2664
|
...mt
|
|
2663
|
-
], wt = (n) => [Dt.picture, Dt.text].includes(c.getOption(n, "listType")), vt = (n) => !c.getOption(n, "autoUpload"),
|
|
2665
|
+
], wt = (n) => [Dt.picture, Dt.text].includes(c.getOption(n, "listType")), vt = (n) => !c.getOption(n, "autoUpload"), Ra = [
|
|
2664
2666
|
a.multiple,
|
|
2665
2667
|
a.mixData("fileList"),
|
|
2666
2668
|
new e({ name: "defaultValue", type: t.hidden, visibleFn: !1 }),
|
|
2667
|
-
new e({ name: "method", type: t.selectGroup, data:
|
|
2669
|
+
new e({ name: "method", type: t.selectGroup, data: w(st) }),
|
|
2668
2670
|
new e({ name: "action", options: { dividerTitle: "@fileUploadSetting" } }),
|
|
2669
2671
|
new e({ name: "withCredentials", type: t.switch }),
|
|
2670
2672
|
new e({ name: "getHeader", type: t.javascript, variable: !1, data: [] }),
|
|
@@ -2681,7 +2683,7 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
2681
2683
|
new e({
|
|
2682
2684
|
name: "accept",
|
|
2683
2685
|
type: t.selectGroup,
|
|
2684
|
-
data:
|
|
2686
|
+
data: w(Jn),
|
|
2685
2687
|
options: { tipContent: "@fileTypesHelp" },
|
|
2686
2688
|
attrs: { defaultFirstOption: !0, multiple: !0, allowCreate: !0, filterable: !0 }
|
|
2687
2689
|
}),
|
|
@@ -2703,15 +2705,15 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
2703
2705
|
new e({ name: "onBuildUrl", tp: i.event, data: ["orgUrl: string", "disposition:string"], type: t.targetEvent, variable: !1 }),
|
|
2704
2706
|
new e({ name: "isUploadSuccess", tp: i.event, data: ["response: any", "uploadFile: UploadFile", "uploadFiles: UploadFiles"], type: t.targetEvent, variable: !1 }),
|
|
2705
2707
|
a.slotable,
|
|
2706
|
-
new e({ name: "trigger", tp: i.slot, title: "@slotTrigger", type: t.html, variable: !1, options: { sfc: !0 }, visibleFn:
|
|
2707
|
-
new e({ name: "file", tp: i.slot, title: "@slotFile", type: t.html, variable: !1, options: { sfc: !0 }, visibleFn:
|
|
2708
|
-
new e({ name: "tip", tp: i.slot, title: "@slotTip", type: t.html, variable: !1, options: { sfc: !0 }, visibleFn:
|
|
2709
|
-
new e({ name: "default", tp: i.slot, title: "@slotDefault", type: t.html, variable: !1, options: { sfc: !0 }, visibleFn:
|
|
2710
|
-
],
|
|
2708
|
+
new e({ name: "trigger", tp: i.slot, title: "@slotTrigger", type: t.html, variable: !1, options: { sfc: !0 }, visibleFn: R }),
|
|
2709
|
+
new e({ name: "file", tp: i.slot, title: "@slotFile", type: t.html, variable: !1, options: { sfc: !0 }, visibleFn: R }),
|
|
2710
|
+
new e({ name: "tip", tp: i.slot, title: "@slotTip", type: t.html, variable: !1, options: { sfc: !0 }, visibleFn: R }),
|
|
2711
|
+
new e({ name: "default", tp: i.slot, title: "@slotDefault", type: t.html, variable: !1, options: { sfc: !0 }, visibleFn: R })
|
|
2712
|
+
], Oa = [
|
|
2711
2713
|
a.multiple,
|
|
2712
2714
|
a.mixData("fileList"),
|
|
2713
2715
|
new e({ name: "defaultValue", type: t.hidden, visibleFn: !1 }),
|
|
2714
|
-
new e({ name: "method", type: t.selectGroup, data:
|
|
2716
|
+
new e({ name: "method", type: t.selectGroup, data: w(st) }),
|
|
2715
2717
|
new e({ name: "action", options: { dividerTitle: "@fileUploadSetting" } }),
|
|
2716
2718
|
new e({ name: "withCredentials", type: t.switch }),
|
|
2717
2719
|
new e({ name: "getHeader", type: t.javascript, variable: !1, data: [] }),
|
|
@@ -2728,7 +2730,7 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
2728
2730
|
new e({
|
|
2729
2731
|
name: "accept",
|
|
2730
2732
|
type: t.selectGroup,
|
|
2731
|
-
data:
|
|
2733
|
+
data: w(Zn),
|
|
2732
2734
|
options: { tipContent: "@fileTypesHelp" },
|
|
2733
2735
|
attrs: { defaultFirstOption: !0, multiple: !0, allowCreate: !0, filterable: !0 }
|
|
2734
2736
|
}),
|
|
@@ -2754,13 +2756,13 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
2754
2756
|
new e({ name: "onBuildUrl", tp: i.event, data: ["orgUrl: string", "disposition:string"], type: t.targetEvent, variable: !1 }),
|
|
2755
2757
|
new e({ name: "isUploadSuccess", tp: i.event, data: ["response: any", "uploadFile: UploadFile", "uploadFiles: UploadFiles"], type: t.targetEvent, variable: !1 }),
|
|
2756
2758
|
a.slotable,
|
|
2757
|
-
new e({ name: "trigger", tp: i.slot, title: "@slotTrigger", type: t.html, variable: !1, options: { sfc: !0 }, visibleFn:
|
|
2758
|
-
new e({ name: "file", tp: i.slot, title: "@slotFile", data: ["row:{uid:Number,url:String,name:String,size:Number,status:String,percentage:Number}"], type: t.html, variable: !1, options: { sfc: !0 }, visibleFn:
|
|
2759
|
-
new e({ name: "tip", tp: i.slot, title: "@slotTip", type: t.html, variable: !1, options: { sfc: !0 }, visibleFn:
|
|
2760
|
-
new e({ name: "default", tp: i.slot, title: "@slotDefault", type: t.html, variable: !1, options: { sfc: !0 }, visibleFn:
|
|
2759
|
+
new e({ name: "trigger", tp: i.slot, title: "@slotTrigger", type: t.html, variable: !1, options: { sfc: !0 }, visibleFn: R }),
|
|
2760
|
+
new e({ name: "file", tp: i.slot, title: "@slotFile", data: ["row:{uid:Number,url:String,name:String,size:Number,status:String,percentage:Number}"], type: t.html, variable: !1, options: { sfc: !0 }, visibleFn: R }),
|
|
2761
|
+
new e({ name: "tip", tp: i.slot, title: "@slotTip", type: t.html, variable: !1, options: { sfc: !0 }, visibleFn: R }),
|
|
2762
|
+
new e({ name: "default", tp: i.slot, title: "@slotDefault", type: t.html, variable: !1, options: { sfc: !0 }, visibleFn: R })
|
|
2761
2763
|
], Sa = [
|
|
2762
|
-
new e({ name: "ctrlWidth", editor: r.size, type: t.selectGroup, data:
|
|
2763
|
-
new e({ name: "ctrlHeight", editor: r.size, type: t.selectGroup, data:
|
|
2764
|
+
new e({ name: "ctrlWidth", editor: r.size, type: t.selectGroup, data: w(F), options: { tipContent: "@customClassHelp" }, attrs: { multiple: !0, filterable: !0, allowCreate: !0, defaultFirstOption: !0 } }),
|
|
2765
|
+
new e({ name: "ctrlHeight", editor: r.size, type: t.selectGroup, data: w(F), options: { tipContent: "@customClassHelp" }, attrs: { multiple: !0, filterable: !0, allowCreate: !0, defaultFirstOption: !0 } }),
|
|
2764
2766
|
a.mixData("dataSource"),
|
|
2765
2767
|
new e({ name: "chartOption", data: ["chartData:any"], type: t.javascript, variable: !1 })
|
|
2766
2768
|
], _a = [
|
|
@@ -2775,14 +2777,14 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
2775
2777
|
a.showLoading,
|
|
2776
2778
|
a.loadingText
|
|
2777
2779
|
// new PropertyConfig({ name: "required", tp: propTypeEnum.valid, type: PropDataType.optionsEdit })
|
|
2778
|
-
],
|
|
2780
|
+
], O = (n) => {
|
|
2779
2781
|
var o = c.getOption(n, "protocal");
|
|
2780
2782
|
return o === void 0 || o === W.REMOTE;
|
|
2781
2783
|
}, bt = (n) => {
|
|
2782
|
-
["params"].forEach((
|
|
2783
|
-
f(n == null ? void 0 : n.optionModel,
|
|
2784
|
-
}), ["willFetch", "fitFetch", "errorFetch", "didFetch"].forEach((
|
|
2785
|
-
f(n == null ? void 0 : n.optionModel,
|
|
2784
|
+
["params"].forEach((T) => {
|
|
2785
|
+
f(n == null ? void 0 : n.optionModel, T) === void 0 && m(n == null ? void 0 : n.optionModel, T, [], !1);
|
|
2786
|
+
}), ["willFetch", "fitFetch", "errorFetch", "didFetch"].forEach((T) => {
|
|
2787
|
+
f(n == null ? void 0 : n.optionModel, T) === void 0 && m(n == null ? void 0 : n.optionModel, T, new ae(ei.hook, void 0, new ci()), !1);
|
|
2786
2788
|
});
|
|
2787
2789
|
}, La = [
|
|
2788
2790
|
//#region 隐藏属性
|
|
@@ -2790,9 +2792,9 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
2790
2792
|
new e({ name: "isReadonly", path: l.schema, visibleFn: !1 }),
|
|
2791
2793
|
//#endregion
|
|
2792
2794
|
new e({ name: "customClass", tp: i.style, editor: r.customClass, type: t.selectGroup, title: "@pageCssClass", options: { tipContent: "@customClassHelp" }, attrs: { multiple: !0, filterable: !0, allowCreate: !0, defaultFirstOption: !0 } }),
|
|
2793
|
-
new e({ name: "componentWrapperClass", tp: i.style, editor: r.customClass, type: t.selectGroup, title: "@compWrapCssClass", options: { tipContent: "@
|
|
2795
|
+
new e({ name: "componentWrapperClass", tp: i.style, editor: r.customClass, type: t.selectGroup, title: "@compWrapCssClass", options: { tipContent: "@compWrapCssClassHelp" }, attrs: { multiple: !0, filterable: !0, allowCreate: !0, defaultFirstOption: !0 } }),
|
|
2794
2796
|
new e({ name: "size", title: "@pageSizeP", tp: i.common, type: t.radiobutton, data: ze }),
|
|
2795
|
-
new e({ name: "layoutType", tp: i.common, type: t.radiobutton, data:
|
|
2797
|
+
new e({ name: "layoutType", tp: i.common, type: t.radiobutton, data: w(ti) }),
|
|
2796
2798
|
new e({ name: "cssCode", title: "@pageCss", tp: i.global, type: t.css, variable: !1 }),
|
|
2797
2799
|
new e({ name: "functions", title: "@globalFunctions", tp: i.global, type: t.javascript, variable: !1, options: { passExternalArgs: !1 } }),
|
|
2798
2800
|
new e({ name: "jsonVersion", tp: i.global, variable: !1 }),
|
|
@@ -2803,7 +2805,7 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
2803
2805
|
type: t.javascript,
|
|
2804
2806
|
data: ["vars:{data:any}", "config:{headers:any,url:string}"],
|
|
2805
2807
|
options: { dividerTitle: "@dataFetch", passExternalArgs: !0 },
|
|
2806
|
-
visibleFn:
|
|
2808
|
+
visibleFn: O
|
|
2807
2809
|
}),
|
|
2808
2810
|
new e({
|
|
2809
2811
|
name: "fitFetch",
|
|
@@ -2812,7 +2814,7 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
2812
2814
|
type: t.javascript,
|
|
2813
2815
|
data: ["vars:{data:any}", "response:any"],
|
|
2814
2816
|
options: { passExternalArgs: !0 },
|
|
2815
|
-
visibleFn:
|
|
2817
|
+
visibleFn: O
|
|
2816
2818
|
}),
|
|
2817
2819
|
new e({
|
|
2818
2820
|
name: "didFetch",
|
|
@@ -2821,7 +2823,7 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
2821
2823
|
type: t.javascript,
|
|
2822
2824
|
data: ["vars:{data:any}", "content:any"],
|
|
2823
2825
|
options: { passExternalArgs: !0 },
|
|
2824
|
-
visibleFn:
|
|
2826
|
+
visibleFn: O
|
|
2825
2827
|
}),
|
|
2826
2828
|
new e({
|
|
2827
2829
|
name: "errorFetch",
|
|
@@ -2830,7 +2832,7 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
2830
2832
|
type: t.javascript,
|
|
2831
2833
|
data: ["vars:{data:any}", "error:any"],
|
|
2832
2834
|
options: { passExternalArgs: !0 },
|
|
2833
|
-
visibleFn:
|
|
2835
|
+
visibleFn: O
|
|
2834
2836
|
}),
|
|
2835
2837
|
new e({ name: "pageCreated", tp: i.event, type: t.javascript, variable: !1 }),
|
|
2836
2838
|
new e({ name: "pageMounted", tp: i.event, type: t.javascript, variable: !1 }),
|
|
@@ -2849,7 +2851,7 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
2849
2851
|
editorType: k.drawer,
|
|
2850
2852
|
keys: xt.getKeys(),
|
|
2851
2853
|
labelKey: "name",
|
|
2852
|
-
itemTemplate:
|
|
2854
|
+
itemTemplate: u(),
|
|
2853
2855
|
itemDetailTemplate: j(),
|
|
2854
2856
|
tools: [
|
|
2855
2857
|
d.rank,
|
|
@@ -2871,8 +2873,8 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
2871
2873
|
data: Bn.filter((n) => [W.REMOTE, W.VALUE].includes(n.value)),
|
|
2872
2874
|
// l.value !== ProtocalType.URI
|
|
2873
2875
|
visibleFn: (n) => {
|
|
2874
|
-
var
|
|
2875
|
-
var o = (
|
|
2876
|
+
var T, ee;
|
|
2877
|
+
var o = (T = n == null ? void 0 : n.optionModel) == null ? void 0 : T.protocal, b = [];
|
|
2876
2878
|
return o === W.VALUE ? b = ["initialData", "protocal", "id", "name", "description"] : o === W.REMOTE ? b = [
|
|
2877
2879
|
"protocal",
|
|
2878
2880
|
"id",
|
|
@@ -2895,22 +2897,22 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
2895
2897
|
"fitFetch",
|
|
2896
2898
|
"errorFetch",
|
|
2897
2899
|
"didFetch"
|
|
2898
|
-
] : [W.CONFIG, W.URI].includes(o) && (b = ["protocal", "id", "name", "description"]), bt(n), (ee = Se(
|
|
2900
|
+
] : [W.CONFIG, W.URI].includes(o) && (b = ["protocal", "id", "name", "description"]), bt(n), (ee = Se(Oe(n.optionModel))) == null || ee.forEach((te) => {
|
|
2899
2901
|
var Fe;
|
|
2900
2902
|
b.includes(te) || (Fe = n.optionModel) == null || delete Fe[te];
|
|
2901
2903
|
}), !0;
|
|
2902
2904
|
},
|
|
2903
2905
|
changeFn: (n, o) => {
|
|
2904
|
-
var
|
|
2906
|
+
var T;
|
|
2905
2907
|
var b = ["protocal", "id", "name", "description"];
|
|
2906
|
-
o === W.VALUE ? b.push("initialData") : o === W.REMOTE ? b.push("url", "method", "loadType", "params", "headers", "data", "responseType", "responseEncoding", "maxContentLength", "maxBodyLength", "timeout", "withCredentials", "shouldFetch", "willFetch", "fitFetch", "errorFetch", "didFetch") : W.URI, bt(n), (
|
|
2908
|
+
o === W.VALUE ? b.push("initialData") : o === W.REMOTE ? b.push("url", "method", "loadType", "params", "headers", "data", "responseType", "responseEncoding", "maxContentLength", "maxBodyLength", "timeout", "withCredentials", "shouldFetch", "willFetch", "fitFetch", "errorFetch", "didFetch") : W.URI, bt(n), (T = Se(Oe(n.optionModel))) == null || T.forEach((ee) => {
|
|
2907
2909
|
var te;
|
|
2908
2910
|
b.includes(ee) || (te = n.optionModel) == null || delete te[ee];
|
|
2909
2911
|
});
|
|
2910
2912
|
}
|
|
2911
2913
|
}),
|
|
2912
2914
|
new e({ name: "description", path: l.schema, type: t.textarea, variable: !1, attrs: { rows: 3 } }),
|
|
2913
|
-
new e({ name: "name", path: l.schema, variable: !1, title: "@schemaName", rules: [new Ke({ required: !0, message:
|
|
2915
|
+
new e({ name: "name", path: l.schema, variable: !1, title: "@schemaName", rules: [new Ke({ required: !0, message: g.i18nt("designer.hint.required"), trigger: ["blur", "change"] })] }),
|
|
2914
2916
|
new e({
|
|
2915
2917
|
name: "initialData",
|
|
2916
2918
|
path: l.schema,
|
|
@@ -2926,8 +2928,8 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
2926
2928
|
type: t.textarea,
|
|
2927
2929
|
variable: !1,
|
|
2928
2930
|
options: { tipContent: "@initialDataHelp" },
|
|
2929
|
-
rules: [new Ke({ required: !0, message:
|
|
2930
|
-
visibleFn:
|
|
2931
|
+
rules: [new Ke({ required: !0, message: g.i18nt("designer.hint.required"), trigger: ["blur", "change"] })],
|
|
2932
|
+
visibleFn: O,
|
|
2931
2933
|
attrs: { rows: 2 }
|
|
2932
2934
|
}),
|
|
2933
2935
|
new e({
|
|
@@ -2948,7 +2950,7 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
2948
2950
|
],
|
|
2949
2951
|
newOptionFn: () => ({ sid: be() })
|
|
2950
2952
|
},
|
|
2951
|
-
visibleFn:
|
|
2953
|
+
visibleFn: O
|
|
2952
2954
|
}),
|
|
2953
2955
|
new e({
|
|
2954
2956
|
name: l.headers,
|
|
@@ -2968,7 +2970,7 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
2968
2970
|
],
|
|
2969
2971
|
newOptionFn: () => ({ sid: be() })
|
|
2970
2972
|
},
|
|
2971
|
-
visibleFn:
|
|
2973
|
+
visibleFn: O
|
|
2972
2974
|
}),
|
|
2973
2975
|
new e({ name: "name", path: l.params, variable: !1, title: "@paramName" }),
|
|
2974
2976
|
new e({ name: "value", path: l.params, variable: !1, title: "@paramValue", options: { tipContent: "@initialDataHelp" } }),
|
|
@@ -2981,52 +2983,52 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
2981
2983
|
path: l.schema,
|
|
2982
2984
|
variable: !1,
|
|
2983
2985
|
type: t.radiobutton,
|
|
2984
|
-
data:
|
|
2985
|
-
visibleFn:
|
|
2986
|
+
data: w(st),
|
|
2987
|
+
visibleFn: O
|
|
2986
2988
|
}),
|
|
2987
2989
|
new e({
|
|
2988
2990
|
name: "responseType",
|
|
2989
2991
|
path: l.schema,
|
|
2990
2992
|
variable: !1,
|
|
2991
2993
|
type: t.radiobutton,
|
|
2992
|
-
data:
|
|
2993
|
-
visibleFn:
|
|
2994
|
+
data: w(ai),
|
|
2995
|
+
visibleFn: O
|
|
2994
2996
|
}),
|
|
2995
2997
|
new e({
|
|
2996
2998
|
name: "responseEncoding",
|
|
2997
2999
|
path: l.schema,
|
|
2998
3000
|
variable: !1,
|
|
2999
3001
|
type: t.radiobutton,
|
|
3000
|
-
data:
|
|
3001
|
-
visibleFn:
|
|
3002
|
+
data: w(ni),
|
|
3003
|
+
visibleFn: O
|
|
3002
3004
|
}),
|
|
3003
3005
|
new e({
|
|
3004
3006
|
name: "maxContentLength",
|
|
3005
3007
|
path: l.schema,
|
|
3006
3008
|
variable: !1,
|
|
3007
3009
|
type: t.inputNumber,
|
|
3008
|
-
visibleFn:
|
|
3010
|
+
visibleFn: O
|
|
3009
3011
|
}),
|
|
3010
3012
|
new e({
|
|
3011
3013
|
name: "maxBodyLength",
|
|
3012
3014
|
path: l.schema,
|
|
3013
3015
|
variable: !1,
|
|
3014
3016
|
type: t.inputNumber,
|
|
3015
|
-
visibleFn:
|
|
3017
|
+
visibleFn: O
|
|
3016
3018
|
}),
|
|
3017
3019
|
new e({
|
|
3018
3020
|
name: "timeout",
|
|
3019
3021
|
path: l.schema,
|
|
3020
3022
|
variable: !1,
|
|
3021
3023
|
type: t.inputNumber,
|
|
3022
|
-
visibleFn:
|
|
3024
|
+
visibleFn: O
|
|
3023
3025
|
}),
|
|
3024
3026
|
new e({
|
|
3025
3027
|
name: "withCredentials",
|
|
3026
3028
|
path: l.schema,
|
|
3027
3029
|
variable: !1,
|
|
3028
3030
|
type: t.switch,
|
|
3029
|
-
visibleFn:
|
|
3031
|
+
visibleFn: O
|
|
3030
3032
|
}),
|
|
3031
3033
|
new e({
|
|
3032
3034
|
name: "data",
|
|
@@ -3034,14 +3036,14 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
3034
3036
|
variable: !1,
|
|
3035
3037
|
type: t.json,
|
|
3036
3038
|
options: { showOptionEnable: !1, tipContent: "@initialDataHelp" },
|
|
3037
|
-
visibleFn:
|
|
3039
|
+
visibleFn: O
|
|
3038
3040
|
}),
|
|
3039
3041
|
new e({
|
|
3040
3042
|
name: "shouldFetch",
|
|
3041
3043
|
path: l.schema,
|
|
3042
3044
|
variable: !1,
|
|
3043
3045
|
options: { tipContent: "@initialDataHelp" },
|
|
3044
|
-
visibleFn:
|
|
3046
|
+
visibleFn: O
|
|
3045
3047
|
}),
|
|
3046
3048
|
new e({
|
|
3047
3049
|
name: "willFetch",
|
|
@@ -3050,7 +3052,7 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
3050
3052
|
type: t.javascript,
|
|
3051
3053
|
data: ["vars:{data:any}", "config:{headers:any,url:string}"],
|
|
3052
3054
|
options: { dividerTitle: "@dataFetch", passExternalArgs: !0 },
|
|
3053
|
-
visibleFn:
|
|
3055
|
+
visibleFn: O
|
|
3054
3056
|
}),
|
|
3055
3057
|
new e({
|
|
3056
3058
|
name: "fitFetch",
|
|
@@ -3059,7 +3061,7 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
3059
3061
|
type: t.javascript,
|
|
3060
3062
|
data: ["vars:{data:any}", "response:any"],
|
|
3061
3063
|
options: { passExternalArgs: !0 },
|
|
3062
|
-
visibleFn:
|
|
3064
|
+
visibleFn: O
|
|
3063
3065
|
}),
|
|
3064
3066
|
new e({
|
|
3065
3067
|
name: "didFetch",
|
|
@@ -3068,7 +3070,7 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
3068
3070
|
type: t.javascript,
|
|
3069
3071
|
data: ["vars:{data:any}", "content:any"],
|
|
3070
3072
|
options: { passExternalArgs: !0 },
|
|
3071
|
-
visibleFn:
|
|
3073
|
+
visibleFn: O
|
|
3072
3074
|
}),
|
|
3073
3075
|
new e({
|
|
3074
3076
|
name: "errorFetch",
|
|
@@ -3077,7 +3079,7 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
3077
3079
|
type: t.javascript,
|
|
3078
3080
|
data: ["vars:{data:any}", "error:any"],
|
|
3079
3081
|
options: { passExternalArgs: !0 },
|
|
3080
|
-
visibleFn:
|
|
3082
|
+
visibleFn: O
|
|
3081
3083
|
})
|
|
3082
3084
|
//#endregion
|
|
3083
3085
|
], Ma = (n, o) => o.map((b) => ({ ...b, widgetType: n })), yt = {
|
|
@@ -3090,7 +3092,7 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
3090
3092
|
[s.badge]: Be,
|
|
3091
3093
|
[s.barcode]: L,
|
|
3092
3094
|
[s.breadcrumb]: he,
|
|
3093
|
-
[s.button]:
|
|
3095
|
+
[s.button]: G,
|
|
3094
3096
|
[s.card]: ie,
|
|
3095
3097
|
[s.carousel]: Le,
|
|
3096
3098
|
[s.cascader]: Ne,
|
|
@@ -3110,7 +3112,7 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
3110
3112
|
[s.dropdown]: p,
|
|
3111
3113
|
[s.eltable]: zt,
|
|
3112
3114
|
[s.empty]: M,
|
|
3113
|
-
[s.fileUpload]:
|
|
3115
|
+
[s.fileUpload]: Oa,
|
|
3114
3116
|
[s.form]: Ut,
|
|
3115
3117
|
[s.grid]: Kt,
|
|
3116
3118
|
[s.gridCol]: Bt,
|
|
@@ -3126,9 +3128,9 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
3126
3128
|
[s.range]: na,
|
|
3127
3129
|
[s.page]: La,
|
|
3128
3130
|
[s.pagination]: ia,
|
|
3129
|
-
[s.pictureUpload]:
|
|
3131
|
+
[s.pictureUpload]: Ra,
|
|
3130
3132
|
[s.progress]: la,
|
|
3131
|
-
[s.qrcode]:
|
|
3133
|
+
[s.qrcode]: A,
|
|
3132
3134
|
[s.verifycode]: fe,
|
|
3133
3135
|
[s.radio]: oa,
|
|
3134
3136
|
[s.rate]: sa,
|
|
@@ -3167,75 +3169,82 @@ type: 'normal' | 'today' | 'week' | 'next-month' | 'prev-month'
|
|
|
3167
3169
|
};
|
|
3168
3170
|
}
|
|
3169
3171
|
function fi() {
|
|
3170
|
-
const { ALLPROPERTIES:
|
|
3171
|
-
var
|
|
3172
|
-
h && K && (
|
|
3172
|
+
const { ALLPROPERTIES: v } = yi(), m = (h, C, a) => h == null ? void 0 : h.filter((x) => At(x == null ? void 0 : x.tp) ? !1 : Array.isArray(C) ? C.includes(x == null ? void 0 : x.tp) : (x == null ? void 0 : x.tp) === C), f = (h, C, a, x) => {
|
|
3173
|
+
var u = [], j = [], K = Se(C), E = Se(a);
|
|
3174
|
+
h && K && (u = K.map((D) => R(D, h, void 0, x))), E && (j = E.map((D) => R(D, s.page, void 0, x)));
|
|
3173
3175
|
var Z = [
|
|
3174
3176
|
{
|
|
3175
3177
|
index: _e.widgetSetting,
|
|
3176
|
-
title:
|
|
3178
|
+
title: g.i18nt("designer.widgetSetting"),
|
|
3177
3179
|
data: C,
|
|
3178
3180
|
props: [
|
|
3179
3181
|
{
|
|
3180
3182
|
index: "1",
|
|
3181
|
-
title:
|
|
3182
|
-
data: m(
|
|
3183
|
+
title: g.i18nt("designer.setting.commonSetting"),
|
|
3184
|
+
data: m(u, i.common),
|
|
3183
3185
|
show: !0,
|
|
3184
3186
|
default: !0
|
|
3185
3187
|
},
|
|
3186
3188
|
{
|
|
3187
3189
|
index: "2",
|
|
3188
|
-
title:
|
|
3189
|
-
data: m(
|
|
3190
|
+
title: g.i18nt("designer.setting.advancedSetting"),
|
|
3191
|
+
data: m(u, i.advanced),
|
|
3190
3192
|
show: !0,
|
|
3191
3193
|
default: !0
|
|
3192
3194
|
},
|
|
3193
3195
|
{
|
|
3194
3196
|
index: "3",
|
|
3195
|
-
title:
|
|
3196
|
-
data: m(
|
|
3197
|
+
title: g.i18nt("designer.setting.validSetting"),
|
|
3198
|
+
data: m(u, i.valid),
|
|
3197
3199
|
show: !0,
|
|
3198
3200
|
default: !1
|
|
3199
3201
|
},
|
|
3200
3202
|
{
|
|
3201
3203
|
index: "4",
|
|
3202
|
-
title:
|
|
3203
|
-
data: m(
|
|
3204
|
+
title: g.i18nt("designer.setting.eventSetting"),
|
|
3205
|
+
data: m(u, i.event),
|
|
3204
3206
|
show: !0,
|
|
3205
3207
|
default: !1
|
|
3206
3208
|
},
|
|
3207
3209
|
{
|
|
3208
3210
|
index: "5",
|
|
3209
|
-
title:
|
|
3210
|
-
data: m(
|
|
3211
|
+
title: g.i18nt("designer.setting.popperSetting"),
|
|
3212
|
+
data: m(u, i.popper),
|
|
3211
3213
|
show: !0,
|
|
3212
3214
|
default: !1
|
|
3213
3215
|
},
|
|
3214
3216
|
{
|
|
3215
3217
|
index: "6",
|
|
3216
|
-
title:
|
|
3217
|
-
data: m(
|
|
3218
|
+
title: g.i18nt("designer.setting.labelSetting"),
|
|
3219
|
+
data: m(u, i.label),
|
|
3218
3220
|
show: !0,
|
|
3219
3221
|
default: !1
|
|
3220
3222
|
},
|
|
3221
3223
|
{
|
|
3222
3224
|
index: "7",
|
|
3223
|
-
title:
|
|
3224
|
-
data: m(
|
|
3225
|
+
title: g.i18nt("designer.setting.slotSetting"),
|
|
3226
|
+
data: m(u, i.slot),
|
|
3225
3227
|
show: !0,
|
|
3226
3228
|
default: !1
|
|
3227
3229
|
},
|
|
3228
3230
|
{
|
|
3229
3231
|
index: "8",
|
|
3230
|
-
title:
|
|
3231
|
-
data: m(
|
|
3232
|
+
title: g.i18nt("designer.setting.styleSetting"),
|
|
3233
|
+
data: m(u, i.style),
|
|
3232
3234
|
show: !0,
|
|
3233
3235
|
default: !1
|
|
3234
3236
|
},
|
|
3235
3237
|
{
|
|
3236
3238
|
index: "9",
|
|
3237
|
-
title:
|
|
3238
|
-
data: m(
|
|
3239
|
+
title: g.i18nt("designer.setting.cssSetting"),
|
|
3240
|
+
data: m(u, i.css),
|
|
3241
|
+
show: !0,
|
|
3242
|
+
default: !1
|
|
3243
|
+
},
|
|
3244
|
+
{
|
|
3245
|
+
index: "10",
|
|
3246
|
+
title: g.i18nt("designer.setting.otherSetting"),
|
|
3247
|
+
data: m(u, i.other),
|
|
3239
3248
|
show: !0,
|
|
3240
3249
|
default: !1
|
|
3241
3250
|
}
|
|
@@ -3243,44 +3252,51 @@ function fi() {
|
|
|
3243
3252
|
},
|
|
3244
3253
|
{
|
|
3245
3254
|
index: _e.formSetting,
|
|
3246
|
-
title:
|
|
3255
|
+
title: g.i18nt("designer.formSetting"),
|
|
3247
3256
|
data: a,
|
|
3248
3257
|
props: [
|
|
3249
3258
|
{
|
|
3250
3259
|
index: "1",
|
|
3251
|
-
title:
|
|
3260
|
+
title: g.i18nt("designer.setting.commonSetting"),
|
|
3252
3261
|
data: m(j, i.common),
|
|
3253
3262
|
show: !0
|
|
3254
3263
|
},
|
|
3255
3264
|
{
|
|
3256
3265
|
index: "2",
|
|
3257
|
-
title:
|
|
3266
|
+
title: g.i18nt("designer.setting.advancedSetting"),
|
|
3258
3267
|
data: m(j, i.advanced),
|
|
3259
3268
|
show: !0
|
|
3260
3269
|
},
|
|
3261
3270
|
{
|
|
3262
3271
|
index: "3",
|
|
3263
|
-
title:
|
|
3272
|
+
title: g.i18nt("designer.setting.eventSetting"),
|
|
3264
3273
|
data: m(j, i.event),
|
|
3265
3274
|
show: !0
|
|
3266
3275
|
},
|
|
3267
3276
|
{
|
|
3268
3277
|
index: "6",
|
|
3269
|
-
title:
|
|
3278
|
+
title: g.i18nt("designer.setting.labelSetting"),
|
|
3270
3279
|
data: m(j, i.label),
|
|
3271
3280
|
show: !0,
|
|
3272
3281
|
default: !1
|
|
3273
3282
|
},
|
|
3274
3283
|
{
|
|
3275
3284
|
index: "7",
|
|
3276
|
-
title:
|
|
3285
|
+
title: g.i18nt("designer.setting.styleSetting"),
|
|
3277
3286
|
data: m(j, i.style),
|
|
3278
3287
|
show: !0,
|
|
3279
3288
|
default: !1
|
|
3280
3289
|
},
|
|
3290
|
+
{
|
|
3291
|
+
index: "9",
|
|
3292
|
+
title: g.i18nt("designer.setting.cssSetting"),
|
|
3293
|
+
data: m(u, i.css),
|
|
3294
|
+
show: !0,
|
|
3295
|
+
default: !1
|
|
3296
|
+
},
|
|
3281
3297
|
{
|
|
3282
3298
|
index: "8",
|
|
3283
|
-
title:
|
|
3299
|
+
title: g.i18nt("designer.setting.globalFormSet"),
|
|
3284
3300
|
data: m(j, i.global),
|
|
3285
3301
|
show: !0
|
|
3286
3302
|
}
|
|
@@ -3292,17 +3308,17 @@ function fi() {
|
|
|
3292
3308
|
var Z;
|
|
3293
3309
|
if (!h || !C)
|
|
3294
3310
|
return null;
|
|
3295
|
-
var
|
|
3311
|
+
var u = v[C], j = v[s.none];
|
|
3296
3312
|
const K = (D) => {
|
|
3297
|
-
var H = D == null ? void 0 : D.filter((Q) => Q.name === h),
|
|
3298
|
-
return
|
|
3313
|
+
var H = D == null ? void 0 : D.filter((Q) => Q.name === h), G = H == null ? void 0 : H.find((Q) => Q.path === a);
|
|
3314
|
+
return G || a || (G = H == null ? void 0 : H.find((Q) => !Q.path)), G;
|
|
3299
3315
|
};
|
|
3300
|
-
var E = K(
|
|
3316
|
+
var E = K(u);
|
|
3301
3317
|
if ((!E || (E == null ? void 0 : E.length) <= 0) && (E = K(j)), !(E != null && E.filterFn && !((Z = E == null ? void 0 : E.filterFn) != null && Z.call(E, x))))
|
|
3302
3318
|
return E;
|
|
3303
|
-
}, N = (h, C, a) => !!y(h, C, void 0, a),
|
|
3304
|
-
var
|
|
3305
|
-
return
|
|
3319
|
+
}, N = (h, C, a) => !!y(h, C, void 0, a), R = (h, C, a, x) => {
|
|
3320
|
+
var u = y(h, C, a, x);
|
|
3321
|
+
return u || (u = y(h, C, void 0, x), u) || (u = y(h, void 0, a, x), u) || (u = y(h, void 0, void 0, x)), u;
|
|
3306
3322
|
}, { components: q } = bi();
|
|
3307
3323
|
return {
|
|
3308
3324
|
propTypeList: f,
|
|
@@ -3312,7 +3328,7 @@ function fi() {
|
|
|
3312
3328
|
if (h)
|
|
3313
3329
|
return q(h);
|
|
3314
3330
|
},
|
|
3315
|
-
getPropRegistedByName:
|
|
3331
|
+
getPropRegistedByName: R
|
|
3316
3332
|
};
|
|
3317
3333
|
}
|
|
3318
3334
|
const hi = { key: 0 }, gi = Ht({ componentName: ri.SettingPanel }), Ti = /* @__PURE__ */ Ht({
|
|
@@ -3322,20 +3338,20 @@ const hi = { key: 0 }, gi = Ht({ componentName: ri.SettingPanel }), Ti = /* @__P
|
|
|
3322
3338
|
designer: null,
|
|
3323
3339
|
renderConfig: null
|
|
3324
3340
|
},
|
|
3325
|
-
setup(
|
|
3326
|
-
const f =
|
|
3341
|
+
setup(v, { expose: m }) {
|
|
3342
|
+
const f = v, { on$: y, emit$: N } = za(), { emitEvent: R, saveFormContentToStorage: q, watchPropAndSaveHistory: ne, handleEvent: h, setCssClassList: C, clearSelected: a } = qa(f.designer), { propTypeList: x } = fi(), u = Ee(() => {
|
|
3327
3343
|
var p;
|
|
3328
3344
|
return (p = f == null ? void 0 : f.designer) == null ? void 0 : p.selectedWidget;
|
|
3329
3345
|
}), j = Ee(() => {
|
|
3330
3346
|
var p;
|
|
3331
|
-
return (p =
|
|
3347
|
+
return (p = u == null ? void 0 : u.value) == null ? void 0 : p.type;
|
|
3332
3348
|
}), K = Ee({
|
|
3333
3349
|
get: () => {
|
|
3334
3350
|
var p;
|
|
3335
|
-
return ((p =
|
|
3351
|
+
return ((p = u == null ? void 0 : u.value) == null ? void 0 : p.options) || {};
|
|
3336
3352
|
},
|
|
3337
3353
|
set: (p) => {
|
|
3338
|
-
|
|
3354
|
+
u.value && (u.value.options = p);
|
|
3339
3355
|
}
|
|
3340
3356
|
}), E = Ee({
|
|
3341
3357
|
get: () => {
|
|
@@ -3347,27 +3363,27 @@ const hi = { key: 0 }, gi = Ht({ componentName: ri.SettingPanel }), Ti = /* @__P
|
|
|
3347
3363
|
}
|
|
3348
3364
|
}), Z = Ee(() => {
|
|
3349
3365
|
const p = new c();
|
|
3350
|
-
return p.optionModel = K.value, p.pageConfig = E.value, p.selectedWidget =
|
|
3366
|
+
return p.optionModel = K.value, p.pageConfig = E.value, p.selectedWidget = u.value, x(j.value, K.value, E.value, p);
|
|
3351
3367
|
}), D = ye(), H = () => {
|
|
3352
|
-
D.value || (D.value = J(() => import("./configItem-
|
|
3353
|
-
},
|
|
3368
|
+
D.value || (D.value = J(() => import("./configItem-c4020372.js")));
|
|
3369
|
+
}, G = $(_e.formSetting), Q = (p) => {
|
|
3354
3370
|
var I;
|
|
3355
3371
|
let P = !1;
|
|
3356
3372
|
return (I = p == null ? void 0 : p.props) == null || I.forEach((_) => {
|
|
3357
3373
|
P = P || It(_.data);
|
|
3358
3374
|
}), P;
|
|
3359
3375
|
}, Be = $(!1);
|
|
3360
|
-
Ie(
|
|
3361
|
-
It(p) ? (
|
|
3376
|
+
Ie(u, (p) => {
|
|
3377
|
+
It(p) ? (G.value = _e.widgetSetting, Be.value = !0) : G.value = _e.formSetting, H();
|
|
3362
3378
|
}, { immediate: !0 }), ne(l.options), Ie(E, (p) => {
|
|
3363
3379
|
q();
|
|
3364
3380
|
}, { deep: !0 });
|
|
3365
|
-
let L = {},
|
|
3366
|
-
const fe = (p) =>
|
|
3381
|
+
let L = {}, A = "";
|
|
3382
|
+
const fe = (p) => Gt(p, {
|
|
3367
3383
|
props: {
|
|
3368
3384
|
designer: f.designer,
|
|
3369
3385
|
pageConfig: E.value,
|
|
3370
|
-
selectedWidget:
|
|
3386
|
+
selectedWidget: u.value
|
|
3371
3387
|
}
|
|
3372
3388
|
}), he = ye(), Ne = $();
|
|
3373
3389
|
y(We.tooltipHandler, (p) => {
|
|
@@ -3377,50 +3393,50 @@ const hi = { key: 0 }, gi = Ht({ componentName: ri.SettingPanel }), Ti = /* @__P
|
|
|
3377
3393
|
y(We.popOverHandler, (p) => {
|
|
3378
3394
|
var _;
|
|
3379
3395
|
var P = (_ = p == null ? void 0 : p.attrs) == null ? void 0 : _.visible;
|
|
3380
|
-
!ie.value && P ? ie.value = J(() => import("./index-
|
|
3396
|
+
!ie.value && P ? ie.value = J(() => import("./index-e111d18e.js")) : ie.value = null;
|
|
3381
3397
|
var I = { ...p == null ? void 0 : p.attrs };
|
|
3382
|
-
I = fe(I), P && (
|
|
3398
|
+
I = fe(I), P && (A = "popOver", L = {
|
|
3383
3399
|
attrs: I,
|
|
3384
3400
|
events: p == null ? void 0 : p.events
|
|
3385
3401
|
});
|
|
3386
3402
|
}), Ie(ie, () => {
|
|
3387
|
-
et(
|
|
3403
|
+
et(A) || (ge.value = L.attrs, Le.value = L.events, A = "", L = {});
|
|
3388
3404
|
});
|
|
3389
3405
|
const le = ye(), Me = $(), je = $({});
|
|
3390
3406
|
y(We.drawerHandler, (p) => {
|
|
3391
3407
|
var X;
|
|
3392
3408
|
var P = (X = p == null ? void 0 : p.attrs) == null ? void 0 : X.visible;
|
|
3393
|
-
if (!le.value && P ? le.value = J(() => import("./index-
|
|
3394
|
-
var I = document.querySelector(".right-panel"), _ =
|
|
3395
|
-
V = fe(V),
|
|
3409
|
+
if (!le.value && P ? le.value = J(() => import("./index-d6cca8fc.js")) : le.value = null, P) {
|
|
3410
|
+
var I = document.querySelector(".right-panel"), _ = At(I) ? "" : getComputedStyle(I).width, V = { ...p == null ? void 0 : p.attrs, position: { right: _ } };
|
|
3411
|
+
V = fe(V), A = "drawer", L = {
|
|
3396
3412
|
attrs: V,
|
|
3397
3413
|
events: p == null ? void 0 : p.events
|
|
3398
3414
|
};
|
|
3399
3415
|
}
|
|
3400
3416
|
}), Ie(le, () => {
|
|
3401
|
-
et(
|
|
3417
|
+
et(A) || (Me.value = L.attrs, je.value = L.events, A = "", L = {});
|
|
3402
3418
|
});
|
|
3403
3419
|
const oe = ye(), De = $(), ke = $({});
|
|
3404
3420
|
y(We.editHandler, (p) => {
|
|
3405
3421
|
var V;
|
|
3406
3422
|
var P = (V = p == null ? void 0 : p.attrs) == null ? void 0 : V.visible;
|
|
3407
|
-
if (!oe.value && P ? oe.value = J(() => import("./index-
|
|
3423
|
+
if (!oe.value && P ? oe.value = J(() => import("./index-1fdb3737.js")) : oe.value = null, P) {
|
|
3408
3424
|
var I = { ...p.attrs, width: "80%" };
|
|
3409
3425
|
I = fe(I);
|
|
3410
|
-
var _ =
|
|
3426
|
+
var _ = Oe(p.events);
|
|
3411
3427
|
_ = {
|
|
3412
3428
|
..._,
|
|
3413
3429
|
confirm: (X) => {
|
|
3414
3430
|
var M;
|
|
3415
3431
|
(M = p == null ? void 0 : p.events) == null || M.confirm(X), Te(I == null ? void 0 : I.name, X);
|
|
3416
3432
|
}
|
|
3417
|
-
},
|
|
3433
|
+
}, A = "dialog", L = {
|
|
3418
3434
|
attrs: I,
|
|
3419
3435
|
events: _
|
|
3420
3436
|
};
|
|
3421
3437
|
}
|
|
3422
3438
|
}), Ie(oe, () => {
|
|
3423
|
-
et(
|
|
3439
|
+
et(A) || (De.value = L.attrs, ke.value = L.events, A = "", L = {});
|
|
3424
3440
|
});
|
|
3425
3441
|
const Te = (p, P) => {
|
|
3426
3442
|
var I;
|
|
@@ -3429,7 +3445,7 @@ const hi = { key: 0 }, gi = Ht({ componentName: ri.SettingPanel }), Ti = /* @__P
|
|
|
3429
3445
|
return;
|
|
3430
3446
|
const { cssWithPrimaryColor: _ } = vi(P, { themeColor: ((I = f == null ? void 0 : f.renderConfig) == null ? void 0 : I.themeColor) || "" });
|
|
3431
3447
|
oi(_.value), wi(P).then((V) => {
|
|
3432
|
-
|
|
3448
|
+
R(ve.pageCssUpdated, V);
|
|
3433
3449
|
});
|
|
3434
3450
|
} else
|
|
3435
3451
|
p == ve.functions && si(P);
|
|
@@ -3446,17 +3462,17 @@ const hi = { key: 0 }, gi = Ht({ componentName: ri.SettingPanel }), Ti = /* @__P
|
|
|
3446
3462
|
Ve();
|
|
3447
3463
|
}, 1200);
|
|
3448
3464
|
}), m({ emit$: N }), (p, P) => {
|
|
3449
|
-
const I =
|
|
3465
|
+
const I = Ge("el-scrollbar"), _ = Ge("el-tab-pane"), V = Ge("el-tabs"), X = Ge("el-container");
|
|
3450
3466
|
return B(), re(X, { class: "full-height-width" }, {
|
|
3451
|
-
default:
|
|
3467
|
+
default: Ae(() => [
|
|
3452
3468
|
gt(V, {
|
|
3453
3469
|
stretch: !0,
|
|
3454
3470
|
class: "full-height-tab full-width",
|
|
3455
|
-
modelValue:
|
|
3456
|
-
"onUpdate:modelValue": P[0] || (P[0] = (M) =>
|
|
3471
|
+
modelValue: G.value,
|
|
3472
|
+
"onUpdate:modelValue": P[0] || (P[0] = (M) => G.value = M),
|
|
3457
3473
|
onTabChange: H
|
|
3458
3474
|
}, {
|
|
3459
|
-
default:
|
|
3475
|
+
default: Ae(() => [
|
|
3460
3476
|
(B(!0), Ye(Tt, null, Ha(pe(Z), (M) => (B(), Ye(Tt, {
|
|
3461
3477
|
key: M.title
|
|
3462
3478
|
}, [
|
|
@@ -3466,12 +3482,12 @@ const hi = { key: 0 }, gi = Ht({ componentName: ri.SettingPanel }), Ti = /* @__P
|
|
|
3466
3482
|
name: M.index,
|
|
3467
3483
|
class: "full-height"
|
|
3468
3484
|
}, {
|
|
3469
|
-
default:
|
|
3485
|
+
default: Ae(() => [
|
|
3470
3486
|
gt(I, null, {
|
|
3471
|
-
default:
|
|
3472
|
-
|
|
3487
|
+
default: Ae(() => [
|
|
3488
|
+
G.value === M.index ? (B(), Ye("div", hi, [
|
|
3473
3489
|
(B(), re(xe(pe(D)), {
|
|
3474
|
-
designer:
|
|
3490
|
+
designer: v.designer,
|
|
3475
3491
|
propType: M,
|
|
3476
3492
|
key: pe(pi)()
|
|
3477
3493
|
}, null, 8, ["designer", "propType"]))
|
|
@@ -3486,7 +3502,7 @@ const hi = { key: 0 }, gi = Ht({ componentName: ri.SettingPanel }), Ti = /* @__P
|
|
|
3486
3502
|
]),
|
|
3487
3503
|
_: 1
|
|
3488
3504
|
}, 8, ["modelValue"]),
|
|
3489
|
-
(B(), re(xe(pe(he)), Aa(
|
|
3505
|
+
(B(), re(xe(pe(he)), Ga(Aa(Ne.value)), null, 16)),
|
|
3490
3506
|
(B(), re(xe(pe(oe)), $e(De.value, Je(ke.value)), null, 16)),
|
|
3491
3507
|
(B(), re(xe(pe(ie)), $e(ge.value, Je(Le.value)), null, 16)),
|
|
3492
3508
|
(B(), re(xe(pe(le)), $e(Me.value, Je(je.value)), null, 16))
|