@nocobase/plugin-data-visualization 2.1.0-alpha.3 → 2.1.0-alpha.30

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 (65) hide show
  1. package/LICENSE +201 -661
  2. package/README.md +79 -10
  3. package/dist/client/102.ae672a174b9de2c5.js +47 -0
  4. package/dist/client/176.0b68fc9582cfe5a3.js +10 -0
  5. package/dist/client/214.6dda3ffed1dca904.js +10 -0
  6. package/dist/client/680.55c8681f2ccb5c51.js +10 -0
  7. package/dist/client/flow/models/ChartBlockModel.d.ts +1 -0
  8. package/dist/client/flow/models/ChartOptionsBuilder.d.ts +4 -0
  9. package/dist/client/flow/models/QueryBuilder.d.ts +1 -4
  10. package/dist/client/flow/resources/ChartResource.d.ts +1 -0
  11. package/dist/client/index.js +1 -1
  12. package/dist/externalVersion.js +13 -12
  13. package/dist/node_modules/koa-compose/index.js +1 -1
  14. package/dist/node_modules/koa-compose/package.json +1 -1
  15. package/dist/server/actions/query.d.ts +2 -4
  16. package/dist/server/actions/query.js +48 -183
  17. package/dist/server/plugin.js +2 -2
  18. package/dist/server/types.d.ts +3 -0
  19. package/package.json +6 -3
  20. package/dist/client/2ba6e739852f8f86.js +0 -10
  21. package/dist/client/8795975cb8946be4.js +0 -10
  22. package/dist/client/924c5f5607998e1c.js +0 -10
  23. package/dist/client/c5d5becd097bd821.js +0 -47
  24. package/dist/client/flow/components/AntdFilterSelector.d.ts +0 -35
  25. package/dist/node_modules/moment-timezone/LICENSE +0 -20
  26. package/dist/node_modules/moment-timezone/builds/moment-timezone-with-data-10-year-range.js +0 -1548
  27. package/dist/node_modules/moment-timezone/builds/moment-timezone-with-data-10-year-range.min.js +0 -1
  28. package/dist/node_modules/moment-timezone/builds/moment-timezone-with-data-1970-2030.js +0 -1548
  29. package/dist/node_modules/moment-timezone/builds/moment-timezone-with-data-1970-2030.min.js +0 -1
  30. package/dist/node_modules/moment-timezone/builds/moment-timezone-with-data-2012-2022.js +0 -1560
  31. package/dist/node_modules/moment-timezone/builds/moment-timezone-with-data-2012-2022.min.js +0 -1
  32. package/dist/node_modules/moment-timezone/builds/moment-timezone-with-data.js +0 -1548
  33. package/dist/node_modules/moment-timezone/builds/moment-timezone-with-data.min.js +0 -1
  34. package/dist/node_modules/moment-timezone/builds/moment-timezone.min.js +0 -1
  35. package/dist/node_modules/moment-timezone/composer.json +0 -43
  36. package/dist/node_modules/moment-timezone/data/meta/latest.json +0 -5889
  37. package/dist/node_modules/moment-timezone/data/packed/latest.json +0 -852
  38. package/dist/node_modules/moment-timezone/index.d.ts +0 -78
  39. package/dist/node_modules/moment-timezone/index.js +0 -15
  40. package/dist/node_modules/moment-timezone/moment-timezone-utils.d.ts +0 -70
  41. package/dist/node_modules/moment-timezone/moment-timezone-utils.js +0 -339
  42. package/dist/node_modules/moment-timezone/moment-timezone.js +0 -696
  43. package/dist/node_modules/moment-timezone/package.json +0 -1
  44. package/dist/server/formatter/formatter.d.ts +0 -27
  45. package/dist/server/formatter/formatter.js +0 -85
  46. package/dist/server/formatter/mysql-formatter.d.ts +0 -14
  47. package/dist/server/formatter/mysql-formatter.js +0 -93
  48. package/dist/server/formatter/oracle-formatter.d.ts +0 -14
  49. package/dist/server/formatter/oracle-formatter.js +0 -74
  50. package/dist/server/formatter/postgres-formatter.d.ts +0 -14
  51. package/dist/server/formatter/postgres-formatter.js +0 -74
  52. package/dist/server/formatter/sqlite-formatter.d.ts +0 -15
  53. package/dist/server/formatter/sqlite-formatter.js +0 -83
  54. package/dist/server/query-parser/index.d.ts +0 -11
  55. package/dist/server/query-parser/index.js +0 -56
  56. package/dist/server/query-parser/mysql-query-parser.d.ts +0 -15
  57. package/dist/server/query-parser/mysql-query-parser.js +0 -43
  58. package/dist/server/query-parser/oracle-query-parser.d.ts +0 -18
  59. package/dist/server/query-parser/oracle-query-parser.js +0 -60
  60. package/dist/server/query-parser/postgres-query-parser.d.ts +0 -15
  61. package/dist/server/query-parser/postgres-query-parser.js +0 -43
  62. package/dist/server/query-parser/query-parser.d.ts +0 -31
  63. package/dist/server/query-parser/query-parser.js +0 -146
  64. package/dist/server/query-parser/sqlite-query-parser.d.ts +0 -15
  65. package/dist/server/query-parser/sqlite-query-parser.js +0 -43
@@ -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;
@@ -1,20 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) JS Foundation and other contributors
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy of
6
- this software and associated documentation files (the "Software"), to deal in
7
- the Software without restriction, including without limitation the rights to
8
- use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9
- the Software, and to permit persons to whom the Software is furnished to do so,
10
- subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17
- FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18
- COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
- IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.