@dazhicheng/ui 1.6.63 → 1.6.65
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-config-provider/index.d.ts +39 -0
- package/dist/components/tt-config-provider/index.js +21 -0
- package/dist/components/tt-config-provider/src/TtConfigProvider.vue.d.ts +25 -0
- package/dist/components/tt-config-provider/src/TtConfigProvider.vue.js +38 -0
- package/dist/components/tt-config-provider/src/TtConfigProvider.vue2.js +4 -0
- 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-form/src/form-render/FormField.vue2.js +3 -1
- 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/hooks/useModalRender.d.ts +17 -17
- 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-table/index.js +6 -5
- package/dist/components/tt-table/src/TableForm.vue.js +3 -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/index.d.ts +1 -0
- package/dist/index.js +130 -127
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,72 +1,73 @@
|
|
|
1
1
|
import { TtButton as p } from "./components/tt-button/index.js";
|
|
2
|
-
import { TtAddButton as
|
|
2
|
+
import { TtAddButton as no } 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
6
|
import { TtFormItemErrorTooltip as l } from "./components/tt-form-item-error-tooltip/index.js";
|
|
7
|
-
import { TtIcon as d, TtAddIcon as
|
|
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 go } 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
|
-
import { TtNavAnchor as
|
|
16
|
-
import { TtApiComponent as
|
|
15
|
+
import { TtNavAnchor as P } from "./components/tt-nav-anchor/index.js";
|
|
16
|
+
import { TtApiComponent as w } from "./components/tt-api-component/index.js";
|
|
17
17
|
import * as e from "./directives/index.js";
|
|
18
|
-
import { setup as
|
|
19
|
-
import { TtLog as
|
|
20
|
-
import { TtPanelSelect as
|
|
21
|
-
import { TtRadioGroup as
|
|
22
|
-
import { TtInputTextarea as
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
18
|
+
import { setup as O } from "./hooks/useSetup.js";
|
|
19
|
+
import { TtLog as C } from "./components/tt-log/index.js";
|
|
20
|
+
import { TtPanelSelect as R } from "./components/tt-panel-select/index.js";
|
|
21
|
+
import { TtRadioGroup as S } from "./components/tt-radio-group/index.js";
|
|
22
|
+
import { TtInputTextarea as h } from "./components/tt-input-textarea/index.js";
|
|
23
|
+
import { TtConfigProvider as A } from "./components/tt-config-provider/index.js";
|
|
24
|
+
import { setXHR as bo } from "./utils/xhr.js";
|
|
25
|
+
import { TtCustomExportModal as F } from "./components/tt-custom-export-modal/index.js";
|
|
26
|
+
import { TtCustomExportPanel as I } from "./components/tt-custom-export-panel/index.js";
|
|
26
27
|
/* empty css */
|
|
27
28
|
/* empty css */
|
|
28
29
|
/* empty css */
|
|
29
30
|
/* empty css */
|
|
30
31
|
/* empty css */
|
|
31
|
-
import { default as
|
|
32
|
-
import { useModalForm as
|
|
33
|
-
import { TtLoading as
|
|
34
|
-
import { TtTable as
|
|
35
|
-
import { getFileUrlOss as
|
|
36
|
-
import { TtKeepAlive as
|
|
37
|
-
import { useFormSchemasLink as
|
|
38
|
-
import { useDataPermissionOptions as
|
|
39
|
-
import { useBasicDataOptions as
|
|
40
|
-
import { usePanelSelectSchemas as
|
|
41
|
-
import { CODES as
|
|
42
|
-
import { useFormat as
|
|
43
|
-
import { useLoading as
|
|
44
|
-
import { useScreenshotOss as
|
|
45
|
-
import { createUppercaseInputProps as
|
|
46
|
-
import { setupDrawer as
|
|
47
|
-
import { useShowDrawer as
|
|
48
|
-
import { setupModal as
|
|
49
|
-
import { useShowModal as
|
|
50
|
-
import { default as
|
|
51
|
-
import { default as
|
|
52
|
-
import { showTtDrawer as
|
|
53
|
-
import { useDrawerResizable as
|
|
54
|
-
import { showTtModal as
|
|
55
|
-
import { closeAllTtModal as
|
|
56
|
-
import { default as
|
|
57
|
-
import * as
|
|
58
|
-
import { useGroupForm as
|
|
59
|
-
import { COMPONENT_MAP as
|
|
60
|
-
import { useForm as
|
|
61
|
-
import { TtImageViewer as
|
|
62
|
-
import { vTtLoading as
|
|
63
|
-
import { Loading as
|
|
64
|
-
import { useTableContext as
|
|
65
|
-
import { useTableFormRender as
|
|
66
|
-
import { ttUploadProps as
|
|
67
|
-
const
|
|
68
|
-
C,
|
|
32
|
+
import { default as wo } from "./components/tt-area/TtArea.vue.js";
|
|
33
|
+
import { useModalForm as Co } from "./components/tt-modal-form/useModalForm.js";
|
|
34
|
+
import { TtLoading as So } from "./components/tt-loading/index.js";
|
|
35
|
+
import { TtTable as Ao, TtTableAction as Fo, TtTableButton as Io, TtTableExportButton as Do } from "./components/tt-table/index.js";
|
|
36
|
+
import { getFileUrlOss as Uo, getPostSignatureForObsUploadHuaweiOss as Lo, getPostSignatureForOssUploadOss as vo } from "./api/oss.js";
|
|
37
|
+
import { TtKeepAlive as zo } from "./components/tt-keep-alive/index.js";
|
|
38
|
+
import { useFormSchemasLink as Go } from "./hooks/useFormSchemasLink.js";
|
|
39
|
+
import { useDataPermissionOptions as Ho } from "./hooks/useDataPermissionOptions.js";
|
|
40
|
+
import { useBasicDataOptions as _o } from "./hooks/useBasicDataOptions.js";
|
|
41
|
+
import { usePanelSelectSchemas as jo } from "./hooks/usePanelSelectSchemas.js";
|
|
42
|
+
import { CODES as Ko, GROUP_BY as Xo } from "./hooks/basicDataCodes.js";
|
|
43
|
+
import { useFormat as Zo } from "./hooks/useFormat.js";
|
|
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";
|
|
47
|
+
import { setupDrawer as D } from "./components/tt-drawer/src/index.js";
|
|
48
|
+
import { useShowDrawer as pr } from "./components/tt-drawer/src/index.js";
|
|
49
|
+
import { setupModal as E } from "./components/tt-modal/src/index.js";
|
|
50
|
+
import { useShowModal as fr } from "./components/tt-modal/src/index.js";
|
|
51
|
+
import { default as ir } from "./directives/disabled-tip/index.js";
|
|
52
|
+
import { default as dr } from "./directives/auto-tip/index.js";
|
|
53
|
+
import { showTtDrawer as ur, useDrawerRender as xr } from "./components/tt-drawer/src/hooks/useDrawerRender.js";
|
|
54
|
+
import { useDrawerResizable as cr } from "./components/tt-drawer/src/hooks/useResizable.js";
|
|
55
|
+
import { showTtModal as Mr, useModalRender as br } from "./components/tt-modal/src/hooks/useModalRender.js";
|
|
56
|
+
import { closeAllTtModal as wr, closeTtModal as Or, openTtModal as Cr, ttModal as Rr } from "./components/tt-modal/src/utils/modal-service.js";
|
|
57
|
+
import { default as hr } from "./directives/dialog-resize/index.js";
|
|
58
|
+
import * as io from "zod";
|
|
59
|
+
import { useGroupForm as Fr } from "./components/tt-form/src/group-form/useGroupForm.js";
|
|
60
|
+
import { COMPONENT_MAP as Dr } from "./components/tt-form/src/config.js";
|
|
61
|
+
import { useForm as Ur } from "./components/tt-form/src/useForm.js";
|
|
62
|
+
import { TtImageViewer as vr } from "./components/tt-image/src/components/ImageViewer.js";
|
|
63
|
+
import { vTtLoading as zr } from "./components/tt-loading/src/directive.js";
|
|
64
|
+
import { Loading as Gr } from "./components/tt-loading/src/service.js";
|
|
65
|
+
import { useTableContext as Hr, useTableFormContext as Vr } from "./components/tt-table/src/hooks/useTableContext.js";
|
|
66
|
+
import { useTableFormRender as $r, useTableRender as jr } from "./components/tt-table/src/hooks/useTableRender.js";
|
|
67
|
+
import { ttUploadProps as Kr } from "./components/tt-upload/src/typing.js";
|
|
68
|
+
const U = [
|
|
69
69
|
F,
|
|
70
|
+
I,
|
|
70
71
|
p,
|
|
71
72
|
n,
|
|
72
73
|
c,
|
|
@@ -78,113 +79,115 @@ const E = [
|
|
|
78
79
|
l,
|
|
79
80
|
x,
|
|
80
81
|
b,
|
|
81
|
-
|
|
82
|
-
u,
|
|
82
|
+
P,
|
|
83
83
|
T,
|
|
84
|
-
|
|
84
|
+
u,
|
|
85
|
+
w,
|
|
86
|
+
C,
|
|
85
87
|
R,
|
|
86
88
|
S,
|
|
87
89
|
h,
|
|
88
90
|
A
|
|
89
|
-
],
|
|
90
|
-
|
|
91
|
+
], L = (o) => {
|
|
92
|
+
U.forEach((r) => o.use(r)), Object.keys(e).forEach((r) => {
|
|
91
93
|
const t = e[r], m = r.replace(/([A-Z])/g, "-$1").toLowerCase();
|
|
92
94
|
o.directive(m, t);
|
|
93
|
-
}),
|
|
95
|
+
}), D(o), E(o);
|
|
94
96
|
};
|
|
95
|
-
function
|
|
97
|
+
function lo(o) {
|
|
96
98
|
s(o == null ? void 0 : o.components), i(o == null ? void 0 : o.defineRules, o == null ? void 0 : o.modelPropNameMap);
|
|
97
99
|
}
|
|
98
|
-
const
|
|
100
|
+
const To = {
|
|
99
101
|
/**
|
|
100
102
|
* 安装组件
|
|
101
103
|
* @param app Vue 应用实例
|
|
102
104
|
*/
|
|
103
|
-
install:
|
|
105
|
+
install: L,
|
|
104
106
|
/**
|
|
105
107
|
* 全局参数设置
|
|
106
108
|
* @param options 全局参数
|
|
107
109
|
* @returns 合并后的全局参数
|
|
108
110
|
*/
|
|
109
|
-
setup:
|
|
111
|
+
setup: O
|
|
110
112
|
};
|
|
111
113
|
export {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
114
|
+
Ko as CODES,
|
|
115
|
+
Dr as COMPONENT_MAP,
|
|
116
|
+
Xo as GROUP_BY,
|
|
117
|
+
Gr as Loading,
|
|
116
118
|
n as RenderDrawer,
|
|
117
119
|
c as RenderModal,
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
120
|
+
no as TtAddButton,
|
|
121
|
+
T as TtAddIcon,
|
|
122
|
+
w as TtApiComponent,
|
|
123
|
+
wo as TtArea,
|
|
122
124
|
p as TtButton,
|
|
123
125
|
a as TtCheckbox,
|
|
124
|
-
|
|
125
|
-
F as
|
|
126
|
+
A as TtConfigProvider,
|
|
127
|
+
F as TtCustomExportModal,
|
|
128
|
+
I as TtCustomExportPanel,
|
|
126
129
|
f as TtEmpty,
|
|
127
130
|
d as TtIcon,
|
|
128
131
|
x as TtImage,
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
132
|
+
vr as TtImageViewer,
|
|
133
|
+
h as TtInputTextarea,
|
|
134
|
+
zo as TtKeepAlive,
|
|
135
|
+
So as TtLoading,
|
|
136
|
+
C as TtLog,
|
|
137
|
+
go as TtModal,
|
|
138
|
+
P as TtNavAnchor,
|
|
139
|
+
R as TtPanelSelect,
|
|
140
|
+
S as TtRadioGroup,
|
|
138
141
|
g as TtSelect,
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
142
|
+
u as TtSubIcon,
|
|
143
|
+
Ao as TtTable,
|
|
144
|
+
Fo as TtTableAction,
|
|
145
|
+
Io as TtTableButton,
|
|
146
|
+
Do as TtTableExportButton,
|
|
144
147
|
M as TtText,
|
|
145
148
|
b as TtUpload,
|
|
146
149
|
s as addComponent,
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
150
|
+
dr as autoTip,
|
|
151
|
+
wr as closeAllTtModal,
|
|
152
|
+
Or as closeTtModal,
|
|
153
|
+
rr as createUppercaseInputProps,
|
|
154
|
+
To as default,
|
|
155
|
+
hr as dialogResize,
|
|
156
|
+
ir as disabledTip,
|
|
157
|
+
lo as formAdapter,
|
|
158
|
+
Uo as getFileUrlOss,
|
|
159
|
+
Lo as getPostSignatureForObsUploadHuaweiOss,
|
|
160
|
+
vo as getPostSignatureForOssUploadOss,
|
|
161
|
+
Cr as openTtModal,
|
|
159
162
|
i as setConfig,
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
163
|
+
bo as setXHR,
|
|
164
|
+
D as setupDrawer,
|
|
165
|
+
E as setupModal,
|
|
166
|
+
ur as showTtDrawer,
|
|
167
|
+
Mr as showTtModal,
|
|
168
|
+
er as toUppercaseInputValue,
|
|
169
|
+
Rr as ttModal,
|
|
170
|
+
Kr as ttUploadProps,
|
|
171
|
+
tr as uppercaseInputProps,
|
|
172
|
+
_o as useBasicDataOptions,
|
|
173
|
+
Ho as useDataPermissionOptions,
|
|
174
|
+
xr as useDrawerRender,
|
|
175
|
+
cr as useDrawerResizable,
|
|
176
|
+
Ur as useForm,
|
|
177
|
+
Go as useFormSchemasLink,
|
|
178
|
+
Zo as useFormat,
|
|
179
|
+
Fr as useGroupForm,
|
|
180
|
+
Jo as useLoading,
|
|
181
|
+
Co as useModalForm,
|
|
182
|
+
br as useModalRender,
|
|
183
|
+
jo as usePanelSelectSchemas,
|
|
184
|
+
Wo as useScreenshotOss,
|
|
185
|
+
pr as useShowDrawer,
|
|
186
|
+
fr as useShowModal,
|
|
187
|
+
Hr as useTableContext,
|
|
188
|
+
Vr as useTableFormContext,
|
|
189
|
+
$r as useTableFormRender,
|
|
190
|
+
jr as useTableRender,
|
|
191
|
+
zr as vTtLoading,
|
|
192
|
+
io as z
|
|
190
193
|
};
|