@gingkoo/pandora-metabase 1.0.0-alpha.26 → 1.0.0-alpha.27
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/package.json +2 -2
- package/lib/es/common/Loading/index.d.ts +0 -6
- package/lib/es/common/Portal/index.d.ts +0 -8
- package/lib/es/common/SplitView/index.d.ts +0 -17
- package/lib/es/components/dialog/const.d.ts +0 -4
- package/lib/es/components/dialog/custom-column/config.d.ts +0 -352
- package/lib/es/components/dialog/custom-column/dialog/function-tip.d.ts +0 -7
- package/lib/es/components/dialog/custom-column/dialog/select-list.d.ts +0 -14
- package/lib/es/components/dialog/custom-column/expression-editor.d.ts +0 -9
- package/lib/es/components/dialog/custom-column/expressions/suggest.d.ts +0 -69
- package/lib/es/components/dialog/custom-column/expressions/tokenizer.d.ts +0 -36
- package/lib/es/components/dialog/custom-column/index.d.ts +0 -10
- package/lib/es/components/dialog/custom-column/keyboard.d.ts +0 -11
- package/lib/es/components/dialog/custom-column/tokenized-expression.d.ts +0 -10
- package/lib/es/components/dialog/custom-column/tokenizedI-input.d.ts +0 -16
- package/lib/es/components/dialog/custom-editor/enum.d.ts +0 -43
- package/lib/es/components/dialog/custom-editor/index.d.ts +0 -10
- package/lib/es/components/dialog/custom-editor/utils.d.ts +0 -8
- package/lib/es/components/dialog/index.d.ts +0 -8
- package/lib/es/components/dialog/select-column/index.d.ts +0 -15
- package/lib/es/components/dialog/select-filter/index.d.ts +0 -16
- package/lib/es/components/dialog/select-join/index.d.ts +0 -13
- package/lib/es/components/dialog/select-join-column/index.d.ts +0 -56
- package/lib/es/components/dialog/select-list/index.d.ts +0 -10
- package/lib/es/components/dialog/select-permission-table/index.d.ts +0 -15
- package/lib/es/components/dialog/select-summarize/index.d.ts +0 -17
- package/lib/es/components/dialog/select-table/index.d.ts +0 -17
- package/lib/es/components/icons.d.ts +0 -35
- package/lib/es/components/metabase/index.d.ts +0 -4
- package/lib/es/components/modules/components/Wrapper.d.ts +0 -7
- package/lib/es/components/modules/components/header.d.ts +0 -7
- package/lib/es/components/modules/components/meta-icon.d.ts +0 -7
- package/lib/es/components/modules/custom-column.d.ts +0 -8
- package/lib/es/components/modules/filter.d.ts +0 -7
- package/lib/es/components/modules/index.d.ts +0 -4
- package/lib/es/components/modules/join-data.d.ts +0 -7
- package/lib/es/components/modules/permission-table.d.ts +0 -7
- package/lib/es/components/modules/row-limit.d.ts +0 -7
- package/lib/es/components/modules/sort.d.ts +0 -7
- package/lib/es/components/modules/summarize/group-by.d.ts +0 -12
- package/lib/es/components/modules/summarize/index.d.ts +0 -8
- package/lib/es/components/modules/summarize/select-index.d.ts +0 -8
- package/lib/es/components/modules/table-data.d.ts +0 -7
- package/lib/es/components/modules/union.d.ts +0 -9
- package/lib/es/components/popup.d.ts +0 -104
- package/lib/es/constants/enum.d.ts +0 -15
- package/lib/es/constants/index.d.ts +0 -1
- package/lib/es/constants/storageKey.d.ts +0 -1
- package/lib/es/css.d.ts +0 -10
- package/lib/es/hooks/use-provider.d.ts +0 -11
- package/lib/es/hooks/use-state.d.ts +0 -7
- package/lib/es/hooks/winsize.d.ts +0 -4
- package/lib/es/index.d.ts +0 -15
- package/lib/es/index.js +0 -9232
- package/lib/es/index.js.map +0 -1
- package/lib/es/locale/en.d.ts +0 -2
- package/lib/es/locale/index.d.ts +0 -3
- package/lib/es/locale/zh.d.ts +0 -2
- package/lib/es/sql-formula.d.ts +0 -19
- package/lib/es/store/enum.d.ts +0 -56
- package/lib/es/store/helper.d.ts +0 -10
- package/lib/es/store/types.d.ts +0 -298
- package/lib/es/types.d.ts +0 -45
- package/lib/es/utils/cookies.d.ts +0 -1
- package/lib/es/utils/event.d.ts +0 -20
- package/lib/es/utils/helper-dom.d.ts +0 -13
- package/lib/es/utils/helper.d.ts +0 -17
- package/lib/es/utils/keydown.d.ts +0 -21
- package/lib/es/utils/platform.d.ts +0 -12
- package/lib/es/utils/selection.d.ts +0 -7
- package/lib/es/utils/storage.d.ts +0 -22
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 关联模块 选择表字段
|
|
3
|
-
*/
|
|
4
|
-
import './index.less';
|
|
5
|
-
import { MetaFilter_Item } from '../../../store/types';
|
|
6
|
-
import { DataType } from '../select-join-column';
|
|
7
|
-
interface PropsType {
|
|
8
|
-
data: DataType[];
|
|
9
|
-
value: MetaFilter_Item;
|
|
10
|
-
onChange: (reocrd: MetaFilter_Item) => void;
|
|
11
|
-
didUpdate?: Function;
|
|
12
|
-
isCustom?: boolean;
|
|
13
|
-
container?: any;
|
|
14
|
-
}
|
|
15
|
-
declare const _default: (props: PropsType) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
export default _default;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 选择关联方式
|
|
3
|
-
* 谁在用?
|
|
4
|
-
* 1、关联模块
|
|
5
|
-
*/
|
|
6
|
-
import './index.less';
|
|
7
|
-
import { JoinEnum } from '../../../store/enum';
|
|
8
|
-
interface PropsType {
|
|
9
|
-
value: JoinEnum;
|
|
10
|
-
onChange: (type: JoinEnum) => void;
|
|
11
|
-
}
|
|
12
|
-
declare const SelectJoin: ({ value, onChange }: PropsType) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export default SelectJoin;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 选择表字段当条件
|
|
3
|
-
* 谁在用?
|
|
4
|
-
* 1、关联模块
|
|
5
|
-
* 2、过滤器模块
|
|
6
|
-
* 3、聚合模块
|
|
7
|
-
* 4、排序模块
|
|
8
|
-
*/
|
|
9
|
-
import './index.less';
|
|
10
|
-
import { ColumnsPopupThemeEnum, SQL_COLUMN_TYPE } from '../../../store/enum';
|
|
11
|
-
import { MetaData_ColumnsType, MetaJoin_TalbeType } from '../../../store/types';
|
|
12
|
-
import { DatasourceType } from '../../../types';
|
|
13
|
-
export declare const DATE_GROUP_MAP: Map<string, string>;
|
|
14
|
-
export declare const NUMBER_GROUP_MAP: Map<string, string>;
|
|
15
|
-
export interface ColumnType {
|
|
16
|
-
table: string;
|
|
17
|
-
tableId: string;
|
|
18
|
-
tableUuid: string;
|
|
19
|
-
fieldUuid: string;
|
|
20
|
-
fieldAlias: string;
|
|
21
|
-
alias: string;
|
|
22
|
-
name: string;
|
|
23
|
-
database_type: SQL_COLUMN_TYPE | '';
|
|
24
|
-
sql?: string;
|
|
25
|
-
id: string;
|
|
26
|
-
datasourceId: string;
|
|
27
|
-
datasourceName: string;
|
|
28
|
-
quotes?: string;
|
|
29
|
-
table2?: Omit<MetaJoin_TalbeType, 'column' | 'column_id'> | null;
|
|
30
|
-
}
|
|
31
|
-
export interface ColumnGroupType {
|
|
32
|
-
condition: string;
|
|
33
|
-
quotes: string;
|
|
34
|
-
}
|
|
35
|
-
export type DataType = Partial<DatasourceType> & {
|
|
36
|
-
table: string;
|
|
37
|
-
tableId: string;
|
|
38
|
-
tableUuid: string;
|
|
39
|
-
alias: string;
|
|
40
|
-
columns: MetaData_ColumnsType[];
|
|
41
|
-
};
|
|
42
|
-
interface PropsType {
|
|
43
|
-
data: DataType[];
|
|
44
|
-
value: ColumnType & Partial<ColumnGroupType>;
|
|
45
|
-
theme: ColumnsPopupThemeEnum;
|
|
46
|
-
isGroup?: boolean;
|
|
47
|
-
onSelect?: (record: ColumnType & DatasourceType & {
|
|
48
|
-
realName: string;
|
|
49
|
-
}) => void;
|
|
50
|
-
onGroup?: (record: ColumnType & ColumnGroupType & {
|
|
51
|
-
realName?: string;
|
|
52
|
-
}) => void;
|
|
53
|
-
didUpdate?: Function;
|
|
54
|
-
}
|
|
55
|
-
declare const SelectJoinColumn: ({ data, value: _value, theme, onSelect, isGroup, onGroup, didUpdate, }: PropsType) => import("react/jsx-runtime").JSX.Element;
|
|
56
|
-
export default SelectJoinColumn;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import './index.less';
|
|
2
|
-
import { OptionItem } from '../../../types';
|
|
3
|
-
interface PropsType {
|
|
4
|
-
className?: string;
|
|
5
|
-
value?: any;
|
|
6
|
-
list: OptionItem[];
|
|
7
|
-
onChange: (type: any) => void;
|
|
8
|
-
}
|
|
9
|
-
declare const SelectList: ({ value, onChange, list, className }: PropsType) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export default SelectList;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 选择表弹框
|
|
3
|
-
* 谁在用?
|
|
4
|
-
* 1、选择权限表
|
|
5
|
-
*/
|
|
6
|
-
import './index.less';
|
|
7
|
-
import { MetaData_TableType } from '../../../store/types';
|
|
8
|
-
interface PropsType {
|
|
9
|
-
data: MetaData_TableType[];
|
|
10
|
-
value: MetaData_TableType;
|
|
11
|
-
onChange: (reocrd: MetaData_TableType) => void;
|
|
12
|
-
didUpdate?: Function;
|
|
13
|
-
}
|
|
14
|
-
declare const SelectPermissionTable: ({ data, value, onChange, didUpdate }: PropsType) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export default SelectPermissionTable;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 关联模块 选择表字段
|
|
3
|
-
*/
|
|
4
|
-
import './index.less';
|
|
5
|
-
import { DataType, ColumnType } from '../select-join-column';
|
|
6
|
-
export type ValueType = Partial<ColumnType> & {
|
|
7
|
-
condition: string;
|
|
8
|
-
quotes: string;
|
|
9
|
-
};
|
|
10
|
-
interface PropsType {
|
|
11
|
-
data: DataType[];
|
|
12
|
-
value: ValueType;
|
|
13
|
-
onChange: (reocrd: ValueType) => void;
|
|
14
|
-
didUpdate?: Function;
|
|
15
|
-
}
|
|
16
|
-
declare const SelectSummarize: ({ data, value, onChange, didUpdate }: PropsType) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
export default SelectSummarize;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 选择表弹框
|
|
3
|
-
* 谁在用?
|
|
4
|
-
* 1、数据模块
|
|
5
|
-
* 2、关联模块
|
|
6
|
-
*/
|
|
7
|
-
import './index.less';
|
|
8
|
-
import { MetaData_TableType } from '../../../store/types';
|
|
9
|
-
import { DatasourceType } from '../../../types';
|
|
10
|
-
interface PropsType {
|
|
11
|
-
data: DatasourceType[];
|
|
12
|
-
value: MetaData_TableType;
|
|
13
|
-
onChange: (reocrd: MetaData_TableType) => void;
|
|
14
|
-
didUpdate?: Function;
|
|
15
|
-
}
|
|
16
|
-
declare const SelectTable: ({ data, value, onChange, didUpdate }: PropsType) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
export default SelectTable;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
type IconProps = {
|
|
2
|
-
width?: number;
|
|
3
|
-
height?: number;
|
|
4
|
-
style?: object;
|
|
5
|
-
};
|
|
6
|
-
export declare const CloseIcon2: (reset: any) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export declare const FilterIcon: ({ width, height }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export declare const SummarizeIcon: ({ width, height }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export declare const JoinDataIcon: ({ width, height }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export declare const GroupIcon: ({ width, height }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export declare const PermissionTableIcon: ({ width, height }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export declare const CustomColumnIcon: ({ width, height }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export declare const SortIcon: ({ width, height }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export declare const RowLimitIcon: ({ width, height }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export declare const LeftJoinIcon: ({ width, height, style }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
export declare const InnerJoinIcon: ({ width, height, style }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
export declare const UpArrowIcon: ({ width, height }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
export declare const DownArrowIcon: ({ width, height }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
export declare const CloseIcon: ({ width, height }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
export declare const AddIcon: ({ width, height }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
export declare const TableIcon: ({ width, height }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
export declare const SearchIcon: ({ width, height }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
export declare const NotSelectIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
24
|
-
export declare const SelectIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
25
|
-
export declare const CircleIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
export declare const LetterAaIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
27
|
-
export declare const CalendarIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
export declare const WellIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
29
|
-
export declare const ForeignKeyIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
30
|
-
export declare const UpArrowIcon2: () => import("react/jsx-runtime").JSX.Element;
|
|
31
|
-
export declare const DownArrowIcon2: () => import("react/jsx-runtime").JSX.Element;
|
|
32
|
-
export declare const LeftArrowIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
33
|
-
export declare const RightArrowIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
34
|
-
export declare const DataSourceIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
35
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { MetaSummarize } from '../../../store/types';
|
|
2
|
-
import { ColumnType } from '../../dialog/select-join-column';
|
|
3
|
-
export type ValueType = ColumnType & {
|
|
4
|
-
condition: string;
|
|
5
|
-
quotes: string;
|
|
6
|
-
};
|
|
7
|
-
interface PropsType {
|
|
8
|
-
meta: MetaSummarize;
|
|
9
|
-
groupIndex: number;
|
|
10
|
-
}
|
|
11
|
-
declare const GroupBy: (props: PropsType) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export default GroupBy;
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export declare function generateTrigger(PortalComponent: any): {
|
|
3
|
-
new (props: PropsType): {
|
|
4
|
-
resizeObserver: ResizeObserver | null;
|
|
5
|
-
resetId: number;
|
|
6
|
-
ref: any;
|
|
7
|
-
componentDidMount(): void;
|
|
8
|
-
componentDidUpdate(prevProps: PropsType): void;
|
|
9
|
-
componentWillUnmount(): void;
|
|
10
|
-
initResizeObserver: () => void;
|
|
11
|
-
bindEvent: () => void;
|
|
12
|
-
closePopup: () => void;
|
|
13
|
-
attachParent: (popupContainer: HTMLSpanElement) => void;
|
|
14
|
-
getCurrentNodePos: () => {
|
|
15
|
-
x: number;
|
|
16
|
-
y: number;
|
|
17
|
-
t: number;
|
|
18
|
-
h: any;
|
|
19
|
-
};
|
|
20
|
-
getContainer: () => HTMLSpanElement;
|
|
21
|
-
getComponent: () => import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
didUpdate: () => void | false;
|
|
23
|
-
render(): import("react/jsx-runtime").JSX.Element | null;
|
|
24
|
-
context: unknown;
|
|
25
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<PropsType>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
26
|
-
forceUpdate(callback?: (() => void) | undefined): void;
|
|
27
|
-
readonly props: Readonly<PropsType>;
|
|
28
|
-
state: Readonly<{}>;
|
|
29
|
-
refs: {
|
|
30
|
-
[key: string]: React.ReactInstance;
|
|
31
|
-
};
|
|
32
|
-
shouldComponentUpdate?(nextProps: Readonly<PropsType>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
33
|
-
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
34
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<PropsType>, prevState: Readonly<{}>): any;
|
|
35
|
-
componentWillMount?(): void;
|
|
36
|
-
UNSAFE_componentWillMount?(): void;
|
|
37
|
-
componentWillReceiveProps?(nextProps: Readonly<PropsType>, nextContext: any): void;
|
|
38
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<PropsType>, nextContext: any): void;
|
|
39
|
-
componentWillUpdate?(nextProps: Readonly<PropsType>, nextState: Readonly<{}>, nextContext: any): void;
|
|
40
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<PropsType>, nextState: Readonly<{}>, nextContext: any): void;
|
|
41
|
-
};
|
|
42
|
-
defaultProps: {
|
|
43
|
-
visible: boolean;
|
|
44
|
-
children: null;
|
|
45
|
-
};
|
|
46
|
-
contextType?: React.Context<any> | undefined;
|
|
47
|
-
};
|
|
48
|
-
declare const _default: {
|
|
49
|
-
new (props: PropsType): {
|
|
50
|
-
resizeObserver: ResizeObserver | null;
|
|
51
|
-
resetId: number;
|
|
52
|
-
ref: any;
|
|
53
|
-
componentDidMount(): void;
|
|
54
|
-
componentDidUpdate(prevProps: PropsType): void;
|
|
55
|
-
componentWillUnmount(): void;
|
|
56
|
-
initResizeObserver: () => void;
|
|
57
|
-
bindEvent: () => void;
|
|
58
|
-
closePopup: () => void;
|
|
59
|
-
attachParent: (popupContainer: HTMLSpanElement) => void;
|
|
60
|
-
getCurrentNodePos: () => {
|
|
61
|
-
x: number;
|
|
62
|
-
y: number;
|
|
63
|
-
t: number;
|
|
64
|
-
h: any;
|
|
65
|
-
};
|
|
66
|
-
getContainer: () => HTMLSpanElement;
|
|
67
|
-
getComponent: () => import("react/jsx-runtime").JSX.Element;
|
|
68
|
-
didUpdate: () => void | false;
|
|
69
|
-
render(): import("react/jsx-runtime").JSX.Element | null;
|
|
70
|
-
context: unknown;
|
|
71
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<PropsType>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
72
|
-
forceUpdate(callback?: (() => void) | undefined): void;
|
|
73
|
-
readonly props: Readonly<PropsType>;
|
|
74
|
-
state: Readonly<{}>;
|
|
75
|
-
refs: {
|
|
76
|
-
[key: string]: React.ReactInstance;
|
|
77
|
-
};
|
|
78
|
-
shouldComponentUpdate?(nextProps: Readonly<PropsType>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
79
|
-
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
80
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<PropsType>, prevState: Readonly<{}>): any;
|
|
81
|
-
componentWillMount?(): void;
|
|
82
|
-
UNSAFE_componentWillMount?(): void;
|
|
83
|
-
componentWillReceiveProps?(nextProps: Readonly<PropsType>, nextContext: any): void;
|
|
84
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<PropsType>, nextContext: any): void;
|
|
85
|
-
componentWillUpdate?(nextProps: Readonly<PropsType>, nextState: Readonly<{}>, nextContext: any): void;
|
|
86
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<PropsType>, nextState: Readonly<{}>, nextContext: any): void;
|
|
87
|
-
};
|
|
88
|
-
defaultProps: {
|
|
89
|
-
visible: boolean;
|
|
90
|
-
children: null;
|
|
91
|
-
};
|
|
92
|
-
contextType?: React.Context<any> | undefined;
|
|
93
|
-
};
|
|
94
|
-
export default _default;
|
|
95
|
-
interface PropsType {
|
|
96
|
-
visible: boolean;
|
|
97
|
-
children: any;
|
|
98
|
-
hideVisible: Function;
|
|
99
|
-
node: any;
|
|
100
|
-
innerSpacing?: number;
|
|
101
|
-
container?: HTMLDivElement;
|
|
102
|
-
zIndex?: string | null;
|
|
103
|
-
closable?: boolean;
|
|
104
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export declare const ThemeEnum: {
|
|
2
|
-
dark: string;
|
|
3
|
-
light: string;
|
|
4
|
-
};
|
|
5
|
-
export declare const GraphTypeEnum: {
|
|
6
|
-
workflow: string;
|
|
7
|
-
bpmFlow: string;
|
|
8
|
-
};
|
|
9
|
-
export declare enum ApiStatus {
|
|
10
|
-
FIRST_OPEN = "first_open",
|
|
11
|
-
LOADING = "loading",
|
|
12
|
-
ERROR = "error",
|
|
13
|
-
NO_DATA = "no_data",
|
|
14
|
-
SUCCESS = "success"
|
|
15
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const EditorVar: {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const THEME = "THEME";
|
package/lib/es/css.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const flush: () => void, hydrate: (ids: Array<string>) => void, cx: (...classNames: Array<import("@emotion/css/create-instance").ClassNamesArg>) => string, merge: (className: string) => string, getRegisteredStyles: (registeredStyles: Array<string>, className: string) => string, injectGlobal: {
|
|
2
|
-
(template: TemplateStringsArray, ...args: Array<import("@emotion/css/create-instance").CSSInterpolation>): void;
|
|
3
|
-
(...args: Array<import("@emotion/css/create-instance").CSSInterpolation>): void;
|
|
4
|
-
}, keyframes: {
|
|
5
|
-
(template: TemplateStringsArray, ...args: Array<import("@emotion/css/create-instance").CSSInterpolation>): string;
|
|
6
|
-
(...args: Array<import("@emotion/css/create-instance").CSSInterpolation>): string;
|
|
7
|
-
}, css: {
|
|
8
|
-
(template: TemplateStringsArray, ...args: Array<import("@emotion/css/create-instance").CSSInterpolation>): string;
|
|
9
|
-
(...args: Array<import("@emotion/css/create-instance").CSSInterpolation>): string;
|
|
10
|
-
}, sheet: import("@emotion/css/create-instance").CSSStyleSheet, cache: import("@emotion/css/create-instance").EmotionCache;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface ContextProps {
|
|
3
|
-
store?: any;
|
|
4
|
-
}
|
|
5
|
-
interface ProviderProps {
|
|
6
|
-
value: ContextProps;
|
|
7
|
-
children: React.ReactNode;
|
|
8
|
-
}
|
|
9
|
-
export declare const Provider: ({ value, children }: ProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export declare const useStore: any;
|
|
11
|
-
export {};
|
package/lib/es/index.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export { restoreStructure, handleSqlStruct, compressionStructure } from './store/helper';
|
|
3
|
-
import './locale/en';
|
|
4
|
-
import './locale/zh';
|
|
5
|
-
import type { MetabaseProps, SqlVisionBuilderRef, DatasourceType } from './types';
|
|
6
|
-
import type { MetaListType, ToolbarType } from './store/types';
|
|
7
|
-
/**
|
|
8
|
-
* 规则
|
|
9
|
-
* 1、主表一换 下面全部删除
|
|
10
|
-
* 2、关联如果动了表或者删除了 下面的关联都删除
|
|
11
|
-
* 3、关联如果动了表或者删除了 下面对应排序用到的对应的字段也删除 todo. 未完成 因为有可能关联里面选一样的表 还不知道怎么搞
|
|
12
|
-
*/
|
|
13
|
-
declare const SqlVisionBuilder: React.ForwardRefExoticComponent<MetabaseProps & React.RefAttributes<SqlVisionBuilderRef>>;
|
|
14
|
-
export default SqlVisionBuilder;
|
|
15
|
-
export { MetabaseProps, DatasourceType, MetaListType, ToolbarType, SqlVisionBuilderRef };
|