@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.
Files changed (71) hide show
  1. package/package.json +2 -2
  2. package/lib/es/common/Loading/index.d.ts +0 -6
  3. package/lib/es/common/Portal/index.d.ts +0 -8
  4. package/lib/es/common/SplitView/index.d.ts +0 -17
  5. package/lib/es/components/dialog/const.d.ts +0 -4
  6. package/lib/es/components/dialog/custom-column/config.d.ts +0 -352
  7. package/lib/es/components/dialog/custom-column/dialog/function-tip.d.ts +0 -7
  8. package/lib/es/components/dialog/custom-column/dialog/select-list.d.ts +0 -14
  9. package/lib/es/components/dialog/custom-column/expression-editor.d.ts +0 -9
  10. package/lib/es/components/dialog/custom-column/expressions/suggest.d.ts +0 -69
  11. package/lib/es/components/dialog/custom-column/expressions/tokenizer.d.ts +0 -36
  12. package/lib/es/components/dialog/custom-column/index.d.ts +0 -10
  13. package/lib/es/components/dialog/custom-column/keyboard.d.ts +0 -11
  14. package/lib/es/components/dialog/custom-column/tokenized-expression.d.ts +0 -10
  15. package/lib/es/components/dialog/custom-column/tokenizedI-input.d.ts +0 -16
  16. package/lib/es/components/dialog/custom-editor/enum.d.ts +0 -43
  17. package/lib/es/components/dialog/custom-editor/index.d.ts +0 -10
  18. package/lib/es/components/dialog/custom-editor/utils.d.ts +0 -8
  19. package/lib/es/components/dialog/index.d.ts +0 -8
  20. package/lib/es/components/dialog/select-column/index.d.ts +0 -15
  21. package/lib/es/components/dialog/select-filter/index.d.ts +0 -16
  22. package/lib/es/components/dialog/select-join/index.d.ts +0 -13
  23. package/lib/es/components/dialog/select-join-column/index.d.ts +0 -56
  24. package/lib/es/components/dialog/select-list/index.d.ts +0 -10
  25. package/lib/es/components/dialog/select-permission-table/index.d.ts +0 -15
  26. package/lib/es/components/dialog/select-summarize/index.d.ts +0 -17
  27. package/lib/es/components/dialog/select-table/index.d.ts +0 -17
  28. package/lib/es/components/icons.d.ts +0 -35
  29. package/lib/es/components/metabase/index.d.ts +0 -4
  30. package/lib/es/components/modules/components/Wrapper.d.ts +0 -7
  31. package/lib/es/components/modules/components/header.d.ts +0 -7
  32. package/lib/es/components/modules/components/meta-icon.d.ts +0 -7
  33. package/lib/es/components/modules/custom-column.d.ts +0 -8
  34. package/lib/es/components/modules/filter.d.ts +0 -7
  35. package/lib/es/components/modules/index.d.ts +0 -4
  36. package/lib/es/components/modules/join-data.d.ts +0 -7
  37. package/lib/es/components/modules/permission-table.d.ts +0 -7
  38. package/lib/es/components/modules/row-limit.d.ts +0 -7
  39. package/lib/es/components/modules/sort.d.ts +0 -7
  40. package/lib/es/components/modules/summarize/group-by.d.ts +0 -12
  41. package/lib/es/components/modules/summarize/index.d.ts +0 -8
  42. package/lib/es/components/modules/summarize/select-index.d.ts +0 -8
  43. package/lib/es/components/modules/table-data.d.ts +0 -7
  44. package/lib/es/components/modules/union.d.ts +0 -9
  45. package/lib/es/components/popup.d.ts +0 -104
  46. package/lib/es/constants/enum.d.ts +0 -15
  47. package/lib/es/constants/index.d.ts +0 -1
  48. package/lib/es/constants/storageKey.d.ts +0 -1
  49. package/lib/es/css.d.ts +0 -10
  50. package/lib/es/hooks/use-provider.d.ts +0 -11
  51. package/lib/es/hooks/use-state.d.ts +0 -7
  52. package/lib/es/hooks/winsize.d.ts +0 -4
  53. package/lib/es/index.d.ts +0 -15
  54. package/lib/es/index.js +0 -9232
  55. package/lib/es/index.js.map +0 -1
  56. package/lib/es/locale/en.d.ts +0 -2
  57. package/lib/es/locale/index.d.ts +0 -3
  58. package/lib/es/locale/zh.d.ts +0 -2
  59. package/lib/es/sql-formula.d.ts +0 -19
  60. package/lib/es/store/enum.d.ts +0 -56
  61. package/lib/es/store/helper.d.ts +0 -10
  62. package/lib/es/store/types.d.ts +0 -298
  63. package/lib/es/types.d.ts +0 -45
  64. package/lib/es/utils/cookies.d.ts +0 -1
  65. package/lib/es/utils/event.d.ts +0 -20
  66. package/lib/es/utils/helper-dom.d.ts +0 -13
  67. package/lib/es/utils/helper.d.ts +0 -17
  68. package/lib/es/utils/keydown.d.ts +0 -21
  69. package/lib/es/utils/platform.d.ts +0 -12
  70. package/lib/es/utils/selection.d.ts +0 -7
  71. package/lib/es/utils/storage.d.ts +0 -22
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gingkoo/pandora-metabase",
3
- "version": "1.0.0-alpha.26",
3
+ "version": "1.0.0-alpha.27",
4
4
  "description": "",
5
5
  "main": "lib/es/index.js",
6
6
  "module": "lib/es/index.js",
@@ -25,7 +25,7 @@
25
25
  "react-dom": "^17.0.0 || ^18.0.0"
26
26
  },
27
27
  "dependencies": {
28
- "@gingkoo/pandora": "1.1.5",
28
+ "@gingkoo/pandora": "1.1.6",
29
29
  "@gingkoo/pandora-hooks": "1.0.5",
30
30
  "@gingkoo/pandora-icons": "0.0.1-alpha.28",
31
31
  "dayjs": "^1.11.11",
@@ -1,6 +0,0 @@
1
- import './index.less';
2
- declare const Loading: ({ show, msg }: {
3
- show: boolean;
4
- msg?: string;
5
- }) => import("react/jsx-runtime").JSX.Element | null;
6
- export default Loading;
@@ -1,8 +0,0 @@
1
- import * as React from 'react';
2
- interface PropsType {
3
- didUpdate?: Function;
4
- getContainer: Function;
5
- children?: React.ReactNode;
6
- }
7
- declare const Portal: React.ForwardRefExoticComponent<PropsType & React.RefAttributes<unknown>>;
8
- export default Portal;
@@ -1,17 +0,0 @@
1
- import './index.less';
2
- import React from 'react';
3
- interface SplitViewProps {
4
- children: any;
5
- direction?: 'horizontal' | 'vertical';
6
- defaultY?: number;
7
- topY?: number;
8
- bottomY?: number;
9
- topMinH?: number;
10
- bottomMinH?: number;
11
- }
12
- /**
13
- * 先不考虑局部情况,只考虑该组件占据整个浏览器窗口
14
- * @returns React.ReactNode
15
- */
16
- declare const SplitView: React.ForwardRefExoticComponent<SplitViewProps & React.RefAttributes<unknown>>;
17
- export default SplitView;
@@ -1,4 +0,0 @@
1
- import { SQL_COLUMN_TYPE } from '../../store/enum';
2
- export declare const NUMBER_GROUP: SQL_COLUMN_TYPE[];
3
- export declare const STRING_GROUP: SQL_COLUMN_TYPE[];
4
- export declare const DATE_GROUP: SQL_COLUMN_TYPE[];
@@ -1,352 +0,0 @@
1
- export declare const DISPLAY_QUOTES: {
2
- identifierQuoteDefault: string;
3
- literalQuoteDefault: string;
4
- };
5
- export declare const EDITOR_QUOTES: {
6
- characters: {
7
- '[': string;
8
- "'": string;
9
- '"': string;
10
- };
11
- literalQuoteDefault: string;
12
- identifierQuoteDefault: string;
13
- identifierAlwaysQuoted: boolean;
14
- };
15
- export declare const EDITOR_FK_SYMBOLS: {
16
- symbols: string[];
17
- default: string;
18
- };
19
- export declare const OPERATOR_PRECEDENCE: {
20
- not: number;
21
- '*': number;
22
- '/': number;
23
- '+': number;
24
- '-': number;
25
- and: number;
26
- or: number;
27
- };
28
- export declare const EXPRESSION_TYPES: string[];
29
- export declare const EXPRESSION_SUBTYPES: {
30
- expression: Set<string>;
31
- };
32
- export declare const isExpressionType: (typeA: any, typeB: any) => any;
33
- export declare function getFunctionArgType(clause: any, index: any): any;
34
- export declare const MBQL_CLAUSES: {
35
- count: {
36
- displayName: string;
37
- type: string;
38
- args: never[];
39
- };
40
- 'cum-count': {
41
- displayName: string;
42
- type: string;
43
- args: never[];
44
- };
45
- sum: {
46
- displayName: string;
47
- type: string;
48
- args: string[];
49
- };
50
- 'cum-sum': {
51
- displayName: string;
52
- type: string;
53
- args: string[];
54
- };
55
- distinct: {
56
- displayName: string;
57
- type: string;
58
- args: string[];
59
- };
60
- stddev: {
61
- displayName: string;
62
- type: string;
63
- args: string[];
64
- requiresFeature: string;
65
- };
66
- avg: {
67
- displayName: string;
68
- type: string;
69
- args: string[];
70
- };
71
- min: {
72
- displayName: string;
73
- type: string;
74
- args: string[];
75
- };
76
- max: {
77
- displayName: string;
78
- type: string;
79
- args: string[];
80
- };
81
- share: {
82
- displayName: string;
83
- type: string;
84
- args: string[];
85
- };
86
- 'count-where': {
87
- displayName: string;
88
- type: string;
89
- args: string[];
90
- };
91
- 'sum-where': {
92
- displayName: string;
93
- type: string;
94
- args: string[];
95
- };
96
- var: {
97
- displayName: string;
98
- type: string;
99
- args: string[];
100
- requiresFeature: string;
101
- };
102
- median: {
103
- displayName: string;
104
- type: string;
105
- args: string[];
106
- requiresFeature: string;
107
- };
108
- percentile: {
109
- displayName: string;
110
- type: string;
111
- args: string[];
112
- requiresFeature: string;
113
- };
114
- lower: {
115
- displayName: string;
116
- type: string;
117
- args: string[];
118
- };
119
- upper: {
120
- displayName: string;
121
- type: string;
122
- args: string[];
123
- };
124
- substring: {
125
- displayName: string;
126
- type: string;
127
- args: string[];
128
- };
129
- 'regex-match-first': {
130
- displayName: string;
131
- type: string;
132
- args: string[];
133
- requiresFeature: string;
134
- };
135
- concat: {
136
- displayName: string;
137
- type: string;
138
- args: string[];
139
- multiple: boolean;
140
- };
141
- replace: {
142
- displayName: string;
143
- type: string;
144
- args: string[];
145
- };
146
- length: {
147
- displayName: string;
148
- type: string;
149
- args: string[];
150
- };
151
- trim: {
152
- displayName: string;
153
- type: string;
154
- args: string[];
155
- };
156
- rtrim: {
157
- displayName: string;
158
- type: string;
159
- args: string[];
160
- };
161
- ltrim: {
162
- displayName: string;
163
- type: string;
164
- args: string[];
165
- };
166
- abs: {
167
- displayName: string;
168
- type: string;
169
- args: string[];
170
- requiresFeature: string;
171
- };
172
- floor: {
173
- displayName: string;
174
- type: string;
175
- args: string[];
176
- requiresFeature: string;
177
- };
178
- ceil: {
179
- displayName: string;
180
- type: string;
181
- args: string[];
182
- requiresFeature: string;
183
- };
184
- round: {
185
- displayName: string;
186
- type: string;
187
- args: string[];
188
- requiresFeature: string;
189
- };
190
- sqrt: {
191
- displayName: string;
192
- type: string;
193
- args: string[];
194
- requiresFeature: string;
195
- };
196
- power: {
197
- displayName: string;
198
- type: string;
199
- args: string[];
200
- requiresFeature: string;
201
- };
202
- log: {
203
- displayName: string;
204
- type: string;
205
- args: string[];
206
- requiresFeature: string;
207
- };
208
- exp: {
209
- displayName: string;
210
- type: string;
211
- args: string[];
212
- requiresFeature: string;
213
- };
214
- contains: {
215
- displayName: string;
216
- type: string;
217
- args: string[];
218
- hasOptions: boolean;
219
- };
220
- 'starts-with': {
221
- displayName: string;
222
- type: string;
223
- args: string[];
224
- hasOptions: boolean;
225
- };
226
- 'ends-with': {
227
- displayName: string;
228
- type: string;
229
- args: string[];
230
- hasOptions: boolean;
231
- };
232
- between: {
233
- displayName: string;
234
- type: string;
235
- args: string[];
236
- };
237
- 'time-interval': {
238
- displayName: string;
239
- type: string;
240
- args: string[];
241
- };
242
- 'is-null': {
243
- displayName: string;
244
- type: string;
245
- args: string[];
246
- };
247
- 'is-empty': {
248
- displayName: string;
249
- type: string;
250
- args: string[];
251
- };
252
- coalesce: {
253
- displayName: string;
254
- type: string;
255
- args: string[];
256
- multiple: boolean;
257
- };
258
- case: {
259
- displayName: string;
260
- type: string;
261
- args: string[];
262
- multiple: boolean;
263
- };
264
- and: {
265
- displayName: string;
266
- type: string;
267
- args: string[];
268
- };
269
- or: {
270
- displayName: string;
271
- type: string;
272
- args: string[];
273
- };
274
- not: {
275
- displayName: string;
276
- type: string;
277
- args: string[];
278
- };
279
- '*': {
280
- displayName: string;
281
- tokenName: string;
282
- type: string;
283
- args: string[];
284
- };
285
- '/': {
286
- displayName: string;
287
- tokenName: string;
288
- type: string;
289
- args: string[];
290
- };
291
- '-': {
292
- displayName: string;
293
- tokenName: string;
294
- type: string;
295
- args: string[];
296
- };
297
- '+': {
298
- displayName: string;
299
- tokenName: string;
300
- type: string;
301
- args: string[];
302
- };
303
- '!=': {
304
- displayName: string;
305
- tokenName: string;
306
- type: string;
307
- args: string[];
308
- };
309
- '<=': {
310
- displayName: string;
311
- tokenName: string;
312
- type: string;
313
- args: string[];
314
- };
315
- '>=': {
316
- displayName: string;
317
- tokenName: string;
318
- type: string;
319
- args: string[];
320
- };
321
- '<': {
322
- displayName: string;
323
- tokenName: string;
324
- type: string;
325
- args: string[];
326
- };
327
- '>': {
328
- displayName: string;
329
- tokenName: string;
330
- type: string;
331
- args: string[];
332
- };
333
- '=': {
334
- displayName: string;
335
- tokenName: string;
336
- type: string;
337
- args: string[];
338
- };
339
- };
340
- export declare function getExpressionName(mbqlName: any): string | undefined;
341
- export declare function getMBQLName(expressionName: any): string | undefined;
342
- export declare const AGGREGATION_FUNCTIONS: Set<string>;
343
- export declare const EXPRESSION_FUNCTIONS: Set<string>;
344
- export declare const EXPRESSION_OPERATORS: Set<string>;
345
- export declare const FILTER_OPERATORS: Set<string>;
346
- export declare const BOOLEAN_UNARY_OPERATORS: Set<string>;
347
- export declare const LOGICAL_AND_OPERATOR: Set<string>;
348
- export declare const LOGICAL_OR_OPERATOR: Set<string>;
349
- export declare const FUNCTIONS: Set<string>;
350
- export declare const OPERATORS: Set<string>;
351
- export declare const STANDARD_FILTERS: Set<string>;
352
- export declare const STANDARD_AGGREGATIONS: Set<string>;
@@ -1,7 +0,0 @@
1
- import './function-tip.less';
2
- interface PropsType {
3
- funcName: string;
4
- didUpdate?: Function;
5
- }
6
- declare const FunctionTip: ({ funcName }: PropsType) => import("react/jsx-runtime").JSX.Element | null;
7
- export default FunctionTip;
@@ -1,14 +0,0 @@
1
- import './select-list.less';
2
- import { OptionsTypeEnum } from '../expressions/suggest';
3
- export interface ListProps {
4
- type: OptionsTypeEnum;
5
- name: string;
6
- list: string[];
7
- }
8
- export interface PropsType {
9
- data: ListProps[];
10
- onSelect: (type: OptionsTypeEnum, val: string) => any;
11
- didUpdate?: Function;
12
- }
13
- declare const SelectList: ({ data, onSelect }: PropsType) => import("react/jsx-runtime").JSX.Element;
14
- export default SelectList;
@@ -1,9 +0,0 @@
1
- import { MetaData_ColumnsType } from '../../../store/types';
2
- interface PropsType {
3
- store?: any;
4
- data: MetaData_ColumnsType[];
5
- expression: string;
6
- onChange: (formula: string) => void;
7
- }
8
- declare const ExpressionEditor: (props: PropsType) => import("react/jsx-runtime").JSX.Element;
9
- export default ExpressionEditor;
@@ -1,69 +0,0 @@
1
- import { MetaData_ColumnsType } from '../../../../store/types';
2
- import { ListProps } from '../dialog/select-list';
3
- export declare enum OptionsTypeEnum {
4
- FUNCTION = "function",
5
- FIELD = "field",
6
- OPERATOR = "operator",
7
- OTHER = "other"
8
- }
9
- export declare enum SelectPopupTypeEnum {
10
- FUNCTION_DESC = "function_desc",// 弹函数描述提示框
11
- SELECT_LIST = "select_list",// 弹select下拉框
12
- EMPTY = "empty"
13
- }
14
- type SelectPopup = {
15
- type: SelectPopupTypeEnum.SELECT_LIST;
16
- data: ListProps[];
17
- };
18
- type FunctionPopup = {
19
- type: SelectPopupTypeEnum.FUNCTION_DESC;
20
- functionName: string;
21
- };
22
- type VoidPopup = {
23
- type: SelectPopupTypeEnum.EMPTY;
24
- };
25
- export type ChoosePopupResultType = SelectPopup | FunctionPopup | VoidPopup;
26
- interface ChoosePopupType {
27
- source: string;
28
- targetOffset: number;
29
- fields: MetaData_ColumnsType[];
30
- }
31
- declare class Suggest {
32
- /**
33
- * 主要是看光标前面是什么
34
- * 1、主动识别的有
35
- * 1)字段
36
- * ① 光标在[]中间 筛选只能在表字段列表筛选 如果没有匹配 则不显示弹框
37
- * ② 光标在]后面 显示运算符
38
- * ③ 光标在[前面 不用理
39
- * 2)字符串
40
- * ① 光标在字符串中间 筛选 函数、表字段
41
- * ② 光标在字符串后面 如果有匹配同上面① 如果没匹配 则不显示弹框
42
- * ③ 光标在字符串前面 不用理
43
- * 3)函数
44
- * ① 点函数名 筛选 函数、表字段
45
- * ② 函数括号里面 如果光标前面是(,或者后面是)提示函数详情
46
- * ③ 在)后面,显示运算符
47
- * ④ 在函数名前面 不用理会
48
- * 4)括号
49
- * ① 光标在(后面 显示所有函数、表字段
50
- * ① 光标在)后面 显示运算符弹框
51
- * ② 光标在(前面 或者在)前面 都不用理会
52
- * 5)运算符
53
- * ① 光标在前面显示运算符弹框
54
- * ② 光标在后面显示所有函数、表字段
55
- * 6)起点
56
- * ① 显示所有函数、表字段
57
- *
58
- * 2、不识别的有
59
- * 1)"aaa" 双引号字符串里面的 都不提示
60
- * 2)1234 数字里面
61
- * 3)前面包含特殊符号 ! @ ...
62
- *
63
- */
64
- choosePopup({ source, targetOffset, fields }: ChoosePopupType): ChoosePopupResultType;
65
- }
66
- declare const _default: Suggest;
67
- export default _default;
68
- export declare function partialMatch(expression: string): string | null;
69
- export declare function enclosingFunction(expression: string): string | null;
@@ -1,36 +0,0 @@
1
- export declare const TOKEN: {
2
- Operator: number;
3
- Number: number;
4
- String: number;
5
- Identifier: number;
6
- };
7
- export declare const OPERATOR: {
8
- Comma: string;
9
- OpenParenthesis: string;
10
- CloseParenthesis: string;
11
- Plus: string;
12
- Minus: string;
13
- Star: string;
14
- Slash: string;
15
- Equal: string;
16
- NotEqual: string;
17
- LessThan: string;
18
- GreaterThan: string;
19
- LessThanEqual: string;
20
- GreaterThanEqual: string;
21
- Not: string;
22
- And: string;
23
- Or: string;
24
- };
25
- export declare function tokenize(expression: any): {
26
- tokens: {
27
- type: number;
28
- op: any;
29
- start: number;
30
- end: number;
31
- }[];
32
- errors: {
33
- message: any;
34
- pos: number;
35
- }[];
36
- };
@@ -1,10 +0,0 @@
1
- import './index.less';
2
- import { MetaCustom_Item, MetaData_ColumnsType } from '../../../store/types';
3
- interface PropsType {
4
- value: MetaCustom_Item | null;
5
- data: MetaData_ColumnsType[];
6
- onChange: (record: MetaCustom_Item) => void;
7
- onClose: Function;
8
- }
9
- declare const CustomColumn: ({ value, data, onChange, onClose }: PropsType) => import("react/jsx-runtime").JSX.Element;
10
- export default CustomColumn;
@@ -1,11 +0,0 @@
1
- export declare const KEYCODE_SPACE = 0;
2
- export declare const KEYCODE_BACKSPACE = 8;
3
- export declare const KEYCODE_TAB = 9;
4
- export declare const KEYCODE_ENTER = 13;
5
- export declare const KEYCODE_ESCAPE = 27;
6
- export declare const KEYCODE_LEFT = 37;
7
- export declare const KEYCODE_UP = 38;
8
- export declare const KEYCODE_RIGHT = 39;
9
- export declare const KEYCODE_DOWN = 40;
10
- export declare const KEY_COMMA = ",";
11
- export declare const KEYCODE_FORWARD_SLASH = 191;
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import './tokenized-expression.less';
3
- interface PropsType {
4
- startRule: string;
5
- source: string;
6
- }
7
- export default class TokenizedExpression extends React.Component<PropsType> {
8
- render(): import("react/jsx-runtime").JSX.Element;
9
- }
10
- export {};
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- interface PropsType {
3
- forwardedRef?: any;
4
- style: object;
5
- className: string;
6
- value: string;
7
- onFocus: (e?: any) => any;
8
- onBlur: (e?: any) => any;
9
- onChange: (e?: any) => any;
10
- onKeyDown: (e?: any) => any;
11
- onClick: (e?: any) => any;
12
- }
13
- declare const _default: React.ForwardRefExoticComponent<Omit<Omit<PropsType, "forwardedRef"> & {
14
- ref?: any;
15
- }, "ref"> & React.RefAttributes<unknown>>;
16
- export default _default;
@@ -1,43 +0,0 @@
1
- export declare enum OptionsTypeEnum {
2
- CONSTANT = "constant",// 常量
3
- INPUT = "input",// 输入框
4
- FIELD = "field",// 字段
5
- OPERATOR = "operator",// 运算符
6
- EXPRESSION = "expression",// 公式
7
- OTHER = "other"
8
- }
9
- export declare enum FunctionEnum {
10
- LOWER = "lower",
11
- UPPER = "upper",
12
- SUBSTRING = "substring",
13
- REGEX_MATCH_FIRST = "regex-match-first",
14
- 'CONCAT' = "concat",
15
- 'REPLACE' = "replace",
16
- 'TRIM' = "trim",
17
- 'RTRIM' = "RTRIM",
18
- 'LTRIM' = "rtrim",
19
- 'LENGTH' = "length",
20
- 'ABS' = "abs",
21
- 'FLOOR' = "floor",
22
- 'CEIL' = "ceil",
23
- 'ROUND' = "round",
24
- 'SQRT' = "sqrt",
25
- 'POWER' = "power",
26
- 'LOG' = "log",
27
- 'EXP' = "exp",
28
- 'CONTAINS' = "contains",
29
- 'ENDS_WITH' = "ends-with",
30
- 'STARTS_WITH' = "starts-with",
31
- 'BETWEEN' = "between",
32
- 'TIME_INTERVAL' = "time-interval",
33
- 'IS_NULL' = "is-null",
34
- 'IS_EMPTY' = "is-empty",
35
- 'COALESCE' = "coalesce"
36
- }
37
- export declare const operatorList: string[];
38
- export declare const otherList: string[];
39
- export declare const functionList: string[];
40
- export declare const customTypes: {
41
- value: OptionsTypeEnum;
42
- label: any;
43
- }[];
@@ -1,10 +0,0 @@
1
- import './index.less';
2
- import { MetaCustom_Item } from '../../../store/types';
3
- interface PropsType {
4
- value: MetaCustom_Item;
5
- data: any;
6
- onOk: Function;
7
- onCancel: Function;
8
- }
9
- declare const CaseEditor: (props: PropsType) => import("react/jsx-runtime").JSX.Element;
10
- export default CaseEditor;
@@ -1,8 +0,0 @@
1
- /**
2
- *
3
- * @param type 当前选择的类型
4
- * @param list 当前数组
5
- * @param index 需要讲模版插入的位置
6
- * @returns
7
- */
8
- export declare const getTemplate: (type: string, list: any[], index: number) => any[];
@@ -1,8 +0,0 @@
1
- export { default as CustomColumnPopup } from './custom-column/index';
2
- export { default as SelectColumn } from './select-column/index';
3
- export { default as SelectJoinColumn } from './select-join-column/index';
4
- export { default as SelectFilter } from './select-filter/index';
5
- export { default as SelectSummarize } from './select-summarize/index';
6
- export { default as SelectJoin } from './select-join/index';
7
- export { default as SelectTable } from './select-table/index';
8
- export { default as SelectPermissionTable } from './select-permission-table/index';
@@ -1,15 +0,0 @@
1
- /**
2
- * 选择保留哪些表字段
3
- * 谁在用?
4
- * 1、数据模块
5
- * 2、关联模块
6
- */
7
- import './index.less';
8
- import { MetaData_ColumnsType } from '../../../store/types';
9
- interface PropsType {
10
- data: MetaData_ColumnsType[];
11
- groupIndex: number;
12
- onChange: (record: MetaData_ColumnsType[]) => void;
13
- }
14
- declare const SelectColumn: ({ data, groupIndex, onChange }: PropsType) => import("react/jsx-runtime").JSX.Element;
15
- export default SelectColumn;