@dazhicheng/ui 1.5.261 → 1.5.262
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/components/tt-api-component/index.vue2.js +41 -40
- package/dist/components/tt-area/TtArea.vue.js +1 -1
- package/dist/components/tt-button/index.vue2.js +10 -9
- package/dist/components/tt-drawer/src/RenderDrawer.vue.js +16 -15
- package/dist/components/tt-drawer/src/components/DrawerFooter.vue.js +3 -2
- package/dist/components/tt-drawer/src/components/DrawerHeader.vue.js +2 -2
- package/dist/components/tt-drawer/src/components/DrawerHeader.vue2.js +3 -2
- package/dist/components/tt-drawer/src/props.js +3 -2
- package/dist/components/tt-form/index.js +7 -6
- package/dist/components/tt-form/src/components/FormActions.vue2.js +3 -2
- package/dist/components/tt-form/src/form-render/form.vue2.js +3 -2
- package/dist/components/tt-form/src/group-form/GroupForm.vue2.js +3 -2
- package/dist/components/tt-form/src/group-form/GroupSection.vue2.js +26 -25
- package/dist/components/tt-form/src/group-form/LazyFormField.vue.js +3 -2
- package/dist/components/tt-form/src/index.vue2.js +3 -2
- package/dist/components/tt-icon/index.vue.js +2 -2
- package/dist/components/tt-loading/src/loading.vue.js +2 -2
- package/dist/components/tt-log/index.vue.js +5 -4
- package/dist/components/tt-modal/src/RenderModal.vue.js +3 -2
- package/dist/components/tt-modal/src/components/ModalHeader.vue2.js +7 -6
- package/dist/components/tt-modal/src/components/ModalWrapper.vue.js +3 -2
- package/dist/components/tt-modal/src/props.js +3 -2
- package/dist/components/tt-nav-anchor/src/TtNavAnchor.vue.js +3 -2
- package/dist/components/tt-panel-select/src/index.vue.d.ts +1 -1
- package/dist/components/tt-panel-select/src/index.vue.js +3 -2
- package/dist/components/tt-radio-group/index.vue.js +11 -10
- package/dist/components/tt-select/src/Select.vue.d.ts +4 -4
- package/dist/components/tt-select/src/Select.vue.js +3 -2
- package/dist/components/tt-select/src/components/SelectTable.vue.js +3 -2
- package/dist/components/tt-select/src/components/Table.vue.d.ts +4 -4
- package/dist/components/tt-select/src/components/Table.vue.js +3 -2
- package/dist/components/tt-table/index.d.ts +12 -12
- package/dist/components/tt-table/index.js +1 -1
- package/dist/components/tt-table/src/Table.vue.d.ts +4 -4
- package/dist/components/tt-table/src/Table.vue.js +45 -44
- package/dist/components/tt-table/src/TableForm.vue.js +1 -1
- package/dist/components/tt-table/src/components/TableAction.vue.js +12 -11
- package/dist/components/tt-table/src/components/TableButtons.js +3 -2
- package/dist/components/tt-table/src/components/TableColumnModal.vue2.js +34 -33
- package/dist/components/tt-table/src/props.js +5 -4
- package/dist/components/tt-upload/src/TtUpload.vue.js +15 -14
- package/dist/hooks/basicDataCodes.d.ts +4 -1
- package/dist/hooks/basicDataCodes.js +35 -33
- package/dist/hooks/usePanelSelectSchemas.d.ts +3 -2
- package/dist/hooks/usePanelSelectSchemas.js +62 -62
- package/dist/hooks/useScreenshotOss.js +3 -2
- package/dist/plugins/vxeTable/switchStatus.js +3 -2
- package/dist/style.css +1 -1
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Pe, unref as l, computed as a, inject as
|
|
1
|
+
import { defineComponent as Pe, unref as l, computed as a, inject as ue, watch as Fe, useSlots as Ie, createElementBlock as h, createCommentVNode as q, openBlock as u, normalizeClass as f, createBlock as w, renderSlot as m, normalizeProps as y, mergeProps as p, resolveDynamicComponent as Ee, Fragment as G, renderList as S, createSlots as H, withCtx as k, guardReactiveProps as b, createElementVNode as P, withDirectives as Ne, createVNode as Re, vShow as Ve } from "vue";
|
|
2
2
|
import Le from "../../../../assets/svg/arrowDown.svg.js";
|
|
3
3
|
import Ae from "../../../../assets/svg/arrowSUp.svg.js";
|
|
4
4
|
import { TtIcon as Be } from "../../../tt-icon/index.js";
|
|
@@ -15,6 +15,7 @@ import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/en
|
|
|
15
15
|
import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb.js";
|
|
16
16
|
import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs7.js";
|
|
17
17
|
import "lodash-es";
|
|
18
|
+
import "vue-router";
|
|
18
19
|
import { useFormValues as Ge } from "vee-validate";
|
|
19
20
|
import { injectRenderFormProps as He } from "../form-render/context.js";
|
|
20
21
|
import { injectFormProps as Me } from "../useFormContext.js";
|
|
@@ -45,10 +46,10 @@ const We = ["data-group-key"], Ye = ["data-group-scroll-anchor"], fe = "grid-col
|
|
|
45
46
|
},
|
|
46
47
|
emits: ["toggleCollapse"],
|
|
47
48
|
setup(ce, { emit: ve }) {
|
|
48
|
-
const { prefixCls: s } = De("group-section"), N = Ge(), Z = He().form, [de] = Me(), x = l(de).formApi, o = ce, ee = ve, F = a(() => M(o.schema)), R = a(() => pe(o.schema)), oe = a(() => X(o.schema)), r = a(() => F.value ? o.schema : null), $ = a(() => R.value ? o.schema : null), I = a(() => oe.value ? o.schema : null), j =
|
|
49
|
-
const
|
|
50
|
-
return
|
|
51
|
-
}), ge = a(() => !(!re.value || F.value && r.value && (j != null && j.has(r.value.key)))), K =
|
|
49
|
+
const { prefixCls: s } = De("group-section"), N = Ge(), Z = He().form, [de] = Me(), x = l(de).formApi, o = ce, ee = ve, F = a(() => M(o.schema)), R = a(() => pe(o.schema)), oe = a(() => X(o.schema)), r = a(() => F.value ? o.schema : null), $ = a(() => R.value ? o.schema : null), I = a(() => oe.value ? o.schema : null), j = ue(Ke, void 0), re = a(() => {
|
|
50
|
+
const i = o.schema.ifShow;
|
|
51
|
+
return i === void 0 || i === !0 ? !0 : J(i) ? !!i(N.value, x) : !!i;
|
|
52
|
+
}), ge = a(() => !(!re.value || F.value && r.value && (j != null && j.has(r.value.key)))), K = ue(Te, void 0), le = a(() => $.value ? ze($.value.children) : []);
|
|
52
53
|
let te;
|
|
53
54
|
Fe(
|
|
54
55
|
[re],
|
|
@@ -77,7 +78,7 @@ const We = ["data-group-key"], Ye = ["data-group-scroll-anchor"], fe = "grid-col
|
|
|
77
78
|
})), he = a(() => r.value ? c("grid gap-x-4", r.value.wrapperClass || fe) : ""), ye = a(() => $.value ? c("grid gap-x-4 col-span-full", $.value.wrapperClass || fe) : ""), ke = a(() => F.value ? c(s, `${s}--group`, {
|
|
78
79
|
[`${s}--nested`]: o.depth > 0
|
|
79
80
|
}) : R.value ? c(s, `${s}--row`, ye.value) : c(s, `${s}--transparent`));
|
|
80
|
-
function z(e,
|
|
81
|
+
function z(e, i) {
|
|
81
82
|
const {
|
|
82
83
|
colon: v = !1,
|
|
83
84
|
componentProps: _ = {},
|
|
@@ -93,7 +94,7 @@ const We = ["data-group-key"], Ye = ["data-group-scroll-anchor"], fe = "grid-col
|
|
|
93
94
|
labelClass: C = "",
|
|
94
95
|
labelWidth: we = 70,
|
|
95
96
|
modelPropName: Se = "",
|
|
96
|
-
wrapperClass:
|
|
97
|
+
wrapperClass: ie = ""
|
|
97
98
|
} = ae.value;
|
|
98
99
|
let Y = e.formItemClass;
|
|
99
100
|
if (J(e.formItemClass))
|
|
@@ -102,7 +103,7 @@ const We = ["data-group-key"], Ye = ["data-group-scroll-anchor"], fe = "grid-col
|
|
|
102
103
|
} catch {
|
|
103
104
|
Y = "";
|
|
104
105
|
}
|
|
105
|
-
const be = e.useArraySchema && !e.wrapperClass ? c(
|
|
106
|
+
const be = e.useArraySchema && !e.wrapperClass ? c(ie, i) : e.wrapperClass || ie;
|
|
106
107
|
return {
|
|
107
108
|
colon: v,
|
|
108
109
|
disabled: A,
|
|
@@ -131,8 +132,8 @@ const We = ["data-group-key"], Ye = ["data-group-scroll-anchor"], fe = "grid-col
|
|
|
131
132
|
formActions: Z
|
|
132
133
|
})), se = Ie(), $e = a(() => {
|
|
133
134
|
var v;
|
|
134
|
-
const e = (v = r.value) == null ? void 0 : v.key,
|
|
135
|
-
return e ?
|
|
135
|
+
const e = (v = r.value) == null ? void 0 : v.key, i = Object.keys(se);
|
|
136
|
+
return e ? i.filter((_) => !_.startsWith(`${e}-`)) : i;
|
|
136
137
|
});
|
|
137
138
|
function _e() {
|
|
138
139
|
E.value && r.value && ee("toggleCollapse", r.value.key);
|
|
@@ -147,21 +148,21 @@ const We = ["data-group-key"], Ye = ["data-group-scroll-anchor"], fe = "grid-col
|
|
|
147
148
|
rootMargin: o.rootMargin,
|
|
148
149
|
estimateFieldHeight: o.estimateFieldHeight
|
|
149
150
|
})), W = a(() => Object.keys(se).filter((e) => e !== "default"));
|
|
150
|
-
return (e,
|
|
151
|
+
return (e, i) => {
|
|
151
152
|
var v, _, L, A, B, D, O;
|
|
152
|
-
return ge.value ? (
|
|
153
|
+
return ge.value ? (u(), h("div", {
|
|
153
154
|
key: 0,
|
|
154
155
|
class: f(ke.value),
|
|
155
156
|
"data-group-key": (v = r.value) == null ? void 0 : v.key
|
|
156
157
|
}, [
|
|
157
|
-
oe.value && I.value ? (
|
|
158
|
+
oe.value && I.value ? (u(), h("div", {
|
|
158
159
|
key: 0,
|
|
159
160
|
class: f([`${l(s)}__slot`, I.value.wrapperClass])
|
|
160
161
|
}, [
|
|
161
|
-
l(Oe)(I.value.content) ? m(e.$slots, I.value.content, y(p({ key: 0 }, ne.value))) : (
|
|
162
|
-
], 2)) : R.value ? (
|
|
162
|
+
l(Oe)(I.value.content) ? m(e.$slots, I.value.content, y(p({ key: 0 }, ne.value))) : (u(), w(Ee(I.value.content(ne.value)), { key: 1 }))
|
|
163
|
+
], 2)) : R.value ? (u(!0), h(G, { key: 1 }, S($.value.children, (t, d) => {
|
|
163
164
|
var g;
|
|
164
|
-
return
|
|
165
|
+
return u(), w(l(Q), p({
|
|
165
166
|
key: t.fieldName || `row-field-${d}`,
|
|
166
167
|
"field-config": z(t, (g = $.value) == null ? void 0 : g.wrapperClass),
|
|
167
168
|
rules: t.rules
|
|
@@ -178,7 +179,7 @@ const We = ["data-group-key"], Ye = ["data-group-scroll-anchor"], fe = "grid-col
|
|
|
178
179
|
])
|
|
179
180
|
}))
|
|
180
181
|
]), 1040, ["field-config", "rules"]);
|
|
181
|
-
}), 128)) : F.value ? (
|
|
182
|
+
}), 128)) : F.value ? (u(), h(G, { key: 3 }, [
|
|
182
183
|
P("div", {
|
|
183
184
|
class: f([
|
|
184
185
|
`${l(s)}__header`,
|
|
@@ -194,7 +195,7 @@ const We = ["data-group-key"], Ye = ["data-group-scroll-anchor"], fe = "grid-col
|
|
|
194
195
|
P("span", {
|
|
195
196
|
class: f(`${l(s)}__title`)
|
|
196
197
|
}, [
|
|
197
|
-
(A = r.value) != null && A.title ? (
|
|
198
|
+
(A = r.value) != null && A.title ? (u(), w(l(je), {
|
|
198
199
|
key: 0,
|
|
199
200
|
content: r.value.title
|
|
200
201
|
}, null, 8, ["content"])) : q("", !0)
|
|
@@ -205,7 +206,7 @@ const We = ["data-group-key"], Ye = ["data-group-scroll-anchor"], fe = "grid-col
|
|
|
205
206
|
class: f(`${l(s)}__header-right`)
|
|
206
207
|
}, [
|
|
207
208
|
m(e.$slots, `${(D = r.value) == null ? void 0 : D.key}-arrow-left`, y(b(V.value))),
|
|
208
|
-
E.value ? (
|
|
209
|
+
E.value ? (u(), h("span", {
|
|
209
210
|
key: 0,
|
|
210
211
|
class: f(`${l(s)}__arrow`)
|
|
211
212
|
}, [
|
|
@@ -224,18 +225,18 @@ const We = ["data-group-key"], Ye = ["data-group-scroll-anchor"], fe = "grid-col
|
|
|
224
225
|
P("div", {
|
|
225
226
|
class: f(he.value)
|
|
226
227
|
}, [
|
|
227
|
-
(
|
|
228
|
+
(u(!0), h(G, null, S(r.value.children, (t, d) => {
|
|
228
229
|
var g;
|
|
229
|
-
return
|
|
230
|
+
return u(), h(G, {
|
|
230
231
|
key: l(Ue)(t, d)
|
|
231
232
|
}, [
|
|
232
|
-
l(M)(t) || l(pe)(t) || l(X)(t) ? (
|
|
233
|
+
l(M)(t) || l(pe)(t) || l(X)(t) ? (u(), w(qe, p({
|
|
233
234
|
key: 0,
|
|
234
235
|
schema: t
|
|
235
236
|
}, { ref_for: !0 }, Ce.value, {
|
|
236
237
|
depth: l(M)(t) ? e.depth + 1 : e.depth,
|
|
237
238
|
class: { "col-span-full": l(M)(t) || l(X)(t) },
|
|
238
|
-
onToggleCollapse:
|
|
239
|
+
onToggleCollapse: i[0] || (i[0] = (n) => ee("toggleCollapse", n))
|
|
239
240
|
}), H({ _: 2 }, [
|
|
240
241
|
S($e.value, (n) => ({
|
|
241
242
|
name: n,
|
|
@@ -243,7 +244,7 @@ const We = ["data-group-key"], Ye = ["data-group-scroll-anchor"], fe = "grid-col
|
|
|
243
244
|
m(e.$slots, n, p({ ref_for: !0 }, C))
|
|
244
245
|
])
|
|
245
246
|
}))
|
|
246
|
-
]), 1040, ["schema", "depth", "class"])) : (
|
|
247
|
+
]), 1040, ["schema", "depth", "class"])) : (u(), w(l(Q), p({
|
|
247
248
|
key: 1,
|
|
248
249
|
"field-config": z(t, (g = r.value) == null ? void 0 : g.wrapperClass),
|
|
249
250
|
rules: t.rules
|
|
@@ -266,7 +267,7 @@ const We = ["data-group-key"], Ye = ["data-group-scroll-anchor"], fe = "grid-col
|
|
|
266
267
|
], 2), [
|
|
267
268
|
[Ve, !T.value]
|
|
268
269
|
])
|
|
269
|
-
], 64)) : (
|
|
270
|
+
], 64)) : (u(), w(l(Q), p({
|
|
270
271
|
key: 2,
|
|
271
272
|
"field-config": z(e.schema),
|
|
272
273
|
rules: e.schema.rules
|
|
@@ -11,12 +11,13 @@ import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/en
|
|
|
11
11
|
import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb.js";
|
|
12
12
|
import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs7.js";
|
|
13
13
|
import "lodash-es";
|
|
14
|
+
import "vue-router";
|
|
14
15
|
import { useFormValues as ce } from "vee-validate";
|
|
15
16
|
import me from "../form-render/FormField.vue2.js";
|
|
16
17
|
import { injectFormProps as de } from "../useFormContext.js";
|
|
17
18
|
import { RENDER_SCHEDULER_KEY as pe } from "./lazyContext.js";
|
|
18
19
|
import { resolveValueByFieldName as ve } from "../form-render/dependencies.js";
|
|
19
|
-
const ge = ["data-field-anchor"],
|
|
20
|
+
const ge = ["data-field-anchor"], xe = /* @__PURE__ */ K({
|
|
20
21
|
name: "LazyFormField",
|
|
21
22
|
inheritAttrs: !1,
|
|
22
23
|
__name: "LazyFormField",
|
|
@@ -188,5 +189,5 @@ const ge = ["data-field-anchor"], Ve = /* @__PURE__ */ K({
|
|
|
188
189
|
}
|
|
189
190
|
});
|
|
190
191
|
export {
|
|
191
|
-
|
|
192
|
+
xe as default
|
|
192
193
|
};
|
|
@@ -11,6 +11,7 @@ import "../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-u
|
|
|
11
11
|
import "../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb.js";
|
|
12
12
|
import "../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs7.js";
|
|
13
13
|
import { get as M, isEqual as q, set as G } from "lodash-es";
|
|
14
|
+
import "vue-router";
|
|
14
15
|
import { useForwardPriorityValues as W } from "./hooks/useForwardPriorityValues.js";
|
|
15
16
|
import { useDebounceFn as j } from "@vueuse/core";
|
|
16
17
|
import J from "./components/FormActions.vue2.js";
|
|
@@ -28,7 +29,7 @@ import "es-toolkit/compat";
|
|
|
28
29
|
import "../../tt-text/index.js";
|
|
29
30
|
import te from "./form-render/form.vue2.js";
|
|
30
31
|
/* empty css */
|
|
31
|
-
const
|
|
32
|
+
const Ne = /* @__PURE__ */ P({
|
|
32
33
|
name: "TtForm",
|
|
33
34
|
__name: "index",
|
|
34
35
|
props: {
|
|
@@ -154,5 +155,5 @@ const Pe = /* @__PURE__ */ P({
|
|
|
154
155
|
}
|
|
155
156
|
});
|
|
156
157
|
export {
|
|
157
|
-
|
|
158
|
+
Ne as default
|
|
158
159
|
};
|
|
@@ -2,7 +2,7 @@ import o from "./index.vue2.js";
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const
|
|
5
|
+
const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-6dba01d4"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
_ as default
|
|
8
8
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./loading.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-5d760747"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as l, createBlock as
|
|
1
|
+
import { defineComponent as l, createBlock as m, openBlock as s, unref as t, mergeProps as n } from "vue";
|
|
2
2
|
import "../../node_modules/.pnpm/vue-types@5.1.3_vue@3.5.21_typescript@5.9.3_/node_modules/vue-types/shim/index.modern.js";
|
|
3
3
|
import { useDesign as a } from "../../packages/hooks/src/useDesign.js";
|
|
4
4
|
import "axios";
|
|
@@ -13,9 +13,10 @@ import "../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-utf8
|
|
|
13
13
|
import "../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb.js";
|
|
14
14
|
import "../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs7.js";
|
|
15
15
|
import "lodash-es";
|
|
16
|
+
import "vue-router";
|
|
16
17
|
import "../tt-table/index.js";
|
|
17
18
|
import { useTableRender as c } from "../tt-table/src/hooks/useTableRender.js";
|
|
18
|
-
const
|
|
19
|
+
const L = /* @__PURE__ */ l({
|
|
19
20
|
name: "TtLog",
|
|
20
21
|
__name: "index",
|
|
21
22
|
props: {
|
|
@@ -36,9 +37,9 @@ const I = /* @__PURE__ */ l({
|
|
|
36
37
|
],
|
|
37
38
|
...o.tableProps
|
|
38
39
|
});
|
|
39
|
-
return (p, f) => (
|
|
40
|
+
return (p, f) => (s(), m(t(i), n({ class: t(r) }, p.$attrs), null, 16, ["class"]));
|
|
40
41
|
}
|
|
41
42
|
});
|
|
42
43
|
export {
|
|
43
|
-
|
|
44
|
+
L as default
|
|
44
45
|
};
|
|
@@ -16,6 +16,7 @@ import "../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-u
|
|
|
16
16
|
import "../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb.js";
|
|
17
17
|
import "../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs7.js";
|
|
18
18
|
import { omit as H, pick as O } from "lodash-es";
|
|
19
|
+
import "vue-router";
|
|
19
20
|
import Ro from "../../../directives/dialog-resize/index.js";
|
|
20
21
|
import { useStore as jo } from "@tanstack/vue-store";
|
|
21
22
|
import Eo from "./components/ModalFooter.vue.js";
|
|
@@ -25,7 +26,7 @@ import { basicProps as No } from "./props.js";
|
|
|
25
26
|
import { ModalApi as qo } from "./utils/modal-api.js";
|
|
26
27
|
import { pushModal as Ko, removeModal as W } from "./utils/modal-stack.js";
|
|
27
28
|
import Uo from "../../../assets/svg/close.svg.js";
|
|
28
|
-
const Go = ["aria-tt-id", "data-testid"], Jo = ["data-testid"],
|
|
29
|
+
const Go = ["aria-tt-id", "data-testid"], Jo = ["data-testid"], Pe = /* @__PURE__ */ ko({
|
|
29
30
|
name: "TtModal",
|
|
30
31
|
__name: "RenderModal",
|
|
31
32
|
props: {
|
|
@@ -318,5 +319,5 @@ const Go = ["aria-tt-id", "data-testid"], Jo = ["data-testid"], Be = /* @__PURE_
|
|
|
318
319
|
}
|
|
319
320
|
});
|
|
320
321
|
export {
|
|
321
|
-
|
|
322
|
+
Pe as default
|
|
322
323
|
};
|
|
@@ -13,23 +13,24 @@ import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/en
|
|
|
13
13
|
import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb.js";
|
|
14
14
|
import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs7.js";
|
|
15
15
|
import "lodash-es";
|
|
16
|
-
|
|
16
|
+
import "vue-router";
|
|
17
|
+
const z = /* @__PURE__ */ i({
|
|
17
18
|
__name: "ModalHeader",
|
|
18
19
|
props: {
|
|
19
20
|
/** 标题 */
|
|
20
21
|
title: d.string
|
|
21
22
|
},
|
|
22
|
-
setup(
|
|
23
|
-
const { prefixCls:
|
|
23
|
+
setup(r) {
|
|
24
|
+
const { prefixCls: e } = c("modal-header");
|
|
24
25
|
return (t, f) => (m(), p("div", {
|
|
25
|
-
class: s(l(
|
|
26
|
+
class: s(l(e))
|
|
26
27
|
}, [
|
|
27
|
-
a(n(t.$slots.title ? "" :
|
|
28
|
+
a(n(t.$slots.title ? "" : r.title) + " ", 1),
|
|
28
29
|
o(t.$slots, "titleToolbar", {}, void 0, !0),
|
|
29
30
|
o(t.$slots, "appendHeader", {}, void 0, !0)
|
|
30
31
|
], 2));
|
|
31
32
|
}
|
|
32
33
|
});
|
|
33
34
|
export {
|
|
34
|
-
|
|
35
|
+
z as default
|
|
35
36
|
};
|
|
@@ -14,8 +14,9 @@ import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mo
|
|
|
14
14
|
import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs7.js";
|
|
15
15
|
import "lodash-es";
|
|
16
16
|
import { useIsScroll as $ } from "../../../../packages/hooks/src/useIsScroll.js";
|
|
17
|
+
import "vue-router";
|
|
17
18
|
import { basicProps as b } from "../props.js";
|
|
18
|
-
const
|
|
19
|
+
const U = /* @__PURE__ */ d({
|
|
19
20
|
name: "TtWrapper",
|
|
20
21
|
__name: "ModalWrapper",
|
|
21
22
|
props: b,
|
|
@@ -57,5 +58,5 @@ const Q = /* @__PURE__ */ d({
|
|
|
57
58
|
}
|
|
58
59
|
});
|
|
59
60
|
export {
|
|
60
|
-
|
|
61
|
+
U as default
|
|
61
62
|
};
|
|
@@ -12,6 +12,7 @@ import "../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-u
|
|
|
12
12
|
import "../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb.js";
|
|
13
13
|
import "../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs7.js";
|
|
14
14
|
import "lodash-es";
|
|
15
|
+
import "vue-router";
|
|
15
16
|
import { GlobalConfig as e } from "../../../hooks/useSetup.js";
|
|
16
17
|
const o = {
|
|
17
18
|
/** 测试标识 */
|
|
@@ -38,7 +39,7 @@ const o = {
|
|
|
38
39
|
fullscreen: { type: Boolean, default: !1 },
|
|
39
40
|
/** 是否允许自定义大小 */
|
|
40
41
|
resizer: { type: Boolean, default: !1 }
|
|
41
|
-
},
|
|
42
|
+
}, h = Object.assign({}, o, {
|
|
42
43
|
/** 弹窗的loading */
|
|
43
44
|
loading: { type: Boolean, default: !1 },
|
|
44
45
|
/** 弹窗的loading提示 */
|
|
@@ -83,6 +84,6 @@ const o = {
|
|
|
83
84
|
}
|
|
84
85
|
});
|
|
85
86
|
export {
|
|
86
|
-
|
|
87
|
+
h as basicProps,
|
|
87
88
|
o as modalProps
|
|
88
89
|
};
|
|
@@ -17,9 +17,10 @@ import "../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-u
|
|
|
17
17
|
import "../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb.js";
|
|
18
18
|
import "../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs7.js";
|
|
19
19
|
import "lodash-es";
|
|
20
|
+
import "vue-router";
|
|
20
21
|
import { useElementSize as Ie, useDraggable as Se } from "@vueuse/core";
|
|
21
22
|
import { TT_NAV_ANCHOR_DRAG_VISIBLE_SIZE_PX as k, TT_NAV_ANCHOR_ROOT_WIDTH_PX as h } from "./constants.js";
|
|
22
|
-
const De = ["tabindex"], He = ["onClick"], Oe = ["title"],
|
|
23
|
+
const De = ["tabindex"], He = ["onClick"], Oe = ["title"], lt = /* @__PURE__ */ de({
|
|
23
24
|
name: "TtNavAnchor",
|
|
24
25
|
__name: "TtNavAnchor",
|
|
25
26
|
props: {
|
|
@@ -278,5 +279,5 @@ const De = ["tabindex"], He = ["onClick"], Oe = ["title"], it = /* @__PURE__ */
|
|
|
278
279
|
}
|
|
279
280
|
});
|
|
280
281
|
export {
|
|
281
|
-
|
|
282
|
+
lt as default
|
|
282
283
|
};
|
|
@@ -23,10 +23,10 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
|
23
23
|
}>, {
|
|
24
24
|
disabled: boolean;
|
|
25
25
|
immediate: boolean;
|
|
26
|
+
params: import('../../../../../utils/src').Recordable;
|
|
26
27
|
multiple: boolean;
|
|
27
28
|
options: PanelSelectOption[];
|
|
28
29
|
treeConfig: import('./types').PanelSelectTreeConfig;
|
|
29
|
-
params: import('../../../../../utils/src').Recordable;
|
|
30
30
|
showAll: boolean;
|
|
31
31
|
resultField: string;
|
|
32
32
|
afterFetch: import('../../../../../utils/src').AnyPromiseFunction<any, any>;
|
|
@@ -13,6 +13,7 @@ import "../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-u
|
|
|
13
13
|
import "../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb.js";
|
|
14
14
|
import "../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs7.js";
|
|
15
15
|
import { cloneDeep as J, isEqual as Je } from "lodash-es";
|
|
16
|
+
import "vue-router";
|
|
16
17
|
import { useResizeObserver as Qe } from "@vueuse/core";
|
|
17
18
|
import { useSelectCollapseOptions as Xe } from "../../tt-form/src/hooks/useSelectCollapse.js";
|
|
18
19
|
import { ALL as Ye } from "./common.js";
|
|
@@ -22,7 +23,7 @@ import ll from "./components/PanelRight.vue.js";
|
|
|
22
23
|
import { usePanelSelectData as tl } from "./hooks/usePanelData.js";
|
|
23
24
|
import { usePanelSelectSelection as al } from "./hooks/usePanelSelection.js";
|
|
24
25
|
/* empty css */
|
|
25
|
-
const p = 4,
|
|
26
|
+
const p = 4, Rl = /* @__PURE__ */ _e({
|
|
26
27
|
name: "TtPanelSelect",
|
|
27
28
|
__name: "index",
|
|
28
29
|
props: /* @__PURE__ */ K({
|
|
@@ -391,5 +392,5 @@ const p = 4, Fl = /* @__PURE__ */ _e({
|
|
|
391
392
|
}
|
|
392
393
|
});
|
|
393
394
|
export {
|
|
394
|
-
|
|
395
|
+
Rl as default
|
|
395
396
|
};
|
|
@@ -13,7 +13,8 @@ import "../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-utf8
|
|
|
13
13
|
import "../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb.js";
|
|
14
14
|
import "../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs7.js";
|
|
15
15
|
import { omit as m } from "lodash-es";
|
|
16
|
-
|
|
16
|
+
import "vue-router";
|
|
17
|
+
const Q = /* @__PURE__ */ V({
|
|
17
18
|
name: "TtRadioGroup",
|
|
18
19
|
inheritAttrs: !1,
|
|
19
20
|
__name: "index",
|
|
@@ -37,30 +38,30 @@ const O = /* @__PURE__ */ V({
|
|
|
37
38
|
}),
|
|
38
39
|
emits: /* @__PURE__ */ d(["change"], ["update:modelValue"]),
|
|
39
40
|
setup(n, { emit: f }) {
|
|
40
|
-
const
|
|
41
|
-
...m(
|
|
41
|
+
const a = n, l = y(n, "modelValue"), s = f, g = B(), { prefixCls: v } = A("radio-group"), h = k(() => ({
|
|
42
|
+
...m(a, ["clearable", "beforeChange", "modelValue"]),
|
|
42
43
|
...m(g, ["onUpdate:modelValue", "onChange", "class"])
|
|
43
44
|
})), r = c(l.value), { formItem: i } = D(), u = c(!1);
|
|
44
45
|
async function C(e) {
|
|
45
|
-
const
|
|
46
|
+
const o = l.value;
|
|
46
47
|
let t = !0;
|
|
47
|
-
|
|
48
|
+
a.beforeChange && (t = await a.beforeChange(e, o)), t ? (l.value = e, s("change", e)) : r.value = o;
|
|
48
49
|
}
|
|
49
50
|
function b(e) {
|
|
50
|
-
if (!
|
|
51
|
+
if (!a.clearable || a.disabled) return;
|
|
51
52
|
const t = e.target.closest(".el-radio, .el-radio-button");
|
|
52
53
|
t && (!t.classList.contains("is-checked") && !t.classList.contains("is-active") || t.classList.contains("is-disabled") || (e.stopPropagation(), e.preventDefault(), l.value = void 0, r.value = void 0, s("change", void 0)));
|
|
53
54
|
}
|
|
54
55
|
return x(
|
|
55
56
|
l,
|
|
56
57
|
(e) => {
|
|
57
|
-
r.value = e, u.value && (i == null || i.validate("change").catch((
|
|
58
|
+
r.value = e, u.value && (i == null || i.validate("change").catch((o) => {
|
|
58
59
|
})), u.value = !0;
|
|
59
60
|
},
|
|
60
61
|
{ immediate: !0 }
|
|
61
|
-
), (e,
|
|
62
|
+
), (e, o) => (w(), L(p(F), E(h.value, {
|
|
62
63
|
modelValue: r.value,
|
|
63
|
-
"onUpdate:modelValue":
|
|
64
|
+
"onUpdate:modelValue": o[0] || (o[0] = (t) => r.value = t),
|
|
64
65
|
class: [p(v), e.$attrs.class],
|
|
65
66
|
"validate-event": !1,
|
|
66
67
|
onClickCapture: b,
|
|
@@ -74,5 +75,5 @@ const O = /* @__PURE__ */ V({
|
|
|
74
75
|
}
|
|
75
76
|
});
|
|
76
77
|
export {
|
|
77
|
-
|
|
78
|
+
Q as default
|
|
78
79
|
};
|
|
@@ -75,8 +75,8 @@ declare function __VLS_template(): {
|
|
|
75
75
|
$refs: {
|
|
76
76
|
[x: string]: unknown;
|
|
77
77
|
} & {
|
|
78
|
-
vxelist: (import('vxe-pc-ui').VxeListMethods
|
|
79
|
-
$props: import('vxe-pc-ui').VxeListProps<any> & import('vxe-pc-ui').VxeListEventProps
|
|
78
|
+
vxelist: (import('vxe-pc-ui').VxeListMethods & {
|
|
79
|
+
$props: import('vxe-pc-ui').VxeListProps<any> & import('vxe-pc-ui').VxeListEventProps;
|
|
80
80
|
$slots: import('vxe-pc-ui').VxeListSlots;
|
|
81
81
|
}) | null;
|
|
82
82
|
table: HTMLTableElement;
|
|
@@ -570,8 +570,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
570
570
|
$refs: {
|
|
571
571
|
[x: string]: unknown;
|
|
572
572
|
} & {
|
|
573
|
-
vxelist: (import('vxe-pc-ui').VxeListMethods
|
|
574
|
-
$props: import('vxe-pc-ui').VxeListProps<any> & import('vxe-pc-ui').VxeListEventProps
|
|
573
|
+
vxelist: (import('vxe-pc-ui').VxeListMethods & {
|
|
574
|
+
$props: import('vxe-pc-ui').VxeListProps<any> & import('vxe-pc-ui').VxeListEventProps;
|
|
575
575
|
$slots: import('vxe-pc-ui').VxeListSlots;
|
|
576
576
|
}) | null;
|
|
577
577
|
table: HTMLTableElement;
|
|
@@ -16,6 +16,7 @@ import "../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-u
|
|
|
16
16
|
import "../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb.js";
|
|
17
17
|
import "../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs7.js";
|
|
18
18
|
import { omit as st, pick as it, cloneDeep as j, isEqual as rt } from "lodash-es";
|
|
19
|
+
import "vue-router";
|
|
19
20
|
import { useLoading as at } from "../../../hooks/useLoading.js";
|
|
20
21
|
import { CopyDocument as nt } from "@element-plus/icons-vue";
|
|
21
22
|
import ct from "../../../directives/disabled-tip/index.js";
|
|
@@ -28,7 +29,7 @@ import { usePagination as ft } from "./hooks/usePagination.js";
|
|
|
28
29
|
import { useSelect as gt } from "./hooks/useSelect.js";
|
|
29
30
|
import { useSelectTableEvent as vt } from "./hooks/useSelectTableEvent.js";
|
|
30
31
|
import { selectProps as bt, configDefault as ht } from "./props.js";
|
|
31
|
-
const Pt = ["title"],
|
|
32
|
+
const Pt = ["title"], Xt = /* @__PURE__ */ Ne({
|
|
32
33
|
name: "TtSelect",
|
|
33
34
|
inheritAttrs: !1,
|
|
34
35
|
__name: "Select",
|
|
@@ -322,5 +323,5 @@ const Pt = ["title"], Qt = /* @__PURE__ */ Ne({
|
|
|
322
323
|
}
|
|
323
324
|
});
|
|
324
325
|
export {
|
|
325
|
-
|
|
326
|
+
Xt as default
|
|
326
327
|
};
|
|
@@ -13,13 +13,14 @@ import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/en
|
|
|
13
13
|
import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb.js";
|
|
14
14
|
import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs7.js";
|
|
15
15
|
import "lodash-es";
|
|
16
|
+
import "vue-router";
|
|
16
17
|
import { TtEmpty as M } from "../../../tt-empty/index.js";
|
|
17
18
|
import { VxeGrid as X } from "vxe-table";
|
|
18
19
|
import { tableEmits as c } from "vxe-table/es/table/src/emits";
|
|
19
20
|
import { GRID_MIN_HEIGHT as A, GRID_MAX_HEIGHT as U } from "../const.js";
|
|
20
21
|
import { useGrid as Y } from "../hooks/useGrid.js";
|
|
21
22
|
import { selectTableProps as $ } from "../props.js";
|
|
22
|
-
const q = { class: "flex flex-col items-center justify-center" },
|
|
23
|
+
const q = { class: "flex flex-col items-center justify-center" }, he = /* @__PURE__ */ C({
|
|
23
24
|
__name: "SelectTable",
|
|
24
25
|
props: $,
|
|
25
26
|
emits: c,
|
|
@@ -93,5 +94,5 @@ const q = { class: "flex flex-col items-center justify-center" }, ge = /* @__PUR
|
|
|
93
94
|
}
|
|
94
95
|
});
|
|
95
96
|
export {
|
|
96
|
-
|
|
97
|
+
he as default
|
|
97
98
|
};
|
|
@@ -32,8 +32,8 @@ declare function __VLS_template(): {
|
|
|
32
32
|
empty: () => VNode;
|
|
33
33
|
};
|
|
34
34
|
refs: {
|
|
35
|
-
vxelist: (import('vxe-pc-ui').VxeListMethods
|
|
36
|
-
$props: VxeListProps<any> & import('vxe-pc-ui').VxeListEventProps
|
|
35
|
+
vxelist: (import('vxe-pc-ui').VxeListMethods & {
|
|
36
|
+
$props: VxeListProps<any> & import('vxe-pc-ui').VxeListEventProps;
|
|
37
37
|
$slots: import('vxe-pc-ui').VxeListSlots;
|
|
38
38
|
}) | null;
|
|
39
39
|
table: HTMLTableElement;
|
|
@@ -234,8 +234,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
234
234
|
hasNextPage: boolean;
|
|
235
235
|
showCheckbox: boolean;
|
|
236
236
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
237
|
-
vxelist: (import('vxe-pc-ui').VxeListMethods
|
|
238
|
-
$props: VxeListProps<any> & import('vxe-pc-ui').VxeListEventProps
|
|
237
|
+
vxelist: (import('vxe-pc-ui').VxeListMethods & {
|
|
238
|
+
$props: VxeListProps<any> & import('vxe-pc-ui').VxeListEventProps;
|
|
239
239
|
$slots: import('vxe-pc-ui').VxeListSlots;
|
|
240
240
|
}) | null;
|
|
241
241
|
table: HTMLTableElement;
|
|
@@ -13,6 +13,7 @@ import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pa
|
|
|
13
13
|
import { debounce as Pe, cloneDeep as Se } from "lodash-es";
|
|
14
14
|
import "../../../../node_modules/.pnpm/vue-types@5.1.3_vue@3.5.21_typescript@5.9.3_/node_modules/vue-types/shim/index.modern.js";
|
|
15
15
|
import { useDesign as Ee } from "../../../../packages/hooks/src/useDesign.js";
|
|
16
|
+
import "vue-router";
|
|
16
17
|
import { TtEmpty as Ne } from "../../../tt-empty/index.js";
|
|
17
18
|
import { TtText as ee } from "../../../tt-text/index.js";
|
|
18
19
|
import { VxeList as $e } from "vxe-pc-ui";
|
|
@@ -24,7 +25,7 @@ const Ge = { class: "vxe-table--render-default size--mini border--default" }, Xe
|
|
|
24
25
|
}, je = ["onClick", "onMouseenter"], Je = { class: "vxe-cell" }, Ke = {
|
|
25
26
|
key: 1,
|
|
26
27
|
class: "vxe-body--column is--padding col--ellipsis"
|
|
27
|
-
}, Qe = { class: "vxe-cell" },
|
|
28
|
+
}, Qe = { class: "vxe-cell" }, kt = /* @__PURE__ */ We({
|
|
28
29
|
name: "TtSelectTable",
|
|
29
30
|
__name: "Table",
|
|
30
31
|
props: Ae,
|
|
@@ -313,5 +314,5 @@ const Ge = { class: "vxe-table--render-default size--mini border--default" }, Xe
|
|
|
313
314
|
}
|
|
314
315
|
});
|
|
315
316
|
export {
|
|
316
|
-
|
|
317
|
+
kt as default
|
|
317
318
|
};
|