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