@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,204 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, UpdatingElement } from "@next-core/brick-kit";
|
|
2
|
-
import { SubMenuFilterItem } from "./SubMenuFilter";
|
|
3
|
-
import { UseBrickConf } from "@next-core/brick-types";
|
|
4
|
-
export type { SubMenuFilterItem };
|
|
5
|
-
export interface SubMenuFilterElementProps {
|
|
6
|
-
menuItems?: SubMenuFilterItem[];
|
|
7
|
-
suffixBrick?: {
|
|
8
|
-
useBrick: UseBrickConf;
|
|
9
|
-
};
|
|
10
|
-
defaultSelectedKeys?: string[];
|
|
11
|
-
defaultOpenKeys?: string[];
|
|
12
|
-
selectable?: boolean;
|
|
13
|
-
multiple?: boolean;
|
|
14
|
-
inlineIndent?: number;
|
|
15
|
-
transparentBackground?: boolean;
|
|
16
|
-
accordion?: boolean;
|
|
17
|
-
suffixBrickTriggerByHover?: boolean;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* @id basic-bricks.sub-menu-filter
|
|
21
|
-
* @name basic-bricks.sub-menu-filter
|
|
22
|
-
* @editor shared-editors.general-menu--editor
|
|
23
|
-
* @editorProps {"showSearch": true}
|
|
24
|
-
* @docKind brick
|
|
25
|
-
* @description 搜索能力二级菜单
|
|
26
|
-
* @author Alex
|
|
27
|
-
* @slots
|
|
28
|
-
* @history
|
|
29
|
-
* 1.58.0:新增构件 `basic-bricks.sub-menu-filter`
|
|
30
|
-
* @memo
|
|
31
|
-
* ### Interface
|
|
32
|
-
|
|
33
|
-
* ```typescript
|
|
34
|
-
*export declare type MenuIcon = AntdIcon | FaIcon | EasyopsIcon;
|
|
35
|
-
|
|
36
|
-
*export interface AntdIcon {
|
|
37
|
-
* lib: "antd";
|
|
38
|
-
* type: string;
|
|
39
|
-
* theme?: ThemeType;
|
|
40
|
-
*}
|
|
41
|
-
*export interface FaIcon {
|
|
42
|
-
* lib: "fa";
|
|
43
|
-
* icon: IconName;
|
|
44
|
-
* prefix?: IconPrefix;
|
|
45
|
-
*}
|
|
46
|
-
*export interface EasyopsIcon {
|
|
47
|
-
* lib: "easyops";
|
|
48
|
-
* icon: string;
|
|
49
|
-
* category?: string;
|
|
50
|
-
*}
|
|
51
|
-
|
|
52
|
-
*export interface SubMenuFilterSimpleItem {
|
|
53
|
-
* title: string;
|
|
54
|
-
* key: string;
|
|
55
|
-
* type?: "item";
|
|
56
|
-
* icon: MenuIcon;
|
|
57
|
-
* to?: LocationDescriptor
|
|
58
|
-
*}
|
|
59
|
-
|
|
60
|
-
*export interface SubMenuFilterGroup {
|
|
61
|
-
* type: "group" | "subMenu";
|
|
62
|
-
* title: string;
|
|
63
|
-
* items: SubMenuFilterSimpleItem[];
|
|
64
|
-
* key?: string;
|
|
65
|
-
*}
|
|
66
|
-
|
|
67
|
-
*export type SubMenuFilterItem = SubMenuFilterSimpleItem | SubMenuFilterGroup;
|
|
68
|
-
|
|
69
|
-
*export interface SubMenuFilterProps {
|
|
70
|
-
* defaultSelectedKeys: string[];
|
|
71
|
-
* defaultOpenKeys: string[];
|
|
72
|
-
* selectable: boolean;
|
|
73
|
-
* multiple: boolean;
|
|
74
|
-
* suffixBrick?: { useBrick: UseBrickConf };
|
|
75
|
-
* menuItems: SubMenuFilterItem[];
|
|
76
|
-
* placeholder?: string;
|
|
77
|
-
* unsearchable: boolean;
|
|
78
|
-
* onSelect: (menuItem: SubMenuFilterItem[]) => void;
|
|
79
|
-
* onSearch: (query: string) => void;
|
|
80
|
-
*}
|
|
81
|
-
*```
|
|
82
|
-
|
|
83
|
-
* @noInheritDoc
|
|
84
|
-
*/
|
|
85
|
-
export declare class SubMenuFilterElement extends UpdatingElement implements SubMenuFilterElementProps {
|
|
86
|
-
/**
|
|
87
|
-
* @required -
|
|
88
|
-
* @default -
|
|
89
|
-
* @description 菜单项
|
|
90
|
-
* @group basic
|
|
91
|
-
*/
|
|
92
|
-
menuItems: SubMenuFilterItem[];
|
|
93
|
-
/**
|
|
94
|
-
* @kind {useBrick:UseBrickConf}
|
|
95
|
-
* @required false
|
|
96
|
-
* @default -
|
|
97
|
-
* @description 列表项 extra 位置(右边),相关文档[UseBrickConf](/next-docs/docs/api-reference/brick-types.usebrickconf)
|
|
98
|
-
* @group other
|
|
99
|
-
*/
|
|
100
|
-
suffixBrick: {
|
|
101
|
-
useBrick: UseBrickConf;
|
|
102
|
-
};
|
|
103
|
-
/**
|
|
104
|
-
* @kind boolean
|
|
105
|
-
* @required false
|
|
106
|
-
* @default false
|
|
107
|
-
* @description 是否展示搜索框
|
|
108
|
-
* @group basic
|
|
109
|
-
*/
|
|
110
|
-
unsearchable: boolean;
|
|
111
|
-
/**
|
|
112
|
-
* @kind string
|
|
113
|
-
* @required false
|
|
114
|
-
* @default -
|
|
115
|
-
* @description 搜索框 placeholder
|
|
116
|
-
* @group basic
|
|
117
|
-
*/
|
|
118
|
-
placeholder: string;
|
|
119
|
-
/**
|
|
120
|
-
* @kind string[]
|
|
121
|
-
* @required false
|
|
122
|
-
* @default -
|
|
123
|
-
* @description 初始选中的菜单项 key 数组
|
|
124
|
-
* @group basic
|
|
125
|
-
*/
|
|
126
|
-
defaultSelectedKeys: string[];
|
|
127
|
-
/**
|
|
128
|
-
* @kind string[]
|
|
129
|
-
* @required false
|
|
130
|
-
* @default -
|
|
131
|
-
* @description 初始展开的 SubMenu 菜单项 key 数组
|
|
132
|
-
* @group basic
|
|
133
|
-
*/
|
|
134
|
-
defaultOpenKeys: string[];
|
|
135
|
-
/**
|
|
136
|
-
* @kind boolean
|
|
137
|
-
* @required false
|
|
138
|
-
* @default true
|
|
139
|
-
* @description 是否允许选中
|
|
140
|
-
* @group basic
|
|
141
|
-
*/
|
|
142
|
-
selectable: boolean;
|
|
143
|
-
/**
|
|
144
|
-
* @kind boolean
|
|
145
|
-
* @required false
|
|
146
|
-
* @default false
|
|
147
|
-
* @description 是否多选
|
|
148
|
-
* @group basic
|
|
149
|
-
*/
|
|
150
|
-
multiple: boolean;
|
|
151
|
-
/**
|
|
152
|
-
* @kind number
|
|
153
|
-
* @required false
|
|
154
|
-
* @default 24
|
|
155
|
-
* @description 菜单缩进宽度
|
|
156
|
-
* @group ui
|
|
157
|
-
*/
|
|
158
|
-
inlineIndent: number;
|
|
159
|
-
/**
|
|
160
|
-
* @kind boolean
|
|
161
|
-
* @required false
|
|
162
|
-
* @default false
|
|
163
|
-
* @description 是否采用透明背景样式
|
|
164
|
-
* @group ui
|
|
165
|
-
*/
|
|
166
|
-
transparentBackground: boolean;
|
|
167
|
-
/**
|
|
168
|
-
* @kind boolean
|
|
169
|
-
* @required false
|
|
170
|
-
* @default false
|
|
171
|
-
* @description 手风琴模式
|
|
172
|
-
* @group basic
|
|
173
|
-
*/
|
|
174
|
-
accordion: boolean;
|
|
175
|
-
/**
|
|
176
|
-
* @kind boolean
|
|
177
|
-
* @required false
|
|
178
|
-
* @default false
|
|
179
|
-
* @description suffixBrick是否hover才显示
|
|
180
|
-
* @group basic
|
|
181
|
-
*/
|
|
182
|
-
suffixBrickTriggerByHover: boolean;
|
|
183
|
-
connectedCallback(): void;
|
|
184
|
-
disconnectedCallback(): void;
|
|
185
|
-
/**
|
|
186
|
-
* @detail SubMenuFilterItem[]
|
|
187
|
-
* @description -
|
|
188
|
-
*/
|
|
189
|
-
menuSelect: EventEmitter<SubMenuFilterItem[]>;
|
|
190
|
-
/**
|
|
191
|
-
* @detail string
|
|
192
|
-
* @description 搜索 query
|
|
193
|
-
*/
|
|
194
|
-
menuSearch: EventEmitter<string>;
|
|
195
|
-
/**
|
|
196
|
-
* @detail SubMenuFilterItem[]
|
|
197
|
-
* @description -
|
|
198
|
-
*/
|
|
199
|
-
menuClick: EventEmitter<SubMenuFilterItem>;
|
|
200
|
-
handleSelect: (menuItem: SubMenuFilterItem[]) => void;
|
|
201
|
-
handleClick: (menuItem: SubMenuFilterItem) => void;
|
|
202
|
-
handleSearch: (q: string) => void;
|
|
203
|
-
protected _render(): void;
|
|
204
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { UpdatingElement } from "@next-core/brick-kit";
|
|
2
|
-
import { GeneralTransform } from "@next-core/brick-types";
|
|
3
|
-
export interface TransformAgentElementProps {
|
|
4
|
-
source?: Record<string, string>;
|
|
5
|
-
target?: string;
|
|
6
|
-
transform?: GeneralTransform;
|
|
7
|
-
multiple?: boolean;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* @id basic-bricks.transform-agent
|
|
11
|
-
* @name basic-bricks.transform-agent
|
|
12
|
-
* @docKind brick
|
|
13
|
-
* @description 一个代理构件支持将一些构件的属性转换并赋值给其它构件
|
|
14
|
-
* @author steve
|
|
15
|
-
* @slots
|
|
16
|
-
* @history
|
|
17
|
-
* 1.21.0:新增构件 `basic-bricks.transform-agent`
|
|
18
|
-
* @memo
|
|
19
|
-
*/
|
|
20
|
-
export declare class TransformAgentElement extends UpdatingElement implements TransformAgentElementProps {
|
|
21
|
-
/**
|
|
22
|
-
* @kind object
|
|
23
|
-
* @required true
|
|
24
|
-
* @default -
|
|
25
|
-
* @description 数据来源的构件的字典,key 为数据的字段名,value 为来源构件的 css selector
|
|
26
|
-
*/
|
|
27
|
-
source: Record<string, string>;
|
|
28
|
-
/**
|
|
29
|
-
* @kind string
|
|
30
|
-
* @required true
|
|
31
|
-
* @default -
|
|
32
|
-
* @description 目标构件的 css selector
|
|
33
|
-
*/
|
|
34
|
-
target: string;
|
|
35
|
-
/**
|
|
36
|
-
* @kind GeneralTransform
|
|
37
|
-
* @required true
|
|
38
|
-
* @default -
|
|
39
|
-
* @description 属性数据转换配置,请参考[Transform 数据转换](http://docs.developers.easyops.cn/docs/brick-next/transform)
|
|
40
|
-
*/
|
|
41
|
-
transform: GeneralTransform;
|
|
42
|
-
/**
|
|
43
|
-
* @kind boolean
|
|
44
|
-
* @required false
|
|
45
|
-
* @default `false`
|
|
46
|
-
* @description 目标构件是否为多个
|
|
47
|
-
*/
|
|
48
|
-
multiple: boolean;
|
|
49
|
-
protected _render(): void;
|
|
50
|
-
/**
|
|
51
|
-
* @description 执行转换
|
|
52
|
-
*/
|
|
53
|
-
execute(): void;
|
|
54
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function getNewUIStatus(isSetPageTitleStyle?: boolean): boolean;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { UseBrickConf } from "@next-core/brick-types";
|
|
3
|
-
export interface VirtualListContainerProps {
|
|
4
|
-
data: Record<string, any>[];
|
|
5
|
-
titleBrick: {
|
|
6
|
-
useBrick: UseBrickConf;
|
|
7
|
-
};
|
|
8
|
-
suffixBrick?: {
|
|
9
|
-
useBrick: UseBrickConf;
|
|
10
|
-
};
|
|
11
|
-
oHeight: string;
|
|
12
|
-
onScrollData?: any;
|
|
13
|
-
total?: number;
|
|
14
|
-
}
|
|
15
|
-
export declare function VirtualListContainer(props: VirtualListContainerProps, ref: any): React.ReactElement;
|
|
16
|
-
export declare const VirtualListContainer2: React.ForwardRefExoticComponent<VirtualListContainerProps & React.RefAttributes<unknown>>;
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { UpdatingElement, EventEmitter } from "@next-core/brick-kit";
|
|
3
|
-
import { UseBrickConf } from "@next-core/brick-types";
|
|
4
|
-
export interface VirtualListContainerElementProps {
|
|
5
|
-
data?: VirtualListContainerProps["data"];
|
|
6
|
-
titleBrick?: VirtualListContainerProps["titleBrick"];
|
|
7
|
-
suffixBrick?: VirtualListContainerProps["suffixBrick"];
|
|
8
|
-
total?: number;
|
|
9
|
-
oHeight?: string;
|
|
10
|
-
}
|
|
11
|
-
export interface itemData {
|
|
12
|
-
list: Record<string, any>[];
|
|
13
|
-
page_size?: number | string;
|
|
14
|
-
page?: number | string;
|
|
15
|
-
}
|
|
16
|
-
export interface VirtualListContainerProps {
|
|
17
|
-
data: Record<string, any>[];
|
|
18
|
-
titleBrick: {
|
|
19
|
-
useBrick: UseBrickConf;
|
|
20
|
-
};
|
|
21
|
-
suffixBrick?: {
|
|
22
|
-
useBrick: UseBrickConf;
|
|
23
|
-
};
|
|
24
|
-
oHeight: string;
|
|
25
|
-
onScrollData?: any;
|
|
26
|
-
total?: number;
|
|
27
|
-
}
|
|
28
|
-
export declare class VirtualListContainerElement extends UpdatingElement implements VirtualListContainerElementProps {
|
|
29
|
-
/**
|
|
30
|
-
* @kind ItemData
|
|
31
|
-
* @required true
|
|
32
|
-
* @default -
|
|
33
|
-
* @description 列表数据
|
|
34
|
-
* @group basic
|
|
35
|
-
*/
|
|
36
|
-
data: VirtualListContainerProps["data"];
|
|
37
|
-
/**
|
|
38
|
-
* @kind {useBrick:UseBrickConf}
|
|
39
|
-
* @required true
|
|
40
|
-
* @default -
|
|
41
|
-
* @description 列表项标题位置,相关类型[UseBrickConf](/next-docs/docs/api-reference/brick-types.usebrickconf)
|
|
42
|
-
* @group basic
|
|
43
|
-
*/
|
|
44
|
-
titleBrick: VirtualListContainerProps["titleBrick"];
|
|
45
|
-
/**
|
|
46
|
-
* @kind {useBrick:UseBrickConf}
|
|
47
|
-
* @required false
|
|
48
|
-
* @default -
|
|
49
|
-
* @description 列表项 extra 位置(右边),相关类型[UseBrickConf](/next-docs/docs/api-reference/brick-types.usebrickconf)
|
|
50
|
-
* @group basic
|
|
51
|
-
*/
|
|
52
|
-
suffixBrick: VirtualListContainerProps["suffixBrick"];
|
|
53
|
-
total: number;
|
|
54
|
-
oHeight: string;
|
|
55
|
-
ref: React.RefObject<any>;
|
|
56
|
-
constructor();
|
|
57
|
-
connectedCallback(): void;
|
|
58
|
-
disconnectedCallback(): void;
|
|
59
|
-
showVirtualList: () => void;
|
|
60
|
-
scrollEvent: EventEmitter<any>;
|
|
61
|
-
private _onScrollData;
|
|
62
|
-
protected _render(): void;
|
|
63
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React, { CSSProperties } from "react";
|
|
2
|
-
import { IllustrationProps } from "@next-core/illustrations";
|
|
3
|
-
import { IllustrationFooter, IllustrationHeader } from "./index";
|
|
4
|
-
import { IconSize } from "../brick-result/components/IllustrationWrapper";
|
|
5
|
-
interface BrickIllustrationProps extends IllustrationProps {
|
|
6
|
-
mode: "feedback" | "guide";
|
|
7
|
-
imageStyle?: CSSProperties;
|
|
8
|
-
header?: IllustrationHeader;
|
|
9
|
-
footer?: IllustrationFooter;
|
|
10
|
-
useNewIllustration?: boolean;
|
|
11
|
-
size?: IconSize;
|
|
12
|
-
}
|
|
13
|
-
export declare function BrickIllustration({ name, category, mode, header, footer, imageStyle, useNewIllustration, size, }: BrickIllustrationProps): React.ReactElement;
|
|
14
|
-
export {};
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { CSSProperties } from "react";
|
|
2
|
-
import { UpdatingElement } from "@next-core/brick-kit";
|
|
3
|
-
import { IconSize } from "../brick-result/components/IllustrationWrapper";
|
|
4
|
-
export interface BrickIllustrationElementProps {
|
|
5
|
-
name?: string;
|
|
6
|
-
size?: IconSize;
|
|
7
|
-
category?: string;
|
|
8
|
-
header?: IllustrationHeader;
|
|
9
|
-
footer?: IllustrationFooter;
|
|
10
|
-
mode?: IllustrationMode;
|
|
11
|
-
imageStyle?: CSSProperties;
|
|
12
|
-
}
|
|
13
|
-
export interface IllustrationHeader {
|
|
14
|
-
title?: string;
|
|
15
|
-
description?: string;
|
|
16
|
-
}
|
|
17
|
-
export interface IllustrationFooter {
|
|
18
|
-
text?: string;
|
|
19
|
-
label?: string;
|
|
20
|
-
target?: string;
|
|
21
|
-
url?: string;
|
|
22
|
-
}
|
|
23
|
-
export declare type IllustrationMode = "feedback" | "guide";
|
|
24
|
-
/**
|
|
25
|
-
* @id presentational-bricks.brick-illustration
|
|
26
|
-
* @author alexchen
|
|
27
|
-
* @history
|
|
28
|
-
* 1.148.0: 新增构件 `presentational-bricks.brick-illustration`
|
|
29
|
-
* @memo
|
|
30
|
-
* >更多类型插画请移至[插画库](/next/developers/illustrations)
|
|
31
|
-
* @docKind brick
|
|
32
|
-
* @noInheritDoc
|
|
33
|
-
*/
|
|
34
|
-
export declare class BrickIllustrationElement extends UpdatingElement implements BrickIllustrationElementProps {
|
|
35
|
-
/**
|
|
36
|
-
* @required true
|
|
37
|
-
* @description 插画名称
|
|
38
|
-
*/
|
|
39
|
-
name: string;
|
|
40
|
-
/**
|
|
41
|
-
* @required false
|
|
42
|
-
* @description 插画size,size默认为middle,推荐使用size控制插画尺寸,可通过imageStyle覆盖size实现自定义大小(不推荐)
|
|
43
|
-
* @default "middle"
|
|
44
|
-
*/
|
|
45
|
-
size: IconSize;
|
|
46
|
-
/**
|
|
47
|
-
* @default "default"
|
|
48
|
-
* @required true
|
|
49
|
-
* @description 插画类型
|
|
50
|
-
* @group basic
|
|
51
|
-
*/
|
|
52
|
-
category: string;
|
|
53
|
-
/**
|
|
54
|
-
* @required false
|
|
55
|
-
* @description 插画头部内容
|
|
56
|
-
* @group other
|
|
57
|
-
*/
|
|
58
|
-
header: IllustrationHeader;
|
|
59
|
-
/**
|
|
60
|
-
* @required false
|
|
61
|
-
* @description 插画底部内容
|
|
62
|
-
* @group other
|
|
63
|
-
*/
|
|
64
|
-
footer: IllustrationFooter;
|
|
65
|
-
/**
|
|
66
|
-
* @required false
|
|
67
|
-
* @description 插画模式
|
|
68
|
-
* @group other
|
|
69
|
-
* @deprecated
|
|
70
|
-
*/
|
|
71
|
-
mode: IllustrationMode;
|
|
72
|
-
/**
|
|
73
|
-
* @required false
|
|
74
|
-
* @description 图片样式
|
|
75
|
-
* @group ui
|
|
76
|
-
*/
|
|
77
|
-
imageStyle: CSSProperties;
|
|
78
|
-
/**
|
|
79
|
-
* @default true
|
|
80
|
-
* @required false
|
|
81
|
-
* @description 在插画库的default分类下,使用新版本的图标替换default分类下图标
|
|
82
|
-
*/
|
|
83
|
-
useNewIllustration: boolean;
|
|
84
|
-
connectedCallback(): void;
|
|
85
|
-
disconnectedCallback(): void;
|
|
86
|
-
protected _render(): void;
|
|
87
|
-
}
|
package/dist/types/presentational-bricks/src/brick-result/components/IllustrationWrapper.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React, { CSSProperties } from "react";
|
|
2
|
-
export declare enum IconSize {
|
|
3
|
-
Small = "small",
|
|
4
|
-
Middle = "middle",
|
|
5
|
-
Large = "large",
|
|
6
|
-
XLarge = "xlarge",
|
|
7
|
-
Unset = "unset"
|
|
8
|
-
}
|
|
9
|
-
export interface IllustrationWrapperProps {
|
|
10
|
-
imageStyle?: CSSProperties;
|
|
11
|
-
name?: string;
|
|
12
|
-
category?: string;
|
|
13
|
-
size?: IconSize;
|
|
14
|
-
useNewIllustration?: boolean;
|
|
15
|
-
}
|
|
16
|
-
export declare function IllustrationWrapper(props: IllustrationWrapperProps): React.ReactElement;
|