onchain-uikit 0.0.7 → 3.9.4-alpha2
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/dist/filePreview/fontawesome-webfont.woff2 +0 -0
- package/dist/filePreview/iconfont.css +457 -0
- package/dist/filePreview/loading.gif +0 -0
- package/dist/filePreview/logo.svg +1 -0
- package/dist/filePreview/luckyexcel.umd.js +26153 -0
- package/dist/filePreview/luckysheet.css +7145 -0
- package/dist/filePreview/luckysheet.umd.js +137608 -0
- package/dist/filePreview/plugin.js +29474 -0
- package/dist/filePreview/plugins.css +10 -0
- package/dist/filePreview/pluginsCss.css +1 -0
- package/dist/filePreview/waffle_sprite.png +0 -0
- package/dist/font/demo.css +539 -0
- package/dist/font/demo_index.html +20820 -0
- package/dist/font/iconfont.css +3604 -0
- package/dist/font/iconfont.js +70 -0
- package/dist/font/iconfont.json +6288 -0
- package/dist/font/iconfont.svg +1813 -0
- package/dist/font/iconfont.ttf +0 -0
- package/dist/font/iconfont.woff +0 -0
- package/dist/font/iconfont.woff2 +0 -0
- package/dist/index.cjs.js +529 -0
- package/dist/index.es.js +44594 -0
- package/dist/index.umd.js +633 -0
- package/dist/logo.svg +1 -0
- package/dist/onchain-uikit.css +10 -0
- package/dist/xlsx-C9icP-aY.mjs +24775 -0
- package/dist/xlsx-qn1xoUuv.js +105 -0
- package/lib/src/App.d.ts +1 -1
- package/lib/src/app/main/model/context.d.ts +30 -0
- package/lib/src/components/OnChainAI/index.d.ts +3 -0
- package/lib/src/{stories/Page.stories.d.ts → components/OnChainAI/index.stories.d.ts} +4 -2
- package/lib/src/components/OnChainAI/welcome.d.ts +6 -0
- package/lib/src/components/OnChainAdvancedSearch/index.d.ts +8 -0
- package/lib/src/{stories/XsButton.stories.d.ts → components/OnChainAdvancedSearch/index.stories.d.ts} +1 -1
- package/lib/src/components/OnChainBadge/index.d.ts +52 -0
- package/lib/src/{stories/PlmMosaic.stories.d.ts → components/OnChainBadge/index.stories.d.ts} +2 -2
- package/lib/src/components/OnChainCompositeForm/index.d.ts +26 -0
- package/lib/src/components/OnChainCompositeForm/index.stories.d.ts +14 -0
- package/lib/src/components/OnChainDropMenu/index.d.ts +21 -0
- package/lib/src/components/OnChainDropMenu/index.stories.d.ts +14 -0
- package/lib/src/components/OnChainExcelViewer/index.d.ts +8 -0
- package/lib/src/components/OnChainExcelViewer/index.stories.d.ts +14 -0
- package/lib/src/components/OnChainForm/index.d.ts +14 -0
- package/lib/src/components/OnChainForm/index.stories.d.ts +14 -0
- package/lib/src/components/OnChainFormItem/index.d.ts +175 -0
- package/lib/src/components/OnChainFormItem/index.stories.d.ts +19 -0
- package/lib/src/components/OnChainFormItem/title/index.d.ts +2 -0
- package/lib/src/components/OnChainGenAntImage/index.d.ts +5 -0
- package/lib/src/components/OnChainGenAntImage/index.stories.d.ts +14 -0
- package/lib/src/components/OnChainGlobalLoading/index.d.ts +9 -0
- package/lib/src/components/OnChainGlobalLoading/index.stories.d.ts +14 -0
- package/lib/src/components/OnChainHighLightWords/index.d.ts +9 -0
- package/lib/src/components/OnChainHighLightWords/index.stories.d.ts +14 -0
- package/lib/src/components/OnChainIcon/index.d.ts +31 -0
- package/lib/src/components/OnChainIcon/index.stories.d.ts +15 -0
- package/lib/src/components/OnChainImage/index.d.ts +9 -0
- package/lib/src/components/OnChainImage/index.stories.d.ts +18 -0
- package/lib/src/components/OnChainInput/index.d.ts +13 -0
- package/lib/src/components/OnChainInput/index.stories.d.ts +14 -0
- package/lib/src/components/OnChainLinkInstance/index.d.ts +1 -0
- package/lib/src/components/OnChainLoading/index.d.ts +10 -0
- package/lib/src/components/OnChainLoading/index.stories.d.ts +14 -0
- package/lib/src/components/OnChainLoadingSkCube/index.d.ts +6 -0
- package/lib/src/components/OnChainLoadingSkCube/index.stories.d.ts +14 -0
- package/lib/src/components/OnChainMarkdown/index.d.ts +16 -0
- package/lib/src/components/OnChainMarkdown/index.stories.d.ts +14 -0
- package/lib/src/components/OnChainModal/index.d.ts +22 -0
- package/lib/src/components/OnChainModal/index.stories.d.ts +14 -0
- package/lib/src/components/OnChainMosaic/index.d.ts +7 -0
- package/lib/src/components/OnChainMosaic/index.stories.d.ts +14 -0
- package/lib/src/components/OnChainPopoverTransfer/index.d.ts +49 -0
- package/lib/src/components/OnChainPopoverTransfer/select/index.d.ts +18 -0
- package/lib/src/components/OnChainPopupSelect/index.d.ts +32 -0
- package/lib/src/components/OnChainPopupSelect/index.stories.d.ts +14 -0
- package/lib/src/components/OnChainProgress/index.d.ts +7 -0
- package/lib/src/components/OnChainProgress/index.stories.d.ts +16 -0
- package/lib/src/components/OnChainProvider/index.d.ts +18 -0
- package/lib/src/components/OnChainProvider/index.stories.d.ts +14 -0
- package/lib/src/components/OnChainPublicTree/index.d.ts +20 -0
- package/lib/src/components/OnChainPublicTree/index.stories.d.ts +14 -0
- package/lib/src/components/OnChainQueryBuilder/AbcSelectTransfer/index.d.ts +15 -0
- package/lib/src/components/OnChainQueryBuilder/index.d.ts +31 -0
- package/lib/src/components/OnChainResourceTree/index.d.ts +26 -0
- package/lib/src/components/OnChainResourceTree/index.stories.d.ts +14 -0
- package/lib/src/components/OnChainScrollBar/index.d.ts +7 -0
- package/lib/src/components/OnChainScrollBar/index.stories.d.ts +14 -0
- package/lib/src/components/OnChainScrollBarAssembly/index.d.ts +11 -0
- package/lib/src/components/OnChainScrollBarAssembly/index.stories.d.ts +14 -0
- package/lib/src/components/OnChainSelect/index.d.ts +14 -0
- package/lib/src/{stories/PlmSelect/PlmSelect.stories.d.ts → components/OnChainSelect/index.stories.d.ts} +8 -3
- package/lib/src/components/OnChainSelectPopupForm/index.d.ts +45 -0
- package/lib/src/components/OnChainSelectPopupForm/select/index.d.ts +20 -0
- package/lib/src/components/OnChainTable/ContextMenu.d.ts +8 -0
- package/lib/src/components/OnChainTable/EditableCell.d.ts +39 -0
- package/lib/src/components/OnChainTable/EditableRow.d.ts +6 -0
- package/lib/src/components/OnChainTable/OnChainTableFormItem/index.d.ts +14 -0
- package/lib/src/components/OnChainTable/ResizableTitle.d.ts +2 -0
- package/lib/src/components/OnChainTable/TableFooter.d.ts +13 -0
- package/lib/src/components/OnChainTable/TableUtils.d.ts +78 -0
- package/lib/src/components/OnChainTable/const.d.ts +2 -0
- package/lib/src/components/OnChainTable/index.d.ts +101 -0
- package/lib/src/components/OnChainTable/index.stories.d.ts +28 -0
- package/lib/src/components/OnChainTable/type.d.ts +10 -0
- package/lib/src/components/OnChainTable/useClipboard.d.ts +67 -0
- package/lib/src/components/OnChainTable/useColumn.d.ts +5 -0
- package/lib/src/components/OnChainTable/useCopy.d.ts +5 -0
- package/lib/src/components/OnChainTable/useDynamicHeight.d.ts +13 -0
- package/lib/src/components/OnChainTable/useFiltered.d.ts +23 -0
- package/lib/src/components/OnChainTable/usePaste.d.ts +5 -0
- package/lib/src/components/OnChainTable/useVirtualScroll.d.ts +3 -0
- package/lib/src/components/OnChainTable/virtualScroll.d.ts +91 -0
- package/lib/src/components/OnChainTableSelection/index.d.ts +40 -0
- package/lib/src/components/OnChainTableSelection/index.stories.d.ts +14 -0
- package/lib/src/components/OnChainTabs/index.d.ts +20 -0
- package/lib/src/components/OnChainTabs/index.stories.d.ts +14 -0
- package/lib/src/components/OnChainViewerError/index.d.ts +6 -0
- package/lib/src/components/OnChainViewerError/index.stories.d.ts +14 -0
- package/lib/src/components/OnChainformUploader/index.d.ts +1 -0
- package/lib/src/components/PlmSearchSelect/index.d.ts +18 -0
- package/lib/src/hooks/useShortcutKey/index.d.ts +5 -0
- package/lib/src/hooks/useStore/index.d.ts +14 -0
- package/lib/src/index.d.ts +32 -4
- package/lib/src/language/index.d.ts +23 -0
- package/lib/src/language/translate.d.ts +5 -0
- package/lib/src/types/gantt.d.ts +269 -0
- package/lib/src/typings.d.ts +610 -612
- package/lib/src/utils/attribute.d.ts +70 -0
- package/lib/src/utils/authority/basicsAuthority.d.ts +0 -5
- package/lib/src/utils/authority/const.d.ts +30 -0
- package/lib/src/utils/itemCode.d.ts +159 -0
- package/lib/src/utils/utility.d.ts +46 -0
- package/lib/typings.d.ts +126 -130
- package/package.json +31 -7
- package/lib/instance.cjs.mjs +0 -366
- package/lib/instance.es.mjs +0 -29301
- package/lib/instance.umd.mjs +0 -366
- package/lib/src/components/PlmMosaic/index.d.ts +0 -5
- package/lib/src/stories/Button.d.ts +0 -14
- package/lib/src/stories/Button.stories.d.ts +0 -23
- package/lib/src/stories/Header.d.ts +0 -11
- package/lib/src/stories/Header.stories.d.ts +0 -18
- package/lib/src/stories/OnChainProvider.d.ts +0 -12
- package/lib/src/stories/Page.d.ts +0 -2
- package/lib/src/stories/PlmSelect/index.d.ts +0 -20
- package/lib/src/stories/XsButton.d.ts +0 -22
- /package/{lib → dist}/vite.svg +0 -0
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export interface ButtonProps {
|
|
2
|
-
/** Is this the principal call to action on the page? */
|
|
3
|
-
primary?: boolean;
|
|
4
|
-
/** What background color to use */
|
|
5
|
-
backgroundColor?: string;
|
|
6
|
-
/** How large should the button be? */
|
|
7
|
-
size?: 'small' | 'medium' | 'large';
|
|
8
|
-
/** Button contents */
|
|
9
|
-
label: string;
|
|
10
|
-
/** Optional click handler */
|
|
11
|
-
onClick?: () => void;
|
|
12
|
-
}
|
|
13
|
-
/** Primary UI component for user interaction */
|
|
14
|
-
export declare const Button: ({ primary, size, backgroundColor, label, ...props }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
2
|
-
declare const meta: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: ({ primary, size, backgroundColor, label, ...props }: import('./Button').ButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
parameters: {
|
|
6
|
-
layout: string;
|
|
7
|
-
};
|
|
8
|
-
tags: string[];
|
|
9
|
-
argTypes: {
|
|
10
|
-
backgroundColor: {
|
|
11
|
-
control: "color";
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
args: {
|
|
15
|
-
onClick: import('@vitest/spy').Mock<(...args: any[]) => any>;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
export default meta;
|
|
19
|
-
type Story = StoryObj<typeof meta>;
|
|
20
|
-
export declare const Primary: Story;
|
|
21
|
-
export declare const Secondary: Story;
|
|
22
|
-
export declare const Large: Story;
|
|
23
|
-
export declare const Small: Story;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
type User = {
|
|
2
|
-
name: string;
|
|
3
|
-
};
|
|
4
|
-
export interface HeaderProps {
|
|
5
|
-
user?: User;
|
|
6
|
-
onLogin?: () => void;
|
|
7
|
-
onLogout?: () => void;
|
|
8
|
-
onCreateAccount?: () => void;
|
|
9
|
-
}
|
|
10
|
-
export declare const Header: ({ user, onLogin, onLogout, onCreateAccount }: HeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
2
|
-
declare const meta: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: ({ user, onLogin, onLogout, onCreateAccount }: import('./Header').HeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
tags: string[];
|
|
6
|
-
parameters: {
|
|
7
|
-
layout: string;
|
|
8
|
-
};
|
|
9
|
-
args: {
|
|
10
|
-
onLogin: import('@vitest/spy').Mock<(...args: any[]) => any>;
|
|
11
|
-
onLogout: import('@vitest/spy').Mock<(...args: any[]) => any>;
|
|
12
|
-
onCreateAccount: import('@vitest/spy').Mock<(...args: any[]) => any>;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export default meta;
|
|
16
|
-
type Story = StoryObj<typeof meta>;
|
|
17
|
-
export declare const LoggedIn: Story;
|
|
18
|
-
export declare const LoggedOut: Story;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* Antd Provider
|
|
4
|
-
*/
|
|
5
|
-
export interface OnChainProviderProps {
|
|
6
|
-
/** 设置统一样式前缀 */
|
|
7
|
-
prefixCls?: string;
|
|
8
|
-
/** 内容 */
|
|
9
|
-
children?: React.ReactNode;
|
|
10
|
-
}
|
|
11
|
-
declare const OnChainProvider: ({ prefixCls, ...props }: OnChainProviderProps, ref: any) => React.FunctionComponentElement<import('antd/es/config-provider').ConfigProviderProps>;
|
|
12
|
-
export default OnChainProvider;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { BaseComponentProps } from '../../typings';
|
|
2
|
-
import { SelectProps } from 'antd';
|
|
3
|
-
export interface PlmSelectProps extends BaseComponentProps, SelectProps<any> {
|
|
4
|
-
pane?: {
|
|
5
|
-
cols?: number;
|
|
6
|
-
item?: BaseComponentProps;
|
|
7
|
-
};
|
|
8
|
-
/** 分页信息 */
|
|
9
|
-
pagination: {
|
|
10
|
-
/**网络请求URL */
|
|
11
|
-
url: string;
|
|
12
|
-
page: number;
|
|
13
|
-
pageSize: number;
|
|
14
|
-
total: number;
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
export interface PlmSelectForwardRefProps {
|
|
18
|
-
}
|
|
19
|
-
declare const PlmSelect: import('react').ForwardRefExoticComponent<Omit<PlmSelectProps, "ref"> & import('react').RefAttributes<unknown>>;
|
|
20
|
-
export default PlmSelect;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ButtonType } from 'antd/lib/button';
|
|
2
|
-
export interface XsButtonProps {
|
|
3
|
-
/** 按钮文本 */
|
|
4
|
-
label: string;
|
|
5
|
-
/** 按钮类型 */
|
|
6
|
-
btnType?: ButtonType;
|
|
7
|
-
/** 按钮类型2 */
|
|
8
|
-
btnType2?: "default" | "primary" | "ghost" | "dashed" | "link" | "text";
|
|
9
|
-
/** Optional click handler */
|
|
10
|
-
onClick?: () => void;
|
|
11
|
-
/** 自定义对象 */
|
|
12
|
-
custObj?: custObjTemp;
|
|
13
|
-
}
|
|
14
|
-
/** 对象 */
|
|
15
|
-
type custObjTemp = {
|
|
16
|
-
/** 年龄 */
|
|
17
|
-
name?: string;
|
|
18
|
-
/** 姓名 */
|
|
19
|
-
age?: number;
|
|
20
|
-
};
|
|
21
|
-
declare const XsButton: (props: XsButtonProps, ref: any) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
export default XsButton;
|
/package/{lib → dist}/vite.svg
RENAMED
|
File without changes
|