@cozeloop/components 0.0.0-beta-1766561124625
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 +84 -0
- package/dist/es/index.css +645 -0
- package/dist/es/index.mjs +6091 -0
- package/dist/es/static/svg/select.svg +1 -0
- package/dist/lib/base-search-select/base-search-form-select.d.ts +3 -0
- package/dist/lib/base-search-select/base-search-select.d.ts +9 -0
- package/dist/lib/base-search-select/index.d.ts +3 -0
- package/dist/lib/base-search-select/types.d.ts +13 -0
- package/dist/lib/base-search-select/utils.d.ts +8 -0
- package/dist/lib/basic-card/index.d.ts +7 -0
- package/dist/lib/card-pane/index.d.ts +5 -0
- package/dist/lib/chip-select/index.d.ts +2 -0
- package/dist/lib/code-editor/index.d.ts +3 -0
- package/dist/lib/code-editor-with-loading/index.d.ts +10 -0
- package/dist/lib/codemirror-editor/code-editor.d.ts +23 -0
- package/dist/lib/codemirror-editor/index.d.ts +6 -0
- package/dist/lib/codemirror-editor/json-editor.d.ts +19 -0
- package/dist/lib/codemirror-editor/raw-code-editor.d.ts +20 -0
- package/dist/lib/codemirror-editor/raw-text-editor.d.ts +11 -0
- package/dist/lib/codemirror-editor/text-editor.d.ts +23 -0
- package/dist/lib/codemirror-editor/themes/coze-dark.d.ts +1 -0
- package/dist/lib/codemirror-editor/themes/coze-light.d.ts +1 -0
- package/dist/lib/collapse-card/index.d.ts +14 -0
- package/dist/lib/collapsible-card/index.d.ts +13 -0
- package/dist/lib/column-manage-storage/index.d.ts +11 -0
- package/dist/lib/columns-select/index.d.ts +19 -0
- package/dist/lib/copyable/index.d.ts +5 -0
- package/dist/lib/edit-icon-button/index.d.ts +8 -0
- package/dist/lib/footer-actions/index.d.ts +15 -0
- package/dist/lib/hooks/use-infinite-scroll.d.ts +23 -0
- package/dist/lib/hooks/use-mouse-down-offset.d.ts +9 -0
- package/dist/lib/hooks/use-unsave-leave-warning.d.ts +15 -0
- package/dist/lib/id-render/icon-button-container.d.ts +8 -0
- package/dist/lib/id-render/index.d.ts +7 -0
- package/dist/lib/index-controller/record-navigation.d.ts +6 -0
- package/dist/lib/index-controller/use-item-index-controller.d.ts +47 -0
- package/dist/lib/index.d.ts +70 -0
- package/dist/lib/infinite-scroll-table/index.d.ts +19 -0
- package/dist/lib/info-tooltip/index.d.ts +9 -0
- package/dist/lib/input-components/radio-button.d.ts +14 -0
- package/dist/lib/input-slider/index.d.ts +15 -0
- package/dist/lib/input-with-count/index.d.ts +2 -0
- package/dist/lib/jump-button/jump-icon-button.d.ts +4 -0
- package/dist/lib/large-txt-render/index.d.ts +4 -0
- package/dist/lib/layout/content.d.ts +7 -0
- package/dist/lib/layout/header.d.ts +7 -0
- package/dist/lib/layout/index.d.ts +12 -0
- package/dist/lib/layout/tabs.d.ts +6 -0
- package/dist/lib/lazy-load-component/index.d.ts +5 -0
- package/dist/lib/logic-editor/index.d.ts +3 -0
- package/dist/lib/logic-editor/logic-editor.d.ts +15 -0
- package/dist/lib/logic-editor/logic-left-render.d.ts +3 -0
- package/dist/lib/logic-editor/logic-operator-render.d.ts +3 -0
- package/dist/lib/logic-editor/logic-right-render.d.ts +3 -0
- package/dist/lib/logic-editor/logic-types.d.ts +53 -0
- package/dist/lib/logic-editor/utils.d.ts +2 -0
- package/dist/lib/logic-expr/consts.d.ts +2 -0
- package/dist/lib/logic-expr/expr-group-render.d.ts +2 -0
- package/dist/lib/logic-expr/expr-render.d.ts +2 -0
- package/dist/lib/logic-expr/index.d.ts +2 -0
- package/dist/lib/logic-expr/logic-expr.d.ts +2 -0
- package/dist/lib/logic-expr/logic-not.d.ts +10 -0
- package/dist/lib/logic-expr/logic-toggle.d.ts +12 -0
- package/dist/lib/logic-expr/types.d.ts +79 -0
- package/dist/lib/loop-icons/index.d.ts +1 -0
- package/dist/lib/loop-radio-group/index.d.ts +2 -0
- package/dist/lib/multi-part-editor/components/image-item-renderer.d.ts +14 -0
- package/dist/lib/multi-part-editor/components/multipart-item-renderer.d.ts +10 -0
- package/dist/lib/multi-part-editor/components/url-input-modal.d.ts +14 -0
- package/dist/lib/multi-part-editor/components/video-item-renderer.d.ts +14 -0
- package/dist/lib/multi-part-editor/index.d.ts +3 -0
- package/dist/lib/multi-part-editor/multi-part-render.d.ts +10 -0
- package/dist/lib/multi-part-editor/type.d.ts +81 -0
- package/dist/lib/multi-part-editor/upload-button.d.ts +23 -0
- package/dist/lib/multi-part-editor/utils.d.ts +16 -0
- package/dist/lib/open-detail-button/index.d.ts +6 -0
- package/dist/lib/page-content/index.d.ts +20 -0
- package/dist/lib/primary-page/index.d.ts +1 -0
- package/dist/lib/primary-page/primary-header.d.ts +13 -0
- package/dist/lib/primary-title/index.d.ts +6 -0
- package/dist/lib/provider/index.d.ts +19 -0
- package/dist/lib/resizable-side-sheet/index.d.ts +10 -0
- package/dist/lib/resize-sidesheet/index.d.ts +7 -0
- package/dist/lib/resize-sidesheet/use-drag.d.ts +11 -0
- package/dist/lib/schema-editor/index.d.ts +11 -0
- package/dist/lib/semi-schema-form/components/tmpls/array-field-item.d.ts +6 -0
- package/dist/lib/semi-schema-form/components/tmpls/array-field.d.ts +6 -0
- package/dist/lib/semi-schema-form/components/tmpls/base-input.d.ts +8 -0
- package/dist/lib/semi-schema-form/components/tmpls/description-field.d.ts +6 -0
- package/dist/lib/semi-schema-form/components/tmpls/error-list.d.ts +6 -0
- package/dist/lib/semi-schema-form/components/tmpls/field-error.d.ts +6 -0
- package/dist/lib/semi-schema-form/components/tmpls/field.d.ts +7 -0
- package/dist/lib/semi-schema-form/components/tmpls/icon-button.d.ts +11 -0
- package/dist/lib/semi-schema-form/components/tmpls/index.d.ts +2 -0
- package/dist/lib/semi-schema-form/components/tmpls/object-field.d.ts +8 -0
- package/dist/lib/semi-schema-form/components/tmpls/submit.d.ts +4 -0
- package/dist/lib/semi-schema-form/components/tmpls/title-field.d.ts +6 -0
- package/dist/lib/semi-schema-form/components/widgets/checkbox.d.ts +7 -0
- package/dist/lib/semi-schema-form/components/widgets/checkboxs.d.ts +7 -0
- package/dist/lib/semi-schema-form/components/widgets/index.d.ts +2 -0
- package/dist/lib/semi-schema-form/components/widgets/radio.d.ts +7 -0
- package/dist/lib/semi-schema-form/components/widgets/range.d.ts +7 -0
- package/dist/lib/semi-schema-form/components/widgets/select.d.ts +7 -0
- package/dist/lib/semi-schema-form/components/widgets/textarea.d.ts +6 -0
- package/dist/lib/semi-schema-form/index.d.ts +4 -0
- package/dist/lib/sentinel-form/enum.d.ts +8 -0
- package/dist/lib/sentinel-form/index.d.ts +20 -0
- package/dist/lib/step-nav/index.d.ts +12 -0
- package/dist/lib/table/index.d.ts +2 -0
- package/dist/lib/table/sort-icon.d.ts +8 -0
- package/dist/lib/table/table-with-pagination.d.ts +21 -0
- package/dist/lib/table/table-without-pagniation.d.ts +6 -0
- package/dist/lib/table-batch-operate/table-batch-operation.d.ts +9 -0
- package/dist/lib/table-batch-operate/use-batch-operate.d.ts +30 -0
- package/dist/lib/table-col-actions/index.d.ts +22 -0
- package/dist/lib/table-cols-config/index.d.ts +11 -0
- package/dist/lib/table-cols-config/type.d.ts +6 -0
- package/dist/lib/table-cols-config/use-hidden-col-keys.d.ts +5 -0
- package/dist/lib/table-cols-config/util.d.ts +3 -0
- package/dist/lib/table-empty/index.d.ts +2 -0
- package/dist/lib/table-header/index.d.ts +14 -0
- package/dist/lib/tabs/index.d.ts +2 -0
- package/dist/lib/text-area-pro/index.d.ts +6 -0
- package/dist/lib/text-with-copy/index.d.ts +14 -0
- package/dist/lib/title-with-sub/index.d.ts +7 -0
- package/dist/lib/tooltip-when-disabled/index.d.ts +6 -0
- package/dist/lib/tooltip-with-disabled/index.d.ts +5 -0
- package/dist/lib/upload/index.d.ts +9 -0
- package/dist/lib/user-profile/index.d.ts +9 -0
- package/dist/lib/utils/basic.d.ts +2 -0
- package/dist/lib/version-list/version-descriptions.d.ts +15 -0
- package/dist/lib/version-list/version-item.d.ts +9 -0
- package/dist/lib/version-list/version-list.d.ts +11 -0
- package/dist/lib/version-list/version-switch-panel.d.ts +5 -0
- package/package.json +64 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" focusable="false" aria-hidden="true"><path d="M6.45127 8.34152L11.2475 1.86011C11.6459 1.40478 12.3542 1.40478 12.7527 1.86011L17.5489 8.34152C18.1147 8.9881 17.6555 10 16.7963 10H7.20385C6.34469 10 5.88551 8.9881 6.45127 8.34152Z" fill="currentColor"></path><path d="M17.5489 15.6585L12.7527 22.1399C12.3542 22.5952 11.6459 22.5952 11.2475 22.1399L6.45127 15.6585C5.88551 15.0119 6.34469 14 7.20385 14H16.7963C17.6555 14 18.1147 15.0119 17.5489 15.6585Z" fill="currentColor"></path></svg>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type BaseSelectProps } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* 基础选择器组件
|
|
4
|
+
* 解决两个主要问题:
|
|
5
|
+
* 1. 初始选中值不在第一页数据中导致只显示ID
|
|
6
|
+
* 2. 搜索后选中值不在结果中导致只显示ID
|
|
7
|
+
*/
|
|
8
|
+
declare const BaseSearchSelect: (props: BaseSelectProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default BaseSearchSelect;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type OptionProps, type SelectProps } from '@coze-arch/coze-design';
|
|
2
|
+
export type LoadOptionByIds = (ids: string[] | number[]) => Promise<(OptionProps & {
|
|
3
|
+
[key: string]: any;
|
|
4
|
+
})[]>;
|
|
5
|
+
export interface BaseSelectProps extends SelectProps {
|
|
6
|
+
/** 是否禁用缓存选项 */
|
|
7
|
+
disabledCacheOptions?: boolean;
|
|
8
|
+
loadOptionByIds?: LoadOptionByIds;
|
|
9
|
+
/** 是否显示刷新按钮 */
|
|
10
|
+
showRefreshBtn?: boolean;
|
|
11
|
+
/** 点击刷新按钮的回调 */
|
|
12
|
+
onClickRefresh?: () => void;
|
|
13
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const transformValueToArray: (value: any, onChangeWithObject?: boolean) => string[] | number[];
|
|
2
|
+
export declare const filterValueNotInOptionList: (value: any, optionSet: Set<string | number | undefined>, onChangeWithObject?: boolean) => Int64[];
|
|
3
|
+
export declare const getOptionsNotInList: ({ value, optionList, onChangeWithObject, }: {
|
|
4
|
+
value: any;
|
|
5
|
+
optionList: any[];
|
|
6
|
+
onChangeWithObject?: boolean;
|
|
7
|
+
}) => Int64[];
|
|
8
|
+
export declare const initialValueChecker: (value: any, optionList: any[], onChangeWithObject?: boolean) => any;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type editor } from '../code-editor';
|
|
2
|
+
export declare const codeOptionsConfig: editor.IStandaloneEditorConstructionOptions;
|
|
3
|
+
interface CodeEditorWithLoadingProps {
|
|
4
|
+
value: string;
|
|
5
|
+
onChange?: (value: string) => void;
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const CodeEditorWithLoading: ({ value, onChange, disabled, className, }: CodeEditorWithLoadingProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const CodeMirrorCodeEditor: (props: import("@coze-editor/editor/react").InferRendererProps<(import("@coze-editor/editor/react").OptionPluginSpec<"editorHeight", string | number | undefined> | import("@coze-editor/editor/react").OptionPluginSpec<"borderRadius", string | number | undefined> | import("@coze-editor/editor/react").OptionPluginSpec<"padding", string | number | undefined> | import("@coze-editor/editor/react").OptionPluginSpec<"lineHeight", string | number | undefined> | import("@coze-editor/editor/react").ExtensionPluginSpec | import("@coze-editor/editor/react").OptionPluginSpec<"fontSize", number> | import("@coze-editor/editor/react").OptionPluginSpec<"placeholder", string | HTMLElement> | import("@coze-editor/editor/react").OptionPluginSpec<"readOnly", boolean> | import("@coze-editor/editor/react").OptionPluginSpec<"editable", boolean> | import("@coze-editor/editor/react").OptionPluginSpec<"lineWrapping", boolean> | import("@coze-editor/editor/react").OptionPluginSpec<"height", string | number> | import("@coze-editor/editor/react").OptionPluginSpec<"minHeight", string | number> | import("@coze-editor/editor/react").OptionPluginSpec<"maxHeight", string | number> | import("@coze-editor/editor/react").APIPluginSpec<"getValue", [], string> | import("@coze-editor/editor/react").APIPluginSpec<"setValue", [value: string], void> | import("@coze-editor/editor/react").APIPluginSpec<"replaceText", [options: {
|
|
2
|
+
from: number;
|
|
3
|
+
to: number;
|
|
4
|
+
text: string;
|
|
5
|
+
cursorOffset?: number;
|
|
6
|
+
scrollIntoView?: boolean;
|
|
7
|
+
userEvent?: string;
|
|
8
|
+
}], void> | import("@coze-editor/editor/react").APIPluginSpec<"getCursorPosition", [], number> | import("@coze-editor/editor/react").APIPluginSpec<"setCursorPosition", [pos: number], void> | import("@coze-editor/editor/react").APIPluginSpec<"focus", [], void> | import("@coze-editor/editor/react").APIPluginSpec<"blur", [], void> | import("@coze-editor/editor/react").APIPluginSpec<"disableKeybindings", [keys: string[]], void> | import("@coze-editor/editor/react").APIPluginSpec<"updateASTDecorations", [], void> | import("@coze-editor/editor/react").APIPluginSpec<"undo", [], void> | import("@coze-editor/editor/react").APIPluginSpec<"redo", [], void> | import("@coze-editor/editor/react").APIPluginSpec<"transformTextInSelection", [transformer: (text: string) => string | undefined], void> | import("@coze-editor/editor/react").APIPluginSpec<"getSelection", [], {
|
|
9
|
+
from: number;
|
|
10
|
+
to: number;
|
|
11
|
+
anchor: number;
|
|
12
|
+
head: number;
|
|
13
|
+
}> | import("@coze-editor/editor/react").APIPluginSpec<"getLineInfoAtPosition", [pos: number], import("@codemirror/state").Line> | import("@coze-editor/editor/react").EventPluginSpec<"selectionChange", {
|
|
14
|
+
selection: {
|
|
15
|
+
from: number;
|
|
16
|
+
to: number;
|
|
17
|
+
head: number;
|
|
18
|
+
anchor: number;
|
|
19
|
+
};
|
|
20
|
+
update: import("@codemirror/view").ViewUpdate;
|
|
21
|
+
}> | import("@coze-editor/editor/react").EventPluginSpec<"change", {
|
|
22
|
+
value: string;
|
|
23
|
+
}> | import("@coze-editor/editor/react").EventPluginSpec<"focus", symbol> | import("@coze-editor/editor/react").EventPluginSpec<"blur", symbol> | import("@coze-editor/editor/react").DOMEventHandlerPluginSpec<"mousedown"> | import("@coze-editor/editor/react").DOMEventHandlerPluginSpec<"mouseup"> | import("@coze-editor/editor/react").OptionPluginSpec<"tabSize", number> | import("@coze-editor/editor/react").OptionPluginSpec<"scrollBeyondLastLine", boolean> | import("@coze-editor/editor/react").OptionPluginSpec<"uri", string> | import("@coze-editor/editor/react").OptionPluginSpec<"theme", string> | import("@coze-editor/editor/react").OptionPluginSpec<"languageId", string> | import("@coze-editor/editor/react").OptionPluginSpec<"transformer", import("@coze-editor/editor/preset-code").Transformer> | import("@coze-editor/editor/react").OptionPluginSpec<"overlayScrollbar", unknown> | import("@coze-editor/editor/react").OptionPluginSpec<"lineNumbersGutter", unknown> | import("@coze-editor/editor/react").OptionPluginSpec<"foldGutter", unknown> | import("@coze-editor/editor/react").OptionPluginSpec<"colorizeBrackets", unknown> | import("@coze-editor/editor/react").APIPluginSpec<"validate", [], void>)[]>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { EditorProvider } from '@coze-editor/editor/react';
|
|
2
|
+
export { CodeMirrorCodeEditor } from './code-editor';
|
|
3
|
+
export { CodeMirrorTextEditor } from './text-editor';
|
|
4
|
+
export { CodeMirrorJsonEditor } from './json-editor';
|
|
5
|
+
export { CodeMirrorRawTextEditor } from './raw-text-editor';
|
|
6
|
+
export { CodeMirrorRawCodeEditor } from './raw-code-editor';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface BaseJsonEditorProps {
|
|
3
|
+
value: string;
|
|
4
|
+
onChange?: (value: string) => void;
|
|
5
|
+
className?: string;
|
|
6
|
+
dataTestID?: string;
|
|
7
|
+
placeholder?: string | HTMLElement;
|
|
8
|
+
isDarkTheme?: boolean;
|
|
9
|
+
readonly?: boolean;
|
|
10
|
+
minHeight?: string | number;
|
|
11
|
+
maxHeight?: string | number;
|
|
12
|
+
editorHeight?: string | number;
|
|
13
|
+
padding?: string | number;
|
|
14
|
+
borderRadius?: string | number;
|
|
15
|
+
onFocus?: () => void;
|
|
16
|
+
onBlur?: () => void;
|
|
17
|
+
}
|
|
18
|
+
export declare const CodeMirrorJsonEditor: React.ForwardRefExoticComponent<BaseJsonEditorProps & React.RefAttributes<unknown>>;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface BaseCodeEditorProps {
|
|
3
|
+
value: string;
|
|
4
|
+
onChange?: (value: string) => void;
|
|
5
|
+
className?: string;
|
|
6
|
+
dataTestID?: string;
|
|
7
|
+
placeholder?: string | HTMLElement;
|
|
8
|
+
isDarkTheme?: boolean;
|
|
9
|
+
readonly?: boolean;
|
|
10
|
+
minHeight?: string | number;
|
|
11
|
+
maxHeight?: string | number;
|
|
12
|
+
editorHeight?: string | number;
|
|
13
|
+
padding?: string | number;
|
|
14
|
+
borderRadius?: string | number;
|
|
15
|
+
language?: string;
|
|
16
|
+
onFocus?: () => void;
|
|
17
|
+
onBlur?: () => void;
|
|
18
|
+
}
|
|
19
|
+
export declare const CodeMirrorRawCodeEditor: React.ForwardRefExoticComponent<BaseCodeEditorProps & React.RefAttributes<unknown>>;
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface CodeMirrorRawTextEditorProps {
|
|
2
|
+
value: string;
|
|
3
|
+
onChange?: (value?: string) => void;
|
|
4
|
+
className?: string;
|
|
5
|
+
readonly?: boolean;
|
|
6
|
+
dataTestID?: string;
|
|
7
|
+
placeholder?: string | HTMLElement;
|
|
8
|
+
minHeight?: string | number;
|
|
9
|
+
}
|
|
10
|
+
export declare const CodeMirrorRawTextEditor: import("react").ForwardRefExoticComponent<CodeMirrorRawTextEditorProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const CodeMirrorTextEditor: (props: import("@coze-editor/editor/react").InferRendererProps<(import("@coze-editor/editor/react").OptionPluginSpec<"lineHeight", string | number | undefined> | import("@coze-editor/editor/react").ExtensionPluginSpec | import("@coze-editor/editor/react").OptionPluginSpec<"fontSize", number> | import("@coze-editor/editor/react").OptionPluginSpec<"placeholder", string | HTMLElement> | import("@coze-editor/editor/react").OptionPluginSpec<"readOnly", boolean> | import("@coze-editor/editor/react").OptionPluginSpec<"editable", boolean> | import("@coze-editor/editor/react").OptionPluginSpec<"lineWrapping", boolean> | import("@coze-editor/editor/react").OptionPluginSpec<"height", string | number> | import("@coze-editor/editor/react").OptionPluginSpec<"minHeight", string | number> | import("@coze-editor/editor/react").OptionPluginSpec<"maxHeight", string | number> | import("@coze-editor/editor/react").APIPluginSpec<"getValue", [], string> | import("@coze-editor/editor/react").APIPluginSpec<"getCursorPosition", [], number> | import("@coze-editor/editor/react").APIPluginSpec<"focus", [], void> | import("@coze-editor/editor/react").APIPluginSpec<"blur", [], void> | import("@coze-editor/editor/react").APIPluginSpec<"updateASTDecorations", [], void> | import("@coze-editor/editor/react").APIPluginSpec<"undo", [], void> | import("@coze-editor/editor/react").APIPluginSpec<"redo", [], void> | import("@coze-editor/editor/react").EventPluginSpec<"focus", symbol> | import("@coze-editor/editor/react").EventPluginSpec<"blur", symbol> | import("@coze-editor/editor/react").DOMEventHandlerPluginSpec<"mousedown"> | import("@coze-editor/editor/react").DOMEventHandlerPluginSpec<"mouseup"> | import("@coze-editor/editor/react").APIPluginSpec<"setValue", [value: string], void> | import("@coze-editor/editor/react").APIPluginSpec<"replaceText", [options: {
|
|
2
|
+
from: number;
|
|
3
|
+
to: number;
|
|
4
|
+
text: string;
|
|
5
|
+
cursorOffset?: number;
|
|
6
|
+
scrollIntoView?: boolean;
|
|
7
|
+
userEvent?: string;
|
|
8
|
+
}], void> | import("@coze-editor/editor/react").APIPluginSpec<"setCursorPosition", [pos: number], void> | import("@coze-editor/editor/react").APIPluginSpec<"disableKeybindings", [keys: string[]], void> | import("@coze-editor/editor/react").APIPluginSpec<"transformTextInSelection", [transformer: (text: string) => string | undefined], void> | import("@coze-editor/editor/react").APIPluginSpec<"getSelection", [], {
|
|
9
|
+
from: number;
|
|
10
|
+
to: number;
|
|
11
|
+
anchor: number;
|
|
12
|
+
head: number;
|
|
13
|
+
}> | import("@coze-editor/editor/react").APIPluginSpec<"getLineInfoAtPosition", [pos: number], import("@codemirror/state").Line> | import("@coze-editor/editor/react").EventPluginSpec<"selectionChange", {
|
|
14
|
+
selection: {
|
|
15
|
+
from: number;
|
|
16
|
+
to: number;
|
|
17
|
+
head: number;
|
|
18
|
+
anchor: number;
|
|
19
|
+
};
|
|
20
|
+
update: import("@codemirror/view").ViewUpdate;
|
|
21
|
+
}> | import("@coze-editor/editor/react").EventPluginSpec<"change", {
|
|
22
|
+
value: string;
|
|
23
|
+
}>)[]>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const cozeDark: import("@codemirror/state").Extension[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const cozeLight: import("@codemirror/state").Extension[];
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type HTMLAttributes } from 'react';
|
|
2
|
+
interface CollapseCardProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
3
|
+
className?: string;
|
|
4
|
+
title: React.ReactNode;
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
subInfo?: React.ReactNode;
|
|
7
|
+
extra?: React.ReactNode;
|
|
8
|
+
defaultVisible?: boolean;
|
|
9
|
+
visible?: boolean;
|
|
10
|
+
disableCollapse?: boolean;
|
|
11
|
+
onVisibleChange?: (visible: boolean) => void;
|
|
12
|
+
}
|
|
13
|
+
export declare const CollapseCard: ({ className, title, children, subInfo, extra, defaultVisible, visible, onVisibleChange, disableCollapse, ...props }: CollapseCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type CSSProperties, type ReactNode } from 'react';
|
|
2
|
+
interface Props {
|
|
3
|
+
title?: ReactNode;
|
|
4
|
+
children?: ReactNode;
|
|
5
|
+
actionBtns?: ReactNode;
|
|
6
|
+
className?: string;
|
|
7
|
+
style?: CSSProperties;
|
|
8
|
+
hideExpand?: boolean;
|
|
9
|
+
isExpand?: boolean;
|
|
10
|
+
setIsExpand?: (isExpand: boolean) => void;
|
|
11
|
+
}
|
|
12
|
+
export declare function CollapsibleCard({ title, children, actionBtns, className, style, isExpand, setIsExpand, hideExpand, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type ColumnItem } from '../columns-select';
|
|
2
|
+
export declare const DATASET_COLUMN_STORAGE_KEY = "dataset-column";
|
|
3
|
+
export declare const getColumnManageStorage: (storageKey: string) => {};
|
|
4
|
+
export interface ColumnSort {
|
|
5
|
+
[key: string]: {
|
|
6
|
+
index: number;
|
|
7
|
+
checked: boolean;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export declare const setColumnsManageStorage: (storageKey: string, columns: ColumnItem[]) => void;
|
|
11
|
+
export declare const dealColumnsWithStorage: (storageKey: string, columns: ColumnItem[]) => ColumnItem[];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type ColumnProps } from '@coze-arch/coze-design';
|
|
2
|
+
export interface ColumnItem extends ColumnProps {
|
|
3
|
+
key: string;
|
|
4
|
+
value: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
checked?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface ColumnSelectorProps {
|
|
9
|
+
columns: ColumnItem[];
|
|
10
|
+
onChange?: (items: ColumnItem[]) => void;
|
|
11
|
+
buttonText?: string;
|
|
12
|
+
resetButtonText?: string;
|
|
13
|
+
className?: string;
|
|
14
|
+
sortable?: boolean;
|
|
15
|
+
defaultColumns?: ColumnItem[];
|
|
16
|
+
itemRender?: (item: ColumnItem) => React.ReactNode;
|
|
17
|
+
footerRender?: (item: ColumnItem[]) => React.ReactNode;
|
|
18
|
+
}
|
|
19
|
+
export declare const ColumnSelector: ({ columns, defaultColumns, onChange, buttonText, resetButtonText, className, sortable, itemRender, footerRender, }: ColumnSelectorProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type MouseEvent } from 'react';
|
|
2
|
+
interface Props extends React.HTMLAttributes<SVGElement> {
|
|
3
|
+
className?: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
onClick?: (e: MouseEvent<SVGElement>) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare function EditIconButton({ disabled, className, onClick, ...rest }: Props): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type ButtonProps } from '@coze-arch/coze-design';
|
|
2
|
+
interface Props {
|
|
3
|
+
confirmBtnProps?: ButtonProps & {
|
|
4
|
+
'data-btm'?: string;
|
|
5
|
+
'data-btm-title'?: string;
|
|
6
|
+
text?: string;
|
|
7
|
+
};
|
|
8
|
+
cancelBtnProps?: ButtonProps & {
|
|
9
|
+
'data-btm'?: string;
|
|
10
|
+
'data-btm-title'?: string;
|
|
11
|
+
text?: string;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export declare function FooterActions({ confirmBtnProps: { text: confirmBtnText, ...confirmBtnProps }, cancelBtnProps: { text: cancelBtnText, ...cancelBtnProps }, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type InfiniteScrollOptions, type Data, type Service } from 'ahooks/lib/useInfiniteScroll/types';
|
|
2
|
+
/**
|
|
3
|
+
* ahook的实现,在刷新列表时会出现以下两个问题
|
|
4
|
+
* 1. 发送存量数据对应的列表请求
|
|
5
|
+
* 2. 列表请求重复
|
|
6
|
+
* 因此fork ahook 实现,并将reload含义定义为刷新列表,并回到第一页
|
|
7
|
+
* @param service
|
|
8
|
+
* @param options
|
|
9
|
+
* @returns
|
|
10
|
+
*/
|
|
11
|
+
export declare const useInfiniteScroll: <TData extends Data>(service: Service<TData>, options?: InfiniteScrollOptions<TData>) => {
|
|
12
|
+
data: TData | undefined;
|
|
13
|
+
loading: boolean;
|
|
14
|
+
error: Error | undefined;
|
|
15
|
+
loadingMore: boolean;
|
|
16
|
+
noMore: boolean;
|
|
17
|
+
loadMore: () => void;
|
|
18
|
+
loadMoreAsync: () => Promise<TData>;
|
|
19
|
+
reload: () => void;
|
|
20
|
+
reloadAsync: () => Promise<TData>;
|
|
21
|
+
mutate: import("react").Dispatch<import("react").SetStateAction<TData | undefined>>;
|
|
22
|
+
cancel: () => void;
|
|
23
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
interface UnsaveLeaveWarningProps {
|
|
2
|
+
/** 是否阻塞 */
|
|
3
|
+
block: boolean;
|
|
4
|
+
/** 自定义提示消息*/
|
|
5
|
+
message?: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* 离开页面时的警告
|
|
9
|
+
* 触发时机:关闭浏览器、关闭浏览器标签页、刷新页面
|
|
10
|
+
*
|
|
11
|
+
* 注意:此钩子只处理浏览器层面的离开警告(beforeunload事件)
|
|
12
|
+
* React Router 导航离开处理需要用户自己在组件中使用 useBlocker 或其他方式实现
|
|
13
|
+
*/
|
|
14
|
+
export declare const useUnsaveLeaveWarning: ({ block, message, }: UnsaveLeaveWarningProps) => void;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type DOMAttributes } from 'react';
|
|
2
|
+
export declare function IconButtonContainer({ icon, className, style, onClick, active, disabled, ...rest }: {
|
|
3
|
+
icon: React.ReactNode;
|
|
4
|
+
className?: string;
|
|
5
|
+
style?: React.CSSProperties;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
active?: boolean;
|
|
8
|
+
} & DOMAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type IndexControllerStore } from './use-item-index-controller';
|
|
2
|
+
/** 控制上一个下一个记录的控制器组件 */
|
|
3
|
+
export declare function IndexControllerView({ indexControllerStore, className, }: {
|
|
4
|
+
indexControllerStore: IndexControllerStore;
|
|
5
|
+
className?: string;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
type FetchRecordItemsFn<RecordItem> = (params: {
|
|
2
|
+
pageSize: number;
|
|
3
|
+
pageIndex: number;
|
|
4
|
+
}) => Promise<{
|
|
5
|
+
list: RecordItem[];
|
|
6
|
+
total: number;
|
|
7
|
+
}>;
|
|
8
|
+
/**
|
|
9
|
+
* 索引控制器参数
|
|
10
|
+
*/
|
|
11
|
+
export interface IndexControllerOptions<RecordItem = Record<string, unknown>> {
|
|
12
|
+
/** 默认选中的记录索引 */
|
|
13
|
+
defaultIndex: number;
|
|
14
|
+
/** 刷新记录列表 */
|
|
15
|
+
fetchRecordItems: FetchRecordItemsFn<RecordItem>;
|
|
16
|
+
/** 批量获取记录数据的个数 */
|
|
17
|
+
batchSize?: number;
|
|
18
|
+
/** 获取记录详情 */
|
|
19
|
+
fetchRecordItem: (record: RecordItem) => Promise<RecordItem | undefined>;
|
|
20
|
+
/** 切换记录的回调 */
|
|
21
|
+
onRecordChange?: (record: RecordItem) => void;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* 索引控制器状态&API
|
|
25
|
+
*/
|
|
26
|
+
export interface IndexControllerStore {
|
|
27
|
+
/** 是否有上一条 */
|
|
28
|
+
hasPrevious: boolean;
|
|
29
|
+
/** 是否有下一条 */
|
|
30
|
+
hasNext: boolean;
|
|
31
|
+
/** 当前记录在列表中的位置信息 */
|
|
32
|
+
currentIndex: number;
|
|
33
|
+
/** 总记录数 */
|
|
34
|
+
total: number;
|
|
35
|
+
/** 切换到上一条 */
|
|
36
|
+
goToPrevious: () => void;
|
|
37
|
+
/** 切换到下一条 */
|
|
38
|
+
goToNext: () => void;
|
|
39
|
+
/** 加载状态 */
|
|
40
|
+
loading: boolean;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* 索引控制器
|
|
44
|
+
* 用于在详情抽屉中实现上一条、下一条功能
|
|
45
|
+
*/
|
|
46
|
+
export declare function useItemIndexController<RecordItem = Record<string, unknown>>({ defaultIndex, onRecordChange, fetchRecordItem, fetchRecordItems, batchSize, }: IndexControllerOptions<RecordItem>): IndexControllerStore;
|
|
47
|
+
export {};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
export { ColumnSelector, type ColumnItem } from './columns-select';
|
|
2
|
+
export { TooltipWhenDisabled, type TooltipWhenDisabledProps, } from './tooltip-when-disabled';
|
|
3
|
+
export { TooltipWithDisabled } from './tooltip-with-disabled';
|
|
4
|
+
export { Copyable } from './copyable';
|
|
5
|
+
export { LoopTable } from './table';
|
|
6
|
+
export { TableWithPagination, DEFAULT_PAGE_SIZE, PAGE_SIZE_OPTIONS, getStoragePageSize, type TableWithPaginationProps, } from './table/table-with-pagination';
|
|
7
|
+
export { PageError, PageLoading, PageNoAuth, PageNoContent, PageNotFound, FullPage, } from './page-content';
|
|
8
|
+
export { TableColActions, type TableColAction } from './table-col-actions';
|
|
9
|
+
export { LoopTabs } from './tabs';
|
|
10
|
+
export { LargeTxtRender } from './large-txt-render';
|
|
11
|
+
export { InputSlider, formateDecimalPlacesString } from './input-slider';
|
|
12
|
+
export { handleCopy, sleep } from './utils/basic';
|
|
13
|
+
export { uploadFile } from './upload';
|
|
14
|
+
export { default as VersionList } from './version-list/version-list';
|
|
15
|
+
export { default as VersionItem } from './version-list/version-item';
|
|
16
|
+
export { type Version } from './version-list/version-descriptions';
|
|
17
|
+
export { default as VersionSwitchPanel } from './version-list/version-switch-panel';
|
|
18
|
+
export { TextWithCopy } from './text-with-copy';
|
|
19
|
+
export { InfoTooltip } from './info-tooltip';
|
|
20
|
+
export { IDRender } from './id-render';
|
|
21
|
+
export { IconButtonContainer } from './id-render/icon-button-container';
|
|
22
|
+
export { JumpIconButton } from './jump-button/jump-icon-button';
|
|
23
|
+
export { UserProfile } from './user-profile';
|
|
24
|
+
export { getColumnManageStorage, setColumnsManageStorage, dealColumnsWithStorage, } from './column-manage-storage';
|
|
25
|
+
export { PrimaryPage } from './primary-page';
|
|
26
|
+
export { PrimaryTitle } from './primary-title';
|
|
27
|
+
export { ResizeSidesheet } from './resize-sidesheet';
|
|
28
|
+
export { useUnsaveLeaveWarning } from './hooks/use-unsave-leave-warning';
|
|
29
|
+
export { InfiniteScrollTable, type InfiniteScrollTableRef, } from './infinite-scroll-table';
|
|
30
|
+
export { TableHeader, type TableHeaderProps } from './table-header';
|
|
31
|
+
export { TableColsConfig, type TableColsConfigProps, type ColumnPropsPro, type ColKey, } from './table-cols-config';
|
|
32
|
+
export { TableWithoutPagination } from './table/table-without-pagniation';
|
|
33
|
+
export { TableBatchOperate } from './table-batch-operate/table-batch-operation';
|
|
34
|
+
export { useBatchOperate, type BatchOperateStore, } from './table-batch-operate/use-batch-operate';
|
|
35
|
+
export { useItemIndexController, type IndexControllerStore, } from './index-controller/use-item-index-controller';
|
|
36
|
+
export { IndexControllerView } from './index-controller/record-navigation';
|
|
37
|
+
export { BaseSearchSelect, BaseSearchFormSelect, type BaseSelectProps, type LoadOptionByIds, } from './base-search-select';
|
|
38
|
+
export { OpenDetailButton } from './open-detail-button';
|
|
39
|
+
export { EditIconButton } from './edit-icon-button';
|
|
40
|
+
export { CollapseCard } from './collapse-card';
|
|
41
|
+
export { type Expr, type ExprGroup, type LogicOperator, type LogicExprProps, type ExprRenderProps, type ExprGroupRenderProps, type LeftRenderProps, type OperatorRenderProps, type RightRenderProps, type OperatorOption, LogicExpr, } from './logic-expr';
|
|
42
|
+
export { RadioButton, type RadioButtonProps, } from './input-components/radio-button';
|
|
43
|
+
export { LogicEditor, type LogicDataType, type LogicField, type LogicFilter, type LogicSetter, } from './logic-editor';
|
|
44
|
+
export { CodeEditor, DiffEditor, type Monaco, type MonacoDiffEditor, type editor, } from './code-editor';
|
|
45
|
+
export { BasicCard } from './basic-card';
|
|
46
|
+
export { MultipartEditor } from './multi-part-editor';
|
|
47
|
+
export { ChipSelect } from './chip-select';
|
|
48
|
+
export { ImageItemRenderer } from './multi-part-editor/components/image-item-renderer';
|
|
49
|
+
export { VideoItemRenderer } from './multi-part-editor/components/video-item-renderer';
|
|
50
|
+
export { ImageStatus as MultipartRenderStatus, type FileItemStatus, type ContentPartLoop, } from './multi-part-editor/type';
|
|
51
|
+
export { DEFAULT_FILE_SIZE, DEFAULT_FILE_COUNT, DEFAULT_PART_COUNT, DEFAULT_SUPPORTED_FORMATS, DEFAULT_VIDEO_SUPPORTED_FORMATS, } from './multi-part-editor/utils';
|
|
52
|
+
export { UploadButton, type UploadButtonRef, } from './multi-part-editor/upload-button';
|
|
53
|
+
export { MultiPartRender } from './multi-part-editor/multi-part-render';
|
|
54
|
+
export { StepNav } from './step-nav';
|
|
55
|
+
export { LazyLoadComponent } from './lazy-load-component';
|
|
56
|
+
export { TextAreaPro, type Props as TextAreaProProps } from './text-area-pro';
|
|
57
|
+
export { InputWithCount } from './input-with-count';
|
|
58
|
+
export { LoopRadioGroup } from './loop-radio-group';
|
|
59
|
+
export { Layout } from './layout';
|
|
60
|
+
export { TitleWithSub } from './title-with-sub';
|
|
61
|
+
export { CozeLoopProvider, useReportEvent } from './provider';
|
|
62
|
+
export { FooterActions } from './footer-actions';
|
|
63
|
+
export { TableEmpty } from './table-empty';
|
|
64
|
+
export { CardPane } from './card-pane';
|
|
65
|
+
export { SemiSchemaForm, type SemiSchemaFormInstance, schemaValidators, } from './semi-schema-form';
|
|
66
|
+
export { ResizableSideSheet } from './resizable-side-sheet';
|
|
67
|
+
export { SentinelForm, type SentinelFormRef, type SentinelFormApi, } from './sentinel-form';
|
|
68
|
+
export { CodeMirrorCodeEditor, CodeMirrorTextEditor, CodeMirrorJsonEditor, CodeMirrorRawTextEditor, CodeMirrorRawCodeEditor, EditorProvider, } from './codemirror-editor';
|
|
69
|
+
export { SchemaEditor } from './schema-editor';
|
|
70
|
+
export { CodeEditorWithLoading } from './code-editor-with-loading';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type ForwardedRef } from 'react';
|
|
2
|
+
import { type Data, type InfiniteScrollOptions, type Service } from 'ahooks/lib/useInfiniteScroll/types';
|
|
3
|
+
import { useInfiniteScroll } from 'ahooks';
|
|
4
|
+
import { type TableProps } from '@coze-arch/coze-design';
|
|
5
|
+
interface ExpandData extends Data {
|
|
6
|
+
hasMore?: boolean;
|
|
7
|
+
}
|
|
8
|
+
interface InfiniteScrollTableProps<TData extends ExpandData> {
|
|
9
|
+
service: Service<TData>;
|
|
10
|
+
options?: InfiniteScrollOptions<TData>;
|
|
11
|
+
}
|
|
12
|
+
export interface InfiniteScrollTableRef {
|
|
13
|
+
hookRes: ReturnType<typeof useInfiniteScroll>;
|
|
14
|
+
}
|
|
15
|
+
type Props<TData extends ExpandData> = TableProps & InfiniteScrollTableProps<TData>;
|
|
16
|
+
export declare const InfiniteScrollTable: <TData extends ExpandData>(props: Props<TData> & {
|
|
17
|
+
ref?: ForwardedRef<InfiniteScrollTableRef>;
|
|
18
|
+
}) => React.ReactElement | null;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
content: string | React.ReactNode;
|
|
3
|
+
className?: string;
|
|
4
|
+
tooltipClassName?: string;
|
|
5
|
+
icon?: React.ReactNode;
|
|
6
|
+
useQuestion?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const InfoTooltip: ({ content, className, tooltipClassName, icon, useQuestion, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface RadioButtonProps<T extends string | number> {
|
|
2
|
+
value?: T;
|
|
3
|
+
onChange?: (value: T) => void;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
options: Array<{
|
|
6
|
+
value: T;
|
|
7
|
+
label: React.ReactNode;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
tooltip?: string;
|
|
10
|
+
}>;
|
|
11
|
+
className?: string;
|
|
12
|
+
}
|
|
13
|
+
/** coze design 的 SegmentTab 和 Radio 的 advanced + pureCard 模式均有样式问题,不得不自行造轮子 */
|
|
14
|
+
export declare function RadioButton<T extends string | number>({ value, onChange, options, disabled, className, }: RadioButtonProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type SliderProps } from '@coze-arch/coze-design';
|
|
2
|
+
interface InputSliderProps {
|
|
3
|
+
value?: number;
|
|
4
|
+
onChange?: (v: number) => void;
|
|
5
|
+
max?: number;
|
|
6
|
+
min?: number;
|
|
7
|
+
step?: number;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
decimalPlaces?: number;
|
|
10
|
+
marks?: SliderProps['marks'];
|
|
11
|
+
className?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const formateDecimalPlacesString: (value: string | number, prevValue?: number, decimalPlaces?: number) => string;
|
|
14
|
+
export declare const InputSlider: React.FC<InputSliderProps>;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Tabs } from './tabs';
|
|
2
|
+
import { Header } from './header';
|
|
3
|
+
export declare const Layout: {
|
|
4
|
+
Header: typeof Header;
|
|
5
|
+
Content: import("react").ForwardRefExoticComponent<{
|
|
6
|
+
children?: import("react").ReactNode;
|
|
7
|
+
style?: import("react").CSSProperties;
|
|
8
|
+
className?: string;
|
|
9
|
+
top?: import("react").ReactNode;
|
|
10
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
11
|
+
Tabs: typeof Tabs;
|
|
12
|
+
};
|