@inf-monkeys-tech/monkeys-design 0.4.36 → 0.4.38
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/README.md +103 -0
- package/dist/components/data-explorer/index.d.mts +6 -59
- package/dist/components/data-explorer/index.d.ts +6 -59
- package/dist/components/data-explorer/index.js +412 -8
- package/dist/components/data-explorer/index.js.map +1 -1
- package/dist/components/data-explorer/index.mjs +413 -10
- package/dist/components/data-explorer/index.mjs.map +1 -1
- package/dist/components/login/index.d.mts +97 -1
- package/dist/components/login/index.d.ts +97 -1
- package/dist/components/login/index.js +262 -2
- package/dist/components/login/index.js.map +1 -1
- package/dist/components/login/index.mjs +262 -3
- package/dist/components/login/index.mjs.map +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +262 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +262 -1
- package/dist/index.mjs.map +1 -1
- package/dist/styles/login-page.scss +423 -0
- package/dist/theme-DnbkgyCq.d.mts +61 -0
- package/dist/theme-rXHbVr6l.d.ts +61 -0
- package/dist/theme-system/index.d.mts +1 -1
- package/dist/theme-system/index.d.ts +1 -1
- package/dist/theme-system/index.js +3 -0
- package/dist/theme-system/index.js.map +1 -1
- package/dist/theme-system/index.mjs +3 -0
- package/dist/theme-system/index.mjs.map +1 -1
- package/dist/{types-B81dpI1o.d.mts → types-BnC3Z85r.d.mts} +98 -1
- package/dist/{types-B81dpI1o.d.ts → types-BnC3Z85r.d.ts} +98 -1
- package/package.json +7 -2
- package/dist/styles/artist-login.scss +0 -375
package/README.md
CHANGED
|
@@ -68,6 +68,109 @@ export function Example() {
|
|
|
68
68
|
| `@inf-monkeys-tech/monkeys-design/palette` | palette 工具 |
|
|
69
69
|
| `@inf-monkeys-tech/monkeys-design/theme-system` | 主题解析与应用工具 |
|
|
70
70
|
|
|
71
|
+
## LoginPage
|
|
72
|
+
|
|
73
|
+
`LoginPage` 是通用登录页 UI 组件。组件库只负责页面结构和样式契约,不包含登录请求、OAuth、路由、租户判断、i18n 初始化或租户定制样式。
|
|
74
|
+
|
|
75
|
+
```tsx
|
|
76
|
+
import {
|
|
77
|
+
LoginPage,
|
|
78
|
+
type LoginPageMethodConfig,
|
|
79
|
+
} from '@inf-monkeys-tech/monkeys-design/components/login';
|
|
80
|
+
import '@inf-monkeys-tech/monkeys-design/styles/login-page.scss';
|
|
81
|
+
|
|
82
|
+
const methods: LoginPageMethodConfig[] = [
|
|
83
|
+
{
|
|
84
|
+
id: 'email',
|
|
85
|
+
label: 'Email',
|
|
86
|
+
fields: [],
|
|
87
|
+
submitLabel: 'Login',
|
|
88
|
+
onSubmit: (event) => event.preventDefault(),
|
|
89
|
+
},
|
|
90
|
+
];
|
|
91
|
+
|
|
92
|
+
export function Example() {
|
|
93
|
+
return (
|
|
94
|
+
<LoginPage
|
|
95
|
+
background={{ imageUrl: '', gradient: '' }}
|
|
96
|
+
logo={{ url: '', position: 'bottom', scale: 1 }}
|
|
97
|
+
primaryColor="#4D8F9D"
|
|
98
|
+
radius="12px"
|
|
99
|
+
toolbar={<div />}
|
|
100
|
+
title="Welcome"
|
|
101
|
+
methods={methods}
|
|
102
|
+
/>
|
|
103
|
+
);
|
|
104
|
+
}
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
默认背景规则:
|
|
108
|
+
|
|
109
|
+
- 配置了 `background.imageUrl` 或 `background.gradient` 时,使用配置背景。
|
|
110
|
+
- 未配置背景时,浅色模式使用白色和主题色渐变。
|
|
111
|
+
- 未配置背景时,`.dark` 深色模式使用黑色和主题色渐变。
|
|
112
|
+
|
|
113
|
+
宿主应用负责把全局主题传入 `primaryColor` 和 `radius`,组件会把它们作为 `--login-page-theme-primary-color` 和 `--login-page-theme-radius` 默认来源;页面级 `customCss` 仍可通过公开的 `--login-page-*` 变量做租户级覆盖。深浅色切换、语言切换等应用级控件通过 `toolbar` 传入。
|
|
114
|
+
|
|
115
|
+
### LoginPage CSS 契约
|
|
116
|
+
|
|
117
|
+
页面级自定义样式只能依赖 `data-login-page`、`data-login-part` 和公开 CSS 变量。不要依赖租户 id,不要新增登录页代码分支。
|
|
118
|
+
|
|
119
|
+
推荐优先覆盖变量:
|
|
120
|
+
|
|
121
|
+
```css
|
|
122
|
+
[data-login-page] {
|
|
123
|
+
--login-page-panel-bg: rgb(255 255 255 / 0.92);
|
|
124
|
+
--login-page-panel-border: rgb(17 17 17 / 0.08);
|
|
125
|
+
--login-page-panel-shadow: 0 24px 60px rgb(0 0 0 / 0.08);
|
|
126
|
+
--login-page-control-bg: #ffffff;
|
|
127
|
+
--login-page-control-border: rgb(17 17 17 / 0.12);
|
|
128
|
+
--login-page-control-text: #111111;
|
|
129
|
+
--login-page-control-placeholder: #9f9fa9;
|
|
130
|
+
--login-page-form-width: 500px;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.dark [data-login-page] {
|
|
134
|
+
--login-page-panel-bg: rgb(12 12 12 / 0.9);
|
|
135
|
+
--login-page-control-bg: #111111;
|
|
136
|
+
}
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
公开部件:
|
|
140
|
+
|
|
141
|
+
```css
|
|
142
|
+
[data-login-part='root'] {}
|
|
143
|
+
[data-login-part='background'] {}
|
|
144
|
+
[data-login-part='toolbar'] {}
|
|
145
|
+
[data-login-part='logo'] {}
|
|
146
|
+
[data-login-part='logo-image'] {}
|
|
147
|
+
[data-login-part='panel'] {}
|
|
148
|
+
[data-login-part='back'] {}
|
|
149
|
+
[data-login-part='back-icon'] {}
|
|
150
|
+
[data-login-part='title'] {}
|
|
151
|
+
[data-login-part='tabs'] {}
|
|
152
|
+
[data-login-part='tab'] {}
|
|
153
|
+
[data-login-part='tab-icon'] {}
|
|
154
|
+
[data-login-part='form'] {}
|
|
155
|
+
[data-login-part='field'] {}
|
|
156
|
+
[data-login-part='input'] {}
|
|
157
|
+
[data-login-part='checkbox-label'] {}
|
|
158
|
+
[data-login-part='checkbox'] {}
|
|
159
|
+
[data-login-part='method-footer'] {}
|
|
160
|
+
[data-login-part='method-footer-action'] {}
|
|
161
|
+
[data-login-part='submit-button'] {}
|
|
162
|
+
[data-login-part='callout'] {}
|
|
163
|
+
[data-login-part='callout-title'] {}
|
|
164
|
+
[data-login-part='callout-description'] {}
|
|
165
|
+
[data-login-part='callout-detail'] {}
|
|
166
|
+
[data-login-part='callout-action'] {}
|
|
167
|
+
[data-login-part='external-methods'] {}
|
|
168
|
+
[data-login-part='external-label'] {}
|
|
169
|
+
[data-login-part='external-list'] {}
|
|
170
|
+
[data-login-part='external-button'] {}
|
|
171
|
+
[data-login-part='external-icon'] {}
|
|
172
|
+
```
|
|
173
|
+
|
|
71
174
|
## 基础组件
|
|
72
175
|
|
|
73
176
|
基础组件从 `components/base` 子路径导入:
|
|
@@ -1,62 +1,9 @@
|
|
|
1
|
+
export { D as DataExplorerActionBar, a as DataExplorerButton, b as DataExplorerCheckbox, c as DataExplorerCollectionFooter, f as DataExplorerDetailField, g as DataExplorerDetailSection, h as DataExplorerDetailShell, i as DataExplorerDisplayActionMenu, j as DataExplorerDisplayCard, k as DataExplorerDisplayCollectionView, l as DataExplorerDisplayListItem, m as DataExplorerDisplayMedia, n as DataExplorerImagePreview, o as DataExplorerPage, p as DataExplorerRecordCard, d as DataExplorerSelect, e as DataExplorerToolbarActions, q as DataExplorerToolbarShell, r as DataExplorerTree, s as DataExplorerTreeShell, u as DataExplorerView, v as DataExplorerViewCollection, w as DataExplorerViewItem, x as DataExplorerViewItemShell, y as DataExplorerViewShell, t as DataExplorerViewTree, z as getDataExplorerActionToneClassName, A as getDataExplorerMenuItemToneClassName, B as resolveDataExplorerAppearance } from '../../theme-DnbkgyCq.mjs';
|
|
1
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import {
|
|
3
|
-
export { b as DataExplorerAction, D as DataExplorerActionBarClassNames, d as DataExplorerBackground, e as DataExplorerBorder, f as DataExplorerButtonClassNames, h as DataExplorerCapabilities,
|
|
4
|
-
import
|
|
3
|
+
import { aJ as DataExplorerDraggableTreeProps } from '../../types-BnC3Z85r.mjs';
|
|
4
|
+
export { b as DataExplorerAction, D as DataExplorerActionBarClassNames, a as DataExplorerActionBarProps, c as DataExplorerAppearance, d as DataExplorerBackground, e as DataExplorerBorder, f as DataExplorerButtonClassNames, g as DataExplorerButtonProps, h as DataExplorerCapabilities, aK as DataExplorerCapabilityBucketsConfig, aL as DataExplorerCapabilitySidebarConfig, aM as DataExplorerCapabilityToolbarConfig, aN as DataExplorerCapabilityViewOption, aO as DataExplorerCapabilityViewsConfig, i as DataExplorerCheckboxClassNames, j as DataExplorerCheckboxProps, k as DataExplorerCollectionFooterClassNames, l as DataExplorerCollectionFooterProps, m as DataExplorerControlOption, n as DataExplorerControlTone, o as DataExplorerDensity, p as DataExplorerDetailFieldClassNames, q as DataExplorerDetailFieldDefinition, r as DataExplorerDetailFieldProps, s as DataExplorerDetailNavigation, t as DataExplorerDetailSectionClassNames, u as DataExplorerDetailSectionDefinition, v as DataExplorerDetailSectionProps, w as DataExplorerDetailShellClassNames, x as DataExplorerDetailShellProps, B as DataExplorerDisplayAction, C as DataExplorerDisplayActionContext, E as DataExplorerDisplayActionMenuClassNames, F as DataExplorerDisplayActionMenuProps, G as DataExplorerDisplayBadge, H as DataExplorerDisplayCardClassNames, I as DataExplorerDisplayCardProps, J as DataExplorerDisplayCollectionItemContext, K as DataExplorerDisplayCollectionItemPropsResolver, L as DataExplorerDisplayCollectionViewProps, M as DataExplorerDisplayItem, N as DataExplorerDisplayListItemClassNames, O as DataExplorerDisplayListItemProps, P as DataExplorerDisplayMediaClassNames, Q as DataExplorerDisplayMediaItem, R as DataExplorerDisplayMediaKind, S as DataExplorerDisplayMediaProps, T as DataExplorerDisplayMetadata, aP as DataExplorerDraggableTreeClassNames, aQ as DataExplorerDraggableTreeDragPayload, aR as DataExplorerDraggableTreeFlattenedNode, aS as DataExplorerDraggableTreeLabels, aT as DataExplorerDraggableTreeNode, aU as DataExplorerDraggableTreeRenderContext, y as DataExplorerImagePreviewClassNames, z as DataExplorerImagePreviewNaturalSize, A as DataExplorerImagePreviewProps, a4 as DataExplorerMeasuredGridOptions, U as DataExplorerPageClassNames, V as DataExplorerPageProps, _ as DataExplorerRadius, W as DataExplorerRecordCardClassNames, X as DataExplorerRecordCardProps, Y as DataExplorerResolvedTheme, Z as DataExplorerResolver, $ as DataExplorerSelectClassNames, a0 as DataExplorerSelectProps, aV as DataExplorerShellVariantId, aW as DataExplorerSurfaceConfig, aX as DataExplorerSurfaceId, a1 as DataExplorerThemePresetId, a3 as DataExplorerThemeSlots, a2 as DataExplorerThemeStyles, a5 as DataExplorerToolbarAction, a6 as DataExplorerToolbarActionItem, a7 as DataExplorerToolbarActionKind, a8 as DataExplorerToolbarActionOption, a9 as DataExplorerToolbarActionsClassNames, aa as DataExplorerToolbarActionsLayout, ab as DataExplorerToolbarActionsProps, ac as DataExplorerToolbarShellClassNames, ad as DataExplorerToolbarShellProps, ae as DataExplorerToolbarViewOption, af as DataExplorerTreeClassNames, aj as DataExplorerTreeProps, ag as DataExplorerTreeRenderProps, ah as DataExplorerTreeShellClassNames, ai as DataExplorerTreeShellProps, at as DataExplorerViewClassNames, au as DataExplorerViewCollectionClassNames, av as DataExplorerViewCollectionLayout, aw as DataExplorerViewCollectionOptions, ax as DataExplorerViewCollectionProps, ay as DataExplorerViewDefinition, az as DataExplorerViewId, aB as DataExplorerViewItemDefinition, aD as DataExplorerViewItemProps, aA as DataExplorerViewItemShellClassNames, aC as DataExplorerViewItemShellProps, aE as DataExplorerViewOption, aI as DataExplorerViewProps, aF as DataExplorerViewRenderProps, aG as DataExplorerViewShellClassNames, aH as DataExplorerViewShellProps, ak as DataExplorerViewTreeAction, al as DataExplorerViewTreeActionContext, am as DataExplorerViewTreeClassNames, an as DataExplorerViewTreeEntryType, ao as DataExplorerViewTreeGroup, ap as DataExplorerViewTreeLabels, aq as DataExplorerViewTreeNode, ar as DataExplorerViewTreeProps, as as DataExplorerViewTreeReorderPayload } from '../../types-BnC3Z85r.mjs';
|
|
5
|
+
import 'react';
|
|
5
6
|
|
|
6
|
-
declare function
|
|
7
|
+
declare function DataExplorerDraggableTree<TSource = unknown, TContext = unknown>({ nodes, context, selectedNodeId, expandedNodeIds, defaultExpandedNodeIds, resetExpansionKey, indentSize, activationMode, loading, empty, labels, appearance, className, classNames, renderNodeActions, renderNodeChildren, onSelectNode, onExpandedNodeIdsChange, onDragEnd, }: DataExplorerDraggableTreeProps<TSource, TContext>): react_jsx_runtime.JSX.Element;
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
declare function DataExplorerCheckbox({ checked, icon, label, title, disabled, appearance, className, classNames, style, onCheckedChange, }: DataExplorerCheckboxProps): react_jsx_runtime.JSX.Element;
|
|
11
|
-
|
|
12
|
-
declare function DataExplorerCollectionFooter({ selectedCount, loadedStart, loadedEnd, total, currentPage, pageSize, pageSizeOptions, loading, selectedLabel, loadedLabel, pageSizeLabel, pageText, tone, appearance, className, classNames, onJump, onPageSizeChange, }: DataExplorerCollectionFooterProps): react_jsx_runtime.JSX.Element;
|
|
13
|
-
|
|
14
|
-
declare function DataExplorerSelect({ value, options, label, placeholder, icon, title, triggerLabel, disabled, display, align, sideOffset, appearance, className, classNames, style, onValueChange, }: DataExplorerSelectProps): react_jsx_runtime.JSX.Element;
|
|
15
|
-
|
|
16
|
-
declare function DataExplorerToolbarActions<TContext = unknown>({ context, actions, layout, appearance, empty, children, className, classNames, }: DataExplorerToolbarActionsProps<TContext>): react_jsx_runtime.JSX.Element | null;
|
|
17
|
-
|
|
18
|
-
declare function DataExplorerDetailField<TContext = unknown>({ field, label, icon, value, children, context, className, valueClassName, classNames, }: DataExplorerDetailFieldProps<TContext>): react_jsx_runtime.JSX.Element;
|
|
19
|
-
|
|
20
|
-
declare function DataExplorerDetailSection<TContext = unknown>({ section, title, fields, children, context, className, classNames, fieldClassNames, }: DataExplorerDetailSectionProps<TContext>): react_jsx_runtime.JSX.Element | null;
|
|
21
|
-
|
|
22
|
-
declare function DataExplorerDetailShell<TContext = unknown>({ title, subtitle, leading, preview, previewStyle, previewPadded, previewCentered, sections, rightPanel, context, navigation, closeLabel, closeIcon, onClose, appearance, className, classNames, }: DataExplorerDetailShellProps<TContext>): react_jsx_runtime.JSX.Element;
|
|
23
|
-
|
|
24
|
-
declare function DataExplorerDisplayActionMenu<TSource = unknown>({ item, itemId, source, actions, label, triggerLabel, triggerIcon, align, sideOffset, appearance, className, classNames, }: DataExplorerDisplayActionMenuProps<TSource>): react_jsx_runtime.JSX.Element | null;
|
|
25
|
-
|
|
26
|
-
declare function DataExplorerDisplayCard<TSource = unknown>({ item, title, description, badges, meta, actions, media, header, headerLeading, headerContent, overlay, footer, children, selected, disabled, interactive, role, tabIndex, appearance, className, classNames, onClick, onKeyDown, }: DataExplorerDisplayCardProps<TSource>): react_jsx_runtime.JSX.Element;
|
|
27
|
-
|
|
28
|
-
declare function DataExplorerDisplayCollectionView<TSource = unknown>({ items, activeViewId, layout, appearance, selectedIds, empty, loading, loadingNode, footer, overlay, className, classNames, scrollable, wrapItems, measuredGrid, itemsStyle, itemStyle, getItemClassName, cardProps, listItemProps, renderMedia, renderActions, renderItem, onOpenItem, onSelectionChange, }: DataExplorerDisplayCollectionViewProps<TSource>): react_jsx_runtime.JSX.Element;
|
|
29
|
-
|
|
30
|
-
declare function DataExplorerDisplayListItem<TSource = unknown>({ className, classNames, ...props }: DataExplorerDisplayListItemProps<TSource>): react_jsx_runtime.JSX.Element;
|
|
31
|
-
|
|
32
|
-
declare function DataExplorerDisplayMedia<TSource = unknown>({ media, fallbackTitle, empty, className, classNames, onOpen, }: DataExplorerDisplayMediaProps<TSource>): react_jsx_runtime.JSX.Element | null;
|
|
33
|
-
|
|
34
|
-
declare function DataExplorerImagePreview({ src, alt, empty, actions, actionContext, toolbarActions, zoomStep, stagePadding, minScale, maxScale, controlsVisible, zoomLabelVisible, resetLabel, zoomInLabel, zoomOutLabel, appearance, className, classNames, onLoad, onError, }: DataExplorerImagePreviewProps): react_jsx_runtime.JSX.Element;
|
|
35
|
-
|
|
36
|
-
declare function DataExplorerPage({ sidebar, tree, toolbar, controls, notices, content, view, detail, className, classNames, }: DataExplorerPageProps): react_jsx_runtime.JSX.Element;
|
|
37
|
-
|
|
38
|
-
declare function DataExplorerRecordCard<TSource = unknown>({ item, selected, active, disabled, hasMedia, showHeaderWithMedia, selectionVisible, favoriteVisible, overlayControlsAlwaysVisible, favoriteActive, favoriteLabel, favoriteActiveLabel, selectLabel, unselectLabel, actions, media, footer, checkbox, favorite, keywordLimit, appearance, className, classNames, onClick, onToggleSelection, onToggleFavorite, }: DataExplorerRecordCardProps<TSource>): react_jsx_runtime.JSX.Element;
|
|
39
|
-
|
|
40
|
-
declare function DataExplorerToolbarShell<TContext = unknown>({ context, leading, leadingActions, searchValue, searchPlaceholder, searchIcon, viewOptions, activeViewId, actions, toolbarActions, appearance, children, className, classNames, onSearchChange, onSearchSubmit, onViewChange, }: DataExplorerToolbarShellProps<TContext>): react_jsx_runtime.JSX.Element;
|
|
41
|
-
|
|
42
|
-
declare function DataExplorerTree<TNode = unknown, TContext = unknown>({ nodes, context, capabilities, className, classNames, empty, selectedNodeId, getNodeId, getChildren, renderNode, onSelect, }: DataExplorerTreeProps<TNode, TContext>): react_jsx_runtime.JSX.Element | null;
|
|
43
|
-
|
|
44
|
-
declare function DataExplorerTreeShell({ title, subtitle, toolbar, footer, children, className, classNames, }: DataExplorerTreeShellProps): react_jsx_runtime.JSX.Element;
|
|
45
|
-
|
|
46
|
-
declare function DataExplorerViewTree<TNodeSource = unknown, TGroupSource = unknown, TContext = unknown>({ groups, nodes, context, selectedNodeId, expandedNodeIds, defaultExpandedNodeIds, expandedGroupIds, defaultExpandedGroupIds, resetExpansionKey, nodeActions, groupActions, indentSize, empty, loading, loadingNode, error, labels, reorderMode, appearance, className, classNames, onSelectNode, onExpandedNodeIdsChange, onExpandedGroupIdsChange, onAction, onReorderNodes, }: DataExplorerViewTreeProps<TNodeSource, TGroupSource, TContext>): react_jsx_runtime.JSX.Element;
|
|
47
|
-
|
|
48
|
-
declare function DataExplorerView<TItem = unknown, TContext = unknown, TViewId extends DataExplorerViewId = DataExplorerViewId>({ items, views, activeViewId, fallbackViewId, context, capabilities, className, classNames, empty, loading, loadingNode, footer, overlay, layout, collection, selectedIds, getItemId, itemDefinition, renderItem, onOpenItem, onSelectionChange, }: DataExplorerViewProps<TItem, TContext, TViewId>): react_jsx_runtime.JSX.Element;
|
|
49
|
-
|
|
50
|
-
declare function DataExplorerViewCollection<TItem = unknown, TContext = unknown, TViewId extends DataExplorerViewId = DataExplorerViewId>({ items, activeViewId, context, capabilities, className, classNames, empty, loading, loadingNode, footer, overlay, layout, scrollable, wrapItems, measuredGrid, itemsStyle, itemStyle, selectedIds, getItemId, itemDefinition, renderItem, getItemClassName, onOpenItem, onSelectionChange, }: DataExplorerViewCollectionProps<TItem, TContext, TViewId>): react_jsx_runtime.JSX.Element | null;
|
|
51
|
-
|
|
52
|
-
declare function DataExplorerViewItem<TItem = unknown, TContext = unknown>(props: DataExplorerViewItemProps<TItem, TContext>): react_jsx_runtime.JSX.Element;
|
|
53
|
-
|
|
54
|
-
declare function DataExplorerViewItemShell({ media, title, description, meta, badges, actions, footer, children, className, classNames, }: DataExplorerViewItemShellProps): react_jsx_runtime.JSX.Element;
|
|
55
|
-
|
|
56
|
-
declare function DataExplorerViewShell({ header, footer, overlay, empty, isEmpty, children, className, classNames, }: DataExplorerViewShellProps): react_jsx_runtime.JSX.Element;
|
|
57
|
-
|
|
58
|
-
declare function resolveDataExplorerAppearance(appearance?: DataExplorerAppearance): DataExplorerResolvedTheme;
|
|
59
|
-
declare function getDataExplorerActionToneClassName(theme: DataExplorerResolvedTheme, tone: DataExplorerControlTone | undefined, active: boolean): string;
|
|
60
|
-
declare function getDataExplorerMenuItemToneClassName(theme: DataExplorerResolvedTheme, tone: DataExplorerControlTone | undefined): string | undefined;
|
|
61
|
-
|
|
62
|
-
export { DataExplorerActionBar, DataExplorerActionBarProps, DataExplorerAppearance, DataExplorerButton, DataExplorerButtonProps, DataExplorerCheckbox, DataExplorerCheckboxProps, DataExplorerCollectionFooter, DataExplorerCollectionFooterProps, DataExplorerControlTone, DataExplorerDetailField, DataExplorerDetailFieldProps, DataExplorerDetailSection, DataExplorerDetailSectionProps, DataExplorerDetailShell, DataExplorerDetailShellProps, DataExplorerDisplayActionMenu, DataExplorerDisplayActionMenuProps, DataExplorerDisplayCard, DataExplorerDisplayCardProps, DataExplorerDisplayCollectionView, DataExplorerDisplayCollectionViewProps, DataExplorerDisplayListItem, DataExplorerDisplayListItemProps, DataExplorerDisplayMedia, DataExplorerDisplayMediaProps, DataExplorerImagePreview, DataExplorerImagePreviewProps, DataExplorerPage, DataExplorerPageProps, DataExplorerRecordCard, DataExplorerRecordCardProps, DataExplorerResolvedTheme, DataExplorerSelect, DataExplorerSelectProps, DataExplorerToolbarActions, DataExplorerToolbarActionsProps, DataExplorerToolbarShell, DataExplorerToolbarShellProps, DataExplorerTree, DataExplorerTreeProps, DataExplorerTreeShell, DataExplorerTreeShellProps, DataExplorerView, DataExplorerViewCollection, DataExplorerViewCollectionProps, DataExplorerViewId, DataExplorerViewItem, DataExplorerViewItemProps, DataExplorerViewItemShell, DataExplorerViewItemShellProps, DataExplorerViewProps, DataExplorerViewShell, DataExplorerViewShellProps, DataExplorerViewTree, DataExplorerViewTreeProps, getDataExplorerActionToneClassName, getDataExplorerMenuItemToneClassName, resolveDataExplorerAppearance };
|
|
9
|
+
export { DataExplorerDraggableTree, DataExplorerDraggableTreeProps };
|
|
@@ -1,62 +1,9 @@
|
|
|
1
|
+
export { D as DataExplorerActionBar, a as DataExplorerButton, b as DataExplorerCheckbox, c as DataExplorerCollectionFooter, f as DataExplorerDetailField, g as DataExplorerDetailSection, h as DataExplorerDetailShell, i as DataExplorerDisplayActionMenu, j as DataExplorerDisplayCard, k as DataExplorerDisplayCollectionView, l as DataExplorerDisplayListItem, m as DataExplorerDisplayMedia, n as DataExplorerImagePreview, o as DataExplorerPage, p as DataExplorerRecordCard, d as DataExplorerSelect, e as DataExplorerToolbarActions, q as DataExplorerToolbarShell, r as DataExplorerTree, s as DataExplorerTreeShell, u as DataExplorerView, v as DataExplorerViewCollection, w as DataExplorerViewItem, x as DataExplorerViewItemShell, y as DataExplorerViewShell, t as DataExplorerViewTree, z as getDataExplorerActionToneClassName, A as getDataExplorerMenuItemToneClassName, B as resolveDataExplorerAppearance } from '../../theme-rXHbVr6l.js';
|
|
1
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import {
|
|
3
|
-
export { b as DataExplorerAction, D as DataExplorerActionBarClassNames, d as DataExplorerBackground, e as DataExplorerBorder, f as DataExplorerButtonClassNames, h as DataExplorerCapabilities,
|
|
4
|
-
import
|
|
3
|
+
import { aJ as DataExplorerDraggableTreeProps } from '../../types-BnC3Z85r.js';
|
|
4
|
+
export { b as DataExplorerAction, D as DataExplorerActionBarClassNames, a as DataExplorerActionBarProps, c as DataExplorerAppearance, d as DataExplorerBackground, e as DataExplorerBorder, f as DataExplorerButtonClassNames, g as DataExplorerButtonProps, h as DataExplorerCapabilities, aK as DataExplorerCapabilityBucketsConfig, aL as DataExplorerCapabilitySidebarConfig, aM as DataExplorerCapabilityToolbarConfig, aN as DataExplorerCapabilityViewOption, aO as DataExplorerCapabilityViewsConfig, i as DataExplorerCheckboxClassNames, j as DataExplorerCheckboxProps, k as DataExplorerCollectionFooterClassNames, l as DataExplorerCollectionFooterProps, m as DataExplorerControlOption, n as DataExplorerControlTone, o as DataExplorerDensity, p as DataExplorerDetailFieldClassNames, q as DataExplorerDetailFieldDefinition, r as DataExplorerDetailFieldProps, s as DataExplorerDetailNavigation, t as DataExplorerDetailSectionClassNames, u as DataExplorerDetailSectionDefinition, v as DataExplorerDetailSectionProps, w as DataExplorerDetailShellClassNames, x as DataExplorerDetailShellProps, B as DataExplorerDisplayAction, C as DataExplorerDisplayActionContext, E as DataExplorerDisplayActionMenuClassNames, F as DataExplorerDisplayActionMenuProps, G as DataExplorerDisplayBadge, H as DataExplorerDisplayCardClassNames, I as DataExplorerDisplayCardProps, J as DataExplorerDisplayCollectionItemContext, K as DataExplorerDisplayCollectionItemPropsResolver, L as DataExplorerDisplayCollectionViewProps, M as DataExplorerDisplayItem, N as DataExplorerDisplayListItemClassNames, O as DataExplorerDisplayListItemProps, P as DataExplorerDisplayMediaClassNames, Q as DataExplorerDisplayMediaItem, R as DataExplorerDisplayMediaKind, S as DataExplorerDisplayMediaProps, T as DataExplorerDisplayMetadata, aP as DataExplorerDraggableTreeClassNames, aQ as DataExplorerDraggableTreeDragPayload, aR as DataExplorerDraggableTreeFlattenedNode, aS as DataExplorerDraggableTreeLabels, aT as DataExplorerDraggableTreeNode, aU as DataExplorerDraggableTreeRenderContext, y as DataExplorerImagePreviewClassNames, z as DataExplorerImagePreviewNaturalSize, A as DataExplorerImagePreviewProps, a4 as DataExplorerMeasuredGridOptions, U as DataExplorerPageClassNames, V as DataExplorerPageProps, _ as DataExplorerRadius, W as DataExplorerRecordCardClassNames, X as DataExplorerRecordCardProps, Y as DataExplorerResolvedTheme, Z as DataExplorerResolver, $ as DataExplorerSelectClassNames, a0 as DataExplorerSelectProps, aV as DataExplorerShellVariantId, aW as DataExplorerSurfaceConfig, aX as DataExplorerSurfaceId, a1 as DataExplorerThemePresetId, a3 as DataExplorerThemeSlots, a2 as DataExplorerThemeStyles, a5 as DataExplorerToolbarAction, a6 as DataExplorerToolbarActionItem, a7 as DataExplorerToolbarActionKind, a8 as DataExplorerToolbarActionOption, a9 as DataExplorerToolbarActionsClassNames, aa as DataExplorerToolbarActionsLayout, ab as DataExplorerToolbarActionsProps, ac as DataExplorerToolbarShellClassNames, ad as DataExplorerToolbarShellProps, ae as DataExplorerToolbarViewOption, af as DataExplorerTreeClassNames, aj as DataExplorerTreeProps, ag as DataExplorerTreeRenderProps, ah as DataExplorerTreeShellClassNames, ai as DataExplorerTreeShellProps, at as DataExplorerViewClassNames, au as DataExplorerViewCollectionClassNames, av as DataExplorerViewCollectionLayout, aw as DataExplorerViewCollectionOptions, ax as DataExplorerViewCollectionProps, ay as DataExplorerViewDefinition, az as DataExplorerViewId, aB as DataExplorerViewItemDefinition, aD as DataExplorerViewItemProps, aA as DataExplorerViewItemShellClassNames, aC as DataExplorerViewItemShellProps, aE as DataExplorerViewOption, aI as DataExplorerViewProps, aF as DataExplorerViewRenderProps, aG as DataExplorerViewShellClassNames, aH as DataExplorerViewShellProps, ak as DataExplorerViewTreeAction, al as DataExplorerViewTreeActionContext, am as DataExplorerViewTreeClassNames, an as DataExplorerViewTreeEntryType, ao as DataExplorerViewTreeGroup, ap as DataExplorerViewTreeLabels, aq as DataExplorerViewTreeNode, ar as DataExplorerViewTreeProps, as as DataExplorerViewTreeReorderPayload } from '../../types-BnC3Z85r.js';
|
|
5
|
+
import 'react';
|
|
5
6
|
|
|
6
|
-
declare function
|
|
7
|
+
declare function DataExplorerDraggableTree<TSource = unknown, TContext = unknown>({ nodes, context, selectedNodeId, expandedNodeIds, defaultExpandedNodeIds, resetExpansionKey, indentSize, activationMode, loading, empty, labels, appearance, className, classNames, renderNodeActions, renderNodeChildren, onSelectNode, onExpandedNodeIdsChange, onDragEnd, }: DataExplorerDraggableTreeProps<TSource, TContext>): react_jsx_runtime.JSX.Element;
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
declare function DataExplorerCheckbox({ checked, icon, label, title, disabled, appearance, className, classNames, style, onCheckedChange, }: DataExplorerCheckboxProps): react_jsx_runtime.JSX.Element;
|
|
11
|
-
|
|
12
|
-
declare function DataExplorerCollectionFooter({ selectedCount, loadedStart, loadedEnd, total, currentPage, pageSize, pageSizeOptions, loading, selectedLabel, loadedLabel, pageSizeLabel, pageText, tone, appearance, className, classNames, onJump, onPageSizeChange, }: DataExplorerCollectionFooterProps): react_jsx_runtime.JSX.Element;
|
|
13
|
-
|
|
14
|
-
declare function DataExplorerSelect({ value, options, label, placeholder, icon, title, triggerLabel, disabled, display, align, sideOffset, appearance, className, classNames, style, onValueChange, }: DataExplorerSelectProps): react_jsx_runtime.JSX.Element;
|
|
15
|
-
|
|
16
|
-
declare function DataExplorerToolbarActions<TContext = unknown>({ context, actions, layout, appearance, empty, children, className, classNames, }: DataExplorerToolbarActionsProps<TContext>): react_jsx_runtime.JSX.Element | null;
|
|
17
|
-
|
|
18
|
-
declare function DataExplorerDetailField<TContext = unknown>({ field, label, icon, value, children, context, className, valueClassName, classNames, }: DataExplorerDetailFieldProps<TContext>): react_jsx_runtime.JSX.Element;
|
|
19
|
-
|
|
20
|
-
declare function DataExplorerDetailSection<TContext = unknown>({ section, title, fields, children, context, className, classNames, fieldClassNames, }: DataExplorerDetailSectionProps<TContext>): react_jsx_runtime.JSX.Element | null;
|
|
21
|
-
|
|
22
|
-
declare function DataExplorerDetailShell<TContext = unknown>({ title, subtitle, leading, preview, previewStyle, previewPadded, previewCentered, sections, rightPanel, context, navigation, closeLabel, closeIcon, onClose, appearance, className, classNames, }: DataExplorerDetailShellProps<TContext>): react_jsx_runtime.JSX.Element;
|
|
23
|
-
|
|
24
|
-
declare function DataExplorerDisplayActionMenu<TSource = unknown>({ item, itemId, source, actions, label, triggerLabel, triggerIcon, align, sideOffset, appearance, className, classNames, }: DataExplorerDisplayActionMenuProps<TSource>): react_jsx_runtime.JSX.Element | null;
|
|
25
|
-
|
|
26
|
-
declare function DataExplorerDisplayCard<TSource = unknown>({ item, title, description, badges, meta, actions, media, header, headerLeading, headerContent, overlay, footer, children, selected, disabled, interactive, role, tabIndex, appearance, className, classNames, onClick, onKeyDown, }: DataExplorerDisplayCardProps<TSource>): react_jsx_runtime.JSX.Element;
|
|
27
|
-
|
|
28
|
-
declare function DataExplorerDisplayCollectionView<TSource = unknown>({ items, activeViewId, layout, appearance, selectedIds, empty, loading, loadingNode, footer, overlay, className, classNames, scrollable, wrapItems, measuredGrid, itemsStyle, itemStyle, getItemClassName, cardProps, listItemProps, renderMedia, renderActions, renderItem, onOpenItem, onSelectionChange, }: DataExplorerDisplayCollectionViewProps<TSource>): react_jsx_runtime.JSX.Element;
|
|
29
|
-
|
|
30
|
-
declare function DataExplorerDisplayListItem<TSource = unknown>({ className, classNames, ...props }: DataExplorerDisplayListItemProps<TSource>): react_jsx_runtime.JSX.Element;
|
|
31
|
-
|
|
32
|
-
declare function DataExplorerDisplayMedia<TSource = unknown>({ media, fallbackTitle, empty, className, classNames, onOpen, }: DataExplorerDisplayMediaProps<TSource>): react_jsx_runtime.JSX.Element | null;
|
|
33
|
-
|
|
34
|
-
declare function DataExplorerImagePreview({ src, alt, empty, actions, actionContext, toolbarActions, zoomStep, stagePadding, minScale, maxScale, controlsVisible, zoomLabelVisible, resetLabel, zoomInLabel, zoomOutLabel, appearance, className, classNames, onLoad, onError, }: DataExplorerImagePreviewProps): react_jsx_runtime.JSX.Element;
|
|
35
|
-
|
|
36
|
-
declare function DataExplorerPage({ sidebar, tree, toolbar, controls, notices, content, view, detail, className, classNames, }: DataExplorerPageProps): react_jsx_runtime.JSX.Element;
|
|
37
|
-
|
|
38
|
-
declare function DataExplorerRecordCard<TSource = unknown>({ item, selected, active, disabled, hasMedia, showHeaderWithMedia, selectionVisible, favoriteVisible, overlayControlsAlwaysVisible, favoriteActive, favoriteLabel, favoriteActiveLabel, selectLabel, unselectLabel, actions, media, footer, checkbox, favorite, keywordLimit, appearance, className, classNames, onClick, onToggleSelection, onToggleFavorite, }: DataExplorerRecordCardProps<TSource>): react_jsx_runtime.JSX.Element;
|
|
39
|
-
|
|
40
|
-
declare function DataExplorerToolbarShell<TContext = unknown>({ context, leading, leadingActions, searchValue, searchPlaceholder, searchIcon, viewOptions, activeViewId, actions, toolbarActions, appearance, children, className, classNames, onSearchChange, onSearchSubmit, onViewChange, }: DataExplorerToolbarShellProps<TContext>): react_jsx_runtime.JSX.Element;
|
|
41
|
-
|
|
42
|
-
declare function DataExplorerTree<TNode = unknown, TContext = unknown>({ nodes, context, capabilities, className, classNames, empty, selectedNodeId, getNodeId, getChildren, renderNode, onSelect, }: DataExplorerTreeProps<TNode, TContext>): react_jsx_runtime.JSX.Element | null;
|
|
43
|
-
|
|
44
|
-
declare function DataExplorerTreeShell({ title, subtitle, toolbar, footer, children, className, classNames, }: DataExplorerTreeShellProps): react_jsx_runtime.JSX.Element;
|
|
45
|
-
|
|
46
|
-
declare function DataExplorerViewTree<TNodeSource = unknown, TGroupSource = unknown, TContext = unknown>({ groups, nodes, context, selectedNodeId, expandedNodeIds, defaultExpandedNodeIds, expandedGroupIds, defaultExpandedGroupIds, resetExpansionKey, nodeActions, groupActions, indentSize, empty, loading, loadingNode, error, labels, reorderMode, appearance, className, classNames, onSelectNode, onExpandedNodeIdsChange, onExpandedGroupIdsChange, onAction, onReorderNodes, }: DataExplorerViewTreeProps<TNodeSource, TGroupSource, TContext>): react_jsx_runtime.JSX.Element;
|
|
47
|
-
|
|
48
|
-
declare function DataExplorerView<TItem = unknown, TContext = unknown, TViewId extends DataExplorerViewId = DataExplorerViewId>({ items, views, activeViewId, fallbackViewId, context, capabilities, className, classNames, empty, loading, loadingNode, footer, overlay, layout, collection, selectedIds, getItemId, itemDefinition, renderItem, onOpenItem, onSelectionChange, }: DataExplorerViewProps<TItem, TContext, TViewId>): react_jsx_runtime.JSX.Element;
|
|
49
|
-
|
|
50
|
-
declare function DataExplorerViewCollection<TItem = unknown, TContext = unknown, TViewId extends DataExplorerViewId = DataExplorerViewId>({ items, activeViewId, context, capabilities, className, classNames, empty, loading, loadingNode, footer, overlay, layout, scrollable, wrapItems, measuredGrid, itemsStyle, itemStyle, selectedIds, getItemId, itemDefinition, renderItem, getItemClassName, onOpenItem, onSelectionChange, }: DataExplorerViewCollectionProps<TItem, TContext, TViewId>): react_jsx_runtime.JSX.Element | null;
|
|
51
|
-
|
|
52
|
-
declare function DataExplorerViewItem<TItem = unknown, TContext = unknown>(props: DataExplorerViewItemProps<TItem, TContext>): react_jsx_runtime.JSX.Element;
|
|
53
|
-
|
|
54
|
-
declare function DataExplorerViewItemShell({ media, title, description, meta, badges, actions, footer, children, className, classNames, }: DataExplorerViewItemShellProps): react_jsx_runtime.JSX.Element;
|
|
55
|
-
|
|
56
|
-
declare function DataExplorerViewShell({ header, footer, overlay, empty, isEmpty, children, className, classNames, }: DataExplorerViewShellProps): react_jsx_runtime.JSX.Element;
|
|
57
|
-
|
|
58
|
-
declare function resolveDataExplorerAppearance(appearance?: DataExplorerAppearance): DataExplorerResolvedTheme;
|
|
59
|
-
declare function getDataExplorerActionToneClassName(theme: DataExplorerResolvedTheme, tone: DataExplorerControlTone | undefined, active: boolean): string;
|
|
60
|
-
declare function getDataExplorerMenuItemToneClassName(theme: DataExplorerResolvedTheme, tone: DataExplorerControlTone | undefined): string | undefined;
|
|
61
|
-
|
|
62
|
-
export { DataExplorerActionBar, DataExplorerActionBarProps, DataExplorerAppearance, DataExplorerButton, DataExplorerButtonProps, DataExplorerCheckbox, DataExplorerCheckboxProps, DataExplorerCollectionFooter, DataExplorerCollectionFooterProps, DataExplorerControlTone, DataExplorerDetailField, DataExplorerDetailFieldProps, DataExplorerDetailSection, DataExplorerDetailSectionProps, DataExplorerDetailShell, DataExplorerDetailShellProps, DataExplorerDisplayActionMenu, DataExplorerDisplayActionMenuProps, DataExplorerDisplayCard, DataExplorerDisplayCardProps, DataExplorerDisplayCollectionView, DataExplorerDisplayCollectionViewProps, DataExplorerDisplayListItem, DataExplorerDisplayListItemProps, DataExplorerDisplayMedia, DataExplorerDisplayMediaProps, DataExplorerImagePreview, DataExplorerImagePreviewProps, DataExplorerPage, DataExplorerPageProps, DataExplorerRecordCard, DataExplorerRecordCardProps, DataExplorerResolvedTheme, DataExplorerSelect, DataExplorerSelectProps, DataExplorerToolbarActions, DataExplorerToolbarActionsProps, DataExplorerToolbarShell, DataExplorerToolbarShellProps, DataExplorerTree, DataExplorerTreeProps, DataExplorerTreeShell, DataExplorerTreeShellProps, DataExplorerView, DataExplorerViewCollection, DataExplorerViewCollectionProps, DataExplorerViewId, DataExplorerViewItem, DataExplorerViewItemProps, DataExplorerViewItemShell, DataExplorerViewItemShellProps, DataExplorerViewProps, DataExplorerViewShell, DataExplorerViewShellProps, DataExplorerViewTree, DataExplorerViewTreeProps, getDataExplorerActionToneClassName, getDataExplorerMenuItemToneClassName, resolveDataExplorerAppearance };
|
|
9
|
+
export { DataExplorerDraggableTree, DataExplorerDraggableTreeProps };
|