@dazhicheng/ui 1.6.82 → 1.6.84
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/assets/svg/download.svg.js +1 -1
- package/dist/components/tt-area/TtArea.vue.js +1 -1
- package/dist/components/tt-button/index.d.ts +28 -28
- package/dist/components/tt-button/index.vue.d.ts +16 -16
- package/dist/components/tt-custom-export-modal/src/assets/search.svg.js +5 -5
- package/dist/components/tt-custom-export-modal/src/assets/star.svg.js +3 -3
- package/dist/components/tt-custom-export-modal/src/assets/trash.svg.js +7 -7
- package/dist/components/tt-custom-export-modal/src/components/FieldGridSection.vue.js +1 -1
- package/dist/components/tt-drawer/index.d.ts +109 -109
- package/dist/components/tt-drawer/src/RenderDrawer.vue.d.ts +60 -60
- package/dist/components/tt-drawer/src/components/DrawerHeader.vue.js +2 -2
- package/dist/components/tt-empty/index.d.ts +4 -4
- package/dist/components/tt-form/src/components/FormElInput.vue.d.ts +10 -10
- package/dist/components/tt-icon/index.vue.js +2 -2
- package/dist/components/tt-image/index.d.ts +29 -29
- package/dist/components/tt-image/src/components/ImageViewer.d.ts +20 -20
- package/dist/components/tt-image/tt-image.d.ts +29 -29
- package/dist/components/tt-input-textarea/index.vue.d.ts +40 -40
- package/dist/components/tt-loading/src/loading.vue.js +2 -2
- package/dist/components/tt-modal/index.d.ts +150 -150
- package/dist/components/tt-modal/src/RenderModal.vue.d.ts +42 -42
- package/dist/components/tt-modal/src/RenderModal.vue.js +179 -171
- package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +17 -17
- package/dist/components/tt-modal/src/utils/modal-z-index.d.ts +20 -0
- package/dist/components/tt-modal/src/utils/modal-z-index.js +26 -16
- package/dist/components/tt-modal/src/utils/resolve-modal-target.js +3 -3
- package/dist/components/tt-panel-select/src/components/PanelMiddle.vue.d.ts +5 -5
- package/dist/components/tt-panel-select/src/index.vue.d.ts +5 -5
- package/dist/components/tt-panel-select/src/index.vue.js +251 -237
- package/dist/components/tt-table/index.js +2 -2
- package/dist/components/tt-table/src/TableForm.vue.js +2 -2
- package/dist/components/tt-upload/index.d.ts +60 -60
- package/dist/components/tt-upload/src/TtUpload.vue.d.ts +37 -37
- package/dist/components/tt-upload/src/typing.d.ts +17 -17
- package/dist/hooks/codeToValueMissingBridge.d.ts +5 -0
- package/dist/hooks/missingOptionsCache.d.ts +5 -0
- package/dist/hooks/missingOptionsCache.js +140 -105
- package/dist/index.js +117 -101
- package/dist/packages/utils/src/business.js +6 -0
- package/dist/style.css +1 -1
- package/package.json +3 -3
|
@@ -1,133 +1,168 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
import "axios";
|
|
2
|
+
import "element-plus";
|
|
3
|
+
import "dayjs";
|
|
4
|
+
import { ref as k } from "vue";
|
|
5
|
+
import "numeral";
|
|
6
|
+
import "xe-utils";
|
|
7
|
+
import "dayjs/plugin/utc";
|
|
8
|
+
import "dayjs/plugin/timezone";
|
|
9
|
+
import "../node_modules/.pnpm/decimal.js@10.6.0/node_modules/decimal.js/decimal.js";
|
|
10
|
+
import "../packages/utils/src/stateHandler.js";
|
|
11
|
+
import "../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/aes.js";
|
|
12
|
+
import "../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-utf8.js";
|
|
13
|
+
import "../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb.js";
|
|
14
|
+
import "../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs7.js";
|
|
15
|
+
import { CODE_TO_VALUE_MISSING_META as A } from "../packages/utils/src/business.js";
|
|
16
|
+
import { CODE_REGISTRY as K } from "./basicDataCodes.js";
|
|
17
|
+
const M = /* @__PURE__ */ new Map(), g = /* @__PURE__ */ new Map(), v = /* @__PURE__ */ new Map(), d = /* @__PURE__ */ new Map(), V = "__tt_panel_select__", w = k(0);
|
|
18
|
+
function E(n, r) {
|
|
19
|
+
return `${n}::${r}`;
|
|
20
|
+
}
|
|
21
|
+
function f(n) {
|
|
22
|
+
return String(n);
|
|
23
|
+
}
|
|
24
|
+
const T = /[,,|/]/;
|
|
25
|
+
function I(n = []) {
|
|
26
|
+
const r = [], e = /* @__PURE__ */ new Set();
|
|
27
|
+
return (Array.isArray(n) ? n : []).forEach((s) => {
|
|
28
|
+
if (!(s == null || s === "")) {
|
|
29
|
+
if (typeof s == "number") {
|
|
30
|
+
const o = f(s);
|
|
31
|
+
if (e.has(o)) return;
|
|
32
|
+
e.add(o), r.push(s);
|
|
19
33
|
return;
|
|
20
34
|
}
|
|
21
|
-
String(
|
|
22
|
-
|
|
35
|
+
String(s).split(T).map((o) => o.trim()).filter(Boolean).forEach((o) => {
|
|
36
|
+
e.has(o) || (e.add(o), r.push(o));
|
|
23
37
|
});
|
|
24
38
|
}
|
|
25
|
-
}),
|
|
26
|
-
}
|
|
27
|
-
function
|
|
28
|
-
const
|
|
29
|
-
|
|
30
|
-
var
|
|
31
|
-
if ((
|
|
32
|
-
|
|
39
|
+
}), r;
|
|
40
|
+
}
|
|
41
|
+
function C(n = []) {
|
|
42
|
+
const r = /* @__PURE__ */ new Set(), e = (s = []) => {
|
|
43
|
+
s.forEach((o) => {
|
|
44
|
+
var a;
|
|
45
|
+
if ((a = o.children) != null && a.length) {
|
|
46
|
+
e(o.children);
|
|
33
47
|
return;
|
|
34
48
|
}
|
|
35
|
-
|
|
49
|
+
o.value !== void 0 && o.value !== null && o.value !== "" && r.add(f(o.value));
|
|
36
50
|
});
|
|
37
51
|
};
|
|
38
|
-
return
|
|
52
|
+
return e(Array.isArray(n) ? n : []), r;
|
|
53
|
+
}
|
|
54
|
+
function R(n, r) {
|
|
55
|
+
const e = E(n, r);
|
|
56
|
+
let s = M.get(e);
|
|
57
|
+
return s || (s = /* @__PURE__ */ new Map(), M.set(e, s)), s;
|
|
39
58
|
}
|
|
40
|
-
function $(
|
|
41
|
-
const
|
|
42
|
-
|
|
43
|
-
|
|
59
|
+
function $(n, r) {
|
|
60
|
+
const e = M.get(E(n, r));
|
|
61
|
+
return e ? Array.from(e.values()) : [];
|
|
62
|
+
}
|
|
63
|
+
function B(n, r, e) {
|
|
64
|
+
if (!Array.isArray(n)) return n;
|
|
65
|
+
const s = { routePath: r, code: e };
|
|
66
|
+
return n[A] = s, n;
|
|
44
67
|
}
|
|
45
|
-
function
|
|
46
|
-
|
|
47
|
-
|
|
68
|
+
function S(n, r) {
|
|
69
|
+
if (!Array.isArray(n) || !Array.isArray(r)) return r;
|
|
70
|
+
const e = n[A];
|
|
71
|
+
return e != null && e.routePath && (e != null && e.code) && (r[A] = e), r;
|
|
48
72
|
}
|
|
49
|
-
function
|
|
50
|
-
const
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
73
|
+
function Z(n, r, e = []) {
|
|
74
|
+
const s = Array.isArray(e) ? e : [], o = $(n, r);
|
|
75
|
+
let a;
|
|
76
|
+
if (!o.length)
|
|
77
|
+
a = s.slice();
|
|
78
|
+
else {
|
|
79
|
+
const u = C(s), t = o.filter((l) => l.value !== void 0 && !u.has(f(l.value)));
|
|
80
|
+
a = t.length ? [...s, ...t] : s.slice();
|
|
81
|
+
}
|
|
82
|
+
return B(a, n, r);
|
|
54
83
|
}
|
|
55
|
-
function
|
|
56
|
-
|
|
84
|
+
function D(n = [], r) {
|
|
85
|
+
if (!Array.isArray(n)) return [];
|
|
86
|
+
if (!n.length)
|
|
87
|
+
return S(n, []);
|
|
88
|
+
const e = n.map((s) => {
|
|
57
89
|
var o;
|
|
58
|
-
return (o =
|
|
90
|
+
return (o = s == null ? void 0 : s.children) != null && o.length ? { ...s, children: D(s.children, r) } : (s == null ? void 0 : s.deleted) === !0 ? { ...s, disabled: r } : s;
|
|
59
91
|
});
|
|
92
|
+
return S(n, e);
|
|
60
93
|
}
|
|
61
|
-
function
|
|
62
|
-
const
|
|
63
|
-
return
|
|
64
|
-
const t = f(
|
|
65
|
-
|
|
66
|
-
}),
|
|
67
|
-
}
|
|
68
|
-
async function
|
|
69
|
-
const
|
|
70
|
-
if (!
|
|
71
|
-
return Array.from(
|
|
72
|
-
const t =
|
|
94
|
+
function _(n, r, e) {
|
|
95
|
+
const s = C(r), o = [], a = /* @__PURE__ */ new Set();
|
|
96
|
+
return I(n).forEach((u) => {
|
|
97
|
+
const t = f(u);
|
|
98
|
+
a.has(t) || s.has(t) || e.has(t) || (a.add(t), o.push(u));
|
|
99
|
+
}), o;
|
|
100
|
+
}
|
|
101
|
+
async function m(n, r, e, s = []) {
|
|
102
|
+
const o = K[r], a = o == null ? void 0 : o.fetchMissingOptions, u = R(n, r);
|
|
103
|
+
if (!a)
|
|
104
|
+
return Array.from(u.values());
|
|
105
|
+
const t = _(e, s, u);
|
|
73
106
|
if (!t.length)
|
|
74
|
-
return Array.from(
|
|
75
|
-
const
|
|
76
|
-
let
|
|
77
|
-
return
|
|
107
|
+
return Array.from(u.values());
|
|
108
|
+
const l = `${E(n, r)}::${t.map(f).sort().join(",")}`;
|
|
109
|
+
let p = g.get(l);
|
|
110
|
+
return p || (p = a(t).then((y) => {
|
|
78
111
|
const c = Array.isArray(y) ? y : [];
|
|
79
|
-
let
|
|
80
|
-
return c.forEach((
|
|
81
|
-
if ((
|
|
82
|
-
const
|
|
83
|
-
|
|
84
|
-
}),
|
|
112
|
+
let h = !1;
|
|
113
|
+
return c.forEach((i) => {
|
|
114
|
+
if ((i == null ? void 0 : i.value) === void 0 || (i == null ? void 0 : i.value) === null || (i == null ? void 0 : i.value) === "") return;
|
|
115
|
+
const O = f(i.value);
|
|
116
|
+
u.has(O) || (u.set(O, i), h = !0);
|
|
117
|
+
}), h && (w.value += 1), Array.from(u.values());
|
|
85
118
|
}).finally(() => {
|
|
86
|
-
|
|
87
|
-
}),
|
|
119
|
+
g.get(l) === p && g.delete(l);
|
|
120
|
+
}), g.set(l, p)), p;
|
|
88
121
|
}
|
|
89
|
-
function
|
|
90
|
-
const
|
|
91
|
-
let
|
|
92
|
-
return
|
|
122
|
+
function P(n) {
|
|
123
|
+
const r = n || V;
|
|
124
|
+
let e = v.get(r);
|
|
125
|
+
return e || (e = /* @__PURE__ */ new Map(), v.set(r, e)), e;
|
|
93
126
|
}
|
|
94
|
-
function
|
|
95
|
-
const
|
|
96
|
-
return
|
|
127
|
+
function nn(n) {
|
|
128
|
+
const r = v.get(n);
|
|
129
|
+
return r ? Array.from(r.values()) : [];
|
|
97
130
|
}
|
|
98
|
-
async function
|
|
99
|
-
const
|
|
100
|
-
if (!
|
|
101
|
-
return Array.from(
|
|
102
|
-
const
|
|
103
|
-
if (!
|
|
104
|
-
return Array.from(
|
|
105
|
-
const
|
|
106
|
-
let t = d.get(
|
|
107
|
-
return t || (t = Promise.resolve().then(() =>
|
|
108
|
-
const
|
|
131
|
+
async function rn(n, r, e = [], s) {
|
|
132
|
+
const o = P(n);
|
|
133
|
+
if (!s)
|
|
134
|
+
return Array.from(o.values());
|
|
135
|
+
const a = _(r, e, o);
|
|
136
|
+
if (!a.length)
|
|
137
|
+
return Array.from(o.values());
|
|
138
|
+
const u = `${n}::${a.map(f).sort().join(",")}`;
|
|
139
|
+
let t = d.get(u);
|
|
140
|
+
return t || (t = Promise.resolve().then(() => s(a)).then((l) => {
|
|
141
|
+
const p = Array.isArray(l) ? l : [];
|
|
109
142
|
let y = !1;
|
|
110
|
-
return
|
|
143
|
+
return p.forEach((c) => {
|
|
111
144
|
if ((c == null ? void 0 : c.value) === void 0 || (c == null ? void 0 : c.value) === null || (c == null ? void 0 : c.value) === "") return;
|
|
112
|
-
const
|
|
113
|
-
|
|
114
|
-
}), y && (
|
|
145
|
+
const h = f(c.value);
|
|
146
|
+
o.has(h) || (o.set(h, c), y = !0);
|
|
147
|
+
}), y && (w.value += 1), Array.from(o.values());
|
|
115
148
|
}).finally(() => {
|
|
116
|
-
d.get(
|
|
117
|
-
}), d.set(
|
|
149
|
+
d.get(u) === t && d.delete(u);
|
|
150
|
+
}), d.set(u, t)), t;
|
|
118
151
|
}
|
|
119
|
-
function
|
|
120
|
-
return
|
|
152
|
+
function en(n, r, e = []) {
|
|
153
|
+
return _(r, e, P(n));
|
|
121
154
|
}
|
|
122
155
|
export {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
156
|
+
V as PANEL_MISSING_ECHO_DEFAULT_SCOPE,
|
|
157
|
+
S as copyCodeToValueMissingMeta,
|
|
158
|
+
en as diffPanelMissingCodes,
|
|
159
|
+
m as ensureMissingOptions,
|
|
160
|
+
rn as ensurePanelResolveMissingOptions,
|
|
161
|
+
I as expandJoinedOptionValues,
|
|
162
|
+
$ as getEchoOptions,
|
|
163
|
+
Z as getMergedOptions,
|
|
164
|
+
nn as getPanelMissingEchoOptions,
|
|
165
|
+
w as missingOptionsEchoVersion,
|
|
166
|
+
B as stampCodeToValueMissingMeta,
|
|
167
|
+
D as withMissingOptionDisabled
|
|
133
168
|
};
|
package/dist/index.js
CHANGED
|
@@ -1,70 +1,86 @@
|
|
|
1
1
|
import { TtButton as p } from "./components/tt-button/index.js";
|
|
2
|
-
import { TtAddButton as
|
|
2
|
+
import { TtAddButton as Eo } from "./components/tt-button/index.js";
|
|
3
3
|
import { TtCheckbox as a } from "./components/tt-checkbox/index.js";
|
|
4
4
|
import { TtEmpty as f } from "./components/tt-empty/index.js";
|
|
5
|
-
import { addComponent as
|
|
5
|
+
import { addComponent as i, setConfig as s } from "./components/tt-form/index.js";
|
|
6
6
|
import { TtFormItemErrorTooltip as l } from "./components/tt-form-item-error-tooltip/index.js";
|
|
7
7
|
import { TtIcon as d, TtAddIcon as T, TtSubIcon as u } from "./components/tt-icon/index.js";
|
|
8
8
|
import { TtImage as x } from "./components/tt-image/index.js";
|
|
9
9
|
import { RenderDrawer as n } from "./components/tt-drawer/index.js";
|
|
10
10
|
import { RenderModal as c } from "./components/tt-modal/index.js";
|
|
11
|
-
import { TtModal as
|
|
11
|
+
import { TtModal as Lo } from "./components/tt-modal/index.js";
|
|
12
12
|
import { TtSelect as g } from "./components/tt-select/index.js";
|
|
13
13
|
import { TtText as M } from "./components/tt-text/index.js";
|
|
14
14
|
import { TtUpload as b } from "./components/tt-upload/index.js";
|
|
15
15
|
import { TtNavAnchor as P } from "./components/tt-nav-anchor/index.js";
|
|
16
16
|
import { TtApiComponent as w } from "./components/tt-api-component/index.js";
|
|
17
|
-
import * as
|
|
17
|
+
import * as t from "./directives/index.js";
|
|
18
18
|
import { setup as O } from "./hooks/useSetup.js";
|
|
19
19
|
import { TtLog as C } from "./components/tt-log/index.js";
|
|
20
20
|
import { TtPanelSelect as R } from "./components/tt-panel-select/index.js";
|
|
21
21
|
import { TtRadioGroup as S } from "./components/tt-radio-group/index.js";
|
|
22
22
|
import { TtInputTextarea as h } from "./components/tt-input-textarea/index.js";
|
|
23
23
|
import { TtConfigProvider as A } from "./components/tt-config-provider/index.js";
|
|
24
|
-
import { setXHR as
|
|
24
|
+
import { setXHR as Bo } from "./utils/xhr.js";
|
|
25
25
|
import { TtCustomExportModal as F } from "./components/tt-custom-export-modal/index.js";
|
|
26
26
|
import { TtCustomExportPanel as I } from "./components/tt-custom-export-panel/index.js";
|
|
27
|
+
import "axios";
|
|
28
|
+
import "element-plus";
|
|
29
|
+
import "dayjs";
|
|
30
|
+
import "vue";
|
|
31
|
+
import "numeral";
|
|
32
|
+
import "xe-utils";
|
|
33
|
+
import "dayjs/plugin/utc";
|
|
34
|
+
import "dayjs/plugin/timezone";
|
|
35
|
+
import "./node_modules/.pnpm/decimal.js@10.6.0/node_modules/decimal.js/decimal.js";
|
|
36
|
+
import "./packages/utils/src/stateHandler.js";
|
|
37
|
+
import "./node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/aes.js";
|
|
38
|
+
import "./node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-utf8.js";
|
|
39
|
+
import "./node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb.js";
|
|
40
|
+
import "./node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs7.js";
|
|
41
|
+
import "lodash-es";
|
|
42
|
+
import { CODES as No, GROUP_BY as Go } from "./hooks/basicDataCodes.js";
|
|
43
|
+
import "./hooks/missingOptionsCache.js";
|
|
44
|
+
import { useBasicDataOptions as Ho } from "./hooks/useBasicDataOptions.js";
|
|
45
|
+
import { useDataPermissionOptions as _o } from "./hooks/useDataPermissionOptions.js";
|
|
27
46
|
/* empty css */
|
|
28
47
|
/* empty css */
|
|
29
48
|
/* empty css */
|
|
30
49
|
/* empty css */
|
|
31
50
|
/* empty css */
|
|
32
|
-
import { default as
|
|
33
|
-
import { useModalForm as
|
|
34
|
-
import { TtLoading as
|
|
35
|
-
import { TtTable as
|
|
36
|
-
import { getFileUrlOss as
|
|
37
|
-
import { TtKeepAlive as
|
|
38
|
-
import { useFormSchemasLink as
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import { useLoading as Jo } from "./hooks/useLoading.js";
|
|
45
|
-
import { useScreenshotOss as Wo } from "./hooks/useScreenshotOss.js";
|
|
46
|
-
import { createUppercaseInputProps as rr, toUppercaseInputValue as er, uppercaseInputProps as tr } from "./utils/uppercaseInput.js";
|
|
51
|
+
import { default as jo } from "./components/tt-area/TtArea.vue.js";
|
|
52
|
+
import { useModalForm as Ko } from "./components/tt-modal-form/useModalForm.js";
|
|
53
|
+
import { TtLoading as Yo } from "./components/tt-loading/index.js";
|
|
54
|
+
import { TtTable as qo, TtTableAction as Jo, TtTableButton as Qo, TtTableExportButton as Wo } from "./components/tt-table/index.js";
|
|
55
|
+
import { getFileUrlOss as rr, getPostSignatureForObsUploadHuaweiOss as tr, getPostSignatureForOssUploadOss as er } from "./api/oss.js";
|
|
56
|
+
import { TtKeepAlive as pr } from "./components/tt-keep-alive/index.js";
|
|
57
|
+
import { useFormSchemasLink as fr } from "./hooks/useFormSchemasLink.js";
|
|
58
|
+
import { usePanelSelectSchemas as sr } from "./hooks/usePanelSelectSchemas.js";
|
|
59
|
+
import { useFormat as dr } from "./hooks/useFormat.js";
|
|
60
|
+
import { useLoading as ur } from "./hooks/useLoading.js";
|
|
61
|
+
import { useScreenshotOss as nr } from "./hooks/useScreenshotOss.js";
|
|
62
|
+
import { createUppercaseInputProps as gr, toUppercaseInputValue as Mr, uppercaseInputProps as br } from "./utils/uppercaseInput.js";
|
|
47
63
|
import { setupDrawer as D } from "./components/tt-drawer/src/index.js";
|
|
48
|
-
import { useShowDrawer as
|
|
64
|
+
import { useShowDrawer as wr } from "./components/tt-drawer/src/index.js";
|
|
49
65
|
import { setupModal as E } from "./components/tt-modal/src/index.js";
|
|
50
|
-
import { useShowModal as
|
|
51
|
-
import { default as
|
|
52
|
-
import { default as
|
|
53
|
-
import { showTtDrawer as
|
|
54
|
-
import { useDrawerResizable as
|
|
55
|
-
import { showTtModal as
|
|
56
|
-
import { closeAllTtModal as
|
|
57
|
-
import { default as
|
|
58
|
-
import * as
|
|
59
|
-
import { useGroupForm as
|
|
60
|
-
import { COMPONENT_MAP as
|
|
61
|
-
import { useForm as
|
|
62
|
-
import { TtImageViewer as
|
|
63
|
-
import { vTtLoading as
|
|
64
|
-
import { Loading as
|
|
65
|
-
import { useTableContext as
|
|
66
|
-
import { useTableFormRender as
|
|
67
|
-
import { ttUploadProps as
|
|
66
|
+
import { useShowModal as Cr } from "./components/tt-modal/src/index.js";
|
|
67
|
+
import { default as Sr } from "./directives/disabled-tip/index.js";
|
|
68
|
+
import { default as Ar } from "./directives/auto-tip/index.js";
|
|
69
|
+
import { showTtDrawer as Ir, useDrawerRender as Dr } from "./components/tt-drawer/src/hooks/useDrawerRender.js";
|
|
70
|
+
import { useDrawerResizable as Ur } from "./components/tt-drawer/src/hooks/useResizable.js";
|
|
71
|
+
import { showTtModal as vr, useModalRender as Br } from "./components/tt-modal/src/hooks/useModalRender.js";
|
|
72
|
+
import { closeAllTtModal as Nr, closeTtModal as Gr, openTtModal as kr, ttModal as Hr } from "./components/tt-modal/src/utils/modal-service.js";
|
|
73
|
+
import { default as _r } from "./directives/dialog-resize/index.js";
|
|
74
|
+
import * as ho from "zod";
|
|
75
|
+
import { useGroupForm as jr } from "./components/tt-form/src/group-form/useGroupForm.js";
|
|
76
|
+
import { COMPONENT_MAP as Kr } from "./components/tt-form/src/config.js";
|
|
77
|
+
import { useForm as Yr } from "./components/tt-form/src/useForm.js";
|
|
78
|
+
import { TtImageViewer as qr } from "./components/tt-image/src/components/ImageViewer.js";
|
|
79
|
+
import { vTtLoading as Qr } from "./components/tt-loading/src/directive.js";
|
|
80
|
+
import { Loading as ot } from "./components/tt-loading/src/service.js";
|
|
81
|
+
import { useTableContext as tt, useTableFormContext as et } from "./components/tt-table/src/hooks/useTableContext.js";
|
|
82
|
+
import { useTableFormRender as pt, useTableRender as at } from "./components/tt-table/src/hooks/useTableRender.js";
|
|
83
|
+
import { ttUploadProps as it } from "./components/tt-upload/src/typing.js";
|
|
68
84
|
const U = [
|
|
69
85
|
F,
|
|
70
86
|
I,
|
|
@@ -89,15 +105,15 @@ const U = [
|
|
|
89
105
|
h,
|
|
90
106
|
A
|
|
91
107
|
], L = (o) => {
|
|
92
|
-
U.forEach((r) => o.use(r)), Object.keys(
|
|
93
|
-
const
|
|
94
|
-
o.directive(m,
|
|
108
|
+
U.forEach((r) => o.use(r)), Object.keys(t).forEach((r) => {
|
|
109
|
+
const e = t[r], m = r.replace(/([A-Z])/g, "-$1").toLowerCase();
|
|
110
|
+
o.directive(m, e);
|
|
95
111
|
}), D(o), E(o);
|
|
96
112
|
};
|
|
97
|
-
function
|
|
98
|
-
|
|
113
|
+
function Ao(o) {
|
|
114
|
+
i(o == null ? void 0 : o.components), s(o == null ? void 0 : o.defineRules, o == null ? void 0 : o.modelPropNameMap);
|
|
99
115
|
}
|
|
100
|
-
const
|
|
116
|
+
const Fo = {
|
|
101
117
|
/**
|
|
102
118
|
* 安装组件
|
|
103
119
|
* @param app Vue 应用实例
|
|
@@ -111,16 +127,16 @@ const To = {
|
|
|
111
127
|
setup: O
|
|
112
128
|
};
|
|
113
129
|
export {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
130
|
+
No as CODES,
|
|
131
|
+
Kr as COMPONENT_MAP,
|
|
132
|
+
Go as GROUP_BY,
|
|
133
|
+
ot as Loading,
|
|
118
134
|
n as RenderDrawer,
|
|
119
135
|
c as RenderModal,
|
|
120
|
-
|
|
136
|
+
Eo as TtAddButton,
|
|
121
137
|
T as TtAddIcon,
|
|
122
138
|
w as TtApiComponent,
|
|
123
|
-
|
|
139
|
+
jo as TtArea,
|
|
124
140
|
p as TtButton,
|
|
125
141
|
a as TtCheckbox,
|
|
126
142
|
A as TtConfigProvider,
|
|
@@ -129,65 +145,65 @@ export {
|
|
|
129
145
|
f as TtEmpty,
|
|
130
146
|
d as TtIcon,
|
|
131
147
|
x as TtImage,
|
|
132
|
-
|
|
148
|
+
qr as TtImageViewer,
|
|
133
149
|
h as TtInputTextarea,
|
|
134
|
-
|
|
135
|
-
|
|
150
|
+
pr as TtKeepAlive,
|
|
151
|
+
Yo as TtLoading,
|
|
136
152
|
C as TtLog,
|
|
137
|
-
|
|
153
|
+
Lo as TtModal,
|
|
138
154
|
P as TtNavAnchor,
|
|
139
155
|
R as TtPanelSelect,
|
|
140
156
|
S as TtRadioGroup,
|
|
141
157
|
g as TtSelect,
|
|
142
158
|
u as TtSubIcon,
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
159
|
+
qo as TtTable,
|
|
160
|
+
Jo as TtTableAction,
|
|
161
|
+
Qo as TtTableButton,
|
|
162
|
+
Wo as TtTableExportButton,
|
|
147
163
|
M as TtText,
|
|
148
164
|
b as TtUpload,
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
165
|
+
i as addComponent,
|
|
166
|
+
Ar as autoTip,
|
|
167
|
+
Nr as closeAllTtModal,
|
|
168
|
+
Gr as closeTtModal,
|
|
169
|
+
gr as createUppercaseInputProps,
|
|
170
|
+
Fo as default,
|
|
171
|
+
_r as dialogResize,
|
|
172
|
+
Sr as disabledTip,
|
|
173
|
+
Ao as formAdapter,
|
|
174
|
+
rr as getFileUrlOss,
|
|
175
|
+
tr as getPostSignatureForObsUploadHuaweiOss,
|
|
176
|
+
er as getPostSignatureForOssUploadOss,
|
|
177
|
+
kr as openTtModal,
|
|
178
|
+
s as setConfig,
|
|
179
|
+
Bo as setXHR,
|
|
164
180
|
D as setupDrawer,
|
|
165
181
|
E as setupModal,
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
182
|
+
Ir as showTtDrawer,
|
|
183
|
+
vr as showTtModal,
|
|
184
|
+
Mr as toUppercaseInputValue,
|
|
185
|
+
Hr as ttModal,
|
|
186
|
+
it as ttUploadProps,
|
|
187
|
+
br as uppercaseInputProps,
|
|
188
|
+
Ho as useBasicDataOptions,
|
|
189
|
+
_o as useDataPermissionOptions,
|
|
190
|
+
Dr as useDrawerRender,
|
|
191
|
+
Ur as useDrawerResizable,
|
|
192
|
+
Yr as useForm,
|
|
193
|
+
fr as useFormSchemasLink,
|
|
194
|
+
dr as useFormat,
|
|
195
|
+
jr as useGroupForm,
|
|
196
|
+
ur as useLoading,
|
|
197
|
+
Ko as useModalForm,
|
|
198
|
+
Br as useModalRender,
|
|
199
|
+
sr as usePanelSelectSchemas,
|
|
200
|
+
nr as useScreenshotOss,
|
|
201
|
+
wr as useShowDrawer,
|
|
202
|
+
Cr as useShowModal,
|
|
203
|
+
tt as useTableContext,
|
|
204
|
+
et as useTableFormContext,
|
|
205
|
+
pt as useTableFormRender,
|
|
206
|
+
at as useTableRender,
|
|
207
|
+
Qr as vTtLoading,
|
|
208
|
+
ho as z
|
|
193
209
|
};
|