@flatbiz/antd 5.0.36 → 5.0.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/button-operate/index.d.ts +5 -5
- package/dist/button-operate/index.js +1 -1
- package/dist/{button-operate-CUkR47Pj.js → button-operate-DtuDijhO.js} +2 -1
- package/dist/button-operate-DtuDijhO.js.map +1 -0
- package/dist/button-wrapper/index.d.ts +1 -2
- package/dist/button-wrapper-DezyMqPx.js.map +1 -1
- package/dist/{cell-render-DzfB84nF.js → cell-render-fehZej28.js} +2 -2
- package/dist/{cell-render-DzfB84nF.js.map → cell-render-fehZej28.js.map} +1 -1
- package/dist/content-B5Twifti.js.map +1 -1
- package/dist/dialog-alert/index.d.ts +5 -5
- package/dist/dialog-alert-oCn1pNH0.js.map +1 -1
- package/dist/dialog-confirm/index.d.ts +4 -4
- package/dist/dialog-drag-modal/index.d.ts +4 -4
- package/dist/dialog-drawer/index.d.ts +4 -4
- package/dist/dialog-drawer-D_NeRR-R.js.map +1 -1
- package/dist/dialog-drawer-content/index.d.ts +4 -4
- package/dist/dialog-modal/index.d.ts +4 -4
- package/dist/dialog-modal-xVzOgsQO.js.map +1 -1
- package/dist/{drag-CLGaRrbr.js → drag-C1A8pxWB.js} +2 -2
- package/dist/{drag-CLGaRrbr.js.map → drag-C1A8pxWB.js.map} +1 -1
- package/dist/drag-editable-table/index.js +4 -4
- package/dist/drag-modal-B7atMt2P.js.map +1 -1
- package/dist/drawer-BITwshmb.js.map +1 -1
- package/dist/dropdown-menu-wrapper/index.d.ts +5 -5
- package/dist/dropdown-menu-wrapper-CfZMQb2W.js.map +1 -1
- package/dist/easy-table/index.d.ts +2 -2
- package/dist/editable-table/index.js +3 -3
- package/dist/{editable-table-D5Fc0B1_.js → editable-table-DbZx8fOM.js} +2 -2
- package/dist/{editable-table-D5Fc0B1_.js.map → editable-table-DbZx8fOM.js.map} +1 -1
- package/dist/fba-app/index.d.ts +7 -7
- package/dist/fba-app-BlOEAmoC.js.map +1 -1
- package/dist/index.d.ts +20 -20
- package/dist/index.js +4 -4
- package/dist/resizable-drawer/index.d.ts +2 -2
- package/dist/search-form/index.d.ts +2 -2
- package/dist/table-cell-render/index.d.ts +5 -5
- package/dist/table-cell-render/index.js +2 -2
- package/dist/tag-wrapper/index.d.ts +1 -2
- package/dist/tag-wrapper-CJsZ8Jvy.js.map +1 -1
- package/dist/tree-modal/index.d.ts +5 -5
- package/dist/tree-modal/index.js +1 -1
- package/dist/tree-modal-selector/index.d.ts +5 -5
- package/dist/tree-modal-selector/index.js +1 -1
- package/dist/tree-wrapper/index.d.ts +5 -5
- package/dist/tree-wrapper/index.js +1 -1
- package/package.json +1 -1
- package/dist/button-operate-CUkR47Pj.js.map +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { TAny, TNoopDefine, TPlainObject } from '@flatbiz/utils';
|
|
2
2
|
import { ButtonProps, DropdownProps, FormInstance, ModalProps, PopconfirmProps, SpaceProps, TreeProps } from 'antd';
|
|
3
3
|
import { ConfigProviderProps } from 'antd/es/config-provider';
|
|
4
|
-
import { CSSProperties, DependencyList,
|
|
4
|
+
import { CSSProperties, DependencyList, ReactElement, ReactNode } from 'react';
|
|
5
5
|
|
|
6
6
|
export type ButtonWrapperProps = Omit<ButtonProps, "onClick" | "color"> & {
|
|
7
7
|
/** 当返回 Promise 时,按钮自动loading */
|
|
8
|
-
onClick?: (e: MouseEvent
|
|
8
|
+
onClick?: (e: React.MouseEvent) => Promise<TAny> | void;
|
|
9
9
|
/** 重复点击间隙,单位毫秒 默认值:500 */
|
|
10
10
|
debounceDuration?: number;
|
|
11
11
|
/** 基于GLOBAL中elemAclLimits按钮权限列表,控制按钮显示、隐藏 */
|
|
@@ -44,8 +44,8 @@ export type DialogModalProps = Omit<ModalProps, "onOk" | "onCancel" | "getContai
|
|
|
44
44
|
* ```
|
|
45
45
|
*/
|
|
46
46
|
size?: "small" | "middle" | "large" | null;
|
|
47
|
-
onOk?: (form: FormInstance, e: MouseEvent<HTMLElement>) => void | Promise<void>;
|
|
48
|
-
onCancel?: (form: FormInstance, e: MouseEvent<HTMLElement>) => void | Promise<void>;
|
|
47
|
+
onOk?: (form: FormInstance, e: React.MouseEvent<HTMLElement>) => void | Promise<void>;
|
|
48
|
+
onCancel?: (form: FormInstance, e: React.MouseEvent<HTMLElement>) => void | Promise<void>;
|
|
49
49
|
content: string | ReactElement | ((form: FormInstance, operate: {
|
|
50
50
|
onClose: TNoopDefine;
|
|
51
51
|
}) => ReactElement);
|
|
@@ -77,7 +77,7 @@ export type DialogModalProps = Omit<ModalProps, "onOk" | "onCancel" | "getContai
|
|
|
77
77
|
export interface DropdownMenuItem extends Omit<ButtonProps, "color"> {
|
|
78
78
|
text?: string | ReactElement;
|
|
79
79
|
color?: string;
|
|
80
|
-
onClick?: (event: MouseEvent<HTMLElement>) => void | Promise<void>;
|
|
80
|
+
onClick?: (event: React.MouseEvent<HTMLElement>) => void | Promise<void>;
|
|
81
81
|
permission?: string;
|
|
82
82
|
needConfirm?: boolean;
|
|
83
83
|
confirmMessage?: ReactNode;
|
package/dist/tree-modal/index.js
CHANGED
|
@@ -42,7 +42,7 @@ import '@ant-design/icons/es/icons/MoreOutlined.js';
|
|
|
42
42
|
import '@dimjs/utils/extend/extend';
|
|
43
43
|
import '@dimjs/utils/get/get';
|
|
44
44
|
import '@dimjs/model';
|
|
45
|
-
import '../button-operate-
|
|
45
|
+
import '../button-operate-DtuDijhO.js';
|
|
46
46
|
import '@dimjs/lang/is-plain-object';
|
|
47
47
|
import '@dimjs/lang/is-promise';
|
|
48
48
|
import '../button-wrapper-DezyMqPx.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { TAny, TNoopDefine, TPlainObject } from '@flatbiz/utils';
|
|
2
2
|
import { ButtonProps, DropdownProps, FormInstance, ModalProps, PopconfirmProps, SpaceProps, TreeProps } from 'antd';
|
|
3
3
|
import { ConfigProviderProps } from 'antd/es/config-provider';
|
|
4
|
-
import { CSSProperties, DependencyList,
|
|
4
|
+
import { CSSProperties, DependencyList, ReactElement, ReactNode } from 'react';
|
|
5
5
|
|
|
6
6
|
export type ButtonWrapperProps = Omit<ButtonProps, "onClick" | "color"> & {
|
|
7
7
|
/** 当返回 Promise 时,按钮自动loading */
|
|
8
|
-
onClick?: (e: MouseEvent
|
|
8
|
+
onClick?: (e: React.MouseEvent) => Promise<TAny> | void;
|
|
9
9
|
/** 重复点击间隙,单位毫秒 默认值:500 */
|
|
10
10
|
debounceDuration?: number;
|
|
11
11
|
/** 基于GLOBAL中elemAclLimits按钮权限列表,控制按钮显示、隐藏 */
|
|
@@ -44,8 +44,8 @@ export type DialogModalProps = Omit<ModalProps, "onOk" | "onCancel" | "getContai
|
|
|
44
44
|
* ```
|
|
45
45
|
*/
|
|
46
46
|
size?: "small" | "middle" | "large" | null;
|
|
47
|
-
onOk?: (form: FormInstance, e: MouseEvent<HTMLElement>) => void | Promise<void>;
|
|
48
|
-
onCancel?: (form: FormInstance, e: MouseEvent<HTMLElement>) => void | Promise<void>;
|
|
47
|
+
onOk?: (form: FormInstance, e: React.MouseEvent<HTMLElement>) => void | Promise<void>;
|
|
48
|
+
onCancel?: (form: FormInstance, e: React.MouseEvent<HTMLElement>) => void | Promise<void>;
|
|
49
49
|
content: string | ReactElement | ((form: FormInstance, operate: {
|
|
50
50
|
onClose: TNoopDefine;
|
|
51
51
|
}) => ReactElement);
|
|
@@ -77,7 +77,7 @@ export type DialogModalProps = Omit<ModalProps, "onOk" | "onCancel" | "getContai
|
|
|
77
77
|
export interface DropdownMenuItem extends Omit<ButtonProps, "color"> {
|
|
78
78
|
text?: string | ReactElement;
|
|
79
79
|
color?: string;
|
|
80
|
-
onClick?: (event: MouseEvent<HTMLElement>) => void | Promise<void>;
|
|
80
|
+
onClick?: (event: React.MouseEvent<HTMLElement>) => void | Promise<void>;
|
|
81
81
|
permission?: string;
|
|
82
82
|
needConfirm?: boolean;
|
|
83
83
|
confirmMessage?: ReactNode;
|
|
@@ -45,7 +45,7 @@ import '@ant-design/icons/es/icons/MoreOutlined.js';
|
|
|
45
45
|
import '@dimjs/utils/extend/extend';
|
|
46
46
|
import '@dimjs/utils/get/get';
|
|
47
47
|
import '@dimjs/model';
|
|
48
|
-
import '../button-operate-
|
|
48
|
+
import '../button-operate-DtuDijhO.js';
|
|
49
49
|
import '@dimjs/lang/is-plain-object';
|
|
50
50
|
import '@dimjs/lang/is-promise';
|
|
51
51
|
import '../button-wrapper-DezyMqPx.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { TAny, TNoopDefine, TPlainObject } from '@flatbiz/utils';
|
|
2
2
|
import { ButtonProps, DropdownProps, FormInstance, ModalProps, PopconfirmProps, SpaceProps, TreeProps } from 'antd';
|
|
3
3
|
import { ConfigProviderProps } from 'antd/es/config-provider';
|
|
4
|
-
import { CSSProperties, DependencyList, ForwardRefExoticComponent,
|
|
4
|
+
import { CSSProperties, DependencyList, ForwardRefExoticComponent, ReactElement, ReactNode, RefAttributes } from 'react';
|
|
5
5
|
|
|
6
6
|
export type ButtonWrapperProps = Omit<ButtonProps, "onClick" | "color"> & {
|
|
7
7
|
/** 当返回 Promise 时,按钮自动loading */
|
|
8
|
-
onClick?: (e: MouseEvent
|
|
8
|
+
onClick?: (e: React.MouseEvent) => Promise<TAny> | void;
|
|
9
9
|
/** 重复点击间隙,单位毫秒 默认值:500 */
|
|
10
10
|
debounceDuration?: number;
|
|
11
11
|
/** 基于GLOBAL中elemAclLimits按钮权限列表,控制按钮显示、隐藏 */
|
|
@@ -44,8 +44,8 @@ export type DialogModalProps = Omit<ModalProps, "onOk" | "onCancel" | "getContai
|
|
|
44
44
|
* ```
|
|
45
45
|
*/
|
|
46
46
|
size?: "small" | "middle" | "large" | null;
|
|
47
|
-
onOk?: (form: FormInstance, e: MouseEvent<HTMLElement>) => void | Promise<void>;
|
|
48
|
-
onCancel?: (form: FormInstance, e: MouseEvent<HTMLElement>) => void | Promise<void>;
|
|
47
|
+
onOk?: (form: FormInstance, e: React.MouseEvent<HTMLElement>) => void | Promise<void>;
|
|
48
|
+
onCancel?: (form: FormInstance, e: React.MouseEvent<HTMLElement>) => void | Promise<void>;
|
|
49
49
|
content: string | ReactElement | ((form: FormInstance, operate: {
|
|
50
50
|
onClose: TNoopDefine;
|
|
51
51
|
}) => ReactElement);
|
|
@@ -77,7 +77,7 @@ export type DialogModalProps = Omit<ModalProps, "onOk" | "onCancel" | "getContai
|
|
|
77
77
|
export interface DropdownMenuItem extends Omit<ButtonProps, "color"> {
|
|
78
78
|
text?: string | ReactElement;
|
|
79
79
|
color?: string;
|
|
80
|
-
onClick?: (event: MouseEvent<HTMLElement>) => void | Promise<void>;
|
|
80
|
+
onClick?: (event: React.MouseEvent<HTMLElement>) => void | Promise<void>;
|
|
81
81
|
permission?: string;
|
|
82
82
|
needConfirm?: boolean;
|
|
83
83
|
confirmMessage?: ReactNode;
|
|
@@ -24,7 +24,7 @@ import { get } from '@dimjs/utils/get/get';
|
|
|
24
24
|
import { forwardRef, useState, useMemo, useRef, useImperativeHandle, Fragment, isValidElement } from 'react';
|
|
25
25
|
import { Spin, Tree, Button, message } from 'antd';
|
|
26
26
|
import { cloneState } from '@dimjs/model';
|
|
27
|
-
import { a as ButtonOperate } from '../button-operate-
|
|
27
|
+
import { a as ButtonOperate } from '../button-operate-DtuDijhO.js';
|
|
28
28
|
import { D as DropdownMenuWrapper } from '../dropdown-menu-wrapper-CfZMQb2W.js';
|
|
29
29
|
import { fbaHooks } from '../fba-hooks/index.js';
|
|
30
30
|
import { I as InputSearchWrapper } from '../input-search-wrapper-dVFSFf3t.js';
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button-operate-CUkR47Pj.js","sources":["@flatbiz/antd/src/button-operate/button-operate.tsx"],"sourcesContent":["import type { CSSProperties, FC, ReactElement, ReactNode } from 'react';\nimport { Fragment, isValidElement, useMemo, useState } from 'react';\nimport type { PopconfirmProps, SpaceProps } from 'antd';\nimport { Button, Divider, Popconfirm, Popover, Space, Tooltip } from 'antd';\nimport { MoreOutlined } from '@ant-design/icons';\nimport { isPlainObject, isPromise, isString, isUndefined } from '@dimjs/lang';\nimport { classNames } from '@dimjs/utils';\nimport { hooks } from '@wove/react';\nimport type { ButtonWrapperProps } from '../button-wrapper/button-wrapper.jsx';\nimport { ButtonWrapper } from '../button-wrapper/button-wrapper.jsx';\nimport type { DialogModalProps } from '../dialog-modal/dialog-modal.jsx';\nimport type { DropdownMenuWrapperProps } from '../dropdown-menu-wrapper/dropdown-menu-wrapper.jsx';\nimport { DropdownMenuWrapper } from '../dropdown-menu-wrapper/dropdown-menu-wrapper.jsx';\nimport { fbaUtils } from '../fba-utils/index.js';\nimport './style.less';\n\nexport interface ButtonOperateItem extends ButtonWrapperProps {\n /** hover 提示文字,isFold=true无效 */\n hoverTips?: string | ReactElement;\n /** hover 提示类型 默认:'tooltip' */\n tipsType?: 'popover' | 'tooltip';\n /** 按钮文案 */\n text?: string | ReactElement;\n /** 自定义按钮颜色 */\n color?: string;\n /** 是否需要二次弹框确认 */\n needConfirm?: boolean;\n /** 二次弹框确认文案 */\n confirmMessage?: ReactNode;\n /* isFold=false & needConfirm=true 有效 */\n popconfirmProps?: Pick<\n PopconfirmProps,\n 'placement' | 'okText' | 'cancelText' | 'trigger'\n >;\n /** 是否折叠合拢 */\n isFold?: boolean;\n /* isFold=true & needConfirm=true 有效 */\n confirmModalProps?: DialogModalProps;\n /** 是否显示按钮,优先级高于 hidden */\n show?: boolean;\n}\n\nexport interface ButtonOperateProps {\n className?: string;\n style?: CSSProperties;\n /**\n * 如果数组中元素为ReactElement类型\n * 1. 一般为antd Button组件,如果组件存在属性hidden=true、v-hidden=true,则会隐藏\n * 2. 可配置 v-permission 权限值,例如 v-permission=\"add\"\n * 3. 任何confirm、disabled等状态在外部控制\n * 3. 不支持fold效果\n */\n operateList: Array<ButtonOperateItem | null | ReactElement>;\n /** 是否换行,默认true */\n wrap?: boolean;\n /** 隐藏图标Icon */\n foldIcon?: ReactElement;\n /** 按钮之间是否添加分隔符 */\n split?: boolean;\n /** 多个按钮的包装组件Space属性 */\n spaceProps?: SpaceProps;\n /** 间距,默认:10;split=true配置下无效(可通过spaceProps设置间距) */\n gap?: number;\n /** 折叠合拢属性 */\n dropdownMenuProps?: Omit<DropdownMenuWrapperProps, 'menuList'>;\n}\n\nexport const ButtonOperateItemContent = (\n props: Pick<ButtonOperateItem, 'hoverTips' | 'tipsType'> & {\n content: ReactNode;\n }\n) => {\n if (props.hoverTips) {\n if (props.tipsType === 'popover') {\n return (\n <Popover content={props.hoverTips} zIndex={1000}>\n <span>{props.content}</span>\n </Popover>\n );\n }\n return (\n <Tooltip title={props.hoverTips} zIndex={1000}>\n <span>{props.content}</span>\n </Tooltip>\n );\n }\n if (isValidElement(props.content)) {\n return <Fragment>{props.content}</Fragment>;\n }\n // ButtonOperate item 内部 span 包文案会有动态效果\n return <span>{props.content}</span>;\n};\n\n/**\n * 按钮组合处理组件\n * ```\n * 1. operateList中存在ReactElement类型的元素,可通过配置 v-permission 属性来设置权限,例如 v-permission=\"add\"\n * 2. operateList中存在ReactElement类型的元素,如果有hidden、v-hidden属性,值为true会隐藏\n *\n *\n * flatbiz/antd@4.2.49\n * 1. 替换 Fold 中 needConfirm交互,有 Popconfirm 改为 dialogConfirm组件实现二次弹框确认功能\n * 2. 修改原因:升级 antd 5.5.1 后,Dropdown 中 Popconfirm弹框组合使用存在问题\n * ```\n */\nexport const ButtonOperate: FC<ButtonOperateProps> = (props) => {\n const [loading, setLoading] = useState(false);\n\n const onConfirm = hooks.useCallbackRef((item: ButtonOperateItem, event) => {\n const result = item.onClick?.(event);\n if (result && isPromise(result)) {\n setLoading(true);\n return result.finally(() => {\n setLoading(false);\n });\n }\n return;\n });\n\n const operateList = props.operateList.filter((item) => {\n if (!item) return false;\n if (isValidElement(item)) {\n if (item.props?.['hidden'] === true) return false;\n if (item.props?.['v-hidden'] === true) return false;\n const permission = item.props?.['v-permission'];\n if (isString(permission)) {\n return fbaUtils.hasPermission(permission);\n }\n return true;\n }\n if (isPlainObject(item)) {\n if (!fbaUtils.hasPermission(item['permission'])) {\n return false;\n }\n if (Object.prototype.hasOwnProperty.call(item, 'show')) {\n return item['show'];\n } else if (Object.prototype.hasOwnProperty.call(item, 'hidden')) {\n return !item['hidden'];\n }\n return true;\n }\n return false;\n }) as Array<ButtonOperateItem | ReactElement>;\n\n const viewList = useMemo(() => {\n return operateList.filter((item) => {\n if (isValidElement(item)) {\n return true;\n }\n return !item['isFold'];\n }) as ButtonOperateItem[];\n }, [operateList]);\n\n const foldList = useMemo(() => {\n const filterList = operateList.filter((item) => {\n if (isValidElement(item)) {\n return false;\n }\n return item['isFold'];\n }) as ButtonOperateItem[];\n const result = [] as ButtonOperateItem[];\n filterList.forEach((item) => {\n const target = { ...item };\n // 多余字段渲染到react dom上,出现警告\n delete target.isFold;\n result.push(target);\n });\n return result;\n }, [operateList]);\n\n const gap = props.gap === undefined ? 10 : props.gap;\n const size = !props.split ? gap : 0;\n\n return (\n <div\n className={classNames('table-operate', props.className)}\n style={props.style}\n >\n <Space\n split={props.split ? <Divider type=\"vertical\" /> : null}\n size={size}\n wrap={isUndefined(props.wrap) ? true : props.wrap}\n {...props.spaceProps}\n >\n {viewList.map((item, index) => {\n if (item && isValidElement(item)) {\n return (\n <ButtonOperateItemContent\n content={item}\n hoverTips={item.hoverTips}\n tipsType={item.tipsType}\n key={index}\n />\n );\n }\n const {\n text,\n onClick,\n needConfirm,\n confirmMessage,\n popconfirmProps,\n hoverTips,\n color,\n tipsType,\n type,\n // 多余字段渲染到react dom上,出现警告\n isFold: _isFold,\n ...otherProps\n } = item;\n const typeFt = type || 'link';\n if (needConfirm && !otherProps.disabled) {\n const danger = color ? false : true;\n return (\n <Popconfirm\n okText=\"确定\"\n cancelText=\"取消\"\n trigger={['click']}\n placement=\"topRight\"\n arrow={true}\n destroyTooltipOnHide={true}\n {...popconfirmProps}\n title={confirmMessage}\n onConfirm={onConfirm.bind(null, item)}\n key={index}\n okButtonProps={{\n loading,\n }}\n onOpenChange={(_open) => {\n if (!_open) {\n setLoading(false);\n }\n }}\n onCancel={(event) => {\n event?.stopPropagation();\n }}\n >\n <ButtonWrapper\n danger={danger}\n {...otherProps}\n onClick={(event) => {\n event.stopPropagation();\n }}\n type={typeFt}\n >\n <ButtonOperateItemContent\n content={text}\n hoverTips={hoverTips}\n tipsType={tipsType}\n key={index}\n />\n </ButtonWrapper>\n </Popconfirm>\n );\n }\n return (\n <ButtonWrapper\n loadingPosition=\"center\"\n {...otherProps}\n type={typeFt}\n onClick={(event) => {\n event.stopPropagation();\n return onClick?.(event);\n }}\n key={index}\n >\n <ButtonOperateItemContent\n content={text}\n hoverTips={hoverTips}\n tipsType={item.tipsType}\n />\n </ButtonWrapper>\n );\n })}\n {foldList.length > 0 ? (\n <DropdownMenuWrapper\n menuList={foldList}\n placement=\"bottom\"\n {...props.dropdownMenuProps}\n >\n <Button\n type=\"link\"\n className=\"fold-more-button\"\n onClick={(event) => {\n event.stopPropagation();\n }}\n >\n {props.foldIcon ? props.foldIcon : <MoreOutlined />}\n </Button>\n </DropdownMenuWrapper>\n ) : null}\n </Space>\n </div>\n );\n};\n\nButtonOperate.defaultProps = {\n split: true,\n};\n"],"names":["ButtonOperateItemContent","props","hoverTips","tipsType","_jsx","Popover","content","zIndex","children","Tooltip","title","isValidElement","Fragment","ButtonOperate","_useState","useState","_useState2","_slicedToArray","loading","setLoading","onConfirm","_hooks","useCallbackRef","item","event","_item$onClick","result","onClick","call","_isPromise","finally","operateList","filter","_item$props","_item$props2","_item$props3","permission","_isString","fbaUtils","hasPermission","_isPlainObject","Object","prototype","hasOwnProperty","viewList","useMemo","foldList","filterList","forEach","target","_objectSpread","isFold","push","gap","undefined","size","split","className","_classNames","style","_jsxs","Space","Divider","type","wrap","_isUndefined","spaceProps","map","index","text","needConfirm","confirmMessage","popconfirmProps","color","otherProps","_objectWithoutProperties","_excluded","typeFt","disabled","danger","_createElement","Popconfirm","okText","cancelText","trigger","placement","arrow","destroyTooltipOnHide","bind","key","okButtonProps","onOpenChange","_open","onCancel","stopPropagation","ButtonWrapper","loadingPosition","length","DropdownMenuWrapper","menuList","dropdownMenuProps","Button","foldIcon","_MoreOutlined","defaultProps"],"mappings":";;;;;;;;;;;;;;;;;;IAmEaA,wBAAwB,GAAG,SAA3BA,wBAAwBA,CACnCC,KAEC,EACE;EACH,IAAIA,KAAK,CAACC,SAAS,EAAE;AACnB,IAAA,IAAID,KAAK,CAACE,QAAQ,KAAK,SAAS,EAAE;MAChC,oBACEC,GAAA,CAACC,OAAO,EAAA;QAACC,OAAO,EAAEL,KAAK,CAACC,SAAU;AAACK,QAAAA,MAAM,EAAE,IAAK;AAAAC,QAAAA,QAAA,eAC9CJ,GAAA,CAAA,MAAA,EAAA;UAAAI,QAAA,EAAOP,KAAK,CAACK;SAAc;AAAC,OACrB,CAAC;AAEd;IACA,oBACEF,GAAA,CAACK,OAAO,EAAA;MAACC,KAAK,EAAET,KAAK,CAACC,SAAU;AAACK,MAAAA,MAAM,EAAE,IAAK;AAAAC,MAAAA,QAAA,eAC5CJ,GAAA,CAAA,MAAA,EAAA;QAAAI,QAAA,EAAOP,KAAK,CAACK;OAAc;AAAC,KACrB,CAAC;AAEd;AACA,EAAA,iBAAIK,cAAc,CAACV,KAAK,CAACK,OAAO,CAAC,EAAE;IACjC,oBAAOF,GAAA,CAACQ,QAAQ,EAAA;MAAAJ,QAAA,EAAEP,KAAK,CAACK;AAAO,KAAW,CAAC;AAC7C;AACA;AACA,EAAA,oBAAOF,GAAA,CAAA,MAAA,EAAA;IAAAI,QAAA,EAAOP,KAAK,CAACK;AAAO,GAAO,CAAC;AACrC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACaO,aAAqC,GAAG,SAAxCA,aAAqCA,CAAIZ,KAAK,EAAK;AAC9D,EAAA,IAAAa,SAAA,GAA8BC,Q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