@next-bricks/basic-bricks 1.259.3 → 1.260.0

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.
Files changed (54) hide show
  1. package/deploy/contract.yaml +88 -88
  2. package/dist/bricks.json +26 -26
  3. package/dist/{index.347ec3f4.js → index.de9dd936.js} +2 -2
  4. package/dist/{index.347ec3f4.js.map → index.de9dd936.js.map} +1 -1
  5. package/dist-types/advance-list-container/index.d.ts +51 -0
  6. package/dist-types/app-bar/index.d.ts +15 -0
  7. package/dist-types/app-bar-breadcrumb/index.d.ts +13 -0
  8. package/dist-types/app-bar-setting/index.d.ts +12 -0
  9. package/dist-types/app-bar-wrapper/index.d.ts +14 -0
  10. package/dist-types/app-document-link/index.d.ts +14 -0
  11. package/dist-types/bootstrap.d.ts +44 -0
  12. package/dist-types/brick-error/index.d.ts +13 -0
  13. package/dist-types/delete-confirm-modal/index.d.ts +13 -0
  14. package/dist-types/easy-view/index.d.ts +20 -0
  15. package/dist-types/export-json-file/index.d.ts +20 -0
  16. package/dist-types/flex-layout/index.d.ts +17 -0
  17. package/dist-types/fold-brick/index.d.ts +15 -0
  18. package/dist-types/fold-brick-v2/index.d.ts +39 -0
  19. package/dist-types/general-anchor/index.d.ts +38 -0
  20. package/dist-types/general-button/index.d.ts +92 -0
  21. package/dist-types/general-card/index.d.ts +29 -0
  22. package/dist-types/general-custom-buttons/index.d.ts +147 -0
  23. package/dist-types/general-drawer/index.d.ts +60 -0
  24. package/dist-types/general-heading/index.d.ts +14 -0
  25. package/dist-types/general-hotkeys/index.d.ts +14 -0
  26. package/dist-types/general-modal/index.d.ts +95 -0
  27. package/dist-types/general-notification/index.d.ts +51 -0
  28. package/dist-types/general-popup/index.d.ts +36 -0
  29. package/dist-types/general-text/index.d.ts +23 -0
  30. package/dist-types/general-timer/index.d.ts +23 -0
  31. package/dist-types/general-title/index.d.ts +37 -0
  32. package/dist-types/header-bar/index.d.ts +17 -0
  33. package/dist-types/index-card/index.d.ts +9 -0
  34. package/dist-types/index.d.ts +44 -0
  35. package/dist-types/interfaces/general-card.d.ts +11 -0
  36. package/dist-types/interfaces/index.d.ts +1 -0
  37. package/dist-types/jsx.d.ts +469 -0
  38. package/dist-types/list-container/index.d.ts +21 -0
  39. package/dist-types/magic-brick/index.d.ts +9 -0
  40. package/dist-types/menu-bar/index.d.ts +15 -0
  41. package/dist-types/micro-app/index.d.ts +48 -0
  42. package/dist-types/multiple-columns-card/index.d.ts +9 -0
  43. package/dist-types/page-error/index.d.ts +9 -0
  44. package/dist-types/page-not-found/index.d.ts +7 -0
  45. package/dist-types/page-title/index.d.ts +9 -0
  46. package/dist-types/popover-container/index.d.ts +87 -0
  47. package/dist-types/print-button/index.d.ts +17 -0
  48. package/dist-types/quick-visit-menu/index.d.ts +41 -0
  49. package/dist-types/resizable-box/index.d.ts +28 -0
  50. package/dist-types/script-brick/index.d.ts +29 -0
  51. package/dist-types/sub-menu/index.d.ts +14 -0
  52. package/dist-types/sub-menu-filter/index.d.ts +63 -0
  53. package/dist-types/virtual-list-container/index.d.ts +40 -0
  54. package/package.json +3 -4
@@ -0,0 +1,469 @@
1
+ import type { DetailedHTMLProps, HTMLAttributes } from "react";
2
+ import type {
3
+ AdvanceListContainerElement,
4
+ AdvanceListContainerProps,
5
+ AdvanceListContainerEvents,
6
+ } from "./advance-list-container/index.js";
7
+ import type { AppBarElement, AppBarProps } from "./app-bar/index.js";
8
+ import type {
9
+ AppbarBreadcrumbElement,
10
+ AppbarBreadcrumbProps,
11
+ } from "./app-bar-breadcrumb/index.js";
12
+ import type {
13
+ AppBarSettingElement,
14
+ AppBarSettingProps,
15
+ } from "./app-bar-setting/index.js";
16
+ import type {
17
+ AppBarWrapperElement,
18
+ AppBarWrapperProps,
19
+ } from "./app-bar-wrapper/index.js";
20
+ import type {
21
+ AppBarDocumentLinkElement,
22
+ AppBarDocumentLinkProps,
23
+ } from "./app-document-link/index.js";
24
+ import type {
25
+ BrickErrorElement,
26
+ BrickErrorProps,
27
+ } from "./brick-error/index.js";
28
+ import type {
29
+ DeleteConfirmModalElement,
30
+ DeleteConfirmModalProps,
31
+ } from "./delete-confirm-modal/index.js";
32
+ import type { EasyViewElement, EasyViewProps } from "./easy-view/index.js";
33
+ import type {
34
+ ExportJsonFileElement,
35
+ ExportJsonFileProps,
36
+ ExportJsonFileEvents,
37
+ } from "./export-json-file/index.js";
38
+ import type {
39
+ FlexLayoutElement,
40
+ FlexLayoutProps,
41
+ } from "./flex-layout/index.js";
42
+ import type { FoldBrickElement, FoldBrickProps } from "./fold-brick/index.js";
43
+ import type {
44
+ FoldBrickV2Element,
45
+ FoldBrickV2Props,
46
+ FoldBrickV2Events,
47
+ } from "./fold-brick-v2/index.js";
48
+ import type {
49
+ GeneralAnchorElement,
50
+ GeneralAnchorProps,
51
+ GeneralAnchorEvents,
52
+ } from "./general-anchor/index.js";
53
+ import type {
54
+ GeneralButtonElement,
55
+ GeneralButtonProps,
56
+ GeneralButtonEvents,
57
+ } from "./general-button/index.js";
58
+ import type {
59
+ GeneralCardElement,
60
+ GeneralCardProps,
61
+ } from "./general-card/index.js";
62
+ import type {
63
+ GeneralCustomButtonsElement,
64
+ GeneralCustomButtonsProps,
65
+ GeneralCustomButtonsEvents,
66
+ } from "./general-custom-buttons/index.js";
67
+ import type {
68
+ GeneralDrawerElement,
69
+ GeneralDrawerProps,
70
+ GeneralDrawerEvents,
71
+ } from "./general-drawer/index.js";
72
+ import type {
73
+ GeneralHeadingElement,
74
+ GeneralHeadingProps,
75
+ } from "./general-heading/index.js";
76
+ import type {
77
+ GeneralHotkeysElement,
78
+ GeneralHotkeysProps,
79
+ } from "./general-hotkeys/index.js";
80
+ import type {
81
+ GeneralModalElement,
82
+ GeneralModalProps,
83
+ GeneralModalEvents,
84
+ } from "./general-modal/index.js";
85
+ import type {
86
+ GeneralNotificationElement,
87
+ GeneralNotificationProps,
88
+ GeneralNotificationEvents,
89
+ } from "./general-notification/index.js";
90
+ import type {
91
+ GeneralPopupElement,
92
+ GeneralPopupProps,
93
+ } from "./general-popup/index.js";
94
+ import type {
95
+ GeneralTextElement,
96
+ GeneralTextProps,
97
+ } from "./general-text/index.js";
98
+ import type {
99
+ GeneralTimerElement,
100
+ GeneralTimerProps,
101
+ GeneralTimerEvents,
102
+ } from "./general-timer/index.js";
103
+ import type {
104
+ GeneralTitleElement,
105
+ GeneralTitleProps,
106
+ } from "./general-title/index.js";
107
+ import type {
108
+ HeaderBarElement,
109
+ HeaderBarProps,
110
+ HeaderBarEvents,
111
+ } from "./header-bar/index.js";
112
+ import type { IndexCardElement, IndexCardProps } from "./index-card/index.js";
113
+ import type {
114
+ ListContainerElement,
115
+ ListContainerProps,
116
+ } from "./list-container/index.js";
117
+ import type {
118
+ MagicBrickElement,
119
+ MagicBrickProps,
120
+ } from "./magic-brick/index.js";
121
+ import type { MenuBarElement, MenuBarProps } from "./menu-bar/index.js";
122
+ import type {
123
+ MicroAppElement,
124
+ MicroAppProps,
125
+ MicroAppEvents,
126
+ } from "./micro-app/index.js";
127
+ import type {
128
+ MultipleColumnsCardElement,
129
+ MultipleColumnsCardProps,
130
+ } from "./multiple-columns-card/index.js";
131
+ import type { PageErrorElement, PageErrorProps } from "./page-error/index.js";
132
+ import type {
133
+ PageNotFoundElement,
134
+ PageNotFoundProps,
135
+ } from "./page-not-found/index.js";
136
+ import type { PageTitleElement, PageTitleProps } from "./page-title/index.js";
137
+ import type {
138
+ PopoverContainerElement,
139
+ PopoverContainerProps,
140
+ PopoverContainerEvents,
141
+ } from "./popover-container/index.js";
142
+ import type {
143
+ PrintButtonElement,
144
+ PrintButtonProps,
145
+ } from "./print-button/index.js";
146
+ import type {
147
+ QuickVisitMenuElement,
148
+ QuickVisitMenuProps,
149
+ QuickVisitMenuEvents,
150
+ } from "./quick-visit-menu/index.js";
151
+ import type {
152
+ ResizableBoxElement,
153
+ ResizableBoxProps,
154
+ } from "./resizable-box/index.js";
155
+ import type {
156
+ ScriptBrickElement,
157
+ ScriptBrickProps,
158
+ ScriptBrickEvents,
159
+ } from "./script-brick/index.js";
160
+ import type { SubMenuElement, SubMenuProps } from "./sub-menu/index.js";
161
+ import type {
162
+ SubMenuFilterElement,
163
+ SubMenuFilterProps,
164
+ SubMenuFilterEvents,
165
+ SubMenuFilterItem,
166
+ } from "./sub-menu-filter/index.js";
167
+ import type {
168
+ VirtualListContainerElement,
169
+ VirtualListContainerProps,
170
+ VirtualListContainerEvents,
171
+ } from "./virtual-list-container/index.js";
172
+
173
+ declare global {
174
+ namespace JSX {
175
+ interface IntrinsicElements {
176
+ "basic-bricks.advance-list-container": DetailedHTMLProps<
177
+ HTMLAttributes<AdvanceListContainerElement>,
178
+ AdvanceListContainerElement
179
+ > &
180
+ AdvanceListContainerProps & {
181
+ onItemClick?: (
182
+ event: CustomEvent<{
183
+ item: any;
184
+ index: number;
185
+ }>
186
+ ) => void;
187
+ };
188
+ "basic-bricks.app-bar": DetailedHTMLProps<
189
+ HTMLAttributes<AppBarElement>,
190
+ AppBarElement
191
+ > &
192
+ AppBarProps;
193
+ "basic-bricks.app-bar-breadcrumb": DetailedHTMLProps<
194
+ HTMLAttributes<AppbarBreadcrumbElement>,
195
+ AppbarBreadcrumbElement
196
+ > &
197
+ AppbarBreadcrumbProps;
198
+ "basic-bricks.app-bar-setting": DetailedHTMLProps<
199
+ HTMLAttributes<AppBarSettingElement>,
200
+ AppBarSettingElement
201
+ > &
202
+ AppBarSettingProps;
203
+ "basic-bricks.app-bar-wrapper": DetailedHTMLProps<
204
+ HTMLAttributes<AppBarWrapperElement>,
205
+ AppBarWrapperElement
206
+ > &
207
+ AppBarWrapperProps;
208
+ "basic-bricks.app-document-link": DetailedHTMLProps<
209
+ HTMLAttributes<AppBarDocumentLinkElement>,
210
+ AppBarDocumentLinkElement
211
+ > &
212
+ AppBarDocumentLinkProps;
213
+ "basic-bricks.brick-error": DetailedHTMLProps<
214
+ HTMLAttributes<BrickErrorElement>,
215
+ BrickErrorElement
216
+ > &
217
+ BrickErrorProps;
218
+ "basic-bricks.delete-confirm-modal": DetailedHTMLProps<
219
+ HTMLAttributes<DeleteConfirmModalElement>,
220
+ DeleteConfirmModalElement
221
+ > &
222
+ DeleteConfirmModalProps;
223
+ "basic-bricks.easy-view": DetailedHTMLProps<
224
+ HTMLAttributes<EasyViewElement>,
225
+ EasyViewElement
226
+ > &
227
+ EasyViewProps;
228
+ "basic-bricks.export-json-file": DetailedHTMLProps<
229
+ HTMLAttributes<ExportJsonFileElement>,
230
+ ExportJsonFileElement
231
+ > &
232
+ ExportJsonFileProps & {
233
+ onJsonFileExportSuccess?: (event: CustomEvent<void>) => void;
234
+ onJsonFileExportFailed?: (event: CustomEvent<void>) => void;
235
+ };
236
+ "basic-bricks.flex-layout": DetailedHTMLProps<
237
+ HTMLAttributes<FlexLayoutElement>,
238
+ FlexLayoutElement
239
+ > &
240
+ FlexLayoutProps;
241
+ "basic-bricks.fold-brick": DetailedHTMLProps<
242
+ HTMLAttributes<FoldBrickElement>,
243
+ FoldBrickElement
244
+ > &
245
+ FoldBrickProps;
246
+ "basic-bricks.fold-brick-v2": DetailedHTMLProps<
247
+ HTMLAttributes<FoldBrickV2Element>,
248
+ FoldBrickV2Element
249
+ > &
250
+ FoldBrickV2Props & {
251
+ onFoldChange?: (event: CustomEvent<boolean>) => void;
252
+ };
253
+ "basic-bricks.general-anchor": DetailedHTMLProps<
254
+ HTMLAttributes<GeneralAnchorElement>,
255
+ GeneralAnchorElement
256
+ > &
257
+ GeneralAnchorProps & {
258
+ onAnchorClick?: (event: CustomEvent<Record<string, any>>) => void;
259
+ onAnchorChange?: (event: CustomEvent<Record<string, any>>) => void;
260
+ };
261
+ "basic-bricks.general-button": DetailedHTMLProps<
262
+ HTMLAttributes<GeneralButtonElement>,
263
+ GeneralButtonElement
264
+ > &
265
+ GeneralButtonProps & {
266
+ onGeneralButtonClick?: (
267
+ event: CustomEvent<Record<string, any>>
268
+ ) => void;
269
+ };
270
+ "basic-bricks.general-card": DetailedHTMLProps<
271
+ HTMLAttributes<GeneralCardElement>,
272
+ GeneralCardElement
273
+ > &
274
+ GeneralCardProps;
275
+ "basic-bricks.general-custom-buttons": DetailedHTMLProps<
276
+ HTMLAttributes<GeneralCustomButtonsElement>,
277
+ GeneralCustomButtonsElement
278
+ > &
279
+ GeneralCustomButtonsProps & {
280
+ onButtonsVisibleChange?: (event: CustomEvent<boolean>) => void;
281
+ };
282
+ "basic-bricks.general-drawer": DetailedHTMLProps<
283
+ HTMLAttributes<GeneralDrawerElement>,
284
+ GeneralDrawerElement
285
+ > &
286
+ GeneralDrawerProps & {
287
+ onGeneralDrawerOpen?: (
288
+ event: CustomEvent<Record<string, any>>
289
+ ) => void;
290
+ onGeneralDrawerClose?: (
291
+ event: CustomEvent<Record<string, any>>
292
+ ) => void;
293
+ };
294
+ "basic-bricks.general-heading": DetailedHTMLProps<
295
+ HTMLAttributes<GeneralHeadingElement>,
296
+ GeneralHeadingElement
297
+ > &
298
+ GeneralHeadingProps;
299
+ "basic-bricks.general-hotkeys": DetailedHTMLProps<
300
+ HTMLAttributes<GeneralHotkeysElement>,
301
+ GeneralHotkeysElement
302
+ > &
303
+ GeneralHotkeysProps;
304
+ "basic-bricks.general-modal": DetailedHTMLProps<
305
+ HTMLAttributes<GeneralModalElement>,
306
+ GeneralModalElement
307
+ > &
308
+ GeneralModalProps & {
309
+ onModalOpen?: (event: CustomEvent<Record<string, any>>) => void;
310
+ onModalClose?: (event: CustomEvent<Record<string, any>>) => void;
311
+ onModelAfterClose?: (event: CustomEvent<void>) => void;
312
+ onBasicBricksGeneralModalCancel?: (
313
+ event: CustomEvent<Record<string, any>>
314
+ ) => void;
315
+ onModalCancel?: (event: CustomEvent<void>) => void;
316
+ onBasicBricksGeneralModalConfirm?: (event: CustomEvent<void>) => void;
317
+ onModalConfirm?: (event: CustomEvent<void>) => void;
318
+ };
319
+ "basic-bricks.general-notification": DetailedHTMLProps<
320
+ HTMLAttributes<GeneralNotificationElement>,
321
+ GeneralNotificationElement
322
+ > &
323
+ GeneralNotificationProps & {
324
+ onGeneralNotificationClick?: (
325
+ event: CustomEvent<Record<string, any>>
326
+ ) => void;
327
+ onGeneralNotificationClose?: (
328
+ event: CustomEvent<Record<string, any>>
329
+ ) => void;
330
+ };
331
+ "basic-bricks.general-popup": DetailedHTMLProps<
332
+ HTMLAttributes<GeneralPopupElement>,
333
+ GeneralPopupElement
334
+ > &
335
+ GeneralPopupProps;
336
+ "basic-bricks.general-text": DetailedHTMLProps<
337
+ HTMLAttributes<GeneralTextElement>,
338
+ GeneralTextElement
339
+ > &
340
+ GeneralTextProps;
341
+ "basic-bricks.general-timer": DetailedHTMLProps<
342
+ HTMLAttributes<GeneralTimerElement>,
343
+ GeneralTimerElement
344
+ > &
345
+ GeneralTimerProps & {
346
+ onTimeChange?: (event: CustomEvent<void>) => void;
347
+ };
348
+ "basic-bricks.general-title": DetailedHTMLProps<
349
+ HTMLAttributes<GeneralTitleElement>,
350
+ GeneralTitleElement
351
+ > &
352
+ GeneralTitleProps;
353
+ "basic-bricks.header-bar": DetailedHTMLProps<
354
+ HTMLAttributes<HeaderBarElement>,
355
+ HeaderBarElement
356
+ > &
357
+ HeaderBarProps & {
358
+ onLogoClick?: (event: CustomEvent<any>) => void;
359
+ };
360
+ "basic-bricks.index-card": DetailedHTMLProps<
361
+ HTMLAttributes<IndexCardElement>,
362
+ IndexCardElement
363
+ > &
364
+ IndexCardProps;
365
+ "basic-bricks.list-container": DetailedHTMLProps<
366
+ HTMLAttributes<ListContainerElement>,
367
+ ListContainerElement
368
+ > &
369
+ ListContainerProps;
370
+ "basic-bricks.magic-brick": DetailedHTMLProps<
371
+ HTMLAttributes<MagicBrickElement>,
372
+ MagicBrickElement
373
+ > &
374
+ MagicBrickProps;
375
+ "basic-bricks.menu-bar": DetailedHTMLProps<
376
+ HTMLAttributes<MenuBarElement>,
377
+ MenuBarElement
378
+ > &
379
+ MenuBarProps;
380
+ "basic-bricks.micro-app": DetailedHTMLProps<
381
+ HTMLAttributes<MicroAppElement>,
382
+ MicroAppElement
383
+ > &
384
+ MicroAppProps & {
385
+ onModeDashboardExit?: (event: CustomEvent<void>) => void;
386
+ };
387
+ "basic-bricks.multiple-columns-card": DetailedHTMLProps<
388
+ HTMLAttributes<MultipleColumnsCardElement>,
389
+ MultipleColumnsCardElement
390
+ > &
391
+ MultipleColumnsCardProps;
392
+ "basic-bricks.page-error": DetailedHTMLProps<
393
+ HTMLAttributes<PageErrorElement>,
394
+ PageErrorElement
395
+ > &
396
+ PageErrorProps;
397
+ "basic-bricks.page-not-found": DetailedHTMLProps<
398
+ HTMLAttributes<PageNotFoundElement>,
399
+ PageNotFoundElement
400
+ > &
401
+ PageNotFoundProps;
402
+ "basic-bricks.page-title": DetailedHTMLProps<
403
+ HTMLAttributes<PageTitleElement>,
404
+ PageTitleElement
405
+ > &
406
+ PageTitleProps;
407
+ "basic-bricks.popover-container": DetailedHTMLProps<
408
+ HTMLAttributes<PopoverContainerElement>,
409
+ PopoverContainerElement
410
+ > &
411
+ PopoverContainerProps & {
412
+ onItemMouseEnter?: (event: CustomEvent<any>) => void;
413
+ onItemMouseLeave?: (event: CustomEvent<any>) => void;
414
+ onVisibleChange?: (event: CustomEvent<void>) => void;
415
+ };
416
+ "basic-bricks.print-button": DetailedHTMLProps<
417
+ HTMLAttributes<PrintButtonElement>,
418
+ PrintButtonElement
419
+ > &
420
+ PrintButtonProps;
421
+ "basic-bricks.quick-visit-menu": DetailedHTMLProps<
422
+ HTMLAttributes<QuickVisitMenuElement>,
423
+ QuickVisitMenuElement
424
+ > &
425
+ QuickVisitMenuProps & {
426
+ onMenuDrag?: (event: CustomEvent<Record<string, any>>) => void;
427
+ onMenuRemove?: (event: CustomEvent<Record<string, any>>) => void;
428
+ onMenuAdd?: (event: CustomEvent<Record<string, any>>) => void;
429
+ onMenuClick?: (event: CustomEvent<Record<string, any>>) => void;
430
+ onCollectFailed?: (event: CustomEvent<Record<string, any>>) => void;
431
+ };
432
+ "basic-bricks.resizable-box": DetailedHTMLProps<
433
+ HTMLAttributes<ResizableBoxElement>,
434
+ ResizableBoxElement
435
+ > &
436
+ ResizableBoxProps;
437
+ "basic-bricks.script-brick": DetailedHTMLProps<
438
+ HTMLAttributes<ScriptBrickElement>,
439
+ ScriptBrickElement
440
+ > &
441
+ ScriptBrickProps & {
442
+ onScriptExecute?: (event: CustomEvent<void>) => void;
443
+ onDataTrue?: (event: CustomEvent<void>) => void;
444
+ onDataFalse?: (event: CustomEvent<void>) => void;
445
+ };
446
+ "basic-bricks.sub-menu": DetailedHTMLProps<
447
+ HTMLAttributes<SubMenuElement>,
448
+ SubMenuElement
449
+ > &
450
+ SubMenuProps;
451
+ "basic-bricks.sub-menu-filter": DetailedHTMLProps<
452
+ HTMLAttributes<SubMenuFilterElement>,
453
+ SubMenuFilterElement
454
+ > &
455
+ SubMenuFilterProps & {
456
+ onMenuSelect?: (event: CustomEvent<SubMenuFilterItem[]>) => void;
457
+ onMenuSearch?: (event: CustomEvent<string>) => void;
458
+ onMenuClick?: (event: CustomEvent<SubMenuFilterItem>) => void;
459
+ };
460
+ "basic-bricks.virtual-list-container": DetailedHTMLProps<
461
+ HTMLAttributes<VirtualListContainerElement>,
462
+ VirtualListContainerElement
463
+ > &
464
+ VirtualListContainerProps & {
465
+ onBasicBricksScroll?: (event: CustomEvent<any>) => void;
466
+ };
467
+ }
468
+ }
469
+ }
@@ -0,0 +1,21 @@
1
+ import React from "react";
2
+ import type { UseBrickConf } from "@next-core/brick-types";
3
+ import type React from "react";
4
+
5
+ export interface ListContainerProps {
6
+ data?: any[];
7
+ useBrick?: UseBrickConf;
8
+ extraContainerStyle?: React.CSSProperties;
9
+ itemKey?: string;
10
+ gap?: string | number;
11
+ containerStyle?: React.CSSProperties;
12
+ }
13
+
14
+ export declare class ListContainerElement extends HTMLElement {
15
+ data: any[] | undefined;
16
+ useBrick: UseBrickConf | undefined;
17
+ extraContainerStyle: React.CSSProperties | undefined;
18
+ itemKey: string | undefined;
19
+ gap: string | number | undefined;
20
+ containerStyle: React.CSSProperties | undefined;
21
+ }
@@ -0,0 +1,9 @@
1
+ export interface MagicBrickProps {
2
+ showType?: string;
3
+ data?: any;
4
+ }
5
+
6
+ export declare class MagicBrickElement extends HTMLElement {
7
+ showType: string | undefined;
8
+ data: any | undefined;
9
+ }
@@ -0,0 +1,15 @@
1
+ import type { SidebarMenu, SidebarSubMenu } from "@next-core/brick-types";
2
+
3
+ export interface MenuBarProps {
4
+ menu?: SidebarMenu;
5
+ subMenu?: SidebarSubMenu;
6
+ collapsed?: boolean;
7
+ softExpanded?: boolean;
8
+ }
9
+
10
+ export declare class MenuBarElement extends HTMLElement {
11
+ menu: SidebarMenu | undefined;
12
+ subMenu: SidebarSubMenu | undefined;
13
+ collapsed: boolean | undefined;
14
+ softExpanded: boolean | undefined;
15
+ }
@@ -0,0 +1,48 @@
1
+ import React from "react";
2
+ import type React from "react";
3
+
4
+ export interface MicroAppProps {
5
+ pageTitle?: string;
6
+ bannerPageTitle?: string;
7
+ overflowXAuto?: boolean;
8
+ noGap?: boolean;
9
+ dashboardMode?: boolean;
10
+ pageTitleScale?: number;
11
+ hideToolbar?: boolean;
12
+ bannerStyle?: React.CSSProperties;
13
+ hideLogo?: boolean;
14
+ hideExitBtn?: boolean;
15
+ hasSubMenu?: boolean;
16
+ hasTitleBar?: boolean;
17
+ hasToolbar?: boolean;
18
+ hasBanner?: boolean;
19
+ hasBannerTitleBar?: boolean;
20
+ hasBannerToolbar?: boolean;
21
+ }
22
+
23
+ export interface MicroAppEvents {
24
+ "mode.dashboard.exit": CustomEvent<void>;
25
+ }
26
+
27
+ export interface MicroAppEventsMap {
28
+ onModeDashboardExit: "mode.dashboard.exit";
29
+ }
30
+
31
+ export declare class MicroAppElement extends HTMLElement {
32
+ pageTitle: string | undefined;
33
+ bannerPageTitle: string | undefined;
34
+ overflowXAuto: boolean | undefined;
35
+ noGap: boolean | undefined;
36
+ dashboardMode: boolean | undefined;
37
+ pageTitleScale: number | undefined;
38
+ hideToolbar: boolean | undefined;
39
+ bannerStyle: React.CSSProperties | undefined;
40
+ hideLogo: boolean | undefined;
41
+ hideExitBtn: boolean | undefined;
42
+ hasSubMenu: boolean | undefined;
43
+ hasTitleBar: boolean | undefined;
44
+ hasToolbar: boolean | undefined;
45
+ hasBanner: boolean | undefined;
46
+ hasBannerTitleBar: boolean | undefined;
47
+ hasBannerToolbar: boolean | undefined;
48
+ }
@@ -0,0 +1,9 @@
1
+ export interface MultipleColumnsCardProps {
2
+ gridColumns?: string;
3
+ cardBorder?: boolean;
4
+ }
5
+
6
+ export declare class MultipleColumnsCardElement extends HTMLElement {
7
+ gridColumns: string | undefined;
8
+ cardBorder: boolean | undefined;
9
+ }
@@ -0,0 +1,9 @@
1
+ export interface PageErrorProps {
2
+ error?: string;
3
+ code?: number;
4
+ }
5
+
6
+ export declare class PageErrorElement extends HTMLElement {
7
+ error: string | undefined;
8
+ code: number | undefined;
9
+ }
@@ -0,0 +1,7 @@
1
+ export interface PageNotFoundProps {
2
+ url?: string;
3
+ }
4
+
5
+ export declare class PageNotFoundElement extends HTMLElement {
6
+ url: string | undefined;
7
+ }
@@ -0,0 +1,9 @@
1
+ export interface PageTitleProps {
2
+ pageTitle?: string;
3
+ dashboardMode?: boolean;
4
+ }
5
+
6
+ export declare class PageTitleElement extends HTMLElement {
7
+ pageTitle: string | undefined;
8
+ dashboardMode: boolean | undefined;
9
+ }
@@ -0,0 +1,87 @@
1
+ import type { MenuIcon, UseBrickConf } from "@next-core/brick-types";
2
+ import type { TooltipPlacement } from "antd/lib/tooltip";
3
+ import type { ActionType, AlignType } from "rc-trigger/lib/interface";
4
+ import type { MenuIcon } from "@next-core/brick-types";
5
+ import type { UseBrickConf } from "@next-core/brick-types";
6
+
7
+ export interface PopoverContainerProps {
8
+ data?: any;
9
+ displayBrick?: {
10
+ useBrick: UseBrickConf;
11
+ data?: any;
12
+ };
13
+ popoverTitleBrick?: {
14
+ useBrick: UseBrickConf;
15
+ };
16
+ align?: AlignType;
17
+ popoverBrick?: {
18
+ useBrick: UseBrickConf;
19
+ data?: any;
20
+ };
21
+ popoverIcon?: MenuIcon;
22
+ placement?: TooltipPlacement;
23
+ trigger?: ActionType | ActionType[];
24
+ triggerByIcon?: boolean;
25
+ showPopoverBg?: boolean;
26
+ popoverContentStyle?: Record<string, any>;
27
+ showIcon?: "always" | "never" | "hover";
28
+ zIndex?: number;
29
+ visible?: boolean;
30
+ highlighted?: boolean;
31
+ related?: boolean;
32
+ faded?: boolean;
33
+ transferGraphAttrs?: boolean;
34
+ getPopupContainer?: (triggerNode: HTMLElement) => HTMLElement;
35
+ transferVisible?: boolean;
36
+ configProps?: Record<string, any>;
37
+ }
38
+
39
+ export interface PopoverContainerEvents {
40
+ "item.mouse.enter": CustomEvent<any>;
41
+ "item.mouse.leave": CustomEvent<any>;
42
+ "visible.change": CustomEvent<void>;
43
+ }
44
+
45
+ export interface PopoverContainerEventsMap {
46
+ onItemMouseEnter: "item.mouse.enter";
47
+ onItemMouseLeave: "item.mouse.leave";
48
+ onVisibleChange: "visible.change";
49
+ }
50
+
51
+ export declare class PopoverContainerElement extends HTMLElement {
52
+ data: any | undefined;
53
+ displayBrick:
54
+ | {
55
+ useBrick: UseBrickConf;
56
+ data?: any;
57
+ }
58
+ | undefined;
59
+ popoverTitleBrick:
60
+ | {
61
+ useBrick: UseBrickConf;
62
+ }
63
+ | undefined;
64
+ align: AlignType | undefined;
65
+ popoverBrick:
66
+ | {
67
+ useBrick: UseBrickConf;
68
+ data?: any;
69
+ }
70
+ | undefined;
71
+ popoverIcon: MenuIcon | undefined;
72
+ placement: TooltipPlacement | undefined;
73
+ trigger: ActionType | ActionType[] | undefined;
74
+ triggerByIcon: boolean | undefined;
75
+ showPopoverBg: boolean | undefined;
76
+ popoverContentStyle: Record<string, any> | undefined;
77
+ showIcon: "always" | "never" | "hover" | undefined;
78
+ zIndex: number | undefined;
79
+ visible: boolean | undefined;
80
+ highlighted: boolean | undefined;
81
+ related: boolean | undefined;
82
+ faded: boolean | undefined;
83
+ transferGraphAttrs: boolean | undefined;
84
+ getPopupContainer: (triggerNode: HTMLElement) => HTMLElement | undefined;
85
+ transferVisible: boolean | undefined;
86
+ configProps: Record<string, any> | undefined;
87
+ }