@nocobase/plugin-data-visualization 2.1.0-beta.10 → 2.1.0-beta.12
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/client/d74f13d1f2300d39.js +47 -0
- package/dist/client/flow/models/ChartBlockModel.d.ts +1 -0
- package/dist/client/flow/models/ChartOptionsBuilder.d.ts +4 -0
- package/dist/client/flow/models/QueryBuilder.d.ts +1 -4
- package/dist/client/flow/resources/ChartResource.d.ts +1 -0
- package/dist/client/index.js +1 -1
- package/dist/externalVersion.js +11 -10
- package/dist/node_modules/koa-compose/package.json +1 -1
- package/dist/node_modules/moment-timezone/package.json +1 -1
- package/dist/server/actions/query.js +46 -9
- package/dist/server/types.d.ts +2 -0
- package/package.json +3 -2
- package/dist/client/40e446571127c019.js +0 -47
- package/dist/client/flow/components/AntdFilterSelector.d.ts +0 -35
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import React from 'react';
|
|
10
|
-
import type { CSSProperties } from 'react';
|
|
11
|
-
import type { VariableFilterItemValue } from '@nocobase/client';
|
|
12
|
-
import type { FlowModel } from '@nocobase/flow-engine';
|
|
13
|
-
type LogicOp = '$and' | '$or';
|
|
14
|
-
export type FilterCondition = VariableFilterItemValue;
|
|
15
|
-
export type FilterGroupValue = {
|
|
16
|
-
logic: LogicOp;
|
|
17
|
-
items: Array<FilterCondition | FilterGroupValue>;
|
|
18
|
-
};
|
|
19
|
-
export interface AntdFilterSelectorProps {
|
|
20
|
-
value?: FilterGroupValue;
|
|
21
|
-
onChange?: (next: FilterGroupValue) => void;
|
|
22
|
-
model: FlowModel;
|
|
23
|
-
rightAsVariable?: boolean;
|
|
24
|
-
collectionPath?: string[];
|
|
25
|
-
className?: string;
|
|
26
|
-
style?: CSSProperties;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* AntdFilterSelector
|
|
30
|
-
* - antd Form.Item 子组件
|
|
31
|
-
* - 内部用响应式对象驱动 FilterGroup/VariableFilterItem
|
|
32
|
-
* - reaction 桥接所有深层变更为 antd 的 onChange
|
|
33
|
-
*/
|
|
34
|
-
export declare const AntdFilterSelector: React.FC<AntdFilterSelectorProps>;
|
|
35
|
-
export default AntdFilterSelector;
|