@qrvey/utils 1.16.0-0 → 1.16.0-1

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 (19) hide show
  1. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderCreateModal.d.ts +2 -0
  2. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionsType.d.ts +1 -0
  3. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderListModal.d.ts +5 -0
  4. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderV2FunctionAggregate.d.ts +5 -0
  5. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderV2FunctionAggregate.js +2 -0
  6. package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderV2Functions.d.ts +8 -0
  7. package/dist/cjs/globalization/interfaces/formula_builder/index.d.ts +3 -0
  8. package/dist/cjs/globalization/interfaces/formula_builder/index.js +3 -0
  9. package/dist/cjs/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.js +50 -0
  10. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderCreateModal.d.ts +2 -0
  11. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderFunctionsType.d.ts +1 -0
  12. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderListModal.d.ts +5 -0
  13. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderV2FunctionAggregate.d.ts +5 -0
  14. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderV2FunctionAggregate.js +1 -0
  15. package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderV2Functions.d.ts +8 -0
  16. package/dist/globalization/interfaces/formula_builder/index.d.ts +3 -0
  17. package/dist/globalization/interfaces/formula_builder/index.js +3 -0
  18. package/dist/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.js +50 -0
  19. package/package.json +1 -1
@@ -36,12 +36,14 @@ export interface II18nFormulaBuilderCreateModal {
36
36
  formula_name_error_reserved_word: string;
37
37
  formula_type: string;
38
38
  formula_custom_script_mode: string;
39
+ formula_custom_script_mode_soon: string;
39
40
  formula_mode: {
40
41
  title: string;
41
42
  info: string;
42
43
  tab_formula: string;
43
44
  tab_testing: string;
44
45
  tab_testing_tooltip: string;
46
+ tab_testing_tooltip_not_available: string;
45
47
  tab_testing_tooltip_empty: string;
46
48
  show_columns: string;
47
49
  hide_columns: string;
@@ -5,4 +5,5 @@ export interface II18nFormulaBuilderFunctionsType {
5
5
  date: string;
6
6
  aggregate: string;
7
7
  logical: string;
8
+ aggregated: string;
8
9
  }
@@ -6,4 +6,9 @@ export interface II18nFormulaBuilderListModal {
6
6
  information_text_text: string;
7
7
  title_header: string;
8
8
  column_editor_type: string;
9
+ loading: string;
10
+ formulas: string;
11
+ aggregate_formulas: string;
12
+ new_formula: string;
13
+ new_aggregate_formula: string;
9
14
  }
@@ -0,0 +1,5 @@
1
+ import { II18nFormulaBuilderFunction } from "./II18nFormulaBuilderFunction";
2
+ export interface II18nFormulaBuilderV2FunctionAggregate extends II18nFormulaBuilderFunction {
3
+ param_column_name: string;
4
+ param_column_description: string;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +1,6 @@
1
1
  import { II18nFormulaBuilderFunction } from "./II18nFormulaBuilderFunction";
2
2
  import { II18nFormulaBuilderV2FunctionAbs } from "./II18nFormulaBuilderV2FunctionAbs";
3
+ import { II18nFormulaBuilderV2FunctionAggregate } from "./II18nFormulaBuilderV2FunctionAggregate";
3
4
  import { II18nFormulaBuilderV2FunctionAnd } from "./II18nFormulaBuilderV2FunctionAnd";
4
5
  import { II18nFormulaBuilderV2FunctionConcantenate } from "./II18nFormulaBuilderV2FunctionConcatenate";
5
6
  import { II18nFormulaBuilderV2FunctionDateadd } from "./II18nFormulaBuilderV2FunctionDateadd";
@@ -73,4 +74,11 @@ export interface II18nFormulaBuilderV2Functions {
73
74
  roundup: II18nFormulaBuilderV2FunctionRound;
74
75
  millisecond: II18nFormulaBuilderV2FunctionMillisecond;
75
76
  text: II18nFormulaBuilderV2FunctionText;
77
+ agg_sum: II18nFormulaBuilderV2FunctionAggregate;
78
+ agg_avg: II18nFormulaBuilderV2FunctionAggregate;
79
+ agg_med: II18nFormulaBuilderV2FunctionAggregate;
80
+ agg_min: II18nFormulaBuilderV2FunctionAggregate;
81
+ agg_max: II18nFormulaBuilderV2FunctionAggregate;
82
+ agg_count: II18nFormulaBuilderV2FunctionAggregate;
83
+ agg_distcount: II18nFormulaBuilderV2FunctionAggregate;
76
84
  }
@@ -88,3 +88,6 @@ export * from "./II18nFormulaBuilderV2FunctionLog";
88
88
  export * from "./II18nFormulaBuilderV2FunctionOdd";
89
89
  export * from "./II18nFormulaBuilderV2FunctionPower";
90
90
  export * from "./II18nFormulaBuilderV2FunctionRound";
91
+ export * from "./II18nFormulaBuilderV2FunctionMillisecond";
92
+ export * from "./II18nFormulaBuilderV2FunctionText";
93
+ export * from "./II18nFormulaBuilderV2FunctionAggregate";
@@ -104,3 +104,6 @@ __exportStar(require("./II18nFormulaBuilderV2FunctionLog"), exports);
104
104
  __exportStar(require("./II18nFormulaBuilderV2FunctionOdd"), exports);
105
105
  __exportStar(require("./II18nFormulaBuilderV2FunctionPower"), exports);
106
106
  __exportStar(require("./II18nFormulaBuilderV2FunctionRound"), exports);
107
+ __exportStar(require("./II18nFormulaBuilderV2FunctionMillisecond"), exports);
108
+ __exportStar(require("./II18nFormulaBuilderV2FunctionText"), exports);
109
+ __exportStar(require("./II18nFormulaBuilderV2FunctionAggregate"), exports);
@@ -15,6 +15,11 @@ exports.I18N_FORMULA_BUILDER = {
15
15
  information_text_text: "create and work with formulas",
16
16
  title_header: "Formulas",
17
17
  column_editor_type: "Editor Type",
18
+ loading: "Loading dependencies...",
19
+ formulas: "Formulas",
20
+ aggregate_formulas: "Aggregate Formulas",
21
+ new_formula: "New Formula",
22
+ new_aggregate_formula: "New Aggregate Formula",
18
23
  },
19
24
  list_table: {
20
25
  duplicate_copy: "Copy",
@@ -68,12 +73,14 @@ exports.I18N_FORMULA_BUILDER = {
68
73
  formula_name_error_reserved_word: "The formula name cannot be a reserved word: null, true or false.",
69
74
  formula_type: "Formula Mode",
70
75
  formula_custom_script_mode: "Data Engine Syntax (legacy)",
76
+ formula_custom_script_mode_soon: "Data Engine Syntax (legacy) - Coming Soon",
71
77
  formula_mode: {
72
78
  title: "Standardized Syntax",
73
79
  info: 'Allows mathematical and logical operators including +, -, *, /, (), =, >, <, >=, <=, <>. Numbers must be entered in en-US format. Date time values should be entered with format: "MM/DD/YYYY" or "MM/DD/YYYY HH:MM:SS"',
74
80
  tab_formula: "Formula",
75
81
  tab_testing: "Testing",
76
82
  tab_testing_tooltip: "This formula contains errors or is not finished.",
83
+ tab_testing_tooltip_not_available: "Testing not available for this formula type.",
77
84
  tab_testing_tooltip_empty: "No formula to test.",
78
85
  show_columns: "Show Columns and Functions",
79
86
  hide_columns: "Hide Columns and Functions",
@@ -374,6 +381,48 @@ exports.I18N_FORMULA_BUILDER = {
374
381
  param_num1_name: "num1",
375
382
  param_num1_description: "The number that you want to convert to text.",
376
383
  },
384
+ agg_sum: {
385
+ description: "Returns the aggregated sum of the numeric values of a column.",
386
+ function_placeholder: "AGG_SUM(column)",
387
+ param_column_name: "column",
388
+ param_column_description: "The numeric column that will be aggregated.",
389
+ },
390
+ agg_avg: {
391
+ description: "Returns the average value for all the numeric values of a column.",
392
+ function_placeholder: "AGG_AVG(column)",
393
+ param_column_name: "column",
394
+ param_column_description: "The numeric column that will be aggregated.",
395
+ },
396
+ agg_med: {
397
+ description: "Returns the median value for all the numeric values of a column.",
398
+ function_placeholder: "AGG_MED(column)",
399
+ param_column_name: "column",
400
+ param_column_description: "The numeric column that will be aggregated.",
401
+ },
402
+ agg_min: {
403
+ description: "Returns the minimum value among all the numeric values of a column.",
404
+ function_placeholder: "AGG_MIN(column)",
405
+ param_column_name: "column",
406
+ param_column_description: "The numeric column that will be aggregated.",
407
+ },
408
+ agg_max: {
409
+ description: "Returns the maximum value among all the numeric values of a column.",
410
+ function_placeholder: "AGG_MAX(column)",
411
+ param_column_name: "column",
412
+ param_column_description: "The numeric column that will be aggregated.",
413
+ },
414
+ agg_count: {
415
+ description: "Returns the count of all the values of a column.",
416
+ function_placeholder: "AGG_COUNT(column)",
417
+ param_column_name: "column",
418
+ param_column_description: "The column that will be aggregated.",
419
+ },
420
+ agg_distcount: {
421
+ description: "Returns the count of all the distinct values of a column.",
422
+ function_placeholder: "AGG_DISTCOUNT(column)",
423
+ param_column_name: "column",
424
+ param_column_description: "The column that will be aggregated.",
425
+ },
377
426
  },
378
427
  editor: {
379
428
  error_messages: {
@@ -427,6 +476,7 @@ exports.I18N_FORMULA_BUILDER = {
427
476
  date: "Date/Time",
428
477
  aggregate: "Aggregates",
429
478
  logical: "Logical",
479
+ aggregated: "Aggregate",
430
480
  },
431
481
  function_is_null: {
432
482
  description: "Replaces NULL with the specified replacement value.",
@@ -36,12 +36,14 @@ export interface II18nFormulaBuilderCreateModal {
36
36
  formula_name_error_reserved_word: string;
37
37
  formula_type: string;
38
38
  formula_custom_script_mode: string;
39
+ formula_custom_script_mode_soon: string;
39
40
  formula_mode: {
40
41
  title: string;
41
42
  info: string;
42
43
  tab_formula: string;
43
44
  tab_testing: string;
44
45
  tab_testing_tooltip: string;
46
+ tab_testing_tooltip_not_available: string;
45
47
  tab_testing_tooltip_empty: string;
46
48
  show_columns: string;
47
49
  hide_columns: string;
@@ -5,4 +5,5 @@ export interface II18nFormulaBuilderFunctionsType {
5
5
  date: string;
6
6
  aggregate: string;
7
7
  logical: string;
8
+ aggregated: string;
8
9
  }
@@ -6,4 +6,9 @@ export interface II18nFormulaBuilderListModal {
6
6
  information_text_text: string;
7
7
  title_header: string;
8
8
  column_editor_type: string;
9
+ loading: string;
10
+ formulas: string;
11
+ aggregate_formulas: string;
12
+ new_formula: string;
13
+ new_aggregate_formula: string;
9
14
  }
@@ -0,0 +1,5 @@
1
+ import { II18nFormulaBuilderFunction } from "./II18nFormulaBuilderFunction";
2
+ export interface II18nFormulaBuilderV2FunctionAggregate extends II18nFormulaBuilderFunction {
3
+ param_column_name: string;
4
+ param_column_description: string;
5
+ }
@@ -1,5 +1,6 @@
1
1
  import { II18nFormulaBuilderFunction } from "./II18nFormulaBuilderFunction";
2
2
  import { II18nFormulaBuilderV2FunctionAbs } from "./II18nFormulaBuilderV2FunctionAbs";
3
+ import { II18nFormulaBuilderV2FunctionAggregate } from "./II18nFormulaBuilderV2FunctionAggregate";
3
4
  import { II18nFormulaBuilderV2FunctionAnd } from "./II18nFormulaBuilderV2FunctionAnd";
4
5
  import { II18nFormulaBuilderV2FunctionConcantenate } from "./II18nFormulaBuilderV2FunctionConcatenate";
5
6
  import { II18nFormulaBuilderV2FunctionDateadd } from "./II18nFormulaBuilderV2FunctionDateadd";
@@ -73,4 +74,11 @@ export interface II18nFormulaBuilderV2Functions {
73
74
  roundup: II18nFormulaBuilderV2FunctionRound;
74
75
  millisecond: II18nFormulaBuilderV2FunctionMillisecond;
75
76
  text: II18nFormulaBuilderV2FunctionText;
77
+ agg_sum: II18nFormulaBuilderV2FunctionAggregate;
78
+ agg_avg: II18nFormulaBuilderV2FunctionAggregate;
79
+ agg_med: II18nFormulaBuilderV2FunctionAggregate;
80
+ agg_min: II18nFormulaBuilderV2FunctionAggregate;
81
+ agg_max: II18nFormulaBuilderV2FunctionAggregate;
82
+ agg_count: II18nFormulaBuilderV2FunctionAggregate;
83
+ agg_distcount: II18nFormulaBuilderV2FunctionAggregate;
76
84
  }
@@ -88,3 +88,6 @@ export * from "./II18nFormulaBuilderV2FunctionLog";
88
88
  export * from "./II18nFormulaBuilderV2FunctionOdd";
89
89
  export * from "./II18nFormulaBuilderV2FunctionPower";
90
90
  export * from "./II18nFormulaBuilderV2FunctionRound";
91
+ export * from "./II18nFormulaBuilderV2FunctionMillisecond";
92
+ export * from "./II18nFormulaBuilderV2FunctionText";
93
+ export * from "./II18nFormulaBuilderV2FunctionAggregate";
@@ -88,3 +88,6 @@ export * from "./II18nFormulaBuilderV2FunctionLog";
88
88
  export * from "./II18nFormulaBuilderV2FunctionOdd";
89
89
  export * from "./II18nFormulaBuilderV2FunctionPower";
90
90
  export * from "./II18nFormulaBuilderV2FunctionRound";
91
+ export * from "./II18nFormulaBuilderV2FunctionMillisecond";
92
+ export * from "./II18nFormulaBuilderV2FunctionText";
93
+ export * from "./II18nFormulaBuilderV2FunctionAggregate";
@@ -12,6 +12,11 @@ export const I18N_FORMULA_BUILDER = {
12
12
  information_text_text: "create and work with formulas",
13
13
  title_header: "Formulas",
14
14
  column_editor_type: "Editor Type",
15
+ loading: "Loading dependencies...",
16
+ formulas: "Formulas",
17
+ aggregate_formulas: "Aggregate Formulas",
18
+ new_formula: "New Formula",
19
+ new_aggregate_formula: "New Aggregate Formula",
15
20
  },
16
21
  list_table: {
17
22
  duplicate_copy: "Copy",
@@ -65,12 +70,14 @@ export const I18N_FORMULA_BUILDER = {
65
70
  formula_name_error_reserved_word: "The formula name cannot be a reserved word: null, true or false.",
66
71
  formula_type: "Formula Mode",
67
72
  formula_custom_script_mode: "Data Engine Syntax (legacy)",
73
+ formula_custom_script_mode_soon: "Data Engine Syntax (legacy) - Coming Soon",
68
74
  formula_mode: {
69
75
  title: "Standardized Syntax",
70
76
  info: 'Allows mathematical and logical operators including +, -, *, /, (), =, >, <, >=, <=, <>. Numbers must be entered in en-US format. Date time values should be entered with format: "MM/DD/YYYY" or "MM/DD/YYYY HH:MM:SS"',
71
77
  tab_formula: "Formula",
72
78
  tab_testing: "Testing",
73
79
  tab_testing_tooltip: "This formula contains errors or is not finished.",
80
+ tab_testing_tooltip_not_available: "Testing not available for this formula type.",
74
81
  tab_testing_tooltip_empty: "No formula to test.",
75
82
  show_columns: "Show Columns and Functions",
76
83
  hide_columns: "Hide Columns and Functions",
@@ -371,6 +378,48 @@ export const I18N_FORMULA_BUILDER = {
371
378
  param_num1_name: "num1",
372
379
  param_num1_description: "The number that you want to convert to text.",
373
380
  },
381
+ agg_sum: {
382
+ description: "Returns the aggregated sum of the numeric values of a column.",
383
+ function_placeholder: "AGG_SUM(column)",
384
+ param_column_name: "column",
385
+ param_column_description: "The numeric column that will be aggregated.",
386
+ },
387
+ agg_avg: {
388
+ description: "Returns the average value for all the numeric values of a column.",
389
+ function_placeholder: "AGG_AVG(column)",
390
+ param_column_name: "column",
391
+ param_column_description: "The numeric column that will be aggregated.",
392
+ },
393
+ agg_med: {
394
+ description: "Returns the median value for all the numeric values of a column.",
395
+ function_placeholder: "AGG_MED(column)",
396
+ param_column_name: "column",
397
+ param_column_description: "The numeric column that will be aggregated.",
398
+ },
399
+ agg_min: {
400
+ description: "Returns the minimum value among all the numeric values of a column.",
401
+ function_placeholder: "AGG_MIN(column)",
402
+ param_column_name: "column",
403
+ param_column_description: "The numeric column that will be aggregated.",
404
+ },
405
+ agg_max: {
406
+ description: "Returns the maximum value among all the numeric values of a column.",
407
+ function_placeholder: "AGG_MAX(column)",
408
+ param_column_name: "column",
409
+ param_column_description: "The numeric column that will be aggregated.",
410
+ },
411
+ agg_count: {
412
+ description: "Returns the count of all the values of a column.",
413
+ function_placeholder: "AGG_COUNT(column)",
414
+ param_column_name: "column",
415
+ param_column_description: "The column that will be aggregated.",
416
+ },
417
+ agg_distcount: {
418
+ description: "Returns the count of all the distinct values of a column.",
419
+ function_placeholder: "AGG_DISTCOUNT(column)",
420
+ param_column_name: "column",
421
+ param_column_description: "The column that will be aggregated.",
422
+ },
374
423
  },
375
424
  editor: {
376
425
  error_messages: {
@@ -424,6 +473,7 @@ export const I18N_FORMULA_BUILDER = {
424
473
  date: "Date/Time",
425
474
  aggregate: "Aggregates",
426
475
  logical: "Logical",
476
+ aggregated: "Aggregate",
427
477
  },
428
478
  function_is_null: {
429
479
  description: "Replaces NULL with the specified replacement value.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qrvey/utils",
3
- "version": "1.16.0-0",
3
+ "version": "1.16.0-1",
4
4
  "description": "Helper, Utils for all Qrvey Projects",
5
5
  "homepage": "https://bitbucket.org/qrvey/qrvey_utils/wiki/Home",
6
6
  "main": "dist/index.js",