zhytech-ui 1.0.38 → 1.0.40
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/dist/src/styles/index.d.ts +2 -0
- package/dist/src/styles/rules.d.ts +76 -0
- package/dist/src/styles/shortcuts.d.ts +2 -0
- package/dist/src/styles/theme/darkTheme.d.ts +18 -0
- package/dist/src/styles/theme/index.d.ts +46 -0
- package/dist/src/styles/theme/primaryTheme.d.ts +27 -0
- package/dist/src/styles/util.d.ts +14 -0
- package/dist/src/styles/variants.d.ts +2 -0
- package/dist/style.css +1 -1
- package/dist/zhytech-ui.es.js +66 -40
- package/dist/zhytech-ui.umd.js +2 -2
- package/package.json +81 -76
package/dist/zhytech-ui.es.js
CHANGED
|
@@ -4537,7 +4537,7 @@ const c3 = { class: "page-wrap" }, p3 = /* @__PURE__ */ se({
|
|
|
4537
4537
|
}, {
|
|
4538
4538
|
default: v(() => [
|
|
4539
4539
|
c(b, {
|
|
4540
|
-
class: "add-page-item",
|
|
4540
|
+
class: "zhy add-page-item",
|
|
4541
4541
|
text: "",
|
|
4542
4542
|
type: "primary",
|
|
4543
4543
|
onClick: i
|
|
@@ -4688,7 +4688,7 @@ const m3 = {
|
|
|
4688
4688
|
class: Oe(["layout", "tabs-layout-component", { "is-designer": t.isDesigner }])
|
|
4689
4689
|
}, [
|
|
4690
4690
|
c(w, {
|
|
4691
|
-
class: "
|
|
4691
|
+
class: "zhy",
|
|
4692
4692
|
type: n(l).props.tabType,
|
|
4693
4693
|
"tab-position": n(l).props.tabPosition,
|
|
4694
4694
|
modelValue: n(i),
|
|
@@ -4715,8 +4715,8 @@ const m3 = {
|
|
|
4715
4715
|
n(l).props.showNavigation ? (f(), S("div", m3, [
|
|
4716
4716
|
D !== 0 ? (f(), k(_, {
|
|
4717
4717
|
key: 0,
|
|
4718
|
-
|
|
4719
|
-
|
|
4718
|
+
class: "zhy print-button",
|
|
4719
|
+
onClick: y[0] || (y[0] = (x) => p("p"))
|
|
4720
4720
|
}, {
|
|
4721
4721
|
default: v(() => [
|
|
4722
4722
|
Y("上一页")
|
|
@@ -4725,6 +4725,7 @@ const m3 = {
|
|
|
4725
4725
|
})) : z("", !0),
|
|
4726
4726
|
D !== n(l).props.pages.length - 1 ? (f(), k(_, {
|
|
4727
4727
|
key: 1,
|
|
4728
|
+
class: "zhy",
|
|
4728
4729
|
onClick: y[1] || (y[1] = (x) => p("n")),
|
|
4729
4730
|
type: "success"
|
|
4730
4731
|
}, {
|
|
@@ -4850,7 +4851,7 @@ const v3 = { component: h3, renderer: f3, propEditor: p3 }, g3 = /* @__PURE__ */
|
|
|
4850
4851
|
};
|
|
4851
4852
|
}
|
|
4852
4853
|
});
|
|
4853
|
-
const _3 = { class: "upload-component" }, y3 = /* @__PURE__ */ T("span", { class: "
|
|
4854
|
+
const _3 = { class: "upload-component" }, y3 = /* @__PURE__ */ T("span", { class: "ml-10 theme-color-hasBgFontColor" }, "上传文件", -1), b3 = {
|
|
4854
4855
|
key: 0,
|
|
4855
4856
|
class: "description"
|
|
4856
4857
|
}, w3 = /* @__PURE__ */ se({
|
|
@@ -4950,8 +4951,7 @@ const _3 = { class: "upload-component" }, y3 = /* @__PURE__ */ T("span", { class
|
|
|
4950
4951
|
return [
|
|
4951
4952
|
n(s).fileLimit > (((w = n(i)[t.componentID]) == null ? void 0 : w.length) || 0) ? (f(), k(_, {
|
|
4952
4953
|
key: 0,
|
|
4953
|
-
|
|
4954
|
-
color: "#409eff"
|
|
4954
|
+
class: "zhy edit-button"
|
|
4955
4955
|
}, {
|
|
4956
4956
|
icon: v(() => [
|
|
4957
4957
|
c(y, {
|
|
@@ -5533,7 +5533,7 @@ const F3 = { class: "option-wrap" }, N3 = { style: { float: "left" } }, H3 = { s
|
|
|
5533
5533
|
}, {
|
|
5534
5534
|
default: v(() => [
|
|
5535
5535
|
c(A, {
|
|
5536
|
-
class: "add-option-item",
|
|
5536
|
+
class: "zhy add-option-item",
|
|
5537
5537
|
text: "",
|
|
5538
5538
|
type: "primary",
|
|
5539
5539
|
onClick: i
|
|
@@ -5639,6 +5639,7 @@ const B3 = { class: "employee-component" }, q3 = {
|
|
|
5639
5639
|
}, {
|
|
5640
5640
|
default: v(() => [
|
|
5641
5641
|
(f(!0), S(le, null, fe(n(i).options, (D, x) => (f(), k(m, {
|
|
5642
|
+
class: "zhy",
|
|
5642
5643
|
key: x,
|
|
5643
5644
|
value: D.value,
|
|
5644
5645
|
onClick: ($) => r($, D.value)
|
|
@@ -5662,6 +5663,7 @@ const B3 = { class: "employee-component" }, q3 = {
|
|
|
5662
5663
|
}, {
|
|
5663
5664
|
default: v(() => [
|
|
5664
5665
|
(f(!0), S(le, null, fe(n(i).options, (D, x) => (f(), k(y, {
|
|
5666
|
+
class: "zhy",
|
|
5665
5667
|
value: D.value,
|
|
5666
5668
|
key: x
|
|
5667
5669
|
}, {
|
|
@@ -6058,6 +6060,7 @@ const Z3 = { class: "grade-component" }, Q3 = {
|
|
|
6058
6060
|
}, {
|
|
6059
6061
|
default: v(() => [
|
|
6060
6062
|
(f(!0), S(le, null, fe(n(p), (w, V) => (f(), k(d, {
|
|
6063
|
+
class: "zhy",
|
|
6061
6064
|
key: V,
|
|
6062
6065
|
value: w.value,
|
|
6063
6066
|
onClick: (D) => g(D, w.value)
|
|
@@ -6380,6 +6383,7 @@ const nr = { component: lr, renderer: er, propEditor: G3 }, ar = /* @__PURE__ */
|
|
|
6380
6383
|
}, {
|
|
6381
6384
|
default: v(() => [
|
|
6382
6385
|
(f(!0), S(le, null, fe(n(i).options, (D, x) => (f(), k(m, {
|
|
6386
|
+
class: "zhy",
|
|
6383
6387
|
key: x,
|
|
6384
6388
|
value: D.value,
|
|
6385
6389
|
onClick: ($) => r($, D.value)
|
|
@@ -6403,6 +6407,7 @@ const nr = { component: lr, renderer: er, propEditor: G3 }, ar = /* @__PURE__ */
|
|
|
6403
6407
|
}, {
|
|
6404
6408
|
default: v(() => [
|
|
6405
6409
|
(f(!0), S(le, null, fe(n(i).options, (D, x) => (f(), k(y, {
|
|
6410
|
+
class: "zhy",
|
|
6406
6411
|
value: D.value,
|
|
6407
6412
|
key: x
|
|
6408
6413
|
}, {
|
|
@@ -6627,7 +6632,7 @@ const ur = { component: dr, renderer: rr, propEditor: ar }, cr = { class: "optio
|
|
|
6627
6632
|
}, {
|
|
6628
6633
|
default: v(() => [
|
|
6629
6634
|
c(w, {
|
|
6630
|
-
class: "input-enable",
|
|
6635
|
+
class: "zhy input-enable",
|
|
6631
6636
|
modelValue: $.inputEnable,
|
|
6632
6637
|
"onUpdate:modelValue": (A) => $.inputEnable = A
|
|
6633
6638
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
@@ -6654,7 +6659,7 @@ const ur = { component: dr, renderer: rr, propEditor: ar }, cr = { class: "optio
|
|
|
6654
6659
|
}, {
|
|
6655
6660
|
default: v(() => [
|
|
6656
6661
|
c(D, {
|
|
6657
|
-
class: "add-option-item",
|
|
6662
|
+
class: "zhy add-option-item",
|
|
6658
6663
|
text: "",
|
|
6659
6664
|
type: "primary",
|
|
6660
6665
|
onClick: i
|
|
@@ -6767,6 +6772,7 @@ const mr = { class: "checkbox-component" }, fr = {
|
|
|
6767
6772
|
key: b
|
|
6768
6773
|
}, [
|
|
6769
6774
|
c(h, {
|
|
6775
|
+
class: "zhy",
|
|
6770
6776
|
value: _.value
|
|
6771
6777
|
}, {
|
|
6772
6778
|
default: v(() => [
|
|
@@ -7239,7 +7245,7 @@ const Sr = { component: Vr, renderer: xr, undefined: void 0 }, Er = { class: "op
|
|
|
7239
7245
|
}, {
|
|
7240
7246
|
default: v(() => [
|
|
7241
7247
|
c(b, {
|
|
7242
|
-
class: "input-enable",
|
|
7248
|
+
class: "zhy input-enable",
|
|
7243
7249
|
modelValue: x.inputEnable,
|
|
7244
7250
|
"onUpdate:modelValue": (E) => x.inputEnable = E
|
|
7245
7251
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
@@ -7266,7 +7272,7 @@ const Sr = { component: Vr, renderer: xr, undefined: void 0 }, Er = { class: "op
|
|
|
7266
7272
|
}, {
|
|
7267
7273
|
default: v(() => [
|
|
7268
7274
|
c(V, {
|
|
7269
|
-
class: "add-option-item",
|
|
7275
|
+
class: "zhy add-option-item",
|
|
7270
7276
|
text: "",
|
|
7271
7277
|
type: "primary",
|
|
7272
7278
|
onClick: i
|
|
@@ -7383,6 +7389,7 @@ const $r = { class: "radio-component" }, Tr = {
|
|
|
7383
7389
|
key: w
|
|
7384
7390
|
}, [
|
|
7385
7391
|
c(m, {
|
|
7392
|
+
class: "zhy",
|
|
7386
7393
|
value: b.value,
|
|
7387
7394
|
onClick: (D) => r(D, b.value)
|
|
7388
7395
|
}, {
|
|
@@ -8170,6 +8177,8 @@ const qr = { class: "date-component" }, Yr = {
|
|
|
8170
8177
|
const h = C("el-date-picker"), m = be;
|
|
8171
8178
|
return f(), S("div", qr, [
|
|
8172
8179
|
c(h, {
|
|
8180
|
+
class: "zhy",
|
|
8181
|
+
"popper-class": "zhy",
|
|
8173
8182
|
modelValue: n(s),
|
|
8174
8183
|
"onUpdate:modelValue": g[0] || (g[0] = (d) => me(s) ? s.value = d : null),
|
|
8175
8184
|
type: n(i).datetimeType,
|
|
@@ -8556,6 +8565,8 @@ const Jr = { class: "date-component" }, Kr = {
|
|
|
8556
8565
|
return f(), S("div", Jr, [
|
|
8557
8566
|
n(i).datetimeType === "timePicker" ? (f(), k(_, {
|
|
8558
8567
|
key: 0,
|
|
8568
|
+
class: "zhy",
|
|
8569
|
+
"popper-class": "zhy",
|
|
8559
8570
|
modelValue: n(s),
|
|
8560
8571
|
"onUpdate:modelValue": y[0] || (y[0] = (V) => me(s) ? s.value = V : null),
|
|
8561
8572
|
format: n(i).format,
|
|
@@ -8755,7 +8766,7 @@ const e2 = { component: Qr, renderer: Zr, propEditor: Xr }, t2 = { class: "input
|
|
|
8755
8766
|
}, {
|
|
8756
8767
|
default: v(() => [
|
|
8757
8768
|
c($, {
|
|
8758
|
-
class: "add-text-item",
|
|
8769
|
+
class: "zhy add-text-item",
|
|
8759
8770
|
text: "",
|
|
8760
8771
|
type: "primary",
|
|
8761
8772
|
onClick: y[3] || (y[3] = (H) => n(e).allowTextOptions.push(""))
|
|
@@ -8782,8 +8793,8 @@ const e2 = { component: Qr, renderer: Zr, propEditor: Xr }, t2 = { class: "input
|
|
|
8782
8793
|
}),
|
|
8783
8794
|
T("div", o2, [
|
|
8784
8795
|
c($, {
|
|
8796
|
+
class: "zhy edit-button",
|
|
8785
8797
|
text: "",
|
|
8786
|
-
type: "primary",
|
|
8787
8798
|
onClick: u
|
|
8788
8799
|
}, {
|
|
8789
8800
|
default: v(() => [
|
|
@@ -8797,6 +8808,7 @@ const e2 = { component: Qr, renderer: Zr, propEditor: Xr }, t2 = { class: "input
|
|
|
8797
8808
|
_: 1
|
|
8798
8809
|
}),
|
|
8799
8810
|
c($, {
|
|
8811
|
+
class: "zhy",
|
|
8800
8812
|
text: "",
|
|
8801
8813
|
type: "danger",
|
|
8802
8814
|
onClick: m
|
|
@@ -8814,6 +8826,7 @@ const e2 = { component: Qr, renderer: Zr, propEditor: Xr }, t2 = { class: "input
|
|
|
8814
8826
|
]),
|
|
8815
8827
|
(N = n(e).abnormalCheckList) != null && N.length ? (f(), k(A, {
|
|
8816
8828
|
key: 1,
|
|
8829
|
+
class: "zhy",
|
|
8817
8830
|
data: n(e).abnormalCheckList,
|
|
8818
8831
|
border: ""
|
|
8819
8832
|
}, {
|
|
@@ -8861,8 +8874,8 @@ const e2 = { component: Qr, renderer: Zr, propEditor: Xr }, t2 = { class: "input
|
|
|
8861
8874
|
}),
|
|
8862
8875
|
T("div", l2, [
|
|
8863
8876
|
c($, {
|
|
8877
|
+
class: "zhy edit-button",
|
|
8864
8878
|
text: "",
|
|
8865
|
-
type: "primary",
|
|
8866
8879
|
onClick: h
|
|
8867
8880
|
}, {
|
|
8868
8881
|
default: v(() => [
|
|
@@ -8876,6 +8889,7 @@ const e2 = { component: Qr, renderer: Zr, propEditor: Xr }, t2 = { class: "input
|
|
|
8876
8889
|
_: 1
|
|
8877
8890
|
}),
|
|
8878
8891
|
c($, {
|
|
8892
|
+
class: "zhy",
|
|
8879
8893
|
text: "",
|
|
8880
8894
|
type: "danger",
|
|
8881
8895
|
onClick: m
|
|
@@ -8897,7 +8911,7 @@ const e2 = { component: Qr, renderer: Zr, propEditor: Xr }, t2 = { class: "input
|
|
|
8897
8911
|
}),
|
|
8898
8912
|
n(i) ? (f(), k(P, {
|
|
8899
8913
|
key: 0,
|
|
8900
|
-
class: "props-edit-drawer",
|
|
8914
|
+
class: "zhy props-edit-drawer",
|
|
8901
8915
|
title: "设置异常值检核",
|
|
8902
8916
|
modelValue: n(i),
|
|
8903
8917
|
"onUpdate:modelValue": y[5] || (y[5] = (N) => me(i) ? i.value = N : null),
|
|
@@ -8907,6 +8921,7 @@ const e2 = { component: Qr, renderer: Zr, propEditor: Xr }, t2 = { class: "input
|
|
|
8907
8921
|
}, {
|
|
8908
8922
|
footer: v(() => [
|
|
8909
8923
|
c($, {
|
|
8924
|
+
class: "zhy",
|
|
8910
8925
|
onClick: y[4] || (y[4] = () => i.value = !1)
|
|
8911
8926
|
}, {
|
|
8912
8927
|
default: v(() => [
|
|
@@ -8915,6 +8930,7 @@ const e2 = { component: Qr, renderer: Zr, propEditor: Xr }, t2 = { class: "input
|
|
|
8915
8930
|
_: 1
|
|
8916
8931
|
}),
|
|
8917
8932
|
c($, {
|
|
8933
|
+
class: "zhy",
|
|
8918
8934
|
type: "primary",
|
|
8919
8935
|
onClick: g
|
|
8920
8936
|
}, {
|
|
@@ -8926,7 +8942,7 @@ const e2 = { component: Qr, renderer: Zr, propEditor: Xr }, t2 = { class: "input
|
|
|
8926
8942
|
]),
|
|
8927
8943
|
default: v(() => [
|
|
8928
8944
|
c($, {
|
|
8929
|
-
class: "add-option-item",
|
|
8945
|
+
class: "zhy add-option-item",
|
|
8930
8946
|
text: "",
|
|
8931
8947
|
type: "primary",
|
|
8932
8948
|
onClick: p
|
|
@@ -8942,6 +8958,7 @@ const e2 = { component: Qr, renderer: Zr, propEditor: Xr }, t2 = { class: "input
|
|
|
8942
8958
|
_: 1
|
|
8943
8959
|
}),
|
|
8944
8960
|
c(A, {
|
|
8961
|
+
class: "zhy",
|
|
8945
8962
|
data: n(s),
|
|
8946
8963
|
border: ""
|
|
8947
8964
|
}, {
|
|
@@ -9291,7 +9308,7 @@ const d2 = { component: r2, renderer: s2, propEditor: n2 }, u2 = {
|
|
|
9291
9308
|
g(w, "readonly") ? (f(), S("div", u2)) : z("", !0),
|
|
9292
9309
|
n(p) ? (f(), k(_, {
|
|
9293
9310
|
key: 1,
|
|
9294
|
-
class: "select-item",
|
|
9311
|
+
class: "zhy select-item",
|
|
9295
9312
|
modelValue: w.selected,
|
|
9296
9313
|
"onUpdate:modelValue": (D) => w.selected = D,
|
|
9297
9314
|
label: "选择",
|
|
@@ -9612,7 +9629,7 @@ const c2 = {
|
|
|
9612
9629
|
n(m) ? (f(), S("div", c2, [
|
|
9613
9630
|
p2,
|
|
9614
9631
|
c(E, {
|
|
9615
|
-
class: "select
|
|
9632
|
+
class: "zhy all-select",
|
|
9616
9633
|
modelValue: n(u),
|
|
9617
9634
|
"onUpdate:modelValue": $[0] || ($[0] = (W) => me(u) ? u.value = W : null),
|
|
9618
9635
|
label: "全选",
|
|
@@ -9757,9 +9774,9 @@ const g2 = { class: "form-list-wrap" }, _2 = { class: "form-list" }, y2 = ["onCl
|
|
|
9757
9774
|
const N = be, H = C("el-input"), I = C("el-option"), O = C("el-select"), L = C("el-cascader"), q = C("el-date-picker"), R = C("el-time-picker"), Z = C("el-form-item"), te = C("el-form"), ce = C("el-divider"), ve = C("el-empty"), ge = It, Se = C("el-link"), Ae = C("el-button"), Qe = C("el-dialog");
|
|
9758
9775
|
return f(), S("div", null, [
|
|
9759
9776
|
c(Qe, {
|
|
9777
|
+
class: "zhy batch-add-dialog",
|
|
9760
9778
|
modelValue: s.value,
|
|
9761
9779
|
"onUpdate:modelValue": P[1] || (P[1] = (Ce) => s.value = Ce),
|
|
9762
|
-
class: "batch-add-dialog",
|
|
9763
9780
|
"destroy-on-close": "",
|
|
9764
9781
|
title: `批量添加${n(i)}`
|
|
9765
9782
|
}, {
|
|
@@ -9784,6 +9801,7 @@ const g2 = { class: "form-list-wrap" }, _2 = { class: "form-list" }, y2 = ["onCl
|
|
|
9784
9801
|
]),
|
|
9785
9802
|
T("div", S2, [
|
|
9786
9803
|
c(Ae, {
|
|
9804
|
+
class: "zhy",
|
|
9787
9805
|
onClick: P[0] || (P[0] = (Ce) => s.value = !1)
|
|
9788
9806
|
}, {
|
|
9789
9807
|
default: v(() => [
|
|
@@ -9792,6 +9810,7 @@ const g2 = { class: "form-list-wrap" }, _2 = { class: "form-list" }, y2 = ["onCl
|
|
|
9792
9810
|
_: 1
|
|
9793
9811
|
}),
|
|
9794
9812
|
c(Ae, {
|
|
9813
|
+
class: "zhy",
|
|
9795
9814
|
type: "primary",
|
|
9796
9815
|
onClick: U
|
|
9797
9816
|
}, {
|
|
@@ -9928,14 +9947,15 @@ const g2 = { class: "form-list-wrap" }, _2 = { class: "form-list" }, y2 = ["onCl
|
|
|
9928
9947
|
_: 1
|
|
9929
9948
|
}, 8, ["modelValue", "title"]),
|
|
9930
9949
|
c(Qe, {
|
|
9950
|
+
class: "zhy select-preview-dialog",
|
|
9931
9951
|
modelValue: n($),
|
|
9932
9952
|
"onUpdate:modelValue": P[3] || (P[3] = (Ce) => me($) ? $.value = Ce : null),
|
|
9933
|
-
class: "select-preview-dialog",
|
|
9934
9953
|
"destroy-on-close": "",
|
|
9935
9954
|
title: `已选${n(i)}预览`
|
|
9936
9955
|
}, {
|
|
9937
9956
|
footer: v(() => [
|
|
9938
9957
|
c(Ae, {
|
|
9958
|
+
class: "zhy",
|
|
9939
9959
|
onClick: P[2] || (P[2] = (Ce) => $.value = !1)
|
|
9940
9960
|
}, {
|
|
9941
9961
|
default: v(() => [
|
|
@@ -10041,7 +10061,7 @@ const k2 = {
|
|
|
10041
10061
|
}, null, 8, $2)) : (f(), S("span", k2, "单击设置条件"))
|
|
10042
10062
|
]),
|
|
10043
10063
|
c(D, {
|
|
10044
|
-
class: "filter-dialog",
|
|
10064
|
+
class: "zhy filter-dialog",
|
|
10045
10065
|
modelValue: n(s),
|
|
10046
10066
|
"onUpdate:modelValue": w[1] || (w[1] = (x) => me(s) ? s.value = x : null),
|
|
10047
10067
|
"destroy-on-close": "",
|
|
@@ -10049,6 +10069,7 @@ const k2 = {
|
|
|
10049
10069
|
}, {
|
|
10050
10070
|
footer: v(() => [
|
|
10051
10071
|
c(V, {
|
|
10072
|
+
class: "zhy",
|
|
10052
10073
|
onClick: w[0] || (w[0] = (x) => s.value = !1)
|
|
10053
10074
|
}, {
|
|
10054
10075
|
default: v(() => [
|
|
@@ -10057,6 +10078,7 @@ const k2 = {
|
|
|
10057
10078
|
_: 1
|
|
10058
10079
|
}),
|
|
10059
10080
|
c(V, {
|
|
10081
|
+
class: "zhy",
|
|
10060
10082
|
type: "primary",
|
|
10061
10083
|
onClick: y
|
|
10062
10084
|
}, {
|
|
@@ -10795,15 +10817,15 @@ const T2 = /* @__PURE__ */ se({
|
|
|
10795
10817
|
};
|
|
10796
10818
|
}
|
|
10797
10819
|
});
|
|
10798
|
-
const q2 = { class: "form-designer" }, Y2 = { class: "left-
|
|
10820
|
+
const q2 = { class: "zhy-form-designer relative wh-full min-h-800px min-w-600px bgc-#ffffff" }, Y2 = { class: "absolute top-0 left-0 h-full w-390 pt-5 pl-10 box-border shw-5-3-12-3-#000000-0.2" }, j2 = ["onClick", "title"], W2 = { class: "t-ofse-2 line-height-0.5 pl-3" }, G2 = {
|
|
10821
|
+
key: 0,
|
|
10822
|
+
class: "pos-absolute bottom-0.4 lc-50-30 w-60 h-60 border-rd-md bgc-#ffffff"
|
|
10823
|
+
}, X2 = {
|
|
10799
10824
|
key: 2,
|
|
10800
10825
|
class: "no-component-tip"
|
|
10801
|
-
}, X2 = {
|
|
10802
|
-
key: 3,
|
|
10803
|
-
class: "mobile-key"
|
|
10804
10826
|
}, J2 = ["title"], K2 = {
|
|
10805
10827
|
key: 1,
|
|
10806
|
-
class: "right-wrap"
|
|
10828
|
+
class: "right-wrap shw-0-3-12-3-#000000-0.2"
|
|
10807
10829
|
}, Z2 = { class: "preview-wrap" }, Q2 = {
|
|
10808
10830
|
name: "zhy-form-designer"
|
|
10809
10831
|
}, vo = /* @__PURE__ */ se({
|
|
@@ -11127,6 +11149,7 @@ const q2 = { class: "form-designer" }, Y2 = { class: "left-wrap" }, j2 = ["onCli
|
|
|
11127
11149
|
T("div", q2, [
|
|
11128
11150
|
T("div", Y2, [
|
|
11129
11151
|
c(pe, {
|
|
11152
|
+
class: "zhy",
|
|
11130
11153
|
modelValue: n(b),
|
|
11131
11154
|
"onUpdate:modelValue": M[0] || (M[0] = (he) => me(b) ? b.value = he : null)
|
|
11132
11155
|
}, {
|
|
@@ -11138,10 +11161,10 @@ const q2 = { class: "form-designer" }, Y2 = { class: "left-wrap" }, j2 = ["onCli
|
|
|
11138
11161
|
}, {
|
|
11139
11162
|
default: v(() => [
|
|
11140
11163
|
c(n(Ot), {
|
|
11164
|
+
class: "aline-left",
|
|
11141
11165
|
list: he.types,
|
|
11142
|
-
"item-key": "
|
|
11166
|
+
"item-key": "id",
|
|
11143
11167
|
tag: "div",
|
|
11144
|
-
class: "component-list",
|
|
11145
11168
|
clone: (mt) => N(mt),
|
|
11146
11169
|
sort: !1,
|
|
11147
11170
|
onRemove: (mt) => H(mt.oldIndex, he),
|
|
@@ -11149,13 +11172,13 @@ const q2 = { class: "form-designer" }, Y2 = { class: "left-wrap" }, j2 = ["onCli
|
|
|
11149
11172
|
}, {
|
|
11150
11173
|
item: v(({ element: mt }) => [
|
|
11151
11174
|
T("div", {
|
|
11152
|
-
class: "
|
|
11175
|
+
class: "flex items-center w-160 mx-5 my-8 px-10 py-5 box-border b-solid b-1 theme-bc-borderColor border-rd-0.1 theme-color-second cursor-pointer",
|
|
11153
11176
|
onClick: (o0) => P(mt, he),
|
|
11154
11177
|
title: mt.name
|
|
11155
11178
|
}, [
|
|
11156
11179
|
c(oe, {
|
|
11157
11180
|
name: mt.type,
|
|
11158
|
-
|
|
11181
|
+
class: "theme-color-second"
|
|
11159
11182
|
}, null, 8, ["name"]),
|
|
11160
11183
|
T("span", W2, ie(mt.name), 1)
|
|
11161
11184
|
], 8, j2)
|
|
@@ -11171,7 +11194,7 @@ const q2 = { class: "form-designer" }, Y2 = { class: "left-wrap" }, j2 = ["onCli
|
|
|
11171
11194
|
]),
|
|
11172
11195
|
n(r).props ? (f(), S("div", {
|
|
11173
11196
|
key: 0,
|
|
11174
|
-
class: Oe(["
|
|
11197
|
+
class: Oe(["pos-absolute top-0 left-400px h-full wc--435 py-30 pb-15 box-border", { "wc--840": n(y) }])
|
|
11175
11198
|
}, [
|
|
11176
11199
|
c(kl, {
|
|
11177
11200
|
operates: n($),
|
|
@@ -11181,8 +11204,9 @@ const q2 = { class: "form-designer" }, Y2 = { class: "left-wrap" }, j2 = ["onCli
|
|
|
11181
11204
|
onPreviewFrom: Ae,
|
|
11182
11205
|
onSaveFrom: ve
|
|
11183
11206
|
}, null, 8, ["operates"]),
|
|
11207
|
+
n(d).device === "mobile" ? (f(), S("div", G2)) : z("", !0),
|
|
11184
11208
|
T("div", {
|
|
11185
|
-
class: Oe(
|
|
11209
|
+
class: Oe(`component-form y-aline-start w-full hc--60 mx-auto box-border form-designer-device-${n(d).device}`)
|
|
11186
11210
|
}, [
|
|
11187
11211
|
n(V) ? (f(), k(Ue, {
|
|
11188
11212
|
key: 0,
|
|
@@ -11197,7 +11221,7 @@ const q2 = { class: "form-designer" }, Y2 = { class: "left-wrap" }, j2 = ["onCli
|
|
|
11197
11221
|
class: "title",
|
|
11198
11222
|
onClick: M[4] || (M[4] = (he) => V.value = !0)
|
|
11199
11223
|
}, ie(n(r).props.formName), 1)),
|
|
11200
|
-
(il = n(r).components) != null && il.length ? z("", !0) : (f(), S("div",
|
|
11224
|
+
(il = n(r).components) != null && il.length ? z("", !0) : (f(), S("div", X2, "从左侧拖拽组件")),
|
|
11201
11225
|
c(we, {
|
|
11202
11226
|
class: "designer-form",
|
|
11203
11227
|
"label-position": n(r).props.labelPosition,
|
|
@@ -11216,8 +11240,7 @@ const q2 = { class: "form-designer" }, Y2 = { class: "left-wrap" }, j2 = ["onCli
|
|
|
11216
11240
|
}, null, 8, ["components"])
|
|
11217
11241
|
]),
|
|
11218
11242
|
_: 1
|
|
11219
|
-
}, 8, ["label-position", "label-width", "size"])
|
|
11220
|
-
n(d).device === "mobile" ? (f(), S("div", X2)) : z("", !0)
|
|
11243
|
+
}, 8, ["label-position", "label-width", "size"])
|
|
11221
11244
|
], 2)
|
|
11222
11245
|
], 2)) : z("", !0),
|
|
11223
11246
|
T("i", {
|
|
@@ -11227,7 +11250,7 @@ const q2 = { class: "form-designer" }, Y2 = { class: "left-wrap" }, j2 = ["onCli
|
|
|
11227
11250
|
}, null, 10, J2),
|
|
11228
11251
|
n(y) ? (f(), S("div", K2, [
|
|
11229
11252
|
c(Vt, {
|
|
11230
|
-
class: "prop-tabs",
|
|
11253
|
+
class: "zhy prop-tabs",
|
|
11231
11254
|
modelValue: n(d).propTab,
|
|
11232
11255
|
"onUpdate:modelValue": M[10] || (M[10] = (he) => n(d).propTab = he),
|
|
11233
11256
|
type: "border-card"
|
|
@@ -11240,6 +11263,7 @@ const q2 = { class: "form-designer" }, Y2 = { class: "left-wrap" }, j2 = ["onCli
|
|
|
11240
11263
|
default: v(() => [
|
|
11241
11264
|
n(d).selectComponent ? (f(), k(pe, {
|
|
11242
11265
|
key: 1,
|
|
11266
|
+
class: "zhy",
|
|
11243
11267
|
modelValue: n(_),
|
|
11244
11268
|
"onUpdate:modelValue": M[9] || (M[9] = (he) => me(_) ? _.value = he : null)
|
|
11245
11269
|
}, {
|
|
@@ -11317,9 +11341,9 @@ const q2 = { class: "form-designer" }, Y2 = { class: "left-wrap" }, j2 = ["onCli
|
|
|
11317
11341
|
])) : z("", !0)
|
|
11318
11342
|
]),
|
|
11319
11343
|
c(to, {
|
|
11344
|
+
class: "zhy preview-dialog",
|
|
11320
11345
|
modelValue: n(Se),
|
|
11321
11346
|
"onUpdate:modelValue": M[11] || (M[11] = (he) => me(Se) ? Se.value = he : null),
|
|
11322
|
-
class: "preview-dialog no-footer",
|
|
11323
11347
|
"destroy-on-close": "",
|
|
11324
11348
|
fullscreen: "",
|
|
11325
11349
|
title: "表单预览"
|
|
@@ -11347,9 +11371,9 @@ const q2 = { class: "form-designer" }, Y2 = { class: "left-wrap" }, j2 = ["onCli
|
|
|
11347
11371
|
_: 1
|
|
11348
11372
|
}, 8, ["modelValue"]),
|
|
11349
11373
|
c(to, {
|
|
11374
|
+
class: "zhy",
|
|
11350
11375
|
modelValue: n(Ce),
|
|
11351
11376
|
"onUpdate:modelValue": M[12] || (M[12] = (he) => me(Ce) ? Ce.value = he : null),
|
|
11352
|
-
class: "no-footer",
|
|
11353
11377
|
"destroy-on-close": "",
|
|
11354
11378
|
title: "表单数据JSON",
|
|
11355
11379
|
width: "600px"
|
|
@@ -11383,7 +11407,9 @@ const e0 = [be, vo, It, qt], t0 = function(t, o) {
|
|
|
11383
11407
|
e0.forEach((e) => {
|
|
11384
11408
|
t.component(e.name, e);
|
|
11385
11409
|
});
|
|
11386
|
-
}
|
|
11410
|
+
};
|
|
11411
|
+
document.body.classList.add("zhy-primary-theme");
|
|
11412
|
+
const b0 = { install: t0 };
|
|
11387
11413
|
export {
|
|
11388
11414
|
cn as MessageType,
|
|
11389
11415
|
Ie as componentType,
|