@gpustack/core-ui 1.0.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.
- package/README.md +1 -0
- package/dist/assets/invert-worker-CFNPVgCi.js +1 -0
- package/dist/assets/json-parser-worker-DtJw0BTZ.js +1 -0
- package/dist/assets/offscreen-worker-DL5yJmAw.js +1 -0
- package/dist/assets/parse-worker-Dzai8qsE.js +5 -0
- package/dist/favicon.ico +0 -0
- package/dist/index.cjs.js +2613 -0
- package/dist/index.css +1 -0
- package/dist/index.es.js +179547 -0
- package/dist/monaco-editor-CHfVLkob.js +103874 -0
- package/dist/monaco-editor-Df8eM8W1.js +802 -0
- package/dist/monaco-editor.css +1 -0
- package/dist/rolldown-runtime-BETGA6I9.js +23 -0
- package/dist/rolldown-runtime-D_0Db6FZ.js +1 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/lib/components/alert-info/block.d.ts +16 -0
- package/dist/src/lib/components/alert-info/index.d.ts +11 -0
- package/dist/src/lib/components/audio-animation/index.d.ts +16 -0
- package/dist/src/lib/components/audio-player/audio-element.d.ts +3 -0
- package/dist/src/lib/components/audio-player/config/type.d.ts +25 -0
- package/dist/src/lib/components/audio-player/index.d.ts +14 -0
- package/dist/src/lib/components/audio-player/raw-audio-player.d.ts +4 -0
- package/dist/src/lib/components/audio-player/simple-audio.d.ts +16 -0
- package/dist/src/lib/components/auto-image/index.d.ts +10 -0
- package/dist/src/lib/components/auto-image/single-image.d.ts +26 -0
- package/dist/src/lib/components/auto-tooltip/index.d.ts +18 -0
- package/dist/src/lib/components/auto-tooltip/title-tip.d.ts +9 -0
- package/dist/src/lib/components/bibtex-viewer/index.d.ts +5 -0
- package/dist/src/lib/components/card-wrapper/index.d.ts +2 -0
- package/dist/src/lib/components/card-wrapper/simple-card.d.ts +20 -0
- package/dist/src/lib/components/check-buttons/index.d.ts +10 -0
- package/dist/src/lib/components/collapse-container/headless-collapse.d.ts +9 -0
- package/dist/src/lib/components/collapse-container/index.d.ts +24 -0
- package/dist/src/lib/components/collapse-panel/index.d.ts +11 -0
- package/dist/src/lib/components/column-settings/index.d.ts +21 -0
- package/dist/src/lib/components/column-wrapper/index.d.ts +13 -0
- package/dist/src/lib/components/column-wrapper/use-wrapper-context.d.ts +17 -0
- package/dist/src/lib/components/command-viewer/index.d.ts +14 -0
- package/dist/src/lib/components/content-wrapper/index.d.ts +8 -0
- package/dist/src/lib/components/copy-button/index.d.ts +15 -0
- package/dist/src/lib/components/delete-modal/index.d.ts +2 -0
- package/dist/src/lib/components/divider-line/index.d.ts +2 -0
- package/dist/src/lib/components/doc-link/index.d.ts +6 -0
- package/dist/src/lib/components/drop-down-actions/index.d.ts +4 -0
- package/dist/src/lib/components/drop-down-buttons/index.d.ts +18 -0
- package/dist/src/lib/components/dynamic-form/components/field-item.d.ts +9 -0
- package/dist/src/lib/components/dynamic-form/components/form-widget.d.ts +6 -0
- package/dist/src/lib/components/dynamic-form/components/list-map.d.ts +17 -0
- package/dist/src/lib/components/dynamic-form/config/types.d.ts +39 -0
- package/dist/src/lib/components/dynamic-form/hooks/use-parse-fields.d.ts +7 -0
- package/dist/src/lib/components/dynamic-form/hooks/use-validate-fields.d.ts +10 -0
- package/dist/src/lib/components/dynamic-form/index.d.ts +8 -0
- package/dist/src/lib/components/echarts/bar-chart.d.ts +4 -0
- package/dist/src/lib/components/echarts/chart-tooltip.d.ts +7 -0
- package/dist/src/lib/components/echarts/chart.d.ts +10 -0
- package/dist/src/lib/components/echarts/config.d.ts +178 -0
- package/dist/src/lib/components/echarts/gauge.d.ts +4 -0
- package/dist/src/lib/components/echarts/h-bar.d.ts +6 -0
- package/dist/src/lib/components/echarts/index.d.ts +7 -0
- package/dist/src/lib/components/echarts/line-chart.d.ts +4 -0
- package/dist/src/lib/components/echarts/mix-line-bar.d.ts +9 -0
- package/dist/src/lib/components/echarts/scatter.d.ts +7 -0
- package/dist/src/lib/components/echarts/types.d.ts +44 -0
- package/dist/src/lib/components/editor-wrap/index.d.ts +14 -0
- package/dist/src/lib/components/empty-data/index.d.ts +6 -0
- package/dist/src/lib/components/error-message-content/index.d.ts +4 -0
- package/dist/src/lib/components/filter-form/index.d.ts +17 -0
- package/dist/src/lib/components/footer/index.d.ts +6 -0
- package/dist/src/lib/components/form/auto-complete.d.ts +9 -0
- package/dist/src/lib/components/form/base/select.d.ts +7 -0
- package/dist/src/lib/components/form/cascader.d.ts +10 -0
- package/dist/src/lib/components/form/checkbox-field.d.ts +10 -0
- package/dist/src/lib/components/form/checkbox.d.ts +7 -0
- package/dist/src/lib/components/form/components/label-info.d.ts +9 -0
- package/dist/src/lib/components/form/components/not-found-content.d.ts +7 -0
- package/dist/src/lib/components/form/config/components.d.ts +17 -0
- package/dist/src/lib/components/form/config/index.d.ts +7 -0
- package/dist/src/lib/components/form/field-component.d.ts +4 -0
- package/dist/src/lib/components/form/hooks/use-select-render.d.ts +11 -0
- package/dist/src/lib/components/form/input-number.d.ts +5 -0
- package/dist/src/lib/components/form/input-search.d.ts +5 -0
- package/dist/src/lib/components/form/input.d.ts +7 -0
- package/dist/src/lib/components/form/multiple-select.d.ts +7 -0
- package/dist/src/lib/components/form/password.d.ts +6 -0
- package/dist/src/lib/components/form/row-textarea.d.ts +36 -0
- package/dist/src/lib/components/form/select.d.ts +8 -0
- package/dist/src/lib/components/form/simple-select.d.ts +7 -0
- package/dist/src/lib/components/form/slider.d.ts +13 -0
- package/dist/src/lib/components/form/switch-input.d.ts +15 -0
- package/dist/src/lib/components/form/switch.d.ts +12 -0
- package/dist/src/lib/components/form/textarea.d.ts +9 -0
- package/dist/src/lib/components/form/types.d.ts +14 -0
- package/dist/src/lib/components/form/wrapper/auto-complete-label.d.ts +2 -0
- package/dist/src/lib/components/form/wrapper/index.d.ts +32 -0
- package/dist/src/lib/components/form/wrapper/input.d.ts +2 -0
- package/dist/src/lib/components/form/wrapper/select.d.ts +2 -0
- package/dist/src/lib/components/form/wrapper/slider.d.ts +2 -0
- package/dist/src/lib/components/form-buttons/index.d.ts +11 -0
- package/dist/src/lib/components/form-drawer/index.d.ts +13 -0
- package/dist/src/lib/components/grafana-icon/index.d.ts +6 -0
- package/dist/src/lib/components/highlight-code/code-viewer-dark.d.ts +13 -0
- package/dist/src/lib/components/highlight-code/code-viewer-light.d.ts +13 -0
- package/dist/src/lib/components/highlight-code/code-viewer.d.ts +14 -0
- package/dist/src/lib/components/highlight-code/index.d.ts +13 -0
- package/dist/src/lib/components/highlight-code/utils.d.ts +1 -0
- package/dist/src/lib/components/icon-font/icons.d.ts +153 -0
- package/dist/src/lib/components/icon-font/index.d.ts +7 -0
- package/dist/src/lib/components/image-editor/extract-image-colors.d.ts +10 -0
- package/dist/src/lib/components/image-editor/hooks/use-drawing.d.ts +66 -0
- package/dist/src/lib/components/image-editor/hooks/use-zoom.d.ts +21 -0
- package/dist/src/lib/components/image-editor/index.d.ts +30 -0
- package/dist/src/lib/components/image-editor/invert-worker.d.ts +1 -0
- package/dist/src/lib/components/image-editor/offscreen-worker.d.ts +1 -0
- package/dist/src/lib/components/image-editor/tools-bar.d.ts +28 -0
- package/dist/src/lib/components/index.d.ts +127 -0
- package/dist/src/lib/components/infinite-scroller/index.d.ts +6 -0
- package/dist/src/lib/components/infinite-scroller/infinite-scroller-provider.d.ts +7 -0
- package/dist/src/lib/components/infinite-scroller/use-infinite-scroll.d.ts +12 -0
- package/dist/src/lib/components/infinite-scroller/use-scroller-context.d.ts +10 -0
- package/dist/src/lib/components/label-cell/index.d.ts +6 -0
- package/dist/src/lib/components/label-selector/autocomplete-item.d.ts +27 -0
- package/dist/src/lib/components/label-selector/context.d.ts +15 -0
- package/dist/src/lib/components/label-selector/index.d.ts +15 -0
- package/dist/src/lib/components/label-selector/inner.d.ts +23 -0
- package/dist/src/lib/components/label-selector/label-item.d.ts +26 -0
- package/dist/src/lib/components/label-selector/label-selector-provider.d.ts +6 -0
- package/dist/src/lib/components/label-selector/wrapper.d.ts +17 -0
- package/dist/src/lib/components/list-input/hint-input.d.ts +13 -0
- package/dist/src/lib/components/list-input/index.d.ts +25 -0
- package/dist/src/lib/components/list-input/list-item.d.ts +21 -0
- package/dist/src/lib/components/logs-viewer/config.d.ts +4 -0
- package/dist/src/lib/components/logs-viewer/index.d.ts +14 -0
- package/dist/src/lib/components/logs-viewer/logs-list.d.ts +14 -0
- package/dist/src/lib/components/logs-viewer/logs-pagination.d.ts +12 -0
- package/dist/src/lib/components/logs-viewer/parse-worker.d.ts +1 -0
- package/dist/src/lib/components/logs-viewer/use-logs-pagination.d.ts +11 -0
- package/dist/src/lib/components/logs-viewer/use-size.d.ts +5 -0
- package/dist/src/lib/components/logs-viewer/xterm-viewer.d.ts +9 -0
- package/dist/src/lib/components/markdown-viewer/full-markdown.d.ts +7 -0
- package/dist/src/lib/components/markdown-viewer/index.d.ts +9 -0
- package/dist/src/lib/components/markdown-viewer/utils.d.ts +4 -0
- package/dist/src/lib/components/metadata-list/index.d.ts +16 -0
- package/dist/src/lib/components/modal-footer/index.d.ts +22 -0
- package/dist/src/lib/components/more-button/index.d.ts +8 -0
- package/dist/src/lib/components/no-result/index.d.ts +14 -0
- package/dist/src/lib/components/overlay-scroller/index.d.ts +26 -0
- package/dist/src/lib/components/page-breadcrumb/index.d.ts +4 -0
- package/dist/src/lib/components/page-tools/index.d.ts +56 -0
- package/dist/src/lib/components/popover/index.d.ts +3 -0
- package/dist/src/lib/components/progress-bar/index.d.ts +11 -0
- package/dist/src/lib/components/radio-buttons/index.d.ts +12 -0
- package/dist/src/lib/components/resize-container/index.d.ts +8 -0
- package/dist/src/lib/components/scroll-spy-tabs/index.d.ts +36 -0
- package/dist/src/lib/components/scroll-spy-tabs/use-field-scroll.d.ts +27 -0
- package/dist/src/lib/components/scroll-spy-tabs/use-finish-failed.d.ts +14 -0
- package/dist/src/lib/components/scroll-spy-tabs/use-scroll-active-change.d.ts +12 -0
- package/dist/src/lib/components/scroller-modal/gs-drawer.d.ts +9 -0
- package/dist/src/lib/components/scroller-modal/index.d.ts +5 -0
- package/dist/src/lib/components/scroller-modal/use-scroller-context.d.ts +6 -0
- package/dist/src/lib/components/segment-line/index.d.ts +9 -0
- package/dist/src/lib/components/select-panel/index.d.ts +15 -0
- package/dist/src/lib/components/select-panel/list.d.ts +16 -0
- package/dist/src/lib/components/select-panel/selected-list.d.ts +14 -0
- package/dist/src/lib/components/shortcut/index.d.ts +17 -0
- package/dist/src/lib/components/shortcut/keymap.d.ts +6 -0
- package/dist/src/lib/components/simple-overlay/index.d.ts +10 -0
- package/dist/src/lib/components/simple-table/header.d.ts +9 -0
- package/dist/src/lib/components/simple-table/index.d.ts +39 -0
- package/dist/src/lib/components/simple-table/info-column.d.ts +13 -0
- package/dist/src/lib/components/simple-table/row.d.ts +8 -0
- package/dist/src/lib/components/small-close-button/index.d.ts +5 -0
- package/dist/src/lib/components/speech-content/audio-player.d.ts +19 -0
- package/dist/src/lib/components/speech-content/index.d.ts +16 -0
- package/dist/src/lib/components/speech-content/speech-item.d.ts +20 -0
- package/dist/src/lib/components/status-icon/error.d.ts +4 -0
- package/dist/src/lib/components/status-tag/index.d.ts +33 -0
- package/dist/src/lib/components/table/components/cell-content.d.ts +4 -0
- package/dist/src/lib/components/table/components/header-prefix.d.ts +14 -0
- package/dist/src/lib/components/table/components/header.d.ts +11 -0
- package/dist/src/lib/components/table/components/layout.d.ts +21 -0
- package/dist/src/lib/components/table/components/pagination.d.ts +3 -0
- package/dist/src/lib/components/table/components/row-children.d.ts +2 -0
- package/dist/src/lib/components/table/components/row-prefix.d.ts +12 -0
- package/dist/src/lib/components/table/components/table-body.d.ts +21 -0
- package/dist/src/lib/components/table/components/table-cell.d.ts +4 -0
- package/dist/src/lib/components/table/components/table-header.d.ts +4 -0
- package/dist/src/lib/components/table/components/table-row.d.ts +4 -0
- package/dist/src/lib/components/table/components/table-skeleton.d.ts +3 -0
- package/dist/src/lib/components/table/index.d.ts +7 -0
- package/dist/src/lib/components/table/row-context.d.ts +11 -0
- package/dist/src/lib/components/table/table-context.d.ts +3 -0
- package/dist/src/lib/components/table/table-provider.d.ts +9 -0
- package/dist/src/lib/components/table/table-row-provider.d.ts +6 -0
- package/dist/src/lib/components/table/types.d.ts +106 -0
- package/dist/src/lib/components/table/use-sorter.d.ts +11 -0
- package/dist/src/lib/components/tags-wrapper/index.d.ts +8 -0
- package/dist/src/lib/components/tags-wrapper/more-dropdown.d.ts +6 -0
- package/dist/src/lib/components/tags-wrapper/theme-tag.d.ts +6 -0
- package/dist/src/lib/components/templates/card-list.d.ts +12 -0
- package/dist/src/lib/components/templates/card-skeleton.d.ts +7 -0
- package/dist/src/lib/components/templates/card.d.ts +17 -0
- package/dist/src/lib/components/terminal-tabs/index.d.ts +11 -0
- package/dist/src/lib/components/terminal-tabs/resize-container.d.ts +15 -0
- package/dist/src/lib/components/terminal-tabs/tabs.d.ts +9 -0
- package/dist/src/lib/components/terminal-tabs/types.d.ts +4 -0
- package/dist/src/lib/components/thumb-image/index.d.ts +20 -0
- package/dist/src/lib/components/tooltip-list/index.d.ts +9 -0
- package/dist/src/lib/components/transfer/index.d.ts +14 -0
- package/dist/src/lib/components/transition/index.d.ts +10 -0
- package/dist/src/lib/components/upload-audio/index.d.ts +16 -0
- package/dist/src/lib/components/upload-image/index.d.ts +20 -0
- package/dist/src/lib/components/viewer-editor/index.d.ts +15 -0
- package/dist/src/lib/components/x-terminal/index.d.ts +8 -0
- package/dist/src/lib/components/yaml-editor/editor.d.ts +15 -0
- package/dist/src/lib/components/yaml-editor/index.d.ts +17 -0
- package/dist/src/lib/config/hotkeys.d.ts +40 -0
- package/dist/src/lib/config/index.d.ts +20 -0
- package/dist/src/lib/constants/index.d.ts +6 -0
- package/dist/src/lib/context/CoreUIContext.d.ts +83 -0
- package/dist/src/lib/context/CoreUIProvider.d.ts +4 -0
- package/dist/src/lib/hooks/index.d.ts +23 -0
- package/dist/src/lib/hooks/json-parser-worker.d.ts +1 -0
- package/dist/src/lib/hooks/use-actions.d.ts +11 -0
- package/dist/src/lib/hooks/use-add-image.d.ts +15 -0
- package/dist/src/lib/hooks/use-app-utils.d.ts +6 -0
- package/dist/src/lib/hooks/use-body-scroll.d.ts +5 -0
- package/dist/src/lib/hooks/use-chunk-fetch.d.ts +20 -0
- package/dist/src/lib/hooks/use-chunk-request.d.ts +20 -0
- package/dist/src/lib/hooks/use-container-scroll.d.ts +7 -0
- package/dist/src/lib/hooks/use-deferred-request.d.ts +1 -0
- package/dist/src/lib/hooks/use-download-logs.d.ts +8 -0
- package/dist/src/lib/hooks/use-download-stream.d.ts +12 -0
- package/dist/src/lib/hooks/use-esc-hint.d.ts +7 -0
- package/dist/src/lib/hooks/use-expanded-row-keys.d.ts +10 -0
- package/dist/src/lib/hooks/use-overlay-scroller.d.ts +45 -0
- package/dist/src/lib/hooks/use-query-data-list.d.ts +35 -0
- package/dist/src/lib/hooks/use-request-token.d.ts +13 -0
- package/dist/src/lib/hooks/use-responsive.d.ts +10 -0
- package/dist/src/lib/hooks/use-stream-core/buffer-queue.d.ts +8 -0
- package/dist/src/lib/hooks/use-stream-core/fetch-stream.d.ts +1 -0
- package/dist/src/lib/hooks/use-stream-core/speed-monitor.d.ts +8 -0
- package/dist/src/lib/hooks/use-stream-core/stream-processor.d.ts +18 -0
- package/dist/src/lib/hooks/use-stream-core/use-chunk-fetch.d.ts +7 -0
- package/dist/src/lib/hooks/use-table-row-selection.d.ts +12 -0
- package/dist/src/lib/hooks/use-table-sort.d.ts +17 -0
- package/dist/src/lib/hooks/use-update-chunk-list.d.ts +26 -0
- package/dist/src/lib/hooks/use-watch-list.d.ts +4 -0
- package/dist/src/lib/hooks/use-window-resize.d.ts +10 -0
- package/dist/src/lib/hooks/useCoreUIContext.d.ts +2 -0
- package/dist/src/lib/hooks/useIntl.d.ts +7 -0
- package/dist/src/lib/index.d.ts +6 -0
- package/dist/src/lib/types/index.d.ts +40 -0
- package/dist/src/lib/types/table-fetch.d.ts +71 -0
- package/dist/src/lib/utils/download-stream.d.ts +1 -0
- package/dist/src/lib/utils/epub-reader.d.ts +1 -0
- package/dist/src/lib/utils/excel-reader.d.ts +19 -0
- package/dist/src/lib/utils/fetch-chunk-data.d.ts +55 -0
- package/dist/src/lib/utils/index.d.ts +52 -0
- package/dist/src/lib/utils/load-audio-file.d.ts +14 -0
- package/dist/src/lib/utils/pcm-to-wav.d.ts +9 -0
- package/dist/src/lib/utils/pdf-reader.d.ts +2 -0
- package/dist/src/lib/utils/pptx-reader.d.ts +2 -0
- package/dist/src/lib/utils/read-html.d.ts +1 -0
- package/dist/src/lib/utils/watch-request.d.ts +18 -0
- package/dist/src/lib/utils/word-reader.d.ts +1 -0
- package/package.json +138 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
declare const FilterForm: React.FC<React.PropsWithChildren & {
|
|
3
|
+
ref?: any;
|
|
4
|
+
width?: number;
|
|
5
|
+
contentHeight?: number | string;
|
|
6
|
+
initialValues?: any;
|
|
7
|
+
hasFilters?: boolean;
|
|
8
|
+
open?: boolean;
|
|
9
|
+
onClear?: () => void;
|
|
10
|
+
onClose?: () => void;
|
|
11
|
+
onValuesChange?: (ChangeValues: any, allValues: any) => void;
|
|
12
|
+
styles?: {
|
|
13
|
+
container?: React.CSSProperties;
|
|
14
|
+
wrapper?: React.CSSProperties;
|
|
15
|
+
};
|
|
16
|
+
}>;
|
|
17
|
+
export default FilterForm;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AutoCompleteProps } from 'antd/lib';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
import { SealFormItemProps } from './types';
|
|
4
|
+
declare const SealAutoComplete: React.FC<AutoCompleteProps & SealFormItemProps & {
|
|
5
|
+
onPaste?: (e: any) => void;
|
|
6
|
+
onInput?: (e: Event) => void;
|
|
7
|
+
clearSpaceOnBlur?: boolean;
|
|
8
|
+
}>;
|
|
9
|
+
export default SealAutoComplete;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CascaderAutoProps } from 'antd';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
import { SealFormItemProps } from './types';
|
|
4
|
+
declare const SealCascader: React.FC<CascaderAutoProps & SealFormItemProps & {
|
|
5
|
+
alwaysFocus?: boolean;
|
|
6
|
+
optionNode?: React.FC<{
|
|
7
|
+
data: any;
|
|
8
|
+
}>;
|
|
9
|
+
}>;
|
|
10
|
+
export default SealCascader;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CheckboxProps } from 'antd';
|
|
2
|
+
import { CheckboxChangeEvent } from 'antd/es/checkbox';
|
|
3
|
+
import { default as React } from 'react';
|
|
4
|
+
declare const CheckboxField: React.FC<{
|
|
5
|
+
description?: React.ReactNode;
|
|
6
|
+
label: React.ReactNode;
|
|
7
|
+
checked?: boolean;
|
|
8
|
+
onChange?: (e: CheckboxChangeEvent) => void;
|
|
9
|
+
} & CheckboxProps>;
|
|
10
|
+
export default CheckboxField;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CheckboxProps } from 'antd';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
import { SealFormItemProps } from './types';
|
|
4
|
+
interface SealCheckboxProps extends CheckboxProps, SealFormItemProps {
|
|
5
|
+
}
|
|
6
|
+
declare const SealCheckbox: React.FC<SealCheckboxProps>;
|
|
7
|
+
export default SealCheckbox;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface NoteInfoProps {
|
|
3
|
+
required?: boolean;
|
|
4
|
+
label: React.ReactNode;
|
|
5
|
+
description?: React.ReactNode;
|
|
6
|
+
labelExtra?: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
declare const NoteInfo: React.FC<NoteInfoProps>;
|
|
9
|
+
export default NoteInfo;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Checkbox } from 'antd';
|
|
2
|
+
import { default as AutoComplete } from '../auto-complete';
|
|
3
|
+
import { default as CInput } from '../input';
|
|
4
|
+
import { default as SealSelect } from '../select';
|
|
5
|
+
import { default as Slider } from '../slider';
|
|
6
|
+
import { default as Switch } from '../switch';
|
|
7
|
+
declare const components: {
|
|
8
|
+
InputNumber: typeof CInput.Number;
|
|
9
|
+
Select: typeof SealSelect;
|
|
10
|
+
Slider: React.ComponentType<typeof Slider>;
|
|
11
|
+
TextArea: typeof CInput.TextArea;
|
|
12
|
+
Input: typeof CInput.Input;
|
|
13
|
+
Checkbox: typeof Checkbox;
|
|
14
|
+
Switch: typeof Switch;
|
|
15
|
+
AutoComplete: typeof AutoComplete;
|
|
16
|
+
};
|
|
17
|
+
export default components;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare const WRAPHEIGHT = 54;
|
|
2
|
+
declare const INPUTHEIGHT = 32;
|
|
3
|
+
declare const BORDERRADIUS = 4;
|
|
4
|
+
declare const BGCOLOR = "transparent";
|
|
5
|
+
declare const INPUT_INNER_PADDING = 14;
|
|
6
|
+
declare const LINE_HEIGHT = 1.57;
|
|
7
|
+
export { BGCOLOR, BORDERRADIUS, INPUTHEIGHT, INPUT_INNER_PADDING, LINE_HEIGHT, WRAPHEIGHT };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface SelectRenderProps {
|
|
3
|
+
maxTagWidth?: number;
|
|
4
|
+
radius?: number | string;
|
|
5
|
+
style?: React.CSSProperties;
|
|
6
|
+
filled?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export default function useSelectRender(config?: SelectRenderProps): {
|
|
9
|
+
TagRender: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { InputProps } from 'antd';
|
|
2
|
+
import { PasswordProps } from 'antd/lib/input/Password';
|
|
3
|
+
import { default as React } from 'react';
|
|
4
|
+
import { SealFormItemProps } from './types';
|
|
5
|
+
declare const SealPassword: React.FC<InputProps & SealFormItemProps & PasswordProps>;
|
|
6
|
+
export default SealPassword;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface SystemMessageProps {
|
|
3
|
+
style?: React.CSSProperties;
|
|
4
|
+
data: {
|
|
5
|
+
content: string;
|
|
6
|
+
imgs?: {
|
|
7
|
+
uid: number | string;
|
|
8
|
+
dataUrl: string;
|
|
9
|
+
}[];
|
|
10
|
+
uid: number | string;
|
|
11
|
+
name: string;
|
|
12
|
+
role?: string;
|
|
13
|
+
};
|
|
14
|
+
placeholder?: string;
|
|
15
|
+
label?: React.ReactNode;
|
|
16
|
+
height?: number;
|
|
17
|
+
onUploadImage?: (list: {
|
|
18
|
+
uid: number | string;
|
|
19
|
+
dataUrl: string;
|
|
20
|
+
}[]) => void;
|
|
21
|
+
onDeleteImage?: (updatedImgs: {
|
|
22
|
+
uid: number | string;
|
|
23
|
+
dataUrl: string;
|
|
24
|
+
}[]) => void;
|
|
25
|
+
onChange: (e: any) => void;
|
|
26
|
+
onPaste?: (e: any) => void;
|
|
27
|
+
onDelete?: () => void;
|
|
28
|
+
onSelect?: (data: {
|
|
29
|
+
start: number;
|
|
30
|
+
end: number;
|
|
31
|
+
beforeText: string;
|
|
32
|
+
afterText: string;
|
|
33
|
+
}) => void;
|
|
34
|
+
}
|
|
35
|
+
declare const RowTextarea: React.FC<SystemMessageProps>;
|
|
36
|
+
export default RowTextarea;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SelectProps } from 'antd';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
import { SealFormItemProps } from './types';
|
|
4
|
+
declare const SealSelect: React.FC<SelectProps & SealFormItemProps & {
|
|
5
|
+
footer?: React.ReactNode;
|
|
6
|
+
alwaysFocus?: boolean;
|
|
7
|
+
}>;
|
|
8
|
+
export default SealSelect;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SliderSingleProps } from 'antd';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
interface SealSliderProps extends SliderSingleProps {
|
|
4
|
+
required?: boolean;
|
|
5
|
+
label?: React.ReactNode;
|
|
6
|
+
labelWidth?: number | string;
|
|
7
|
+
description?: string;
|
|
8
|
+
isInFormItems?: boolean;
|
|
9
|
+
inputnumber?: boolean;
|
|
10
|
+
checkStatus?: 'success' | 'error' | 'warning' | '';
|
|
11
|
+
}
|
|
12
|
+
declare const SealSlider: React.FC<SealSliderProps>;
|
|
13
|
+
export default SealSlider;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface SwitchInputProps {
|
|
3
|
+
label?: React.ReactNode;
|
|
4
|
+
description?: string;
|
|
5
|
+
checked?: boolean;
|
|
6
|
+
defaultChecked?: boolean;
|
|
7
|
+
onChange?: (checked: boolean) => void;
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
style?: React.CSSProperties;
|
|
10
|
+
alwaysShowChildren?: boolean;
|
|
11
|
+
btnTips?: React.ReactNode;
|
|
12
|
+
size?: 'small' | 'default';
|
|
13
|
+
}
|
|
14
|
+
declare const SwitchInput: React.FC<SwitchInputProps>;
|
|
15
|
+
export default SwitchInput;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SwitchProps } from 'antd';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
interface SealSwitchProps extends SwitchProps {
|
|
4
|
+
required?: boolean;
|
|
5
|
+
label?: React.ReactNode;
|
|
6
|
+
labelWidth?: number | string;
|
|
7
|
+
description?: string;
|
|
8
|
+
isInFormItems?: boolean;
|
|
9
|
+
checkStatus?: 'success' | 'error' | 'warning' | '';
|
|
10
|
+
}
|
|
11
|
+
declare const SealSlider: React.FC<SealSwitchProps>;
|
|
12
|
+
export default SealSlider;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TextAreaProps } from 'antd/es/input/TextArea';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
import { SealFormItemProps } from './types';
|
|
4
|
+
interface InputTextareaProps extends TextAreaProps {
|
|
5
|
+
scaleSize?: boolean;
|
|
6
|
+
alwaysFocus?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const SealTextArea: React.FC<InputTextareaProps & SealFormItemProps>;
|
|
9
|
+
export default SealTextArea;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface SealFormItemProps {
|
|
3
|
+
label?: React.ReactNode;
|
|
4
|
+
required?: boolean;
|
|
5
|
+
isInFormItems?: boolean;
|
|
6
|
+
description?: React.ReactNode;
|
|
7
|
+
extra?: React.ReactNode;
|
|
8
|
+
addAfter?: React.ReactNode;
|
|
9
|
+
allowNull?: boolean;
|
|
10
|
+
loading?: React.ReactNode;
|
|
11
|
+
labelExtra?: React.ReactNode;
|
|
12
|
+
trim?: boolean;
|
|
13
|
+
checkStatus?: 'success' | 'error' | 'warning' | '';
|
|
14
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const AutoCompleteLabel: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>>> & string;
|
|
2
|
+
export default AutoCompleteLabel;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { default as React, FC } from 'react';
|
|
2
|
+
interface WrapperProps {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
label?: React.ReactNode;
|
|
5
|
+
noWrapperStyle?: boolean;
|
|
6
|
+
isFocus?: boolean;
|
|
7
|
+
classList?: string;
|
|
8
|
+
status?: string;
|
|
9
|
+
required?: boolean;
|
|
10
|
+
description?: React.ReactNode;
|
|
11
|
+
className?: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
extra?: React.ReactNode;
|
|
14
|
+
addAfter?: React.ReactNode;
|
|
15
|
+
variant?: string;
|
|
16
|
+
hasPrefix?: boolean;
|
|
17
|
+
labelExtra?: React.ReactNode;
|
|
18
|
+
onClick?: () => void;
|
|
19
|
+
}
|
|
20
|
+
export declare const Label: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref" | keyof React.HTMLAttributes<HTMLDivElement> | "key"> & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
21
|
+
ref?: ((instance: HTMLDivElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
22
|
+
}, "$isFocus" | "$hasPrefix"> & {
|
|
23
|
+
$isFocus?: boolean;
|
|
24
|
+
$hasPrefix?: boolean;
|
|
25
|
+
}, "children" | "ref" | "style" | "slot" | "title" | "id" | "className" | "aria-label" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "$isFocus" | "$hasPrefix"> & Partial<Pick<import('styled-components').FastOmit<import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref" | keyof React.HTMLAttributes<HTMLDivElement> | "key"> & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
26
|
+
ref?: ((instance: HTMLDivElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
27
|
+
}, "$isFocus" | "$hasPrefix"> & {
|
|
28
|
+
$isFocus?: boolean;
|
|
29
|
+
$hasPrefix?: boolean;
|
|
30
|
+
}, "children" | "ref" | "style" | "slot" | "title" | "id" | "className" | "aria-label" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "$isFocus" | "$hasPrefix">>> & string;
|
|
31
|
+
declare const Wrapper: FC<WrapperProps>;
|
|
32
|
+
export default Wrapper;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const InputWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
2
|
+
export default InputWrapper;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const SelectWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
2
|
+
export default SelectWrapper;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const SliderWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
2
|
+
export default SliderWrapper;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type FormButtonsProps = {
|
|
2
|
+
onOk?: () => void;
|
|
3
|
+
onCancel?: () => void;
|
|
4
|
+
cancelText?: string;
|
|
5
|
+
okText?: string;
|
|
6
|
+
showOk?: boolean;
|
|
7
|
+
showCancel?: boolean;
|
|
8
|
+
htmlType?: 'submit' | 'button';
|
|
9
|
+
};
|
|
10
|
+
declare const FormButtons: React.FC<FormButtonsProps>;
|
|
11
|
+
export default FormButtons;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
type AddModalProps = {
|
|
3
|
+
title: React.ReactNode;
|
|
4
|
+
open: boolean;
|
|
5
|
+
onCancel?: () => void;
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
onSubmit?: () => void;
|
|
8
|
+
width?: number | string;
|
|
9
|
+
footer?: React.ReactNode;
|
|
10
|
+
subTitle?: React.ReactNode;
|
|
11
|
+
};
|
|
12
|
+
declare const FormDrawer: React.FC<AddModalProps>;
|
|
13
|
+
export default FormDrawer;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
interface CodeViewerProps {
|
|
2
|
+
code: string;
|
|
3
|
+
copyValue?: string;
|
|
4
|
+
lang: string;
|
|
5
|
+
autodetect?: boolean;
|
|
6
|
+
ignoreIllegals?: boolean;
|
|
7
|
+
copyable?: boolean;
|
|
8
|
+
height?: string | number;
|
|
9
|
+
style?: React.CSSProperties;
|
|
10
|
+
xScrollable?: boolean;
|
|
11
|
+
}
|
|
12
|
+
declare const DarkViewer: React.FC<CodeViewerProps>;
|
|
13
|
+
export default DarkViewer;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
interface CodeViewerProps {
|
|
2
|
+
code: string;
|
|
3
|
+
copyValue?: string;
|
|
4
|
+
lang: string;
|
|
5
|
+
autodetect?: boolean;
|
|
6
|
+
ignoreIllegals?: boolean;
|
|
7
|
+
copyable?: boolean;
|
|
8
|
+
height?: string | number;
|
|
9
|
+
style?: React.CSSProperties;
|
|
10
|
+
xScrollable?: boolean;
|
|
11
|
+
}
|
|
12
|
+
declare const LightViewer: React.FC<CodeViewerProps>;
|
|
13
|
+
export default LightViewer;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
interface CodeViewerProps {
|
|
2
|
+
code: string;
|
|
3
|
+
copyValue?: string;
|
|
4
|
+
lang: string;
|
|
5
|
+
autodetect?: boolean;
|
|
6
|
+
ignoreIllegals?: boolean;
|
|
7
|
+
copyable?: boolean;
|
|
8
|
+
height?: string | number;
|
|
9
|
+
theme?: 'light' | 'dark';
|
|
10
|
+
style?: React.CSSProperties;
|
|
11
|
+
xScrollable?: boolean;
|
|
12
|
+
}
|
|
13
|
+
declare const CodeViewer: React.FC<CodeViewerProps>;
|
|
14
|
+
export default CodeViewer;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
declare const HighlightCode: React.FC<{
|
|
3
|
+
code: string;
|
|
4
|
+
lang?: string;
|
|
5
|
+
copyable?: boolean;
|
|
6
|
+
theme?: 'light' | 'dark' | 'realDark';
|
|
7
|
+
fixedTheme?: 'light' | 'dark';
|
|
8
|
+
xScrollable?: boolean;
|
|
9
|
+
height?: string | number;
|
|
10
|
+
style?: React.CSSProperties;
|
|
11
|
+
copyValue?: string;
|
|
12
|
+
}>;
|
|
13
|
+
export default HighlightCode;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function escapeHtml(value: string): string;
|