hlrender 0.0.199 → 0.0.200
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-5693a3a5.js → _pdf-7c668149.js} +6 -6
- package/{_txt-cc9ff6a4.js → _txt-31429e8d.js} +6 -6
- package/{_unsupport-fec00214.js → _unsupport-35f551f9.js} +1 -1
- package/{affix-widget-e83690e6.js → affix-widget-034c7d4d.js} +16 -16
- package/{alert-widget-6e4122a0.js → alert-widget-a48330b2.js} +16 -16
- package/{anchor-widget-433cca12.js → anchor-widget-037639ea.js} +13 -13
- package/{auto-complete-widget-94f0bf82.js → auto-complete-widget-e4e86d9e.js} +16 -16
- package/{avatar-widget-0373b089.js → avatar-widget-d1c793cc.js} +16 -16
- package/{backtop-widget-ee4874e4.js → backtop-widget-6b1ebbe7.js} +16 -16
- package/{badge-widget-56550313.js → badge-widget-998855b5.js} +16 -16
- package/{barcode-widget-3ac11e9e.js → barcode-widget-ef9f4287.js} +13 -13
- package/{baseImp-79376d04.js → baseImp-242db99f.js} +106 -108
- package/{breadcrumb-widget-d6a3ea52.js → breadcrumb-widget-7dc796c1.js} +13 -13
- package/{button-widget-aa311e6c.js → button-widget-0c934082.js} +16 -16
- package/{cache-widget-feac9f7d.js → cache-widget-c934288d.js} +15 -15
- package/{card-widget-18cd6661.js → card-widget-07f24989.js} +14 -14
- package/{carousel-widget-0f89e75b.js → carousel-widget-6941d08e.js} +14 -14
- package/{cascader-widget-bd8f686f.js → cascader-widget-e58b3e0d.js} +15 -15
- package/{chart-widget-df52a80e.js → chart-widget-5e56fdb4.js} +13 -13
- package/{checkbox-widget-49d4c657.js → checkbox-widget-6d68ec7d.js} +15 -15
- package/{collapse-widget-b874885b.js → collapse-widget-644b208e.js} +14 -14
- package/{color-picker-widget-df3ff6db.js → color-picker-widget-1c40bd02.js} +15 -15
- package/{cont-cell-widget-159e50ef.js → cont-cell-widget-732eefe6.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-abcba0d4.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-e08c9390.js} +5 -5
- package/{cont-widget-47e8d275.js → cont-widget-effc69e5.js} +5 -5
- package/{content-wrapper-21a9e51b.js → content-wrapper-9d93e627.js} +7 -7
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-159b5487.js → content-wrapper.vue_vue_type_script_setup_true_lang-55618b6d.js} +3 -3
- package/{date-picker-range-widget-b05d4879.js → date-picker-range-widget-3bf58f7a.js} +15 -15
- package/{date-picker-widget-f7bba7ad.js → date-picker-widget-b8122ef8.js} +15 -15
- package/default-slot-widget-a0f65dd8.js +26 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-8343af69.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-fee41121.js} +7 -7
- package/{descriptions-widget-181e7daa.js → descriptions-widget-d7051753.js} +14 -14
- package/{dialog-0acb2540.js → dialog-cb26ee83.js} +2 -2
- package/{dialog-widget-1dd9299a.js → dialog-widget-f3ed3043.js} +15 -15
- package/{divider-widget-6d4d7b57.js → divider-widget-d40312e4.js} +16 -16
- package/{drag-wrapper-571e1bf5.js → drag-wrapper-0e14be76.js} +6 -6
- package/{drawer-widget-d8ac79e3.js → drawer-widget-c43ea91b.js} +15 -15
- package/{dropdown-widget-06ab98de.js → dropdown-widget-ebc65be4.js} +14 -14
- package/{empty-widget-13baa871.js → empty-widget-19f251d3.js} +16 -16
- package/{enum-type-523bc2b7.js → enum-type-1c0ae1da.js} +29 -0
- package/{enum-type-4aac0ead.js → enum-type-768f07b9.js} +1 -1
- package/{expression-8dec47fe.js → expression-d514d13e.js} +2 -2
- package/feedback-widget-c40ced49.js +26 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-8af4ae9f.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-ee1ab63a.js} +5 -5
- package/{fieldobj-b9dc0fa4.js → fieldobj-5eca64a8.js} +1 -1
- package/{file-upload-widget-962de378.js → file-upload-widget-0af7e6b0.js} +20 -20
- package/{form-item-wrapper-d3ad2de0.js → form-item-wrapper-b761d512.js} +11 -11
- package/{form-widget-ef09a16a.js → form-widget-dba47daa.js} +10 -10
- package/{grid-col-widget-d4acebd9.js → grid-col-widget-1b5681fb.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-9f4143f4.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-cc5d3edc.js} +5 -5
- package/{grid-widget-59dc4c39.js → grid-widget-3ecf6a11.js} +5 -5
- package/{html-text-widget-3b6ee038.js → html-text-widget-36485f97.js} +14 -14
- package/{icon-widget-a66d9a02.js → icon-widget-e36dc571.js} +13 -13
- package/{iframe-widget-c0fab6c8.js → iframe-widget-2caf0591.js} +13 -13
- package/{image-widget-80426cea.js → image-widget-f143ad7b.js} +13 -13
- package/{index-c5927286.js → index-2f190dda.js} +4 -4
- package/{index-87d3b375.js → index-38b887d7.js} +5 -5
- package/{index-b82fc973.js → index-a152420d.js} +1 -1
- package/{input-number-widget-f44c8ebc.js → input-number-widget-e5c07f89.js} +15 -15
- package/{input-widget-ace0300e.js → input-widget-279dc40a.js} +16 -16
- package/{label-wrapper-b294182f.js → label-wrapper-0b97fbf7.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-a68fc27e.js → label-wrapper.vue_vue_type_style_index_0_lang-21ba79d3.js} +3 -3
- package/{link-widget-ec449bd6.js → link-widget-5ad11be9.js} +16 -16
- package/{ltable-col-widget-51e07713.js → ltable-col-widget-0cf29ced.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-369d758f.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-4c6285fb.js} +9 -9
- package/{ltable-widget-14580904.js → ltable-widget-a51b9298.js} +5 -5
- package/{menu-widget-efb62411.js → menu-widget-f0aff412.js} +14 -14
- package/{model-widget-b8188485.js → model-widget-cf496ac9.js} +13 -13
- package/{multirow-169e628f.js → multirow-3c042f3e.js} +6 -6
- package/{multirow-widget-fffaa309.js → multirow-widget-bc212cff.js} +15 -15
- package/package.json +1 -1
- package/{pagination-widget-749ab51c.js → pagination-widget-20da3b2c.js} +13 -13
- package/{picture-upload-widget-870997b0.js → picture-upload-widget-293522c8.js} +16 -16
- package/{progress-widget-0fdf11d5.js → progress-widget-10e53b93.js} +14 -14
- package/{propresult-10fa007b.js → propresult-e4364460.js} +1 -1
- package/{qrcode-widget-4f8af10a.js → qrcode-widget-59bfecb7.js} +13 -13
- package/{radio-widget-8693eb03.js → radio-widget-b3c38fa8.js} +15 -15
- package/{range-widget-6cf5b012.js → range-widget-e5f3b45d.js} +16 -16
- package/{rate-widget-ae480517.js → rate-widget-c6a1faff.js} +15 -15
- package/render.es.js +109 -109
- package/render.umd.js +400 -408
- package/{result-widget-312936cf.js → result-widget-7bcffff4.js} +14 -14
- package/{rich-editor-widget-0b382b09.js → rich-editor-widget-4f33f6bd.js} +15 -15
- package/{router-widget-554e8fd9.js → router-widget-22f253dc.js} +13 -13
- package/{select-widget-53daaec3.js → select-widget-c63c45bb.js} +15 -15
- package/{sfc-39e2a132.js → sfc-53fae228.js} +8 -8
- package/{sfcview-d2924e26.js → sfcview-5e86900c.js} +7 -7
- package/{share-field-227e573a.js → share-field-a27c55ba.js} +8 -8
- package/{share-file-97683189.js → share-file-005d3d63.js} +6 -6
- package/{slider-widget-11f6773b.js → slider-widget-392119ee.js} +15 -15
- package/slot-5f1a47c4.js +265 -0
- package/{static-text-widget-46f29a58.js → static-text-widget-6ddc17fa.js} +14 -14
- package/{steps-widget-c694f349.js → steps-widget-94d3b751.js} +13 -13
- package/{subMenu-widget-db1f3b9c.js → subMenu-widget-31b2de2f.js} +8 -8
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-02e8aaee.js → subMenu-widget.vue_vue_type_script_setup_true_lang-705e9942.js} +3 -3
- package/{switch-widget-8f21f942.js → switch-widget-61749af2.js} +15 -15
- package/{tab-pane-widget-c45db025.js → tab-pane-widget-c08ce395.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-0352bf40.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-09274c7d.js} +5 -5
- package/table-col-widget-2571f470.js +22 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-5623617e.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-ef294d28.js} +6 -6
- package/{table-widget-eac0c746.js → table-widget-30640474.js} +15 -15
- package/{tabs-widget-1ddf6535.js → tabs-widget-736fade5.js} +7 -7
- package/{tag-widget-33cde894.js → tag-widget-0d78a155.js} +16 -16
- package/{text-widget-eec191a3.js → text-widget-2bae3f47.js} +16 -16
- package/{textarea-widget-617f4408.js → textarea-widget-b85b4356.js} +15 -15
- package/{time-picker-range-widget-f0fe2eea.js → time-picker-range-widget-15a6a246.js} +15 -15
- package/{time-picker-widget-80a02857.js → time-picker-widget-7e8ff4d5.js} +15 -15
- package/{time-select-widget-1c52c4ba.js → time-select-widget-50201f1b.js} +15 -15
- package/{tmpl-widget-6a99246c.js → tmpl-widget-d905f4b2.js} +14 -14
- package/{tree-select-widget-ffee176b.js → tree-select-widget-365313ed.js} +15 -15
- package/{tree-widget-3f55b5e2.js → tree-widget-88663bef.js} +13 -13
- package/{uuid-de039332.js → uuid-81bac653.js} +1 -1
- package/{verifycode-widget-fa1e1b23.js → verifycode-widget-3dd0e9b3.js} +13 -13
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4c03293b.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b2aca878.js} +7 -7
- package/{wrapper-widget-b770069e.js → wrapper-widget-259e5f16.js} +6 -6
- package/acorn-a3705767.js +0 -3128
- package/default-slot-widget-64643481.js +0 -26
- package/feedback-widget-170e748c.js +0 -26
- package/slot-da3b397f.js +0 -313
- package/table-col-widget-4228d3c2.js +0 -22
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
var xa = Object.defineProperty;
|
|
2
2
|
var ua = (t, e, r) => e in t ? xa(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
|
|
3
3
|
var j = (t, e, r) => (ua(t, typeof e != "symbol" ? e + "" : e, r), r);
|
|
4
|
-
import { a as t0, g as Rn, i as Wt, h as Xt, f as r0, j as Pe, k as
|
|
5
|
-
import { O as Da, C as Q, E as m0, a as wa, b as an, V as ft, c as Ae, F as
|
|
6
|
-
import { r as xn, c as $e, I as ui, e as Ta,
|
|
4
|
+
import { a as t0, g as Rn, i as Wt, h as Xt, f as r0, j as Pe, k as W0, o as P0, l as ai, d as C0, B as Fe, m as l0, n as Mr, s as la, e as Et, t as Re, p as At, q as ha, r as da, u as pa, v as va, w as ga, x as ma, y as Ba, z as y0, A as ya, C as Ea, D as R0, E as M0, F as ci, G as ba, c as ct, H as c0, I as Ca, J as fi, K as Fa, L as Aa } from "./enum-type-1c0ae1da.js";
|
|
5
|
+
import { O as Da, C as Q, E as m0, a as wa, b as an, V as ft, c as Ae, F as J0, P as cn, d as fn, S as _a, D as xi, e as Sa } from "./enum-type-768f07b9.js";
|
|
6
|
+
import { r as xn, c as $e, I as ui, e as Ta, b as x0, f as Tt, d as te, g as Ra, u as ka, h as Oa } from "./expression-d514d13e.js";
|
|
7
7
|
import { u as un, r as Pa, a as li } from "./icon-a0e0cdb0.js";
|
|
8
8
|
import * as Ha from "vue";
|
|
9
9
|
import { isRef as ee, defineAsyncComponent as Ia, h as es, watch as nr, ref as B0, computed as It, reactive as ln, shallowRef as qa } from "vue";
|
|
10
|
-
import { o as Na } from "./dialog-
|
|
10
|
+
import { o as Na } from "./dialog-cb26ee83.js";
|
|
11
11
|
import { c as at, g as La } from "./_commonjsHelpers-e7ea1525.js";
|
|
12
|
-
import { u as hi, g as di, c as za, d as Me, a as Ua, t as $a, b as Ma } from "./uuid-
|
|
12
|
+
import { u as hi, g as di, c as za, d as Me, a as Ua, t as $a, b as Ma } from "./uuid-81bac653.js";
|
|
13
13
|
import { ElMessage as De, ElMessageBox as pi, ElNotification as we } from "element-plus";
|
|
14
14
|
const sr = "#";
|
|
15
15
|
function ja() {
|
|
@@ -44,11 +44,11 @@ function kn() {
|
|
|
44
44
|
return Wt(l) ? t(" ") : t(l);
|
|
45
45
|
}) : f, i = (f, h) => t0(f) ? f == null ? void 0 : f.replace(e, function(d, v) {
|
|
46
46
|
var x = v, l = h[x];
|
|
47
|
-
return !
|
|
47
|
+
return !W0(x) && !W0(l) ? r(l) : d;
|
|
48
48
|
}) : f, o = (f, h, d, v = e) => t0(f) ? f == null ? void 0 : f.replace(v, function(x, l) {
|
|
49
49
|
var y;
|
|
50
50
|
var B = l, C = (y = P0(h)) != null && y.includes(B) ? h == null ? void 0 : h[B] : null;
|
|
51
|
-
return
|
|
51
|
+
return W0(B) ? x : d ? d(B, C) : W0(C) ? null : C;
|
|
52
52
|
}) : f;
|
|
53
53
|
return {
|
|
54
54
|
transFormula: n,
|
|
@@ -2352,19 +2352,19 @@ var he = {}, Lf = {
|
|
|
2352
2352
|
var p = o();
|
|
2353
2353
|
return this.bitwiseTo(u, Ct, p), p;
|
|
2354
2354
|
}
|
|
2355
|
-
function
|
|
2355
|
+
function yt(u, p) {
|
|
2356
2356
|
return u & ~p;
|
|
2357
2357
|
}
|
|
2358
2358
|
function s0(u) {
|
|
2359
2359
|
var p = o();
|
|
2360
|
-
return this.bitwiseTo(u,
|
|
2360
|
+
return this.bitwiseTo(u, yt, p), p;
|
|
2361
2361
|
}
|
|
2362
2362
|
function v0() {
|
|
2363
2363
|
for (var u = o(), p = 0; p < this.t; ++p)
|
|
2364
2364
|
u[p] = this.DM & ~this[p];
|
|
2365
2365
|
return u.t = this.t, u.s = ~this.s, u;
|
|
2366
2366
|
}
|
|
2367
|
-
function
|
|
2367
|
+
function Q0(u) {
|
|
2368
2368
|
var p = o();
|
|
2369
2369
|
return u < 0 ? this.rShiftTo(-u, p) : this.lShiftTo(u, p), p;
|
|
2370
2370
|
}
|
|
@@ -2402,11 +2402,11 @@ var he = {}, Lf = {
|
|
|
2402
2402
|
var E = i.ONE.shiftLeft(u);
|
|
2403
2403
|
return this.bitwiseTo(E, p, E), E;
|
|
2404
2404
|
}
|
|
2405
|
-
function
|
|
2405
|
+
function X0(u) {
|
|
2406
2406
|
return this.changeBit(u, vt);
|
|
2407
2407
|
}
|
|
2408
2408
|
function oe(u) {
|
|
2409
|
-
return this.changeBit(u,
|
|
2409
|
+
return this.changeBit(u, yt);
|
|
2410
2410
|
}
|
|
2411
2411
|
function S0(u) {
|
|
2412
2412
|
return this.changeBit(u, Ct);
|
|
@@ -2499,7 +2499,7 @@ var he = {}, Lf = {
|
|
|
2499
2499
|
E[this.t + D - p] = this.am(p - D, u[D], E, 0, 0, this.t + D - p);
|
|
2500
2500
|
E.clamp(), E.drShiftTo(1, E);
|
|
2501
2501
|
}
|
|
2502
|
-
function
|
|
2502
|
+
function V0(u) {
|
|
2503
2503
|
this.r2 = o(), this.q3 = o(), i.ONE.dlShiftTo(2 * u.t, this.r2), this.mu = this.r2.divide(u), this.m = u;
|
|
2504
2504
|
}
|
|
2505
2505
|
function Ko(u) {
|
|
@@ -2525,12 +2525,12 @@ var he = {}, Lf = {
|
|
|
2525
2525
|
function Xo(u, p, E) {
|
|
2526
2526
|
u.multiplyTo(p, E), this.reduce(E);
|
|
2527
2527
|
}
|
|
2528
|
-
|
|
2528
|
+
V0.prototype.convert = Ko, V0.prototype.revert = Zo, V0.prototype.reduce = Go, V0.prototype.mulTo = Xo, V0.prototype.sqrTo = Qo;
|
|
2529
2529
|
function Vo(u, p) {
|
|
2530
2530
|
var E = u.bitLength(), D, I = b(1), M;
|
|
2531
2531
|
if (E <= 0)
|
|
2532
2532
|
return I;
|
|
2533
|
-
E < 18 ? D = 1 : E < 48 ? D = 3 : E < 144 ? D = 4 : E < 768 ? D = 5 : D = 6, E < 8 ? M = new z(p) : p.isEven() ? M = new
|
|
2533
|
+
E < 18 ? D = 1 : E < 48 ? D = 3 : E < 144 ? D = 4 : E < 768 ? D = 5 : D = 6, E < 8 ? M = new z(p) : p.isEven() ? M = new V0(p) : M = new Nt(p);
|
|
2534
2534
|
var K = new Array(), G = 3, bt = D - 1, St = (1 << D) - 1;
|
|
2535
2535
|
if (K[1] = M.convert(this), D > 1) {
|
|
2536
2536
|
var Vt = o();
|
|
@@ -2638,7 +2638,7 @@ var he = {}, Lf = {
|
|
|
2638
2638
|
}
|
|
2639
2639
|
return !0;
|
|
2640
2640
|
}
|
|
2641
|
-
i.prototype.chunkSize = Ut, i.prototype.toRadix = R, i.prototype.fromRadix = N, i.prototype.fromNumber = k, i.prototype.bitwiseTo = nt, i.prototype.changeBit = ye, i.prototype.addTo = $t, i.prototype.dMultiply = Lo, i.prototype.dAddOffset = zo, i.prototype.multiplyLowerTo = jo, i.prototype.multiplyUpperTo = Wo, i.prototype.modInt = Jo, i.prototype.millerRabin = na, i.prototype.clone = D0, i.prototype.intValue = N0, i.prototype.byteValue = p0, i.prototype.shortValue = Pt, i.prototype.signum = n0, i.prototype.toByteArray = W, i.prototype.equals = X, i.prototype.min = tt, i.prototype.max = st, i.prototype.and = lt, i.prototype.or = mt, i.prototype.xor = Ht, i.prototype.andNot = s0, i.prototype.not = v0, i.prototype.shiftLeft =
|
|
2641
|
+
i.prototype.chunkSize = Ut, i.prototype.toRadix = R, i.prototype.fromRadix = N, i.prototype.fromNumber = k, i.prototype.bitwiseTo = nt, i.prototype.changeBit = ye, i.prototype.addTo = $t, i.prototype.dMultiply = Lo, i.prototype.dAddOffset = zo, i.prototype.multiplyLowerTo = jo, i.prototype.multiplyUpperTo = Wo, i.prototype.modInt = Jo, i.prototype.millerRabin = na, i.prototype.clone = D0, i.prototype.intValue = N0, i.prototype.byteValue = p0, i.prototype.shortValue = Pt, i.prototype.signum = n0, i.prototype.toByteArray = W, i.prototype.equals = X, i.prototype.min = tt, i.prototype.max = st, i.prototype.and = lt, i.prototype.or = mt, i.prototype.xor = Ht, i.prototype.andNot = s0, i.prototype.not = v0, i.prototype.shiftLeft = Q0, i.prototype.shiftRight = w0, i.prototype.getLowestSetBit = Be, i.prototype.bitCount = _0, i.prototype.testBit = ie, i.prototype.setBit = X0, i.prototype.clearBit = oe, i.prototype.flipBit = S0, i.prototype.add = g0, i.prototype.subtract = Ne, i.prototype.multiply = rn, i.prototype.divide = Io, i.prototype.remainder = qo, i.prototype.divideAndRemainder = No, i.prototype.modPow = Vo, i.prototype.modInverse = ta, i.prototype.pow = Mo, i.prototype.gcd = Yo, i.prototype.isProbablePrime = ra, i.prototype.square = Ho, i.prototype.Barrett = V0;
|
|
2642
2642
|
var Le, Kt, _t;
|
|
2643
2643
|
function sa(u) {
|
|
2644
2644
|
Kt[_t++] ^= u & 255, Kt[_t++] ^= u >> 8 & 255, Kt[_t++] ^= u >> 16 & 255, Kt[_t++] ^= u >> 24 & 255, _t >= sn && (_t -= sn);
|
|
@@ -2786,7 +2786,7 @@ var $f = {
|
|
|
2786
2786
|
}
|
|
2787
2787
|
};
|
|
2788
2788
|
const { BigInteger: jt } = he, ps = new jt("2"), vs = new jt("3");
|
|
2789
|
-
class
|
|
2789
|
+
class j0 {
|
|
2790
2790
|
constructor(e, r) {
|
|
2791
2791
|
this.x = r, this.q = e;
|
|
2792
2792
|
}
|
|
@@ -2806,40 +2806,40 @@ class W0 {
|
|
|
2806
2806
|
* 取反
|
|
2807
2807
|
*/
|
|
2808
2808
|
negate() {
|
|
2809
|
-
return new
|
|
2809
|
+
return new j0(this.q, this.x.negate().mod(this.q));
|
|
2810
2810
|
}
|
|
2811
2811
|
/**
|
|
2812
2812
|
* 相加
|
|
2813
2813
|
*/
|
|
2814
2814
|
add(e) {
|
|
2815
|
-
return new
|
|
2815
|
+
return new j0(this.q, this.x.add(e.toBigInteger()).mod(this.q));
|
|
2816
2816
|
}
|
|
2817
2817
|
/**
|
|
2818
2818
|
* 相减
|
|
2819
2819
|
*/
|
|
2820
2820
|
subtract(e) {
|
|
2821
|
-
return new
|
|
2821
|
+
return new j0(this.q, this.x.subtract(e.toBigInteger()).mod(this.q));
|
|
2822
2822
|
}
|
|
2823
2823
|
/**
|
|
2824
2824
|
* 相乘
|
|
2825
2825
|
*/
|
|
2826
2826
|
multiply(e) {
|
|
2827
|
-
return new
|
|
2827
|
+
return new j0(this.q, this.x.multiply(e.toBigInteger()).mod(this.q));
|
|
2828
2828
|
}
|
|
2829
2829
|
/**
|
|
2830
2830
|
* 相除
|
|
2831
2831
|
*/
|
|
2832
2832
|
divide(e) {
|
|
2833
|
-
return new
|
|
2833
|
+
return new j0(this.q, this.x.multiply(e.toBigInteger().modInverse(this.q)).mod(this.q));
|
|
2834
2834
|
}
|
|
2835
2835
|
/**
|
|
2836
2836
|
* 平方
|
|
2837
2837
|
*/
|
|
2838
2838
|
square() {
|
|
2839
|
-
return new
|
|
2839
|
+
return new j0(this.q, this.x.square().mod(this.q));
|
|
2840
2840
|
}
|
|
2841
2841
|
}
|
|
2842
|
-
class
|
|
2842
|
+
class Z0 {
|
|
2843
2843
|
constructor(e, r, n, s) {
|
|
2844
2844
|
this.curve = e, this.x = r, this.y = n, this.z = s ?? jt.ONE, this.zinv = null;
|
|
2845
2845
|
}
|
|
@@ -2865,7 +2865,7 @@ class G0 {
|
|
|
2865
2865
|
* 取反,x 轴对称点
|
|
2866
2866
|
*/
|
|
2867
2867
|
negate() {
|
|
2868
|
-
return new
|
|
2868
|
+
return new Z0(this.curve, this.x, this.y.negate(), this.z);
|
|
2869
2869
|
}
|
|
2870
2870
|
/**
|
|
2871
2871
|
* 相加
|
|
@@ -2896,7 +2896,7 @@ class G0 {
|
|
|
2896
2896
|
if (jt.ZERO.equals(h))
|
|
2897
2897
|
return jt.ZERO.equals(x) ? this.twice() : this.curve.infinity;
|
|
2898
2898
|
const l = c.add(f), B = s.multiply(a).mod(g), C = h.square().mod(g), y = h.multiply(C).mod(g), m = B.multiply(x.square()).subtract(l.multiply(C)).mod(g), b = h.multiply(m).mod(g), F = x.multiply(C.multiply(c).subtract(m)).subtract(d.multiply(y)).mod(g), _ = y.multiply(B).mod(g);
|
|
2899
|
-
return new
|
|
2899
|
+
return new Z0(this.curve, this.curve.fromBigInteger(b), this.curve.fromBigInteger(F), _);
|
|
2900
2900
|
}
|
|
2901
2901
|
/**
|
|
2902
2902
|
* 自加
|
|
@@ -2919,7 +2919,7 @@ class G0 {
|
|
|
2919
2919
|
if (!this.y.toBigInteger().signum())
|
|
2920
2920
|
return this.curve.infinity;
|
|
2921
2921
|
const e = this.x.toBigInteger(), r = this.y.toBigInteger(), n = this.z, s = this.curve.q, i = this.curve.a.toBigInteger(), o = e.square().multiply(vs).add(i.multiply(n.square())).mod(s), a = r.shiftLeft(1).multiply(n).mod(s), g = r.square().mod(s), c = g.multiply(e).multiply(n).mod(s), f = a.square().mod(s), h = o.square().subtract(c.shiftLeft(3)).mod(s), d = a.multiply(h).mod(s), v = o.multiply(c.shiftLeft(2).subtract(h)).subtract(f.shiftLeft(1).multiply(g)).mod(s), x = a.multiply(f).mod(s);
|
|
2922
|
-
return new
|
|
2922
|
+
return new Z0(this.curve, this.curve.fromBigInteger(d), this.curve.fromBigInteger(v), x);
|
|
2923
2923
|
}
|
|
2924
2924
|
/**
|
|
2925
2925
|
* 倍点计算
|
|
@@ -2941,7 +2941,7 @@ class G0 {
|
|
|
2941
2941
|
}
|
|
2942
2942
|
let Mf = class {
|
|
2943
2943
|
constructor(e, r, n) {
|
|
2944
|
-
this.q = e, this.a = this.fromBigInteger(r), this.b = this.fromBigInteger(n), this.infinity = new
|
|
2944
|
+
this.q = e, this.a = this.fromBigInteger(r), this.b = this.fromBigInteger(n), this.infinity = new Z0(this, null, null);
|
|
2945
2945
|
}
|
|
2946
2946
|
/**
|
|
2947
2947
|
* 判断两个椭圆曲线是否相等
|
|
@@ -2953,7 +2953,7 @@ let Mf = class {
|
|
|
2953
2953
|
* 生成椭圆曲线域元素
|
|
2954
2954
|
*/
|
|
2955
2955
|
fromBigInteger(e) {
|
|
2956
|
-
return new
|
|
2956
|
+
return new j0(this.q, e);
|
|
2957
2957
|
}
|
|
2958
2958
|
/**
|
|
2959
2959
|
* 解析 16 进制串为椭圆曲线点
|
|
@@ -2971,19 +2971,19 @@ let Mf = class {
|
|
|
2971
2971
|
this.q.divide(new jt("4")).add(jt.ONE),
|
|
2972
2972
|
this.q
|
|
2973
2973
|
));
|
|
2974
|
-
return n.toBigInteger().mod(ps).equals(new jt(e.substr(0, 2), 16).subtract(ps)) || (n = n.negate()), new
|
|
2974
|
+
return n.toBigInteger().mod(ps).equals(new jt(e.substr(0, 2), 16).subtract(ps)) || (n = n.negate()), new Z0(this, r, n);
|
|
2975
2975
|
case 4:
|
|
2976
2976
|
case 6:
|
|
2977
2977
|
case 7:
|
|
2978
2978
|
const s = (e.length - 2) / 2, i = e.substr(2, s), o = e.substr(s + 2, s);
|
|
2979
|
-
return new
|
|
2979
|
+
return new Z0(this, this.fromBigInteger(new jt(i, 16)), this.fromBigInteger(new jt(o, 16)));
|
|
2980
2980
|
default:
|
|
2981
2981
|
return null;
|
|
2982
2982
|
}
|
|
2983
2983
|
}
|
|
2984
2984
|
};
|
|
2985
2985
|
var jf = {
|
|
2986
|
-
ECPointFp:
|
|
2986
|
+
ECPointFp: Z0,
|
|
2987
2987
|
ECCurveFp: Mf
|
|
2988
2988
|
};
|
|
2989
2989
|
const { BigInteger: u0, SecureRandom: Wf } = he, { ECCurveFp: Kf } = jf, Zf = new Wf(), { curve: xe, G: Gf, n: gs } = Gi();
|
|
@@ -3288,7 +3288,7 @@ var yx = function(t, e) {
|
|
|
3288
3288
|
}
|
|
3289
3289
|
return Bs(px(t));
|
|
3290
3290
|
};
|
|
3291
|
-
const $0 = 0, Ex = 32,
|
|
3291
|
+
const $0 = 0, Ex = 32, Y0 = 16, je = [
|
|
3292
3292
|
214,
|
|
3293
3293
|
144,
|
|
3294
3294
|
233,
|
|
@@ -3615,7 +3615,7 @@ function ce(t, e) {
|
|
|
3615
3615
|
const r = e & 31;
|
|
3616
3616
|
return t << r | t >>> 32 - r;
|
|
3617
3617
|
}
|
|
3618
|
-
function
|
|
3618
|
+
function K0(t) {
|
|
3619
3619
|
return (je[t >>> 24 & 255] & 255) << 24 | (je[t >>> 16 & 255] & 255) << 16 | (je[t >>> 8 & 255] & 255) << 8 | je[t & 255] & 255;
|
|
3620
3620
|
}
|
|
3621
3621
|
function Ke(t) {
|
|
@@ -3629,7 +3629,7 @@ function Ax(t, e, r) {
|
|
|
3629
3629
|
for (let i = 0; i < 4; i++)
|
|
3630
3630
|
s[0] = t[4 * i] & 255, s[1] = t[4 * i + 1] & 255, s[2] = t[4 * i + 2] & 255, s[3] = t[4 * i + 3] & 255, n[i] = s[0] << 24 | s[1] << 16 | s[2] << 8 | s[3];
|
|
3631
3631
|
for (let i = 0, o; i < 32; i += 4)
|
|
3632
|
-
o = n[1] ^ n[2] ^ n[3] ^ r[i + 0], n[0] ^= Ke(
|
|
3632
|
+
o = n[1] ^ n[2] ^ n[3] ^ r[i + 0], n[0] ^= Ke(K0(o)), o = n[2] ^ n[3] ^ n[0] ^ r[i + 1], n[1] ^= Ke(K0(o)), o = n[3] ^ n[0] ^ n[1] ^ r[i + 2], n[2] ^= Ke(K0(o)), o = n[0] ^ n[1] ^ n[2] ^ r[i + 3], n[3] ^= Ke(K0(o));
|
|
3633
3633
|
for (let i = 0; i < 16; i += 4)
|
|
3634
3634
|
e[i] = n[3 - i / 4] >>> 24 & 255, e[i + 1] = n[3 - i / 4] >>> 16 & 255, e[i + 2] = n[3 - i / 4] >>> 8 & 255, e[i + 3] = n[3 - i / 4] & 255;
|
|
3635
3635
|
}
|
|
@@ -3639,7 +3639,7 @@ function Dx(t, e, r) {
|
|
|
3639
3639
|
s[0] = t[0 + 4 * i] & 255, s[1] = t[1 + 4 * i] & 255, s[2] = t[2 + 4 * i] & 255, s[3] = t[3 + 4 * i] & 255, n[i] = s[0] << 24 | s[1] << 16 | s[2] << 8 | s[3];
|
|
3640
3640
|
n[0] ^= 2746333894, n[1] ^= 1453994832, n[2] ^= 1736282519, n[3] ^= 2993693404;
|
|
3641
3641
|
for (let i = 0, o; i < 32; i += 4)
|
|
3642
|
-
o = n[1] ^ n[2] ^ n[3] ^ We[i + 0], e[i + 0] = n[0] ^= Ze(
|
|
3642
|
+
o = n[1] ^ n[2] ^ n[3] ^ We[i + 0], e[i + 0] = n[0] ^= Ze(K0(o)), o = n[2] ^ n[3] ^ n[0] ^ We[i + 1], e[i + 1] = n[1] ^= Ze(K0(o)), o = n[3] ^ n[0] ^ n[1] ^ We[i + 2], e[i + 2] = n[2] ^= Ze(K0(o)), o = n[0] ^ n[1] ^ n[2] ^ We[i + 3], e[i + 3] = n[3] ^= Ze(K0(o));
|
|
3643
3643
|
if (r === $0)
|
|
3644
3644
|
for (let i = 0, o; i < 16; i++)
|
|
3645
3645
|
o = e[i], e[i] = e[31 - i], e[31 - i] = o;
|
|
@@ -3655,7 +3655,7 @@ function ys(t, e, r, {
|
|
|
3655
3655
|
if (typeof e == "string" && (e = Bn(e)), e.length !== 128 / 8)
|
|
3656
3656
|
throw new Error("key is invalid");
|
|
3657
3657
|
if (typeof t == "string" ? r !== $0 ? t = Cx(t) : t = Bn(t) : t = [...t], (n === "pkcs#5" || n === "pkcs#7") && r !== $0) {
|
|
3658
|
-
const d =
|
|
3658
|
+
const d = Y0 - t.length % Y0;
|
|
3659
3659
|
for (let v = 0; v < d; v++)
|
|
3660
3660
|
t.push(d);
|
|
3661
3661
|
}
|
|
@@ -3663,15 +3663,15 @@ function ys(t, e, r, {
|
|
|
3663
3663
|
Dx(e, a, r);
|
|
3664
3664
|
const g = [];
|
|
3665
3665
|
let c = i, f = t.length, h = 0;
|
|
3666
|
-
for (; f >=
|
|
3666
|
+
for (; f >= Y0; ) {
|
|
3667
3667
|
const d = t.slice(h, h + 16), v = new Array(16);
|
|
3668
3668
|
if (s === "cbc")
|
|
3669
|
-
for (let x = 0; x <
|
|
3669
|
+
for (let x = 0; x < Y0; x++)
|
|
3670
3670
|
r !== $0 && (d[x] ^= c[x]);
|
|
3671
3671
|
Ax(d, v, a);
|
|
3672
|
-
for (let x = 0; x <
|
|
3672
|
+
for (let x = 0; x < Y0; x++)
|
|
3673
3673
|
s === "cbc" && r === $0 && (v[x] ^= c[x]), g[h + x] = v[x];
|
|
3674
|
-
s === "cbc" && (r !== $0 ? c = v : c = d), f -=
|
|
3674
|
+
s === "cbc" && (r !== $0 ? c = v : c = d), f -= Y0, h += Y0;
|
|
3675
3675
|
}
|
|
3676
3676
|
if ((n === "pkcs#5" || n === "pkcs#7") && r === $0) {
|
|
3677
3677
|
const d = g.length, v = g[d - 1];
|
|
@@ -3792,7 +3792,7 @@ const tr = {
|
|
|
3792
3792
|
}
|
|
3793
3793
|
}, B1 = {
|
|
3794
3794
|
delete() {
|
|
3795
|
-
return this.do(
|
|
3795
|
+
return this.do(Et.i18nt("designer.hint.confirmDelete"));
|
|
3796
3796
|
},
|
|
3797
3797
|
multiple(t) {
|
|
3798
3798
|
var e = t.map((r) => es("p", null, r));
|
|
@@ -3801,10 +3801,10 @@ const tr = {
|
|
|
3801
3801
|
do(t) {
|
|
3802
3802
|
return pi.confirm(
|
|
3803
3803
|
t,
|
|
3804
|
-
|
|
3804
|
+
Et.i18nt("designer.hint.prompt"),
|
|
3805
3805
|
{
|
|
3806
|
-
confirmButtonText:
|
|
3807
|
-
cancelButtonText:
|
|
3806
|
+
confirmButtonText: Et.i18nt("designer.hint.confirm"),
|
|
3807
|
+
cancelButtonText: Et.i18nt("designer.hint.cancel"),
|
|
3808
3808
|
type: "warning",
|
|
3809
3809
|
appendTo: "body"
|
|
3810
3810
|
}
|
|
@@ -4010,7 +4010,7 @@ function Hx(t, e, r, n) {
|
|
|
4010
4010
|
if (f != null && f.openModalAsync)
|
|
4011
4011
|
(l = f == null ? void 0 : f.openModalAsync) == null || l.call(f, v);
|
|
4012
4012
|
else {
|
|
4013
|
-
tr.error(
|
|
4013
|
+
tr.error(Et.i18nt("designer.hint.windowNotSupport"));
|
|
4014
4014
|
return;
|
|
4015
4015
|
}
|
|
4016
4016
|
else
|
|
@@ -5938,10 +5938,10 @@ function Do() {
|
|
|
5938
5938
|
if (Pt < 16)
|
|
5939
5939
|
n0 = R.high = x[l + Pt * 2] | 0, Ut = R.low = x[l + Pt * 2 + 1] | 0;
|
|
5940
5940
|
else {
|
|
5941
|
-
var N = d[Pt - 15], k = N.high, W = N.low, X = (k >>> 1 | W << 31) ^ (k >>> 8 | W << 24) ^ k >>> 7, tt = (W >>> 1 | k << 31) ^ (W >>> 8 | k << 24) ^ (W >>> 7 | k << 25), st = d[Pt - 2], nt = st.high, ot = st.low, lt = (nt >>> 19 | ot << 13) ^ (nt << 3 | ot >>> 29) ^ nt >>> 6, vt = (ot >>> 19 | nt << 13) ^ (ot << 3 | nt >>> 29) ^ (ot >>> 6 | nt << 26), mt = d[Pt - 7], Ct = mt.high, Ht = mt.low,
|
|
5941
|
+
var N = d[Pt - 15], k = N.high, W = N.low, X = (k >>> 1 | W << 31) ^ (k >>> 8 | W << 24) ^ k >>> 7, tt = (W >>> 1 | k << 31) ^ (W >>> 8 | k << 24) ^ (W >>> 7 | k << 25), st = d[Pt - 2], nt = st.high, ot = st.low, lt = (nt >>> 19 | ot << 13) ^ (nt << 3 | ot >>> 29) ^ nt >>> 6, vt = (ot >>> 19 | nt << 13) ^ (ot << 3 | nt >>> 29) ^ (ot >>> 6 | nt << 26), mt = d[Pt - 7], Ct = mt.high, Ht = mt.low, yt = d[Pt - 16], s0 = yt.high, v0 = yt.low;
|
|
5942
5942
|
Ut = tt + Ht, n0 = X + Ct + (Ut >>> 0 < tt >>> 0 ? 1 : 0), Ut = Ut + vt, n0 = n0 + lt + (Ut >>> 0 < vt >>> 0 ? 1 : 0), Ut = Ut + v0, n0 = n0 + s0 + (Ut >>> 0 < v0 >>> 0 ? 1 : 0), R.high = n0, R.low = Ut;
|
|
5943
5943
|
}
|
|
5944
|
-
var
|
|
5944
|
+
var Q0 = zt & I0 ^ ~zt & q0, w0 = kt & A0 ^ ~kt & D0, me = Bt & Dt ^ Bt & Nt ^ Dt & Nt, Be = pt & rt ^ pt & h0 ^ rt & h0, L0 = (Bt >>> 28 | pt << 4) ^ (Bt << 30 | pt >>> 2) ^ (Bt << 25 | pt >>> 7), _0 = (pt >>> 28 | Bt << 4) ^ (pt << 30 | Bt >>> 2) ^ (pt << 25 | Bt >>> 7), ie = (zt >>> 14 | kt << 18) ^ (zt >>> 18 | kt << 14) ^ (zt << 23 | kt >>> 9), ye = (kt >>> 14 | zt << 18) ^ (kt >>> 18 | zt << 14) ^ (kt << 23 | zt >>> 9), X0 = h[Pt], oe = X0.high, S0 = X0.low, $t = p0 + ye, g0 = N0 + ie + ($t >>> 0 < p0 >>> 0 ? 1 : 0), $t = $t + w0, g0 = g0 + Q0 + ($t >>> 0 < w0 >>> 0 ? 1 : 0), $t = $t + S0, g0 = g0 + oe + ($t >>> 0 < S0 >>> 0 ? 1 : 0), $t = $t + Ut, g0 = g0 + n0 + ($t >>> 0 < Ut >>> 0 ? 1 : 0), Ne = _0 + Be, rn = L0 + me + (Ne >>> 0 < _0 >>> 0 ? 1 : 0);
|
|
5945
5945
|
N0 = q0, p0 = D0, q0 = I0, D0 = A0, I0 = zt, A0 = kt, kt = d0 + $t | 0, zt = Lt + g0 + (kt >>> 0 < d0 >>> 0 ? 1 : 0) | 0, Lt = Nt, d0 = h0, Nt = Dt, h0 = rt, Dt = Bt, rt = pt, pt = $t + Ne | 0, Bt = g0 + rn + (pt >>> 0 < $t >>> 0 ? 1 : 0) | 0;
|
|
5946
5946
|
}
|
|
5947
5947
|
w = C.low = w + pt, C.high = H + Bt + (w >>> 0 < pt >>> 0 ? 1 : 0), q = y.low = q + rt, y.high = A + Dt + (q >>> 0 < rt >>> 0 ? 1 : 0), V = m.low = V + h0, m.high = L + Nt + (V >>> 0 < h0 >>> 0 ? 1 : 0), et = b.low = et + d0, b.high = Y + Lt + (et >>> 0 < d0 >>> 0 ? 1 : 0), ut = F.low = ut + kt, F.high = gt + zt + (ut >>> 0 < kt >>> 0 ? 1 : 0), ht = _.low = ht + A0, _.high = J + I0 + (ht >>> 0 < A0 >>> 0 ? 1 : 0), z = S.low = z + D0, S.high = P + q0 + (z >>> 0 < D0 >>> 0 ? 1 : 0), U = T.low = U + p0, T.high = $ + N0 + (U >>> 0 < p0 >>> 0 ? 1 : 0);
|
|
@@ -6684,7 +6684,7 @@ var Cr = {}, qu = {
|
|
|
6684
6684
|
Cr = t;
|
|
6685
6685
|
}
|
|
6686
6686
|
}, $s;
|
|
6687
|
-
function
|
|
6687
|
+
function G0() {
|
|
6688
6688
|
return $s || ($s = 1, function(t, e) {
|
|
6689
6689
|
(function(r, n, s) {
|
|
6690
6690
|
t.exports = n(xt(), Ao(), Kn());
|
|
@@ -6757,7 +6757,7 @@ var Fr = {}, Nu = {
|
|
|
6757
6757
|
function Rt() {
|
|
6758
6758
|
return Ms || (Ms = 1, function(t, e) {
|
|
6759
6759
|
(function(r, n, s) {
|
|
6760
|
-
t.exports = n(xt(),
|
|
6760
|
+
t.exports = n(xt(), G0());
|
|
6761
6761
|
})(at, function(r) {
|
|
6762
6762
|
r.lib.Cipher || function(n) {
|
|
6763
6763
|
var s = r, i = s.lib, o = i.Base, a = i.WordArray, g = i.BufferedBlockAlgorithm, c = s.enc;
|
|
@@ -7650,7 +7650,7 @@ var Ir = {}, al = {
|
|
|
7650
7650
|
function cl() {
|
|
7651
7651
|
return ei || (ei = 1, function(t, e) {
|
|
7652
7652
|
(function(r, n, s) {
|
|
7653
|
-
t.exports = n(xt(), ne(), se(),
|
|
7653
|
+
t.exports = n(xt(), ne(), se(), G0(), Rt());
|
|
7654
7654
|
})(at, function(r) {
|
|
7655
7655
|
return function() {
|
|
7656
7656
|
var n = r, s = n.lib, i = s.BlockCipher, o = n.algo, a = [], g = [], c = [], f = [], h = [], d = [], v = [], x = [], l = [], B = [];
|
|
@@ -7717,7 +7717,7 @@ var qr = {}, fl = {
|
|
|
7717
7717
|
function xl() {
|
|
7718
7718
|
return ri || (ri = 1, function(t, e) {
|
|
7719
7719
|
(function(r, n, s) {
|
|
7720
|
-
t.exports = n(xt(), ne(), se(),
|
|
7720
|
+
t.exports = n(xt(), ne(), se(), G0(), Rt());
|
|
7721
7721
|
})(at, function(r) {
|
|
7722
7722
|
return function() {
|
|
7723
7723
|
var n = r, s = n.lib, i = s.WordArray, o = s.BlockCipher, a = n.algo, g = [
|
|
@@ -8444,7 +8444,7 @@ var Nr = {}, ul = {
|
|
|
8444
8444
|
function ll() {
|
|
8445
8445
|
return ni || (ni = 1, function(t, e) {
|
|
8446
8446
|
(function(r, n, s) {
|
|
8447
|
-
t.exports = n(xt(), ne(), se(),
|
|
8447
|
+
t.exports = n(xt(), ne(), se(), G0(), Rt());
|
|
8448
8448
|
})(at, function(r) {
|
|
8449
8449
|
return function() {
|
|
8450
8450
|
var n = r, s = n.lib, i = s.StreamCipher, o = n.algo, a = o.RC4 = i.extend({
|
|
@@ -8505,7 +8505,7 @@ var Lr = {}, hl = {
|
|
|
8505
8505
|
function dl() {
|
|
8506
8506
|
return si || (si = 1, function(t, e) {
|
|
8507
8507
|
(function(r, n, s) {
|
|
8508
|
-
t.exports = n(xt(), ne(), se(),
|
|
8508
|
+
t.exports = n(xt(), ne(), se(), G0(), Rt());
|
|
8509
8509
|
})(at, function(r) {
|
|
8510
8510
|
return function() {
|
|
8511
8511
|
var n = r, s = n.lib, i = s.StreamCipher, o = n.algo, a = [], g = [], c = [], f = o.Rabbit = i.extend({
|
|
@@ -8578,7 +8578,7 @@ var zr = {}, pl = {
|
|
|
8578
8578
|
function vl() {
|
|
8579
8579
|
return ii || (ii = 1, function(t, e) {
|
|
8580
8580
|
(function(r, n, s) {
|
|
8581
|
-
t.exports = n(xt(), ne(), se(),
|
|
8581
|
+
t.exports = n(xt(), ne(), se(), G0(), Rt());
|
|
8582
8582
|
})(at, function(r) {
|
|
8583
8583
|
return function() {
|
|
8584
8584
|
var n = r, s = n.lib, i = s.StreamCipher, o = n.algo, a = [], g = [], c = [], f = o.RabbitLegacy = i.extend({
|
|
@@ -8649,7 +8649,7 @@ var Ur = {}, gl = {
|
|
|
8649
8649
|
function ml() {
|
|
8650
8650
|
return oi || (oi = 1, function(t, e) {
|
|
8651
8651
|
(function(r, n, s) {
|
|
8652
|
-
t.exports = n(xt(), ne(), se(),
|
|
8652
|
+
t.exports = n(xt(), ne(), se(), G0(), Rt());
|
|
8653
8653
|
})(at, function(r) {
|
|
8654
8654
|
return function() {
|
|
8655
8655
|
var n = r, s = n.lib, i = s.BlockCipher, o = n.algo;
|
|
@@ -9769,7 +9769,7 @@ function ml() {
|
|
|
9769
9769
|
}
|
|
9770
9770
|
(function(t, e) {
|
|
9771
9771
|
(function(r, n, s) {
|
|
9772
|
-
t.exports = n(xt(), tn(), vu(), mu(), ne(), Eu(), se(), Ao(), Wn(), Du(), Do(), Su(), Ru(), Ou(), Kn(), Iu(),
|
|
9772
|
+
t.exports = n(xt(), tn(), vu(), mu(), ne(), Eu(), se(), Ao(), Wn(), Du(), Do(), Su(), Ru(), Ou(), Kn(), Iu(), G0(), Rt(), zu(), $u(), ju(), Ku(), Gu(), Xu(), Yu(), tl(), rl(), sl(), ol(), cl(), xl(), ll(), dl(), vl(), ml());
|
|
9773
9773
|
})(at, function(r) {
|
|
9774
9774
|
return r;
|
|
9775
9775
|
});
|
|
@@ -9825,7 +9825,7 @@ class $r {
|
|
|
9825
9825
|
if (!r || r.length <= 0)
|
|
9826
9826
|
return {
|
|
9827
9827
|
success: !1,
|
|
9828
|
-
message:
|
|
9828
|
+
message: Et.i18nt("designer.hint.noData")
|
|
9829
9829
|
};
|
|
9830
9830
|
const i = e.utils.book_new(), o = s.sheetName || "Sheet1", a = n && (n == null ? void 0 : n.length) > 0 ? n : $r.buildColumns(r), g = this.buildExportData(r, a), c = e.utils.aoa_to_sheet(g.data);
|
|
9831
9831
|
return s.autoWidth !== !1 && (c["!cols"] = this.calculateColumnWidths(n, g.data)), c["!merges"] = g.merges, this.applyStyles(e, c, g.data, s), e.utils.book_append_sheet(i, c, o), this.downloadWorkbook(e, i, s.filename || "export"), {
|
|
@@ -10023,12 +10023,12 @@ function El() {
|
|
|
10023
10023
|
t.value = !0;
|
|
10024
10024
|
try {
|
|
10025
10025
|
$r.export(r, n, s).then((o) => {
|
|
10026
|
-
o.success ? tr.success(
|
|
10026
|
+
o.success ? tr.success(Et.i18nt("designer.hint.exportSuccess")) : tr.error(o.message), i(o);
|
|
10027
10027
|
});
|
|
10028
10028
|
} catch {
|
|
10029
10029
|
const a = {
|
|
10030
10030
|
success: !1,
|
|
10031
|
-
message:
|
|
10031
|
+
message: Et.i18nt("designer.hint.exportFail")
|
|
10032
10032
|
};
|
|
10033
10033
|
tr.error(a.message), i(a);
|
|
10034
10034
|
} finally {
|
|
@@ -10158,9 +10158,7 @@ function Ol(t) {
|
|
|
10158
10158
|
}
|
|
10159
10159
|
};
|
|
10160
10160
|
}
|
|
10161
|
-
const So = Ta()
|
|
10162
|
-
j0.rowScope + "", yt.i18nt("designer.var.rowScope");
|
|
10163
|
-
const To = function(t) {
|
|
10161
|
+
const So = Ta(), To = function(t) {
|
|
10164
10162
|
return {
|
|
10165
10163
|
[ft.number]: /^[-+]?(\d+\.\d+|\d+|\.\d+)$/,
|
|
10166
10164
|
[ft.letter]: /^[A-Za-z]+$/,
|
|
@@ -10210,7 +10208,7 @@ const To = function(t) {
|
|
|
10210
10208
|
* @param callback 回调函数
|
|
10211
10209
|
*/
|
|
10212
10210
|
number(t, e, r, n) {
|
|
10213
|
-
qt(ft.number, t, e, r,
|
|
10211
|
+
qt(ft.number, t, e, r, Et.i18nt("render.hint.numberFailed"), n);
|
|
10214
10212
|
},
|
|
10215
10213
|
/**
|
|
10216
10214
|
* 字母
|
|
@@ -10219,7 +10217,7 @@ const To = function(t) {
|
|
|
10219
10217
|
* @param callback 回调函数
|
|
10220
10218
|
*/
|
|
10221
10219
|
letter(t, e, r, n) {
|
|
10222
|
-
qt(ft.letter, t, e, r,
|
|
10220
|
+
qt(ft.letter, t, e, r, Et.i18nt("render.hint.letterFailed"), n);
|
|
10223
10221
|
},
|
|
10224
10222
|
/**
|
|
10225
10223
|
* 字母和数字
|
|
@@ -10228,7 +10226,7 @@ const To = function(t) {
|
|
|
10228
10226
|
* @param callback 回调函数
|
|
10229
10227
|
*/
|
|
10230
10228
|
letterAndNumber(t, e, r, n) {
|
|
10231
|
-
qt(ft.letterAndNumber, t, e, r,
|
|
10229
|
+
qt(ft.letterAndNumber, t, e, r, Et.i18nt("render.hint.letterAndNumberFailed"), n);
|
|
10232
10230
|
},
|
|
10233
10231
|
/**
|
|
10234
10232
|
* 手机号码
|
|
@@ -10237,7 +10235,7 @@ const To = function(t) {
|
|
|
10237
10235
|
* @param callback 回调函数
|
|
10238
10236
|
*/
|
|
10239
10237
|
mobilePhone(t, e, r, n) {
|
|
10240
|
-
qt(ft.mobilePhone, t, e, r,
|
|
10238
|
+
qt(ft.mobilePhone, t, e, r, Et.i18nt("render.hint.mobilePhoneFailed"), n);
|
|
10241
10239
|
},
|
|
10242
10240
|
/**
|
|
10243
10241
|
* 禁止空白字符开头
|
|
@@ -10246,7 +10244,7 @@ const To = function(t) {
|
|
|
10246
10244
|
* @param callback 回调函数
|
|
10247
10245
|
*/
|
|
10248
10246
|
noBlankStart(t, e, r, n) {
|
|
10249
|
-
qt(ft.noBlankStart, t, e, r,
|
|
10247
|
+
qt(ft.noBlankStart, t, e, r, Et.i18nt("render.hint.noBlankStartFailed"), n);
|
|
10250
10248
|
},
|
|
10251
10249
|
/**
|
|
10252
10250
|
* 禁止空白字符结尾
|
|
@@ -10255,7 +10253,7 @@ const To = function(t) {
|
|
|
10255
10253
|
* @param callback 回调函数
|
|
10256
10254
|
*/
|
|
10257
10255
|
noBlankEnd(t, e, r, n) {
|
|
10258
|
-
qt(ft.noBlankEnd, t, e, r,
|
|
10256
|
+
qt(ft.noBlankEnd, t, e, r, Et.i18nt("render.hint.noBlankEndFailed"), n);
|
|
10259
10257
|
},
|
|
10260
10258
|
/**
|
|
10261
10259
|
* 禁止以空白字符开头和结尾
|
|
@@ -10264,7 +10262,7 @@ const To = function(t) {
|
|
|
10264
10262
|
* @param callback 回调函数
|
|
10265
10263
|
*/
|
|
10266
10264
|
noBlankStartEnd(t, e, r, n) {
|
|
10267
|
-
qt(ft.noBlankStartEnd, t, e, r,
|
|
10265
|
+
qt(ft.noBlankStartEnd, t, e, r, Et.i18nt("render.hint.noBlankStartEndFailed"), n);
|
|
10268
10266
|
},
|
|
10269
10267
|
/**
|
|
10270
10268
|
* 字母开头,仅可包含数字
|
|
@@ -10273,7 +10271,7 @@ const To = function(t) {
|
|
|
10273
10271
|
* @param callback 回调函数
|
|
10274
10272
|
*/
|
|
10275
10273
|
letterStartNumberIncluded(t, e, r, n) {
|
|
10276
|
-
qt(ft.letterStartNumberIncluded, t, e, r,
|
|
10274
|
+
qt(ft.letterStartNumberIncluded, t, e, r, Et.i18nt("render.hint.letterStartNumberIncludedFailed"), n);
|
|
10277
10275
|
},
|
|
10278
10276
|
/**
|
|
10279
10277
|
* 禁止中文输入
|
|
@@ -10282,7 +10280,7 @@ const To = function(t) {
|
|
|
10282
10280
|
* @param callback 回调函数
|
|
10283
10281
|
*/
|
|
10284
10282
|
noChinese(t, e, r, n) {
|
|
10285
|
-
qt(ft.noChinese, t, e, r,
|
|
10283
|
+
qt(ft.noChinese, t, e, r, Et.i18nt("render.hint.noChineseFailed"), n);
|
|
10286
10284
|
},
|
|
10287
10285
|
/**
|
|
10288
10286
|
* 必须中文输入
|
|
@@ -10291,7 +10289,7 @@ const To = function(t) {
|
|
|
10291
10289
|
* @param callback 回调函数
|
|
10292
10290
|
*/
|
|
10293
10291
|
chinese(t, e, r, n) {
|
|
10294
|
-
qt(ft.chinese, t, e, r,
|
|
10292
|
+
qt(ft.chinese, t, e, r, Et.i18nt("render.hint.chineseFailed"), n);
|
|
10295
10293
|
},
|
|
10296
10294
|
/**
|
|
10297
10295
|
* 电子邮箱
|
|
@@ -10300,7 +10298,7 @@ const To = function(t) {
|
|
|
10300
10298
|
* @param callback 回调函数
|
|
10301
10299
|
*/
|
|
10302
10300
|
email(t, e, r, n) {
|
|
10303
|
-
qt(ft.email, t, e, r,
|
|
10301
|
+
qt(ft.email, t, e, r, Et.i18nt("render.hint.emailFailed"), n);
|
|
10304
10302
|
},
|
|
10305
10303
|
/**
|
|
10306
10304
|
* URL网址
|
|
@@ -10309,7 +10307,7 @@ const To = function(t) {
|
|
|
10309
10307
|
* @param callback 回调函数
|
|
10310
10308
|
*/
|
|
10311
10309
|
url(t, e, r, n) {
|
|
10312
|
-
qt(ft.url, t, e, r,
|
|
10310
|
+
qt(ft.url, t, e, r, Et.i18nt("render.hint.urlFailed"), n);
|
|
10313
10311
|
},
|
|
10314
10312
|
/**
|
|
10315
10313
|
* 身份证号
|
|
@@ -10318,7 +10316,7 @@ const To = function(t) {
|
|
|
10318
10316
|
* @param callback 回调函数
|
|
10319
10317
|
*/
|
|
10320
10318
|
chinaIdcard(t, e, r, n) {
|
|
10321
|
-
qt(ft.chinaIdcard, t, e, r,
|
|
10319
|
+
qt(ft.chinaIdcard, t, e, r, Et.i18nt("render.hint.chinaIdcardFailed"), n);
|
|
10322
10320
|
},
|
|
10323
10321
|
/**
|
|
10324
10322
|
* 弱密码
|
|
@@ -10327,7 +10325,7 @@ const To = function(t) {
|
|
|
10327
10325
|
* @param callback 回调函数
|
|
10328
10326
|
*/
|
|
10329
10327
|
weakPassword(t, e, r, n) {
|
|
10330
|
-
qt(ft.weakPassword, t, e, r,
|
|
10328
|
+
qt(ft.weakPassword, t, e, r, Et.i18nt("render.hint.weakPasswordFailed"), n);
|
|
10331
10329
|
},
|
|
10332
10330
|
/**
|
|
10333
10331
|
* 中度密码
|
|
@@ -10336,7 +10334,7 @@ const To = function(t) {
|
|
|
10336
10334
|
* @param callback 回调函数
|
|
10337
10335
|
*/
|
|
10338
10336
|
mediumPassword(t, e, r, n) {
|
|
10339
|
-
qt(ft.mediumPassword, t, e, r,
|
|
10337
|
+
qt(ft.mediumPassword, t, e, r, Et.i18nt("render.hint.mediumPasswordFailed"), n);
|
|
10340
10338
|
},
|
|
10341
10339
|
/**
|
|
10342
10340
|
* 强度密码
|
|
@@ -10345,10 +10343,10 @@ const To = function(t) {
|
|
|
10345
10343
|
* @param callback 回调函数
|
|
10346
10344
|
*/
|
|
10347
10345
|
strongPassword(t, e, r, n) {
|
|
10348
|
-
qt(ft.strongPassword, t, e, r,
|
|
10346
|
+
qt(ft.strongPassword, t, e, r, Et.i18nt("render.hint.strongPasswordFailed"), n);
|
|
10349
10347
|
},
|
|
10350
10348
|
required(t, e, r, n, s) {
|
|
10351
|
-
let i = s ||
|
|
10349
|
+
let i = s || Et.i18nt("render.hint.fieldRequired");
|
|
10352
10350
|
rr(To(ft.required), t, e, r, i, n);
|
|
10353
10351
|
},
|
|
10354
10352
|
/**
|
|
@@ -10454,7 +10452,7 @@ function Il(t, e, r, n) {
|
|
|
10454
10452
|
var nt = Z.getOrgType(st);
|
|
10455
10453
|
if (R.includes(nt)) {
|
|
10456
10454
|
var ot = N ? Z.getValue(st, !1, !s, i) : f(tt);
|
|
10457
|
-
nt === Q.slot ? W[tt] = B(st, tt, ot) :
|
|
10455
|
+
nt === Q.slot ? W[tt] = B(st, tt, ot) : W0(ot) || (W[tt] = ot);
|
|
10458
10456
|
} else
|
|
10459
10457
|
nt || [Q.prop].some((lt) => R.includes(lt)) && (W[tt] = st);
|
|
10460
10458
|
}
|
|
@@ -10465,10 +10463,10 @@ function Il(t, e, r, n) {
|
|
|
10465
10463
|
return N && (k = [], R.formItemFlag && (k = k.concat(["name", "defaultValue"]))), k;
|
|
10466
10464
|
}, m = (R) => {
|
|
10467
10465
|
const N = a(x0.state);
|
|
10468
|
-
N != null && ee(N) && (R.readonly = It(() => R0(N) ===
|
|
10469
|
-
var k = !o(
|
|
10466
|
+
N != null && ee(N) && (R.readonly = It(() => R0(N) === J0.readonly), R.disabled = It(() => {
|
|
10467
|
+
var k = !o(J0.readonly), W = R0(N) === J0.disabled, X = R0(N) === J0.readonly;
|
|
10470
10468
|
return k ? W : W || X;
|
|
10471
|
-
}), R.hidden = It(() => R0(N) ===
|
|
10469
|
+
}), R.hidden = It(() => R0(N) === J0.hidden), R.custom = It(() => R0(N) === J0.custom));
|
|
10472
10470
|
}, b = () => {
|
|
10473
10471
|
var R = y(t) || [], N = C([Q.icon, Q.hook, Q.variable, Q.prop, Q.dataObject], !1, (k) => {
|
|
10474
10472
|
var W = !(r != null && r.fn_attr) || (r == null ? void 0 : r.fn_attr(k)), X = !R.includes(k);
|
|
@@ -10550,7 +10548,7 @@ function Il(t, e, r, n) {
|
|
|
10550
10548
|
});
|
|
10551
10549
|
}, X = (st, nt, ot, lt = "isdefault", vt = "value") => {
|
|
10552
10550
|
var mt, Ct, Ht;
|
|
10553
|
-
return (nt || Array.isArray(ot)) && ((mt = ct(ot)) == null ? void 0 : mt.length) <= 0 ? (Ct = st == null ? void 0 : st.filter((
|
|
10551
|
+
return (nt || Array.isArray(ot)) && ((mt = ct(ot)) == null ? void 0 : mt.length) <= 0 ? (Ct = st == null ? void 0 : st.filter((yt) => yt == null ? void 0 : yt[lt])) == null ? void 0 : Ct.map((yt) => yt == null ? void 0 : yt[vt]) : (nt === !1 || Wt(nt) || !Array.isArray(ot)) && Wt(ot) ? (Ht = st == null ? void 0 : st.find((yt) => yt == null ? void 0 : yt[lt])) == null ? void 0 : Ht[vt] : ot;
|
|
10554
10552
|
};
|
|
10555
10553
|
return {
|
|
10556
10554
|
datePickerRangeDefaultValue: R,
|
|
@@ -10565,9 +10563,9 @@ function Il(t, e, r, n) {
|
|
|
10565
10563
|
const mt = a(Tt.valueKey);
|
|
10566
10564
|
c0(mt).then((Ct) => {
|
|
10567
10565
|
const Ht = a(Tt.isdefaultKey);
|
|
10568
|
-
c0(Ht).then((
|
|
10566
|
+
c0(Ht).then((yt) => {
|
|
10569
10567
|
c0(J).then((s0) => {
|
|
10570
|
-
const v0 = X(s0, vt, ot,
|
|
10568
|
+
const v0 = X(s0, vt, ot, yt, Ct);
|
|
10571
10569
|
st(v0);
|
|
10572
10570
|
});
|
|
10573
10571
|
});
|
|
@@ -10677,21 +10675,21 @@ function Il(t, e, r, n) {
|
|
|
10677
10675
|
var ot = (vt) => {
|
|
10678
10676
|
if (Wt(vt))
|
|
10679
10677
|
return !0;
|
|
10680
|
-
const mt = parseFloat(vt), Ct = parseFloat(W), Ht = parseFloat(X),
|
|
10681
|
-
return isNaN(mt) ||
|
|
10678
|
+
const mt = parseFloat(vt), Ct = parseFloat(W), Ht = parseFloat(X), yt = () => isNaN(Ct) || Wt(W) || (st ? mt >= Ct : mt > Ct), s0 = () => isNaN(Ht) || Wt(X) || (tt ? mt <= Ht : mt < Ht);
|
|
10679
|
+
return isNaN(mt) || yt() && s0();
|
|
10682
10680
|
};
|
|
10683
10681
|
const lt = (vt, mt, Ct, Ht) => {
|
|
10684
|
-
var
|
|
10685
|
-
const s0 = !Wt(vt) && (vt + "").trim() != "", v0 = !Wt(Ct) && (Ct + "").trim() != "",
|
|
10686
|
-
const
|
|
10687
|
-
return ye ? ie ? `${oe}${L0 ? S0 : ""} ${_0}` : `${
|
|
10682
|
+
var yt = "";
|
|
10683
|
+
const s0 = !Wt(vt) && (vt + "").trim() != "", v0 = !Wt(Ct) && (Ct + "").trim() != "", Q0 = "值", w0 = (L0, _0, ie, ye) => {
|
|
10684
|
+
const X0 = "<", oe = ">", S0 = "=";
|
|
10685
|
+
return ye ? ie ? `${oe}${L0 ? S0 : ""} ${_0}` : `${X0}${L0 ? S0 : ""} ${_0}` : ie ? `${_0} ${oe}${L0 ? S0 : ""}` : `${_0} ${X0}${L0 ? S0 : ""}`;
|
|
10688
10686
|
};
|
|
10689
10687
|
if (s0 && v0) {
|
|
10690
10688
|
var me = w0(mt, vt, !1, !1), Be = w0(Ht, Ct, !1, !0);
|
|
10691
|
-
|
|
10689
|
+
yt = `${me} ${Q0} ${Be}`;
|
|
10692
10690
|
} else
|
|
10693
|
-
s0 && !v0 ?
|
|
10694
|
-
return
|
|
10691
|
+
s0 && !v0 ? yt = `${Q0} ${w0(mt, vt, !0, !0)}` : !s0 && v0 && (yt = `${Q0} ${w0(mt, Ct, !1, !0)}`);
|
|
10692
|
+
return yt;
|
|
10695
10693
|
};
|
|
10696
10694
|
return {
|
|
10697
10695
|
name: nt,
|
|
@@ -10915,9 +10913,9 @@ function Nl(t) {
|
|
|
10915
10913
|
}, i = () => {
|
|
10916
10914
|
let v = {};
|
|
10917
10915
|
const x = Jr.decryptFromUrl(window.location.href);
|
|
10918
|
-
v = Object.assign(v, { [
|
|
10916
|
+
v = Object.assign(v, { [te.urlParams]: x });
|
|
10919
10917
|
const l = t == null ? void 0 : t.globalConfig;
|
|
10920
|
-
return v = Object.assign(v, { [
|
|
10918
|
+
return v = Object.assign(v, { [te.compParams]: l }), v;
|
|
10921
10919
|
}, o = (v) => {
|
|
10922
10920
|
var B, C;
|
|
10923
10921
|
let x = {};
|
|
@@ -10937,10 +10935,10 @@ function Nl(t) {
|
|
|
10937
10935
|
}, c = (v, x) => {
|
|
10938
10936
|
if (!v)
|
|
10939
10937
|
return;
|
|
10940
|
-
const l = i(), B = l[
|
|
10941
|
-
if (v ==
|
|
10938
|
+
const l = i(), B = l[te.urlParams], C = l[te.compParams];
|
|
10939
|
+
if (v == te.urlParams)
|
|
10942
10940
|
return B;
|
|
10943
|
-
if (v ==
|
|
10941
|
+
if (v == te.compParams)
|
|
10944
10942
|
return C;
|
|
10945
10943
|
const y = a(v), m = y == null ? void 0 : y.protocal, b = o(x);
|
|
10946
10944
|
let F = null;
|
|
@@ -11011,7 +11009,7 @@ const _n = (t) => typeof (t == null ? void 0 : t.value) == "boolean" ? !1 : null
|
|
|
11011
11009
|
const n = Object.assign({}, (g = (a = e == null ? void 0 : e.exposed) == null ? void 0 : a.getFormData) == null ? void 0 : g.call(a), t == null ? void 0 : t.formData);
|
|
11012
11010
|
return {
|
|
11013
11011
|
[At.sysVar]: {
|
|
11014
|
-
[
|
|
11012
|
+
[te.rowScope]: r
|
|
11015
11013
|
// [dataVar.outerParams]: _outerParams
|
|
11016
11014
|
},
|
|
11017
11015
|
[At.sysData]: n
|
|
@@ -11034,9 +11032,9 @@ const _n = (t) => typeof (t == null ? void 0 : t.value) == "boolean" ? !1 : null
|
|
|
11034
11032
|
const { updateFomula: i } = kn(), { variableWithNameExp: o } = ja();
|
|
11035
11033
|
if (n) {
|
|
11036
11034
|
var a = e == null ? void 0 : e[At.sysData];
|
|
11037
|
-
a && (s = i(s, r || {}, (c, f) =>
|
|
11035
|
+
a && (s = i(s, r || {}, (c, f) => W0(f) ? null : `${(a == null ? void 0 : a[f]) || ""}`)), (g = P0(e == null ? void 0 : e[At.sysVar])) == null || g.forEach((c) => {
|
|
11038
11036
|
var f;
|
|
11039
|
-
a = (f = e == null ? void 0 : e[At.sysVar]) == null ? void 0 : f[c], a && (s = i(s, a, (h, d) =>
|
|
11037
|
+
a = (f = e == null ? void 0 : e[At.sysVar]) == null ? void 0 : f[c], a && (s = i(s, a, (h, d) => W0(d) ? null : d, o("sysVar." + c)));
|
|
11040
11038
|
});
|
|
11041
11039
|
} else
|
|
11042
11040
|
return s = i(s, r || {}, (c, f) => f ? `${At.sysData}.${f}` : (e || (e = {}), e[At.sysData] || (e[At.sysData] = {}), e[At.sysData][c] === void 0 && (e[At.sysData][c] = null), `${At.sysData}.${c}`)), s;
|
|
@@ -11087,7 +11085,7 @@ const _n = (t) => typeof (t == null ? void 0 : t.value) == "boolean" ? !1 : null
|
|
|
11087
11085
|
return n;
|
|
11088
11086
|
}, $l = (t, e) => {
|
|
11089
11087
|
const { state: r } = li(async () => {
|
|
11090
|
-
const n = await import("./expression-
|
|
11088
|
+
const n = await import("./expression-d514d13e.js").then((i) => i.q);
|
|
11091
11089
|
var s = await (n == null ? void 0 : n.getScriptResult(t, e || {}));
|
|
11092
11090
|
return s;
|
|
11093
11091
|
}, null, { immediate: !0 });
|
|
@@ -11449,7 +11447,7 @@ class e1 extends Qn {
|
|
|
11449
11447
|
/**
|
|
11450
11448
|
* 组件状态
|
|
11451
11449
|
*/
|
|
11452
|
-
j(this, "state", new Z(Q.placer,
|
|
11450
|
+
j(this, "state", new Z(Q.placer, J0.custom));
|
|
11453
11451
|
/**
|
|
11454
11452
|
* 是否只读
|
|
11455
11453
|
*/
|
|
@@ -11626,7 +11624,7 @@ j(Ft, "isContainer", (e) => e.category === fn.container), /**
|
|
|
11626
11624
|
* @param type 组件类型
|
|
11627
11625
|
* @returns 字符串
|
|
11628
11626
|
*/
|
|
11629
|
-
j(Ft, "getWidgetTypeName", (e) => e ?
|
|
11627
|
+
j(Ft, "getWidgetTypeName", (e) => e ? Et.i18n2t(
|
|
11630
11628
|
`designer.widgetLabel.${e}`,
|
|
11631
11629
|
`extension.widgetLabel.${e}`
|
|
11632
11630
|
) : ""), /**
|
|
@@ -11674,7 +11672,7 @@ class Tn extends Ft {
|
|
|
11674
11672
|
}
|
|
11675
11673
|
class A1 extends Tn {
|
|
11676
11674
|
constructor(e, r, n = !1, s) {
|
|
11677
|
-
super(), s != null && s.autoWidth && y0(r, x0.ctrlWidth) && (r.ctrlWidth = new Z(Q.placer, _a.auto)), s != null && s.inlineLayout && y0(r, x0.displayLayout) && (r.displayLayout = new Z(Q.placer, xi.inline)),
|
|
11675
|
+
super(), s != null && s.autoWidth && y0(r, x0.ctrlWidth) && (r.ctrlWidth = new Z(Q.placer, _a.auto)), s != null && s.inlineLayout && y0(r, x0.displayLayout) && (r.displayLayout = new Z(Q.placer, xi.inline)), W0(s == null ? void 0 : s.dynamicItemFlag) || (this.dynamicItemFlag = s == null ? void 0 : s.dynamicItemFlag), this.formItemFlag = n, this.type = e, this.options = r, Object.entries(r).map(([i, o]) => {
|
|
11678
11676
|
var a;
|
|
11679
11677
|
Z.getType(o) === Q.slot && ((a = Z.getOptions(o)) != null && a.allowDrag) && (o.widgetList = []);
|
|
11680
11678
|
}), this.init(n);
|