@vue-start/pro 0.5.43 → 0.5.45
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/CHANGELOG.md +11 -0
- package/dist/index.css +65 -5
- package/dist/index.d.ts +303 -20
- package/dist/index.es.js +2121 -2067
- package/dist/index.js +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# 0.5.45
|
|
7
|
+
|
|
8
|
+
- feat: ProWatermark 水印组件,ProLayout 中通过 watermark 属性配置;
|
|
9
|
+
- fix: ProShowTree 展示兼容多选的情况;
|
|
10
|
+
- fix: meta 模式 bug 修复,支持 useMeta 直接使用;
|
|
11
|
+
|
|
12
|
+
# 0.5.44
|
|
13
|
+
|
|
14
|
+
- feat:Page 新增 sub 属性, 返回按钮展示状态添加 sub 判断
|
|
15
|
+
- feat:useProRouter 中 router 的 back 方法在 tabs 模式下,会关闭当前 tab 并且返回
|
|
16
|
+
|
|
6
17
|
# 0.5.42
|
|
7
18
|
|
|
8
19
|
- fix:Layout tabs 子页面 query 判断 bug
|
package/dist/index.css
CHANGED
|
@@ -243,7 +243,7 @@
|
|
|
243
243
|
.pro-layout-tabs-menus {
|
|
244
244
|
position: fixed;
|
|
245
245
|
background-color: pink;
|
|
246
|
-
transform: translate(-50%,0);
|
|
246
|
+
transform: translate(-50%, 0);
|
|
247
247
|
}
|
|
248
248
|
|
|
249
249
|
/********************************** pro-typography ***********************************/
|
|
@@ -323,15 +323,23 @@
|
|
|
323
323
|
flex-grow: 1;
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
+
.pro-table-toolbar-column .pro-table-toolbar-column-header {
|
|
327
|
+
display: flex;
|
|
328
|
+
align-items: center;
|
|
329
|
+
justify-content: space-between;
|
|
330
|
+
}
|
|
331
|
+
|
|
326
332
|
/* element-plus */
|
|
327
333
|
.pro-table .pro-table-toolbar .pro-table-toolbar-start .el-form-item {
|
|
328
334
|
margin-bottom: 0px;
|
|
329
335
|
}
|
|
330
336
|
|
|
331
|
-
.pro-table-
|
|
332
|
-
display:
|
|
333
|
-
|
|
334
|
-
|
|
337
|
+
.pro-table .el-table__header .pro-single .el-checkbox {
|
|
338
|
+
display: none;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.pro-table .pro-single .el-checkbox__inner {
|
|
342
|
+
border-radius: 50%;
|
|
335
343
|
}
|
|
336
344
|
|
|
337
345
|
/********************************** pro-page ***********************************/
|
|
@@ -438,3 +446,55 @@
|
|
|
438
446
|
text-align: center;
|
|
439
447
|
cursor: default;
|
|
440
448
|
}
|
|
449
|
+
|
|
450
|
+
/********************************** pro-watermark ***********************************/
|
|
451
|
+
.pro-watermark {
|
|
452
|
+
pointer-events: none;
|
|
453
|
+
top: 0px;
|
|
454
|
+
left: 0px;
|
|
455
|
+
position: fixed;
|
|
456
|
+
z-index: 10000000;
|
|
457
|
+
width: 100vw;
|
|
458
|
+
height: 100vh;
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
/********************************** pro-modal ***********************************/
|
|
462
|
+
.pro-modal {
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
.pro-modal .el-dialog__header {
|
|
466
|
+
padding: 16px;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
.pro-modal .el-dialog__body {
|
|
470
|
+
padding: 0px;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
.pro-modal .pro-modal-scroll {
|
|
474
|
+
padding: 0 16px;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
.pro-modal .el-dialog__footer {
|
|
478
|
+
padding: 16px;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
/********************************** pro-drawer ***********************************/
|
|
482
|
+
.pro-drawer {
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
.pro-drawer .el-drawer__header {
|
|
486
|
+
margin-bottom: 0px;
|
|
487
|
+
padding: 16px;
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
.pro-drawer .el-drawer__body {
|
|
491
|
+
padding: 0px;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
.pro-drawer .pro-drawer-scroll {
|
|
495
|
+
padding: 0 16px;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
.pro-drawer .el-drawer__footer {
|
|
499
|
+
padding: 16px;
|
|
500
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import * as vue from 'vue';
|
|
3
3
|
import { VNode, ExtractPropTypes, PropType, DefineComponent, App, UnwrapNestedRefs as UnwrapNestedRefs$1, Ref as Ref$1 } from 'vue';
|
|
4
4
|
import * as _vue_reactivity from '@vue/reactivity';
|
|
5
|
-
import { UnwrapNestedRefs, Ref, ComputedRef } from '@vue/reactivity';
|
|
5
|
+
import { UnwrapNestedRefs, Ref, UnwrapRef, ComputedRef } from '@vue/reactivity';
|
|
6
6
|
import { Subject } from 'rxjs';
|
|
7
7
|
import { IRequestActor } from '@vue-start/request';
|
|
8
8
|
import * as _vue_start_store from '@vue-start/store';
|
|
@@ -503,15 +503,17 @@ declare const useComposeRequestActor: (actors: (IRequestActor | string)[], optio
|
|
|
503
503
|
declare const convertResData: (actor: IRequestActor, convertData?: ((res: IRequestActor["res"], actor: IRequestActor) => any) | undefined, convertPath?: (string | number)[]) => any;
|
|
504
504
|
declare type TMeta = {
|
|
505
505
|
actorName: string;
|
|
506
|
-
storeName?: string;
|
|
506
|
+
storeName?: string | ((params?: Record<string, any>) => string);
|
|
507
507
|
initParams?: Record<string, any>;
|
|
508
508
|
convertPath?: (string | number)[];
|
|
509
509
|
convertData?: (data: any, actor: IRequestActor) => any;
|
|
510
510
|
};
|
|
511
511
|
/**
|
|
512
|
-
*
|
|
512
|
+
* 读取meta状态
|
|
513
|
+
* @param actorName
|
|
514
|
+
* @param params
|
|
513
515
|
*/
|
|
514
|
-
declare const
|
|
516
|
+
declare const useMeta: <T>(actorName: string, params?: Record<string, any>) => Ref<T | undefined>;
|
|
515
517
|
declare const useMetaRegister: (registerMetaMap: IProConfigProvide["registerMetaMap"], registerActorMap: IProConfigProvide["registerActorMap"]) => void;
|
|
516
518
|
|
|
517
519
|
declare type TOpenMenu = (menu: any) => void;
|
|
@@ -1615,6 +1617,9 @@ declare const proPageProps: () => {
|
|
|
1615
1617
|
layoutTabsBackMode: {
|
|
1616
1618
|
type: BooleanConstructor;
|
|
1617
1619
|
};
|
|
1620
|
+
sub: {
|
|
1621
|
+
type: BooleanConstructor;
|
|
1622
|
+
};
|
|
1618
1623
|
};
|
|
1619
1624
|
declare type ProPageProps = Partial<ExtractPropTypes<ReturnType<typeof proPageProps>>> & PageHeaderProps;
|
|
1620
1625
|
declare const ProPage: vue.DefineComponent<ProPageProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<ProPageProps>, {}>;
|
|
@@ -2058,11 +2063,18 @@ declare const ProShowTree: vue.DefineComponent<{
|
|
|
2058
2063
|
type: StringConstructor;
|
|
2059
2064
|
default: string;
|
|
2060
2065
|
};
|
|
2066
|
+
splitStr2: {
|
|
2067
|
+
type: StringConstructor;
|
|
2068
|
+
default: string;
|
|
2069
|
+
};
|
|
2061
2070
|
treeData: PropType<Record<string, any>>;
|
|
2062
2071
|
data: PropType<Record<string, any>>;
|
|
2063
2072
|
options: PropType<Record<string, any>>;
|
|
2064
2073
|
fieldNames: ObjectConstructor;
|
|
2065
2074
|
props: ObjectConstructor;
|
|
2075
|
+
multiple: {
|
|
2076
|
+
type: BooleanConstructor;
|
|
2077
|
+
};
|
|
2066
2078
|
showProps: {
|
|
2067
2079
|
type: PropType<Partial<vue.ExtractPropTypes<{
|
|
2068
2080
|
content: {
|
|
@@ -2095,11 +2107,18 @@ declare const ProShowTree: vue.DefineComponent<{
|
|
|
2095
2107
|
type: StringConstructor;
|
|
2096
2108
|
default: string;
|
|
2097
2109
|
};
|
|
2110
|
+
splitStr2: {
|
|
2111
|
+
type: StringConstructor;
|
|
2112
|
+
default: string;
|
|
2113
|
+
};
|
|
2098
2114
|
treeData: PropType<Record<string, any>>;
|
|
2099
2115
|
data: PropType<Record<string, any>>;
|
|
2100
2116
|
options: PropType<Record<string, any>>;
|
|
2101
2117
|
fieldNames: ObjectConstructor;
|
|
2102
2118
|
props: ObjectConstructor;
|
|
2119
|
+
multiple: {
|
|
2120
|
+
type: BooleanConstructor;
|
|
2121
|
+
};
|
|
2103
2122
|
showProps: {
|
|
2104
2123
|
type: PropType<Partial<vue.ExtractPropTypes<{
|
|
2105
2124
|
content: {
|
|
@@ -2127,6 +2146,8 @@ declare const ProShowTree: vue.DefineComponent<{
|
|
|
2127
2146
|
}>>, {
|
|
2128
2147
|
render: Function;
|
|
2129
2148
|
splitStr: string;
|
|
2149
|
+
splitStr2: string;
|
|
2150
|
+
multiple: boolean;
|
|
2130
2151
|
}>;
|
|
2131
2152
|
declare const ProShowDate: vue.DefineComponent<{
|
|
2132
2153
|
value: {
|
|
@@ -2215,7 +2236,47 @@ declare const ProShowDate: vue.DefineComponent<{
|
|
|
2215
2236
|
isUnix: boolean;
|
|
2216
2237
|
}>;
|
|
2217
2238
|
|
|
2218
|
-
declare const
|
|
2239
|
+
declare const ProLayoutKey: unique symbol;
|
|
2240
|
+
declare type TLayoutMenu = {
|
|
2241
|
+
value: string;
|
|
2242
|
+
label: string;
|
|
2243
|
+
hide: boolean;
|
|
2244
|
+
[k: string]: any;
|
|
2245
|
+
};
|
|
2246
|
+
declare type TLayoutTabMenu = TLayoutMenu & {
|
|
2247
|
+
query?: Record<string, any>;
|
|
2248
|
+
};
|
|
2249
|
+
declare type TLayoutType = "vertical" | "horizontal" | "horizontal-v" | "compose";
|
|
2250
|
+
interface IProLayoutProvide {
|
|
2251
|
+
convertName: (route: RouteLocationNormalizedLoaded) => string;
|
|
2252
|
+
convertValue: (menu: TLayoutTabMenu) => string;
|
|
2253
|
+
menus: Ref<TLayoutMenu[]>;
|
|
2254
|
+
menuMap: Ref<Record<string, TLayoutMenu>>;
|
|
2255
|
+
tabs: Ref<TLayoutTabMenu[]>;
|
|
2256
|
+
showTabs: Ref<boolean>;
|
|
2257
|
+
closeTab: (value: string) => void;
|
|
2258
|
+
refreshRef: Ref<UnwrapRef<boolean>>;
|
|
2259
|
+
refresh: (item?: TLayoutMenu) => void;
|
|
2260
|
+
}
|
|
2261
|
+
declare const useProLayout: () => IProLayoutProvide;
|
|
2262
|
+
|
|
2263
|
+
declare const routerViewProps: () => {
|
|
2264
|
+
includes: {
|
|
2265
|
+
type: PropType<string[]>;
|
|
2266
|
+
};
|
|
2267
|
+
};
|
|
2268
|
+
declare type ProRouterViewProps = Partial<ExtractPropTypes<ReturnType<typeof routerViewProps>>>;
|
|
2269
|
+
declare const ProRouterView: vue.DefineComponent<Partial<ExtractPropTypes<{
|
|
2270
|
+
includes: {
|
|
2271
|
+
type: PropType<string[]>;
|
|
2272
|
+
};
|
|
2273
|
+
}>>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<Partial<ExtractPropTypes<{
|
|
2274
|
+
includes: {
|
|
2275
|
+
type: PropType<string[]>;
|
|
2276
|
+
};
|
|
2277
|
+
}>>>, {}>;
|
|
2278
|
+
|
|
2279
|
+
declare const layoutProps: () => {
|
|
2219
2280
|
/**
|
|
2220
2281
|
* class名称
|
|
2221
2282
|
*/
|
|
@@ -2229,7 +2290,7 @@ declare const ProLayout: vue.DefineComponent<{
|
|
|
2229
2290
|
* compose: 菜单第一级在header中,子级在左侧菜单
|
|
2230
2291
|
*/
|
|
2231
2292
|
layout: {
|
|
2232
|
-
type: PropType<
|
|
2293
|
+
type: PropType<TLayoutType>;
|
|
2233
2294
|
default: string;
|
|
2234
2295
|
};
|
|
2235
2296
|
findCurrentTopName: {
|
|
@@ -2238,20 +2299,72 @@ declare const ProLayout: vue.DefineComponent<{
|
|
|
2238
2299
|
findActiveKey: {
|
|
2239
2300
|
type: FunctionConstructor;
|
|
2240
2301
|
};
|
|
2302
|
+
convertName: {
|
|
2303
|
+
type: FunctionConstructor;
|
|
2304
|
+
};
|
|
2305
|
+
convertValue: {
|
|
2306
|
+
type: FunctionConstructor;
|
|
2307
|
+
};
|
|
2308
|
+
tabs: {
|
|
2309
|
+
type: PropType<Partial<ExtractPropTypes<{
|
|
2310
|
+
isHideClose: {
|
|
2311
|
+
type: PropType<(item: TLayoutMenu) => boolean>;
|
|
2312
|
+
};
|
|
2313
|
+
covertMenuItem: {
|
|
2314
|
+
type: FunctionConstructor;
|
|
2315
|
+
};
|
|
2316
|
+
itemLabel: {
|
|
2317
|
+
type: FunctionConstructor;
|
|
2318
|
+
};
|
|
2319
|
+
onDragRegister: {
|
|
2320
|
+
type: PropType<(params: {
|
|
2321
|
+
dom: HTMLDivElement;
|
|
2322
|
+
dataIdAttr: string;
|
|
2323
|
+
onDragEnd: (tabIds: string[]) => void;
|
|
2324
|
+
}) => void>;
|
|
2325
|
+
};
|
|
2326
|
+
}>> & {
|
|
2327
|
+
sessionKey?: string | undefined;
|
|
2328
|
+
clearWhileUnmount?: boolean | undefined;
|
|
2329
|
+
}>;
|
|
2330
|
+
default: undefined;
|
|
2331
|
+
};
|
|
2332
|
+
collapse: {
|
|
2333
|
+
type: BooleanConstructor;
|
|
2334
|
+
};
|
|
2335
|
+
routeOpts: {
|
|
2336
|
+
type: PropType<Partial<ExtractPropTypes<{
|
|
2337
|
+
includes: {
|
|
2338
|
+
type: PropType<string[]>;
|
|
2339
|
+
};
|
|
2340
|
+
}>>>;
|
|
2341
|
+
default: undefined;
|
|
2342
|
+
};
|
|
2343
|
+
watermark: {
|
|
2344
|
+
type: PropType<Partial<ExtractPropTypes<{
|
|
2345
|
+
str: {
|
|
2346
|
+
type: StringConstructor;
|
|
2347
|
+
default: string;
|
|
2348
|
+
};
|
|
2349
|
+
}>>>;
|
|
2350
|
+
default: undefined;
|
|
2351
|
+
};
|
|
2241
2352
|
/**************************** menu相关 *******************************/
|
|
2242
2353
|
menus: {
|
|
2243
|
-
type: PropType<
|
|
2354
|
+
type: PropType<TLayoutMenu[]>;
|
|
2244
2355
|
};
|
|
2245
2356
|
fieldNames: {
|
|
2246
2357
|
type: PropType<{
|
|
2247
2358
|
children: string;
|
|
2248
2359
|
value: string;
|
|
2249
2360
|
label: string;
|
|
2361
|
+
hide?: string | undefined;
|
|
2250
2362
|
}>;
|
|
2251
2363
|
default: {
|
|
2252
2364
|
children: string;
|
|
2253
2365
|
value: string;
|
|
2254
2366
|
label: string;
|
|
2367
|
+
hide: string;
|
|
2255
2368
|
};
|
|
2256
2369
|
};
|
|
2257
2370
|
convertSubMenuProps: {
|
|
@@ -2266,7 +2379,9 @@ declare const ProLayout: vue.DefineComponent<{
|
|
|
2266
2379
|
menuProps: {
|
|
2267
2380
|
type: ObjectConstructor;
|
|
2268
2381
|
};
|
|
2269
|
-
}
|
|
2382
|
+
};
|
|
2383
|
+
declare type ProLayoutProps = Partial<ExtractPropTypes<ReturnType<typeof layoutProps>>>;
|
|
2384
|
+
declare const ProLayout: vue.DefineComponent<Partial<ExtractPropTypes<{
|
|
2270
2385
|
/**
|
|
2271
2386
|
* class名称
|
|
2272
2387
|
*/
|
|
@@ -2280,7 +2395,7 @@ declare const ProLayout: vue.DefineComponent<{
|
|
|
2280
2395
|
* compose: 菜单第一级在header中,子级在左侧菜单
|
|
2281
2396
|
*/
|
|
2282
2397
|
layout: {
|
|
2283
|
-
type: PropType<
|
|
2398
|
+
type: PropType<TLayoutType>;
|
|
2284
2399
|
default: string;
|
|
2285
2400
|
};
|
|
2286
2401
|
findCurrentTopName: {
|
|
@@ -2289,20 +2404,72 @@ declare const ProLayout: vue.DefineComponent<{
|
|
|
2289
2404
|
findActiveKey: {
|
|
2290
2405
|
type: FunctionConstructor;
|
|
2291
2406
|
};
|
|
2407
|
+
convertName: {
|
|
2408
|
+
type: FunctionConstructor;
|
|
2409
|
+
};
|
|
2410
|
+
convertValue: {
|
|
2411
|
+
type: FunctionConstructor;
|
|
2412
|
+
};
|
|
2413
|
+
tabs: {
|
|
2414
|
+
type: PropType<Partial<ExtractPropTypes<{
|
|
2415
|
+
isHideClose: {
|
|
2416
|
+
type: PropType<(item: TLayoutMenu) => boolean>;
|
|
2417
|
+
};
|
|
2418
|
+
covertMenuItem: {
|
|
2419
|
+
type: FunctionConstructor;
|
|
2420
|
+
};
|
|
2421
|
+
itemLabel: {
|
|
2422
|
+
type: FunctionConstructor;
|
|
2423
|
+
};
|
|
2424
|
+
onDragRegister: {
|
|
2425
|
+
type: PropType<(params: {
|
|
2426
|
+
dom: HTMLDivElement;
|
|
2427
|
+
dataIdAttr: string;
|
|
2428
|
+
onDragEnd: (tabIds: string[]) => void;
|
|
2429
|
+
}) => void>;
|
|
2430
|
+
};
|
|
2431
|
+
}>> & {
|
|
2432
|
+
sessionKey?: string | undefined;
|
|
2433
|
+
clearWhileUnmount?: boolean | undefined;
|
|
2434
|
+
}>;
|
|
2435
|
+
default: undefined;
|
|
2436
|
+
};
|
|
2437
|
+
collapse: {
|
|
2438
|
+
type: BooleanConstructor;
|
|
2439
|
+
};
|
|
2440
|
+
routeOpts: {
|
|
2441
|
+
type: PropType<Partial<ExtractPropTypes<{
|
|
2442
|
+
includes: {
|
|
2443
|
+
type: PropType<string[]>;
|
|
2444
|
+
};
|
|
2445
|
+
}>>>;
|
|
2446
|
+
default: undefined;
|
|
2447
|
+
};
|
|
2448
|
+
watermark: {
|
|
2449
|
+
type: PropType<Partial<ExtractPropTypes<{
|
|
2450
|
+
str: {
|
|
2451
|
+
type: StringConstructor;
|
|
2452
|
+
default: string;
|
|
2453
|
+
};
|
|
2454
|
+
}>>>;
|
|
2455
|
+
default: undefined;
|
|
2456
|
+
};
|
|
2292
2457
|
/**************************** menu相关 *******************************/
|
|
2293
2458
|
menus: {
|
|
2294
|
-
type: PropType<
|
|
2459
|
+
type: PropType<TLayoutMenu[]>;
|
|
2295
2460
|
};
|
|
2296
2461
|
fieldNames: {
|
|
2297
2462
|
type: PropType<{
|
|
2298
2463
|
children: string;
|
|
2299
2464
|
value: string;
|
|
2300
2465
|
label: string;
|
|
2466
|
+
hide?: string | undefined;
|
|
2301
2467
|
}>;
|
|
2302
2468
|
default: {
|
|
2303
2469
|
children: string;
|
|
2304
2470
|
value: string;
|
|
2305
2471
|
label: string;
|
|
2472
|
+
hide: string;
|
|
2306
2473
|
};
|
|
2307
2474
|
};
|
|
2308
2475
|
convertSubMenuProps: {
|
|
@@ -2317,15 +2484,110 @@ declare const ProLayout: vue.DefineComponent<{
|
|
|
2317
2484
|
menuProps: {
|
|
2318
2485
|
type: ObjectConstructor;
|
|
2319
2486
|
};
|
|
2320
|
-
}>>, {
|
|
2321
|
-
|
|
2487
|
+
}>>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<Partial<ExtractPropTypes<{
|
|
2488
|
+
/**
|
|
2489
|
+
* class名称
|
|
2490
|
+
*/
|
|
2491
|
+
clsName: {
|
|
2492
|
+
type: StringConstructor;
|
|
2493
|
+
default: string;
|
|
2494
|
+
};
|
|
2495
|
+
/**
|
|
2496
|
+
* vertical: 上下
|
|
2497
|
+
* horizontal: 左右
|
|
2498
|
+
* compose: 菜单第一级在header中,子级在左侧菜单
|
|
2499
|
+
*/
|
|
2500
|
+
layout: {
|
|
2501
|
+
type: PropType<TLayoutType>;
|
|
2502
|
+
default: string;
|
|
2503
|
+
};
|
|
2504
|
+
findCurrentTopName: {
|
|
2505
|
+
type: FunctionConstructor;
|
|
2506
|
+
};
|
|
2507
|
+
findActiveKey: {
|
|
2508
|
+
type: FunctionConstructor;
|
|
2509
|
+
};
|
|
2510
|
+
convertName: {
|
|
2511
|
+
type: FunctionConstructor;
|
|
2512
|
+
};
|
|
2513
|
+
convertValue: {
|
|
2514
|
+
type: FunctionConstructor;
|
|
2515
|
+
};
|
|
2516
|
+
tabs: {
|
|
2517
|
+
type: PropType<Partial<ExtractPropTypes<{
|
|
2518
|
+
isHideClose: {
|
|
2519
|
+
type: PropType<(item: TLayoutMenu) => boolean>;
|
|
2520
|
+
};
|
|
2521
|
+
covertMenuItem: {
|
|
2522
|
+
type: FunctionConstructor;
|
|
2523
|
+
};
|
|
2524
|
+
itemLabel: {
|
|
2525
|
+
type: FunctionConstructor;
|
|
2526
|
+
};
|
|
2527
|
+
onDragRegister: {
|
|
2528
|
+
type: PropType<(params: {
|
|
2529
|
+
dom: HTMLDivElement;
|
|
2530
|
+
dataIdAttr: string;
|
|
2531
|
+
onDragEnd: (tabIds: string[]) => void;
|
|
2532
|
+
}) => void>;
|
|
2533
|
+
};
|
|
2534
|
+
}>> & {
|
|
2535
|
+
sessionKey?: string | undefined;
|
|
2536
|
+
clearWhileUnmount?: boolean | undefined;
|
|
2537
|
+
}>;
|
|
2538
|
+
default: undefined;
|
|
2539
|
+
};
|
|
2540
|
+
collapse: {
|
|
2541
|
+
type: BooleanConstructor;
|
|
2542
|
+
};
|
|
2543
|
+
routeOpts: {
|
|
2544
|
+
type: PropType<Partial<ExtractPropTypes<{
|
|
2545
|
+
includes: {
|
|
2546
|
+
type: PropType<string[]>;
|
|
2547
|
+
};
|
|
2548
|
+
}>>>;
|
|
2549
|
+
default: undefined;
|
|
2550
|
+
};
|
|
2551
|
+
watermark: {
|
|
2552
|
+
type: PropType<Partial<ExtractPropTypes<{
|
|
2553
|
+
str: {
|
|
2554
|
+
type: StringConstructor;
|
|
2555
|
+
default: string;
|
|
2556
|
+
};
|
|
2557
|
+
}>>>;
|
|
2558
|
+
default: undefined;
|
|
2559
|
+
};
|
|
2560
|
+
/**************************** menu相关 *******************************/
|
|
2561
|
+
menus: {
|
|
2562
|
+
type: PropType<TLayoutMenu[]>;
|
|
2563
|
+
};
|
|
2322
2564
|
fieldNames: {
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2565
|
+
type: PropType<{
|
|
2566
|
+
children: string;
|
|
2567
|
+
value: string;
|
|
2568
|
+
label: string;
|
|
2569
|
+
hide?: string | undefined;
|
|
2570
|
+
}>;
|
|
2571
|
+
default: {
|
|
2572
|
+
children: string;
|
|
2573
|
+
value: string;
|
|
2574
|
+
label: string;
|
|
2575
|
+
hide: string;
|
|
2576
|
+
};
|
|
2326
2577
|
};
|
|
2327
|
-
|
|
2328
|
-
|
|
2578
|
+
convertSubMenuProps: {
|
|
2579
|
+
type: FunctionConstructor;
|
|
2580
|
+
};
|
|
2581
|
+
convertMenuItemProps: {
|
|
2582
|
+
type: FunctionConstructor;
|
|
2583
|
+
};
|
|
2584
|
+
onMenuItemClick: {
|
|
2585
|
+
type: FunctionConstructor;
|
|
2586
|
+
};
|
|
2587
|
+
menuProps: {
|
|
2588
|
+
type: ObjectConstructor;
|
|
2589
|
+
};
|
|
2590
|
+
}>>>, {}>;
|
|
2329
2591
|
|
|
2330
2592
|
declare type TFile = {
|
|
2331
2593
|
id: string;
|
|
@@ -2387,6 +2649,25 @@ declare const ProTip: vue.DefineComponent<Partial<ExtractPropTypes<{
|
|
|
2387
2649
|
};
|
|
2388
2650
|
}>>>, {}>;
|
|
2389
2651
|
|
|
2652
|
+
declare const watermarkProps: () => {
|
|
2653
|
+
str: {
|
|
2654
|
+
type: StringConstructor;
|
|
2655
|
+
default: string;
|
|
2656
|
+
};
|
|
2657
|
+
};
|
|
2658
|
+
declare type ProWatermarkProps = Partial<ExtractPropTypes<ReturnType<typeof watermarkProps>>>;
|
|
2659
|
+
declare const ProWatermark: vue.DefineComponent<Partial<ExtractPropTypes<{
|
|
2660
|
+
str: {
|
|
2661
|
+
type: StringConstructor;
|
|
2662
|
+
default: string;
|
|
2663
|
+
};
|
|
2664
|
+
}>>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<Partial<ExtractPropTypes<{
|
|
2665
|
+
str: {
|
|
2666
|
+
type: StringConstructor;
|
|
2667
|
+
default: string;
|
|
2668
|
+
};
|
|
2669
|
+
}>>>, {}>;
|
|
2670
|
+
|
|
2390
2671
|
/******************************** 组件key ********************************/
|
|
2391
2672
|
declare const ElementKeys: {
|
|
2392
2673
|
TypographyKey: string;
|
|
@@ -2402,6 +2683,7 @@ declare const ElementKeys: {
|
|
|
2402
2683
|
CheckboxKey: string;
|
|
2403
2684
|
MenusKey: string;
|
|
2404
2685
|
ModalKey: string;
|
|
2686
|
+
DrawerKey: string;
|
|
2405
2687
|
ScrollKey: string;
|
|
2406
2688
|
PageKey: string;
|
|
2407
2689
|
FormKey: string;
|
|
@@ -2417,6 +2699,7 @@ declare const ElementKeys: {
|
|
|
2417
2699
|
ProCurdKey: string;
|
|
2418
2700
|
ProListKey: string;
|
|
2419
2701
|
ProPageKey: string;
|
|
2702
|
+
ProOperateKey: string;
|
|
2420
2703
|
};
|
|
2421
2704
|
/**
|
|
2422
2705
|
* 根据elementKey获取组件
|
|
@@ -2797,9 +3080,9 @@ declare const ProTheme: vue.DefineComponent<{
|
|
|
2797
3080
|
createCssVar: {
|
|
2798
3081
|
type: PropType<(t: ITheme) => Record<string, string | number>>;
|
|
2799
3082
|
};
|
|
2800
|
-
}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
3083
|
+
}, () => JSX.Element | vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
2801
3084
|
[key: string]: any;
|
|
2802
|
-
}>[] |
|
|
3085
|
+
}>[] | undefined, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
2803
3086
|
theme: {
|
|
2804
3087
|
type: ObjectConstructor;
|
|
2805
3088
|
};
|
|
@@ -2826,4 +3109,4 @@ declare const ProTheme: vue.DefineComponent<{
|
|
|
2826
3109
|
global: boolean;
|
|
2827
3110
|
}>;
|
|
2828
3111
|
|
|
2829
|
-
export { AddButton, BooleanObjType, BooleanRulesObjType, ColumnSetting, CurdAction, CurdAddAction, CurdCurrentMode, CurdMethods, CurdSubAction, ElementKeys, FieldNames, FormAction, FormItemProps, FormRulePrefixMap, IAccess, ICurdAction, ICurdAddAction, ICurdCurrentMode, ICurdOperateOpts, ICurdState, ICurdSubAction, IElementConfig, IHighConfig, IListData, IOpeItem, IOperateItem, IPer, IProConfigProvide, IProCurdProvide, IProFormProvideExtra, IProModuleProvide, IProTableProvide, IProTableProvideExtra, IRequestOpts, ISearchMode, ITableOperate, ITheme, IThemeToken, IUser, InternalNamePath, LogonUser, LogonUserKey, ModalCurdOpe, MustLogon, NamePath, PageHeader, PageHeaderProps, PaginationSlotProps, PerSuffix, Permission, PermissionProps, ProBaseProps, ProColumnSettingProps, ProConfig, ProConfigProps, ProCurd, ProCurdDesc, ProCurdDescConnect, ProCurdDescProps, ProCurdForm, ProCurdFormConnect, ProCurdFormProps, ProCurdList, ProCurdListConnect, ProCurdListProps, ProCurdModal, ProCurdModalForm, ProCurdModalFormConnect, ProCurdModalProps, ProCurdProps, ProDesc, ProDescProps, ProDispatchRequestType, ProForm, ProFormItemProps, ProFormList, ProFormListProps, ProFormProps, ProGrid, ProGridProps, ProLayout, ProList, ProListProps, ProModalCurd, ProModalCurdProps, ProModule, ProModuleProps, ProOperate, ProOperateProps, ProPage, ProPageCurd, ProPageCurdProps, ProPageProps, ProSearchForm, ProSearchFormProps, ProShowDate, ProShowDigit, ProShowOptions, ProShowText, ProShowTree, ProTable, ProTableProps, ProTheme, ProTip, ProTipProps, ProTypography, ProTypographyProps, ProUploadList, ProUploaderText, ProValue, RequestAction, RouterMethods, SearchMode, SearchSlotProps, TAccess, TActionEvent, TActionState, TColor, TColumn, TColumns, TConfigData, TCurdActionEvent, TDark, TDefaultValueType, TElementMap, TExecuteFunName, TExecuteItem, TExecuteName, TFile, TFormExtraMap, TInitialState, TLight, TLogonUserProvide, TMeta, TOpenMenu, TOption, TOptions, TPageState, TProFormOperate, TRegisterStore, TRegisterStoreMap, TRender, TRouter, TSubType, TTableColumn, TTableColumns, TValueType, ThemeKey, ThemeToken, TreeOption, TreeOptions, Wrapper, convertPathToList, convertResData, createExpose, createExposeObj, createFormItemCompFn, createModule, createProConfig, createTheme, defaultPage, filterSlotsByPrefix, getColumnFormItemName, getColumnValueType, getFirstPropName, getRealRender, getSignValue, getValidValues, isValidConfig, isValidNode, mergeState, mergeStateToList, proBaseProps, provideProCurd, provideProFormList, provideProModule, renderColumn, renderElement, renderElements, renderInputColumn, showValue, useAccess, useAccessMgr, useComposeRequestActor,
|
|
3112
|
+
export { AddButton, BooleanObjType, BooleanRulesObjType, ColumnSetting, CurdAction, CurdAddAction, CurdCurrentMode, CurdMethods, CurdSubAction, ElementKeys, FieldNames, FormAction, FormItemProps, FormRulePrefixMap, IAccess, ICurdAction, ICurdAddAction, ICurdCurrentMode, ICurdOperateOpts, ICurdState, ICurdSubAction, IElementConfig, IHighConfig, IListData, IOpeItem, IOperateItem, IPer, IProConfigProvide, IProCurdProvide, IProFormProvideExtra, IProLayoutProvide, IProModuleProvide, IProTableProvide, IProTableProvideExtra, IRequestOpts, ISearchMode, ITableOperate, ITheme, IThemeToken, IUser, InternalNamePath, LogonUser, LogonUserKey, ModalCurdOpe, MustLogon, NamePath, PageHeader, PageHeaderProps, PaginationSlotProps, PerSuffix, Permission, PermissionProps, ProBaseProps, ProColumnSettingProps, ProConfig, ProConfigProps, ProCurd, ProCurdDesc, ProCurdDescConnect, ProCurdDescProps, ProCurdForm, ProCurdFormConnect, ProCurdFormProps, ProCurdList, ProCurdListConnect, ProCurdListProps, ProCurdModal, ProCurdModalForm, ProCurdModalFormConnect, ProCurdModalProps, ProCurdProps, ProDesc, ProDescProps, ProDispatchRequestType, ProForm, ProFormItemProps, ProFormList, ProFormListProps, ProFormProps, ProGrid, ProGridProps, ProLayout, ProLayoutKey, ProLayoutProps, ProList, ProListProps, ProModalCurd, ProModalCurdProps, ProModule, ProModuleProps, ProOperate, ProOperateProps, ProPage, ProPageCurd, ProPageCurdProps, ProPageProps, ProRouterView, ProRouterViewProps, ProSearchForm, ProSearchFormProps, ProShowDate, ProShowDigit, ProShowOptions, ProShowText, ProShowTree, ProTable, ProTableProps, ProTheme, ProTip, ProTipProps, ProTypography, ProTypographyProps, ProUploadList, ProUploaderText, ProValue, ProWatermark, ProWatermarkProps, RequestAction, RouterMethods, SearchMode, SearchSlotProps, TAccess, TActionEvent, TActionState, TColor, TColumn, TColumns, TConfigData, TCurdActionEvent, TDark, TDefaultValueType, TElementMap, TExecuteFunName, TExecuteItem, TExecuteName, TFile, TFormExtraMap, TInitialState, TLayoutMenu, TLayoutTabMenu, TLayoutType, TLight, TLogonUserProvide, TMeta, TOpenMenu, TOption, TOptions, TPageState, TProFormOperate, TRegisterStore, TRegisterStoreMap, TRender, TRouter, TSubType, TTableColumn, TTableColumns, TValueType, ThemeKey, ThemeToken, TreeOption, TreeOptions, Wrapper, convertPathToList, convertResData, createExpose, createExposeObj, createFormItemCompFn, createModule, createProConfig, createTheme, defaultPage, filterSlotsByPrefix, getColumnFormItemName, getColumnValueType, getFirstPropName, getRealRender, getSignValue, getValidValues, isValidConfig, isValidNode, mergeState, mergeStateToList, proBaseProps, provideProCurd, provideProFormList, provideProModule, renderColumn, renderElement, renderElements, renderInputColumn, showValue, useAccess, useAccessMgr, useComposeRequestActor, useDispatchStore, useDoneRequestActor, useFailedRequestActor, useFormSubmit, useGetCompByKey, useHasPer, useHasPer2, useLogonUser, useMeta, useMetaRegister, useModuleEvent, useProConfig, useProCurd, useProForm, useProFormList, useProLayout, useProModal, useProModule, useProMsg, useProNotify, useProRouter, useProTable, useReadStore, useTheme };
|