@next-bricks/basic-bricks 1.259.0 → 1.259.1
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/deploy/contract.yaml +93 -93
- package/dist/bricks.json +23 -23
- package/dist/{index.5b6d32e5.js → index.55363629.js} +2 -2
- package/dist/{index.5b6d32e5.js.map → index.55363629.js.map} +1 -1
- package/package.json +3 -3
- package/dist/types/basic-bricks/src/advance-list-container/AdvanceListContainer.d.ts +0 -20
- package/dist/types/basic-bricks/src/advance-list-container/index.d.ts +0 -141
- package/dist/types/basic-bricks/src/app-bar/AppBar/AppBar.d.ts +0 -10
- package/dist/types/basic-bricks/src/app-bar/AppBarBreadcrumb/AppBarBreadcrumb.d.ts +0 -11
- package/dist/types/basic-bricks/src/app-bar/AppBarTips/AppBarTips.d.ts +0 -15
- package/dist/types/basic-bricks/src/app-bar/AppDocumentLink/AppDocumentLink.d.ts +0 -9
- package/dist/types/basic-bricks/src/app-bar/AppSetting/AppSetting.d.ts +0 -5
- package/dist/types/basic-bricks/src/app-bar/Desktop/Desktop.d.ts +0 -10
- package/dist/types/basic-bricks/src/app-bar/DesktopApp/DesktopApp.d.ts +0 -12
- package/dist/types/basic-bricks/src/app-bar/DesktopCell/DesktopCell.d.ts +0 -13
- package/dist/types/basic-bricks/src/app-bar/DesktopCustom/DesktopCustom.d.ts +0 -13
- package/dist/types/basic-bricks/src/app-bar/DesktopDir/DesktopDir.d.ts +0 -3
- package/dist/types/basic-bricks/src/app-bar/DesktopDirContent/DesktopDirContent.d.ts +0 -7
- package/dist/types/basic-bricks/src/app-bar/DesktopDirContext.d.ts +0 -16
- package/dist/types/basic-bricks/src/app-bar/DesktopSlider/DesktopSlider.d.ts +0 -10
- package/dist/types/basic-bricks/src/app-bar/DesktopSlider/desktopCursor.d.ts +0 -2
- package/dist/types/basic-bricks/src/app-bar/FavoriteDesktopCell/FavoriteDesktopCell.d.ts +0 -8
- package/dist/types/basic-bricks/src/app-bar/Launchpad/Launchpad.d.ts +0 -5
- package/dist/types/basic-bricks/src/app-bar/LaunchpadButton/LaunchpadButton.d.ts +0 -2
- package/dist/types/basic-bricks/src/app-bar/LaunchpadPortal/LaunchpadPortal.d.ts +0 -6
- package/dist/types/basic-bricks/src/app-bar/LaunchpadService.d.ts +0 -65
- package/dist/types/basic-bricks/src/app-bar/LaunchpadSettingsContext.d.ts +0 -7
- package/dist/types/basic-bricks/src/app-bar/LaunchpadWrapper/LaunchpadWrapper.d.ts +0 -6
- package/dist/types/basic-bricks/src/app-bar/License-notification/LicenseNotification.d.ts +0 -6
- package/dist/types/basic-bricks/src/app-bar/MyDesktop/MyDesktop.d.ts +0 -7
- package/dist/types/basic-bricks/src/app-bar/SearchBar/SearchBar.d.ts +0 -5
- package/dist/types/basic-bricks/src/app-bar/index.d.ts +0 -5
- package/dist/types/basic-bricks/src/app-bar/interfaces.d.ts +0 -4
- package/dist/types/basic-bricks/src/app-bar/site-map/SiteMap.d.ts +0 -20
- package/dist/types/basic-bricks/src/app-bar/utils/getImageUrl.d.ts +0 -2
- package/dist/types/basic-bricks/src/app-bar-breadcrumb/AppbarBreadcrumb.d.ts +0 -3
- package/dist/types/basic-bricks/src/app-bar-breadcrumb/index.d.ts +0 -33
- package/dist/types/basic-bricks/src/app-bar-logo/AppBarLogo.d.ts +0 -2
- package/dist/types/basic-bricks/src/app-bar-logo/index.d.ts +0 -19
- package/dist/types/basic-bricks/src/app-bar-setting/AppBarSetting.d.ts +0 -5
- package/dist/types/basic-bricks/src/app-bar-setting/index.d.ts +0 -24
- package/dist/types/basic-bricks/src/app-bar-wrapper/AppBarWrapper.d.ts +0 -6
- package/dist/types/basic-bricks/src/app-bar-wrapper/index.d.ts +0 -28
- package/dist/types/basic-bricks/src/app-document-link/AppDocumentLink.d.ts +0 -6
- package/dist/types/basic-bricks/src/app-document-link/index.d.ts +0 -31
- package/dist/types/basic-bricks/src/brick-error/BrickError.d.ts +0 -8
- package/dist/types/basic-bricks/src/brick-error/index.d.ts +0 -37
- package/dist/types/basic-bricks/src/delete-confirm-modal/DeleteConfirmModal.d.ts +0 -11
- package/dist/types/basic-bricks/src/delete-confirm-modal/index.d.ts +0 -35
- package/dist/types/basic-bricks/src/easy-view/EasyView.d.ts +0 -11
- package/dist/types/basic-bricks/src/easy-view/index.d.ts +0 -56
- package/dist/types/basic-bricks/src/event-agent/index.d.ts +0 -25
- package/dist/types/basic-bricks/src/export-json-file/index.d.ts +0 -51
- package/dist/types/basic-bricks/src/flex-layout/index.d.ts +0 -55
- package/dist/types/basic-bricks/src/fold-brick/FoldBrick.d.ts +0 -10
- package/dist/types/basic-bricks/src/fold-brick/index.d.ts +0 -28
- package/dist/types/basic-bricks/src/fold-brick-v2/FoldBrickV2.d.ts +0 -17
- package/dist/types/basic-bricks/src/fold-brick-v2/index.d.ts +0 -133
- package/dist/types/basic-bricks/src/general-anchor/GeneralAnchor.d.ts +0 -17
- package/dist/types/basic-bricks/src/general-anchor/index.d.ts +0 -91
- package/dist/types/basic-bricks/src/general-button/GeneralButton.d.ts +0 -38
- package/dist/types/basic-bricks/src/general-button/index.d.ts +0 -249
- package/dist/types/basic-bricks/src/general-card/GeneralCard.d.ts +0 -15
- package/dist/types/basic-bricks/src/general-card/index.d.ts +0 -120
- package/dist/types/basic-bricks/src/general-custom-buttons/GeneralCustomButtons.d.ts +0 -31
- package/dist/types/basic-bricks/src/general-custom-buttons/index.d.ts +0 -235
- package/dist/types/basic-bricks/src/general-drawer/GeneralDrawer.d.ts +0 -27
- package/dist/types/basic-bricks/src/general-drawer/index.d.ts +0 -191
- package/dist/types/basic-bricks/src/general-heading/GeneralHeading.d.ts +0 -9
- package/dist/types/basic-bricks/src/general-heading/index.d.ts +0 -43
- package/dist/types/basic-bricks/src/general-hotkeys/index.d.ts +0 -57
- package/dist/types/basic-bricks/src/general-modal/GeneralModal.d.ts +0 -33
- package/dist/types/basic-bricks/src/general-modal/index.d.ts +0 -330
- package/dist/types/basic-bricks/src/general-notification/index.d.ts +0 -131
- package/dist/types/basic-bricks/src/general-popup/GeneralPopup.d.ts +0 -21
- package/dist/types/basic-bricks/src/general-popup/index.d.ts +0 -95
- package/dist/types/basic-bricks/src/general-text/GeneralText.d.ts +0 -13
- package/dist/types/basic-bricks/src/general-text/index.d.ts +0 -81
- package/dist/types/basic-bricks/src/general-timer/index.d.ts +0 -70
- package/dist/types/basic-bricks/src/general-title/GeneralTitle.d.ts +0 -21
- package/dist/types/basic-bricks/src/general-title/index.d.ts +0 -129
- package/dist/types/basic-bricks/src/grid-layout/index.d.ts +0 -134
- package/dist/types/basic-bricks/src/header-bar/HeaderBar.d.ts +0 -6
- package/dist/types/basic-bricks/src/header-bar/index.d.ts +0 -46
- package/dist/types/basic-bricks/src/home-redirect/index.d.ts +0 -45
- package/dist/types/basic-bricks/src/i18n/constants.d.ts +0 -34
- package/dist/types/basic-bricks/src/index-card/IndexCard.d.ts +0 -7
- package/dist/types/basic-bricks/src/index-card/index.d.ts +0 -39
- package/dist/types/basic-bricks/src/interfaces/general-card.d.ts +0 -11
- package/dist/types/basic-bricks/src/interfaces/index.d.ts +0 -1
- package/dist/types/basic-bricks/src/jsx.d.ts +0 -172
- package/dist/types/basic-bricks/src/launchpad-button/index.d.ts +0 -18
- package/dist/types/basic-bricks/src/list-container/ListContainer.d.ts +0 -12
- package/dist/types/basic-bricks/src/list-container/index.d.ts +0 -71
- package/dist/types/basic-bricks/src/loading-bar/LoadingBar.d.ts +0 -2
- package/dist/types/basic-bricks/src/loading-bar/index.d.ts +0 -2
- package/dist/types/basic-bricks/src/magic-brick/MagicBrick.d.ts +0 -7
- package/dist/types/basic-bricks/src/magic-brick/index.d.ts +0 -36
- package/dist/types/basic-bricks/src/menu-bar/AppMenu/AppMenu.d.ts +0 -7
- package/dist/types/basic-bricks/src/menu-bar/AppMenu/MenuTooltip/MenuTooltip.d.ts +0 -7
- package/dist/types/basic-bricks/src/menu-bar/AppSubMenu/AppSubMenu.d.ts +0 -8
- package/dist/types/basic-bricks/src/menu-bar/CollapseBar/CollapseBar.d.ts +0 -6
- package/dist/types/basic-bricks/src/menu-bar/LogoBar/LogoBar.d.ts +0 -2
- package/dist/types/basic-bricks/src/menu-bar/MenuBar/MenuBar.d.ts +0 -7
- package/dist/types/basic-bricks/src/menu-bar/index.d.ts +0 -96
- package/dist/types/basic-bricks/src/micro-app/BtnExitDashboardMode.d.ts +0 -2
- package/dist/types/basic-bricks/src/micro-app/MicroApp.d.ts +0 -13
- package/dist/types/basic-bricks/src/micro-app/index.d.ts +0 -152
- package/dist/types/basic-bricks/src/multiple-columns-card/MultipleColumnsCard.d.ts +0 -7
- package/dist/types/basic-bricks/src/multiple-columns-card/index.d.ts +0 -38
- package/dist/types/basic-bricks/src/page-error/PageError.d.ts +0 -7
- package/dist/types/basic-bricks/src/page-error/index.d.ts +0 -4
- package/dist/types/basic-bricks/src/page-not-found/PageNotFound.d.ts +0 -6
- package/dist/types/basic-bricks/src/page-not-found/index.d.ts +0 -10
- package/dist/types/basic-bricks/src/page-title/PageTitle.d.ts +0 -8
- package/dist/types/basic-bricks/src/page-title/index.d.ts +0 -36
- package/dist/types/basic-bricks/src/popover-container/PopoverContainer.d.ts +0 -39
- package/dist/types/basic-bricks/src/popover-container/index.d.ts +0 -244
- package/dist/types/basic-bricks/src/print-button/PrintButton.d.ts +0 -10
- package/dist/types/basic-bricks/src/print-button/index.d.ts +0 -68
- package/dist/types/basic-bricks/src/quick-visit-menu/FavouriteMenu.d.ts +0 -3
- package/dist/types/basic-bricks/src/quick-visit-menu/MenuTag.d.ts +0 -14
- package/dist/types/basic-bricks/src/quick-visit-menu/QuickVisitMenu.d.ts +0 -34
- package/dist/types/basic-bricks/src/quick-visit-menu/index.d.ts +0 -92
- package/dist/types/basic-bricks/src/redirect-to/index.d.ts +0 -74
- package/dist/types/basic-bricks/src/resizable-box/ResizableBox.d.ts +0 -14
- package/dist/types/basic-bricks/src/resizable-box/index.d.ts +0 -38
- package/dist/types/basic-bricks/src/script-brick/index.d.ts +0 -91
- package/dist/types/basic-bricks/src/shared/DeferredService.d.ts +0 -10
- package/dist/types/basic-bricks/src/sub-menu/SubMenu.d.ts +0 -11
- package/dist/types/basic-bricks/src/sub-menu/index.d.ts +0 -49
- package/dist/types/basic-bricks/src/sub-menu-filter/SubMenuFilter.d.ts +0 -38
- package/dist/types/basic-bricks/src/sub-menu-filter/index.d.ts +0 -204
- package/dist/types/basic-bricks/src/transform-agent/index.d.ts +0 -54
- package/dist/types/basic-bricks/src/utils.d.ts +0 -1
- package/dist/types/basic-bricks/src/virtual-list-container/VirtualListContainer.d.ts +0 -16
- package/dist/types/basic-bricks/src/virtual-list-container/index.d.ts +0 -63
- package/dist/types/presentational-bricks/src/brick-illustration/BrickIllustration.d.ts +0 -14
- package/dist/types/presentational-bricks/src/brick-illustration/index.d.ts +0 -87
- package/dist/types/presentational-bricks/src/brick-result/components/IllustrationWrapper.d.ts +0 -16
|
@@ -1,249 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { UpdatingElement, EventEmitter } from "@next-core/brick-kit";
|
|
3
|
-
import { ButtonProps } from "antd/lib/button";
|
|
4
|
-
export interface GeneralButtonElementProps {
|
|
5
|
-
buttonName?: string;
|
|
6
|
-
buttonIcon?: any;
|
|
7
|
-
buttonType?: ButtonType;
|
|
8
|
-
tooltip?: string;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
disabledTooltip?: string;
|
|
11
|
-
tooltipConfig?: TooltipConfig;
|
|
12
|
-
buttonUrl?: string;
|
|
13
|
-
buttonHref?: string;
|
|
14
|
-
target?: string;
|
|
15
|
-
dataSource?: Record<string, any>;
|
|
16
|
-
buttonProps?: ButtonProps & {
|
|
17
|
-
icon?: string;
|
|
18
|
-
};
|
|
19
|
-
loading?: boolean;
|
|
20
|
-
buttonDanger?: boolean;
|
|
21
|
-
buttonShape?: "circle" | "round";
|
|
22
|
-
buttonSize?: "xs" | "small" | "large";
|
|
23
|
-
fadedText?: boolean;
|
|
24
|
-
buttonStyle?: React.CSSProperties;
|
|
25
|
-
detail?: Record<string, any>;
|
|
26
|
-
}
|
|
27
|
-
declare const ButtonTypes: [
|
|
28
|
-
"default",
|
|
29
|
-
"primary",
|
|
30
|
-
"ghost",
|
|
31
|
-
"dashed",
|
|
32
|
-
"link",
|
|
33
|
-
"text",
|
|
34
|
-
"icon"
|
|
35
|
-
];
|
|
36
|
-
declare type ButtonType = typeof ButtonTypes[number];
|
|
37
|
-
export declare type TooltipPlacement = "top" | "left" | "right" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom";
|
|
38
|
-
export interface TooltipConfig {
|
|
39
|
-
/**
|
|
40
|
-
* 气泡框位置,可选 `top` `left` `right` `bottom` `topLeft` `topRight` `bottomLeft` `bottomRight` `leftTop` `leftBottom` `rightTop` `rightBottom`
|
|
41
|
-
*/
|
|
42
|
-
placement?: TooltipPlacement;
|
|
43
|
-
/**
|
|
44
|
-
* 箭头是否指向目标元素中心
|
|
45
|
-
*/
|
|
46
|
-
arrowPointAtCenter?: boolean;
|
|
47
|
-
/**
|
|
48
|
-
* 卡片样式
|
|
49
|
-
*/
|
|
50
|
-
overlayStyle?: React.CSSProperties;
|
|
51
|
-
/**
|
|
52
|
-
* 卡片内容区域的样式对象
|
|
53
|
-
*/
|
|
54
|
-
overlayInnerStyle?: React.CSSProperties;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* @id basic-bricks.general-button
|
|
58
|
-
* @name basic-bricks.general-button
|
|
59
|
-
* @docKind brick
|
|
60
|
-
* @description 可发送点击事件、可配置按钮名称、按钮跳转链接等
|
|
61
|
-
* @author jo
|
|
62
|
-
* @slots
|
|
63
|
-
* @history
|
|
64
|
-
* 1.54.0:新增属性 `buttonHref`
|
|
65
|
-
* 1.55.1:使用 `dataSource` 替代 `detail`
|
|
66
|
-
* 1.59.0:新增属性 `disableAfterClick`
|
|
67
|
-
* 1.97.0:新增属性 `fadedText`
|
|
68
|
-
* @memo
|
|
69
|
-
* 注意,因为按钮是有 margin 的,在`type=link` 时候也一样会有,所以在表格里面放置点击链接的时候,请选用[链接](developers/brick-book/brick/presentational-bricks.brick-link)
|
|
70
|
-
*
|
|
71
|
-
* @noInheritDoc
|
|
72
|
-
*/
|
|
73
|
-
export declare class GeneralButtonElement extends UpdatingElement implements GeneralButtonElementProps {
|
|
74
|
-
/**
|
|
75
|
-
* @kind string
|
|
76
|
-
* @required false
|
|
77
|
-
* @default -
|
|
78
|
-
* @description 按钮名称
|
|
79
|
-
* @group basic
|
|
80
|
-
*/
|
|
81
|
-
buttonName: string;
|
|
82
|
-
/**
|
|
83
|
-
* @kind MenuIcon
|
|
84
|
-
* @required false
|
|
85
|
-
* @default -
|
|
86
|
-
* @description 按钮 icon,支持的 [icon 图标库](developers/icon) 和 [MenuIcon配置](/next-docs/docs/api-reference/brick-types.menuicon#menuicon-interface),另外如果是 antd 图标库可以直接引用图标名称配置 { "lib": "antd", "icon": "edit" }与 "edit"等价
|
|
87
|
-
* @group basic
|
|
88
|
-
*/
|
|
89
|
-
buttonIcon: any;
|
|
90
|
-
/**
|
|
91
|
-
* @kind ButtonType
|
|
92
|
-
* @required false
|
|
93
|
-
* @default -
|
|
94
|
-
* @description 按钮类型 ButtonType(`"link" | "default" | "primary" | "ghost" | "dashed" | "danger" | "icon"| "text" | "nav"`)
|
|
95
|
-
* @enums "link"|"default"|"primary"|"ghost"|"dashed"|"danger"|"icon"|"text"|"nav"
|
|
96
|
-
* @group basic
|
|
97
|
-
*/
|
|
98
|
-
buttonType: ButtonType;
|
|
99
|
-
/**
|
|
100
|
-
* @kind string
|
|
101
|
-
* @required false
|
|
102
|
-
* @default -
|
|
103
|
-
* @description 按钮的 tooltip
|
|
104
|
-
* @group basic
|
|
105
|
-
*/
|
|
106
|
-
tooltip: string;
|
|
107
|
-
/**
|
|
108
|
-
* @kind boolean
|
|
109
|
-
* @required false
|
|
110
|
-
* @default false
|
|
111
|
-
* @description 是否禁用按钮
|
|
112
|
-
* @group basic
|
|
113
|
-
*/
|
|
114
|
-
disabled: boolean;
|
|
115
|
-
/**
|
|
116
|
-
* @kind string
|
|
117
|
-
* @required false
|
|
118
|
-
* @default -
|
|
119
|
-
* @description 禁用按钮的 tooltip
|
|
120
|
-
* @group basic
|
|
121
|
-
*/
|
|
122
|
-
disabledTooltip: string;
|
|
123
|
-
/**
|
|
124
|
-
* @kind TooltipConfig
|
|
125
|
-
* @required false
|
|
126
|
-
* @default -
|
|
127
|
-
* @description tooltip的配置,配置属性见TooltipConfig
|
|
128
|
-
* @group basic
|
|
129
|
-
*/
|
|
130
|
-
tooltipConfig: TooltipConfig;
|
|
131
|
-
/**
|
|
132
|
-
* @kind string
|
|
133
|
-
* @required false
|
|
134
|
-
* @default -
|
|
135
|
-
* @description 点击按钮跳转的 url
|
|
136
|
-
* @group basic
|
|
137
|
-
*/
|
|
138
|
-
buttonUrl: string;
|
|
139
|
-
/**
|
|
140
|
-
* @kind string
|
|
141
|
-
* @required false
|
|
142
|
-
* @default -
|
|
143
|
-
* @description 是否使用原生 <a> 标签,通常用于外链的跳转
|
|
144
|
-
* @group advanced
|
|
145
|
-
*/
|
|
146
|
-
buttonHref: string;
|
|
147
|
-
/**
|
|
148
|
-
* @kind string
|
|
149
|
-
* @required false
|
|
150
|
-
* @default -
|
|
151
|
-
* @description 跳转的 target,例如可以设置为"_blank"
|
|
152
|
-
* @group advanced
|
|
153
|
-
*/
|
|
154
|
-
target: string;
|
|
155
|
-
/**
|
|
156
|
-
* @kind Record<string, any>
|
|
157
|
-
* @required false
|
|
158
|
-
* @default {}
|
|
159
|
-
* @description 替代之前 detail 属性,用法相同。暂存的数据在事件传出时使用
|
|
160
|
-
* @group advanced
|
|
161
|
-
*/
|
|
162
|
-
dataSource: Record<string, any>;
|
|
163
|
-
/**
|
|
164
|
-
* @kind boolean
|
|
165
|
-
* @required false
|
|
166
|
-
* @default false
|
|
167
|
-
* @description 点击按钮后自动禁用
|
|
168
|
-
* @group advanced
|
|
169
|
-
*/
|
|
170
|
-
disableAfterClick: boolean;
|
|
171
|
-
/**
|
|
172
|
-
* @kind ButtonProps
|
|
173
|
-
* @required -
|
|
174
|
-
* @default -
|
|
175
|
-
* @description 完全透传给 antd 的 Button 属性
|
|
176
|
-
* @group advanced
|
|
177
|
-
*/
|
|
178
|
-
buttonProps: ButtonProps & {
|
|
179
|
-
icon?: string;
|
|
180
|
-
};
|
|
181
|
-
/**
|
|
182
|
-
* @kind boolean
|
|
183
|
-
* @required false
|
|
184
|
-
* @default false
|
|
185
|
-
* @description 按钮加载动画
|
|
186
|
-
* @group ui
|
|
187
|
-
*/
|
|
188
|
-
loading: boolean;
|
|
189
|
-
/**
|
|
190
|
-
* @kind boolean
|
|
191
|
-
* @required false
|
|
192
|
-
* @default false
|
|
193
|
-
* @description 设置危险按钮
|
|
194
|
-
* @group ui
|
|
195
|
-
*/
|
|
196
|
-
buttonDanger: boolean;
|
|
197
|
-
/**
|
|
198
|
-
* @kind "circle" | "round"
|
|
199
|
-
* @required false
|
|
200
|
-
* @default -
|
|
201
|
-
* @description 按钮形状,支持圆形、椭圆形,不设置为默认方形
|
|
202
|
-
* @enums "circle"|"round"
|
|
203
|
-
* @group ui
|
|
204
|
-
*/
|
|
205
|
-
buttonShape: "circle" | "round";
|
|
206
|
-
/**
|
|
207
|
-
* @kind xs | small | large
|
|
208
|
-
* @required false
|
|
209
|
-
* @default -
|
|
210
|
-
* @description 按钮大小,支持大、小、较小、不设置为默认中
|
|
211
|
-
* @enums "xs" | "small"| "large"
|
|
212
|
-
* @group ui
|
|
213
|
-
*/
|
|
214
|
-
buttonSize: "xs" | "small" | "large";
|
|
215
|
-
/**
|
|
216
|
-
* @kind boolean
|
|
217
|
-
* @required false
|
|
218
|
-
* @default false
|
|
219
|
-
* @description 淡化按钮文字,按钮类型为 text 时可以设置。默认 `false` 文字按钮颜色和平台的字体颜色一样,在一些希望弱化文字颜色的场景下可以设置为 `true`。
|
|
220
|
-
* @group ui
|
|
221
|
-
*/
|
|
222
|
-
fadedText: boolean;
|
|
223
|
-
/**
|
|
224
|
-
* @kind React.CSSProperties
|
|
225
|
-
* @required -
|
|
226
|
-
* @default -
|
|
227
|
-
* @description 适用于按钮某些场景下,需要自定义一些样式
|
|
228
|
-
* @group ui
|
|
229
|
-
*/
|
|
230
|
-
buttonStyle: React.CSSProperties;
|
|
231
|
-
/**
|
|
232
|
-
* @kind any
|
|
233
|
-
* @required false
|
|
234
|
-
* @default {}
|
|
235
|
-
* @deprecated
|
|
236
|
-
* @description [已废弃]按钮点击事件传出的内容。当用于列表类构件,例如 `brick-table` 中,可通过传入传入 `detail` 来识别不通的行进行操作处理。
|
|
237
|
-
*/
|
|
238
|
-
detail: Record<string, any>;
|
|
239
|
-
/**
|
|
240
|
-
* @detail `Record<string, any>`
|
|
241
|
-
* @description 按钮被点击时触发, detail 为 dataSource 数据
|
|
242
|
-
*/
|
|
243
|
-
buttonClick: EventEmitter<Record<string, any>>;
|
|
244
|
-
private _handleClick;
|
|
245
|
-
connectedCallback(): void;
|
|
246
|
-
disconnectedCallback(): void;
|
|
247
|
-
protected _render(): void;
|
|
248
|
-
}
|
|
249
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { CardProps } from "antd/lib/card";
|
|
3
|
-
import { OperationButton } from "../interfaces";
|
|
4
|
-
export interface GeneralCardProps {
|
|
5
|
-
configProps?: CardProps;
|
|
6
|
-
operationButtons?: OperationButton[];
|
|
7
|
-
hasExtraSlot?: boolean;
|
|
8
|
-
cardTitle?: string;
|
|
9
|
-
fillVertical?: boolean;
|
|
10
|
-
verticalCenter?: boolean;
|
|
11
|
-
isFixedFooter?: boolean;
|
|
12
|
-
compactMode?: boolean;
|
|
13
|
-
cardContentWrapperStyle?: React.CSSProperties;
|
|
14
|
-
}
|
|
15
|
-
export declare function GeneralCard({ configProps, operationButtons, hasExtraSlot, cardTitle, fillVertical, verticalCenter, isFixedFooter, compactMode, cardContentWrapperStyle, }: GeneralCardProps): React.ReactElement;
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { UpdatingElement } from "@next-core/brick-kit";
|
|
3
|
-
import { OperationButton } from "../interfaces";
|
|
4
|
-
import { CardProps } from "antd/lib/card";
|
|
5
|
-
export interface GeneralCardElementProps {
|
|
6
|
-
operationButtons?: OperationButton[];
|
|
7
|
-
configProps?: CardProps;
|
|
8
|
-
cardContentWrapperStyle?: React.CSSProperties;
|
|
9
|
-
cardTitle?: string;
|
|
10
|
-
fillVertical?: boolean;
|
|
11
|
-
verticalCenter?: boolean;
|
|
12
|
-
compactMode?: boolean;
|
|
13
|
-
hasExtraSlot?: boolean;
|
|
14
|
-
hasFooter?: boolean;
|
|
15
|
-
isFixedFooter?: boolean;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @id basic-bricks.general-card
|
|
19
|
-
* @name basic-bricks.general-card
|
|
20
|
-
* @docKind brick
|
|
21
|
-
* @description 常见于为多个构件提供统一的卡片容器,比如将搜索框与表格放在一起
|
|
22
|
-
* @author lynette
|
|
23
|
-
* @slots
|
|
24
|
-
* content:内容插槽
|
|
25
|
-
* extra:右上角操作区插槽,使用时请设置 hasExtraSlot 为 true
|
|
26
|
-
* titleSuffix:标题后缀的插槽
|
|
27
|
-
* footer:底部插槽,当底部滚动到窗口外时,默认固定在窗口底部,适用场景参考 http://192.168.100.162/next/resource-events/alert-config/inhibition-rule/create,其他情况,请设置`isFixedFooter`为false;
|
|
28
|
-
* @history
|
|
29
|
-
* 1.42.0:新增属性 `fillVertical`
|
|
30
|
-
* @noInheritDoc
|
|
31
|
-
*/
|
|
32
|
-
export declare class GeneralCardElement extends UpdatingElement implements GeneralCardElementProps {
|
|
33
|
-
/**
|
|
34
|
-
* @kind string
|
|
35
|
-
* @required false
|
|
36
|
-
* @default -
|
|
37
|
-
* @description 卡片标题
|
|
38
|
-
* @group basic
|
|
39
|
-
*/
|
|
40
|
-
cardTitle: string;
|
|
41
|
-
/**
|
|
42
|
-
* @kind boolean
|
|
43
|
-
* @required false
|
|
44
|
-
* @default false
|
|
45
|
-
* @description 设置该属性后,设置卡片高度为 100%,卡片高度会自动撑满父容器
|
|
46
|
-
* @group ui
|
|
47
|
-
*/
|
|
48
|
-
fillVertical: boolean;
|
|
49
|
-
/**
|
|
50
|
-
* @kind boolean
|
|
51
|
-
* @required false
|
|
52
|
-
* @default false
|
|
53
|
-
* @description 设置该属性后,卡片内容区的元素自动垂直居中
|
|
54
|
-
* @group ui
|
|
55
|
-
*/
|
|
56
|
-
verticalCenter: boolean;
|
|
57
|
-
/**
|
|
58
|
-
* @kind boolean
|
|
59
|
-
* @required false
|
|
60
|
-
* @default false
|
|
61
|
-
* @description 卡片是否ui8.2的紧凑模式
|
|
62
|
-
* @group ui
|
|
63
|
-
*/
|
|
64
|
-
compactMode: boolean;
|
|
65
|
-
/**
|
|
66
|
-
* @kind boolean
|
|
67
|
-
* @required false
|
|
68
|
-
* @default false
|
|
69
|
-
* @description 是否右上角有操作区 slot
|
|
70
|
-
* @group advanced
|
|
71
|
-
*/
|
|
72
|
-
hasExtraSlot: boolean;
|
|
73
|
-
/**
|
|
74
|
-
* @group advanced
|
|
75
|
-
*/
|
|
76
|
-
hasFooter: boolean;
|
|
77
|
-
/**
|
|
78
|
-
* @kind boolean
|
|
79
|
-
* @required false
|
|
80
|
-
* @default true
|
|
81
|
-
* @description footer滚动到窗口外时,是否需要将footer固定在窗口底部
|
|
82
|
-
* @group advanced
|
|
83
|
-
*/
|
|
84
|
-
isFixedFooter: boolean;
|
|
85
|
-
/**
|
|
86
|
-
* @kind OperationButton[]
|
|
87
|
-
* @required false
|
|
88
|
-
* @default -
|
|
89
|
-
* @description 右上角的操作按钮列表,可自定义指定该按钮的名字,按钮点击后发出的事件等
|
|
90
|
-
* @group advanced
|
|
91
|
-
*/
|
|
92
|
-
operationButtons: OperationButton[];
|
|
93
|
-
/**
|
|
94
|
-
* @kind map
|
|
95
|
-
* @required false
|
|
96
|
-
* @default -
|
|
97
|
-
* @description 完全透传给 antd 的 Card 属性,详见:[Card](https://ant.design/components/card-cn/#Card)
|
|
98
|
-
* @group advanced
|
|
99
|
-
*/
|
|
100
|
-
configProps: CardProps;
|
|
101
|
-
/**
|
|
102
|
-
* @description content slot外层元素样式
|
|
103
|
-
* @group ui
|
|
104
|
-
*/
|
|
105
|
-
cardContentWrapperStyle: React.CSSProperties;
|
|
106
|
-
private _mountPoint;
|
|
107
|
-
private _shadowRoot;
|
|
108
|
-
private _operationBtns;
|
|
109
|
-
private idEventNameMap;
|
|
110
|
-
private eventDetailMap;
|
|
111
|
-
private _getFooterSlot;
|
|
112
|
-
private _checkFooterSlot;
|
|
113
|
-
constructor();
|
|
114
|
-
connectedCallback(): void;
|
|
115
|
-
listenOnClick(): void;
|
|
116
|
-
dealCustomEvent(event: CustomEvent): void;
|
|
117
|
-
disconnectedCallback(): void;
|
|
118
|
-
protected _render(): void;
|
|
119
|
-
emitEvent(eventName: string): void;
|
|
120
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { MenuIcon } from "@next-core/brick-types";
|
|
3
|
-
import { CustomButton, DropdownPlacement } from "./index";
|
|
4
|
-
declare const ButtonTypes: [
|
|
5
|
-
"default",
|
|
6
|
-
"primary",
|
|
7
|
-
"ghost",
|
|
8
|
-
"dashed",
|
|
9
|
-
"link",
|
|
10
|
-
"text",
|
|
11
|
-
"icon"
|
|
12
|
-
];
|
|
13
|
-
declare type ButtonType = typeof ButtonTypes[number];
|
|
14
|
-
interface AdminButtonProps {
|
|
15
|
-
buttons: CustomButton[];
|
|
16
|
-
handleClick: (eventName: string, button: CustomButton) => void;
|
|
17
|
-
dropdownBtnText?: string;
|
|
18
|
-
dropdownBtnIcon?: MenuIcon | string;
|
|
19
|
-
isMoreButton?: boolean;
|
|
20
|
-
useButtonDataSource?: boolean;
|
|
21
|
-
moreBtnIcon?: MenuIcon | string;
|
|
22
|
-
moreButtonShape?: "circle" | "rectangle" | "no" | "icon";
|
|
23
|
-
moreButtonType?: ButtonType;
|
|
24
|
-
alignment?: "start" | "center" | "end" | "stretch";
|
|
25
|
-
dropdownPlacement?: DropdownPlacement;
|
|
26
|
-
dropdownBtnType?: "default" | "link";
|
|
27
|
-
onDropdownVisibleChange: (visible: boolean) => void;
|
|
28
|
-
moreButtonStyle?: React.CSSProperties;
|
|
29
|
-
}
|
|
30
|
-
export declare function GeneralCustomButtons(props: AdminButtonProps): React.ReactElement;
|
|
31
|
-
export {};
|
|
@@ -1,235 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { UpdatingElement, EventEmitter } from "@next-core/brick-kit";
|
|
3
|
-
import { MenuIcon } from "@next-core/brick-types";
|
|
4
|
-
import { ButtonType, ButtonShape, ButtonSize } from "antd/lib/button";
|
|
5
|
-
import { TooltipPlacement } from "antd/lib/tooltip";
|
|
6
|
-
export interface GeneralCustomButtonsElementProps {
|
|
7
|
-
customButtons: CustomButton[];
|
|
8
|
-
dataSource?: any;
|
|
9
|
-
moreBtnIcon?: MenuIcon | string;
|
|
10
|
-
dropdownBtnType?: "default" | "link";
|
|
11
|
-
dropdownBtnIcon?: MenuIcon | string;
|
|
12
|
-
moreButtonStyle: React.CSSProperties;
|
|
13
|
-
}
|
|
14
|
-
export interface CustomButton {
|
|
15
|
-
/**
|
|
16
|
-
* 是否收纳成下拉框
|
|
17
|
-
*/
|
|
18
|
-
isDropdown?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* 菜单项分割线,只用在弹出菜单内
|
|
21
|
-
*/
|
|
22
|
-
isDivider?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* 按钮名
|
|
25
|
-
*/
|
|
26
|
-
text: string;
|
|
27
|
-
/**
|
|
28
|
-
* 按钮 icon,支持[icon图标库](/next/developers/icon),可直接复制图标图标的配置(antd、fa 及 easyops 三种库都支持),也可只取 icon 字段的值(仅支持 antd 库)。配置{ "lib": "antd", "icon": "edit" }与 "edit"等价
|
|
29
|
-
*/
|
|
30
|
-
icon?: MenuIcon | string;
|
|
31
|
-
/**
|
|
32
|
-
* 按钮点击事件名
|
|
33
|
-
*/
|
|
34
|
-
eventName: string;
|
|
35
|
-
/**
|
|
36
|
-
* 按钮字体颜色
|
|
37
|
-
*/
|
|
38
|
-
color?: string;
|
|
39
|
-
/**
|
|
40
|
-
* 按钮 ID, updateButton 时使用
|
|
41
|
-
*/
|
|
42
|
-
id?: string;
|
|
43
|
-
/**
|
|
44
|
-
* 是否禁用
|
|
45
|
-
*/
|
|
46
|
-
disabled?: boolean;
|
|
47
|
-
/**
|
|
48
|
-
* 是否隐藏
|
|
49
|
-
*/
|
|
50
|
-
hide?: boolean;
|
|
51
|
-
/**
|
|
52
|
-
* 样式类型
|
|
53
|
-
*/
|
|
54
|
-
buttonType?: ButtonType | "icon";
|
|
55
|
-
/**
|
|
56
|
-
* 形状类型
|
|
57
|
-
*/
|
|
58
|
-
buttonShape?: ButtonShape;
|
|
59
|
-
/**
|
|
60
|
-
* 点击跳转的地址,一般站内链接使用此属性
|
|
61
|
-
*/
|
|
62
|
-
buttonUrl?: string;
|
|
63
|
-
/**
|
|
64
|
-
* 点击跳转的地址,一般站外链接使用此属性
|
|
65
|
-
*/
|
|
66
|
-
buttonHref?: string;
|
|
67
|
-
/**
|
|
68
|
-
* 按钮大小
|
|
69
|
-
*/
|
|
70
|
-
buttonSize?: ButtonSize;
|
|
71
|
-
/**
|
|
72
|
-
* 相当于 a 链接的 target 属性,buttonUrl 或 buttonHref 存在时生效
|
|
73
|
-
*/
|
|
74
|
-
urlTarget?: string;
|
|
75
|
-
/**
|
|
76
|
-
* 按钮简单的文字提示气泡框
|
|
77
|
-
*/
|
|
78
|
-
tooltip?: string;
|
|
79
|
-
/**
|
|
80
|
-
* 禁用按钮的 tooltip
|
|
81
|
-
*/
|
|
82
|
-
disabledTooltip?: string;
|
|
83
|
-
/**
|
|
84
|
-
* tooltip 位置
|
|
85
|
-
*/
|
|
86
|
-
tooltipPlacement?: TooltipPlacement;
|
|
87
|
-
/**
|
|
88
|
-
* 设置按钮载入状态
|
|
89
|
-
*/
|
|
90
|
-
loading?: boolean;
|
|
91
|
-
/**
|
|
92
|
-
* 用于测试时定位的 ID
|
|
93
|
-
*/
|
|
94
|
-
testId?: string;
|
|
95
|
-
/**
|
|
96
|
-
* 是否显示为危险样式
|
|
97
|
-
*/
|
|
98
|
-
danger?: boolean;
|
|
99
|
-
/**
|
|
100
|
-
* 每个事件的数据源
|
|
101
|
-
*/
|
|
102
|
-
dataSource?: any;
|
|
103
|
-
}
|
|
104
|
-
export declare type DropdownPlacement = "bottomRight" | "topLeft" | "topCenter" | "topRight" | "bottomLeft" | "bottomCenter";
|
|
105
|
-
/**
|
|
106
|
-
* @id basic-bricks.general-custom-buttons
|
|
107
|
-
* @name basic-bricks.general-custom-buttons
|
|
108
|
-
* @docKind brick
|
|
109
|
-
* @description 可配置收纳起来的更多按钮,可配置不同事件
|
|
110
|
-
* @groupI18N
|
|
111
|
-
* {
|
|
112
|
-
* "moreButton": {
|
|
113
|
-
* "en": "MoreButton",
|
|
114
|
-
* "zh": "更多按钮"
|
|
115
|
-
* },
|
|
116
|
-
* "dropdownButton": {
|
|
117
|
-
* "en": "DropdownButton",
|
|
118
|
-
* "zh": "含下拉选框的按钮"
|
|
119
|
-
* }
|
|
120
|
-
* }
|
|
121
|
-
* @author ice
|
|
122
|
-
* @slots
|
|
123
|
-
* @history
|
|
124
|
-
* 1.72.0:新增属性 `loading`
|
|
125
|
-
* 1.59.0:新增属性 `disableAfterClick`
|
|
126
|
-
* 1.48.0:按钮新增 `hide` 属性
|
|
127
|
-
* 1.45.0:新增 `dropdownPlacement` 属性, 按钮新增 `isDivider` 属性
|
|
128
|
-
* 1.40.0:按钮新增 `buttonHref`, `tooltip`, `tooltipPlacement` 属性
|
|
129
|
-
* 1.35.0:新增 `alignment` 属性
|
|
130
|
-
* 1.30.0:按钮新增 `buttonSize`, `buttonUrl`, `urlTarget` 属性
|
|
131
|
-
* 1.29.0:按钮新增 `buttonType`, `buttonShape` 属性
|
|
132
|
-
* 1.28.0:新增 `updateButton` 方法,按钮新增 `id`, `disabled` 属性
|
|
133
|
-
* @memo
|
|
134
|
-
* @noInheritDoc
|
|
135
|
-
*/
|
|
136
|
-
export declare class GeneralCustomButtonsElement extends UpdatingElement implements GeneralCustomButtonsElementProps {
|
|
137
|
-
/**
|
|
138
|
-
* @kind CustomButton[]
|
|
139
|
-
* @description 自定义按钮组
|
|
140
|
-
* @group basic
|
|
141
|
-
*/
|
|
142
|
-
customButtons: CustomButton[];
|
|
143
|
-
/**
|
|
144
|
-
* @default "center"
|
|
145
|
-
* @description 对齐方式
|
|
146
|
-
* @enums "start"|"center"|"end"|"stretch
|
|
147
|
-
* @group basic
|
|
148
|
-
*/
|
|
149
|
-
alignment?: "start" | "center" | "end" | "stretch";
|
|
150
|
-
/**
|
|
151
|
-
* @description 按钮事件的 detail
|
|
152
|
-
* @group advanced
|
|
153
|
-
*/
|
|
154
|
-
dataSource?: any;
|
|
155
|
-
/**
|
|
156
|
-
* @description 点击按钮后自动禁用
|
|
157
|
-
* @group advanced
|
|
158
|
-
*/
|
|
159
|
-
disableAfterClick?: boolean;
|
|
160
|
-
/**
|
|
161
|
-
* @default false
|
|
162
|
-
* @description 按钮组中 isDropdown 为 true 的按钮收纳成 dropdown。isMoreButton 为 true 时更多按钮显示纯icon样式,为 false 时显示icon+文字样式。
|
|
163
|
-
* @group moreButton
|
|
164
|
-
*/
|
|
165
|
-
isMoreButton?: boolean;
|
|
166
|
-
/**
|
|
167
|
-
* @default false
|
|
168
|
-
* @description 按钮组中 的按钮点击事件的detail返回按钮自身的dataSource,而不是整体的dataSource
|
|
169
|
-
* @group moreButton
|
|
170
|
-
*/
|
|
171
|
-
useButtonDataSource?: boolean;
|
|
172
|
-
/**
|
|
173
|
-
* @description isMoreButton 为 true 时更多按钮的图标,默认为`...`
|
|
174
|
-
* @group moreButton
|
|
175
|
-
*/
|
|
176
|
-
moreBtnIcon?: MenuIcon | string;
|
|
177
|
-
/**
|
|
178
|
-
* @description 更多按钮的类型
|
|
179
|
-
* @group moreButton
|
|
180
|
-
*/
|
|
181
|
-
moreButtonType?: ButtonType;
|
|
182
|
-
/**
|
|
183
|
-
* @description isMoreButton 为 true 时更多按钮的样式,通常使用 icon 类型
|
|
184
|
-
* @enums "circle"|"no"|"rectangle"|"icon"
|
|
185
|
-
* @group moreButton
|
|
186
|
-
*/
|
|
187
|
-
moreButtonShape?: "circle" | "no" | "rectangle" | "icon";
|
|
188
|
-
/**
|
|
189
|
-
* @default "管理"
|
|
190
|
-
* @description isMoreButton 为 false 时,按钮组中 isDropdown 为 true 的按钮收纳成 dropdown,收纳起来的按钮文字
|
|
191
|
-
* @group dropdownButton
|
|
192
|
-
*/
|
|
193
|
-
dropdownBtnText?: string;
|
|
194
|
-
/**
|
|
195
|
-
* @description dropdown按钮的类型
|
|
196
|
-
* @enums "default"|"link"
|
|
197
|
-
* @group dropdownButton
|
|
198
|
-
*/
|
|
199
|
-
dropdownBtnType?: "default" | "link";
|
|
200
|
-
/**
|
|
201
|
-
* @description isMoreButton 为 false 时,按钮组中 isDropdown 为 true 的按钮收纳成 dropdown,收纳起来的按钮 icon,支持[icon 图标库](/next/developers/icon),可直接复制图标图标的配置(antd、fa 及 easyops 三种库都支持),也可只取 icon 字段的值(仅支持 antd 库)。配置{ "lib": "antd", "icon": "edit" }与 "edit"等价
|
|
202
|
-
* @group dropdownButton
|
|
203
|
-
*/
|
|
204
|
-
dropdownBtnIcon?: MenuIcon | string;
|
|
205
|
-
/**
|
|
206
|
-
* @default "bottomRight"
|
|
207
|
-
* @description dropdown 的弹出位置
|
|
208
|
-
* @enums "bottomRight"|"topLeft"|"topCenter"|"topRight"|"bottomLeft"|"bottomCenter"
|
|
209
|
-
* @group dropdownButton
|
|
210
|
-
*/
|
|
211
|
-
dropdownPlacement?: DropdownPlacement;
|
|
212
|
-
/**
|
|
213
|
-
* @kind React.CSSProperties
|
|
214
|
-
* @required -
|
|
215
|
-
* @default -
|
|
216
|
-
* @description 适用于按钮的isMoreButton为true时候,需要自定义一些样式更多按钮的样式。
|
|
217
|
-
* @group ui
|
|
218
|
-
*/
|
|
219
|
-
moreButtonStyle: React.CSSProperties;
|
|
220
|
-
/**
|
|
221
|
-
* @detail "boolean"
|
|
222
|
-
* @description dropdown是否显示
|
|
223
|
-
*/
|
|
224
|
-
onDropdownVisibleChange: EventEmitter<boolean>;
|
|
225
|
-
constructor();
|
|
226
|
-
private handleClick;
|
|
227
|
-
connectedCallback(): void;
|
|
228
|
-
/**
|
|
229
|
-
* @description 更新按钮
|
|
230
|
-
*/
|
|
231
|
-
updateButton(id: string, btn: Partial<CustomButton>): void;
|
|
232
|
-
handleDropdownVisibleChange: (visible: boolean) => void;
|
|
233
|
-
protected _render(): void;
|
|
234
|
-
disconnectedCallback(): void;
|
|
235
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { DrawerProps } from "antd/lib/drawer";
|
|
3
|
-
import type { ModalStack } from "@next-core/brick-kit";
|
|
4
|
-
import { ICustomSwitchConfig } from "./index";
|
|
5
|
-
interface GeneralDrawerProps {
|
|
6
|
-
visible: boolean;
|
|
7
|
-
title?: string;
|
|
8
|
-
width?: number | string;
|
|
9
|
-
getContainer?: HTMLElement;
|
|
10
|
-
closable?: boolean;
|
|
11
|
-
bodyStyle?: Record<string, any>;
|
|
12
|
-
drawerStyle?: Record<string, any>;
|
|
13
|
-
hasFooter?: boolean;
|
|
14
|
-
loading?: boolean;
|
|
15
|
-
mask?: boolean;
|
|
16
|
-
headerStyle?: Record<string, any>;
|
|
17
|
-
configProps?: DrawerProps;
|
|
18
|
-
isFloat?: boolean;
|
|
19
|
-
hasOuterSwitch?: boolean;
|
|
20
|
-
useBigOuterSwitch?: boolean;
|
|
21
|
-
customSwitchConfig?: ICustomSwitchConfig;
|
|
22
|
-
scrollToTopWhenOpen?: boolean;
|
|
23
|
-
stack: ModalStack;
|
|
24
|
-
stackable?: boolean;
|
|
25
|
-
}
|
|
26
|
-
export declare function GeneralDrawer(props: GeneralDrawerProps): React.ReactElement;
|
|
27
|
-
export {};
|