duck-vue-components 0.2.1 → 0.2.2
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/constants.cjs +1 -1
- package/dist/constants.d.cts +1 -1
- package/dist/{controls-B9h6ecWb.cjs → controls-DORSbC6g.cjs} +68 -46
- package/dist/{controls-D3mh-m1O.js → controls-Dqd6AD6_.js} +7 -2
- package/dist/controls.cjs +1 -1
- package/dist/controls.d.cts +1 -1
- package/dist/controls.d.ts +1 -1
- package/dist/controls.js +1 -1
- package/dist/hooks.cjs +2 -2
- package/dist/{index-C31N48G0.d.cts → index-CHT-pkrY.d.cts} +9 -7
- package/dist/index-CmiTP4nh.d.cts +804 -0
- package/dist/index-CpIVvKpt.d.ts +804 -0
- package/dist/{index-BxBdJRkg.d.ts → index-DiJRuXzE.d.ts} +5 -5
- package/dist/index.cjs +4 -12
- package/dist/index.d.cts +2 -3
- package/dist/index.d.ts +2 -3
- package/dist/index.js +2 -3
- package/dist/{locale-DTHxb_wp.cjs → locale-BTmar3YP.cjs} +44 -2
- package/dist/locale.cjs +1 -1
- package/dist/pages.cjs +1638 -0
- package/dist/pages.d.cts +36 -0
- package/dist/pages.d.ts +36 -0
- package/dist/pages.js +1627 -0
- package/dist/stores.cjs +6 -6
- package/dist/stores.d.cts +1 -803
- package/dist/stores.d.ts +1 -803
- package/dist/style.css +12 -0
- package/dist/{utils-D8ZjYN3B.cjs → utils-D_H_FuDE.cjs} +5 -6
- package/dist/utils.cjs +2 -2
- package/dist/utils.d.cts +1 -1
- package/package.json +6 -5
- package/dist/chunk-CZWwpsFl.cjs +0 -43
- package/dist/config.cjs +0 -10
- package/dist/config.d.cts +0 -2
- package/dist/config.d.ts +0 -2
- package/dist/config.js +0 -5
- /package/dist/{constants-CnfPtVsT.cjs → constants-Djb2MLAv.cjs} +0 -0
- /package/dist/{index-BCxPeUAH.d.cts → index-1Pf2-Oor.d.cts} +0 -0
- /package/dist/{index-DmYlGe4I.d.cts → index-DbRrwdMu.d.cts} +0 -0
|
@@ -0,0 +1,804 @@
|
|
|
1
|
+
import { d as labelPositionI } from "./index-1Pf2-Oor.cjs";
|
|
2
|
+
import { ComponentPublicInstance } from "vue";
|
|
3
|
+
import * as _$pinia from "pinia";
|
|
4
|
+
import { StateTree } from "pinia";
|
|
5
|
+
import * as _$_vueuse_core0 from "@vueuse/core";
|
|
6
|
+
|
|
7
|
+
//#region src/packages/stores/columnsSetting.d.ts
|
|
8
|
+
interface columnsI {
|
|
9
|
+
[key: string]: Array<string>;
|
|
10
|
+
}
|
|
11
|
+
declare const useColumnsSettingStore: _$pinia.StoreDefinition<"columnsSetting", Pick<{
|
|
12
|
+
columns: columnsI;
|
|
13
|
+
isChecked: (moduleName: string, fieldName: string) => boolean;
|
|
14
|
+
setItem: (moduleName: string, fieldName: string, checked: boolean) => boolean;
|
|
15
|
+
getFromRemote: () => Promise<boolean>;
|
|
16
|
+
saveToRemote: () => void;
|
|
17
|
+
clearColumns: (moduleName: string) => void;
|
|
18
|
+
getColumns: () => columnsI;
|
|
19
|
+
tableOrderColumns: any;
|
|
20
|
+
setOrderColumns: (moduleName: string, orderColumns: any[]) => void;
|
|
21
|
+
fieldsOrder: any;
|
|
22
|
+
setFieldsOrder: (moduleName: string, fieldsOrderArr: any) => void;
|
|
23
|
+
}, "columns" | "fieldsOrder" | "tableOrderColumns">, Pick<{
|
|
24
|
+
columns: columnsI;
|
|
25
|
+
isChecked: (moduleName: string, fieldName: string) => boolean;
|
|
26
|
+
setItem: (moduleName: string, fieldName: string, checked: boolean) => boolean;
|
|
27
|
+
getFromRemote: () => Promise<boolean>;
|
|
28
|
+
saveToRemote: () => void;
|
|
29
|
+
clearColumns: (moduleName: string) => void;
|
|
30
|
+
getColumns: () => columnsI;
|
|
31
|
+
tableOrderColumns: any;
|
|
32
|
+
setOrderColumns: (moduleName: string, orderColumns: any[]) => void;
|
|
33
|
+
fieldsOrder: any;
|
|
34
|
+
setFieldsOrder: (moduleName: string, fieldsOrderArr: any) => void;
|
|
35
|
+
}, "fieldsOrder" | "tableOrderColumns">, Pick<{
|
|
36
|
+
columns: columnsI;
|
|
37
|
+
isChecked: (moduleName: string, fieldName: string) => boolean;
|
|
38
|
+
setItem: (moduleName: string, fieldName: string, checked: boolean) => boolean;
|
|
39
|
+
getFromRemote: () => Promise<boolean>;
|
|
40
|
+
saveToRemote: () => void;
|
|
41
|
+
clearColumns: (moduleName: string) => void;
|
|
42
|
+
getColumns: () => columnsI;
|
|
43
|
+
tableOrderColumns: any;
|
|
44
|
+
setOrderColumns: (moduleName: string, orderColumns: any[]) => void;
|
|
45
|
+
fieldsOrder: any;
|
|
46
|
+
setFieldsOrder: (moduleName: string, fieldsOrderArr: any) => void;
|
|
47
|
+
}, "getFromRemote" | "saveToRemote" | "fieldsOrder" | "isChecked" | "setItem" | "clearColumns" | "getColumns" | "tableOrderColumns" | "setOrderColumns" | "setFieldsOrder">>;
|
|
48
|
+
//#endregion
|
|
49
|
+
//#region src/packages/stores/appConfig.d.ts
|
|
50
|
+
type layoutT = 'ltb' | 'tlr' | 'tb' | 'tlmb' | 'ltmb' | 'lr';
|
|
51
|
+
type chalkT = 'blue' | 'red' | 'yellow' | 'green';
|
|
52
|
+
type mapTypeT = 'baidu' | 'tencent' | 'amap' | 'google' | '';
|
|
53
|
+
interface mapI {
|
|
54
|
+
type: mapTypeT;
|
|
55
|
+
key: string;
|
|
56
|
+
}
|
|
57
|
+
interface expiresI {
|
|
58
|
+
/** 管理后台keyword过期时间,如果修改了关键词,可以让用户退出登录重新进入,或者调低这儿的配置 */
|
|
59
|
+
keyword: number;
|
|
60
|
+
options: number;
|
|
61
|
+
postTime: number;
|
|
62
|
+
}
|
|
63
|
+
interface loginT {
|
|
64
|
+
/** 保存多少天登录状态,单位为天,为false的进修,0表示关闭浏览器就退出登录 */
|
|
65
|
+
saveLoginDate: number;
|
|
66
|
+
/** 单位为分钟,第过多时间检查登录状态,单位为分钟,默认5,如果修改了登录状态,则用户需要重新登录 */
|
|
67
|
+
checkLoginStatus: number;
|
|
68
|
+
/** 显示登录验证码 */
|
|
69
|
+
ShowLoginAuthCode: boolean;
|
|
70
|
+
}
|
|
71
|
+
interface layoutI {
|
|
72
|
+
/** 平台初始布局样式,以后有新的效果再加 */
|
|
73
|
+
layout: layoutT;
|
|
74
|
+
/** 用户是否允许修改平台布局 */
|
|
75
|
+
userCanChange: boolean;
|
|
76
|
+
/** 是否显示灰色主题,主要用于特殊节日时 */
|
|
77
|
+
paleTheme: boolean;
|
|
78
|
+
chalk: chalkT;
|
|
79
|
+
}
|
|
80
|
+
interface appConfigI {
|
|
81
|
+
/** 平台标题 */
|
|
82
|
+
title: string;
|
|
83
|
+
/** 平台logo */
|
|
84
|
+
logo: string;
|
|
85
|
+
/** 背景图片 */
|
|
86
|
+
bgImg: string;
|
|
87
|
+
support: string;
|
|
88
|
+
coopyRight: string;
|
|
89
|
+
/** 是否显示水印,如果显示水印的时候,用户只能选择显示图标或者文字,如果不显示,则全部不显示 */
|
|
90
|
+
showWater: boolean;
|
|
91
|
+
developerMode: boolean;
|
|
92
|
+
/** 是否企业切换框 */
|
|
93
|
+
showChoiceSites: boolean;
|
|
94
|
+
layout: layoutI;
|
|
95
|
+
login: loginT;
|
|
96
|
+
expires: expiresI;
|
|
97
|
+
map: mapI;
|
|
98
|
+
}
|
|
99
|
+
declare const useAppConfigStore: _$pinia.StoreDefinition<"appConfig", appConfigI, {}, {
|
|
100
|
+
getFromRemote(url: string): Promise<boolean>;
|
|
101
|
+
saveToRemote(url: string): void;
|
|
102
|
+
reset(): void;
|
|
103
|
+
}>;
|
|
104
|
+
//#endregion
|
|
105
|
+
//#region src/packages/stores/localSetting.d.ts
|
|
106
|
+
interface SystemConfig {
|
|
107
|
+
dark: boolean;
|
|
108
|
+
locale: 'cn' | 'en' | 'tw';
|
|
109
|
+
langLable: 'text' | 'icon';
|
|
110
|
+
emptyValues: string;
|
|
111
|
+
valueOnClear: string;
|
|
112
|
+
size: 'default' | 'large' | 'small';
|
|
113
|
+
message: {
|
|
114
|
+
max: number;
|
|
115
|
+
grouping: boolean;
|
|
116
|
+
duration: number;
|
|
117
|
+
showClose: boolean;
|
|
118
|
+
offset: number;
|
|
119
|
+
plain: boolean;
|
|
120
|
+
};
|
|
121
|
+
button: {
|
|
122
|
+
type: 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'default';
|
|
123
|
+
autoInsertSpace: boolean;
|
|
124
|
+
plain: boolean;
|
|
125
|
+
round: boolean;
|
|
126
|
+
};
|
|
127
|
+
checkBox: 'default' | 'button';
|
|
128
|
+
link: {
|
|
129
|
+
type: 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'default';
|
|
130
|
+
underline: 'always' | 'hover' | 'never' | boolean;
|
|
131
|
+
};
|
|
132
|
+
maxOpenPage: number;
|
|
133
|
+
}
|
|
134
|
+
interface LayoutConfig {
|
|
135
|
+
layout: layoutT;
|
|
136
|
+
fullScreen: boolean;
|
|
137
|
+
backTop: boolean;
|
|
138
|
+
}
|
|
139
|
+
interface LocalSettingState extends StateTree {
|
|
140
|
+
system: SystemConfig;
|
|
141
|
+
layout: LayoutConfig;
|
|
142
|
+
smallComponents: {
|
|
143
|
+
dark: boolean;
|
|
144
|
+
lang: boolean;
|
|
145
|
+
fullScreen: boolean;
|
|
146
|
+
size: boolean;
|
|
147
|
+
tabs: boolean;
|
|
148
|
+
};
|
|
149
|
+
page: {
|
|
150
|
+
process: boolean;
|
|
151
|
+
transition: string;
|
|
152
|
+
waterType: 'text' | 'img';
|
|
153
|
+
dialogType: 'leftToRight' | 'rightToLeft' | 'topToBottom' | 'bottomToTop' | 'center';
|
|
154
|
+
};
|
|
155
|
+
pageTable: {
|
|
156
|
+
showTitle: boolean;
|
|
157
|
+
margin: number;
|
|
158
|
+
search: {
|
|
159
|
+
oneLineControl: 4 | 3 | 2 | 1;
|
|
160
|
+
mergeStringControl: boolean;
|
|
161
|
+
stringControlLocation: 'front' | 'end';
|
|
162
|
+
labelPosition: 'left' | 'top';
|
|
163
|
+
buttonStyle: 'button' | 'text';
|
|
164
|
+
};
|
|
165
|
+
table: {
|
|
166
|
+
deleteConfirmStyle: 'modal' | 'bubble';
|
|
167
|
+
showHeader: boolean;
|
|
168
|
+
showHeadBgColor: boolean;
|
|
169
|
+
verticalLine: boolean;
|
|
170
|
+
horizontalLine: boolean;
|
|
171
|
+
stripe: boolean;
|
|
172
|
+
highlightCurrentRow: boolean;
|
|
173
|
+
height: 'follow' | 'fixed';
|
|
174
|
+
buttonStyle: 'text' | 'button';
|
|
175
|
+
showIndex: boolean;
|
|
176
|
+
fit: boolean;
|
|
177
|
+
fixed: false | 'left' | 'right';
|
|
178
|
+
showMenu: true | false;
|
|
179
|
+
maxButtons: number;
|
|
180
|
+
multiLangShowType: 'all' | 'hover';
|
|
181
|
+
};
|
|
182
|
+
buttons: {
|
|
183
|
+
groupType: false;
|
|
184
|
+
location: 'top' | 'bottom' | 'both';
|
|
185
|
+
buttonStyle: 'text' | 'button';
|
|
186
|
+
};
|
|
187
|
+
pagination: {
|
|
188
|
+
location: 'top' | 'bottom' | 'both';
|
|
189
|
+
footerFollow: 'follow' | 'bottom';
|
|
190
|
+
showBgColor: boolean;
|
|
191
|
+
};
|
|
192
|
+
};
|
|
193
|
+
pageForm: {
|
|
194
|
+
showTitle: boolean;
|
|
195
|
+
margin: number;
|
|
196
|
+
form: {
|
|
197
|
+
gutter: number;
|
|
198
|
+
labelPosition: labelPositionI;
|
|
199
|
+
formItemwidth: number;
|
|
200
|
+
oneLineControl: 4 | 3 | 2 | 1;
|
|
201
|
+
};
|
|
202
|
+
buttons: {
|
|
203
|
+
groupType: false;
|
|
204
|
+
location: 'start' | 'center' | 'end';
|
|
205
|
+
verticalLocation: 'top' | 'bottom' | 'both';
|
|
206
|
+
buttonStyle: 'text' | 'button';
|
|
207
|
+
};
|
|
208
|
+
autoSaveLocal: boolean;
|
|
209
|
+
};
|
|
210
|
+
pageFormDialog: {
|
|
211
|
+
showTitle: boolean;
|
|
212
|
+
margin: number;
|
|
213
|
+
form: {
|
|
214
|
+
gutter: number;
|
|
215
|
+
formItemwidth: number;
|
|
216
|
+
labelPosition: labelPositionI;
|
|
217
|
+
oneLineControl: 1 | 2;
|
|
218
|
+
};
|
|
219
|
+
buttons: {
|
|
220
|
+
location: 'start' | 'center' | 'end';
|
|
221
|
+
verticalLocation: 'top' | 'bottom' | 'both';
|
|
222
|
+
buttonStyle: 'text' | 'button';
|
|
223
|
+
};
|
|
224
|
+
};
|
|
225
|
+
}
|
|
226
|
+
declare const useLocalSettingStore: _$pinia.StoreDefinition<"localSetting", LocalSettingState, {
|
|
227
|
+
getButtonStyle: (state: {
|
|
228
|
+
[x: string]: any;
|
|
229
|
+
[x: number]: any;
|
|
230
|
+
[x: symbol]: any;
|
|
231
|
+
system: {
|
|
232
|
+
dark: boolean;
|
|
233
|
+
locale: "cn" | "en" | "tw";
|
|
234
|
+
langLable: "text" | "icon";
|
|
235
|
+
emptyValues: string;
|
|
236
|
+
valueOnClear: string;
|
|
237
|
+
size: "default" | "large" | "small";
|
|
238
|
+
message: {
|
|
239
|
+
max: number;
|
|
240
|
+
grouping: boolean;
|
|
241
|
+
duration: number;
|
|
242
|
+
showClose: boolean;
|
|
243
|
+
offset: number;
|
|
244
|
+
plain: boolean;
|
|
245
|
+
};
|
|
246
|
+
button: {
|
|
247
|
+
type: "primary" | "success" | "warning" | "danger" | "info" | "default";
|
|
248
|
+
autoInsertSpace: boolean;
|
|
249
|
+
plain: boolean;
|
|
250
|
+
round: boolean;
|
|
251
|
+
};
|
|
252
|
+
checkBox: "default" | "button";
|
|
253
|
+
link: {
|
|
254
|
+
type: "primary" | "success" | "warning" | "danger" | "info" | "default";
|
|
255
|
+
underline: "always" | "hover" | "never" | boolean;
|
|
256
|
+
};
|
|
257
|
+
maxOpenPage: number;
|
|
258
|
+
};
|
|
259
|
+
layout: {
|
|
260
|
+
layout: layoutT;
|
|
261
|
+
fullScreen: boolean;
|
|
262
|
+
backTop: boolean;
|
|
263
|
+
};
|
|
264
|
+
smallComponents: {
|
|
265
|
+
dark: boolean;
|
|
266
|
+
lang: boolean;
|
|
267
|
+
fullScreen: boolean;
|
|
268
|
+
size: boolean;
|
|
269
|
+
tabs: boolean;
|
|
270
|
+
};
|
|
271
|
+
page: {
|
|
272
|
+
process: boolean;
|
|
273
|
+
transition: string;
|
|
274
|
+
waterType: "text" | "img";
|
|
275
|
+
dialogType: "leftToRight" | "rightToLeft" | "topToBottom" | "bottomToTop" | "center";
|
|
276
|
+
};
|
|
277
|
+
pageTable: {
|
|
278
|
+
showTitle: boolean;
|
|
279
|
+
margin: number;
|
|
280
|
+
search: {
|
|
281
|
+
oneLineControl: 4 | 3 | 2 | 1;
|
|
282
|
+
mergeStringControl: boolean;
|
|
283
|
+
stringControlLocation: "front" | "end";
|
|
284
|
+
labelPosition: "left" | "top";
|
|
285
|
+
buttonStyle: "button" | "text";
|
|
286
|
+
};
|
|
287
|
+
table: {
|
|
288
|
+
deleteConfirmStyle: "modal" | "bubble";
|
|
289
|
+
showHeader: boolean;
|
|
290
|
+
showHeadBgColor: boolean;
|
|
291
|
+
verticalLine: boolean;
|
|
292
|
+
horizontalLine: boolean;
|
|
293
|
+
stripe: boolean;
|
|
294
|
+
highlightCurrentRow: boolean;
|
|
295
|
+
height: "follow" | "fixed";
|
|
296
|
+
buttonStyle: "text" | "button";
|
|
297
|
+
showIndex: boolean;
|
|
298
|
+
fit: boolean;
|
|
299
|
+
fixed: false | "left" | "right";
|
|
300
|
+
showMenu: true | false;
|
|
301
|
+
maxButtons: number;
|
|
302
|
+
multiLangShowType: "all" | "hover";
|
|
303
|
+
};
|
|
304
|
+
buttons: {
|
|
305
|
+
groupType: false;
|
|
306
|
+
location: "top" | "bottom" | "both";
|
|
307
|
+
buttonStyle: "text" | "button";
|
|
308
|
+
};
|
|
309
|
+
pagination: {
|
|
310
|
+
location: "top" | "bottom" | "both";
|
|
311
|
+
footerFollow: "follow" | "bottom";
|
|
312
|
+
showBgColor: boolean;
|
|
313
|
+
};
|
|
314
|
+
};
|
|
315
|
+
pageForm: {
|
|
316
|
+
showTitle: boolean;
|
|
317
|
+
margin: number;
|
|
318
|
+
form: {
|
|
319
|
+
gutter: number;
|
|
320
|
+
labelPosition: labelPositionI;
|
|
321
|
+
formItemwidth: number;
|
|
322
|
+
oneLineControl: 4 | 3 | 2 | 1;
|
|
323
|
+
};
|
|
324
|
+
buttons: {
|
|
325
|
+
groupType: false;
|
|
326
|
+
location: "start" | "center" | "end";
|
|
327
|
+
verticalLocation: "top" | "bottom" | "both";
|
|
328
|
+
buttonStyle: "text" | "button";
|
|
329
|
+
};
|
|
330
|
+
autoSaveLocal: boolean;
|
|
331
|
+
};
|
|
332
|
+
pageFormDialog: {
|
|
333
|
+
showTitle: boolean;
|
|
334
|
+
margin: number;
|
|
335
|
+
form: {
|
|
336
|
+
gutter: number;
|
|
337
|
+
formItemwidth: number;
|
|
338
|
+
labelPosition: labelPositionI;
|
|
339
|
+
oneLineControl: 1 | 2;
|
|
340
|
+
};
|
|
341
|
+
buttons: {
|
|
342
|
+
location: "start" | "center" | "end";
|
|
343
|
+
verticalLocation: "top" | "bottom" | "both";
|
|
344
|
+
buttonStyle: "text" | "button";
|
|
345
|
+
};
|
|
346
|
+
};
|
|
347
|
+
} & _$pinia.PiniaCustomStateProperties<LocalSettingState>) => (area: any) => "text" | "button";
|
|
348
|
+
getPaginationLocation: (state: {
|
|
349
|
+
[x: string]: any;
|
|
350
|
+
[x: number]: any;
|
|
351
|
+
[x: symbol]: any;
|
|
352
|
+
system: {
|
|
353
|
+
dark: boolean;
|
|
354
|
+
locale: "cn" | "en" | "tw";
|
|
355
|
+
langLable: "text" | "icon";
|
|
356
|
+
emptyValues: string;
|
|
357
|
+
valueOnClear: string;
|
|
358
|
+
size: "default" | "large" | "small";
|
|
359
|
+
message: {
|
|
360
|
+
max: number;
|
|
361
|
+
grouping: boolean;
|
|
362
|
+
duration: number;
|
|
363
|
+
showClose: boolean;
|
|
364
|
+
offset: number;
|
|
365
|
+
plain: boolean;
|
|
366
|
+
};
|
|
367
|
+
button: {
|
|
368
|
+
type: "primary" | "success" | "warning" | "danger" | "info" | "default";
|
|
369
|
+
autoInsertSpace: boolean;
|
|
370
|
+
plain: boolean;
|
|
371
|
+
round: boolean;
|
|
372
|
+
};
|
|
373
|
+
checkBox: "default" | "button";
|
|
374
|
+
link: {
|
|
375
|
+
type: "primary" | "success" | "warning" | "danger" | "info" | "default";
|
|
376
|
+
underline: "always" | "hover" | "never" | boolean;
|
|
377
|
+
};
|
|
378
|
+
maxOpenPage: number;
|
|
379
|
+
};
|
|
380
|
+
layout: {
|
|
381
|
+
layout: layoutT;
|
|
382
|
+
fullScreen: boolean;
|
|
383
|
+
backTop: boolean;
|
|
384
|
+
};
|
|
385
|
+
smallComponents: {
|
|
386
|
+
dark: boolean;
|
|
387
|
+
lang: boolean;
|
|
388
|
+
fullScreen: boolean;
|
|
389
|
+
size: boolean;
|
|
390
|
+
tabs: boolean;
|
|
391
|
+
};
|
|
392
|
+
page: {
|
|
393
|
+
process: boolean;
|
|
394
|
+
transition: string;
|
|
395
|
+
waterType: "text" | "img";
|
|
396
|
+
dialogType: "leftToRight" | "rightToLeft" | "topToBottom" | "bottomToTop" | "center";
|
|
397
|
+
};
|
|
398
|
+
pageTable: {
|
|
399
|
+
showTitle: boolean;
|
|
400
|
+
margin: number;
|
|
401
|
+
search: {
|
|
402
|
+
oneLineControl: 4 | 3 | 2 | 1;
|
|
403
|
+
mergeStringControl: boolean;
|
|
404
|
+
stringControlLocation: "front" | "end";
|
|
405
|
+
labelPosition: "left" | "top";
|
|
406
|
+
buttonStyle: "button" | "text";
|
|
407
|
+
};
|
|
408
|
+
table: {
|
|
409
|
+
deleteConfirmStyle: "modal" | "bubble";
|
|
410
|
+
showHeader: boolean;
|
|
411
|
+
showHeadBgColor: boolean;
|
|
412
|
+
verticalLine: boolean;
|
|
413
|
+
horizontalLine: boolean;
|
|
414
|
+
stripe: boolean;
|
|
415
|
+
highlightCurrentRow: boolean;
|
|
416
|
+
height: "follow" | "fixed";
|
|
417
|
+
buttonStyle: "text" | "button";
|
|
418
|
+
showIndex: boolean;
|
|
419
|
+
fit: boolean;
|
|
420
|
+
fixed: false | "left" | "right";
|
|
421
|
+
showMenu: true | false;
|
|
422
|
+
maxButtons: number;
|
|
423
|
+
multiLangShowType: "all" | "hover";
|
|
424
|
+
};
|
|
425
|
+
buttons: {
|
|
426
|
+
groupType: false;
|
|
427
|
+
location: "top" | "bottom" | "both";
|
|
428
|
+
buttonStyle: "text" | "button";
|
|
429
|
+
};
|
|
430
|
+
pagination: {
|
|
431
|
+
location: "top" | "bottom" | "both";
|
|
432
|
+
footerFollow: "follow" | "bottom";
|
|
433
|
+
showBgColor: boolean;
|
|
434
|
+
};
|
|
435
|
+
};
|
|
436
|
+
pageForm: {
|
|
437
|
+
showTitle: boolean;
|
|
438
|
+
margin: number;
|
|
439
|
+
form: {
|
|
440
|
+
gutter: number;
|
|
441
|
+
labelPosition: labelPositionI;
|
|
442
|
+
formItemwidth: number;
|
|
443
|
+
oneLineControl: 4 | 3 | 2 | 1;
|
|
444
|
+
};
|
|
445
|
+
buttons: {
|
|
446
|
+
groupType: false;
|
|
447
|
+
location: "start" | "center" | "end";
|
|
448
|
+
verticalLocation: "top" | "bottom" | "both";
|
|
449
|
+
buttonStyle: "text" | "button";
|
|
450
|
+
};
|
|
451
|
+
autoSaveLocal: boolean;
|
|
452
|
+
};
|
|
453
|
+
pageFormDialog: {
|
|
454
|
+
showTitle: boolean;
|
|
455
|
+
margin: number;
|
|
456
|
+
form: {
|
|
457
|
+
gutter: number;
|
|
458
|
+
formItemwidth: number;
|
|
459
|
+
labelPosition: labelPositionI;
|
|
460
|
+
oneLineControl: 1 | 2;
|
|
461
|
+
};
|
|
462
|
+
buttons: {
|
|
463
|
+
location: "start" | "center" | "end";
|
|
464
|
+
verticalLocation: "top" | "bottom" | "both";
|
|
465
|
+
buttonStyle: "text" | "button";
|
|
466
|
+
};
|
|
467
|
+
};
|
|
468
|
+
} & _$pinia.PiniaCustomStateProperties<LocalSettingState>) => (location: string) => boolean;
|
|
469
|
+
elementPlusLocale: (state: {
|
|
470
|
+
[x: string]: any;
|
|
471
|
+
[x: number]: any;
|
|
472
|
+
[x: symbol]: any;
|
|
473
|
+
system: {
|
|
474
|
+
dark: boolean;
|
|
475
|
+
locale: "cn" | "en" | "tw";
|
|
476
|
+
langLable: "text" | "icon";
|
|
477
|
+
emptyValues: string;
|
|
478
|
+
valueOnClear: string;
|
|
479
|
+
size: "default" | "large" | "small";
|
|
480
|
+
message: {
|
|
481
|
+
max: number;
|
|
482
|
+
grouping: boolean;
|
|
483
|
+
duration: number;
|
|
484
|
+
showClose: boolean;
|
|
485
|
+
offset: number;
|
|
486
|
+
plain: boolean;
|
|
487
|
+
};
|
|
488
|
+
button: {
|
|
489
|
+
type: "primary" | "success" | "warning" | "danger" | "info" | "default";
|
|
490
|
+
autoInsertSpace: boolean;
|
|
491
|
+
plain: boolean;
|
|
492
|
+
round: boolean;
|
|
493
|
+
};
|
|
494
|
+
checkBox: "default" | "button";
|
|
495
|
+
link: {
|
|
496
|
+
type: "primary" | "success" | "warning" | "danger" | "info" | "default";
|
|
497
|
+
underline: "always" | "hover" | "never" | boolean;
|
|
498
|
+
};
|
|
499
|
+
maxOpenPage: number;
|
|
500
|
+
};
|
|
501
|
+
layout: {
|
|
502
|
+
layout: layoutT;
|
|
503
|
+
fullScreen: boolean;
|
|
504
|
+
backTop: boolean;
|
|
505
|
+
};
|
|
506
|
+
smallComponents: {
|
|
507
|
+
dark: boolean;
|
|
508
|
+
lang: boolean;
|
|
509
|
+
fullScreen: boolean;
|
|
510
|
+
size: boolean;
|
|
511
|
+
tabs: boolean;
|
|
512
|
+
};
|
|
513
|
+
page: {
|
|
514
|
+
process: boolean;
|
|
515
|
+
transition: string;
|
|
516
|
+
waterType: "text" | "img";
|
|
517
|
+
dialogType: "leftToRight" | "rightToLeft" | "topToBottom" | "bottomToTop" | "center";
|
|
518
|
+
};
|
|
519
|
+
pageTable: {
|
|
520
|
+
showTitle: boolean;
|
|
521
|
+
margin: number;
|
|
522
|
+
search: {
|
|
523
|
+
oneLineControl: 4 | 3 | 2 | 1;
|
|
524
|
+
mergeStringControl: boolean;
|
|
525
|
+
stringControlLocation: "front" | "end";
|
|
526
|
+
labelPosition: "left" | "top";
|
|
527
|
+
buttonStyle: "button" | "text";
|
|
528
|
+
};
|
|
529
|
+
table: {
|
|
530
|
+
deleteConfirmStyle: "modal" | "bubble";
|
|
531
|
+
showHeader: boolean;
|
|
532
|
+
showHeadBgColor: boolean;
|
|
533
|
+
verticalLine: boolean;
|
|
534
|
+
horizontalLine: boolean;
|
|
535
|
+
stripe: boolean;
|
|
536
|
+
highlightCurrentRow: boolean;
|
|
537
|
+
height: "follow" | "fixed";
|
|
538
|
+
buttonStyle: "text" | "button";
|
|
539
|
+
showIndex: boolean;
|
|
540
|
+
fit: boolean;
|
|
541
|
+
fixed: false | "left" | "right";
|
|
542
|
+
showMenu: true | false;
|
|
543
|
+
maxButtons: number;
|
|
544
|
+
multiLangShowType: "all" | "hover";
|
|
545
|
+
};
|
|
546
|
+
buttons: {
|
|
547
|
+
groupType: false;
|
|
548
|
+
location: "top" | "bottom" | "both";
|
|
549
|
+
buttonStyle: "text" | "button";
|
|
550
|
+
};
|
|
551
|
+
pagination: {
|
|
552
|
+
location: "top" | "bottom" | "both";
|
|
553
|
+
footerFollow: "follow" | "bottom";
|
|
554
|
+
showBgColor: boolean;
|
|
555
|
+
};
|
|
556
|
+
};
|
|
557
|
+
pageForm: {
|
|
558
|
+
showTitle: boolean;
|
|
559
|
+
margin: number;
|
|
560
|
+
form: {
|
|
561
|
+
gutter: number;
|
|
562
|
+
labelPosition: labelPositionI;
|
|
563
|
+
formItemwidth: number;
|
|
564
|
+
oneLineControl: 4 | 3 | 2 | 1;
|
|
565
|
+
};
|
|
566
|
+
buttons: {
|
|
567
|
+
groupType: false;
|
|
568
|
+
location: "start" | "center" | "end";
|
|
569
|
+
verticalLocation: "top" | "bottom" | "both";
|
|
570
|
+
buttonStyle: "text" | "button";
|
|
571
|
+
};
|
|
572
|
+
autoSaveLocal: boolean;
|
|
573
|
+
};
|
|
574
|
+
pageFormDialog: {
|
|
575
|
+
showTitle: boolean;
|
|
576
|
+
margin: number;
|
|
577
|
+
form: {
|
|
578
|
+
gutter: number;
|
|
579
|
+
formItemwidth: number;
|
|
580
|
+
labelPosition: labelPositionI;
|
|
581
|
+
oneLineControl: 1 | 2;
|
|
582
|
+
};
|
|
583
|
+
buttons: {
|
|
584
|
+
location: "start" | "center" | "end";
|
|
585
|
+
verticalLocation: "top" | "bottom" | "both";
|
|
586
|
+
buttonStyle: "text" | "button";
|
|
587
|
+
};
|
|
588
|
+
};
|
|
589
|
+
} & _$pinia.PiniaCustomStateProperties<LocalSettingState>) => () => {
|
|
590
|
+
name: string;
|
|
591
|
+
el: {
|
|
592
|
+
breadcrumb: {
|
|
593
|
+
label: string;
|
|
594
|
+
};
|
|
595
|
+
colorpicker: {
|
|
596
|
+
confirm: string;
|
|
597
|
+
clear: string;
|
|
598
|
+
defaultLabel: string;
|
|
599
|
+
description: string;
|
|
600
|
+
alphaLabel: string;
|
|
601
|
+
alphaDescription: string;
|
|
602
|
+
hueLabel: string;
|
|
603
|
+
hueDescription: string;
|
|
604
|
+
svLabel: string;
|
|
605
|
+
svDescription: string;
|
|
606
|
+
predefineDescription: string;
|
|
607
|
+
};
|
|
608
|
+
datepicker: {
|
|
609
|
+
now: string;
|
|
610
|
+
today: string;
|
|
611
|
+
cancel: string;
|
|
612
|
+
clear: string;
|
|
613
|
+
confirm: string;
|
|
614
|
+
dateTablePrompt: string;
|
|
615
|
+
monthTablePrompt: string;
|
|
616
|
+
yearTablePrompt: string;
|
|
617
|
+
selectedDate: string;
|
|
618
|
+
selectDate: string;
|
|
619
|
+
selectTime: string;
|
|
620
|
+
startDate: string;
|
|
621
|
+
startTime: string;
|
|
622
|
+
endDate: string;
|
|
623
|
+
endTime: string;
|
|
624
|
+
prevYear: string;
|
|
625
|
+
nextYear: string;
|
|
626
|
+
prevMonth: string;
|
|
627
|
+
nextMonth: string;
|
|
628
|
+
year: string;
|
|
629
|
+
month1: string;
|
|
630
|
+
month2: string;
|
|
631
|
+
month3: string;
|
|
632
|
+
month4: string;
|
|
633
|
+
month5: string;
|
|
634
|
+
month6: string;
|
|
635
|
+
month7: string;
|
|
636
|
+
month8: string;
|
|
637
|
+
month9: string;
|
|
638
|
+
month10: string;
|
|
639
|
+
month11: string;
|
|
640
|
+
month12: string;
|
|
641
|
+
weeks: {
|
|
642
|
+
sun: string;
|
|
643
|
+
mon: string;
|
|
644
|
+
tue: string;
|
|
645
|
+
wed: string;
|
|
646
|
+
thu: string;
|
|
647
|
+
fri: string;
|
|
648
|
+
sat: string;
|
|
649
|
+
};
|
|
650
|
+
weeksFull: {
|
|
651
|
+
sun: string;
|
|
652
|
+
mon: string;
|
|
653
|
+
tue: string;
|
|
654
|
+
wed: string;
|
|
655
|
+
thu: string;
|
|
656
|
+
fri: string;
|
|
657
|
+
sat: string;
|
|
658
|
+
};
|
|
659
|
+
months: {
|
|
660
|
+
jan: string;
|
|
661
|
+
feb: string;
|
|
662
|
+
mar: string;
|
|
663
|
+
apr: string;
|
|
664
|
+
may: string;
|
|
665
|
+
jun: string;
|
|
666
|
+
jul: string;
|
|
667
|
+
aug: string;
|
|
668
|
+
sep: string;
|
|
669
|
+
oct: string;
|
|
670
|
+
nov: string;
|
|
671
|
+
dec: string;
|
|
672
|
+
};
|
|
673
|
+
};
|
|
674
|
+
inputNumber: {
|
|
675
|
+
decrease: string;
|
|
676
|
+
increase: string;
|
|
677
|
+
};
|
|
678
|
+
select: {
|
|
679
|
+
loading: string;
|
|
680
|
+
noMatch: string;
|
|
681
|
+
noData: string;
|
|
682
|
+
placeholder: string;
|
|
683
|
+
};
|
|
684
|
+
mention: {
|
|
685
|
+
loading: string;
|
|
686
|
+
};
|
|
687
|
+
dropdown: {
|
|
688
|
+
toggleDropdown: string;
|
|
689
|
+
};
|
|
690
|
+
cascader: {
|
|
691
|
+
noMatch: string;
|
|
692
|
+
loading: string;
|
|
693
|
+
placeholder: string;
|
|
694
|
+
noData: string;
|
|
695
|
+
};
|
|
696
|
+
pagination: {
|
|
697
|
+
goto: string;
|
|
698
|
+
pagesize: string;
|
|
699
|
+
total: string;
|
|
700
|
+
pageClassifier: string;
|
|
701
|
+
page: string;
|
|
702
|
+
prev: string;
|
|
703
|
+
next: string;
|
|
704
|
+
currentPage: string;
|
|
705
|
+
prevPages: string;
|
|
706
|
+
nextPages: string;
|
|
707
|
+
deprecationWarning: string;
|
|
708
|
+
};
|
|
709
|
+
dialog: {
|
|
710
|
+
close: string;
|
|
711
|
+
};
|
|
712
|
+
drawer: {
|
|
713
|
+
close: string;
|
|
714
|
+
};
|
|
715
|
+
messagebox: {
|
|
716
|
+
title: string;
|
|
717
|
+
confirm: string;
|
|
718
|
+
cancel: string;
|
|
719
|
+
error: string;
|
|
720
|
+
close: string;
|
|
721
|
+
};
|
|
722
|
+
upload: {
|
|
723
|
+
deleteTip: string;
|
|
724
|
+
delete: string;
|
|
725
|
+
preview: string;
|
|
726
|
+
continue: string;
|
|
727
|
+
};
|
|
728
|
+
slider: {
|
|
729
|
+
defaultLabel: string;
|
|
730
|
+
defaultRangeStartLabel: string;
|
|
731
|
+
defaultRangeEndLabel: string;
|
|
732
|
+
};
|
|
733
|
+
table: {
|
|
734
|
+
emptyText: string;
|
|
735
|
+
confirmFilter: string;
|
|
736
|
+
resetFilter: string;
|
|
737
|
+
clearFilter: string;
|
|
738
|
+
sumText: string;
|
|
739
|
+
selectAllLabel: string;
|
|
740
|
+
selectRowLabel: string;
|
|
741
|
+
expandRowLabel: string;
|
|
742
|
+
collapseRowLabel: string;
|
|
743
|
+
sortLabel: string;
|
|
744
|
+
filterLabel: string;
|
|
745
|
+
};
|
|
746
|
+
tag: {
|
|
747
|
+
close: string;
|
|
748
|
+
};
|
|
749
|
+
tour: {
|
|
750
|
+
next: string;
|
|
751
|
+
previous: string;
|
|
752
|
+
finish: string;
|
|
753
|
+
close: string;
|
|
754
|
+
};
|
|
755
|
+
tree: {
|
|
756
|
+
emptyText: string;
|
|
757
|
+
};
|
|
758
|
+
transfer: {
|
|
759
|
+
noMatch: string;
|
|
760
|
+
noData: string;
|
|
761
|
+
titles: string[];
|
|
762
|
+
filterPlaceholder: string;
|
|
763
|
+
noCheckedFormat: string;
|
|
764
|
+
hasCheckedFormat: string;
|
|
765
|
+
};
|
|
766
|
+
image: {
|
|
767
|
+
error: string;
|
|
768
|
+
};
|
|
769
|
+
pageHeader: {
|
|
770
|
+
title: string;
|
|
771
|
+
};
|
|
772
|
+
popconfirm: {
|
|
773
|
+
confirmButtonText: string;
|
|
774
|
+
cancelButtonText: string;
|
|
775
|
+
};
|
|
776
|
+
carousel: {
|
|
777
|
+
leftArrow: string;
|
|
778
|
+
rightArrow: string;
|
|
779
|
+
indicator: string;
|
|
780
|
+
};
|
|
781
|
+
};
|
|
782
|
+
};
|
|
783
|
+
}, {
|
|
784
|
+
showTitle(pageModel: string): boolean;
|
|
785
|
+
setValue(key: string, value: any): void;
|
|
786
|
+
isDark(): _$_vueuse_core0.UseDarkReturn;
|
|
787
|
+
reset(): void;
|
|
788
|
+
getFromRemote(url: string): Promise<boolean>;
|
|
789
|
+
saveToRemote(url: string): void;
|
|
790
|
+
toggleCollapse(): void;
|
|
791
|
+
}>;
|
|
792
|
+
//#endregion
|
|
793
|
+
//#region src/packages/stores/error.d.ts
|
|
794
|
+
interface errorStateI {
|
|
795
|
+
err: unknown;
|
|
796
|
+
instance: ComponentPublicInstance | null;
|
|
797
|
+
info: string;
|
|
798
|
+
}
|
|
799
|
+
declare const useErrorStore: _$pinia.StoreDefinition<"error", errorStateI, {}, {}>;
|
|
800
|
+
//#endregion
|
|
801
|
+
//#region src/packages/stores/index.d.ts
|
|
802
|
+
declare const store: _$pinia.Pinia;
|
|
803
|
+
//#endregion
|
|
804
|
+
export { appConfigI as a, layoutI as c, mapI as d, mapTypeT as f, useLocalSettingStore as i, layoutT as l, useColumnsSettingStore as m, useErrorStore as n, chalkT as o, useAppConfigStore as p, LocalSettingState as r, expiresI as s, store as t, loginT as u };
|