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.
Files changed (146) hide show
  1. package/dist/filePreview/fontawesome-webfont.woff2 +0 -0
  2. package/dist/filePreview/iconfont.css +457 -0
  3. package/dist/filePreview/loading.gif +0 -0
  4. package/dist/filePreview/logo.svg +1 -0
  5. package/dist/filePreview/luckyexcel.umd.js +26153 -0
  6. package/dist/filePreview/luckysheet.css +7145 -0
  7. package/dist/filePreview/luckysheet.umd.js +137608 -0
  8. package/dist/filePreview/plugin.js +29474 -0
  9. package/dist/filePreview/plugins.css +10 -0
  10. package/dist/filePreview/pluginsCss.css +1 -0
  11. package/dist/filePreview/waffle_sprite.png +0 -0
  12. package/dist/font/demo.css +539 -0
  13. package/dist/font/demo_index.html +20820 -0
  14. package/dist/font/iconfont.css +3604 -0
  15. package/dist/font/iconfont.js +70 -0
  16. package/dist/font/iconfont.json +6288 -0
  17. package/dist/font/iconfont.svg +1813 -0
  18. package/dist/font/iconfont.ttf +0 -0
  19. package/dist/font/iconfont.woff +0 -0
  20. package/dist/font/iconfont.woff2 +0 -0
  21. package/dist/index.cjs.js +529 -0
  22. package/dist/index.es.js +44594 -0
  23. package/dist/index.umd.js +633 -0
  24. package/dist/logo.svg +1 -0
  25. package/dist/onchain-uikit.css +10 -0
  26. package/dist/xlsx-C9icP-aY.mjs +24775 -0
  27. package/dist/xlsx-qn1xoUuv.js +105 -0
  28. package/lib/src/App.d.ts +1 -1
  29. package/lib/src/app/main/model/context.d.ts +30 -0
  30. package/lib/src/components/OnChainAI/index.d.ts +3 -0
  31. package/lib/src/{stories/Page.stories.d.ts → components/OnChainAI/index.stories.d.ts} +4 -2
  32. package/lib/src/components/OnChainAI/welcome.d.ts +6 -0
  33. package/lib/src/components/OnChainAdvancedSearch/index.d.ts +8 -0
  34. package/lib/src/{stories/XsButton.stories.d.ts → components/OnChainAdvancedSearch/index.stories.d.ts} +1 -1
  35. package/lib/src/components/OnChainBadge/index.d.ts +52 -0
  36. package/lib/src/{stories/PlmMosaic.stories.d.ts → components/OnChainBadge/index.stories.d.ts} +2 -2
  37. package/lib/src/components/OnChainCompositeForm/index.d.ts +26 -0
  38. package/lib/src/components/OnChainCompositeForm/index.stories.d.ts +14 -0
  39. package/lib/src/components/OnChainDropMenu/index.d.ts +21 -0
  40. package/lib/src/components/OnChainDropMenu/index.stories.d.ts +14 -0
  41. package/lib/src/components/OnChainExcelViewer/index.d.ts +8 -0
  42. package/lib/src/components/OnChainExcelViewer/index.stories.d.ts +14 -0
  43. package/lib/src/components/OnChainForm/index.d.ts +14 -0
  44. package/lib/src/components/OnChainForm/index.stories.d.ts +14 -0
  45. package/lib/src/components/OnChainFormItem/index.d.ts +175 -0
  46. package/lib/src/components/OnChainFormItem/index.stories.d.ts +19 -0
  47. package/lib/src/components/OnChainFormItem/title/index.d.ts +2 -0
  48. package/lib/src/components/OnChainGenAntImage/index.d.ts +5 -0
  49. package/lib/src/components/OnChainGenAntImage/index.stories.d.ts +14 -0
  50. package/lib/src/components/OnChainGlobalLoading/index.d.ts +9 -0
  51. package/lib/src/components/OnChainGlobalLoading/index.stories.d.ts +14 -0
  52. package/lib/src/components/OnChainHighLightWords/index.d.ts +9 -0
  53. package/lib/src/components/OnChainHighLightWords/index.stories.d.ts +14 -0
  54. package/lib/src/components/OnChainIcon/index.d.ts +31 -0
  55. package/lib/src/components/OnChainIcon/index.stories.d.ts +15 -0
  56. package/lib/src/components/OnChainImage/index.d.ts +9 -0
  57. package/lib/src/components/OnChainImage/index.stories.d.ts +18 -0
  58. package/lib/src/components/OnChainInput/index.d.ts +13 -0
  59. package/lib/src/components/OnChainInput/index.stories.d.ts +14 -0
  60. package/lib/src/components/OnChainLinkInstance/index.d.ts +1 -0
  61. package/lib/src/components/OnChainLoading/index.d.ts +10 -0
  62. package/lib/src/components/OnChainLoading/index.stories.d.ts +14 -0
  63. package/lib/src/components/OnChainLoadingSkCube/index.d.ts +6 -0
  64. package/lib/src/components/OnChainLoadingSkCube/index.stories.d.ts +14 -0
  65. package/lib/src/components/OnChainMarkdown/index.d.ts +16 -0
  66. package/lib/src/components/OnChainMarkdown/index.stories.d.ts +14 -0
  67. package/lib/src/components/OnChainModal/index.d.ts +22 -0
  68. package/lib/src/components/OnChainModal/index.stories.d.ts +14 -0
  69. package/lib/src/components/OnChainMosaic/index.d.ts +7 -0
  70. package/lib/src/components/OnChainMosaic/index.stories.d.ts +14 -0
  71. package/lib/src/components/OnChainPopoverTransfer/index.d.ts +49 -0
  72. package/lib/src/components/OnChainPopoverTransfer/select/index.d.ts +18 -0
  73. package/lib/src/components/OnChainPopupSelect/index.d.ts +32 -0
  74. package/lib/src/components/OnChainPopupSelect/index.stories.d.ts +14 -0
  75. package/lib/src/components/OnChainProgress/index.d.ts +7 -0
  76. package/lib/src/components/OnChainProgress/index.stories.d.ts +16 -0
  77. package/lib/src/components/OnChainProvider/index.d.ts +18 -0
  78. package/lib/src/components/OnChainProvider/index.stories.d.ts +14 -0
  79. package/lib/src/components/OnChainPublicTree/index.d.ts +20 -0
  80. package/lib/src/components/OnChainPublicTree/index.stories.d.ts +14 -0
  81. package/lib/src/components/OnChainQueryBuilder/AbcSelectTransfer/index.d.ts +15 -0
  82. package/lib/src/components/OnChainQueryBuilder/index.d.ts +31 -0
  83. package/lib/src/components/OnChainResourceTree/index.d.ts +26 -0
  84. package/lib/src/components/OnChainResourceTree/index.stories.d.ts +14 -0
  85. package/lib/src/components/OnChainScrollBar/index.d.ts +7 -0
  86. package/lib/src/components/OnChainScrollBar/index.stories.d.ts +14 -0
  87. package/lib/src/components/OnChainScrollBarAssembly/index.d.ts +11 -0
  88. package/lib/src/components/OnChainScrollBarAssembly/index.stories.d.ts +14 -0
  89. package/lib/src/components/OnChainSelect/index.d.ts +14 -0
  90. package/lib/src/{stories/PlmSelect/PlmSelect.stories.d.ts → components/OnChainSelect/index.stories.d.ts} +8 -3
  91. package/lib/src/components/OnChainSelectPopupForm/index.d.ts +45 -0
  92. package/lib/src/components/OnChainSelectPopupForm/select/index.d.ts +20 -0
  93. package/lib/src/components/OnChainTable/ContextMenu.d.ts +8 -0
  94. package/lib/src/components/OnChainTable/EditableCell.d.ts +39 -0
  95. package/lib/src/components/OnChainTable/EditableRow.d.ts +6 -0
  96. package/lib/src/components/OnChainTable/OnChainTableFormItem/index.d.ts +14 -0
  97. package/lib/src/components/OnChainTable/ResizableTitle.d.ts +2 -0
  98. package/lib/src/components/OnChainTable/TableFooter.d.ts +13 -0
  99. package/lib/src/components/OnChainTable/TableUtils.d.ts +78 -0
  100. package/lib/src/components/OnChainTable/const.d.ts +2 -0
  101. package/lib/src/components/OnChainTable/index.d.ts +101 -0
  102. package/lib/src/components/OnChainTable/index.stories.d.ts +28 -0
  103. package/lib/src/components/OnChainTable/type.d.ts +10 -0
  104. package/lib/src/components/OnChainTable/useClipboard.d.ts +67 -0
  105. package/lib/src/components/OnChainTable/useColumn.d.ts +5 -0
  106. package/lib/src/components/OnChainTable/useCopy.d.ts +5 -0
  107. package/lib/src/components/OnChainTable/useDynamicHeight.d.ts +13 -0
  108. package/lib/src/components/OnChainTable/useFiltered.d.ts +23 -0
  109. package/lib/src/components/OnChainTable/usePaste.d.ts +5 -0
  110. package/lib/src/components/OnChainTable/useVirtualScroll.d.ts +3 -0
  111. package/lib/src/components/OnChainTable/virtualScroll.d.ts +91 -0
  112. package/lib/src/components/OnChainTableSelection/index.d.ts +40 -0
  113. package/lib/src/components/OnChainTableSelection/index.stories.d.ts +14 -0
  114. package/lib/src/components/OnChainTabs/index.d.ts +20 -0
  115. package/lib/src/components/OnChainTabs/index.stories.d.ts +14 -0
  116. package/lib/src/components/OnChainViewerError/index.d.ts +6 -0
  117. package/lib/src/components/OnChainViewerError/index.stories.d.ts +14 -0
  118. package/lib/src/components/OnChainformUploader/index.d.ts +1 -0
  119. package/lib/src/components/PlmSearchSelect/index.d.ts +18 -0
  120. package/lib/src/hooks/useShortcutKey/index.d.ts +5 -0
  121. package/lib/src/hooks/useStore/index.d.ts +14 -0
  122. package/lib/src/index.d.ts +32 -4
  123. package/lib/src/language/index.d.ts +23 -0
  124. package/lib/src/language/translate.d.ts +5 -0
  125. package/lib/src/types/gantt.d.ts +269 -0
  126. package/lib/src/typings.d.ts +610 -612
  127. package/lib/src/utils/attribute.d.ts +70 -0
  128. package/lib/src/utils/authority/basicsAuthority.d.ts +0 -5
  129. package/lib/src/utils/authority/const.d.ts +30 -0
  130. package/lib/src/utils/itemCode.d.ts +159 -0
  131. package/lib/src/utils/utility.d.ts +46 -0
  132. package/lib/typings.d.ts +126 -130
  133. package/package.json +31 -7
  134. package/lib/instance.cjs.mjs +0 -366
  135. package/lib/instance.es.mjs +0 -29301
  136. package/lib/instance.umd.mjs +0 -366
  137. package/lib/src/components/PlmMosaic/index.d.ts +0 -5
  138. package/lib/src/stories/Button.d.ts +0 -14
  139. package/lib/src/stories/Button.stories.d.ts +0 -23
  140. package/lib/src/stories/Header.d.ts +0 -11
  141. package/lib/src/stories/Header.stories.d.ts +0 -18
  142. package/lib/src/stories/OnChainProvider.d.ts +0 -12
  143. package/lib/src/stories/Page.d.ts +0 -2
  144. package/lib/src/stories/PlmSelect/index.d.ts +0 -20
  145. package/lib/src/stories/XsButton.d.ts +0 -22
  146. /package/{lib → dist}/vite.svg +0 -0
@@ -1,5 +0,0 @@
1
- export interface PlmMosaicProps {
2
- inLine?: Boolean;
3
- }
4
- declare const PlmMosaic: (props: PlmMosaicProps) => import("react/jsx-runtime").JSX.Element;
5
- export default PlmMosaic;
@@ -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,2 +0,0 @@
1
- import { default as React } from 'react';
2
- export declare const Page: React.FC;
@@ -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;
File without changes