@visactor/vue-vtable 1.7.5-alpha.1
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 +93 -0
- package/cjs/components/component/menu.d.ts +9 -0
- package/cjs/components/component/menu.js +9 -0
- package/cjs/components/component/menu.js.map +1 -0
- package/cjs/components/component/tooltip.d.ts +7 -0
- package/cjs/components/component/tooltip.js +10 -0
- package/cjs/components/component/tooltip.js.map +1 -0
- package/cjs/components/custom/checkBox.d.ts +16 -0
- package/cjs/components/custom/checkBox.js +10 -0
- package/cjs/components/custom/checkBox.js.map +1 -0
- package/cjs/components/custom/custom-layout.d.ts +16 -0
- package/cjs/components/custom/custom-layout.js +10 -0
- package/cjs/components/custom/custom-layout.js.map +1 -0
- package/cjs/components/custom/group.d.ts +2 -0
- package/cjs/components/custom/group.js +10 -0
- package/cjs/components/custom/group.js.map +1 -0
- package/cjs/components/custom/image.d.ts +2 -0
- package/cjs/components/custom/image.js +10 -0
- package/cjs/components/custom/image.js.map +1 -0
- package/cjs/components/custom/radio.d.ts +13 -0
- package/cjs/components/custom/radio.js +10 -0
- package/cjs/components/custom/radio.js.map +1 -0
- package/cjs/components/custom/tag.d.ts +12 -0
- package/cjs/components/custom/tag.js +10 -0
- package/cjs/components/custom/tag.js.map +1 -0
- package/cjs/components/custom/text.d.ts +2 -0
- package/cjs/components/custom/text.js +10 -0
- package/cjs/components/custom/text.js.map +1 -0
- package/cjs/components/index.d.ts +15 -0
- package/cjs/components/index.js +147 -0
- package/cjs/components/index.js.map +1 -0
- package/cjs/components/list/list-column.d.ts +3 -0
- package/cjs/components/list/list-column.js +10 -0
- package/cjs/components/list/list-column.js.map +1 -0
- package/cjs/components/pivot/pivot-column-dimension.d.ts +8 -0
- package/cjs/components/pivot/pivot-column-dimension.js +10 -0
- package/cjs/components/pivot/pivot-column-dimension.js.map +1 -0
- package/cjs/components/pivot/pivot-column-header-title.d.ts +3 -0
- package/cjs/components/pivot/pivot-column-header-title.js +10 -0
- package/cjs/components/pivot/pivot-column-header-title.js.map +1 -0
- package/cjs/components/pivot/pivot-corner.d.ts +3 -0
- package/cjs/components/pivot/pivot-corner.js +10 -0
- package/cjs/components/pivot/pivot-corner.js.map +1 -0
- package/cjs/components/pivot/pivot-indicator.d.ts +3 -0
- package/cjs/components/pivot/pivot-indicator.js +10 -0
- package/cjs/components/pivot/pivot-indicator.js.map +1 -0
- package/cjs/components/pivot/pivot-row-dimension.d.ts +8 -0
- package/cjs/components/pivot/pivot-row-dimension.js +10 -0
- package/cjs/components/pivot/pivot-row-dimension.js.map +1 -0
- package/cjs/components/pivot/pivot-row-header-title.d.ts +3 -0
- package/cjs/components/pivot/pivot-row-header-title.js +10 -0
- package/cjs/components/pivot/pivot-row-header-title.js.map +1 -0
- package/cjs/constants.d.ts +1 -0
- package/cjs/constants.js +5 -0
- package/cjs/constants.js.map +1 -0
- package/cjs/eventsUtils.d.ts +101 -0
- package/cjs/eventsUtils.js +58 -0
- package/cjs/eventsUtils.js.map +1 -0
- package/cjs/index.d.ts +5 -0
- package/cjs/index.js +38 -0
- package/cjs/index.js.map +1 -0
- package/cjs/tables/chartModule.d.ts +1 -0
- package/cjs/tables/chartModule.js +37 -0
- package/cjs/tables/chartModule.js.map +1 -0
- package/cjs/tables/index.d.ts +4 -0
- package/cjs/tables/index.js +48 -0
- package/cjs/tables/index.js.map +1 -0
- package/cjs/tables/utils.d.ts +2 -0
- package/cjs/tables/utils.js +80 -0
- package/cjs/tables/utils.js.map +1 -0
- package/dist/vue-vtable.js +4040 -0
- package/dist/vue-vtable.min.js +18 -0
- package/es/components/component/menu.d.ts +9 -0
- package/es/components/component/menu.js +3 -0
- package/es/components/component/menu.js.map +1 -0
- package/es/components/component/tooltip.d.ts +7 -0
- package/es/components/component/tooltip.js +4 -0
- package/es/components/component/tooltip.js.map +1 -0
- package/es/components/custom/checkBox.d.ts +16 -0
- package/es/components/custom/checkBox.js +4 -0
- package/es/components/custom/checkBox.js.map +1 -0
- package/es/components/custom/custom-layout.d.ts +16 -0
- package/es/components/custom/custom-layout.js +4 -0
- package/es/components/custom/custom-layout.js.map +1 -0
- package/es/components/custom/group.d.ts +2 -0
- package/es/components/custom/group.js +4 -0
- package/es/components/custom/group.js.map +1 -0
- package/es/components/custom/image.d.ts +2 -0
- package/es/components/custom/image.js +4 -0
- package/es/components/custom/image.js.map +1 -0
- package/es/components/custom/radio.d.ts +13 -0
- package/es/components/custom/radio.js +4 -0
- package/es/components/custom/radio.js.map +1 -0
- package/es/components/custom/tag.d.ts +12 -0
- package/es/components/custom/tag.js +4 -0
- package/es/components/custom/tag.js.map +1 -0
- package/es/components/custom/text.d.ts +2 -0
- package/es/components/custom/text.js +4 -0
- package/es/components/custom/text.js.map +1 -0
- package/es/components/index.d.ts +15 -0
- package/es/components/index.js +30 -0
- package/es/components/index.js.map +1 -0
- package/es/components/list/list-column.d.ts +3 -0
- package/es/components/list/list-column.js +4 -0
- package/es/components/list/list-column.js.map +1 -0
- package/es/components/pivot/pivot-column-dimension.d.ts +8 -0
- package/es/components/pivot/pivot-column-dimension.js +4 -0
- package/es/components/pivot/pivot-column-dimension.js.map +1 -0
- package/es/components/pivot/pivot-column-header-title.d.ts +3 -0
- package/es/components/pivot/pivot-column-header-title.js +4 -0
- package/es/components/pivot/pivot-column-header-title.js.map +1 -0
- package/es/components/pivot/pivot-corner.d.ts +3 -0
- package/es/components/pivot/pivot-corner.js +4 -0
- package/es/components/pivot/pivot-corner.js.map +1 -0
- package/es/components/pivot/pivot-indicator.d.ts +3 -0
- package/es/components/pivot/pivot-indicator.js +4 -0
- package/es/components/pivot/pivot-indicator.js.map +1 -0
- package/es/components/pivot/pivot-row-dimension.d.ts +8 -0
- package/es/components/pivot/pivot-row-dimension.js +4 -0
- package/es/components/pivot/pivot-row-dimension.js.map +1 -0
- package/es/components/pivot/pivot-row-header-title.d.ts +3 -0
- package/es/components/pivot/pivot-row-header-title.js +4 -0
- package/es/components/pivot/pivot-row-header-title.js.map +1 -0
- package/es/constants.d.ts +1 -0
- package/es/constants.js +1 -0
- package/es/constants.js.map +1 -0
- package/es/eventsUtils.d.ts +101 -0
- package/es/eventsUtils.js +56 -0
- package/es/eventsUtils.js.map +1 -0
- package/es/index.d.ts +5 -0
- package/es/index.js +10 -0
- package/es/index.js.map +1 -0
- package/es/tables/chartModule.d.ts +1 -0
- package/es/tables/chartModule.js +6 -0
- package/es/tables/chartModule.js.map +1 -0
- package/es/tables/index.d.ts +4 -0
- package/es/tables/index.js +8 -0
- package/es/tables/index.js.map +1 -0
- package/es/tables/utils.d.ts +2 -0
- package/es/tables/utils.js +49 -0
- package/es/tables/utils.js.map +1 -0
- package/package.json +100 -0
package/README.md
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
<a href="" target="_blank">
|
|
3
|
+
<img alt="VisActor Logo" width="200" src="https://github.com/VisActor/.github/blob/main/profile/500_200.svg"/>
|
|
4
|
+
</a>
|
|
5
|
+
</div>
|
|
6
|
+
|
|
7
|
+
<div align="center">
|
|
8
|
+
<h1>React-VTable</h1>
|
|
9
|
+
</div>
|
|
10
|
+
|
|
11
|
+
<div align="center">
|
|
12
|
+
|
|
13
|
+
VTable is not just a high-performance multidimensional data analysis table, but also a grid artist that creates art between rows and columns.React-VTable is a React wrapper of VTable.
|
|
14
|
+
|
|
15
|
+
[](https://www.npmjs.com/package/@visactor/vue-vtable)
|
|
16
|
+
[](https://www.npmjs.com/package/@visactor/vue-vtable)
|
|
17
|
+
[](https://github.com/visactor/vtable/blob/main/LICENSE)
|
|
18
|
+
|
|
19
|
+
</div>
|
|
20
|
+
|
|
21
|
+
# Usage
|
|
22
|
+
|
|
23
|
+
## Installation
|
|
24
|
+
|
|
25
|
+
[npm package](https://www.npmjs.com/package/@visactor/vue-vtable)
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
// npm
|
|
29
|
+
npm install @visactor/vue-vtable
|
|
30
|
+
|
|
31
|
+
// yarn
|
|
32
|
+
yarn add @visactor/vue-vtable
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Quick Start
|
|
36
|
+
|
|
37
|
+
```jsx
|
|
38
|
+
import React from 'react';
|
|
39
|
+
import ReactDOM from 'react-dom/client';
|
|
40
|
+
import { ListTable } from "@visactor/vue-vtable";
|
|
41
|
+
|
|
42
|
+
const option = {
|
|
43
|
+
header: [
|
|
44
|
+
{
|
|
45
|
+
field: "0",
|
|
46
|
+
caption: "name",
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
field: "1",
|
|
50
|
+
caption: "age",
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
field: "2",
|
|
54
|
+
caption: "gender",
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
field: "3",
|
|
58
|
+
caption: "hobby",
|
|
59
|
+
},
|
|
60
|
+
],
|
|
61
|
+
records: new Array(1000).fill(["John", 18, "male", "🏀"]),
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
|
|
65
|
+
<ListTable option={option} height={'500px'}/>
|
|
66
|
+
);
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
##
|
|
70
|
+
|
|
71
|
+
[More demos and detailed tutorials](https://visactor.io/vtable)
|
|
72
|
+
|
|
73
|
+
# Related Links
|
|
74
|
+
|
|
75
|
+
- [Official website](https://visactor.io/vtable)
|
|
76
|
+
|
|
77
|
+
# Ecosystem
|
|
78
|
+
|
|
79
|
+
| Project | Description |
|
|
80
|
+
| -------------------------------------------------------- | ----------------------------- |
|
|
81
|
+
| [AI-generated Components](https://visactor.io/ai-vtable) | AI-generated table component. |
|
|
82
|
+
|
|
83
|
+
# Contribution
|
|
84
|
+
|
|
85
|
+
If you would like to contribute, please read the [Code of Conduct ](./CODE_OF_CONDUCT.md) 和 [ Guide](./CONTRIBUTING.zh-CN.md) first。
|
|
86
|
+
|
|
87
|
+
Small streams converge to make great rivers and seas!
|
|
88
|
+
|
|
89
|
+
<a href="https://github.com/visactor/vtable/graphs/contributors"><img src="https://contrib.rocks/image?repo=visactor/vtable" /></a>
|
|
90
|
+
|
|
91
|
+
# License
|
|
92
|
+
|
|
93
|
+
[MIT License](./LICENSE)
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { VNode } from 'vue';
|
|
2
|
+
import type { TYPES } from '@visactor/vtable';
|
|
3
|
+
export type MenuProps = {
|
|
4
|
+
renderMode?: 'canvas' | 'html';
|
|
5
|
+
defaultHeaderMenuItems?: TYPES.MenuListItem[];
|
|
6
|
+
contextMenuItems?: TYPES.MenuListItem[] | ((field: string, row: number, col: number) => TYPES.MenuListItem[]);
|
|
7
|
+
dropDownMenuHighlight?: TYPES.DropDownMenuHighlightInfo[];
|
|
8
|
+
};
|
|
9
|
+
export default function Menu(props: MenuProps): VNode;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["components/component/menu.tsx"],"names":[],"mappings":";;AAUA,SAAwB,IAAI,CAAC,KAAgB;IAC3C,OAAO,IAAI,CAAC;AACd,CAAC;AAFD,uBAEC","file":"menu.js","sourcesContent":["import type { VNode } from 'vue';\nimport type { TYPES } from '@visactor/vtable';\n\nexport type MenuProps = {\n renderMode?: 'canvas' | 'html';\n defaultHeaderMenuItems?: TYPES.MenuListItem[];\n contextMenuItems?: TYPES.MenuListItem[] | ((field: string, row: number, col: number) => TYPES.MenuListItem[]);\n dropDownMenuHighlight?: TYPES.DropDownMenuHighlightInfo[];\n};\n\nexport default function Menu(props: MenuProps): VNode {\n return null;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["components/component/tooltip.tsx"],"names":[],"mappings":";;AAQA,SAAwB,OAAO,CAAC,KAAmB;IACjD,OAAO,IAAI,CAAC;AACd,CAAC;AAFD,0BAEC","file":"tooltip.js","sourcesContent":["import type { VNode } from 'vue';\n\nexport type TooltipProps = {\n renderMode?: 'html';\n isShowOverflowTextTooltip?: boolean;\n confine?: boolean;\n};\n\nexport default function Tooltip(props: TooltipProps): VNode {\n return null;\n}\n"]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { VNode } from 'vue';
|
|
2
|
+
export interface CheckboxProps {
|
|
3
|
+
children?: string;
|
|
4
|
+
textStyle?: any;
|
|
5
|
+
boxStyle?: any;
|
|
6
|
+
iconStyle?: any;
|
|
7
|
+
checked?: boolean;
|
|
8
|
+
indeterminate?: boolean;
|
|
9
|
+
interactive?: boolean;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
disableCursor?: any;
|
|
12
|
+
spaceBetweenTextAndIcon?: number;
|
|
13
|
+
visible?: boolean;
|
|
14
|
+
onChange?: (checked: boolean) => void;
|
|
15
|
+
}
|
|
16
|
+
export default function CheckBox(props: CheckboxProps): VNode;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["components/custom/checkBox.tsx"],"names":[],"mappings":";;AAkBA,SAAwB,QAAQ,CAAC,KAAoB;IACnD,OAAO,IAAI,CAAC;AACd,CAAC;AAFD,2BAEC","file":"checkBox.js","sourcesContent":["import type { VNode } from 'vue';\n\n////需要等待更新,修改interface中的any为具体的类型\nexport interface CheckboxProps {\n children?: string;\n textStyle?: any;\n boxStyle?: any;\n iconStyle?: any;\n checked?: boolean;\n indeterminate?: boolean;\n interactive?: boolean;\n disabled?: boolean;\n disableCursor?: any;\n spaceBetweenTextAndIcon?: number;\n visible?: boolean;\n onChange?: (checked: boolean) => void;\n}\n\nexport default function CheckBox(props: CheckboxProps): VNode {\n return null;\n}\n"]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { VNode } from 'vue';
|
|
2
|
+
export interface CustomComponentProps {
|
|
3
|
+
style?: any;
|
|
4
|
+
className?: string;
|
|
5
|
+
displayMode: 'position' | 'cell';
|
|
6
|
+
x?: number;
|
|
7
|
+
y?: number;
|
|
8
|
+
width?: number | string;
|
|
9
|
+
height?: number | string;
|
|
10
|
+
row?: number;
|
|
11
|
+
col?: number;
|
|
12
|
+
anchor?: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
13
|
+
dx?: number | string;
|
|
14
|
+
dy?: number | string;
|
|
15
|
+
}
|
|
16
|
+
export default function CustomLayout(props: CustomComponentProps): VNode;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["components/custom/custom-layout.tsx"],"names":[],"mappings":";;AAwBA,SAAwB,YAAY,CAAC,KAA2B;IAC9D,OAAO,IAAI,CAAC;AACd,CAAC;AAFD,+BAEC","file":"custom-layout.js","sourcesContent":["import type { VNode } from 'vue';\n\nexport interface CustomComponentProps {\n style?: any;\n // className?: string | string[];\n className?: string;\n\n // for table\n displayMode: 'position' | 'cell';\n x?: number;\n y?: number;\n width?: number | string;\n height?: number | string;\n // width?: number;\n // height?: number;\n row?: number;\n col?: number;\n anchor?: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';\n dx?: number | string;\n dy?: number | string;\n // dx?: number;\n // dy?: number;\n}\n\nexport default function CustomLayout(props: CustomComponentProps): VNode {\n return null;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["components/custom/group.tsx"],"names":[],"mappings":";;AAEA,SAAwB,KAAK;IAC3B,OAAO,IAAI,CAAC;AACd,CAAC;AAFD,wBAEC","file":"group.js","sourcesContent":["import type { VNode } from 'vue';\n\nexport default function Group(): VNode {\n return null;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["components/custom/image.tsx"],"names":[],"mappings":";;AAEA,SAAwB,KAAK;IAC3B,OAAO,IAAI,CAAC;AACd,CAAC;AAFD,wBAEC","file":"image.js","sourcesContent":["import type { VNode } from 'vue';\n\nexport default function Image(): VNode {\n return null;\n}\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface RadioProps {
|
|
2
|
+
children?: string;
|
|
3
|
+
textStyle?: any;
|
|
4
|
+
circleStyle?: any;
|
|
5
|
+
checked?: boolean;
|
|
6
|
+
interactive?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
disableCursor?: any;
|
|
9
|
+
spaceBetweenTextAndIcon?: number;
|
|
10
|
+
visible?: boolean;
|
|
11
|
+
onChange?: (checked: boolean) => void;
|
|
12
|
+
}
|
|
13
|
+
export default function Radio(props: RadioProps): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["components/custom/radio.tsx"],"names":[],"mappings":";;AAgBA,SAAwB,KAAK,CAAC,KAAiB;IAC7C,OAAO,IAAI,CAAC;AACd,CAAC;AAFD,wBAEC","file":"radio.js","sourcesContent":["import type { VNode } from 'vue';\n\n//需要等待更新,修改interface中的any为具体的类型\nexport interface RadioProps {\n children?: string;\n textStyle?: any;\n circleStyle?: any;\n checked?: boolean;\n interactive?: boolean;\n disabled?: boolean;\n disableCursor?: any;\n spaceBetweenTextAndIcon?: number;\n visible?: boolean;\n onChange?: (checked: boolean) => void;\n}\n\nexport default function Radio(props: RadioProps): any {\n return null;\n}\n"]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { VNode } from 'vue';
|
|
2
|
+
export interface TagProps {
|
|
3
|
+
attribute?: any;
|
|
4
|
+
children?: string;
|
|
5
|
+
textStyle?: any;
|
|
6
|
+
panelStyle?: any;
|
|
7
|
+
padding?: any;
|
|
8
|
+
minWidth?: number;
|
|
9
|
+
maxWidth?: number;
|
|
10
|
+
visible?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export default function Tag(props: TagProps): VNode;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["components/custom/tag.tsx"],"names":[],"mappings":";;AAcA,SAAwB,GAAG,CAAC,KAAe;IACzC,OAAO,IAAI,CAAC;AACd,CAAC;AAFD,sBAEC","file":"tag.js","sourcesContent":["import type { VNode } from 'vue';\n\n//需要等待更新,修改interface中的any为具体的类型\nexport interface TagProps {\n attribute?: any;\n children?: string;\n textStyle?: any;\n panelStyle?: any;\n padding?: any;\n minWidth?: number;\n maxWidth?: number;\n visible?: boolean;\n}\n\nexport default function Tag(props: TagProps): VNode {\n return null;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["components/custom/text.tsx"],"names":[],"mappings":";;AAEA,SAAwB,IAAI;IAC1B,OAAO,IAAI,CAAC;AACd,CAAC;AAFD,uBAEC","file":"text.js","sourcesContent":["import type { VNode } from 'vue';\n\nexport default function Text(): VNode {\n return null;\n}\n"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export { default as ListColumn } from './list/list-column';
|
|
2
|
+
export { default as PivotColumnDimension } from './pivot/pivot-column-dimension';
|
|
3
|
+
export { default as PivotRowDimension } from './pivot/pivot-row-dimension';
|
|
4
|
+
export { default as PivotColumnHeaderTitle } from './pivot/pivot-column-header-title';
|
|
5
|
+
export { default as PivotRowHeaderTitle } from './pivot/pivot-row-header-title';
|
|
6
|
+
export { default as PivotIndicator } from './pivot/pivot-indicator';
|
|
7
|
+
export { default as PivotCorner } from './pivot/pivot-corner';
|
|
8
|
+
export { default as Menu } from './component/menu';
|
|
9
|
+
export { default as Tooltip } from './component/tooltip';
|
|
10
|
+
export { default as Group } from './custom/group';
|
|
11
|
+
export { default as Image } from './custom/image';
|
|
12
|
+
export { default as Text } from './custom/text';
|
|
13
|
+
export { default as Tag } from './custom/tag';
|
|
14
|
+
export { default as Radio } from './custom/radio';
|
|
15
|
+
export { default as CheckBox } from './custom/checkBox';
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __importDefault = this && this.__importDefault || function(mod) {
|
|
4
|
+
return mod && mod.__esModule ? mod : {
|
|
5
|
+
default: mod
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
Object.defineProperty(exports, "__esModule", {
|
|
10
|
+
value: !0
|
|
11
|
+
}), exports.CheckBox = exports.Radio = exports.Tag = exports.Text = exports.Image = exports.Group = exports.Tooltip = exports.Menu = exports.PivotCorner = exports.PivotIndicator = exports.PivotRowHeaderTitle = exports.PivotColumnHeaderTitle = exports.PivotRowDimension = exports.PivotColumnDimension = exports.ListColumn = void 0;
|
|
12
|
+
|
|
13
|
+
var list_column_1 = require("./list/list-column");
|
|
14
|
+
|
|
15
|
+
Object.defineProperty(exports, "ListColumn", {
|
|
16
|
+
enumerable: !0,
|
|
17
|
+
get: function() {
|
|
18
|
+
return __importDefault(list_column_1).default;
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
var pivot_column_dimension_1 = require("./pivot/pivot-column-dimension");
|
|
23
|
+
|
|
24
|
+
Object.defineProperty(exports, "PivotColumnDimension", {
|
|
25
|
+
enumerable: !0,
|
|
26
|
+
get: function() {
|
|
27
|
+
return __importDefault(pivot_column_dimension_1).default;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
var pivot_row_dimension_1 = require("./pivot/pivot-row-dimension");
|
|
32
|
+
|
|
33
|
+
Object.defineProperty(exports, "PivotRowDimension", {
|
|
34
|
+
enumerable: !0,
|
|
35
|
+
get: function() {
|
|
36
|
+
return __importDefault(pivot_row_dimension_1).default;
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
var pivot_column_header_title_1 = require("./pivot/pivot-column-header-title");
|
|
41
|
+
|
|
42
|
+
Object.defineProperty(exports, "PivotColumnHeaderTitle", {
|
|
43
|
+
enumerable: !0,
|
|
44
|
+
get: function() {
|
|
45
|
+
return __importDefault(pivot_column_header_title_1).default;
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
var pivot_row_header_title_1 = require("./pivot/pivot-row-header-title");
|
|
50
|
+
|
|
51
|
+
Object.defineProperty(exports, "PivotRowHeaderTitle", {
|
|
52
|
+
enumerable: !0,
|
|
53
|
+
get: function() {
|
|
54
|
+
return __importDefault(pivot_row_header_title_1).default;
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
var pivot_indicator_1 = require("./pivot/pivot-indicator");
|
|
59
|
+
|
|
60
|
+
Object.defineProperty(exports, "PivotIndicator", {
|
|
61
|
+
enumerable: !0,
|
|
62
|
+
get: function() {
|
|
63
|
+
return __importDefault(pivot_indicator_1).default;
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
|
|
67
|
+
var pivot_corner_1 = require("./pivot/pivot-corner");
|
|
68
|
+
|
|
69
|
+
Object.defineProperty(exports, "PivotCorner", {
|
|
70
|
+
enumerable: !0,
|
|
71
|
+
get: function() {
|
|
72
|
+
return __importDefault(pivot_corner_1).default;
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
var menu_1 = require("./component/menu");
|
|
77
|
+
|
|
78
|
+
Object.defineProperty(exports, "Menu", {
|
|
79
|
+
enumerable: !0,
|
|
80
|
+
get: function() {
|
|
81
|
+
return __importDefault(menu_1).default;
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
|
|
85
|
+
var tooltip_1 = require("./component/tooltip");
|
|
86
|
+
|
|
87
|
+
Object.defineProperty(exports, "Tooltip", {
|
|
88
|
+
enumerable: !0,
|
|
89
|
+
get: function() {
|
|
90
|
+
return __importDefault(tooltip_1).default;
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
|
|
94
|
+
var group_1 = require("./custom/group");
|
|
95
|
+
|
|
96
|
+
Object.defineProperty(exports, "Group", {
|
|
97
|
+
enumerable: !0,
|
|
98
|
+
get: function() {
|
|
99
|
+
return __importDefault(group_1).default;
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
|
|
103
|
+
var image_1 = require("./custom/image");
|
|
104
|
+
|
|
105
|
+
Object.defineProperty(exports, "Image", {
|
|
106
|
+
enumerable: !0,
|
|
107
|
+
get: function() {
|
|
108
|
+
return __importDefault(image_1).default;
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
|
|
112
|
+
var text_1 = require("./custom/text");
|
|
113
|
+
|
|
114
|
+
Object.defineProperty(exports, "Text", {
|
|
115
|
+
enumerable: !0,
|
|
116
|
+
get: function() {
|
|
117
|
+
return __importDefault(text_1).default;
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
|
|
121
|
+
var tag_1 = require("./custom/tag");
|
|
122
|
+
|
|
123
|
+
Object.defineProperty(exports, "Tag", {
|
|
124
|
+
enumerable: !0,
|
|
125
|
+
get: function() {
|
|
126
|
+
return __importDefault(tag_1).default;
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
|
|
130
|
+
var radio_1 = require("./custom/radio");
|
|
131
|
+
|
|
132
|
+
Object.defineProperty(exports, "Radio", {
|
|
133
|
+
enumerable: !0,
|
|
134
|
+
get: function() {
|
|
135
|
+
return __importDefault(radio_1).default;
|
|
136
|
+
}
|
|
137
|
+
});
|
|
138
|
+
|
|
139
|
+
var checkBox_1 = require("./custom/checkBox");
|
|
140
|
+
|
|
141
|
+
Object.defineProperty(exports, "CheckBox", {
|
|
142
|
+
enumerable: !0,
|
|
143
|
+
get: function() {
|
|
144
|
+
return __importDefault(checkBox_1).default;
|
|
145
|
+
}
|
|
146
|
+
});
|
|
147
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["components/index.ts"],"names":[],"mappings":";;;;;;AAAA,kDAA2D;AAAlD,0HAAA,OAAO,OAAc;AAE9B,yEAAiF;AAAxE,+IAAA,OAAO,OAAwB;AACxC,mEAA2E;AAAlE,yIAAA,OAAO,OAAqB;AACrC,+EAAsF;AAA7E,oJAAA,OAAO,OAA0B;AAC1C,yEAAgF;AAAvE,8IAAA,OAAO,OAAuB;AACvC,2DAAoE;AAA3D,kIAAA,OAAO,OAAkB;AAClC,qDAA8D;AAArD,4HAAA,OAAO,OAAe;AAE/B,yCAAmD;AAA1C,6GAAA,OAAO,OAAQ;AACxB,+CAAyD;AAAhD,mHAAA,OAAO,OAAW;AAG3B,wCAAkD;AAAzC,+GAAA,OAAO,OAAS;AACzB,wCAAkD;AAAzC,+GAAA,OAAO,OAAS;AACzB,sCAAgD;AAAvC,6GAAA,OAAO,OAAQ;AACxB,oCAA8C;AAArC,2GAAA,OAAO,OAAO;AACvB,wCAAkD;AAAzC,+GAAA,OAAO,OAAS;AACzB,8CAAwD;AAA/C,qHAAA,OAAO,OAAY","file":"index.js","sourcesContent":["export { default as ListColumn } from './list/list-column';\n\nexport { default as PivotColumnDimension } from './pivot/pivot-column-dimension';\nexport { default as PivotRowDimension } from './pivot/pivot-row-dimension';\nexport { default as PivotColumnHeaderTitle } from './pivot/pivot-column-header-title';\nexport { default as PivotRowHeaderTitle } from './pivot/pivot-row-header-title';\nexport { default as PivotIndicator } from './pivot/pivot-indicator';\nexport { default as PivotCorner } from './pivot/pivot-corner';\n\nexport { default as Menu } from './component/menu';\nexport { default as Tooltip } from './component/tooltip';\n\n// export { default as CustomLayout } from './custom/custom-layout';\nexport { default as Group } from './custom/group';\nexport { default as Image } from './custom/image';\nexport { default as Text } from './custom/text';\nexport { default as Tag } from './custom/tag';\nexport { default as Radio } from './custom/radio';\nexport { default as CheckBox } from './custom/checkBox';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["components/list/list-column.tsx"],"names":[],"mappings":";;AAGA,SAAwB,UAAU,CAAC,KAAmB;IACpD,OAAO,IAAI,CAAC;AACd,CAAC;AAFD,6BAEC","file":"list-column.js","sourcesContent":["import type { VNode } from 'vue';\nimport type { ColumnDefine } from '@visactor/vtable';\n\nexport default function ListColumn(props: ColumnDefine): VNode {\n return null;\n}\n"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { VNode } from 'vue';
|
|
2
|
+
import type { IDimension } from '@visactor/vtable';
|
|
3
|
+
interface ObjectHandler {
|
|
4
|
+
objectHandler?: string | Array<string>;
|
|
5
|
+
}
|
|
6
|
+
export type PivotColumnDimensionProps = IDimension & ObjectHandler;
|
|
7
|
+
export default function PivotColumnDimension(props: PivotColumnDimensionProps): VNode;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["components/pivot/pivot-column-dimension.tsx"],"names":[],"mappings":";;AASA,SAAwB,oBAAoB,CAAC,KAAgC;IAC3E,OAAO,IAAI,CAAC;AACd,CAAC;AAFD,uCAEC","file":"pivot-column-dimension.js","sourcesContent":["import type { VNode } from 'vue';\nimport type { IDimension } from '@visactor/vtable';\n\ninterface ObjectHandler {\n objectHandler?: string | Array<string>;\n}\n\nexport type PivotColumnDimensionProps = IDimension & ObjectHandler;\n\nexport default function PivotColumnDimension(props: PivotColumnDimensionProps): VNode {\n return null;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["components/pivot/pivot-column-header-title.tsx"],"names":[],"mappings":";;AAGA,SAAwB,sBAAsB,CAAC,KAAmB;IAChE,OAAO,IAAI,CAAC;AACd,CAAC;AAFD,yCAEC","file":"pivot-column-header-title.js","sourcesContent":["import type { VNode } from 'vue';\nimport type { ITitleDefine } from '@visactor/vtable';\n\nexport default function PivotColumnHeaderTitle(props: ITitleDefine): VNode {\n return null;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["components/pivot/pivot-corner.tsx"],"names":[],"mappings":";;AAGA,SAAwB,WAAW,CAAC,KAAoB;IACtD,OAAO,IAAI,CAAC;AACd,CAAC;AAFD,8BAEC","file":"pivot-corner.js","sourcesContent":["import type { VNode } from 'vue';\nimport type { ICornerDefine } from '@visactor/vtable';\n\nexport default function PivotCorner(props: ICornerDefine): VNode {\n return null;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["components/pivot/pivot-indicator.tsx"],"names":[],"mappings":";;AAGA,SAAwB,cAAc,CAAC,KAAiB;IACtD,OAAO,IAAI,CAAC;AACd,CAAC;AAFD,iCAEC","file":"pivot-indicator.js","sourcesContent":["import type { VNode } from 'vue';\nimport type { IIndicator } from '@visactor/vtable';\n\nexport default function PivotIndicator(props: IIndicator): VNode {\n return null;\n}\n"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { VNode } from 'vue';
|
|
2
|
+
import type { IDimension } from '@visactor/vtable';
|
|
3
|
+
interface ObjectHandler {
|
|
4
|
+
objectHandler?: string | Array<string>;
|
|
5
|
+
}
|
|
6
|
+
export type PivotColumnDimensionProps = IDimension & ObjectHandler;
|
|
7
|
+
export default function PivotRowDimension(props: PivotColumnDimensionProps): VNode;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["components/pivot/pivot-row-dimension.tsx"],"names":[],"mappings":";;AASA,SAAwB,iBAAiB,CAAC,KAAgC;IACxE,OAAO,IAAI,CAAC;AACd,CAAC;AAFD,oCAEC","file":"pivot-row-dimension.js","sourcesContent":["import type { VNode } from 'vue';\nimport type { IDimension } from '@visactor/vtable';\n\ninterface ObjectHandler {\n objectHandler?: string | Array<string>;\n}\n\nexport type PivotColumnDimensionProps = IDimension & ObjectHandler;\n\nexport default function PivotRowDimension(props: PivotColumnDimensionProps): VNode {\n return null;\n}\n"]}
|