@nocobase/plugin-custom-variables 2.0.3

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 (42) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +99 -0
  3. package/client.d.ts +2 -0
  4. package/client.js +1 -0
  5. package/dist/client/AddVariableButton.d.ts +7 -0
  6. package/dist/client/DrawerDescription.d.ts +10 -0
  7. package/dist/client/EditBadge.d.ts +11 -0
  8. package/dist/client/index.d.ts +13 -0
  9. package/dist/client/index.js +10 -0
  10. package/dist/client/useCustomVariablesOptions.d.ts +5 -0
  11. package/dist/client/variableInitializer.d.ts +8 -0
  12. package/dist/externalVersion.js +22 -0
  13. package/dist/index.d.ts +10 -0
  14. package/dist/index.js +48 -0
  15. package/dist/locale/de-DE.json +36 -0
  16. package/dist/locale/en-US.json +36 -0
  17. package/dist/locale/es-ES.json +36 -0
  18. package/dist/locale/fr-FR.json +36 -0
  19. package/dist/locale/hu-HU.json +36 -0
  20. package/dist/locale/id-ID.json +36 -0
  21. package/dist/locale/index.d.ts +1 -0
  22. package/dist/locale/index.js +36 -0
  23. package/dist/locale/it-IT.json +36 -0
  24. package/dist/locale/ja-JP.json +36 -0
  25. package/dist/locale/ko-KR.json +36 -0
  26. package/dist/locale/nl-NL.json +36 -0
  27. package/dist/locale/pt-BR.json +36 -0
  28. package/dist/locale/ru-RU.json +36 -0
  29. package/dist/locale/tr-TR.json +36 -0
  30. package/dist/locale/uk-UA.json +36 -0
  31. package/dist/locale/vi-VN.json +36 -0
  32. package/dist/locale/zh-CN.json +36 -0
  33. package/dist/locale/zh-TW.json +36 -0
  34. package/dist/server/collections/customVariables.d.ts +10 -0
  35. package/dist/server/collections/customVariables.js +116 -0
  36. package/dist/server/index.d.ts +18 -0
  37. package/dist/server/index.js +124 -0
  38. package/dist/server/parseFilter.d.ts +1 -0
  39. package/dist/server/parseFilter.js +44 -0
  40. package/package.json +29 -0
  41. package/server.d.ts +2 -0
  42. package/server.js +1 -0
@@ -0,0 +1,36 @@
1
+ {
2
+ "Add aggregate variable": "Add aggregate variable",
3
+ "Add variable": "Add variable",
4
+ "Aggregate": "Aggregate",
5
+ "Aggregate variable": "Aggregate variable",
6
+ "Aggregator function": "Aggregator function",
7
+ "Are you sure you want to delete \"{{label}}\" variable?": "Are you sure you want to delete \"{{label}}\" variable?",
8
+ "Background color": "Background color",
9
+ "Badge": "Badge",
10
+ "Create an aggregate variable that performs statistical calculations (COUNT, SUM, AVG, MIN, MAX) on data from a specific collection. You can apply filters to narrow down the data scope and optionally use distinct values for counting operations.": "Create an aggregate variable that performs statistical calculations (COUNT, SUM, AVG, MIN, MAX) on data from a specific collection. You can apply filters to narrow down the data scope and optionally use distinct values for counting operations.",
11
+ "Custom Variables": "Custom Variables",
12
+ "Data of collection": "Data of collection",
13
+ "Default": "Default",
14
+ "Delete": "Delete",
15
+ "Delete Variable": "Delete Variable",
16
+ "Distinct": "Distinct",
17
+ "Edit": "Edit",
18
+ "Edit aggregate variable": "Edit aggregate variable",
19
+ "Edit badge": "Edit badge",
20
+ "Field to aggregate": "Field to aggregate",
21
+ "Max number": "Max number",
22
+ "Maximum number to display when the badge is a number": "Maximum number to display when the badge is a number",
23
+ "No": "No",
24
+ "Number of decimal places for query result.": "Number of decimal places for query result.",
25
+ "Result precision": "Result precision",
26
+ "Show zero": "Show zero",
27
+ "Size": "Size",
28
+ "Small": "Small",
29
+ "Syntax references: ": "Syntax references: ",
30
+ "Text color": "Text color",
31
+ "Variable name": "Variable name",
32
+ "Variable type": "Variable type",
33
+ "Whether to show the badge when it is a number and the number is 0": "Whether to show the badge when it is a number and the number is 0",
34
+ "Yes": "Yes",
35
+ "You can enter numbers, text, variables, aggregation variables, expressions, etc.": "You can enter numbers, text, variables, aggregation variables, expressions, etc."
36
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "Add aggregate variable": "Add aggregate variable",
3
+ "Add variable": "Add variable",
4
+ "Aggregate": "Aggregate",
5
+ "Aggregate variable": "Aggregate variable",
6
+ "Aggregator function": "Aggregator function",
7
+ "Are you sure you want to delete \"{{label}}\" variable?": "Are you sure you want to delete \"{{label}}\" variable?",
8
+ "Background color": "Background color",
9
+ "Badge": "Badge",
10
+ "Create an aggregate variable that performs statistical calculations (COUNT, SUM, AVG, MIN, MAX) on data from a specific collection. You can apply filters to narrow down the data scope and optionally use distinct values for counting operations.": "Create an aggregate variable that performs statistical calculations (COUNT, SUM, AVG, MIN, MAX) on data from a specific collection. You can apply filters to narrow down the data scope and optionally use distinct values for counting operations.",
11
+ "Custom Variables": "Custom Variables",
12
+ "Data of collection": "Data of collection",
13
+ "Default": "Default",
14
+ "Delete": "Delete",
15
+ "Delete Variable": "Delete Variable",
16
+ "Distinct": "Distinct",
17
+ "Edit": "Edit",
18
+ "Edit aggregate variable": "Edit aggregate variable",
19
+ "Edit badge": "Edit badge",
20
+ "Field to aggregate": "Field to aggregate",
21
+ "Max number": "Max number",
22
+ "Maximum number to display when the badge is a number": "Maximum number to display when the badge is a number",
23
+ "No": "No",
24
+ "Number of decimal places for query result.": "Number of decimal places for query result.",
25
+ "Result precision": "Result precision",
26
+ "Show zero": "Show zero",
27
+ "Size": "Size",
28
+ "Small": "Small",
29
+ "Syntax references: ": "Syntax references: ",
30
+ "Text color": "Text color",
31
+ "Variable name": "Variable name",
32
+ "Variable type": "Variable type",
33
+ "Whether to show the badge when it is a number and the number is 0": "Whether to show the badge when it is a number and the number is 0",
34
+ "Yes": "Yes",
35
+ "You can enter numbers, text, variables, aggregation variables, expressions, etc.": "You can enter numbers, text, variables, aggregation variables, expressions, etc."
36
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "Add aggregate variable": "Add aggregate variable",
3
+ "Add variable": "Add variable",
4
+ "Aggregate": "Aggregate",
5
+ "Aggregate variable": "Aggregate variable",
6
+ "Aggregator function": "Aggregator function",
7
+ "Are you sure you want to delete \"{{label}}\" variable?": "Are you sure you want to delete \"{{label}}\" variable?",
8
+ "Background color": "Background color",
9
+ "Badge": "Badge",
10
+ "Create an aggregate variable that performs statistical calculations (COUNT, SUM, AVG, MIN, MAX) on data from a specific collection. You can apply filters to narrow down the data scope and optionally use distinct values for counting operations.": "Create an aggregate variable that performs statistical calculations (COUNT, SUM, AVG, MIN, MAX) on data from a specific collection. You can apply filters to narrow down the data scope and optionally use distinct values for counting operations.",
11
+ "Custom Variables": "Custom Variables",
12
+ "Data of collection": "Data of collection",
13
+ "Default": "Default",
14
+ "Delete": "Delete",
15
+ "Delete Variable": "Delete Variable",
16
+ "Distinct": "Distinct",
17
+ "Edit": "Edit",
18
+ "Edit aggregate variable": "Edit aggregate variable",
19
+ "Edit badge": "Edit badge",
20
+ "Field to aggregate": "Field to aggregate",
21
+ "Max number": "Max number",
22
+ "Maximum number to display when the badge is a number": "Maximum number to display when the badge is a number",
23
+ "No": "No",
24
+ "Number of decimal places for query result.": "Number of decimal places for query result.",
25
+ "Result precision": "Result precision",
26
+ "Show zero": "Show zero",
27
+ "Size": "Size",
28
+ "Small": "Small",
29
+ "Syntax references: ": "Syntax references: ",
30
+ "Text color": "Text color",
31
+ "Variable name": "Variable name",
32
+ "Variable type": "Variable type",
33
+ "Whether to show the badge when it is a number and the number is 0": "Whether to show the badge when it is a number and the number is 0",
34
+ "Yes": "Yes",
35
+ "You can enter numbers, text, variables, aggregation variables, expressions, etc.": "You can enter numbers, text, variables, aggregation variables, expressions, etc."
36
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "Add aggregate variable": "Add aggregate variable",
3
+ "Add variable": "Add variable",
4
+ "Aggregate": "Aggregate",
5
+ "Aggregate variable": "Aggregate variable",
6
+ "Aggregator function": "Aggregator function",
7
+ "Are you sure you want to delete \"{{label}}\" variable?": "Are you sure you want to delete \"{{label}}\" variable?",
8
+ "Background color": "Background color",
9
+ "Badge": "Badge",
10
+ "Create an aggregate variable that performs statistical calculations (COUNT, SUM, AVG, MIN, MAX) on data from a specific collection. You can apply filters to narrow down the data scope and optionally use distinct values for counting operations.": "Create an aggregate variable that performs statistical calculations (COUNT, SUM, AVG, MIN, MAX) on data from a specific collection. You can apply filters to narrow down the data scope and optionally use distinct values for counting operations.",
11
+ "Custom Variables": "Custom Variables",
12
+ "Data of collection": "Data of collection",
13
+ "Default": "Default",
14
+ "Delete": "Delete",
15
+ "Delete Variable": "Delete Variable",
16
+ "Distinct": "Distinct",
17
+ "Edit": "Edit",
18
+ "Edit aggregate variable": "Edit aggregate variable",
19
+ "Edit badge": "Edit badge",
20
+ "Field to aggregate": "Field to aggregate",
21
+ "Max number": "Max number",
22
+ "Maximum number to display when the badge is a number": "Maximum number to display when the badge is a number",
23
+ "No": "No",
24
+ "Number of decimal places for query result.": "Number of decimal places for query result.",
25
+ "Result precision": "Result precision",
26
+ "Show zero": "Show zero",
27
+ "Size": "Size",
28
+ "Small": "Small",
29
+ "Syntax references: ": "Syntax references: ",
30
+ "Text color": "Text color",
31
+ "Variable name": "Variable name",
32
+ "Variable type": "Variable type",
33
+ "Whether to show the badge when it is a number and the number is 0": "Whether to show the badge when it is a number and the number is 0",
34
+ "Yes": "Yes",
35
+ "You can enter numbers, text, variables, aggregation variables, expressions, etc.": "You can enter numbers, text, variables, aggregation variables, expressions, etc."
36
+ }
@@ -0,0 +1 @@
1
+ export declare const NAMESPACE = "custom-variables";
@@ -0,0 +1,36 @@
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
+
10
+ var __defProp = Object.defineProperty;
11
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
12
+ var __getOwnPropNames = Object.getOwnPropertyNames;
13
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
14
+ var __export = (target, all) => {
15
+ for (var name in all)
16
+ __defProp(target, name, { get: all[name], enumerable: true });
17
+ };
18
+ var __copyProps = (to, from, except, desc) => {
19
+ if (from && typeof from === "object" || typeof from === "function") {
20
+ for (let key of __getOwnPropNames(from))
21
+ if (!__hasOwnProp.call(to, key) && key !== except)
22
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
23
+ }
24
+ return to;
25
+ };
26
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
27
+ var locale_exports = {};
28
+ __export(locale_exports, {
29
+ NAMESPACE: () => NAMESPACE
30
+ });
31
+ module.exports = __toCommonJS(locale_exports);
32
+ const NAMESPACE = "custom-variables";
33
+ // Annotate the CommonJS export names for ESM import in node:
34
+ 0 && (module.exports = {
35
+ NAMESPACE
36
+ });
@@ -0,0 +1,36 @@
1
+ {
2
+ "Add aggregate variable": "Add aggregate variable",
3
+ "Add variable": "Add variable",
4
+ "Aggregate": "Aggregate",
5
+ "Aggregate variable": "Aggregate variable",
6
+ "Aggregator function": "Aggregator function",
7
+ "Are you sure you want to delete \"{{label}}\" variable?": "Are you sure you want to delete \"{{label}}\" variable?",
8
+ "Background color": "Background color",
9
+ "Badge": "Badge",
10
+ "Create an aggregate variable that performs statistical calculations (COUNT, SUM, AVG, MIN, MAX) on data from a specific collection. You can apply filters to narrow down the data scope and optionally use distinct values for counting operations.": "Create an aggregate variable that performs statistical calculations (COUNT, SUM, AVG, MIN, MAX) on data from a specific collection. You can apply filters to narrow down the data scope and optionally use distinct values for counting operations.",
11
+ "Custom Variables": "Custom Variables",
12
+ "Data of collection": "Data of collection",
13
+ "Default": "Default",
14
+ "Delete": "Delete",
15
+ "Delete Variable": "Delete Variable",
16
+ "Distinct": "Distinct",
17
+ "Edit": "Edit",
18
+ "Edit aggregate variable": "Edit aggregate variable",
19
+ "Edit badge": "Edit badge",
20
+ "Field to aggregate": "Field to aggregate",
21
+ "Max number": "Max number",
22
+ "Maximum number to display when the badge is a number": "Maximum number to display when the badge is a number",
23
+ "No": "No",
24
+ "Number of decimal places for query result.": "Number of decimal places for query result.",
25
+ "Result precision": "Result precision",
26
+ "Show zero": "Show zero",
27
+ "Size": "Size",
28
+ "Small": "Small",
29
+ "Syntax references: ": "Syntax references: ",
30
+ "Text color": "Text color",
31
+ "Variable name": "Variable name",
32
+ "Variable type": "Variable type",
33
+ "Whether to show the badge when it is a number and the number is 0": "Whether to show the badge when it is a number and the number is 0",
34
+ "Yes": "Yes",
35
+ "You can enter numbers, text, variables, aggregation variables, expressions, etc.": "You can enter numbers, text, variables, aggregation variables, expressions, etc."
36
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "Add aggregate variable": "Add aggregate variable",
3
+ "Add variable": "Add variable",
4
+ "Aggregate": "Aggregate",
5
+ "Aggregate variable": "Aggregate variable",
6
+ "Aggregator function": "Aggregator function",
7
+ "Are you sure you want to delete \"{{label}}\" variable?": "Are you sure you want to delete \"{{label}}\" variable?",
8
+ "Background color": "Background color",
9
+ "Badge": "Badge",
10
+ "Create an aggregate variable that performs statistical calculations (COUNT, SUM, AVG, MIN, MAX) on data from a specific collection. You can apply filters to narrow down the data scope and optionally use distinct values for counting operations.": "Create an aggregate variable that performs statistical calculations (COUNT, SUM, AVG, MIN, MAX) on data from a specific collection. You can apply filters to narrow down the data scope and optionally use distinct values for counting operations.",
11
+ "Custom Variables": "Custom Variables",
12
+ "Data of collection": "Data of collection",
13
+ "Default": "Default",
14
+ "Delete": "Delete",
15
+ "Delete Variable": "Delete Variable",
16
+ "Distinct": "Distinct",
17
+ "Edit": "Edit",
18
+ "Edit aggregate variable": "Edit aggregate variable",
19
+ "Edit badge": "Edit badge",
20
+ "Field to aggregate": "Field to aggregate",
21
+ "Max number": "Max number",
22
+ "Maximum number to display when the badge is a number": "Maximum number to display when the badge is a number",
23
+ "No": "No",
24
+ "Number of decimal places for query result.": "Number of decimal places for query result.",
25
+ "Result precision": "Result precision",
26
+ "Show zero": "Show zero",
27
+ "Size": "Size",
28
+ "Small": "Small",
29
+ "Syntax references: ": "Syntax references: ",
30
+ "Text color": "Text color",
31
+ "Variable name": "Variable name",
32
+ "Variable type": "Variable type",
33
+ "Whether to show the badge when it is a number and the number is 0": "Whether to show the badge when it is a number and the number is 0",
34
+ "Yes": "Yes",
35
+ "You can enter numbers, text, variables, aggregation variables, expressions, etc.": "You can enter numbers, text, variables, aggregation variables, expressions, etc."
36
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "Add aggregate variable": "Add aggregate variable",
3
+ "Add variable": "Add variable",
4
+ "Aggregate": "Aggregate",
5
+ "Aggregate variable": "Aggregate variable",
6
+ "Aggregator function": "Aggregator function",
7
+ "Are you sure you want to delete \"{{label}}\" variable?": "Are you sure you want to delete \"{{label}}\" variable?",
8
+ "Background color": "Background color",
9
+ "Badge": "Badge",
10
+ "Create an aggregate variable that performs statistical calculations (COUNT, SUM, AVG, MIN, MAX) on data from a specific collection. You can apply filters to narrow down the data scope and optionally use distinct values for counting operations.": "Create an aggregate variable that performs statistical calculations (COUNT, SUM, AVG, MIN, MAX) on data from a specific collection. You can apply filters to narrow down the data scope and optionally use distinct values for counting operations.",
11
+ "Custom Variables": "Custom Variables",
12
+ "Data of collection": "Data of collection",
13
+ "Default": "Default",
14
+ "Delete": "Delete",
15
+ "Delete Variable": "Delete Variable",
16
+ "Distinct": "Distinct",
17
+ "Edit": "Edit",
18
+ "Edit aggregate variable": "Edit aggregate variable",
19
+ "Edit badge": "Edit badge",
20
+ "Field to aggregate": "Field to aggregate",
21
+ "Max number": "Max number",
22
+ "Maximum number to display when the badge is a number": "Maximum number to display when the badge is a number",
23
+ "No": "No",
24
+ "Number of decimal places for query result.": "Number of decimal places for query result.",
25
+ "Result precision": "Result precision",
26
+ "Show zero": "Show zero",
27
+ "Size": "Size",
28
+ "Small": "Small",
29
+ "Syntax references: ": "Syntax references: ",
30
+ "Text color": "Text color",
31
+ "Variable name": "Variable name",
32
+ "Variable type": "Variable type",
33
+ "Whether to show the badge when it is a number and the number is 0": "Whether to show the badge when it is a number and the number is 0",
34
+ "Yes": "Yes",
35
+ "You can enter numbers, text, variables, aggregation variables, expressions, etc.": "You can enter numbers, text, variables, aggregation variables, expressions, etc."
36
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "Add aggregate variable": "Add aggregate variable",
3
+ "Add variable": "Add variable",
4
+ "Aggregate": "Aggregate",
5
+ "Aggregate variable": "Aggregate variable",
6
+ "Aggregator function": "Aggregator function",
7
+ "Are you sure you want to delete \"{{label}}\" variable?": "Are you sure you want to delete \"{{label}}\" variable?",
8
+ "Background color": "Background color",
9
+ "Badge": "Badge",
10
+ "Create an aggregate variable that performs statistical calculations (COUNT, SUM, AVG, MIN, MAX) on data from a specific collection. You can apply filters to narrow down the data scope and optionally use distinct values for counting operations.": "Create an aggregate variable that performs statistical calculations (COUNT, SUM, AVG, MIN, MAX) on data from a specific collection. You can apply filters to narrow down the data scope and optionally use distinct values for counting operations.",
11
+ "Custom Variables": "Custom Variables",
12
+ "Data of collection": "Data of collection",
13
+ "Default": "Default",
14
+ "Delete": "Delete",
15
+ "Delete Variable": "Delete Variable",
16
+ "Distinct": "Distinct",
17
+ "Edit": "Edit",
18
+ "Edit aggregate variable": "Edit aggregate variable",
19
+ "Edit badge": "Edit badge",
20
+ "Field to aggregate": "Field to aggregate",
21
+ "Max number": "Max number",
22
+ "Maximum number to display when the badge is a number": "Maximum number to display when the badge is a number",
23
+ "No": "No",
24
+ "Number of decimal places for query result.": "Number of decimal places for query result.",
25
+ "Result precision": "Result precision",
26
+ "Show zero": "Show zero",
27
+ "Size": "Size",
28
+ "Small": "Small",
29
+ "Syntax references: ": "Syntax references: ",
30
+ "Text color": "Text color",
31
+ "Variable name": "Variable name",
32
+ "Variable type": "Variable type",
33
+ "Whether to show the badge when it is a number and the number is 0": "Whether to show the badge when it is a number and the number is 0",
34
+ "Yes": "Yes",
35
+ "You can enter numbers, text, variables, aggregation variables, expressions, etc.": "You can enter numbers, text, variables, aggregation variables, expressions, etc."
36
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "Add aggregate variable": "Add aggregate variable",
3
+ "Add variable": "Add variable",
4
+ "Aggregate": "Aggregate",
5
+ "Aggregate variable": "Aggregate variable",
6
+ "Aggregator function": "Aggregator function",
7
+ "Are you sure you want to delete \"{{label}}\" variable?": "Are you sure you want to delete \"{{label}}\" variable?",
8
+ "Background color": "Background color",
9
+ "Badge": "Badge",
10
+ "Create an aggregate variable that performs statistical calculations (COUNT, SUM, AVG, MIN, MAX) on data from a specific collection. You can apply filters to narrow down the data scope and optionally use distinct values for counting operations.": "Create an aggregate variable that performs statistical calculations (COUNT, SUM, AVG, MIN, MAX) on data from a specific collection. You can apply filters to narrow down the data scope and optionally use distinct values for counting operations.",
11
+ "Custom Variables": "Custom Variables",
12
+ "Data of collection": "Data of collection",
13
+ "Default": "Default",
14
+ "Delete": "Delete",
15
+ "Delete Variable": "Delete Variable",
16
+ "Distinct": "Distinct",
17
+ "Edit": "Edit",
18
+ "Edit aggregate variable": "Edit aggregate variable",
19
+ "Edit badge": "Edit badge",
20
+ "Field to aggregate": "Field to aggregate",
21
+ "Max number": "Max number",
22
+ "Maximum number to display when the badge is a number": "Maximum number to display when the badge is a number",
23
+ "No": "No",
24
+ "Number of decimal places for query result.": "Number of decimal places for query result.",
25
+ "Result precision": "Result precision",
26
+ "Show zero": "Show zero",
27
+ "Size": "Size",
28
+ "Small": "Small",
29
+ "Syntax references: ": "Syntax references: ",
30
+ "Text color": "Text color",
31
+ "Variable name": "Variable name",
32
+ "Variable type": "Variable type",
33
+ "Whether to show the badge when it is a number and the number is 0": "Whether to show the badge when it is a number and the number is 0",
34
+ "Yes": "Yes",
35
+ "You can enter numbers, text, variables, aggregation variables, expressions, etc.": "You can enter numbers, text, variables, aggregation variables, expressions, etc."
36
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "Add aggregate variable": "Add aggregate variable",
3
+ "Add variable": "Add variable",
4
+ "Aggregate": "Aggregate",
5
+ "Aggregate variable": "Aggregate variable",
6
+ "Aggregator function": "Aggregator function",
7
+ "Are you sure you want to delete \"{{label}}\" variable?": "Are you sure you want to delete \"{{label}}\" variable?",
8
+ "Background color": "Background color",
9
+ "Badge": "Badge",
10
+ "Create an aggregate variable that performs statistical calculations (COUNT, SUM, AVG, MIN, MAX) on data from a specific collection. You can apply filters to narrow down the data scope and optionally use distinct values for counting operations.": "Create an aggregate variable that performs statistical calculations (COUNT, SUM, AVG, MIN, MAX) on data from a specific collection. You can apply filters to narrow down the data scope and optionally use distinct values for counting operations.",
11
+ "Custom Variables": "Custom Variables",
12
+ "Data of collection": "Data of collection",
13
+ "Default": "Default",
14
+ "Delete": "Delete",
15
+ "Delete Variable": "Delete Variable",
16
+ "Distinct": "Distinct",
17
+ "Edit": "Edit",
18
+ "Edit aggregate variable": "Edit aggregate variable",
19
+ "Edit badge": "Edit badge",
20
+ "Field to aggregate": "Field to aggregate",
21
+ "Max number": "Max number",
22
+ "Maximum number to display when the badge is a number": "Maximum number to display when the badge is a number",
23
+ "No": "No",
24
+ "Number of decimal places for query result.": "Number of decimal places for query result.",
25
+ "Result precision": "Result precision",
26
+ "Show zero": "Show zero",
27
+ "Size": "Size",
28
+ "Small": "Small",
29
+ "Syntax references: ": "Syntax references: ",
30
+ "Text color": "Text color",
31
+ "Variable name": "Variable name",
32
+ "Variable type": "Variable type",
33
+ "Whether to show the badge when it is a number and the number is 0": "Whether to show the badge when it is a number and the number is 0",
34
+ "Yes": "Yes",
35
+ "You can enter numbers, text, variables, aggregation variables, expressions, etc.": "You can enter numbers, text, variables, aggregation variables, expressions, etc."
36
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "Add aggregate variable": "Add aggregate variable",
3
+ "Add variable": "Add variable",
4
+ "Aggregate": "Aggregate",
5
+ "Aggregate variable": "Aggregate variable",
6
+ "Aggregator function": "Aggregator function",
7
+ "Are you sure you want to delete \"{{label}}\" variable?": "Are you sure you want to delete \"{{label}}\" variable?",
8
+ "Background color": "Background color",
9
+ "Badge": "Badge",
10
+ "Create an aggregate variable that performs statistical calculations (COUNT, SUM, AVG, MIN, MAX) on data from a specific collection. You can apply filters to narrow down the data scope and optionally use distinct values for counting operations.": "Create an aggregate variable that performs statistical calculations (COUNT, SUM, AVG, MIN, MAX) on data from a specific collection. You can apply filters to narrow down the data scope and optionally use distinct values for counting operations.",
11
+ "Custom Variables": "Custom Variables",
12
+ "Data of collection": "Data of collection",
13
+ "Default": "Default",
14
+ "Delete": "Delete",
15
+ "Delete Variable": "Delete Variable",
16
+ "Distinct": "Distinct",
17
+ "Edit": "Edit",
18
+ "Edit aggregate variable": "Edit aggregate variable",
19
+ "Edit badge": "Edit badge",
20
+ "Field to aggregate": "Field to aggregate",
21
+ "Max number": "Max number",
22
+ "Maximum number to display when the badge is a number": "Maximum number to display when the badge is a number",
23
+ "No": "No",
24
+ "Number of decimal places for query result.": "Number of decimal places for query result.",
25
+ "Result precision": "Result precision",
26
+ "Show zero": "Show zero",
27
+ "Size": "Size",
28
+ "Small": "Small",
29
+ "Syntax references: ": "Syntax references: ",
30
+ "Text color": "Text color",
31
+ "Variable name": "Variable name",
32
+ "Variable type": "Variable type",
33
+ "Whether to show the badge when it is a number and the number is 0": "Whether to show the badge when it is a number and the number is 0",
34
+ "Yes": "Yes",
35
+ "You can enter numbers, text, variables, aggregation variables, expressions, etc.": "You can enter numbers, text, variables, aggregation variables, expressions, etc."
36
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "Add aggregate variable": "Add aggregate variable",
3
+ "Add variable": "Add variable",
4
+ "Aggregate": "Aggregate",
5
+ "Aggregate variable": "Aggregate variable",
6
+ "Aggregator function": "Aggregator function",
7
+ "Are you sure you want to delete \"{{label}}\" variable?": "Are you sure you want to delete \"{{label}}\" variable?",
8
+ "Background color": "Background color",
9
+ "Badge": "Badge",
10
+ "Create an aggregate variable that performs statistical calculations (COUNT, SUM, AVG, MIN, MAX) on data from a specific collection. You can apply filters to narrow down the data scope and optionally use distinct values for counting operations.": "Create an aggregate variable that performs statistical calculations (COUNT, SUM, AVG, MIN, MAX) on data from a specific collection. You can apply filters to narrow down the data scope and optionally use distinct values for counting operations.",
11
+ "Custom Variables": "Custom Variables",
12
+ "Data of collection": "Data of collection",
13
+ "Default": "Default",
14
+ "Delete": "Delete",
15
+ "Delete Variable": "Delete Variable",
16
+ "Distinct": "Distinct",
17
+ "Edit": "Edit",
18
+ "Edit aggregate variable": "Edit aggregate variable",
19
+ "Edit badge": "Edit badge",
20
+ "Field to aggregate": "Field to aggregate",
21
+ "Max number": "Max number",
22
+ "Maximum number to display when the badge is a number": "Maximum number to display when the badge is a number",
23
+ "No": "No",
24
+ "Number of decimal places for query result.": "Number of decimal places for query result.",
25
+ "Result precision": "Result precision",
26
+ "Show zero": "Show zero",
27
+ "Size": "Size",
28
+ "Small": "Small",
29
+ "Syntax references: ": "Syntax references: ",
30
+ "Text color": "Text color",
31
+ "Variable name": "Variable name",
32
+ "Variable type": "Variable type",
33
+ "Whether to show the badge when it is a number and the number is 0": "Whether to show the badge when it is a number and the number is 0",
34
+ "Yes": "Yes",
35
+ "You can enter numbers, text, variables, aggregation variables, expressions, etc.": "You can enter numbers, text, variables, aggregation variables, expressions, etc."
36
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "Add aggregate variable": "Add aggregate variable",
3
+ "Add variable": "Add variable",
4
+ "Aggregate": "Aggregate",
5
+ "Aggregate variable": "Aggregate variable",
6
+ "Aggregator function": "Aggregator function",
7
+ "Are you sure you want to delete \"{{label}}\" variable?": "Are you sure you want to delete \"{{label}}\" variable?",
8
+ "Background color": "Background color",
9
+ "Badge": "Badge",
10
+ "Create an aggregate variable that performs statistical calculations (COUNT, SUM, AVG, MIN, MAX) on data from a specific collection. You can apply filters to narrow down the data scope and optionally use distinct values for counting operations.": "Create an aggregate variable that performs statistical calculations (COUNT, SUM, AVG, MIN, MAX) on data from a specific collection. You can apply filters to narrow down the data scope and optionally use distinct values for counting operations.",
11
+ "Custom Variables": "Custom Variables",
12
+ "Data of collection": "Data of collection",
13
+ "Default": "Default",
14
+ "Delete": "Delete",
15
+ "Delete Variable": "Delete Variable",
16
+ "Distinct": "Distinct",
17
+ "Edit": "Edit",
18
+ "Edit aggregate variable": "Edit aggregate variable",
19
+ "Edit badge": "Edit badge",
20
+ "Field to aggregate": "Field to aggregate",
21
+ "Max number": "Max number",
22
+ "Maximum number to display when the badge is a number": "Maximum number to display when the badge is a number",
23
+ "No": "No",
24
+ "Number of decimal places for query result.": "Number of decimal places for query result.",
25
+ "Result precision": "Result precision",
26
+ "Show zero": "Show zero",
27
+ "Size": "Size",
28
+ "Small": "Small",
29
+ "Syntax references: ": "Syntax references: ",
30
+ "Text color": "Text color",
31
+ "Variable name": "Variable name",
32
+ "Variable type": "Variable type",
33
+ "Whether to show the badge when it is a number and the number is 0": "Whether to show the badge when it is a number and the number is 0",
34
+ "Yes": "Yes",
35
+ "You can enter numbers, text, variables, aggregation variables, expressions, etc.": "You can enter numbers, text, variables, aggregation variables, expressions, etc."
36
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "Add aggregate variable": "添加聚合变量",
3
+ "Add variable": "添加变量",
4
+ "Aggregate": "聚合",
5
+ "Aggregate variable": "聚合变量",
6
+ "Aggregator function": "聚合函数",
7
+ "Are you sure you want to delete \"{{label}}\" variable?": "确定要删除 \"{{label}}\" 变量吗?",
8
+ "Background color": "背景颜色",
9
+ "Badge": "徽章",
10
+ "Create an aggregate variable that performs statistical calculations (COUNT, SUM, AVG, MIN, MAX) on data from a specific collection. You can apply filters to narrow down the data scope and optionally use distinct values for counting operations.": "创建一个聚合变量,对特定集合的数据执行统计计算(COUNT、SUM、AVG、MIN、MAX)。您可以应用过滤器来缩小数据范围,并可选择使用去重值进行计数操作。",
11
+ "Custom Variables": "自定义变量",
12
+ "Data of collection": "数据表数据",
13
+ "Default": "默认",
14
+ "Delete": "删除",
15
+ "Delete Variable": "删除变量",
16
+ "Distinct": "去重",
17
+ "Edit": "编辑",
18
+ "Edit aggregate variable": "编辑聚合变量",
19
+ "Edit badge": "编辑徽章",
20
+ "Field to aggregate": "聚合字段",
21
+ "Max number": "最大数字",
22
+ "Maximum number to display when the badge is a number": "当徽章是数字时显示的最大数字",
23
+ "No": "否",
24
+ "Number of decimal places for query result.": "查询结果的小数位数。",
25
+ "Result precision": "结果精度",
26
+ "Show zero": "显示零",
27
+ "Size": "大小",
28
+ "Small": "小",
29
+ "Syntax references: ": "语法参考:",
30
+ "Text color": "文本颜色",
31
+ "Variable name": "变量名称",
32
+ "Variable type": "变量类型",
33
+ "Whether to show the badge when it is a number and the number is 0": "当徽章是数字且数字为 0 时是否显示徽章",
34
+ "Yes": "是",
35
+ "You can enter numbers, text, variables, aggregation variables, expressions, etc.": "可以输入数字、文本、变量、聚合变量、表达式等。"
36
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "Add aggregate variable": "Add aggregate variable",
3
+ "Add variable": "Add variable",
4
+ "Aggregate": "Aggregate",
5
+ "Aggregate variable": "Aggregate variable",
6
+ "Aggregator function": "Aggregator function",
7
+ "Are you sure you want to delete \"{{label}}\" variable?": "Are you sure you want to delete \"{{label}}\" variable?",
8
+ "Background color": "Background color",
9
+ "Badge": "Badge",
10
+ "Create an aggregate variable that performs statistical calculations (COUNT, SUM, AVG, MIN, MAX) on data from a specific collection. You can apply filters to narrow down the data scope and optionally use distinct values for counting operations.": "Create an aggregate variable that performs statistical calculations (COUNT, SUM, AVG, MIN, MAX) on data from a specific collection. You can apply filters to narrow down the data scope and optionally use distinct values for counting operations.",
11
+ "Custom Variables": "Custom Variables",
12
+ "Data of collection": "Data of collection",
13
+ "Default": "Default",
14
+ "Delete": "Delete",
15
+ "Delete Variable": "Delete Variable",
16
+ "Distinct": "Distinct",
17
+ "Edit": "Edit",
18
+ "Edit aggregate variable": "Edit aggregate variable",
19
+ "Edit badge": "Edit badge",
20
+ "Field to aggregate": "Field to aggregate",
21
+ "Max number": "Max number",
22
+ "Maximum number to display when the badge is a number": "Maximum number to display when the badge is a number",
23
+ "No": "No",
24
+ "Number of decimal places for query result.": "Number of decimal places for query result.",
25
+ "Result precision": "Result precision",
26
+ "Show zero": "Show zero",
27
+ "Size": "Size",
28
+ "Small": "Small",
29
+ "Syntax references: ": "Syntax references: ",
30
+ "Text color": "Text color",
31
+ "Variable name": "Variable name",
32
+ "Variable type": "Variable type",
33
+ "Whether to show the badge when it is a number and the number is 0": "Whether to show the badge when it is a number and the number is 0",
34
+ "Yes": "Yes",
35
+ "You can enter numbers, text, variables, aggregation variables, expressions, etc.": "You can enter numbers, text, variables, aggregation variables, expressions, etc."
36
+ }
@@ -0,0 +1,10 @@
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
+ declare const _default: import("@nocobase/database").CollectionOptions;
10
+ export default _default;