@dazhicheng/ui 1.6.41 → 1.6.43
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-api-component/index.vue2.js +73 -73
- package/dist/components/tt-area/TtArea.vue.js +1 -1
- package/dist/components/tt-button/index.d.ts +91 -105
- package/dist/components/tt-button/index.vue.d.ts +52 -60
- package/dist/components/tt-button/index.vue2.js +1 -1
- package/dist/components/tt-drawer/index.d.ts +352 -326
- package/dist/components/tt-drawer/src/RenderDrawer.vue.d.ts +196 -184
- package/dist/components/tt-drawer/src/RenderDrawer.vue.js +1 -1
- package/dist/components/tt-drawer/src/components/DrawerFooter.vue.js +1 -1
- 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-empty/index.js +1 -1
- package/dist/components/tt-form/index.js +1 -1
- package/dist/components/tt-form/src/components/FormActions.vue2.js +1 -1
- package/dist/components/tt-form/src/components/FormElInput.vue.d.ts +106 -110
- package/dist/components/tt-form/src/form/FormMessageToolTip.vue.js +12 -12
- package/dist/components/tt-form/src/form-render/FormField.vue2.js +164 -164
- package/dist/components/tt-form/src/form-render/FormLabel.vue2.js +34 -34
- package/dist/components/tt-form/src/form-render/expandable.js +20 -25
- package/dist/components/tt-form/src/form-render/form.vue2.js +1 -1
- package/dist/components/tt-form/src/group-form/GroupForm.vue2.js +1 -1
- package/dist/components/tt-form/src/group-form/GroupSection.vue2.js +124 -124
- package/dist/components/tt-form/src/group-form/LazyFormField.vue.js +99 -99
- package/dist/components/tt-form/src/index.vue.d.ts +8 -12
- package/dist/components/tt-form/src/index.vue2.js +1 -1
- package/dist/components/tt-form-item-error-tooltip/index.d.ts +30 -126
- package/dist/components/tt-form-item-error-tooltip/index.vue.d.ts +15 -63
- package/dist/components/tt-icon/components/AddIcon.vue.js +6 -6
- package/dist/components/tt-icon/components/SubIcon.vue.js +6 -6
- package/dist/components/tt-icon/index.d.ts +4 -4
- package/dist/components/tt-icon/index.vue.js +2 -2
- package/dist/components/tt-icon/index.vue2.js +28 -28
- 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 +424 -440
- package/dist/components/tt-input-textarea/index.vue.js +153 -153
- package/dist/components/tt-keep-alive/core/Suspense.d.ts +3 -0
- package/dist/components/tt-keep-alive/core/Suspense.js +10 -0
- package/dist/components/tt-keep-alive/core/apiAsyncComponent.d.ts +2 -0
- package/dist/components/tt-keep-alive/core/apiAsyncComponent.js +6 -0
- package/dist/components/tt-keep-alive/core/component.d.ts +2 -0
- package/dist/components/tt-keep-alive/core/component.js +7 -0
- package/dist/components/tt-keep-alive/core/componentPublicInstance.d.ts +5 -0
- package/dist/components/tt-keep-alive/core/devtools.d.ts +2 -0
- package/dist/components/tt-keep-alive/core/errorHandling.d.ts +17 -0
- package/dist/components/tt-keep-alive/core/errorHandling.js +4 -0
- package/dist/components/tt-keep-alive/core/renderer.d.ts +32 -0
- package/dist/components/tt-keep-alive/core/renderer.js +8 -0
- package/dist/components/tt-keep-alive/core/shapeFlags.d.ts +13 -0
- package/dist/components/tt-keep-alive/core/vnode.d.ts +6 -0
- package/dist/components/tt-keep-alive/core/vnode.js +8 -0
- package/dist/components/tt-keep-alive/index.d.ts +26 -0
- package/dist/components/tt-keep-alive/index.js +139 -0
- package/dist/components/tt-loading/src/loading.vue.js +2 -2
- package/dist/components/tt-loading/src/loading.vue2.js +22 -22
- package/dist/components/tt-log/index.vue.js +1 -1
- package/dist/components/tt-modal/index.d.ts +182 -162
- package/dist/components/tt-modal/src/RenderModal.vue.d.ts +54 -54
- package/dist/components/tt-modal/src/RenderModal.vue.js +236 -228
- package/dist/components/tt-modal/src/components/ModalWrapper.vue.js +1 -1
- package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +26 -22
- package/dist/components/tt-modal/src/utils/resolve-modal-target.js +57 -53
- package/dist/components/tt-nav-anchor/src/TtNavAnchor.vue.js +123 -123
- package/dist/components/tt-panel-select/src/components/PanelLeft.vue.js +24 -24
- package/dist/components/tt-panel-select/src/components/PanelMiddle.vue.d.ts +63 -67
- package/dist/components/tt-panel-select/src/components/PanelMiddle.vue.js +145 -145
- package/dist/components/tt-panel-select/src/components/PanelRight.vue.d.ts +10 -12
- package/dist/components/tt-panel-select/src/components/PanelRight.vue.js +48 -48
- package/dist/components/tt-panel-select/src/index.vue.d.ts +63 -67
- package/dist/components/tt-panel-select/src/index.vue.js +137 -137
- package/dist/components/tt-radio-group/index.vue.js +1 -1
- package/dist/components/tt-select/src/Select.vue.d.ts +8 -12
- package/dist/components/tt-select/src/Select.vue.js +1 -1
- package/dist/components/tt-select/src/components/SelectTable.vue.js +1 -1
- package/dist/components/tt-select/src/components/Table.vue.js +1 -1
- package/dist/components/tt-table/index.d.ts +20 -24
- package/dist/components/tt-table/index.js +1 -1
- package/dist/components/tt-table/src/Table.vue.d.ts +40 -48
- package/dist/components/tt-table/src/Table.vue.js +1 -1
- package/dist/components/tt-table/src/TableForm.vue.d.ts +8 -12
- package/dist/components/tt-table/src/TableForm.vue.js +1 -1
- package/dist/components/tt-table/src/components/TableColumnModal.vue2.js +1 -1
- package/dist/components/tt-table/src/hooks/useSideSlot.d.ts +40 -48
- package/dist/components/tt-text/index.vue2.js +22 -22
- 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/TtUpload.vue.js +1 -1
- package/dist/components/tt-upload/src/typing.d.ts +17 -17
- package/dist/hooks/useScreenshotOss.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +80 -78
- package/dist/node_modules/.pnpm/@vue_shared@3.5.34/node_modules/@vue/shared/dist/shared.esm-bundler.js +17 -0
- package/dist/packages/hooks/src/propTypes.js +1 -1
- package/dist/plugins/vxeTable/switchStatus.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +3 -2
- /package/dist/node_modules/.pnpm/{vue-types@5.1.3_vue@3.5.21_typescript@5.9.3_ → vue-types@5.1.3_vue@3.5.34_typescript@5.9.3_}/node_modules/vue-types/shim/index.modern.js +0 -0
package/dist/index.js
CHANGED
|
@@ -3,8 +3,8 @@ import { TtAddButton as so } 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
5
|
import { addComponent as s, setConfig as i } from "./components/tt-form/index.js";
|
|
6
|
-
import { TtFormItemErrorTooltip as
|
|
7
|
-
import { TtIcon as
|
|
6
|
+
import { TtFormItemErrorTooltip as l } from "./components/tt-form-item-error-tooltip/index.js";
|
|
7
|
+
import { TtIcon as d, TtAddIcon as u, TtSubIcon as x } from "./components/tt-icon/index.js";
|
|
8
8
|
import { TtImage as T } 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";
|
|
@@ -19,7 +19,7 @@ import { setup as P } from "./hooks/useSetup.js";
|
|
|
19
19
|
import { TtLog as R } from "./components/tt-log/index.js";
|
|
20
20
|
import { TtPanelSelect as S } from "./components/tt-panel-select/index.js";
|
|
21
21
|
import { TtRadioGroup as h } from "./components/tt-radio-group/index.js";
|
|
22
|
-
import { TtInputTextarea as
|
|
22
|
+
import { TtInputTextarea as A } from "./components/tt-input-textarea/index.js";
|
|
23
23
|
import { setXHR as xo } from "./utils/xhr.js";
|
|
24
24
|
/* empty css */
|
|
25
25
|
/* empty css */
|
|
@@ -30,47 +30,48 @@ import { default as no } from "./components/tt-area/TtArea.vue.js";
|
|
|
30
30
|
import { useModalForm as go } from "./components/tt-modal-form/useModalForm.js";
|
|
31
31
|
import { TtLoading as bo } from "./components/tt-loading/index.js";
|
|
32
32
|
import { TtTable as Oo, TtTableAction as Po, TtTableButton as Ro } from "./components/tt-table/index.js";
|
|
33
|
-
import { getFileUrlOss as ho, getPostSignatureForObsUploadHuaweiOss as
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
33
|
+
import { getFileUrlOss as ho, getPostSignatureForObsUploadHuaweiOss as Ao, getPostSignatureForOssUploadOss as Fo } from "./api/oss.js";
|
|
34
|
+
import { TtKeepAlive as Co } from "./components/tt-keep-alive/index.js";
|
|
35
|
+
import { useFormSchemasLink as Uo } from "./hooks/useFormSchemasLink.js";
|
|
36
|
+
import { useDataPermissionOptions as Eo } from "./hooks/useDataPermissionOptions.js";
|
|
37
|
+
import { useBasicDataOptions as Bo } from "./hooks/useBasicDataOptions.js";
|
|
38
|
+
import { usePanelSelectSchemas as No } from "./hooks/usePanelSelectSchemas.js";
|
|
39
|
+
import { CODES as ko, GROUP_BY as Ho } from "./hooks/basicDataCodes.js";
|
|
40
|
+
import { useFormat as _o } from "./hooks/useFormat.js";
|
|
41
|
+
import { useLoading as jo } from "./hooks/useLoading.js";
|
|
42
|
+
import { useScreenshotOss as Ko } from "./hooks/useScreenshotOss.js";
|
|
43
|
+
import { createUppercaseInputProps as Yo, toUppercaseInputValue as Zo, uppercaseInputProps as qo } from "./utils/uppercaseInput.js";
|
|
44
|
+
import { setupDrawer as F } from "./components/tt-drawer/src/index.js";
|
|
45
|
+
import { useShowDrawer as Qo } from "./components/tt-drawer/src/index.js";
|
|
45
46
|
import { setupModal as I } from "./components/tt-modal/src/index.js";
|
|
46
|
-
import { useShowModal as
|
|
47
|
-
import { default as
|
|
48
|
-
import { default as
|
|
49
|
-
import { showTtDrawer as
|
|
50
|
-
import { useDrawerResizable as
|
|
51
|
-
import { showTtModal as
|
|
52
|
-
import { closeAllTtModal as
|
|
53
|
-
import { default as
|
|
47
|
+
import { useShowModal as or } from "./components/tt-modal/src/index.js";
|
|
48
|
+
import { default as er } from "./directives/disabled-tip/index.js";
|
|
49
|
+
import { default as mr } from "./directives/auto-tip/index.js";
|
|
50
|
+
import { showTtDrawer as ar, useDrawerRender as fr } from "./components/tt-drawer/src/hooks/useDrawerRender.js";
|
|
51
|
+
import { useDrawerResizable as ir } from "./components/tt-drawer/src/hooks/useResizable.js";
|
|
52
|
+
import { showTtModal as dr, useModalRender as ur } from "./components/tt-modal/src/hooks/useModalRender.js";
|
|
53
|
+
import { closeAllTtModal as Tr, closeTtModal as nr, openTtModal as cr, ttModal as gr } from "./components/tt-modal/src/utils/modal-service.js";
|
|
54
|
+
import { default as br } from "./directives/dialog-resize/index.js";
|
|
54
55
|
import * as to from "zod";
|
|
55
|
-
import { useGroupForm as
|
|
56
|
-
import { COMPONENT_MAP as
|
|
57
|
-
import { useForm as
|
|
58
|
-
import { TtImageViewer as
|
|
59
|
-
import { vTtLoading as
|
|
60
|
-
import { Loading as
|
|
61
|
-
import { useTableContext as
|
|
62
|
-
import { useTableFormRender as
|
|
63
|
-
import { ttUploadProps as
|
|
56
|
+
import { useGroupForm as Or } from "./components/tt-form/src/group-form/useGroupForm.js";
|
|
57
|
+
import { COMPONENT_MAP as Rr } from "./components/tt-form/src/config.js";
|
|
58
|
+
import { useForm as hr } from "./components/tt-form/src/useForm.js";
|
|
59
|
+
import { TtImageViewer as Fr } from "./components/tt-image/src/components/ImageViewer.js";
|
|
60
|
+
import { vTtLoading as Cr } from "./components/tt-loading/src/directive.js";
|
|
61
|
+
import { Loading as Ur } from "./components/tt-loading/src/service.js";
|
|
62
|
+
import { useTableContext as Er, useTableFormContext as vr } from "./components/tt-table/src/hooks/useTableContext.js";
|
|
63
|
+
import { useTableFormRender as zr, useTableRender as Nr } from "./components/tt-table/src/hooks/useTableRender.js";
|
|
64
|
+
import { ttUploadProps as kr } from "./components/tt-upload/src/typing.js";
|
|
64
65
|
const C = [
|
|
65
66
|
p,
|
|
66
67
|
n,
|
|
67
68
|
c,
|
|
68
|
-
|
|
69
|
+
d,
|
|
69
70
|
g,
|
|
70
71
|
f,
|
|
71
72
|
M,
|
|
72
73
|
a,
|
|
73
|
-
|
|
74
|
+
l,
|
|
74
75
|
T,
|
|
75
76
|
b,
|
|
76
77
|
w,
|
|
@@ -80,12 +81,12 @@ const C = [
|
|
|
80
81
|
R,
|
|
81
82
|
S,
|
|
82
83
|
h,
|
|
83
|
-
|
|
84
|
+
A
|
|
84
85
|
], D = (o) => {
|
|
85
86
|
C.forEach((r) => o.use(r)), Object.keys(e).forEach((r) => {
|
|
86
87
|
const t = e[r], m = r.replace(/([A-Z])/g, "-$1").toLowerCase();
|
|
87
88
|
o.directive(m, t);
|
|
88
|
-
}),
|
|
89
|
+
}), F(o), I(o);
|
|
89
90
|
};
|
|
90
91
|
function mo(o) {
|
|
91
92
|
s(o == null ? void 0 : o.components), i(o == null ? void 0 : o.defineRules, o == null ? void 0 : o.modelPropNameMap);
|
|
@@ -104,10 +105,10 @@ const po = {
|
|
|
104
105
|
setup: P
|
|
105
106
|
};
|
|
106
107
|
export {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
108
|
+
ko as CODES,
|
|
109
|
+
Rr as COMPONENT_MAP,
|
|
110
|
+
Ho as GROUP_BY,
|
|
111
|
+
Ur as Loading,
|
|
111
112
|
n as RenderDrawer,
|
|
112
113
|
c as RenderModal,
|
|
113
114
|
so as TtAddButton,
|
|
@@ -117,10 +118,11 @@ export {
|
|
|
117
118
|
p as TtButton,
|
|
118
119
|
a as TtCheckbox,
|
|
119
120
|
f as TtEmpty,
|
|
120
|
-
|
|
121
|
+
d as TtIcon,
|
|
121
122
|
T as TtImage,
|
|
122
|
-
|
|
123
|
-
|
|
123
|
+
Fr as TtImageViewer,
|
|
124
|
+
A as TtInputTextarea,
|
|
125
|
+
Co as TtKeepAlive,
|
|
124
126
|
bo as TtLoading,
|
|
125
127
|
R as TtLog,
|
|
126
128
|
lo as TtModal,
|
|
@@ -135,47 +137,47 @@ export {
|
|
|
135
137
|
M as TtText,
|
|
136
138
|
b as TtUpload,
|
|
137
139
|
s as addComponent,
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
140
|
+
mr as autoTip,
|
|
141
|
+
Tr as closeAllTtModal,
|
|
142
|
+
nr as closeTtModal,
|
|
143
|
+
Yo as createUppercaseInputProps,
|
|
142
144
|
po as default,
|
|
143
|
-
|
|
144
|
-
|
|
145
|
+
br as dialogResize,
|
|
146
|
+
er as disabledTip,
|
|
145
147
|
mo as formAdapter,
|
|
146
148
|
ho as getFileUrlOss,
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
149
|
+
Ao as getPostSignatureForObsUploadHuaweiOss,
|
|
150
|
+
Fo as getPostSignatureForOssUploadOss,
|
|
151
|
+
cr as openTtModal,
|
|
150
152
|
i as setConfig,
|
|
151
153
|
xo as setXHR,
|
|
152
|
-
|
|
154
|
+
F as setupDrawer,
|
|
153
155
|
I as setupModal,
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
156
|
+
ar as showTtDrawer,
|
|
157
|
+
dr as showTtModal,
|
|
158
|
+
Zo as toUppercaseInputValue,
|
|
159
|
+
gr as ttModal,
|
|
160
|
+
kr as ttUploadProps,
|
|
161
|
+
qo as uppercaseInputProps,
|
|
162
|
+
Bo as useBasicDataOptions,
|
|
163
|
+
Eo as useDataPermissionOptions,
|
|
164
|
+
fr as useDrawerRender,
|
|
165
|
+
ir as useDrawerResizable,
|
|
166
|
+
hr as useForm,
|
|
167
|
+
Uo as useFormSchemasLink,
|
|
168
|
+
_o as useFormat,
|
|
169
|
+
Or as useGroupForm,
|
|
170
|
+
jo as useLoading,
|
|
169
171
|
go as useModalForm,
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
172
|
+
ur as useModalRender,
|
|
173
|
+
No as usePanelSelectSchemas,
|
|
174
|
+
Ko as useScreenshotOss,
|
|
175
|
+
Qo as useShowDrawer,
|
|
176
|
+
or as useShowModal,
|
|
177
|
+
Er as useTableContext,
|
|
178
|
+
vr as useTableFormContext,
|
|
179
|
+
zr as useTableFormRender,
|
|
180
|
+
Nr as useTableRender,
|
|
181
|
+
Cr as vTtLoading,
|
|
180
182
|
to as z
|
|
181
183
|
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @vue/shared v3.5.34
|
|
3
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
+
* @license MIT
|
|
5
|
+
**/
|
|
6
|
+
process.env.NODE_ENV !== "production" && Object.freeze({});
|
|
7
|
+
process.env.NODE_ENV !== "production" && Object.freeze([]);
|
|
8
|
+
const t = Array.isArray, n = (e) => typeof e == "function", s = (e) => typeof e == "string", c = (e, ...o) => {
|
|
9
|
+
for (let r = 0; r < e.length; r++)
|
|
10
|
+
e[r](...o);
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
c as invokeArrayFns,
|
|
14
|
+
t as isArray,
|
|
15
|
+
n as isFunction,
|
|
16
|
+
s as isString
|
|
17
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e, { toType as t } from "../../../node_modules/.pnpm/vue-types@5.1.3_vue@3.5.
|
|
1
|
+
import e, { toType as t } from "../../../node_modules/.pnpm/vue-types@5.1.3_vue@3.5.34_typescript@5.9.3_/node_modules/vue-types/shim/index.modern.js";
|
|
2
2
|
class r extends e {
|
|
3
3
|
static get style() {
|
|
4
4
|
return t("style", {
|
|
@@ -13,7 +13,7 @@ import "../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/aes.js";
|
|
|
13
13
|
import "../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-utf8.js";
|
|
14
14
|
import "../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb.js";
|
|
15
15
|
import "../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs7.js";
|
|
16
|
-
import "../../node_modules/.pnpm/vue-types@5.1.3_vue@3.5.
|
|
16
|
+
import "../../node_modules/.pnpm/vue-types@5.1.3_vue@3.5.34_typescript@5.9.3_/node_modules/vue-types/shim/index.modern.js";
|
|
17
17
|
import { kebabToCamelCase as I } from "../../packages/hooks/src/tools.js";
|
|
18
18
|
import "vue-router";
|
|
19
19
|
const D = [
|