@aplus-frontend/ui 0.1.16 → 0.1.18
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/es/index.mjs +60 -58
- package/es/src/ap-download/ap-download.vue.mjs +26 -26
- package/es/src/ap-form/ap-form-item-group/index.vue.mjs +26 -24
- package/es/src/ap-modal/index.d.ts +2 -2
- package/es/src/ap-modal/index.mjs +1 -1
- package/es/src/ap-modal/{type.d.ts → interface.d.ts} +3 -3
- package/es/src/ap-modal/utils/createModal.d.ts +1 -1
- package/es/src/ap-table/ap-table.vue.mjs +40 -40
- package/es/src/ap-table/interface.d.ts +2 -3
- package/es/src/ap-table/utils.d.ts +1 -1
- package/es/src/ap-table/utils.mjs +20 -20
- package/es/src/business/ap-batch-action/index.css +2 -0
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +13 -0
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue.mjs +4 -0
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +110 -0
- package/es/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +17 -0
- package/es/src/business/ap-batch-action-group/MenuItemGroup.vue.mjs +4 -0
- package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +50 -0
- package/es/src/business/ap-batch-action-group/interface.d.ts +41 -0
- package/es/src/business/ap-batch-action-group/interface.mjs +1 -0
- package/es/src/business/ap-image/ApImage.vue.d.ts +65 -0
- package/es/src/business/ap-image/ApImage.vue.mjs +4 -0
- package/es/src/business/ap-image/ApImage.vue2.mjs +56 -0
- package/es/src/business/ap-image/hooks/useOss.d.ts +11 -0
- package/es/src/business/ap-image/hooks/useOss.mjs +37 -0
- package/es/src/business/ap-image/imgs/admin-fallback.jpg.mjs +4 -0
- package/es/src/business/ap-image/imgs/aplus-fallback.jpg.mjs +4 -0
- package/es/src/business/ap-label/ApLabel.d.ts +141 -0
- package/es/src/business/ap-label/ApLabel.mjs +49 -0
- package/es/src/business/ap-label/ApLabelGroup.mjs +11 -12
- package/es/src/business/ap-label/constans.d.ts +65 -1
- package/es/src/business/ap-label/constans.mjs +33 -2
- package/es/src/business/ap-label/index.d.ts +1 -1
- package/es/src/business/ap-label/interface.d.ts +2 -1
- package/es/src/business/index.d.ts +815 -164
- package/es/src/business/index.mjs +26 -20
- package/es/src/config-provider/constants.d.ts +1 -1
- package/es/src/editable-table/form-item.vue.mjs +47 -46
- package/es/src/editable-table/hooks/use-get-columns.d.ts +3 -2
- package/es/src/editable-table/hooks/use-get-columns.mjs +32 -32
- package/es/src/editable-table/index.vue.mjs +81 -80
- package/es/src/editable-table/interface.d.ts +7 -13
- package/es/src/editable-table/utils.d.ts +14 -2
- package/es/src/editable-table/utils.mjs +67 -58
- package/es/src/index.mjs +202 -200
- package/es/src/locale/lang/en.mjs +10 -7
- package/es/src/locale/lang/zh-cn.mjs +3 -0
- package/es/src/theme/ap-batch-action/ap-batch-action.css +2 -0
- package/lib/index.js +1 -1
- package/lib/src/ap-download/ap-download.vue.js +1 -1
- package/lib/src/ap-form/ap-form-item-group/index.vue.js +1 -1
- package/lib/src/ap-modal/index.d.ts +2 -2
- package/lib/src/ap-modal/index.js +1 -1
- package/lib/src/ap-modal/{type.d.ts → interface.d.ts} +3 -3
- package/lib/src/ap-modal/utils/createModal.d.ts +1 -1
- package/lib/src/ap-table/ap-table.vue.js +1 -1
- package/lib/src/ap-table/interface.d.ts +2 -3
- package/lib/src/ap-table/utils.d.ts +1 -1
- package/lib/src/ap-table/utils.js +1 -1
- package/lib/src/business/ap-batch-action/index.css +2 -0
- package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +13 -0
- package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue.js +1 -0
- package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.js +1 -0
- package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +17 -0
- package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue.js +1 -0
- package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue2.js +1 -0
- package/lib/src/business/ap-batch-action-group/interface.d.ts +41 -0
- package/lib/src/business/ap-batch-action-group/interface.js +1 -0
- package/lib/src/business/ap-image/ApImage.vue.d.ts +65 -0
- package/lib/src/business/{ap-label/ApLabel.vue.js → ap-image/ApImage.vue.js} +1 -1
- package/lib/src/business/ap-image/ApImage.vue2.js +1 -0
- package/lib/src/business/ap-image/hooks/useOss.d.ts +11 -0
- package/lib/src/business/ap-image/hooks/useOss.js +1 -0
- package/lib/src/business/ap-image/imgs/admin-fallback.jpg.js +1 -0
- package/lib/src/business/ap-image/imgs/aplus-fallback.jpg.js +1 -0
- package/lib/src/business/ap-label/ApLabel.d.ts +141 -0
- package/lib/src/business/ap-label/ApLabel.js +1 -0
- package/lib/src/business/ap-label/ApLabelGroup.js +1 -1
- package/lib/src/business/ap-label/constans.d.ts +65 -1
- package/lib/src/business/ap-label/constans.js +1 -1
- package/lib/src/business/ap-label/index.d.ts +1 -1
- package/lib/src/business/ap-label/interface.d.ts +2 -1
- package/lib/src/business/index.d.ts +815 -164
- package/lib/src/business/index.js +1 -1
- package/lib/src/config-provider/constants.d.ts +1 -1
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/hooks/use-get-columns.d.ts +3 -2
- package/lib/src/editable-table/hooks/use-get-columns.js +1 -1
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/editable-table/interface.d.ts +7 -13
- package/lib/src/editable-table/utils.d.ts +14 -2
- package/lib/src/editable-table/utils.js +1 -1
- package/lib/src/index.js +1 -1
- package/lib/src/locale/lang/en.js +1 -1
- package/lib/src/locale/lang/zh-cn.js +1 -1
- package/lib/src/theme/ap-batch-action/ap-batch-action.css +2 -0
- package/package.json +3 -3
- package/es/src/business/ap-label/ApLabel.vue.d.ts +0 -56
- package/es/src/business/ap-label/ApLabel.vue.mjs +0 -4
- package/es/src/business/ap-label/ApLabel.vue2.mjs +0 -85
- package/lib/src/business/ap-label/ApLabel.vue.d.ts +0 -56
- package/lib/src/business/ap-label/ApLabel.vue2.js +0 -1
- /package/es/src/ap-modal/{type.mjs → interface.mjs} +0 -0
- /package/lib/src/ap-modal/{type.js → interface.js} +0 -0
|
@@ -1,13 +1,23 @@
|
|
|
1
1
|
import { ApTransformDataHelper } from '../utils/ap-trans-data';
|
|
2
|
-
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin,
|
|
2
|
+
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin, VNode, CSSProperties, RendererNode, RendererElement, PublicProps, ShallowUnwrapRef, DefineComponent } from 'vue';
|
|
3
3
|
import { TooltipPlacement } from 'ant-design-vue/es/tooltip';
|
|
4
|
-
import {
|
|
4
|
+
import { VueTypeValidableDef } from '../../node_modules/vue-types';
|
|
5
|
+
import { LiteralUnion, Key } from 'ant-design-vue/es/_util/type';
|
|
5
6
|
import { ApStatusProps, ApStatusGroupItemProps } from './ap-status/interface';
|
|
6
7
|
import { ApSelectItem } from './ap-select-layout/interface';
|
|
7
8
|
import { ValueType } from 'ant-design-vue/es/input-number/src/utils/MiniDecimal';
|
|
8
9
|
import { ApInputRadioOptions } from './ap-input-radio/interface';
|
|
9
|
-
import { KeyboardEventHandler } from 'ant-design-vue/es/_util/EventInterface';
|
|
10
|
+
import { KeyboardEventHandler, MouseEventHandler, FocusEventHandler } from 'ant-design-vue/es/_util/EventInterface';
|
|
10
11
|
import { ApLabelGroupItemProps } from './ap-label/interface';
|
|
12
|
+
import { ButtonType, ButtonShape, ButtonSize } from 'ant-design-vue/es/button';
|
|
13
|
+
import { ButtonHTMLType } from 'ant-design-vue/es/button/buttonTypes';
|
|
14
|
+
import { DropdownArrowOptions, Trigger, Align } from 'ant-design-vue/es/dropdown/props';
|
|
15
|
+
import { ItemType, MenuTheme, MenuMode } from 'ant-design-vue';
|
|
16
|
+
import { CSSMotionProps } from 'ant-design-vue/es/_util/transition';
|
|
17
|
+
import { BuiltinPlacements, TriggerSubMenuAction, SelectEventHandler, MenuClickEventHandler } from 'ant-design-vue/es/menu/src/interface';
|
|
18
|
+
import { ApBatchActionGroupMenuProps } from './ap-batch-action-group/interface';
|
|
19
|
+
import { accessCreate } from '@aplus-frontend/oss';
|
|
20
|
+
import { ImagePreviewType } from 'ant-design-vue/es/vc-image';
|
|
11
21
|
export type { ApTitleProps } from './title/interface';
|
|
12
22
|
export type { ApExpandAlertProps } from './expandAlert/interface';
|
|
13
23
|
export type { ApLabelProps, ApLabelGroupProps, ApLabelGroupItemProps } from './ap-label/interface';
|
|
@@ -15,6 +25,7 @@ export type { ApStatusProps, ApStatusGroupProps, ApStatusGroupItemProps } from '
|
|
|
15
25
|
export type { ApSelectItem, ApSelectLayoutProps } from './ap-select-layout/interface';
|
|
16
26
|
export type { ApInputRadioProps } from './ap-input-radio/interface';
|
|
17
27
|
export type { ApExportGroupProps } from './ap-export-group/interface';
|
|
28
|
+
export * from './ap-batch-action-group/interface';
|
|
18
29
|
export declare const ApTitle: {
|
|
19
30
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
20
31
|
title: {
|
|
@@ -351,142 +362,139 @@ export declare const ApExpandAlert: {
|
|
|
351
362
|
});
|
|
352
363
|
export declare const ApLabel: {
|
|
353
364
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
354
|
-
|
|
355
|
-
type: PropType<
|
|
356
|
-
|
|
357
|
-
title: {
|
|
358
|
-
type: PropType<string>;
|
|
365
|
+
helpMessage: {
|
|
366
|
+
type: PropType< VNode | string | undefined>;
|
|
367
|
+
default: undefined;
|
|
359
368
|
};
|
|
360
369
|
placement: {
|
|
361
370
|
type: PropType<TooltipPlacement>;
|
|
362
371
|
default: string;
|
|
363
372
|
};
|
|
364
|
-
|
|
373
|
+
iconColor: {
|
|
365
374
|
type: PropType<string>;
|
|
366
|
-
};
|
|
367
|
-
iconType: {
|
|
368
|
-
type: PropType<"ellipsis" | "success" | "warning" | "question">;
|
|
369
375
|
default: string;
|
|
370
376
|
};
|
|
371
|
-
|
|
372
|
-
type: PropType<
|
|
377
|
+
iconType: {
|
|
378
|
+
type: PropType<"question" | "warning" | "ellipsis" | "success">;
|
|
373
379
|
default: string;
|
|
374
380
|
};
|
|
375
|
-
color: {
|
|
376
|
-
type: PropType<LiteralUnion<"blue" | "purple" | "cyan" | "green" | "magenta" | "pink" | "red" | "orange" | "yellow" | "volcano" | "geekblue" | "lime" | "gold">>;
|
|
377
|
-
};
|
|
378
381
|
iconSize: {
|
|
379
382
|
type: PropType<number>;
|
|
380
383
|
default: number;
|
|
381
384
|
};
|
|
382
|
-
status: {
|
|
383
|
-
type: PropType<"error" | "default" | "success" | "warning" | "processing">;
|
|
384
|
-
default: string;
|
|
385
|
-
};
|
|
386
|
-
offset: {
|
|
387
|
-
type: PropType<[string | number, string | number]>;
|
|
388
|
-
};
|
|
389
385
|
show: {
|
|
390
|
-
type:
|
|
386
|
+
type: BooleanConstructor;
|
|
391
387
|
default: boolean;
|
|
392
388
|
};
|
|
393
|
-
|
|
394
|
-
type: PropType<boolean>;
|
|
395
|
-
};
|
|
396
|
-
helpMessage: {
|
|
389
|
+
toolTipBgColor: {
|
|
397
390
|
type: PropType<string>;
|
|
398
391
|
};
|
|
399
|
-
count: {
|
|
400
|
-
|
|
392
|
+
count: VueTypeValidableDef<any> & {
|
|
393
|
+
default: any;
|
|
401
394
|
};
|
|
402
395
|
showZero: {
|
|
403
|
-
type:
|
|
396
|
+
type: BooleanConstructor;
|
|
397
|
+
default: any;
|
|
404
398
|
};
|
|
405
399
|
overflowCount: {
|
|
406
|
-
type:
|
|
400
|
+
type: NumberConstructor;
|
|
401
|
+
default: number;
|
|
407
402
|
};
|
|
408
|
-
|
|
409
|
-
type:
|
|
403
|
+
dot: {
|
|
404
|
+
type: BooleanConstructor;
|
|
405
|
+
default: any;
|
|
410
406
|
};
|
|
411
|
-
|
|
412
|
-
|
|
407
|
+
prefixCls: StringConstructor;
|
|
408
|
+
scrollNumberPrefixCls: StringConstructor;
|
|
409
|
+
status: {
|
|
410
|
+
type: PropType<"error" | "default" | "success" | "processing" | "warning">;
|
|
413
411
|
};
|
|
414
|
-
|
|
415
|
-
type: PropType<
|
|
412
|
+
size: {
|
|
413
|
+
type: PropType<"default" | "small">;
|
|
416
414
|
default: string;
|
|
417
415
|
};
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
416
|
+
color: PropType<LiteralUnion<"blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue">>;
|
|
417
|
+
text: VueTypeValidableDef<any>;
|
|
418
|
+
offset: PropType<[string | number, string | number]>;
|
|
419
|
+
numberStyle: {
|
|
420
|
+
type: PropType<CSSProperties>;
|
|
421
|
+
default: CSSProperties;
|
|
421
422
|
};
|
|
422
|
-
title:
|
|
423
|
-
|
|
423
|
+
title: StringConstructor;
|
|
424
|
+
}>>, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
425
|
+
helpMessage: {
|
|
426
|
+
type: PropType< VNode | string | undefined>;
|
|
427
|
+
default: undefined;
|
|
424
428
|
};
|
|
425
429
|
placement: {
|
|
426
430
|
type: PropType<TooltipPlacement>;
|
|
427
431
|
default: string;
|
|
428
432
|
};
|
|
429
|
-
|
|
433
|
+
iconColor: {
|
|
430
434
|
type: PropType<string>;
|
|
431
|
-
};
|
|
432
|
-
iconType: {
|
|
433
|
-
type: PropType<"ellipsis" | "success" | "warning" | "question">;
|
|
434
435
|
default: string;
|
|
435
436
|
};
|
|
436
|
-
|
|
437
|
-
type: PropType<
|
|
437
|
+
iconType: {
|
|
438
|
+
type: PropType<"question" | "warning" | "ellipsis" | "success">;
|
|
438
439
|
default: string;
|
|
439
440
|
};
|
|
440
|
-
color: {
|
|
441
|
-
type: PropType<LiteralUnion<"blue" | "purple" | "cyan" | "green" | "magenta" | "pink" | "red" | "orange" | "yellow" | "volcano" | "geekblue" | "lime" | "gold">>;
|
|
442
|
-
};
|
|
443
441
|
iconSize: {
|
|
444
442
|
type: PropType<number>;
|
|
445
443
|
default: number;
|
|
446
444
|
};
|
|
447
|
-
status: {
|
|
448
|
-
type: PropType<"error" | "default" | "success" | "warning" | "processing">;
|
|
449
|
-
default: string;
|
|
450
|
-
};
|
|
451
|
-
offset: {
|
|
452
|
-
type: PropType<[string | number, string | number]>;
|
|
453
|
-
};
|
|
454
445
|
show: {
|
|
455
|
-
type:
|
|
446
|
+
type: BooleanConstructor;
|
|
456
447
|
default: boolean;
|
|
457
448
|
};
|
|
458
|
-
|
|
459
|
-
type: PropType<boolean>;
|
|
460
|
-
};
|
|
461
|
-
helpMessage: {
|
|
449
|
+
toolTipBgColor: {
|
|
462
450
|
type: PropType<string>;
|
|
463
451
|
};
|
|
464
|
-
count: {
|
|
465
|
-
|
|
452
|
+
count: VueTypeValidableDef<any> & {
|
|
453
|
+
default: any;
|
|
466
454
|
};
|
|
467
455
|
showZero: {
|
|
468
|
-
type:
|
|
456
|
+
type: BooleanConstructor;
|
|
457
|
+
default: any;
|
|
469
458
|
};
|
|
470
459
|
overflowCount: {
|
|
471
|
-
type:
|
|
460
|
+
type: NumberConstructor;
|
|
461
|
+
default: number;
|
|
472
462
|
};
|
|
473
|
-
|
|
474
|
-
type:
|
|
463
|
+
dot: {
|
|
464
|
+
type: BooleanConstructor;
|
|
465
|
+
default: any;
|
|
475
466
|
};
|
|
476
|
-
|
|
477
|
-
|
|
467
|
+
prefixCls: StringConstructor;
|
|
468
|
+
scrollNumberPrefixCls: StringConstructor;
|
|
469
|
+
status: {
|
|
470
|
+
type: PropType<"error" | "default" | "success" | "processing" | "warning">;
|
|
478
471
|
};
|
|
479
|
-
|
|
480
|
-
type: PropType<
|
|
472
|
+
size: {
|
|
473
|
+
type: PropType<"default" | "small">;
|
|
481
474
|
default: string;
|
|
482
475
|
};
|
|
476
|
+
color: PropType<LiteralUnion<"blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue">>;
|
|
477
|
+
text: VueTypeValidableDef<any>;
|
|
478
|
+
offset: PropType<[string | number, string | number]>;
|
|
479
|
+
numberStyle: {
|
|
480
|
+
type: PropType<CSSProperties>;
|
|
481
|
+
default: CSSProperties;
|
|
482
|
+
};
|
|
483
|
+
title: StringConstructor;
|
|
483
484
|
}>>, {
|
|
485
|
+
size: "small" | "default";
|
|
484
486
|
placement: TooltipPlacement;
|
|
485
|
-
iconType: "
|
|
486
|
-
text: any;
|
|
487
|
+
iconType: "ellipsis" | "success" | "warning" | "question";
|
|
487
488
|
iconSize: number;
|
|
488
|
-
status: "error" | "default" | "success" | "warning" | "processing";
|
|
489
489
|
show: boolean;
|
|
490
|
+
dot: boolean;
|
|
491
|
+
helpMessage: string | VNode<RendererNode, RendererElement, {
|
|
492
|
+
[key: string]: any;
|
|
493
|
+
}> | undefined;
|
|
494
|
+
count: any;
|
|
495
|
+
showZero: boolean;
|
|
496
|
+
overflowCount: number;
|
|
497
|
+
numberStyle: CSSProperties;
|
|
490
498
|
iconColor: string;
|
|
491
499
|
}, true, {}, {}, {
|
|
492
500
|
P: {};
|
|
@@ -496,161 +504,160 @@ export declare const ApLabel: {
|
|
|
496
504
|
M: {};
|
|
497
505
|
Defaults: {};
|
|
498
506
|
}, Readonly< ExtractPropTypes<{
|
|
499
|
-
|
|
500
|
-
type: PropType<
|
|
501
|
-
|
|
502
|
-
title: {
|
|
503
|
-
type: PropType<string>;
|
|
507
|
+
helpMessage: {
|
|
508
|
+
type: PropType< VNode | string | undefined>;
|
|
509
|
+
default: undefined;
|
|
504
510
|
};
|
|
505
511
|
placement: {
|
|
506
512
|
type: PropType<TooltipPlacement>;
|
|
507
513
|
default: string;
|
|
508
514
|
};
|
|
509
|
-
|
|
515
|
+
iconColor: {
|
|
510
516
|
type: PropType<string>;
|
|
511
|
-
};
|
|
512
|
-
iconType: {
|
|
513
|
-
type: PropType<"ellipsis" | "success" | "warning" | "question">;
|
|
514
517
|
default: string;
|
|
515
518
|
};
|
|
516
|
-
|
|
517
|
-
type: PropType<
|
|
519
|
+
iconType: {
|
|
520
|
+
type: PropType<"question" | "warning" | "ellipsis" | "success">;
|
|
518
521
|
default: string;
|
|
519
522
|
};
|
|
520
|
-
color: {
|
|
521
|
-
type: PropType<LiteralUnion<"blue" | "purple" | "cyan" | "green" | "magenta" | "pink" | "red" | "orange" | "yellow" | "volcano" | "geekblue" | "lime" | "gold">>;
|
|
522
|
-
};
|
|
523
523
|
iconSize: {
|
|
524
524
|
type: PropType<number>;
|
|
525
525
|
default: number;
|
|
526
526
|
};
|
|
527
|
-
status: {
|
|
528
|
-
type: PropType<"error" | "default" | "success" | "warning" | "processing">;
|
|
529
|
-
default: string;
|
|
530
|
-
};
|
|
531
|
-
offset: {
|
|
532
|
-
type: PropType<[string | number, string | number]>;
|
|
533
|
-
};
|
|
534
527
|
show: {
|
|
535
|
-
type:
|
|
528
|
+
type: BooleanConstructor;
|
|
536
529
|
default: boolean;
|
|
537
530
|
};
|
|
538
|
-
|
|
539
|
-
type: PropType<boolean>;
|
|
540
|
-
};
|
|
541
|
-
helpMessage: {
|
|
531
|
+
toolTipBgColor: {
|
|
542
532
|
type: PropType<string>;
|
|
543
533
|
};
|
|
544
|
-
count: {
|
|
545
|
-
|
|
534
|
+
count: VueTypeValidableDef<any> & {
|
|
535
|
+
default: any;
|
|
546
536
|
};
|
|
547
537
|
showZero: {
|
|
548
|
-
type:
|
|
538
|
+
type: BooleanConstructor;
|
|
539
|
+
default: any;
|
|
549
540
|
};
|
|
550
541
|
overflowCount: {
|
|
551
|
-
type:
|
|
542
|
+
type: NumberConstructor;
|
|
543
|
+
default: number;
|
|
552
544
|
};
|
|
553
|
-
|
|
554
|
-
type:
|
|
545
|
+
dot: {
|
|
546
|
+
type: BooleanConstructor;
|
|
547
|
+
default: any;
|
|
555
548
|
};
|
|
556
|
-
|
|
557
|
-
|
|
549
|
+
prefixCls: StringConstructor;
|
|
550
|
+
scrollNumberPrefixCls: StringConstructor;
|
|
551
|
+
status: {
|
|
552
|
+
type: PropType<"error" | "default" | "success" | "processing" | "warning">;
|
|
558
553
|
};
|
|
559
|
-
|
|
560
|
-
type: PropType<
|
|
554
|
+
size: {
|
|
555
|
+
type: PropType<"default" | "small">;
|
|
561
556
|
default: string;
|
|
562
557
|
};
|
|
563
|
-
|
|
558
|
+
color: PropType<LiteralUnion<"blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue">>;
|
|
559
|
+
text: VueTypeValidableDef<any>;
|
|
560
|
+
offset: PropType<[string | number, string | number]>;
|
|
561
|
+
numberStyle: {
|
|
562
|
+
type: PropType<CSSProperties>;
|
|
563
|
+
default: CSSProperties;
|
|
564
|
+
};
|
|
565
|
+
title: StringConstructor;
|
|
566
|
+
}>>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
|
|
567
|
+
size: "small" | "default";
|
|
564
568
|
placement: TooltipPlacement;
|
|
565
|
-
iconType: "
|
|
566
|
-
text: any;
|
|
569
|
+
iconType: "ellipsis" | "success" | "warning" | "question";
|
|
567
570
|
iconSize: number;
|
|
568
|
-
status: "error" | "default" | "success" | "warning" | "processing";
|
|
569
571
|
show: boolean;
|
|
572
|
+
dot: boolean;
|
|
573
|
+
helpMessage: string | VNode<RendererNode, RendererElement, {
|
|
574
|
+
[key: string]: any;
|
|
575
|
+
}> | undefined;
|
|
576
|
+
count: any;
|
|
577
|
+
showZero: boolean;
|
|
578
|
+
overflowCount: number;
|
|
579
|
+
numberStyle: CSSProperties;
|
|
570
580
|
iconColor: string;
|
|
571
581
|
}>;
|
|
572
582
|
__isFragment?: never;
|
|
573
583
|
__isTeleport?: never;
|
|
574
584
|
__isSuspense?: never;
|
|
575
585
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
576
|
-
|
|
577
|
-
type: PropType<
|
|
578
|
-
|
|
579
|
-
title: {
|
|
580
|
-
type: PropType<string>;
|
|
586
|
+
helpMessage: {
|
|
587
|
+
type: PropType< VNode | string | undefined>;
|
|
588
|
+
default: undefined;
|
|
581
589
|
};
|
|
582
590
|
placement: {
|
|
583
591
|
type: PropType<TooltipPlacement>;
|
|
584
592
|
default: string;
|
|
585
593
|
};
|
|
586
|
-
|
|
594
|
+
iconColor: {
|
|
587
595
|
type: PropType<string>;
|
|
588
|
-
};
|
|
589
|
-
iconType: {
|
|
590
|
-
type: PropType<"ellipsis" | "success" | "warning" | "question">;
|
|
591
596
|
default: string;
|
|
592
597
|
};
|
|
593
|
-
|
|
594
|
-
type: PropType<
|
|
598
|
+
iconType: {
|
|
599
|
+
type: PropType<"question" | "warning" | "ellipsis" | "success">;
|
|
595
600
|
default: string;
|
|
596
601
|
};
|
|
597
|
-
color: {
|
|
598
|
-
type: PropType<LiteralUnion<"blue" | "purple" | "cyan" | "green" | "magenta" | "pink" | "red" | "orange" | "yellow" | "volcano" | "geekblue" | "lime" | "gold">>;
|
|
599
|
-
};
|
|
600
602
|
iconSize: {
|
|
601
603
|
type: PropType<number>;
|
|
602
604
|
default: number;
|
|
603
605
|
};
|
|
604
|
-
status: {
|
|
605
|
-
type: PropType<"error" | "default" | "success" | "warning" | "processing">;
|
|
606
|
-
default: string;
|
|
607
|
-
};
|
|
608
|
-
offset: {
|
|
609
|
-
type: PropType<[string | number, string | number]>;
|
|
610
|
-
};
|
|
611
606
|
show: {
|
|
612
|
-
type:
|
|
607
|
+
type: BooleanConstructor;
|
|
613
608
|
default: boolean;
|
|
614
609
|
};
|
|
615
|
-
|
|
616
|
-
type: PropType<boolean>;
|
|
617
|
-
};
|
|
618
|
-
helpMessage: {
|
|
610
|
+
toolTipBgColor: {
|
|
619
611
|
type: PropType<string>;
|
|
620
612
|
};
|
|
621
|
-
count: {
|
|
622
|
-
|
|
613
|
+
count: VueTypeValidableDef<any> & {
|
|
614
|
+
default: any;
|
|
623
615
|
};
|
|
624
616
|
showZero: {
|
|
625
|
-
type:
|
|
617
|
+
type: BooleanConstructor;
|
|
618
|
+
default: any;
|
|
626
619
|
};
|
|
627
620
|
overflowCount: {
|
|
628
|
-
type:
|
|
621
|
+
type: NumberConstructor;
|
|
622
|
+
default: number;
|
|
629
623
|
};
|
|
630
|
-
|
|
631
|
-
type:
|
|
624
|
+
dot: {
|
|
625
|
+
type: BooleanConstructor;
|
|
626
|
+
default: any;
|
|
632
627
|
};
|
|
633
|
-
|
|
634
|
-
|
|
628
|
+
prefixCls: StringConstructor;
|
|
629
|
+
scrollNumberPrefixCls: StringConstructor;
|
|
630
|
+
status: {
|
|
631
|
+
type: PropType<"error" | "default" | "success" | "processing" | "warning">;
|
|
635
632
|
};
|
|
636
|
-
|
|
637
|
-
type: PropType<
|
|
633
|
+
size: {
|
|
634
|
+
type: PropType<"default" | "small">;
|
|
638
635
|
default: string;
|
|
639
636
|
};
|
|
640
|
-
|
|
637
|
+
color: PropType<LiteralUnion<"blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue">>;
|
|
638
|
+
text: VueTypeValidableDef<any>;
|
|
639
|
+
offset: PropType<[string | number, string | number]>;
|
|
640
|
+
numberStyle: {
|
|
641
|
+
type: PropType<CSSProperties>;
|
|
642
|
+
default: CSSProperties;
|
|
643
|
+
};
|
|
644
|
+
title: StringConstructor;
|
|
645
|
+
}>>, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
646
|
+
size: "small" | "default";
|
|
641
647
|
placement: TooltipPlacement;
|
|
642
|
-
iconType: "
|
|
643
|
-
text: any;
|
|
648
|
+
iconType: "ellipsis" | "success" | "warning" | "question";
|
|
644
649
|
iconSize: number;
|
|
645
|
-
status: "error" | "default" | "success" | "warning" | "processing";
|
|
646
650
|
show: boolean;
|
|
651
|
+
dot: boolean;
|
|
652
|
+
helpMessage: string | VNode<RendererNode, RendererElement, {
|
|
653
|
+
[key: string]: any;
|
|
654
|
+
}> | undefined;
|
|
655
|
+
count: any;
|
|
656
|
+
showZero: boolean;
|
|
657
|
+
overflowCount: number;
|
|
658
|
+
numberStyle: CSSProperties;
|
|
647
659
|
iconColor: string;
|
|
648
|
-
}, {}, string, {}> & ( VNodeProps & AllowedComponentProps & (
|
|
649
|
-
$slots: {
|
|
650
|
-
default?(_: {}): any;
|
|
651
|
-
custom?(_: {}): any;
|
|
652
|
-
};
|
|
653
|
-
}) & ( Plugin & (new (...args: any[]) => {
|
|
660
|
+
}, {}, string, {}> & ( VNodeProps & ( AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
|
|
654
661
|
$props: {
|
|
655
662
|
onClick?: () => void;
|
|
656
663
|
};
|
|
@@ -1312,4 +1319,648 @@ export declare const ApLabelGroup: DefineComponent<{
|
|
|
1312
1319
|
record: any;
|
|
1313
1320
|
tagValue: string | number | undefined;
|
|
1314
1321
|
}, {}>;
|
|
1322
|
+
export declare const ApBatchActionGroup: DefineComponent<{
|
|
1323
|
+
selectedRows: {
|
|
1324
|
+
type: PropType<any[]>;
|
|
1325
|
+
};
|
|
1326
|
+
buttonProps: {
|
|
1327
|
+
type: PropType<({
|
|
1328
|
+
dropdownType?: "default" | undefined;
|
|
1329
|
+
} & Omit<Partial< ExtractPropTypes<{
|
|
1330
|
+
prefixCls: StringConstructor;
|
|
1331
|
+
type: PropType<ButtonType>;
|
|
1332
|
+
htmlType: {
|
|
1333
|
+
type: PropType<ButtonHTMLType>;
|
|
1334
|
+
default: string;
|
|
1335
|
+
};
|
|
1336
|
+
shape: {
|
|
1337
|
+
type: PropType<ButtonShape>;
|
|
1338
|
+
};
|
|
1339
|
+
size: {
|
|
1340
|
+
type: PropType<ButtonSize>;
|
|
1341
|
+
};
|
|
1342
|
+
loading: {
|
|
1343
|
+
type: PropType<boolean | {
|
|
1344
|
+
delay?: number;
|
|
1345
|
+
}>;
|
|
1346
|
+
default: () => boolean | {
|
|
1347
|
+
delay?: number;
|
|
1348
|
+
};
|
|
1349
|
+
};
|
|
1350
|
+
disabled: {
|
|
1351
|
+
type: BooleanConstructor;
|
|
1352
|
+
default: any;
|
|
1353
|
+
};
|
|
1354
|
+
ghost: {
|
|
1355
|
+
type: BooleanConstructor;
|
|
1356
|
+
default: any;
|
|
1357
|
+
};
|
|
1358
|
+
block: {
|
|
1359
|
+
type: BooleanConstructor;
|
|
1360
|
+
default: any;
|
|
1361
|
+
};
|
|
1362
|
+
danger: {
|
|
1363
|
+
type: BooleanConstructor;
|
|
1364
|
+
default: any;
|
|
1365
|
+
};
|
|
1366
|
+
icon: VueTypeValidableDef<any>;
|
|
1367
|
+
href: StringConstructor;
|
|
1368
|
+
target: StringConstructor;
|
|
1369
|
+
title: StringConstructor;
|
|
1370
|
+
onClick: {
|
|
1371
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
1372
|
+
};
|
|
1373
|
+
onMousedown: {
|
|
1374
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
1375
|
+
};
|
|
1376
|
+
}>>, "type"> & {
|
|
1377
|
+
type?: ButtonType | "borderLink" | undefined;
|
|
1378
|
+
content?: string;
|
|
1379
|
+
}) | ({
|
|
1380
|
+
dropdownType?: "dropdown" | undefined;
|
|
1381
|
+
} & Omit<Partial< ExtractPropTypes<{
|
|
1382
|
+
type: PropType<ButtonType>;
|
|
1383
|
+
size: PropType<"small" | "large">;
|
|
1384
|
+
htmlType: {
|
|
1385
|
+
type: PropType<ButtonHTMLType>;
|
|
1386
|
+
default: string;
|
|
1387
|
+
};
|
|
1388
|
+
href: StringConstructor;
|
|
1389
|
+
disabled: {
|
|
1390
|
+
type: BooleanConstructor;
|
|
1391
|
+
default: boolean;
|
|
1392
|
+
};
|
|
1393
|
+
prefixCls: StringConstructor;
|
|
1394
|
+
icon: VueTypeValidableDef<any>;
|
|
1395
|
+
title: StringConstructor;
|
|
1396
|
+
loading: {
|
|
1397
|
+
type: PropType<boolean | {
|
|
1398
|
+
delay?: number;
|
|
1399
|
+
}>;
|
|
1400
|
+
default: () => boolean | {
|
|
1401
|
+
delay?: number;
|
|
1402
|
+
};
|
|
1403
|
+
};
|
|
1404
|
+
onClick: {
|
|
1405
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
1406
|
+
};
|
|
1407
|
+
arrow: {
|
|
1408
|
+
type: PropType<boolean | DropdownArrowOptions>;
|
|
1409
|
+
default: boolean | DropdownArrowOptions;
|
|
1410
|
+
};
|
|
1411
|
+
trigger: {
|
|
1412
|
+
type: PropType< Trigger | Trigger[]>;
|
|
1413
|
+
};
|
|
1414
|
+
menu: {
|
|
1415
|
+
type: PropType<Partial< ExtractPropTypes<{
|
|
1416
|
+
id: StringConstructor;
|
|
1417
|
+
prefixCls: StringConstructor;
|
|
1418
|
+
items: PropType< ItemType[]>;
|
|
1419
|
+
disabled: BooleanConstructor;
|
|
1420
|
+
inlineCollapsed: BooleanConstructor;
|
|
1421
|
+
disabledOverflow: BooleanConstructor;
|
|
1422
|
+
forceSubMenuRender: BooleanConstructor;
|
|
1423
|
+
openKeys: PropType< Key[]>;
|
|
1424
|
+
selectedKeys: PropType< Key[]>;
|
|
1425
|
+
activeKey: StringConstructor;
|
|
1426
|
+
selectable: {
|
|
1427
|
+
type: BooleanConstructor;
|
|
1428
|
+
default: boolean;
|
|
1429
|
+
};
|
|
1430
|
+
multiple: {
|
|
1431
|
+
type: BooleanConstructor;
|
|
1432
|
+
default: boolean;
|
|
1433
|
+
};
|
|
1434
|
+
tabindex: {
|
|
1435
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1436
|
+
};
|
|
1437
|
+
motion: PropType<CSSMotionProps>;
|
|
1438
|
+
role: StringConstructor;
|
|
1439
|
+
theme: {
|
|
1440
|
+
type: PropType<MenuTheme>;
|
|
1441
|
+
default: string;
|
|
1442
|
+
};
|
|
1443
|
+
mode: {
|
|
1444
|
+
type: PropType<MenuMode>;
|
|
1445
|
+
default: string;
|
|
1446
|
+
};
|
|
1447
|
+
inlineIndent: {
|
|
1448
|
+
type: NumberConstructor;
|
|
1449
|
+
default: number;
|
|
1450
|
+
};
|
|
1451
|
+
subMenuOpenDelay: {
|
|
1452
|
+
type: NumberConstructor;
|
|
1453
|
+
default: number;
|
|
1454
|
+
};
|
|
1455
|
+
subMenuCloseDelay: {
|
|
1456
|
+
type: NumberConstructor;
|
|
1457
|
+
default: number;
|
|
1458
|
+
};
|
|
1459
|
+
builtinPlacements: {
|
|
1460
|
+
type: PropType<BuiltinPlacements>;
|
|
1461
|
+
};
|
|
1462
|
+
triggerSubMenuAction: {
|
|
1463
|
+
type: PropType<TriggerSubMenuAction>;
|
|
1464
|
+
default: string;
|
|
1465
|
+
};
|
|
1466
|
+
getPopupContainer: PropType<(node: HTMLElement) => HTMLElement>;
|
|
1467
|
+
expandIcon: PropType<(p?: {
|
|
1468
|
+
[key: string]: any;
|
|
1469
|
+
isOpen: boolean;
|
|
1470
|
+
}) => any>;
|
|
1471
|
+
onOpenChange: PropType<(keys: Key[]) => void>;
|
|
1472
|
+
onSelect: PropType<SelectEventHandler>;
|
|
1473
|
+
onDeselect: PropType<SelectEventHandler>;
|
|
1474
|
+
onClick: PropType<MenuClickEventHandler>;
|
|
1475
|
+
onFocus: PropType<FocusEventHandler>;
|
|
1476
|
+
onBlur: PropType<FocusEventHandler>;
|
|
1477
|
+
onMousedown: PropType<MouseEventHandler>;
|
|
1478
|
+
"onUpdate:openKeys": PropType<(keys: Key[]) => void>;
|
|
1479
|
+
"onUpdate:selectedKeys": PropType<(keys: Key[]) => void>;
|
|
1480
|
+
"onUpdate:activeKey": PropType<(key: Key) => void>;
|
|
1481
|
+
}>>>;
|
|
1482
|
+
default: Partial< ExtractPropTypes<{
|
|
1483
|
+
id: StringConstructor;
|
|
1484
|
+
prefixCls: StringConstructor;
|
|
1485
|
+
items: PropType< ItemType[]>;
|
|
1486
|
+
disabled: BooleanConstructor;
|
|
1487
|
+
inlineCollapsed: BooleanConstructor;
|
|
1488
|
+
disabledOverflow: BooleanConstructor;
|
|
1489
|
+
forceSubMenuRender: BooleanConstructor;
|
|
1490
|
+
openKeys: PropType< Key[]>;
|
|
1491
|
+
selectedKeys: PropType< Key[]>;
|
|
1492
|
+
activeKey: StringConstructor;
|
|
1493
|
+
selectable: {
|
|
1494
|
+
type: BooleanConstructor;
|
|
1495
|
+
default: boolean;
|
|
1496
|
+
};
|
|
1497
|
+
multiple: {
|
|
1498
|
+
type: BooleanConstructor;
|
|
1499
|
+
default: boolean;
|
|
1500
|
+
};
|
|
1501
|
+
tabindex: {
|
|
1502
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1503
|
+
};
|
|
1504
|
+
motion: PropType<CSSMotionProps>;
|
|
1505
|
+
role: StringConstructor;
|
|
1506
|
+
theme: {
|
|
1507
|
+
type: PropType<MenuTheme>;
|
|
1508
|
+
default: string;
|
|
1509
|
+
};
|
|
1510
|
+
mode: {
|
|
1511
|
+
type: PropType<MenuMode>;
|
|
1512
|
+
default: string;
|
|
1513
|
+
};
|
|
1514
|
+
inlineIndent: {
|
|
1515
|
+
type: NumberConstructor;
|
|
1516
|
+
default: number;
|
|
1517
|
+
};
|
|
1518
|
+
subMenuOpenDelay: {
|
|
1519
|
+
type: NumberConstructor;
|
|
1520
|
+
default: number;
|
|
1521
|
+
};
|
|
1522
|
+
subMenuCloseDelay: {
|
|
1523
|
+
type: NumberConstructor;
|
|
1524
|
+
default: number;
|
|
1525
|
+
};
|
|
1526
|
+
builtinPlacements: {
|
|
1527
|
+
type: PropType<BuiltinPlacements>;
|
|
1528
|
+
};
|
|
1529
|
+
triggerSubMenuAction: {
|
|
1530
|
+
type: PropType<TriggerSubMenuAction>;
|
|
1531
|
+
default: string;
|
|
1532
|
+
};
|
|
1533
|
+
getPopupContainer: PropType<(node: HTMLElement) => HTMLElement>;
|
|
1534
|
+
expandIcon: PropType<(p?: {
|
|
1535
|
+
[key: string]: any;
|
|
1536
|
+
isOpen: boolean;
|
|
1537
|
+
}) => any>;
|
|
1538
|
+
onOpenChange: PropType<(keys: Key[]) => void>;
|
|
1539
|
+
onSelect: PropType<SelectEventHandler>;
|
|
1540
|
+
onDeselect: PropType<SelectEventHandler>;
|
|
1541
|
+
onClick: PropType<MenuClickEventHandler>;
|
|
1542
|
+
onFocus: PropType<FocusEventHandler>;
|
|
1543
|
+
onBlur: PropType<FocusEventHandler>;
|
|
1544
|
+
onMousedown: PropType<MouseEventHandler>;
|
|
1545
|
+
"onUpdate:openKeys": PropType<(keys: Key[]) => void>;
|
|
1546
|
+
"onUpdate:selectedKeys": PropType<(keys: Key[]) => void>;
|
|
1547
|
+
"onUpdate:activeKey": PropType<(key: Key) => void>;
|
|
1548
|
+
}>>;
|
|
1549
|
+
};
|
|
1550
|
+
overlay: VueTypeValidableDef<any>;
|
|
1551
|
+
visible: {
|
|
1552
|
+
type: BooleanConstructor;
|
|
1553
|
+
default: boolean;
|
|
1554
|
+
};
|
|
1555
|
+
open: {
|
|
1556
|
+
type: BooleanConstructor;
|
|
1557
|
+
default: boolean;
|
|
1558
|
+
};
|
|
1559
|
+
danger: {
|
|
1560
|
+
type: BooleanConstructor;
|
|
1561
|
+
default: boolean;
|
|
1562
|
+
};
|
|
1563
|
+
autofocus: {
|
|
1564
|
+
type: BooleanConstructor;
|
|
1565
|
+
default: boolean;
|
|
1566
|
+
};
|
|
1567
|
+
align: {
|
|
1568
|
+
type: PropType<Align>;
|
|
1569
|
+
default: Align;
|
|
1570
|
+
};
|
|
1571
|
+
getPopupContainer: PropType<(triggerNode: HTMLElement) => HTMLElement>;
|
|
1572
|
+
transitionName: StringConstructor;
|
|
1573
|
+
placement: PropType<"top" | "bottom" | "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | "topCenter" | "bottomCenter">;
|
|
1574
|
+
overlayClassName: StringConstructor;
|
|
1575
|
+
overlayStyle: {
|
|
1576
|
+
type: PropType<CSSProperties>;
|
|
1577
|
+
default: CSSProperties;
|
|
1578
|
+
};
|
|
1579
|
+
forceRender: {
|
|
1580
|
+
type: BooleanConstructor;
|
|
1581
|
+
default: boolean;
|
|
1582
|
+
};
|
|
1583
|
+
mouseEnterDelay: NumberConstructor;
|
|
1584
|
+
mouseLeaveDelay: NumberConstructor;
|
|
1585
|
+
openClassName: StringConstructor;
|
|
1586
|
+
minOverlayWidthMatchTrigger: {
|
|
1587
|
+
type: BooleanConstructor;
|
|
1588
|
+
default: boolean;
|
|
1589
|
+
};
|
|
1590
|
+
destroyPopupOnHide: {
|
|
1591
|
+
type: BooleanConstructor;
|
|
1592
|
+
default: boolean;
|
|
1593
|
+
};
|
|
1594
|
+
onVisibleChange: {
|
|
1595
|
+
type: PropType<(val: boolean) => void>;
|
|
1596
|
+
};
|
|
1597
|
+
'onUpdate:visible': {
|
|
1598
|
+
type: PropType<(val: boolean) => void>;
|
|
1599
|
+
};
|
|
1600
|
+
onOpenChange: {
|
|
1601
|
+
type: PropType<(val: boolean) => void>;
|
|
1602
|
+
};
|
|
1603
|
+
'onUpdate:open': {
|
|
1604
|
+
type: PropType<(val: boolean) => void>;
|
|
1605
|
+
};
|
|
1606
|
+
}>>, "type"> & {
|
|
1607
|
+
type?: ButtonType | "borderLink" | undefined;
|
|
1608
|
+
content?: string;
|
|
1609
|
+
})>;
|
|
1610
|
+
};
|
|
1611
|
+
menuList: {
|
|
1612
|
+
type: PropType< ApBatchActionGroupMenuProps<any>[]>;
|
|
1613
|
+
};
|
|
1614
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
1615
|
+
selectedRows: {
|
|
1616
|
+
type: PropType<any[]>;
|
|
1617
|
+
};
|
|
1618
|
+
buttonProps: {
|
|
1619
|
+
type: PropType<({
|
|
1620
|
+
dropdownType?: "default" | undefined;
|
|
1621
|
+
} & Omit<Partial< ExtractPropTypes<{
|
|
1622
|
+
prefixCls: StringConstructor;
|
|
1623
|
+
type: PropType<ButtonType>;
|
|
1624
|
+
htmlType: {
|
|
1625
|
+
type: PropType<ButtonHTMLType>;
|
|
1626
|
+
default: string;
|
|
1627
|
+
};
|
|
1628
|
+
shape: {
|
|
1629
|
+
type: PropType<ButtonShape>;
|
|
1630
|
+
};
|
|
1631
|
+
size: {
|
|
1632
|
+
type: PropType<ButtonSize>;
|
|
1633
|
+
};
|
|
1634
|
+
loading: {
|
|
1635
|
+
type: PropType<boolean | {
|
|
1636
|
+
delay?: number;
|
|
1637
|
+
}>;
|
|
1638
|
+
default: () => boolean | {
|
|
1639
|
+
delay?: number;
|
|
1640
|
+
};
|
|
1641
|
+
};
|
|
1642
|
+
disabled: {
|
|
1643
|
+
type: BooleanConstructor;
|
|
1644
|
+
default: any;
|
|
1645
|
+
};
|
|
1646
|
+
ghost: {
|
|
1647
|
+
type: BooleanConstructor;
|
|
1648
|
+
default: any;
|
|
1649
|
+
};
|
|
1650
|
+
block: {
|
|
1651
|
+
type: BooleanConstructor;
|
|
1652
|
+
default: any;
|
|
1653
|
+
};
|
|
1654
|
+
danger: {
|
|
1655
|
+
type: BooleanConstructor;
|
|
1656
|
+
default: any;
|
|
1657
|
+
};
|
|
1658
|
+
icon: VueTypeValidableDef<any>;
|
|
1659
|
+
href: StringConstructor;
|
|
1660
|
+
target: StringConstructor;
|
|
1661
|
+
title: StringConstructor;
|
|
1662
|
+
onClick: {
|
|
1663
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
1664
|
+
};
|
|
1665
|
+
onMousedown: {
|
|
1666
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
1667
|
+
};
|
|
1668
|
+
}>>, "type"> & {
|
|
1669
|
+
type?: ButtonType | "borderLink" | undefined;
|
|
1670
|
+
content?: string;
|
|
1671
|
+
}) | ({
|
|
1672
|
+
dropdownType?: "dropdown" | undefined;
|
|
1673
|
+
} & Omit<Partial< ExtractPropTypes<{
|
|
1674
|
+
type: PropType<ButtonType>;
|
|
1675
|
+
size: PropType<"small" | "large">;
|
|
1676
|
+
htmlType: {
|
|
1677
|
+
type: PropType<ButtonHTMLType>;
|
|
1678
|
+
default: string;
|
|
1679
|
+
};
|
|
1680
|
+
href: StringConstructor;
|
|
1681
|
+
disabled: {
|
|
1682
|
+
type: BooleanConstructor;
|
|
1683
|
+
default: boolean;
|
|
1684
|
+
};
|
|
1685
|
+
prefixCls: StringConstructor;
|
|
1686
|
+
icon: VueTypeValidableDef<any>;
|
|
1687
|
+
title: StringConstructor;
|
|
1688
|
+
loading: {
|
|
1689
|
+
type: PropType<boolean | {
|
|
1690
|
+
delay?: number;
|
|
1691
|
+
}>;
|
|
1692
|
+
default: () => boolean | {
|
|
1693
|
+
delay?: number;
|
|
1694
|
+
};
|
|
1695
|
+
};
|
|
1696
|
+
onClick: {
|
|
1697
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
1698
|
+
};
|
|
1699
|
+
arrow: {
|
|
1700
|
+
type: PropType<boolean | DropdownArrowOptions>;
|
|
1701
|
+
default: boolean | DropdownArrowOptions;
|
|
1702
|
+
};
|
|
1703
|
+
trigger: {
|
|
1704
|
+
type: PropType< Trigger | Trigger[]>;
|
|
1705
|
+
};
|
|
1706
|
+
menu: {
|
|
1707
|
+
type: PropType<Partial< ExtractPropTypes<{
|
|
1708
|
+
id: StringConstructor;
|
|
1709
|
+
prefixCls: StringConstructor;
|
|
1710
|
+
items: PropType< ItemType[]>;
|
|
1711
|
+
disabled: BooleanConstructor;
|
|
1712
|
+
inlineCollapsed: BooleanConstructor;
|
|
1713
|
+
disabledOverflow: BooleanConstructor;
|
|
1714
|
+
forceSubMenuRender: BooleanConstructor;
|
|
1715
|
+
openKeys: PropType< Key[]>;
|
|
1716
|
+
selectedKeys: PropType< Key[]>;
|
|
1717
|
+
activeKey: StringConstructor;
|
|
1718
|
+
selectable: {
|
|
1719
|
+
type: BooleanConstructor;
|
|
1720
|
+
default: boolean;
|
|
1721
|
+
};
|
|
1722
|
+
multiple: {
|
|
1723
|
+
type: BooleanConstructor;
|
|
1724
|
+
default: boolean;
|
|
1725
|
+
};
|
|
1726
|
+
tabindex: {
|
|
1727
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1728
|
+
};
|
|
1729
|
+
motion: PropType<CSSMotionProps>;
|
|
1730
|
+
role: StringConstructor;
|
|
1731
|
+
theme: {
|
|
1732
|
+
type: PropType<MenuTheme>;
|
|
1733
|
+
default: string;
|
|
1734
|
+
};
|
|
1735
|
+
mode: {
|
|
1736
|
+
type: PropType<MenuMode>;
|
|
1737
|
+
default: string;
|
|
1738
|
+
};
|
|
1739
|
+
inlineIndent: {
|
|
1740
|
+
type: NumberConstructor;
|
|
1741
|
+
default: number;
|
|
1742
|
+
};
|
|
1743
|
+
subMenuOpenDelay: {
|
|
1744
|
+
type: NumberConstructor;
|
|
1745
|
+
default: number;
|
|
1746
|
+
};
|
|
1747
|
+
subMenuCloseDelay: {
|
|
1748
|
+
type: NumberConstructor;
|
|
1749
|
+
default: number;
|
|
1750
|
+
};
|
|
1751
|
+
builtinPlacements: {
|
|
1752
|
+
type: PropType<BuiltinPlacements>;
|
|
1753
|
+
};
|
|
1754
|
+
triggerSubMenuAction: {
|
|
1755
|
+
type: PropType<TriggerSubMenuAction>;
|
|
1756
|
+
default: string;
|
|
1757
|
+
};
|
|
1758
|
+
getPopupContainer: PropType<(node: HTMLElement) => HTMLElement>;
|
|
1759
|
+
expandIcon: PropType<(p?: {
|
|
1760
|
+
[key: string]: any;
|
|
1761
|
+
isOpen: boolean;
|
|
1762
|
+
}) => any>;
|
|
1763
|
+
onOpenChange: PropType<(keys: Key[]) => void>;
|
|
1764
|
+
onSelect: PropType<SelectEventHandler>;
|
|
1765
|
+
onDeselect: PropType<SelectEventHandler>;
|
|
1766
|
+
onClick: PropType<MenuClickEventHandler>;
|
|
1767
|
+
onFocus: PropType<FocusEventHandler>;
|
|
1768
|
+
onBlur: PropType<FocusEventHandler>;
|
|
1769
|
+
onMousedown: PropType<MouseEventHandler>;
|
|
1770
|
+
"onUpdate:openKeys": PropType<(keys: Key[]) => void>;
|
|
1771
|
+
"onUpdate:selectedKeys": PropType<(keys: Key[]) => void>;
|
|
1772
|
+
"onUpdate:activeKey": PropType<(key: Key) => void>;
|
|
1773
|
+
}>>>;
|
|
1774
|
+
default: Partial< ExtractPropTypes<{
|
|
1775
|
+
id: StringConstructor;
|
|
1776
|
+
prefixCls: StringConstructor;
|
|
1777
|
+
items: PropType< ItemType[]>;
|
|
1778
|
+
disabled: BooleanConstructor;
|
|
1779
|
+
inlineCollapsed: BooleanConstructor;
|
|
1780
|
+
disabledOverflow: BooleanConstructor;
|
|
1781
|
+
forceSubMenuRender: BooleanConstructor;
|
|
1782
|
+
openKeys: PropType< Key[]>;
|
|
1783
|
+
selectedKeys: PropType< Key[]>;
|
|
1784
|
+
activeKey: StringConstructor;
|
|
1785
|
+
selectable: {
|
|
1786
|
+
type: BooleanConstructor;
|
|
1787
|
+
default: boolean;
|
|
1788
|
+
};
|
|
1789
|
+
multiple: {
|
|
1790
|
+
type: BooleanConstructor;
|
|
1791
|
+
default: boolean;
|
|
1792
|
+
};
|
|
1793
|
+
tabindex: {
|
|
1794
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1795
|
+
};
|
|
1796
|
+
motion: PropType<CSSMotionProps>;
|
|
1797
|
+
role: StringConstructor;
|
|
1798
|
+
theme: {
|
|
1799
|
+
type: PropType<MenuTheme>;
|
|
1800
|
+
default: string;
|
|
1801
|
+
};
|
|
1802
|
+
mode: {
|
|
1803
|
+
type: PropType<MenuMode>;
|
|
1804
|
+
default: string;
|
|
1805
|
+
};
|
|
1806
|
+
inlineIndent: {
|
|
1807
|
+
type: NumberConstructor;
|
|
1808
|
+
default: number;
|
|
1809
|
+
};
|
|
1810
|
+
subMenuOpenDelay: {
|
|
1811
|
+
type: NumberConstructor;
|
|
1812
|
+
default: number;
|
|
1813
|
+
};
|
|
1814
|
+
subMenuCloseDelay: {
|
|
1815
|
+
type: NumberConstructor;
|
|
1816
|
+
default: number;
|
|
1817
|
+
};
|
|
1818
|
+
builtinPlacements: {
|
|
1819
|
+
type: PropType<BuiltinPlacements>;
|
|
1820
|
+
};
|
|
1821
|
+
triggerSubMenuAction: {
|
|
1822
|
+
type: PropType<TriggerSubMenuAction>;
|
|
1823
|
+
default: string;
|
|
1824
|
+
};
|
|
1825
|
+
getPopupContainer: PropType<(node: HTMLElement) => HTMLElement>;
|
|
1826
|
+
expandIcon: PropType<(p?: {
|
|
1827
|
+
[key: string]: any;
|
|
1828
|
+
isOpen: boolean;
|
|
1829
|
+
}) => any>;
|
|
1830
|
+
onOpenChange: PropType<(keys: Key[]) => void>;
|
|
1831
|
+
onSelect: PropType<SelectEventHandler>;
|
|
1832
|
+
onDeselect: PropType<SelectEventHandler>;
|
|
1833
|
+
onClick: PropType<MenuClickEventHandler>;
|
|
1834
|
+
onFocus: PropType<FocusEventHandler>;
|
|
1835
|
+
onBlur: PropType<FocusEventHandler>;
|
|
1836
|
+
onMousedown: PropType<MouseEventHandler>;
|
|
1837
|
+
"onUpdate:openKeys": PropType<(keys: Key[]) => void>;
|
|
1838
|
+
"onUpdate:selectedKeys": PropType<(keys: Key[]) => void>;
|
|
1839
|
+
"onUpdate:activeKey": PropType<(key: Key) => void>;
|
|
1840
|
+
}>>;
|
|
1841
|
+
};
|
|
1842
|
+
overlay: VueTypeValidableDef<any>;
|
|
1843
|
+
visible: {
|
|
1844
|
+
type: BooleanConstructor;
|
|
1845
|
+
default: boolean;
|
|
1846
|
+
};
|
|
1847
|
+
open: {
|
|
1848
|
+
type: BooleanConstructor;
|
|
1849
|
+
default: boolean;
|
|
1850
|
+
};
|
|
1851
|
+
danger: {
|
|
1852
|
+
type: BooleanConstructor;
|
|
1853
|
+
default: boolean;
|
|
1854
|
+
};
|
|
1855
|
+
autofocus: {
|
|
1856
|
+
type: BooleanConstructor;
|
|
1857
|
+
default: boolean;
|
|
1858
|
+
};
|
|
1859
|
+
align: {
|
|
1860
|
+
type: PropType<Align>;
|
|
1861
|
+
default: Align;
|
|
1862
|
+
};
|
|
1863
|
+
getPopupContainer: PropType<(triggerNode: HTMLElement) => HTMLElement>;
|
|
1864
|
+
transitionName: StringConstructor;
|
|
1865
|
+
placement: PropType<"top" | "bottom" | "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | "topCenter" | "bottomCenter">;
|
|
1866
|
+
overlayClassName: StringConstructor;
|
|
1867
|
+
overlayStyle: {
|
|
1868
|
+
type: PropType<CSSProperties>;
|
|
1869
|
+
default: CSSProperties;
|
|
1870
|
+
};
|
|
1871
|
+
forceRender: {
|
|
1872
|
+
type: BooleanConstructor;
|
|
1873
|
+
default: boolean;
|
|
1874
|
+
};
|
|
1875
|
+
mouseEnterDelay: NumberConstructor;
|
|
1876
|
+
mouseLeaveDelay: NumberConstructor;
|
|
1877
|
+
openClassName: StringConstructor;
|
|
1878
|
+
minOverlayWidthMatchTrigger: {
|
|
1879
|
+
type: BooleanConstructor;
|
|
1880
|
+
default: boolean;
|
|
1881
|
+
};
|
|
1882
|
+
destroyPopupOnHide: {
|
|
1883
|
+
type: BooleanConstructor;
|
|
1884
|
+
default: boolean;
|
|
1885
|
+
};
|
|
1886
|
+
onVisibleChange: {
|
|
1887
|
+
type: PropType<(val: boolean) => void>;
|
|
1888
|
+
};
|
|
1889
|
+
'onUpdate:visible': {
|
|
1890
|
+
type: PropType<(val: boolean) => void>;
|
|
1891
|
+
};
|
|
1892
|
+
onOpenChange: {
|
|
1893
|
+
type: PropType<(val: boolean) => void>;
|
|
1894
|
+
};
|
|
1895
|
+
'onUpdate:open': {
|
|
1896
|
+
type: PropType<(val: boolean) => void>;
|
|
1897
|
+
};
|
|
1898
|
+
}>>, "type"> & {
|
|
1899
|
+
type?: ButtonType | "borderLink" | undefined;
|
|
1900
|
+
content?: string;
|
|
1901
|
+
})>;
|
|
1902
|
+
};
|
|
1903
|
+
menuList: {
|
|
1904
|
+
type: PropType< ApBatchActionGroupMenuProps<any>[]>;
|
|
1905
|
+
};
|
|
1906
|
+
}>>, {}, {}>;
|
|
1907
|
+
export declare const ApImage: DefineComponent<{
|
|
1908
|
+
path: StringConstructor;
|
|
1909
|
+
getOssAccess: PropType<() => Promise< accessCreate>>;
|
|
1910
|
+
onClick: {
|
|
1911
|
+
type: PropType<MouseEventHandler>;
|
|
1912
|
+
};
|
|
1913
|
+
onError: {
|
|
1914
|
+
type: PropType<OnErrorEventHandlerNonNull>;
|
|
1915
|
+
};
|
|
1916
|
+
prefixCls: StringConstructor;
|
|
1917
|
+
placeholder: VueTypeValidableDef<any>;
|
|
1918
|
+
preview: {
|
|
1919
|
+
type: PropType<boolean | ImagePreviewType>;
|
|
1920
|
+
default: boolean | ImagePreviewType;
|
|
1921
|
+
};
|
|
1922
|
+
rootClassName: StringConstructor;
|
|
1923
|
+
wrapperClassName: StringConstructor;
|
|
1924
|
+
fallback: StringConstructor;
|
|
1925
|
+
previewPrefixCls: StringConstructor;
|
|
1926
|
+
wrapperStyle: {
|
|
1927
|
+
type: PropType<CSSProperties>;
|
|
1928
|
+
default: CSSProperties;
|
|
1929
|
+
};
|
|
1930
|
+
previewMask: {
|
|
1931
|
+
type: PropType<false | (() => any)>;
|
|
1932
|
+
default: any;
|
|
1933
|
+
};
|
|
1934
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
1935
|
+
path: StringConstructor;
|
|
1936
|
+
getOssAccess: PropType<() => Promise< accessCreate>>;
|
|
1937
|
+
onClick: {
|
|
1938
|
+
type: PropType<MouseEventHandler>;
|
|
1939
|
+
};
|
|
1940
|
+
onError: {
|
|
1941
|
+
type: PropType<OnErrorEventHandlerNonNull>;
|
|
1942
|
+
};
|
|
1943
|
+
prefixCls: StringConstructor;
|
|
1944
|
+
placeholder: VueTypeValidableDef<any>;
|
|
1945
|
+
preview: {
|
|
1946
|
+
type: PropType<boolean | ImagePreviewType>;
|
|
1947
|
+
default: boolean | ImagePreviewType;
|
|
1948
|
+
};
|
|
1949
|
+
rootClassName: StringConstructor;
|
|
1950
|
+
wrapperClassName: StringConstructor;
|
|
1951
|
+
fallback: StringConstructor;
|
|
1952
|
+
previewPrefixCls: StringConstructor;
|
|
1953
|
+
wrapperStyle: {
|
|
1954
|
+
type: PropType<CSSProperties>;
|
|
1955
|
+
default: CSSProperties;
|
|
1956
|
+
};
|
|
1957
|
+
previewMask: {
|
|
1958
|
+
type: PropType<false | (() => any)>;
|
|
1959
|
+
default: any;
|
|
1960
|
+
};
|
|
1961
|
+
}>>, {
|
|
1962
|
+
preview: boolean | ImagePreviewType;
|
|
1963
|
+
wrapperStyle: CSSProperties;
|
|
1964
|
+
previewMask: false | (() => any);
|
|
1965
|
+
}, {}>;
|
|
1315
1966
|
export { ApTransformDataHelper };
|