@aplus-frontend/ui 0.1.16 → 0.1.17
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-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 +21 -21
- 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/index.d.ts +660 -1
- package/es/src/business/index.mjs +24 -17
- 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/pro-form/hooks/use-label-width.d.ts +1 -1
- package/es/src/theme/ap-batch-action/ap-batch-action.css +2 -0
- package/lib/index.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-image/ApImage.vue.js +1 -0
- 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/index.d.ts +660 -1
- 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/pro-form/hooks/use-label-width.d.ts +1 -1
- package/lib/src/theme/ap-batch-action/ap-batch-action.css +2 -0
- package/package.json +2 -2
- /package/es/src/ap-modal/{type.mjs → interface.mjs} +0 -0
- /package/lib/src/ap-modal/{type.js → interface.js} +0 -0
|
@@ -6,8 +6,22 @@ import { ApStatusProps, ApStatusGroupItemProps } from './ap-status/interface';
|
|
|
6
6
|
import { ApSelectItem } from './ap-select-layout/interface';
|
|
7
7
|
import { ValueType } from 'ant-design-vue/es/input-number/src/utils/MiniDecimal';
|
|
8
8
|
import { ApInputRadioOptions } from './ap-input-radio/interface';
|
|
9
|
-
import { KeyboardEventHandler } from 'ant-design-vue/es/_util/EventInterface';
|
|
9
|
+
import { KeyboardEventHandler, MouseEventHandler } from 'ant-design-vue/es/_util/EventInterface';
|
|
10
10
|
import { ApLabelGroupItemProps } from './ap-label/interface';
|
|
11
|
+
import { ButtonType, ButtonShape, ButtonSize } from 'ant-design-vue/es/button';
|
|
12
|
+
import { ButtonHTMLType } from 'ant-design-vue/es/button/buttonTypes';
|
|
13
|
+
import { VueTypeValidableDef } from '../../node_modules/vue-types';
|
|
14
|
+
import { ButtonType } from 'ant-design-vue/lib/button';
|
|
15
|
+
import { ButtonHTMLType } from 'ant-design-vue/lib/button/buttonTypes';
|
|
16
|
+
import { MouseEventHandler, FocusEventHandler } from 'ant-design-vue/lib/_util/EventInterface';
|
|
17
|
+
import { DropdownArrowOptions, Trigger, Align } from 'ant-design-vue/lib/dropdown/props';
|
|
18
|
+
import { ItemType, MenuTheme, MenuMode } from 'ant-design-vue/lib';
|
|
19
|
+
import { Key } from 'ant-design-vue/lib/_util/type';
|
|
20
|
+
import { CSSMotionProps } from 'ant-design-vue/lib/_util/transition';
|
|
21
|
+
import { BuiltinPlacements, TriggerSubMenuAction, SelectEventHandler, MenuClickEventHandler } from 'ant-design-vue/lib/menu/src/interface';
|
|
22
|
+
import { ApBatchActionGroupMenuProps } from './ap-batch-action-group/interface';
|
|
23
|
+
import { accessCreate } from '@aplus-frontend/oss';
|
|
24
|
+
import { ImagePreviewType } from 'ant-design-vue/lib/vc-image';
|
|
11
25
|
export type { ApTitleProps } from './title/interface';
|
|
12
26
|
export type { ApExpandAlertProps } from './expandAlert/interface';
|
|
13
27
|
export type { ApLabelProps, ApLabelGroupProps, ApLabelGroupItemProps } from './ap-label/interface';
|
|
@@ -15,6 +29,7 @@ export type { ApStatusProps, ApStatusGroupProps, ApStatusGroupItemProps } from '
|
|
|
15
29
|
export type { ApSelectItem, ApSelectLayoutProps } from './ap-select-layout/interface';
|
|
16
30
|
export type { ApInputRadioProps } from './ap-input-radio/interface';
|
|
17
31
|
export type { ApExportGroupProps } from './ap-export-group/interface';
|
|
32
|
+
export * from './ap-batch-action-group/interface';
|
|
18
33
|
export declare const ApTitle: {
|
|
19
34
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
20
35
|
title: {
|
|
@@ -1312,4 +1327,648 @@ export declare const ApLabelGroup: DefineComponent<{
|
|
|
1312
1327
|
record: any;
|
|
1313
1328
|
tagValue: string | number | undefined;
|
|
1314
1329
|
}, {}>;
|
|
1330
|
+
export declare const ApBatchActionGroup: DefineComponent<{
|
|
1331
|
+
selectedRows: {
|
|
1332
|
+
type: PropType<any[]>;
|
|
1333
|
+
};
|
|
1334
|
+
buttonProps: {
|
|
1335
|
+
type: PropType<({
|
|
1336
|
+
dropdownType?: "default" | undefined;
|
|
1337
|
+
} & Omit<Partial< ExtractPropTypes<{
|
|
1338
|
+
prefixCls: StringConstructor;
|
|
1339
|
+
type: PropType<ButtonType>;
|
|
1340
|
+
htmlType: {
|
|
1341
|
+
type: PropType<ButtonHTMLType>;
|
|
1342
|
+
default: string;
|
|
1343
|
+
};
|
|
1344
|
+
shape: {
|
|
1345
|
+
type: PropType<ButtonShape>;
|
|
1346
|
+
};
|
|
1347
|
+
size: {
|
|
1348
|
+
type: PropType<ButtonSize>;
|
|
1349
|
+
};
|
|
1350
|
+
loading: {
|
|
1351
|
+
type: PropType<boolean | {
|
|
1352
|
+
delay?: number;
|
|
1353
|
+
}>;
|
|
1354
|
+
default: () => boolean | {
|
|
1355
|
+
delay?: number;
|
|
1356
|
+
};
|
|
1357
|
+
};
|
|
1358
|
+
disabled: {
|
|
1359
|
+
type: BooleanConstructor;
|
|
1360
|
+
default: any;
|
|
1361
|
+
};
|
|
1362
|
+
ghost: {
|
|
1363
|
+
type: BooleanConstructor;
|
|
1364
|
+
default: any;
|
|
1365
|
+
};
|
|
1366
|
+
block: {
|
|
1367
|
+
type: BooleanConstructor;
|
|
1368
|
+
default: any;
|
|
1369
|
+
};
|
|
1370
|
+
danger: {
|
|
1371
|
+
type: BooleanConstructor;
|
|
1372
|
+
default: any;
|
|
1373
|
+
};
|
|
1374
|
+
icon: VueTypeValidableDef<any>;
|
|
1375
|
+
href: StringConstructor;
|
|
1376
|
+
target: StringConstructor;
|
|
1377
|
+
title: StringConstructor;
|
|
1378
|
+
onClick: {
|
|
1379
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
1380
|
+
};
|
|
1381
|
+
onMousedown: {
|
|
1382
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
1383
|
+
};
|
|
1384
|
+
}>>, "type"> & {
|
|
1385
|
+
type?: ButtonType | "borderLink" | undefined;
|
|
1386
|
+
content?: string;
|
|
1387
|
+
}) | ({
|
|
1388
|
+
dropdownType?: "dropdown" | undefined;
|
|
1389
|
+
} & Omit<Partial< ExtractPropTypes<{
|
|
1390
|
+
type: PropType<ButtonType>;
|
|
1391
|
+
size: PropType<"small" | "large">;
|
|
1392
|
+
htmlType: {
|
|
1393
|
+
type: PropType<ButtonHTMLType>;
|
|
1394
|
+
default: string;
|
|
1395
|
+
};
|
|
1396
|
+
href: StringConstructor;
|
|
1397
|
+
disabled: {
|
|
1398
|
+
type: BooleanConstructor;
|
|
1399
|
+
default: boolean;
|
|
1400
|
+
};
|
|
1401
|
+
prefixCls: StringConstructor;
|
|
1402
|
+
icon: VueTypeValidableDef<any>;
|
|
1403
|
+
title: StringConstructor;
|
|
1404
|
+
loading: {
|
|
1405
|
+
type: PropType<boolean | {
|
|
1406
|
+
delay?: number;
|
|
1407
|
+
}>;
|
|
1408
|
+
default: () => boolean | {
|
|
1409
|
+
delay?: number;
|
|
1410
|
+
};
|
|
1411
|
+
};
|
|
1412
|
+
onClick: {
|
|
1413
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
1414
|
+
};
|
|
1415
|
+
arrow: {
|
|
1416
|
+
type: PropType<boolean | DropdownArrowOptions>;
|
|
1417
|
+
default: boolean | DropdownArrowOptions;
|
|
1418
|
+
};
|
|
1419
|
+
trigger: {
|
|
1420
|
+
type: PropType< Trigger | Trigger[]>;
|
|
1421
|
+
};
|
|
1422
|
+
menu: {
|
|
1423
|
+
type: PropType<Partial< ExtractPropTypes<{
|
|
1424
|
+
id: StringConstructor;
|
|
1425
|
+
prefixCls: StringConstructor;
|
|
1426
|
+
items: PropType< ItemType[]>;
|
|
1427
|
+
disabled: BooleanConstructor;
|
|
1428
|
+
inlineCollapsed: BooleanConstructor;
|
|
1429
|
+
disabledOverflow: BooleanConstructor;
|
|
1430
|
+
forceSubMenuRender: BooleanConstructor;
|
|
1431
|
+
openKeys: PropType< Key[]>;
|
|
1432
|
+
selectedKeys: PropType< Key[]>;
|
|
1433
|
+
activeKey: StringConstructor;
|
|
1434
|
+
selectable: {
|
|
1435
|
+
type: BooleanConstructor;
|
|
1436
|
+
default: boolean;
|
|
1437
|
+
};
|
|
1438
|
+
multiple: {
|
|
1439
|
+
type: BooleanConstructor;
|
|
1440
|
+
default: boolean;
|
|
1441
|
+
};
|
|
1442
|
+
tabindex: {
|
|
1443
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1444
|
+
};
|
|
1445
|
+
motion: PropType<CSSMotionProps>;
|
|
1446
|
+
role: StringConstructor;
|
|
1447
|
+
theme: {
|
|
1448
|
+
type: PropType<MenuTheme>;
|
|
1449
|
+
default: string;
|
|
1450
|
+
};
|
|
1451
|
+
mode: {
|
|
1452
|
+
type: PropType<MenuMode>;
|
|
1453
|
+
default: string;
|
|
1454
|
+
};
|
|
1455
|
+
inlineIndent: {
|
|
1456
|
+
type: NumberConstructor;
|
|
1457
|
+
default: number;
|
|
1458
|
+
};
|
|
1459
|
+
subMenuOpenDelay: {
|
|
1460
|
+
type: NumberConstructor;
|
|
1461
|
+
default: number;
|
|
1462
|
+
};
|
|
1463
|
+
subMenuCloseDelay: {
|
|
1464
|
+
type: NumberConstructor;
|
|
1465
|
+
default: number;
|
|
1466
|
+
};
|
|
1467
|
+
builtinPlacements: {
|
|
1468
|
+
type: PropType<BuiltinPlacements>;
|
|
1469
|
+
};
|
|
1470
|
+
triggerSubMenuAction: {
|
|
1471
|
+
type: PropType<TriggerSubMenuAction>;
|
|
1472
|
+
default: string;
|
|
1473
|
+
};
|
|
1474
|
+
getPopupContainer: PropType<(node: HTMLElement) => HTMLElement>;
|
|
1475
|
+
expandIcon: PropType<(p?: {
|
|
1476
|
+
[key: string]: any;
|
|
1477
|
+
isOpen: boolean;
|
|
1478
|
+
}) => any>;
|
|
1479
|
+
onOpenChange: PropType<(keys: Key[]) => void>;
|
|
1480
|
+
onSelect: PropType<SelectEventHandler>;
|
|
1481
|
+
onDeselect: PropType<SelectEventHandler>;
|
|
1482
|
+
onClick: PropType<MenuClickEventHandler>;
|
|
1483
|
+
onFocus: PropType<FocusEventHandler>;
|
|
1484
|
+
onBlur: PropType<FocusEventHandler>;
|
|
1485
|
+
onMousedown: PropType<MouseEventHandler>;
|
|
1486
|
+
"onUpdate:openKeys": PropType<(keys: Key[]) => void>;
|
|
1487
|
+
"onUpdate:selectedKeys": PropType<(keys: Key[]) => void>;
|
|
1488
|
+
"onUpdate:activeKey": PropType<(key: Key) => void>;
|
|
1489
|
+
}>>>;
|
|
1490
|
+
default: Partial< ExtractPropTypes<{
|
|
1491
|
+
id: StringConstructor;
|
|
1492
|
+
prefixCls: StringConstructor;
|
|
1493
|
+
items: PropType< ItemType[]>;
|
|
1494
|
+
disabled: BooleanConstructor;
|
|
1495
|
+
inlineCollapsed: BooleanConstructor;
|
|
1496
|
+
disabledOverflow: BooleanConstructor;
|
|
1497
|
+
forceSubMenuRender: BooleanConstructor;
|
|
1498
|
+
openKeys: PropType< Key[]>;
|
|
1499
|
+
selectedKeys: PropType< Key[]>;
|
|
1500
|
+
activeKey: StringConstructor;
|
|
1501
|
+
selectable: {
|
|
1502
|
+
type: BooleanConstructor;
|
|
1503
|
+
default: boolean;
|
|
1504
|
+
};
|
|
1505
|
+
multiple: {
|
|
1506
|
+
type: BooleanConstructor;
|
|
1507
|
+
default: boolean;
|
|
1508
|
+
};
|
|
1509
|
+
tabindex: {
|
|
1510
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1511
|
+
};
|
|
1512
|
+
motion: PropType<CSSMotionProps>;
|
|
1513
|
+
role: StringConstructor;
|
|
1514
|
+
theme: {
|
|
1515
|
+
type: PropType<MenuTheme>;
|
|
1516
|
+
default: string;
|
|
1517
|
+
};
|
|
1518
|
+
mode: {
|
|
1519
|
+
type: PropType<MenuMode>;
|
|
1520
|
+
default: string;
|
|
1521
|
+
};
|
|
1522
|
+
inlineIndent: {
|
|
1523
|
+
type: NumberConstructor;
|
|
1524
|
+
default: number;
|
|
1525
|
+
};
|
|
1526
|
+
subMenuOpenDelay: {
|
|
1527
|
+
type: NumberConstructor;
|
|
1528
|
+
default: number;
|
|
1529
|
+
};
|
|
1530
|
+
subMenuCloseDelay: {
|
|
1531
|
+
type: NumberConstructor;
|
|
1532
|
+
default: number;
|
|
1533
|
+
};
|
|
1534
|
+
builtinPlacements: {
|
|
1535
|
+
type: PropType<BuiltinPlacements>;
|
|
1536
|
+
};
|
|
1537
|
+
triggerSubMenuAction: {
|
|
1538
|
+
type: PropType<TriggerSubMenuAction>;
|
|
1539
|
+
default: string;
|
|
1540
|
+
};
|
|
1541
|
+
getPopupContainer: PropType<(node: HTMLElement) => HTMLElement>;
|
|
1542
|
+
expandIcon: PropType<(p?: {
|
|
1543
|
+
[key: string]: any;
|
|
1544
|
+
isOpen: boolean;
|
|
1545
|
+
}) => any>;
|
|
1546
|
+
onOpenChange: PropType<(keys: Key[]) => void>;
|
|
1547
|
+
onSelect: PropType<SelectEventHandler>;
|
|
1548
|
+
onDeselect: PropType<SelectEventHandler>;
|
|
1549
|
+
onClick: PropType<MenuClickEventHandler>;
|
|
1550
|
+
onFocus: PropType<FocusEventHandler>;
|
|
1551
|
+
onBlur: PropType<FocusEventHandler>;
|
|
1552
|
+
onMousedown: PropType<MouseEventHandler>;
|
|
1553
|
+
"onUpdate:openKeys": PropType<(keys: Key[]) => void>;
|
|
1554
|
+
"onUpdate:selectedKeys": PropType<(keys: Key[]) => void>;
|
|
1555
|
+
"onUpdate:activeKey": PropType<(key: Key) => void>;
|
|
1556
|
+
}>>;
|
|
1557
|
+
};
|
|
1558
|
+
overlay: VueTypeValidableDef<any>;
|
|
1559
|
+
visible: {
|
|
1560
|
+
type: BooleanConstructor;
|
|
1561
|
+
default: boolean;
|
|
1562
|
+
};
|
|
1563
|
+
open: {
|
|
1564
|
+
type: BooleanConstructor;
|
|
1565
|
+
default: boolean;
|
|
1566
|
+
};
|
|
1567
|
+
danger: {
|
|
1568
|
+
type: BooleanConstructor;
|
|
1569
|
+
default: boolean;
|
|
1570
|
+
};
|
|
1571
|
+
autofocus: {
|
|
1572
|
+
type: BooleanConstructor;
|
|
1573
|
+
default: boolean;
|
|
1574
|
+
};
|
|
1575
|
+
align: {
|
|
1576
|
+
type: PropType<Align>;
|
|
1577
|
+
default: Align;
|
|
1578
|
+
};
|
|
1579
|
+
getPopupContainer: PropType<(triggerNode: HTMLElement) => HTMLElement>;
|
|
1580
|
+
transitionName: StringConstructor;
|
|
1581
|
+
placement: PropType<"top" | "bottom" | "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | "topCenter" | "bottomCenter">;
|
|
1582
|
+
overlayClassName: StringConstructor;
|
|
1583
|
+
overlayStyle: {
|
|
1584
|
+
type: PropType<CSSProperties>;
|
|
1585
|
+
default: CSSProperties;
|
|
1586
|
+
};
|
|
1587
|
+
forceRender: {
|
|
1588
|
+
type: BooleanConstructor;
|
|
1589
|
+
default: boolean;
|
|
1590
|
+
};
|
|
1591
|
+
mouseEnterDelay: NumberConstructor;
|
|
1592
|
+
mouseLeaveDelay: NumberConstructor;
|
|
1593
|
+
openClassName: StringConstructor;
|
|
1594
|
+
minOverlayWidthMatchTrigger: {
|
|
1595
|
+
type: BooleanConstructor;
|
|
1596
|
+
default: boolean;
|
|
1597
|
+
};
|
|
1598
|
+
destroyPopupOnHide: {
|
|
1599
|
+
type: BooleanConstructor;
|
|
1600
|
+
default: boolean;
|
|
1601
|
+
};
|
|
1602
|
+
onVisibleChange: {
|
|
1603
|
+
type: PropType<(val: boolean) => void>;
|
|
1604
|
+
};
|
|
1605
|
+
'onUpdate:visible': {
|
|
1606
|
+
type: PropType<(val: boolean) => void>;
|
|
1607
|
+
};
|
|
1608
|
+
onOpenChange: {
|
|
1609
|
+
type: PropType<(val: boolean) => void>;
|
|
1610
|
+
};
|
|
1611
|
+
'onUpdate:open': {
|
|
1612
|
+
type: PropType<(val: boolean) => void>;
|
|
1613
|
+
};
|
|
1614
|
+
}>>, "type"> & {
|
|
1615
|
+
type?: ButtonType | "borderLink" | undefined;
|
|
1616
|
+
content?: string;
|
|
1617
|
+
})>;
|
|
1618
|
+
};
|
|
1619
|
+
menuList: {
|
|
1620
|
+
type: PropType< ApBatchActionGroupMenuProps<any>[]>;
|
|
1621
|
+
};
|
|
1622
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
1623
|
+
selectedRows: {
|
|
1624
|
+
type: PropType<any[]>;
|
|
1625
|
+
};
|
|
1626
|
+
buttonProps: {
|
|
1627
|
+
type: PropType<({
|
|
1628
|
+
dropdownType?: "default" | undefined;
|
|
1629
|
+
} & Omit<Partial< ExtractPropTypes<{
|
|
1630
|
+
prefixCls: StringConstructor;
|
|
1631
|
+
type: PropType<ButtonType>;
|
|
1632
|
+
htmlType: {
|
|
1633
|
+
type: PropType<ButtonHTMLType>;
|
|
1634
|
+
default: string;
|
|
1635
|
+
};
|
|
1636
|
+
shape: {
|
|
1637
|
+
type: PropType<ButtonShape>;
|
|
1638
|
+
};
|
|
1639
|
+
size: {
|
|
1640
|
+
type: PropType<ButtonSize>;
|
|
1641
|
+
};
|
|
1642
|
+
loading: {
|
|
1643
|
+
type: PropType<boolean | {
|
|
1644
|
+
delay?: number;
|
|
1645
|
+
}>;
|
|
1646
|
+
default: () => boolean | {
|
|
1647
|
+
delay?: number;
|
|
1648
|
+
};
|
|
1649
|
+
};
|
|
1650
|
+
disabled: {
|
|
1651
|
+
type: BooleanConstructor;
|
|
1652
|
+
default: any;
|
|
1653
|
+
};
|
|
1654
|
+
ghost: {
|
|
1655
|
+
type: BooleanConstructor;
|
|
1656
|
+
default: any;
|
|
1657
|
+
};
|
|
1658
|
+
block: {
|
|
1659
|
+
type: BooleanConstructor;
|
|
1660
|
+
default: any;
|
|
1661
|
+
};
|
|
1662
|
+
danger: {
|
|
1663
|
+
type: BooleanConstructor;
|
|
1664
|
+
default: any;
|
|
1665
|
+
};
|
|
1666
|
+
icon: VueTypeValidableDef<any>;
|
|
1667
|
+
href: StringConstructor;
|
|
1668
|
+
target: StringConstructor;
|
|
1669
|
+
title: StringConstructor;
|
|
1670
|
+
onClick: {
|
|
1671
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
1672
|
+
};
|
|
1673
|
+
onMousedown: {
|
|
1674
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
1675
|
+
};
|
|
1676
|
+
}>>, "type"> & {
|
|
1677
|
+
type?: ButtonType | "borderLink" | undefined;
|
|
1678
|
+
content?: string;
|
|
1679
|
+
}) | ({
|
|
1680
|
+
dropdownType?: "dropdown" | undefined;
|
|
1681
|
+
} & Omit<Partial< ExtractPropTypes<{
|
|
1682
|
+
type: PropType<ButtonType>;
|
|
1683
|
+
size: PropType<"small" | "large">;
|
|
1684
|
+
htmlType: {
|
|
1685
|
+
type: PropType<ButtonHTMLType>;
|
|
1686
|
+
default: string;
|
|
1687
|
+
};
|
|
1688
|
+
href: StringConstructor;
|
|
1689
|
+
disabled: {
|
|
1690
|
+
type: BooleanConstructor;
|
|
1691
|
+
default: boolean;
|
|
1692
|
+
};
|
|
1693
|
+
prefixCls: StringConstructor;
|
|
1694
|
+
icon: VueTypeValidableDef<any>;
|
|
1695
|
+
title: StringConstructor;
|
|
1696
|
+
loading: {
|
|
1697
|
+
type: PropType<boolean | {
|
|
1698
|
+
delay?: number;
|
|
1699
|
+
}>;
|
|
1700
|
+
default: () => boolean | {
|
|
1701
|
+
delay?: number;
|
|
1702
|
+
};
|
|
1703
|
+
};
|
|
1704
|
+
onClick: {
|
|
1705
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
1706
|
+
};
|
|
1707
|
+
arrow: {
|
|
1708
|
+
type: PropType<boolean | DropdownArrowOptions>;
|
|
1709
|
+
default: boolean | DropdownArrowOptions;
|
|
1710
|
+
};
|
|
1711
|
+
trigger: {
|
|
1712
|
+
type: PropType< Trigger | Trigger[]>;
|
|
1713
|
+
};
|
|
1714
|
+
menu: {
|
|
1715
|
+
type: PropType<Partial< ExtractPropTypes<{
|
|
1716
|
+
id: StringConstructor;
|
|
1717
|
+
prefixCls: StringConstructor;
|
|
1718
|
+
items: PropType< ItemType[]>;
|
|
1719
|
+
disabled: BooleanConstructor;
|
|
1720
|
+
inlineCollapsed: BooleanConstructor;
|
|
1721
|
+
disabledOverflow: BooleanConstructor;
|
|
1722
|
+
forceSubMenuRender: BooleanConstructor;
|
|
1723
|
+
openKeys: PropType< Key[]>;
|
|
1724
|
+
selectedKeys: PropType< Key[]>;
|
|
1725
|
+
activeKey: StringConstructor;
|
|
1726
|
+
selectable: {
|
|
1727
|
+
type: BooleanConstructor;
|
|
1728
|
+
default: boolean;
|
|
1729
|
+
};
|
|
1730
|
+
multiple: {
|
|
1731
|
+
type: BooleanConstructor;
|
|
1732
|
+
default: boolean;
|
|
1733
|
+
};
|
|
1734
|
+
tabindex: {
|
|
1735
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1736
|
+
};
|
|
1737
|
+
motion: PropType<CSSMotionProps>;
|
|
1738
|
+
role: StringConstructor;
|
|
1739
|
+
theme: {
|
|
1740
|
+
type: PropType<MenuTheme>;
|
|
1741
|
+
default: string;
|
|
1742
|
+
};
|
|
1743
|
+
mode: {
|
|
1744
|
+
type: PropType<MenuMode>;
|
|
1745
|
+
default: string;
|
|
1746
|
+
};
|
|
1747
|
+
inlineIndent: {
|
|
1748
|
+
type: NumberConstructor;
|
|
1749
|
+
default: number;
|
|
1750
|
+
};
|
|
1751
|
+
subMenuOpenDelay: {
|
|
1752
|
+
type: NumberConstructor;
|
|
1753
|
+
default: number;
|
|
1754
|
+
};
|
|
1755
|
+
subMenuCloseDelay: {
|
|
1756
|
+
type: NumberConstructor;
|
|
1757
|
+
default: number;
|
|
1758
|
+
};
|
|
1759
|
+
builtinPlacements: {
|
|
1760
|
+
type: PropType<BuiltinPlacements>;
|
|
1761
|
+
};
|
|
1762
|
+
triggerSubMenuAction: {
|
|
1763
|
+
type: PropType<TriggerSubMenuAction>;
|
|
1764
|
+
default: string;
|
|
1765
|
+
};
|
|
1766
|
+
getPopupContainer: PropType<(node: HTMLElement) => HTMLElement>;
|
|
1767
|
+
expandIcon: PropType<(p?: {
|
|
1768
|
+
[key: string]: any;
|
|
1769
|
+
isOpen: boolean;
|
|
1770
|
+
}) => any>;
|
|
1771
|
+
onOpenChange: PropType<(keys: Key[]) => void>;
|
|
1772
|
+
onSelect: PropType<SelectEventHandler>;
|
|
1773
|
+
onDeselect: PropType<SelectEventHandler>;
|
|
1774
|
+
onClick: PropType<MenuClickEventHandler>;
|
|
1775
|
+
onFocus: PropType<FocusEventHandler>;
|
|
1776
|
+
onBlur: PropType<FocusEventHandler>;
|
|
1777
|
+
onMousedown: PropType<MouseEventHandler>;
|
|
1778
|
+
"onUpdate:openKeys": PropType<(keys: Key[]) => void>;
|
|
1779
|
+
"onUpdate:selectedKeys": PropType<(keys: Key[]) => void>;
|
|
1780
|
+
"onUpdate:activeKey": PropType<(key: Key) => void>;
|
|
1781
|
+
}>>>;
|
|
1782
|
+
default: Partial< ExtractPropTypes<{
|
|
1783
|
+
id: StringConstructor;
|
|
1784
|
+
prefixCls: StringConstructor;
|
|
1785
|
+
items: PropType< ItemType[]>;
|
|
1786
|
+
disabled: BooleanConstructor;
|
|
1787
|
+
inlineCollapsed: BooleanConstructor;
|
|
1788
|
+
disabledOverflow: BooleanConstructor;
|
|
1789
|
+
forceSubMenuRender: BooleanConstructor;
|
|
1790
|
+
openKeys: PropType< Key[]>;
|
|
1791
|
+
selectedKeys: PropType< Key[]>;
|
|
1792
|
+
activeKey: StringConstructor;
|
|
1793
|
+
selectable: {
|
|
1794
|
+
type: BooleanConstructor;
|
|
1795
|
+
default: boolean;
|
|
1796
|
+
};
|
|
1797
|
+
multiple: {
|
|
1798
|
+
type: BooleanConstructor;
|
|
1799
|
+
default: boolean;
|
|
1800
|
+
};
|
|
1801
|
+
tabindex: {
|
|
1802
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1803
|
+
};
|
|
1804
|
+
motion: PropType<CSSMotionProps>;
|
|
1805
|
+
role: StringConstructor;
|
|
1806
|
+
theme: {
|
|
1807
|
+
type: PropType<MenuTheme>;
|
|
1808
|
+
default: string;
|
|
1809
|
+
};
|
|
1810
|
+
mode: {
|
|
1811
|
+
type: PropType<MenuMode>;
|
|
1812
|
+
default: string;
|
|
1813
|
+
};
|
|
1814
|
+
inlineIndent: {
|
|
1815
|
+
type: NumberConstructor;
|
|
1816
|
+
default: number;
|
|
1817
|
+
};
|
|
1818
|
+
subMenuOpenDelay: {
|
|
1819
|
+
type: NumberConstructor;
|
|
1820
|
+
default: number;
|
|
1821
|
+
};
|
|
1822
|
+
subMenuCloseDelay: {
|
|
1823
|
+
type: NumberConstructor;
|
|
1824
|
+
default: number;
|
|
1825
|
+
};
|
|
1826
|
+
builtinPlacements: {
|
|
1827
|
+
type: PropType<BuiltinPlacements>;
|
|
1828
|
+
};
|
|
1829
|
+
triggerSubMenuAction: {
|
|
1830
|
+
type: PropType<TriggerSubMenuAction>;
|
|
1831
|
+
default: string;
|
|
1832
|
+
};
|
|
1833
|
+
getPopupContainer: PropType<(node: HTMLElement) => HTMLElement>;
|
|
1834
|
+
expandIcon: PropType<(p?: {
|
|
1835
|
+
[key: string]: any;
|
|
1836
|
+
isOpen: boolean;
|
|
1837
|
+
}) => any>;
|
|
1838
|
+
onOpenChange: PropType<(keys: Key[]) => void>;
|
|
1839
|
+
onSelect: PropType<SelectEventHandler>;
|
|
1840
|
+
onDeselect: PropType<SelectEventHandler>;
|
|
1841
|
+
onClick: PropType<MenuClickEventHandler>;
|
|
1842
|
+
onFocus: PropType<FocusEventHandler>;
|
|
1843
|
+
onBlur: PropType<FocusEventHandler>;
|
|
1844
|
+
onMousedown: PropType<MouseEventHandler>;
|
|
1845
|
+
"onUpdate:openKeys": PropType<(keys: Key[]) => void>;
|
|
1846
|
+
"onUpdate:selectedKeys": PropType<(keys: Key[]) => void>;
|
|
1847
|
+
"onUpdate:activeKey": PropType<(key: Key) => void>;
|
|
1848
|
+
}>>;
|
|
1849
|
+
};
|
|
1850
|
+
overlay: VueTypeValidableDef<any>;
|
|
1851
|
+
visible: {
|
|
1852
|
+
type: BooleanConstructor;
|
|
1853
|
+
default: boolean;
|
|
1854
|
+
};
|
|
1855
|
+
open: {
|
|
1856
|
+
type: BooleanConstructor;
|
|
1857
|
+
default: boolean;
|
|
1858
|
+
};
|
|
1859
|
+
danger: {
|
|
1860
|
+
type: BooleanConstructor;
|
|
1861
|
+
default: boolean;
|
|
1862
|
+
};
|
|
1863
|
+
autofocus: {
|
|
1864
|
+
type: BooleanConstructor;
|
|
1865
|
+
default: boolean;
|
|
1866
|
+
};
|
|
1867
|
+
align: {
|
|
1868
|
+
type: PropType<Align>;
|
|
1869
|
+
default: Align;
|
|
1870
|
+
};
|
|
1871
|
+
getPopupContainer: PropType<(triggerNode: HTMLElement) => HTMLElement>;
|
|
1872
|
+
transitionName: StringConstructor;
|
|
1873
|
+
placement: PropType<"top" | "bottom" | "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | "topCenter" | "bottomCenter">;
|
|
1874
|
+
overlayClassName: StringConstructor;
|
|
1875
|
+
overlayStyle: {
|
|
1876
|
+
type: PropType<CSSProperties>;
|
|
1877
|
+
default: CSSProperties;
|
|
1878
|
+
};
|
|
1879
|
+
forceRender: {
|
|
1880
|
+
type: BooleanConstructor;
|
|
1881
|
+
default: boolean;
|
|
1882
|
+
};
|
|
1883
|
+
mouseEnterDelay: NumberConstructor;
|
|
1884
|
+
mouseLeaveDelay: NumberConstructor;
|
|
1885
|
+
openClassName: StringConstructor;
|
|
1886
|
+
minOverlayWidthMatchTrigger: {
|
|
1887
|
+
type: BooleanConstructor;
|
|
1888
|
+
default: boolean;
|
|
1889
|
+
};
|
|
1890
|
+
destroyPopupOnHide: {
|
|
1891
|
+
type: BooleanConstructor;
|
|
1892
|
+
default: boolean;
|
|
1893
|
+
};
|
|
1894
|
+
onVisibleChange: {
|
|
1895
|
+
type: PropType<(val: boolean) => void>;
|
|
1896
|
+
};
|
|
1897
|
+
'onUpdate:visible': {
|
|
1898
|
+
type: PropType<(val: boolean) => void>;
|
|
1899
|
+
};
|
|
1900
|
+
onOpenChange: {
|
|
1901
|
+
type: PropType<(val: boolean) => void>;
|
|
1902
|
+
};
|
|
1903
|
+
'onUpdate:open': {
|
|
1904
|
+
type: PropType<(val: boolean) => void>;
|
|
1905
|
+
};
|
|
1906
|
+
}>>, "type"> & {
|
|
1907
|
+
type?: ButtonType | "borderLink" | undefined;
|
|
1908
|
+
content?: string;
|
|
1909
|
+
})>;
|
|
1910
|
+
};
|
|
1911
|
+
menuList: {
|
|
1912
|
+
type: PropType< ApBatchActionGroupMenuProps<any>[]>;
|
|
1913
|
+
};
|
|
1914
|
+
}>>, {}, {}>;
|
|
1915
|
+
export declare const ApImage: DefineComponent<{
|
|
1916
|
+
path: StringConstructor;
|
|
1917
|
+
getOssAccess: PropType<() => Promise< accessCreate>>;
|
|
1918
|
+
onClick: {
|
|
1919
|
+
type: PropType<MouseEventHandler>;
|
|
1920
|
+
};
|
|
1921
|
+
onError: {
|
|
1922
|
+
type: PropType<OnErrorEventHandlerNonNull>;
|
|
1923
|
+
};
|
|
1924
|
+
prefixCls: StringConstructor;
|
|
1925
|
+
placeholder: VueTypeValidableDef<any>;
|
|
1926
|
+
preview: {
|
|
1927
|
+
type: PropType<boolean | ImagePreviewType>;
|
|
1928
|
+
default: boolean | ImagePreviewType;
|
|
1929
|
+
};
|
|
1930
|
+
rootClassName: StringConstructor;
|
|
1931
|
+
wrapperClassName: StringConstructor;
|
|
1932
|
+
fallback: StringConstructor;
|
|
1933
|
+
previewPrefixCls: StringConstructor;
|
|
1934
|
+
wrapperStyle: {
|
|
1935
|
+
type: PropType<CSSProperties>;
|
|
1936
|
+
default: CSSProperties;
|
|
1937
|
+
};
|
|
1938
|
+
previewMask: {
|
|
1939
|
+
type: PropType<false | (() => any)>;
|
|
1940
|
+
default: any;
|
|
1941
|
+
};
|
|
1942
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
1943
|
+
path: StringConstructor;
|
|
1944
|
+
getOssAccess: PropType<() => Promise< accessCreate>>;
|
|
1945
|
+
onClick: {
|
|
1946
|
+
type: PropType<MouseEventHandler>;
|
|
1947
|
+
};
|
|
1948
|
+
onError: {
|
|
1949
|
+
type: PropType<OnErrorEventHandlerNonNull>;
|
|
1950
|
+
};
|
|
1951
|
+
prefixCls: StringConstructor;
|
|
1952
|
+
placeholder: VueTypeValidableDef<any>;
|
|
1953
|
+
preview: {
|
|
1954
|
+
type: PropType<boolean | ImagePreviewType>;
|
|
1955
|
+
default: boolean | ImagePreviewType;
|
|
1956
|
+
};
|
|
1957
|
+
rootClassName: StringConstructor;
|
|
1958
|
+
wrapperClassName: StringConstructor;
|
|
1959
|
+
fallback: StringConstructor;
|
|
1960
|
+
previewPrefixCls: StringConstructor;
|
|
1961
|
+
wrapperStyle: {
|
|
1962
|
+
type: PropType<CSSProperties>;
|
|
1963
|
+
default: CSSProperties;
|
|
1964
|
+
};
|
|
1965
|
+
previewMask: {
|
|
1966
|
+
type: PropType<false | (() => any)>;
|
|
1967
|
+
default: any;
|
|
1968
|
+
};
|
|
1969
|
+
}>>, {
|
|
1970
|
+
preview: boolean | ImagePreviewType;
|
|
1971
|
+
wrapperStyle: CSSProperties;
|
|
1972
|
+
previewMask: false | (() => any);
|
|
1973
|
+
}, {}>;
|
|
1315
1974
|
export { ApTransformDataHelper };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@aplus-frontend/utils");require("./title/ApTitle.vue.js");require("./expandAlert/ApExpandAlert.vue.js");require("./ap-label/ApLabel.vue.js");const t=require("./ap-label/ApLabelGroup.js");require("./ap-status/ApStatus.vue.js");require("./ap-status/ApStatusGroup.vue.js");require("./ap-select-layout/select-layout.vue.js");require("./ap-export-group/ApExportGroup.vue.js");require("./ap-input-radio/ApInputRadio.vue.js");require("./ap-batch-action/ApBatchAction.vue.js");const u=require("../utils/ap-trans-data/index.js")
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@aplus-frontend/utils");require("./title/ApTitle.vue.js");require("./expandAlert/ApExpandAlert.vue.js");require("./ap-label/ApLabel.vue.js");const t=require("./ap-label/ApLabelGroup.js");require("./ap-status/ApStatus.vue.js");require("./ap-status/ApStatusGroup.vue.js");require("./ap-select-layout/select-layout.vue.js");require("./ap-export-group/ApExportGroup.vue.js");require("./ap-input-radio/ApInputRadio.vue.js");require("./ap-batch-action/ApBatchAction.vue.js");require("./ap-batch-action-group/ApBatchActionGroup.vue.js");require("./ap-image/ApImage.vue.js");const u=require("../utils/ap-trans-data/index.js");require("./ap-batch-action-group/interface.js");const r=require("./title/ApTitle.vue2.js"),p=require("./expandAlert/ApExpandAlert.vue2.js"),_=require("./ap-label/ApLabel.vue2.js"),a=require("./ap-status/ApStatus.vue2.js"),s=require("./ap-status/ApStatusGroup.vue2.js"),i=require("./ap-select-layout/select-layout.vue2.js"),n=require("./ap-export-group/ApExportGroup.vue2.js"),o=require("./ap-input-radio/ApInputRadio.vue2.js"),l=require("./ap-batch-action/ApBatchAction.vue2.js"),c=require("./ap-batch-action-group/ApBatchActionGroup.vue2.js"),A=require("./ap-image/ApImage.vue2.js"),q=e.withInstall(r.default),v=p.default,d=e.withInstall(_.default),g=e.withInstall(a.default),y=e.withInstall(s.default),f=e.withInstall(i.default),h=e.withInstall(n.default),G=o.default,I=l.default,S=t.default,L=c.default,b=A.default;exports.ApTransformDataHelper=u.ApTransformDataHelper;exports.ApBatchAction=I;exports.ApBatchActionGroup=L;exports.ApExpandAlert=v;exports.ApExportGroup=h;exports.ApImage=b;exports.ApInputRadio=G;exports.ApLabel=d;exports.ApLabelGroup=S;exports.ApSelectLayout=f;exports.ApStatus=g;exports.ApStatusGroup=y;exports.ApTitle=q;
|