cd-form 2.0.12 → 2.0.13
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/cd-form.js +81 -81
- package/dist/cd-form.umd.cjs +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/cd-form.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as Ge, computed as ve, resolveComponent as M, createBlock as Y, openBlock as l, normalizeClass as $e, withCtx as i, renderSlot as fa, createElementBlock as o, createElementVNode as e, createCommentVNode as H, normalizeStyle as Qe, toDisplayString as V, createTextVNode as U, withModifiers as Ze, Fragment as fe, renderList as ye, ref as F, watch as Fe, nextTick as na, createVNode as s, withDirectives as ha, withKeys as za, vModelText as Ca, vShow as Cl, createSlots as ya, useCssVars as Ol, onMounted as Da, onUnmounted as gl, Teleport as vl, Transition as _l, unref as ca, reactive as pa, createStaticVNode as wl, inject as fl, resolveDynamicComponent as Tl, mergeProps as Aa, provide as wa, watchEffect as xl, h as ml, normalizeProps as Nl, guardReactiveProps as Bl, isRef as ql } from "vue";
|
|
2
2
|
import { MessagePlugin as Oe, DialogPlugin as Ll } from "tdesign-vue-next";
|
|
3
3
|
import ja from "vxe-table";
|
|
4
|
-
const Fa = /* @__PURE__ */
|
|
4
|
+
const Fa = /* @__PURE__ */ Ge({
|
|
5
5
|
__name: "CdFormCol",
|
|
6
6
|
props: {
|
|
7
7
|
span: { default: 12 },
|
|
@@ -80,7 +80,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
|
|
|
80
80
|
}, ht = {
|
|
81
81
|
key: 3,
|
|
82
82
|
class: "cd-usercard__footer"
|
|
83
|
-
}, bt = /* @__PURE__ */
|
|
83
|
+
}, bt = /* @__PURE__ */ Ge({
|
|
84
84
|
name: "CdUserCard",
|
|
85
85
|
__name: "UserCard",
|
|
86
86
|
props: {
|
|
@@ -287,7 +287,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
|
|
|
287
287
|
for (const [b, u] of le)
|
|
288
288
|
n[b] = u;
|
|
289
289
|
return n;
|
|
290
|
-
}, yt = /* @__PURE__ */ aa(bt, [["__scopeId", "data-v-df37fd5c"]]), _t = { class: "avatar-crop-container" }, kt = ["src"], Ct = { class: "crop-preview" }, wt = { class: "crop-footer" }, xt = /* @__PURE__ */
|
|
290
|
+
}, yt = /* @__PURE__ */ aa(bt, [["__scopeId", "data-v-df37fd5c"]]), _t = { class: "avatar-crop-container" }, kt = ["src"], Ct = { class: "crop-preview" }, wt = { class: "crop-footer" }, xt = /* @__PURE__ */ Ge({
|
|
291
291
|
name: "AvatarCropDialog",
|
|
292
292
|
__name: "AvatarCropDialog",
|
|
293
293
|
props: {
|
|
@@ -582,7 +582,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
|
|
|
582
582
|
}, Zt = {
|
|
583
583
|
key: 1,
|
|
584
584
|
class: "section-content"
|
|
585
|
-
}, en = /* @__PURE__ */
|
|
585
|
+
}, en = /* @__PURE__ */ Ge({
|
|
586
586
|
name: "CdProfilePanel",
|
|
587
587
|
__name: "ProfilePanel",
|
|
588
588
|
props: {
|
|
@@ -880,7 +880,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
|
|
|
880
880
|
}, ln = { class: "cd-usercard-nav-header" }, tn = { class: "cd-usercard-nav-list" }, nn = ["onClick"], on = {
|
|
881
881
|
key: 0,
|
|
882
882
|
class: "cd-usercard-nav-footer"
|
|
883
|
-
}, sn = { class: "cd-usercard-user-center__content" }, Vl = /* @__PURE__ */
|
|
883
|
+
}, sn = { class: "cd-usercard-user-center__content" }, Vl = /* @__PURE__ */ Ge({
|
|
884
884
|
name: "CdProfileDialog",
|
|
885
885
|
__name: "ProfileDialog",
|
|
886
886
|
props: {
|
|
@@ -986,7 +986,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
|
|
|
986
986
|
}), rn = { class: "cd-usercard-dropdown-user-info" }, dn = { class: "cd-usercard-header" }, un = { class: "cd-usercard-user-info" }, cn = ["src"], fn = { class: "cd_info cd-usercard-block" }, mn = { class: "cd_name-row" }, vn = { class: "cd_name-wrapper" }, pn = { class: "cd_name cd-usercard-truncate" }, gn = { class: "cd_actions" }, hn = { class: "cd-usercard-status-options" }, bn = { class: "cd_org cd-usercard-truncate" }, yn = { class: "cd-usercard-menu-list" }, _n = ["onClick"], kn = {
|
|
987
987
|
key: 0,
|
|
988
988
|
class: "cd-usercard-footer"
|
|
989
|
-
}, Cn = ["src"], wn = { class: "cd-usercard-user-name" }, xn = /* @__PURE__ */
|
|
989
|
+
}, Cn = ["src"], wn = { class: "cd-usercard-user-name" }, xn = /* @__PURE__ */ Ge({
|
|
990
990
|
name: "CdUserInfo",
|
|
991
991
|
__name: "UserInfo",
|
|
992
992
|
props: {
|
|
@@ -1198,7 +1198,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
|
|
|
1198
1198
|
}, lo = {
|
|
1199
1199
|
key: 1,
|
|
1200
1200
|
class: "cd-ps-selected-list"
|
|
1201
|
-
}, to = { class: "cd-ps-item-info" }, no = { class: "cd-ps-info" }, oo = { class: "cd-ps-name" }, io = { class: "cd-ps-meta" }, so = { key: 0 }, ro = { key: 1 }, uo = { key: 2 }, co = { key: 3 }, fo = /* @__PURE__ */
|
|
1201
|
+
}, to = { class: "cd-ps-item-info" }, no = { class: "cd-ps-info" }, oo = { class: "cd-ps-name" }, io = { class: "cd-ps-meta" }, so = { key: 0 }, ro = { key: 1 }, uo = { key: 2 }, co = { key: 3 }, fo = /* @__PURE__ */ Ge({
|
|
1202
1202
|
__name: "PersonSelector",
|
|
1203
1203
|
props: {
|
|
1204
1204
|
visible: { type: Boolean, default: !1 },
|
|
@@ -1627,7 +1627,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
|
|
|
1627
1627
|
}, _o = {
|
|
1628
1628
|
key: 2,
|
|
1629
1629
|
class: "ri-building-line cd-input-select__option-icon"
|
|
1630
|
-
}, ko = /* @__PURE__ */
|
|
1630
|
+
}, ko = /* @__PURE__ */ Ge({
|
|
1631
1631
|
name: "CdInputPersonSelector",
|
|
1632
1632
|
__name: "InputSelect",
|
|
1633
1633
|
props: {
|
|
@@ -1873,7 +1873,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
|
|
|
1873
1873
|
}, ai = {
|
|
1874
1874
|
key: 1,
|
|
1875
1875
|
class: "cd-users-list-dept-dialog__empty"
|
|
1876
|
-
}, li = /* @__PURE__ */
|
|
1876
|
+
}, li = /* @__PURE__ */ Ge({
|
|
1877
1877
|
name: "CdUsersList",
|
|
1878
1878
|
__name: "UsersList",
|
|
1879
1879
|
props: {
|
|
@@ -2296,7 +2296,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
|
|
|
2296
2296
|
class: "check-icon",
|
|
2297
2297
|
viewBox: "0 0 16 16",
|
|
2298
2298
|
fill: "currentColor"
|
|
2299
|
-
}, fi = /* @__PURE__ */
|
|
2299
|
+
}, fi = /* @__PURE__ */ Ge({
|
|
2300
2300
|
name: "CdLanguageSelect",
|
|
2301
2301
|
__name: "LanguageSelect",
|
|
2302
2302
|
props: {
|
|
@@ -2380,7 +2380,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
|
|
|
2380
2380
|
}, gi = { class: "form-item" }, hi = { class: "form-item" }, bi = { class: "form-item" }, yi = {
|
|
2381
2381
|
key: 1,
|
|
2382
2382
|
class: "form-content"
|
|
2383
|
-
}, _i = { class: "form-item" }, ki = { class: "form-item" }, Ci = { class: "code-input-group" }, wi = { class: "form-item" }, xi = { class: "form-item" }, $i = { class: "dialog-actions" }, Vi = /* @__PURE__ */
|
|
2383
|
+
}, _i = { class: "form-item" }, ki = { class: "form-item" }, Ci = { class: "code-input-group" }, wi = { class: "form-item" }, xi = { class: "form-item" }, $i = { class: "dialog-actions" }, Vi = /* @__PURE__ */ Ge({
|
|
2384
2384
|
name: "CdChangePasswordDialog",
|
|
2385
2385
|
__name: "ChangePasswordDialog",
|
|
2386
2386
|
props: {
|
|
@@ -2598,7 +2598,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
|
|
|
2598
2598
|
}, Ri = { class: "form-item" }, Ei = { class: "dialog-actions" }, Pi = {
|
|
2599
2599
|
key: 1,
|
|
2600
2600
|
class: "disable-section"
|
|
2601
|
-
}, Ii = { class: "form-item" }, Oi = { class: "dialog-actions" }, Ti = /* @__PURE__ */
|
|
2601
|
+
}, Ii = { class: "form-item" }, Oi = { class: "dialog-actions" }, Ti = /* @__PURE__ */ Ge({
|
|
2602
2602
|
name: "CdDynamicTokenDialog",
|
|
2603
2603
|
__name: "DynamicTokenDialog",
|
|
2604
2604
|
props: {
|
|
@@ -2751,7 +2751,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
|
|
|
2751
2751
|
}, 8, ["visible", "header"]);
|
|
2752
2752
|
};
|
|
2753
2753
|
}
|
|
2754
|
-
}), Ni = /* @__PURE__ */ aa(Ti, [["__scopeId", "data-v-22bfca30"]]), Bi = { class: "lock-dialog-content" }, qi = { class: "form-item" }, Li = { class: "form-item" }, ji = { class: "dialog-actions" }, Wi = /* @__PURE__ */
|
|
2754
|
+
}), Ni = /* @__PURE__ */ aa(Ti, [["__scopeId", "data-v-22bfca30"]]), Bi = { class: "lock-dialog-content" }, qi = { class: "form-item" }, Li = { class: "form-item" }, ji = { class: "dialog-actions" }, Wi = /* @__PURE__ */ Ge({
|
|
2755
2755
|
name: "CdScreenLockDialog",
|
|
2756
2756
|
__name: "ScreenLockDialog",
|
|
2757
2757
|
props: {
|
|
@@ -2895,7 +2895,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
|
|
|
2895
2895
|
}), Yi = /* @__PURE__ */ aa(Wi, [["__scopeId", "data-v-c92db49c"]]), Hi = { class: "shortcut-dialog-content" }, Ji = { class: "form-item" }, Ki = { class: "form-item" }, Gi = { class: "current-keys" }, Xi = { class: "form-item" }, Qi = {
|
|
2896
2896
|
key: 1,
|
|
2897
2897
|
class: "placeholder"
|
|
2898
|
-
}, Zi = { class: "dialog-actions" }, es = /* @__PURE__ */
|
|
2898
|
+
}, Zi = { class: "dialog-actions" }, es = /* @__PURE__ */ Ge({
|
|
2899
2899
|
name: "CdShortcutEditDialog",
|
|
2900
2900
|
__name: "ShortcutEditDialog",
|
|
2901
2901
|
props: {
|
|
@@ -3032,7 +3032,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
|
|
|
3032
3032
|
}, ms = { class: "calendar__actions" }, vs = {
|
|
3033
3033
|
key: 0,
|
|
3034
3034
|
class: "calendar__empty"
|
|
3035
|
-
}, ps = /* @__PURE__ */
|
|
3035
|
+
}, ps = /* @__PURE__ */ Ge({
|
|
3036
3036
|
name: "CdCalendarPanel",
|
|
3037
3037
|
__name: "CalendarPanel",
|
|
3038
3038
|
props: {
|
|
@@ -3118,7 +3118,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
|
|
|
3118
3118
|
}, zs = {
|
|
3119
3119
|
key: 0,
|
|
3120
3120
|
class: "tasks__empty"
|
|
3121
|
-
}, Fs = /* @__PURE__ */
|
|
3121
|
+
}, Fs = /* @__PURE__ */ Ge({
|
|
3122
3122
|
name: "CdTasksPanel",
|
|
3123
3123
|
__name: "TasksPanel",
|
|
3124
3124
|
props: {
|
|
@@ -3245,7 +3245,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
|
|
|
3245
3245
|
}, Rs = ["onClick"], Es = { class: "favorites-list" }, Ps = ["onClick"], Is = { class: "item-info" }, Os = { class: "item-title" }, Ts = { class: "item-desc" }, Ns = { class: "item-time" }, Bs = ["onClick"], qs = {
|
|
3246
3246
|
key: 0,
|
|
3247
3247
|
class: "favorites-empty"
|
|
3248
|
-
}, Ls = /* @__PURE__ */
|
|
3248
|
+
}, Ls = /* @__PURE__ */ Ge({
|
|
3249
3249
|
name: "CdFavoritesPanel",
|
|
3250
3250
|
__name: "FavoritesPanel",
|
|
3251
3251
|
props: {
|
|
@@ -3306,7 +3306,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
|
|
|
3306
3306
|
}, Gs = { class: "qrcode-info" }, Xs = { class: "qrcode-title" }, Qs = { class: "qrcode-desc" }, Zs = { class: "qrcode-actions" }, er = ["onClick"], ar = ["onClick"], lr = {
|
|
3307
3307
|
key: 0,
|
|
3308
3308
|
class: "link-section"
|
|
3309
|
-
}, tr = { class: "link-url" }, nr = ["onClick"], or = /* @__PURE__ */
|
|
3309
|
+
}, tr = { class: "link-url" }, nr = ["onClick"], or = /* @__PURE__ */ Ge({
|
|
3310
3310
|
name: "CdQrcodePanel",
|
|
3311
3311
|
__name: "QrcodePanel",
|
|
3312
3312
|
props: {
|
|
@@ -3389,7 +3389,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
|
|
|
3389
3389
|
}, yr = { class: "account-info" }, _r = { class: "account-name" }, kr = { class: "account-email" }, Cr = ["onClick"], wr = ["src"], xr = {
|
|
3390
3390
|
key: 1,
|
|
3391
3391
|
class: "ri-user-line"
|
|
3392
|
-
}, $r = { class: "account-info" }, Vr = { class: "account-name" }, Sr = { class: "account-email" }, Mr = /* @__PURE__ */
|
|
3392
|
+
}, $r = { class: "account-info" }, Vr = { class: "account-name" }, Sr = { class: "account-email" }, Mr = /* @__PURE__ */ Ge({
|
|
3393
3393
|
name: "CdAccountsPanel",
|
|
3394
3394
|
__name: "AccountsPanel",
|
|
3395
3395
|
props: {
|
|
@@ -3497,7 +3497,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
|
|
|
3497
3497
|
}, Or = ["checked", "onChange"], Tr = {
|
|
3498
3498
|
key: 3,
|
|
3499
3499
|
class: "color-picker"
|
|
3500
|
-
}, Nr = ["onClick"], Br = /* @__PURE__ */
|
|
3500
|
+
}, Nr = ["onClick"], Br = /* @__PURE__ */ Ge({
|
|
3501
3501
|
name: "CdSettingsPanel",
|
|
3502
3502
|
__name: "SettingsPanel",
|
|
3503
3503
|
props: {
|
|
@@ -3568,7 +3568,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
|
|
|
3568
3568
|
}, Wr = { class: "security-icon" }, Yr = { class: "security-content" }, Hr = { class: "security-header" }, Jr = { class: "security-info" }, Kr = { class: "security-label" }, Gr = {
|
|
3569
3569
|
key: 0,
|
|
3570
3570
|
class: "security-desc"
|
|
3571
|
-
}, Xr = { class: "security-status" }, Qr = ["onClick"], Zr = /* @__PURE__ */
|
|
3571
|
+
}, Xr = { class: "security-status" }, Qr = ["onClick"], Zr = /* @__PURE__ */ Ge({
|
|
3572
3572
|
name: "CdSecurityPanel",
|
|
3573
3573
|
__name: "SecurityPanel",
|
|
3574
3574
|
props: {
|
|
@@ -3628,7 +3628,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
|
|
|
3628
3628
|
}, td = ["href"], nd = {
|
|
3629
3629
|
key: 1,
|
|
3630
3630
|
class: "contact-section"
|
|
3631
|
-
}, od = { class: "contact-options" }, id = { class: "contact-info" }, sd = { class: "contact-title" }, rd = { class: "contact-desc" }, dd = ["href", "target"], ud = ["onClick"], cd = /* @__PURE__ */
|
|
3631
|
+
}, od = { class: "contact-options" }, id = { class: "contact-info" }, sd = { class: "contact-title" }, rd = { class: "contact-desc" }, dd = ["href", "target"], ud = ["onClick"], cd = /* @__PURE__ */ Ge({
|
|
3632
3632
|
name: "CdHelpPanel",
|
|
3633
3633
|
__name: "HelpPanel",
|
|
3634
3634
|
props: {
|
|
@@ -3700,7 +3700,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
|
|
|
3700
3700
|
}), fd = /* @__PURE__ */ aa(cd, [["__scopeId", "data-v-7a41d616"]]), md = { class: "cd-usercard-panel shortcuts-panel" }, vd = { class: "shortcuts-list" }, pd = ["onClick"], gd = { class: "shortcut-label" }, hd = { class: "shortcut-keys" }, bd = {
|
|
3701
3701
|
key: 0,
|
|
3702
3702
|
class: "shortcuts-empty"
|
|
3703
|
-
}, yd = /* @__PURE__ */
|
|
3703
|
+
}, yd = /* @__PURE__ */ Ge({
|
|
3704
3704
|
name: "CdShortcutsPanel",
|
|
3705
3705
|
__name: "ShortcutsPanel",
|
|
3706
3706
|
props: {
|
|
@@ -3750,7 +3750,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
|
|
|
3750
3750
|
}, Rd = ["href", "onClick"], Ed = {
|
|
3751
3751
|
key: 1,
|
|
3752
3752
|
class: "about-footer"
|
|
3753
|
-
}, Pd = /* @__PURE__ */
|
|
3753
|
+
}, Pd = /* @__PURE__ */ Ge({
|
|
3754
3754
|
name: "CdAboutPanel",
|
|
3755
3755
|
__name: "AboutPanel",
|
|
3756
3756
|
props: {
|
|
@@ -3837,7 +3837,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
|
|
|
3837
3837
|
}, Ld = {
|
|
3838
3838
|
key: 1,
|
|
3839
3839
|
class: "search-empty"
|
|
3840
|
-
}, jd = { class: "relation-form-dialog-content" }, Wd = /* @__PURE__ */
|
|
3840
|
+
}, jd = { class: "relation-form-dialog-content" }, Wd = /* @__PURE__ */ Ge({
|
|
3841
3841
|
name: "CdRelationForm",
|
|
3842
3842
|
__name: "RelationForm",
|
|
3843
3843
|
props: {
|
|
@@ -4119,7 +4119,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
|
|
|
4119
4119
|
}, Qd = { class: "preview-table" }, Zd = {
|
|
4120
4120
|
key: 0,
|
|
4121
4121
|
class: "preview-tip"
|
|
4122
|
-
}, eu = { class: "panel-footer" }, au = { class: "dialog-footer" }, lu = /* @__PURE__ */
|
|
4122
|
+
}, eu = { class: "panel-footer" }, au = { class: "dialog-footer" }, lu = /* @__PURE__ */ Ge({
|
|
4123
4123
|
__name: "AiAddDialog",
|
|
4124
4124
|
props: {
|
|
4125
4125
|
visible: { type: Boolean, default: !1 },
|
|
@@ -4525,7 +4525,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
|
|
|
4525
4525
|
components: {
|
|
4526
4526
|
RelationFormInternal: Fl
|
|
4527
4527
|
}
|
|
4528
|
-
}, xu = /* @__PURE__ */
|
|
4528
|
+
}, xu = /* @__PURE__ */ Ge({
|
|
4529
4529
|
...wu,
|
|
4530
4530
|
props: {
|
|
4531
4531
|
field: {},
|
|
@@ -5925,7 +5925,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
|
|
|
5925
5925
|
], 2)) : H("", !0);
|
|
5926
5926
|
};
|
|
5927
5927
|
}
|
|
5928
|
-
}), Dl = /* @__PURE__ */ aa(xu, [["__scopeId", "data-v-158cd013"]]), $u = /* @__PURE__ */
|
|
5928
|
+
}), Dl = /* @__PURE__ */ aa(xu, [["__scopeId", "data-v-158cd013"]]), $u = /* @__PURE__ */ Ge({
|
|
5929
5929
|
__name: "FormRender",
|
|
5930
5930
|
props: {
|
|
5931
5931
|
formConf: {},
|
|
@@ -11783,7 +11783,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
|
|
|
11783
11783
|
}
|
|
11784
11784
|
]
|
|
11785
11785
|
}
|
|
11786
|
-
], Su = { class: "filter-component" }, Mu = /* @__PURE__ */
|
|
11786
|
+
], Su = { class: "filter-component" }, Mu = /* @__PURE__ */ Ge({
|
|
11787
11787
|
__name: "FilterComponent",
|
|
11788
11788
|
props: {
|
|
11789
11789
|
fieldOptions: {},
|
|
@@ -13847,7 +13847,7 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
|
|
|
13847
13847
|
}, Vf = {
|
|
13848
13848
|
key: 0,
|
|
13849
13849
|
class: "cd-collaborator-item-permission-text"
|
|
13850
|
-
}, Sf = { class: "cd-qrcode-content" }, Mf = ["src"], zf = { class: "cd-qrcode-url" }, Ff = { class: "cd-encrypt-content" }, Df = { class: "cd-encrypt-field" }, Af = { class: "cd-encrypt-note" }, Uf = { class: "cd-encrypt-actions" }, Rf = /* @__PURE__ */
|
|
13850
|
+
}, Sf = { class: "cd-qrcode-content" }, Mf = ["src"], zf = { class: "cd-qrcode-url" }, Ff = { class: "cd-encrypt-content" }, Df = { class: "cd-encrypt-field" }, Af = { class: "cd-encrypt-note" }, Uf = { class: "cd-encrypt-actions" }, Rf = /* @__PURE__ */ Ge({
|
|
13851
13851
|
name: "CdShareDialog",
|
|
13852
13852
|
__name: "ShareDialog",
|
|
13853
13853
|
props: {
|
|
@@ -14700,7 +14700,7 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
|
|
|
14700
14700
|
}, Kf = { class: "sub-grid-title" }, Gf = {
|
|
14701
14701
|
key: 1,
|
|
14702
14702
|
class: "cd-form-pagination"
|
|
14703
|
-
}, Xf = /* @__PURE__ */
|
|
14703
|
+
}, Xf = /* @__PURE__ */ Ge({
|
|
14704
14704
|
__name: "CdForm",
|
|
14705
14705
|
props: {
|
|
14706
14706
|
formData: {},
|
|
@@ -14925,22 +14925,22 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
|
|
|
14925
14925
|
if (!Z.length) return [];
|
|
14926
14926
|
const Be = /* @__PURE__ */ new Map(), Je = [];
|
|
14927
14927
|
for (const xe of Z) {
|
|
14928
|
-
const
|
|
14928
|
+
const Xe = xe[ne] || xe.fname || xe.fnumber || xe.fullName || xe.name || String(xe[J]);
|
|
14929
14929
|
Be.set(String(xe[J]), {
|
|
14930
14930
|
value: String(xe[J]),
|
|
14931
|
-
label:
|
|
14931
|
+
label: Xe,
|
|
14932
14932
|
children: [],
|
|
14933
14933
|
_pid: String(xe[x] || "0")
|
|
14934
14934
|
});
|
|
14935
14935
|
}
|
|
14936
14936
|
for (const xe of Be.values()) {
|
|
14937
|
-
const
|
|
14938
|
-
|
|
14937
|
+
const Xe = Be.get(xe._pid);
|
|
14938
|
+
Xe && Xe !== xe ? Xe.children.push(xe) : Je.push(xe), delete xe._pid;
|
|
14939
14939
|
}
|
|
14940
14940
|
const We = (xe) => {
|
|
14941
|
-
var
|
|
14941
|
+
var Xe;
|
|
14942
14942
|
for (const ga of xe)
|
|
14943
|
-
(
|
|
14943
|
+
(Xe = ga.children) != null && Xe.length ? We(ga.children) : delete ga.children;
|
|
14944
14944
|
};
|
|
14945
14945
|
return We(Je), Je;
|
|
14946
14946
|
})()
|
|
@@ -15132,15 +15132,15 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
|
|
|
15132
15132
|
} : ne.formatter = ({ row: We }) => {
|
|
15133
15133
|
const xe = We[J + "_data"];
|
|
15134
15134
|
if (xe) {
|
|
15135
|
-
const
|
|
15135
|
+
const Xe = typeof xe == "string" ? (() => {
|
|
15136
15136
|
try {
|
|
15137
15137
|
return JSON.parse(xe);
|
|
15138
15138
|
} catch {
|
|
15139
15139
|
return null;
|
|
15140
15140
|
}
|
|
15141
15141
|
})() : xe;
|
|
15142
|
-
if (
|
|
15143
|
-
return
|
|
15142
|
+
if (Xe)
|
|
15143
|
+
return Xe.fname || Xe.FNAME || We[J];
|
|
15144
15144
|
}
|
|
15145
15145
|
return We[J] ?? "";
|
|
15146
15146
|
};
|
|
@@ -15157,11 +15157,11 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
|
|
|
15157
15157
|
if (Je.length > 0) {
|
|
15158
15158
|
const We = {};
|
|
15159
15159
|
Je.forEach((xe) => {
|
|
15160
|
-
const
|
|
15161
|
-
We[
|
|
15160
|
+
const Xe = String(xe.value ?? xe.id ?? "");
|
|
15161
|
+
We[Xe] = xe.label || xe.fullName || xe.name || Xe;
|
|
15162
15162
|
}), ne.formatter = ({ row: xe }) => {
|
|
15163
|
-
const
|
|
15164
|
-
return
|
|
15163
|
+
const Xe = xe[J];
|
|
15164
|
+
return Xe == null || Xe === "" ? "" : We[String(Xe)] ?? String(Xe);
|
|
15165
15165
|
};
|
|
15166
15166
|
}
|
|
15167
15167
|
}
|
|
@@ -15171,11 +15171,11 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
|
|
|
15171
15171
|
const xe = We[J];
|
|
15172
15172
|
if (!xe) return "";
|
|
15173
15173
|
try {
|
|
15174
|
-
const
|
|
15175
|
-
if (isNaN(
|
|
15176
|
-
const ga =
|
|
15174
|
+
const Xe = new Date(xe);
|
|
15175
|
+
if (isNaN(Xe.getTime())) return String(xe);
|
|
15176
|
+
const ga = Xe.getFullYear(), Va = String(Xe.getMonth() + 1).padStart(2, "0"), Sa = String(Xe.getDate()).padStart(2, "0");
|
|
15177
15177
|
if (Je === "datetime") {
|
|
15178
|
-
const Ba = String(
|
|
15178
|
+
const Ba = String(Xe.getHours()).padStart(2, "0"), qa = String(Xe.getMinutes()).padStart(2, "0"), La = String(Xe.getSeconds()).padStart(2, "0");
|
|
15179
15179
|
return `${ga}-${Va}-${Sa} ${Ba}:${qa}:${La}`;
|
|
15180
15180
|
}
|
|
15181
15181
|
return `${ga}-${Va}-${Sa}`;
|
|
@@ -16086,7 +16086,7 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
|
|
|
16086
16086
|
}
|
|
16087
16087
|
}), (t, f) => {
|
|
16088
16088
|
var Va, Sa, Ba, qa, La;
|
|
16089
|
-
const x = M("t-button"), k = M("t-dropdown-item"), J = M("t-dropdown-menu"), Z = M("t-dropdown"), ne = M("t-select"), pe = M("t-switch"), Ve = M("t-dialog"), Re = M("t-radio"), Ie = M("t-radio-group"), Be = M("t-upload"), Je = M("t-tag"), We = M("vxe-grid"), xe = M("t-pagination"),
|
|
16089
|
+
const x = M("t-button"), k = M("t-dropdown-item"), J = M("t-dropdown-menu"), Z = M("t-dropdown"), ne = M("t-select"), pe = M("t-switch"), Ve = M("t-dialog"), Re = M("t-radio"), Ie = M("t-radio-group"), Be = M("t-upload"), Je = M("t-tag"), We = M("vxe-grid"), xe = M("t-pagination"), Xe = M("t-space"), ga = M("t-drawer");
|
|
16090
16090
|
return l(), o("div", Pf, [
|
|
16091
16091
|
e("div", If, [
|
|
16092
16092
|
e("div", Of, [
|
|
@@ -16150,17 +16150,17 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
|
|
|
16150
16150
|
} : void 0
|
|
16151
16151
|
]), 1024),
|
|
16152
16152
|
s(J, {
|
|
16153
|
-
onClick: f[0] || (f[0] = (
|
|
16153
|
+
onClick: f[0] || (f[0] = (Ke) => je({ value: Ke.value }))
|
|
16154
16154
|
}, {
|
|
16155
16155
|
default: i(() => [
|
|
16156
|
-
(l(!0), o(fe, null, ye(be.children.filter((
|
|
16157
|
-
key:
|
|
16158
|
-
value:
|
|
16159
|
-
disabled:
|
|
16160
|
-
divider:
|
|
16156
|
+
(l(!0), o(fe, null, ye(be.children.filter((Ke) => Ke.show !== !1), (Ke) => (l(), Y(k, {
|
|
16157
|
+
key: Ke.value || Math.random(),
|
|
16158
|
+
value: Ke.value,
|
|
16159
|
+
disabled: Ke.disabled,
|
|
16160
|
+
divider: Ke.divider
|
|
16161
16161
|
}, {
|
|
16162
16162
|
default: i(() => [
|
|
16163
|
-
U(V(
|
|
16163
|
+
U(V(Ke.label), 1)
|
|
16164
16164
|
]),
|
|
16165
16165
|
_: 2
|
|
16166
16166
|
}, 1032, ["value", "disabled", "divider"]))), 128))
|
|
@@ -16174,7 +16174,7 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
|
|
|
16174
16174
|
variant: "outline",
|
|
16175
16175
|
size: "small",
|
|
16176
16176
|
theme: "primary",
|
|
16177
|
-
onClick: (
|
|
16177
|
+
onClick: (Ke) => je({ value: be.value })
|
|
16178
16178
|
}, ya({
|
|
16179
16179
|
default: i(() => [
|
|
16180
16180
|
U(" " + V(be.label), 1)
|
|
@@ -16192,7 +16192,7 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
|
|
|
16192
16192
|
variant: "outline",
|
|
16193
16193
|
size: "small",
|
|
16194
16194
|
key: be.value,
|
|
16195
|
-
onClick: (
|
|
16195
|
+
onClick: (Ke) => da(be)
|
|
16196
16196
|
}, ya({
|
|
16197
16197
|
default: i(() => [
|
|
16198
16198
|
U(" " + V(be.label), 1)
|
|
@@ -16275,12 +16275,12 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
|
|
|
16275
16275
|
default: i(() => {
|
|
16276
16276
|
var be;
|
|
16277
16277
|
return [
|
|
16278
|
-
(l(!0), o(fe, null, ye(((be = a.businessFlow) == null ? void 0 : be.downstream) || [], (
|
|
16279
|
-
key:
|
|
16280
|
-
value:
|
|
16278
|
+
(l(!0), o(fe, null, ye(((be = a.businessFlow) == null ? void 0 : be.downstream) || [], (Ke) => (l(), Y(Re, {
|
|
16279
|
+
key: Ke.formId,
|
|
16280
|
+
value: Ke
|
|
16281
16281
|
}, {
|
|
16282
16282
|
default: i(() => [
|
|
16283
|
-
U(V(
|
|
16283
|
+
U(V(Ke.formName), 1)
|
|
16284
16284
|
]),
|
|
16285
16285
|
_: 2
|
|
16286
16286
|
}, 1032, ["value"]))), 128))
|
|
@@ -16400,19 +16400,19 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
|
|
|
16400
16400
|
_: 2
|
|
16401
16401
|
}, 1024)
|
|
16402
16402
|
]),
|
|
16403
|
-
nameDefault: i(({ row: be, column:
|
|
16404
|
-
U(V(be[
|
|
16403
|
+
nameDefault: i(({ row: be, column: Ke }) => [
|
|
16404
|
+
U(V(be[Ke.field]), 1)
|
|
16405
16405
|
]),
|
|
16406
16406
|
expand_content_unified: i(({ row: be }) => [
|
|
16407
16407
|
e("div", Hf, [
|
|
16408
|
-
(l(!0), o(fe, null, ye(Na.value, (
|
|
16409
|
-
key: `content_${
|
|
16408
|
+
(l(!0), o(fe, null, ye(Na.value, (Ke) => (l(), o(fe, {
|
|
16409
|
+
key: `content_${Ke.vModel}`
|
|
16410
16410
|
}, [
|
|
16411
|
-
hl(be,
|
|
16412
|
-
e("div", Kf, V(
|
|
16411
|
+
hl(be, Ke.vModel) ? (l(), o("div", Jf, [
|
|
16412
|
+
e("div", Kf, V(Ke.label), 1),
|
|
16413
16413
|
s(We, Aa({ ref_for: !0 }, Il, {
|
|
16414
|
-
data: be[
|
|
16415
|
-
columns: Pl(
|
|
16414
|
+
data: be[Ke.vModel] || [],
|
|
16415
|
+
columns: Pl(Ke)
|
|
16416
16416
|
}), null, 16, ["data", "columns"])
|
|
16417
16417
|
])) : H("", !0)
|
|
16418
16418
|
], 64))), 128))
|
|
@@ -16422,32 +16422,32 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
|
|
|
16422
16422
|
}, [
|
|
16423
16423
|
ye(Na.value, (be) => ({
|
|
16424
16424
|
name: `subgrid_trigger_${be.vModel}`,
|
|
16425
|
-
fn: i(({ row:
|
|
16425
|
+
fn: i(({ row: Ke }) => [
|
|
16426
16426
|
s(x, {
|
|
16427
16427
|
variant: "text",
|
|
16428
16428
|
size: "small",
|
|
16429
|
-
disabled: !
|
|
16430
|
-
onClick: (Ma) => cl(
|
|
16429
|
+
disabled: !Ke[be.vModel] || Ke[be.vModel].length === 0,
|
|
16430
|
+
onClick: (Ma) => cl(Ke, be.vModel)
|
|
16431
16431
|
}, {
|
|
16432
16432
|
icon: i(() => [
|
|
16433
16433
|
e("i", {
|
|
16434
|
-
class: $e(hl(
|
|
16434
|
+
class: $e(hl(Ke, be.vModel) ? "ri-arrow-down-s-line" : "ri-arrow-right-s-line")
|
|
16435
16435
|
}, null, 2)
|
|
16436
16436
|
]),
|
|
16437
16437
|
default: i(() => {
|
|
16438
16438
|
var Ma;
|
|
16439
16439
|
return [
|
|
16440
|
-
U(" " + V(((Ma =
|
|
16440
|
+
U(" " + V(((Ma = Ke[be.vModel]) == null ? void 0 : Ma.length) || 0) + " 条 ", 1)
|
|
16441
16441
|
];
|
|
16442
16442
|
}),
|
|
16443
16443
|
_: 2
|
|
16444
16444
|
}, 1032, ["disabled", "onClick"])
|
|
16445
16445
|
])
|
|
16446
16446
|
})),
|
|
16447
|
-
ye(t.$slots, (be,
|
|
16448
|
-
name:
|
|
16447
|
+
ye(t.$slots, (be, Ke) => ({
|
|
16448
|
+
name: Ke,
|
|
16449
16449
|
fn: i((Ma) => [
|
|
16450
|
-
fa(t.$slots,
|
|
16450
|
+
fa(t.$slots, Ke, Nl(Bl(Ma)), void 0, !0)
|
|
16451
16451
|
])
|
|
16452
16452
|
}))
|
|
16453
16453
|
]), 1040, ["edit-config"])
|
|
@@ -16503,7 +16503,7 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
|
|
|
16503
16503
|
j.value !== "detail" ? {
|
|
16504
16504
|
name: "footer",
|
|
16505
16505
|
fn: i(() => [
|
|
16506
|
-
s(
|
|
16506
|
+
s(Xe, null, {
|
|
16507
16507
|
default: i(() => [
|
|
16508
16508
|
a.formData.hasCancelBtn ? (l(), Y(x, {
|
|
16509
16509
|
key: 0,
|
|
@@ -16546,7 +16546,7 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
|
|
|
16546
16546
|
]);
|
|
16547
16547
|
};
|
|
16548
16548
|
}
|
|
16549
|
-
}), El = /* @__PURE__ */ aa(Xf, [["__scopeId", "data-v-
|
|
16549
|
+
}), El = /* @__PURE__ */ aa(Xf, [["__scopeId", "data-v-7c5d1b3e"]]), Qf = { class: "field-manage-header" }, Zf = { class: "field-manage-content" }, em = { class: "field-manage-toolbar" }, am = /* @__PURE__ */ Ge({
|
|
16550
16550
|
__name: "FieldManageDialog",
|
|
16551
16551
|
props: {
|
|
16552
16552
|
modelValue: { type: Boolean },
|