@nocobase/plugin-data-visualization 2.1.0-beta.11 → 2.1.0-beta.13

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.
@@ -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;