@qrvey/utils 1.2.9-0 → 1.2.9-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 (23) hide show
  1. package/README.md +90 -90
  2. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderAggregatedFormulas.d.ts +2 -1
  3. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderRefernceLine.d.ts +9 -8
  4. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderShelfMenu.d.ts +1 -0
  5. package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTrendChart.d.ts +14 -13
  6. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.js +11 -9
  7. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.js +3 -2
  8. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_LAYER_OPTIONS.js +9 -8
  9. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderAggregatedFormulas.d.ts +2 -1
  10. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderRefernceLine.d.ts +9 -8
  11. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderShelfMenu.d.ts +1 -0
  12. package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTrendChart.d.ts +14 -13
  13. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.js +11 -9
  14. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.js +3 -2
  15. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_LAYER_OPTIONS.js +9 -8
  16. package/package.json +1 -1
  17. package/src/globalization/interfaces/chart_builder/II18nChartBuilderAggregatedFormulas.ts +2 -1
  18. package/src/globalization/interfaces/chart_builder/II18nChartBuilderRefernceLine.ts +9 -8
  19. package/src/globalization/interfaces/chart_builder/II18nChartBuilderShelfMenu.ts +1 -0
  20. package/src/globalization/interfaces/chart_builder/II18nChartBuilderTrendChart.ts +14 -13
  21. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.ts +12 -9
  22. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.ts +3 -2
  23. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_LAYER_OPTIONS.ts +9 -8
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.9-0*
1
+ # [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.9-1*
2
2
 
3
3
  > Helper, Utils for all Qrvey Projects
4
4
 
@@ -220,12 +220,12 @@ Transforms String Date from a [Year] format to Date object.
220
220
 
221
221
 
222
222
 
223
- ### dist/dates/helpers/getDateByDateFormat.js
223
+ ### dist/dates/helpers/getDateFormatByProperty.js
224
224
 
225
225
 
226
- #### getDateByDateFormat(date, format, time)
226
+ #### getDateFormatByProperty(property)
227
227
 
228
- Gets a Date Object instance by a Date format
228
+ Gets the date format by the given property
229
229
 
230
230
 
231
231
 
@@ -234,9 +234,7 @@ Gets a Date Object instance by a Date format
234
234
 
235
235
  | Name | Type | Description | |
236
236
  | ---- | ---- | ----------- | -------- |
237
- | date | | String with a formatted date |   |
238
- | format | | The date format |   |
239
- | time | | flag to convert the formatted date to miliseconds |   |
237
+ | property | | The Column Property |   |
240
238
 
241
239
 
242
240
 
@@ -244,17 +242,17 @@ Gets a Date Object instance by a Date format
244
242
  ##### Returns
245
243
 
246
244
 
247
- - a Date object, milisecond time or the same value if date format does not match.
245
+ - The date format
248
246
 
249
247
 
250
248
 
251
249
 
252
- ### dist/dates/helpers/getDateFormatByProperty.js
250
+ ### dist/dates/helpers/getDateByDateFormat.js
253
251
 
254
252
 
255
- #### getDateFormatByProperty(property)
253
+ #### getDateByDateFormat(date, format, time)
256
254
 
257
- Gets the date format by the given property
255
+ Gets a Date Object instance by a Date format
258
256
 
259
257
 
260
258
 
@@ -263,7 +261,9 @@ Gets the date format by the given property
263
261
 
264
262
  | Name | Type | Description | |
265
263
  | ---- | ---- | ----------- | -------- |
266
- | property | | The Column Property |   |
264
+ | date | | String with a formatted date |   |
265
+ | format | | The date format |   |
266
+ | time | | flag to convert the formatted date to miliseconds |   |
267
267
 
268
268
 
269
269
 
@@ -271,7 +271,7 @@ Gets the date format by the given property
271
271
  ##### Returns
272
272
 
273
273
 
274
- - The date format
274
+ - a Date object, milisecond time or the same value if date format does not match.
275
275
 
276
276
 
277
277
 
@@ -688,6 +688,26 @@ Output:
688
688
 
689
689
 
690
690
 
691
+ ### dist/filters/classes/FilterInputErrorHandler.js
692
+
693
+
694
+ #### new FilterInputErrorHandler()
695
+
696
+
697
+
698
+
699
+
700
+
701
+
702
+
703
+ ##### Returns
704
+
705
+
706
+ - `Void`
707
+
708
+
709
+
710
+
691
711
  ### dist/filters/adapters/FDToFlatUI.js
692
712
 
693
713
 
@@ -1538,26 +1558,6 @@ const filterData = transformFilters(oldPreferenceFilters, 'ANALYZE');
1538
1558
 
1539
1559
 
1540
1560
 
1541
- ### dist/filters/classes/FilterInputErrorHandler.js
1542
-
1543
-
1544
- #### new FilterInputErrorHandler()
1545
-
1546
-
1547
-
1548
-
1549
-
1550
-
1551
-
1552
-
1553
- ##### Returns
1554
-
1555
-
1556
- - `Void`
1557
-
1558
-
1559
-
1560
-
1561
1561
  ### dist/filters/helpers/applyHierarchyForAggFilters.js
1562
1562
 
1563
1563
 
@@ -2592,12 +2592,12 @@ serialize object to url param
2592
2592
 
2593
2593
 
2594
2594
 
2595
- ### dist/qrvey/helpers/getColumnsLabel.js
2595
+ ### dist/services/api/getAllQrveys.api.js
2596
2596
 
2597
2597
 
2598
- #### getColumnLabels(column)
2598
+ #### getAllQrveys(config, params)
2599
2599
 
2600
- Get an string of the properties of the given column.
2600
+ POST Request for getting Qrveys such as Web Forms and Datasets. Use params for getting precise data
2601
2601
 
2602
2602
 
2603
2603
 
@@ -2606,7 +2606,8 @@ Get an string of the properties of the given column.
2606
2606
 
2607
2607
  | Name | Type | Description | |
2608
2608
  | ---- | ---- | ----------- | -------- |
2609
- | column | | The column |   |
2609
+ | config | | Configuration |   |
2610
+ | params | | Object for getting precise data |   |
2610
2611
 
2611
2612
 
2612
2613
 
@@ -2614,74 +2615,71 @@ Get an string of the properties of the given column.
2614
2615
  ##### Returns
2615
2616
 
2616
2617
 
2617
- - an string with the property, aggregate or calculation label.
2618
+ - `Void`
2618
2619
 
2619
2620
 
2620
2621
 
2621
2622
 
2622
- ### dist/stencil/decorators/Config.js
2623
-
2623
+ ### dist/services/api/getAllDatasets.api.js
2624
2624
 
2625
- #### Config()
2626
2625
 
2627
- Stencil.js - Prop Decorator
2628
- Get and Parse the Widget Configuration Object and also provide the ability to get properties in different case styles such as: lower, upper, camel and pascal
2629
- But for this, is required ask for a property in `snake_case` style
2626
+ #### getAllDatasets(qrveyids)
2630
2627
 
2628
+ Get a dataset list from a collection of Qrvey IDs
2631
2629
 
2632
2630
 
2633
2631
 
2634
2632
 
2633
+ ##### Parameters
2635
2634
 
2636
- ##### Examples
2635
+ | Name | Type | Description | |
2636
+ | ---- | ---- | ----------- | -------- |
2637
+ | qrveyids | | Collection of Qrvey IDs |   |
2637
2638
 
2638
- ```javascript
2639
- \ @Config() @Prop() settings;
2640
2639
 
2641
- someMethod() {
2642
- this.settings.snake_case //it search for: obj.snake_case || obj.snakeCase || obj.SnakeCase || obj.snakecase || obj.SNAKECASE
2643
- }
2644
- ```
2645
2640
 
2646
2641
 
2647
2642
  ##### Returns
2648
2643
 
2649
2644
 
2650
- - `Void`
2645
+ - a promise
2651
2646
 
2652
2647
 
2653
2648
 
2654
2649
 
2655
- ### dist/stencil/util/createRef.js
2650
+ ### dist/services/api/getDatasetColumns.api.js
2656
2651
 
2657
2652
 
2658
- #### createRef()
2653
+ #### getDatasetColumns(qrveyid)
2659
2654
 
2660
- lit implementation of React createRef (https://reactjs.org/docs/refs-and-the-dom.html)
2655
+ Get a dataset by Qrvey ID
2661
2656
 
2662
2657
 
2663
2658
 
2664
2659
 
2660
+ ##### Parameters
2661
+
2662
+ | Name | Type | Description | |
2663
+ | ---- | ---- | ----------- | -------- |
2664
+ | qrveyid | | The Qrvey ID |   |
2665
+
2666
+
2665
2667
 
2666
2668
 
2667
2669
  ##### Returns
2668
2670
 
2669
2671
 
2670
- - function - Function to use in ref prop in html elements
2672
+ - a promise
2671
2673
 
2672
2674
 
2673
2675
 
2674
2676
 
2675
- ### dist/stencil/util/getConfig.js
2677
+ ### dist/qrvey/helpers/getColumnsLabel.js
2676
2678
 
2677
2679
 
2678
- #### getConfig(cfg)
2680
+ #### getColumnLabels(column)
2679
2681
 
2680
- verify the Config object type and try to return a parsed Object
2681
- - In case _cfg_ is a string, first try to make a JSON parse in other case
2682
- try to find this string as a variable on Windows object
2683
- - If _cfg_ is a fuction, tis is invoked and parsed
2684
- - Finally, if is an object, _cfg_ is inmediatly returned
2682
+ Get an string of the properties of the given column.
2685
2683
 
2686
2684
 
2687
2685
 
@@ -2690,7 +2688,7 @@ try to find this string as a variable on Windows object
2690
2688
 
2691
2689
  | Name | Type | Description | |
2692
2690
  | ---- | ---- | ----------- | -------- |
2693
- | cfg | | |   |
2691
+ | column | | The column |   |
2694
2692
 
2695
2693
 
2696
2694
 
@@ -2698,54 +2696,52 @@ try to find this string as a variable on Windows object
2698
2696
  ##### Returns
2699
2697
 
2700
2698
 
2701
- - `Void`
2702
-
2703
-
2699
+ - an string with the property, aggregate or calculation label.
2704
2700
 
2705
2701
 
2706
- ### dist/services/api/getAllDatasets.api.js
2707
2702
 
2708
2703
 
2709
- #### getAllDatasets(qrveyids)
2704
+ ### dist/stencil/decorators/Config.js
2710
2705
 
2711
- Get a dataset list from a collection of Qrvey IDs
2712
2706
 
2707
+ #### Config()
2713
2708
 
2709
+ Stencil.js - Prop Decorator
2710
+ Get and Parse the Widget Configuration Object and also provide the ability to get properties in different case styles such as: lower, upper, camel and pascal
2711
+ But for this, is required ask for a property in `snake_case` style
2714
2712
 
2715
2713
 
2716
- ##### Parameters
2717
2714
 
2718
- | Name | Type | Description | |
2719
- | ---- | ---- | ----------- | -------- |
2720
- | qrveyids | | Collection of Qrvey IDs |   |
2721
2715
 
2722
2716
 
2723
2717
 
2718
+ ##### Examples
2724
2719
 
2725
- ##### Returns
2720
+ ```javascript
2721
+ \ @Config() @Prop() settings;
2726
2722
 
2723
+ someMethod() {
2724
+ this.settings.snake_case //it search for: obj.snake_case || obj.snakeCase || obj.SnakeCase || obj.snakecase || obj.SNAKECASE
2725
+ }
2726
+ ```
2727
2727
 
2728
- - a promise
2729
2728
 
2729
+ ##### Returns
2730
2730
 
2731
2731
 
2732
+ - `Void`
2732
2733
 
2733
- ### dist/services/api/getAllQrveys.api.js
2734
2734
 
2735
2735
 
2736
- #### getAllQrveys(config, params)
2737
2736
 
2738
- POST Request for getting Qrveys such as Web Forms and Datasets. Use params for getting precise data
2737
+ ### dist/stencil/util/createRef.js
2739
2738
 
2740
2739
 
2740
+ #### createRef()
2741
2741
 
2742
+ lit implementation of React createRef (https://reactjs.org/docs/refs-and-the-dom.html)
2742
2743
 
2743
- ##### Parameters
2744
2744
 
2745
- | Name | Type | Description | |
2746
- | ---- | ---- | ----------- | -------- |
2747
- | config | | Configuration |   |
2748
- | params | | Object for getting precise data |   |
2749
2745
 
2750
2746
 
2751
2747
 
@@ -2753,17 +2749,21 @@ POST Request for getting Qrveys such as Web Forms and Datasets. Use params for g
2753
2749
  ##### Returns
2754
2750
 
2755
2751
 
2756
- - `Void`
2752
+ - function - Function to use in ref prop in html elements
2757
2753
 
2758
2754
 
2759
2755
 
2760
2756
 
2761
- ### dist/services/api/getDatasetColumns.api.js
2757
+ ### dist/stencil/util/getConfig.js
2762
2758
 
2763
2759
 
2764
- #### getDatasetColumns(qrveyid)
2760
+ #### getConfig(cfg)
2765
2761
 
2766
- Get a dataset by Qrvey ID
2762
+ verify the Config object type and try to return a parsed Object
2763
+ - In case _cfg_ is a string, first try to make a JSON parse in other case
2764
+ try to find this string as a variable on Windows object
2765
+ - If _cfg_ is a fuction, tis is invoked and parsed
2766
+ - Finally, if is an object, _cfg_ is inmediatly returned
2767
2767
 
2768
2768
 
2769
2769
 
@@ -2772,7 +2772,7 @@ Get a dataset by Qrvey ID
2772
2772
 
2773
2773
  | Name | Type | Description | |
2774
2774
  | ---- | ---- | ----------- | -------- |
2775
- | qrveyid | | The Qrvey ID |   |
2775
+ | cfg | | |   |
2776
2776
 
2777
2777
 
2778
2778
 
@@ -2780,7 +2780,7 @@ Get a dataset by Qrvey ID
2780
2780
  ##### Returns
2781
2781
 
2782
2782
 
2783
- - a promise
2783
+ - `Void`
2784
2784
 
2785
2785
 
2786
2786
 
@@ -1,6 +1,7 @@
1
1
  export interface II18nChartBuilderAggregatedFormulas {
2
- title: string;
3
2
  add: string;
3
+ add_formula_disabled: string;
4
4
  edit: string;
5
5
  remove: string;
6
+ title: string;
6
7
  }
@@ -1,14 +1,15 @@
1
1
  export interface II18nChartBuilderReferenceLine {
2
- title: string;
3
2
  add: string;
4
- new_reference_line_label: string;
5
- fixed: string;
6
- dynamic: string;
7
3
  axis: string;
8
- value: string;
9
- value_aggregated: string;
10
4
  custom_label: string;
11
- custom_label_pleceholder: string;
12
- remove: string;
5
+ custom_label_disabled: string;
6
+ custom_label_placeholder: string;
7
+ dynamic: string;
8
+ fixed: string;
9
+ new_reference_line_label: string;
13
10
  opacity: string;
11
+ remove: string;
12
+ title: string;
13
+ value: string;
14
+ value_aggregated: string;
14
15
  }
@@ -1,5 +1,6 @@
1
1
  export interface II18nChartBuilderShelfMenu {
2
2
  bucket: string;
3
3
  complex_column: string;
4
+ date_group: string;
4
5
  remove: string;
5
6
  }
@@ -1,30 +1,31 @@
1
1
  export interface II18nChartBuilderTrendChart {
2
- title: string;
3
- options_title: string;
4
2
  add: string;
5
- new_trend_chart_label: string;
3
+ add_trend_disabled: string;
4
+ color: string;
6
5
  chart_type: string;
6
+ date_grouping: string;
7
+ fill: string;
8
+ fill_below: string;
9
+ fill_none: string;
10
+ label: string;
11
+ label_placeholder: string;
12
+ max_data_points: string;
13
+ new_trend_chart_label: string;
14
+ options_title: string;
15
+ remove: string;
7
16
  select_column: string;
8
17
  select_column_placeholder: string;
18
+ show_value: string;
19
+ title: string;
9
20
  trend_by_column: string;
10
21
  trend_by_column_placeholder: string;
11
22
  trend_sort: string;
12
23
  trend_sort_ascending: string;
13
24
  trend_sort_descending: string;
14
- color: string;
15
25
  type: string;
16
26
  type_line: string;
17
27
  type_spline: string;
18
28
  type_step_line: string;
19
- fill: string;
20
- fill_none: string;
21
- fill_below: string;
22
29
  tooltips: string;
23
- show_value: string;
24
- label: string;
25
- label_placeholder: string;
26
- date_grouping: string;
27
30
  time_period: string;
28
- max_data_points: string;
29
- remove: string;
30
31
  }
@@ -90,6 +90,7 @@ exports.I18N_CHART_BUILDER_GENERAL = {
90
90
  shelf_menu: {
91
91
  bucket: 'Cubo',
92
92
  complex_column: 'Type',
93
+ date_group: 'Date Group',
93
94
  remove: 'Remove'
94
95
  },
95
96
  scale_types: {
@@ -133,34 +134,35 @@ exports.I18N_CHART_BUILDER_GENERAL = {
133
134
  categories: 'Categories'
134
135
  },
135
136
  trend_chart: {
136
- title: 'Trend Chart',
137
- options_title: 'Trend by',
138
137
  add: 'Add Trend Chart',
139
- new_trend_chart_label: 'Trend Chart Num',
138
+ add_trend_disabled: 'Trend Chart is disabled, add fields on the Columns and Groups shelf to enable it.',
140
139
  chart_type: 'Chart Type',
140
+ color: 'Color',
141
+ date_grouping: 'Date Grouping',
142
+ fill: 'Fill',
143
+ fill_none: 'None',
144
+ fill_below: 'Below',
145
+ new_trend_chart_label: 'Trend Chart Num',
146
+ options_title: 'Trend by',
141
147
  select_column: 'Column',
142
148
  select_column_placeholder: 'Select Option',
149
+ title: 'Trend Chart',
143
150
  trend_by_column: 'Trend by Column',
144
151
  trend_by_column_placeholder: 'Select Option',
145
152
  trend_sort: 'Trend Sort',
146
153
  trend_sort_ascending: 'Ascending',
147
154
  trend_sort_descending: 'Descending',
148
- color: 'Color',
149
155
  type: 'Type',
150
156
  type_line: 'Line',
151
157
  type_spline: 'Spline',
152
158
  type_step_line: 'Step Line',
153
- fill: 'Fill',
154
- fill_none: 'None',
155
- fill_below: 'Below',
156
159
  tooltips: 'Tooltips',
157
160
  show_value: 'Show Value',
158
161
  label: 'Label',
159
162
  label_placeholder: 'Type custom label',
160
- date_grouping: 'Date Grouping',
161
163
  time_period: 'Time Period',
162
164
  max_data_points: 'Max Data Points',
163
- remove: 'Remove'
165
+ remove: 'Remove',
164
166
  },
165
167
  chart_info: {
166
168
  title_placeholder: 'Untitled Chart',
@@ -120,9 +120,10 @@ exports.I18N_CHART_BUILDER_GENERAL_OPTIONS = {
120
120
  totals_disabled: 'Totals is disabled, add fields on the Columns shelf to enable it.'
121
121
  },
122
122
  aggregated_formula: {
123
- title: 'Aggregated Formulas',
124
123
  add: 'Add Aggregated Formulas',
124
+ add_formula_disabled: 'Aggregated Formulas is disabled, add fields on the Columns and Groups shelf to enable it.',
125
125
  edit: 'Edit',
126
- remove: 'Remove'
126
+ remove: 'Remove',
127
+ title: 'Aggregated Formulas',
127
128
  }
128
129
  };
@@ -18,17 +18,18 @@ exports.I18N_CHART_BUILDER_LAYER_OPTIONS = {
18
18
  legend: 'Trend Line'
19
19
  },
20
20
  references_line: {
21
- title: 'Reference Line',
22
21
  add: 'Add Reference Line',
23
- new_reference_line_label: 'Reference Line num',
24
- fixed: 'Fixed',
25
- dynamic: 'Dynamic',
26
22
  axis: 'Axis',
27
- value: 'Value',
28
- value_aggregated: 'Value Aggregate',
29
23
  custom_label: 'Custom Label',
30
- custom_label_pleceholder: 'Type custom label',
31
- remove: 'Remove',
24
+ custom_label_disabled: 'To show the reference value on the custom label type {{ref.value}}.',
25
+ custom_label_placeholder: 'Type custom label',
26
+ dynamic: 'Dynamic',
27
+ fixed: 'Fixed',
28
+ new_reference_line_label: 'Reference Line num',
32
29
  opacity: 'Opacity',
30
+ remove: 'Remove',
31
+ title: 'Reference Line',
32
+ value: 'Value',
33
+ value_aggregated: 'Value Aggregate',
33
34
  },
34
35
  };
@@ -1,6 +1,7 @@
1
1
  export interface II18nChartBuilderAggregatedFormulas {
2
- title: string;
3
2
  add: string;
3
+ add_formula_disabled: string;
4
4
  edit: string;
5
5
  remove: string;
6
+ title: string;
6
7
  }
@@ -1,14 +1,15 @@
1
1
  export interface II18nChartBuilderReferenceLine {
2
- title: string;
3
2
  add: string;
4
- new_reference_line_label: string;
5
- fixed: string;
6
- dynamic: string;
7
3
  axis: string;
8
- value: string;
9
- value_aggregated: string;
10
4
  custom_label: string;
11
- custom_label_pleceholder: string;
12
- remove: string;
5
+ custom_label_disabled: string;
6
+ custom_label_placeholder: string;
7
+ dynamic: string;
8
+ fixed: string;
9
+ new_reference_line_label: string;
13
10
  opacity: string;
11
+ remove: string;
12
+ title: string;
13
+ value: string;
14
+ value_aggregated: string;
14
15
  }
@@ -1,5 +1,6 @@
1
1
  export interface II18nChartBuilderShelfMenu {
2
2
  bucket: string;
3
3
  complex_column: string;
4
+ date_group: string;
4
5
  remove: string;
5
6
  }
@@ -1,30 +1,31 @@
1
1
  export interface II18nChartBuilderTrendChart {
2
- title: string;
3
- options_title: string;
4
2
  add: string;
5
- new_trend_chart_label: string;
3
+ add_trend_disabled: string;
4
+ color: string;
6
5
  chart_type: string;
6
+ date_grouping: string;
7
+ fill: string;
8
+ fill_below: string;
9
+ fill_none: string;
10
+ label: string;
11
+ label_placeholder: string;
12
+ max_data_points: string;
13
+ new_trend_chart_label: string;
14
+ options_title: string;
15
+ remove: string;
7
16
  select_column: string;
8
17
  select_column_placeholder: string;
18
+ show_value: string;
19
+ title: string;
9
20
  trend_by_column: string;
10
21
  trend_by_column_placeholder: string;
11
22
  trend_sort: string;
12
23
  trend_sort_ascending: string;
13
24
  trend_sort_descending: string;
14
- color: string;
15
25
  type: string;
16
26
  type_line: string;
17
27
  type_spline: string;
18
28
  type_step_line: string;
19
- fill: string;
20
- fill_none: string;
21
- fill_below: string;
22
29
  tooltips: string;
23
- show_value: string;
24
- label: string;
25
- label_placeholder: string;
26
- date_grouping: string;
27
30
  time_period: string;
28
- max_data_points: string;
29
- remove: string;
30
31
  }
@@ -87,6 +87,7 @@ export const I18N_CHART_BUILDER_GENERAL = {
87
87
  shelf_menu: {
88
88
  bucket: 'Cubo',
89
89
  complex_column: 'Type',
90
+ date_group: 'Date Group',
90
91
  remove: 'Remove'
91
92
  },
92
93
  scale_types: {
@@ -130,34 +131,35 @@ export const I18N_CHART_BUILDER_GENERAL = {
130
131
  categories: 'Categories'
131
132
  },
132
133
  trend_chart: {
133
- title: 'Trend Chart',
134
- options_title: 'Trend by',
135
134
  add: 'Add Trend Chart',
136
- new_trend_chart_label: 'Trend Chart Num',
135
+ add_trend_disabled: 'Trend Chart is disabled, add fields on the Columns and Groups shelf to enable it.',
137
136
  chart_type: 'Chart Type',
137
+ color: 'Color',
138
+ date_grouping: 'Date Grouping',
139
+ fill: 'Fill',
140
+ fill_none: 'None',
141
+ fill_below: 'Below',
142
+ new_trend_chart_label: 'Trend Chart Num',
143
+ options_title: 'Trend by',
138
144
  select_column: 'Column',
139
145
  select_column_placeholder: 'Select Option',
146
+ title: 'Trend Chart',
140
147
  trend_by_column: 'Trend by Column',
141
148
  trend_by_column_placeholder: 'Select Option',
142
149
  trend_sort: 'Trend Sort',
143
150
  trend_sort_ascending: 'Ascending',
144
151
  trend_sort_descending: 'Descending',
145
- color: 'Color',
146
152
  type: 'Type',
147
153
  type_line: 'Line',
148
154
  type_spline: 'Spline',
149
155
  type_step_line: 'Step Line',
150
- fill: 'Fill',
151
- fill_none: 'None',
152
- fill_below: 'Below',
153
156
  tooltips: 'Tooltips',
154
157
  show_value: 'Show Value',
155
158
  label: 'Label',
156
159
  label_placeholder: 'Type custom label',
157
- date_grouping: 'Date Grouping',
158
160
  time_period: 'Time Period',
159
161
  max_data_points: 'Max Data Points',
160
- remove: 'Remove'
162
+ remove: 'Remove',
161
163
  },
162
164
  chart_info: {
163
165
  title_placeholder: 'Untitled Chart',
@@ -117,9 +117,10 @@ export const I18N_CHART_BUILDER_GENERAL_OPTIONS = {
117
117
  totals_disabled: 'Totals is disabled, add fields on the Columns shelf to enable it.'
118
118
  },
119
119
  aggregated_formula: {
120
- title: 'Aggregated Formulas',
121
120
  add: 'Add Aggregated Formulas',
121
+ add_formula_disabled: 'Aggregated Formulas is disabled, add fields on the Columns and Groups shelf to enable it.',
122
122
  edit: 'Edit',
123
- remove: 'Remove'
123
+ remove: 'Remove',
124
+ title: 'Aggregated Formulas',
124
125
  }
125
126
  };
@@ -15,17 +15,18 @@ export const I18N_CHART_BUILDER_LAYER_OPTIONS = {
15
15
  legend: 'Trend Line'
16
16
  },
17
17
  references_line: {
18
- title: 'Reference Line',
19
18
  add: 'Add Reference Line',
20
- new_reference_line_label: 'Reference Line num',
21
- fixed: 'Fixed',
22
- dynamic: 'Dynamic',
23
19
  axis: 'Axis',
24
- value: 'Value',
25
- value_aggregated: 'Value Aggregate',
26
20
  custom_label: 'Custom Label',
27
- custom_label_pleceholder: 'Type custom label',
28
- remove: 'Remove',
21
+ custom_label_disabled: 'To show the reference value on the custom label type {{ref.value}}.',
22
+ custom_label_placeholder: 'Type custom label',
23
+ dynamic: 'Dynamic',
24
+ fixed: 'Fixed',
25
+ new_reference_line_label: 'Reference Line num',
29
26
  opacity: 'Opacity',
27
+ remove: 'Remove',
28
+ title: 'Reference Line',
29
+ value: 'Value',
30
+ value_aggregated: 'Value Aggregate',
30
31
  },
31
32
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qrvey/utils",
3
- "version": "1.2.9-0",
3
+ "version": "1.2.9-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",
@@ -1,6 +1,7 @@
1
1
  export interface II18nChartBuilderAggregatedFormulas {
2
- title: string;
3
2
  add: string;
3
+ add_formula_disabled: string;
4
4
  edit: string;
5
5
  remove: string;
6
+ title: string;
6
7
  }
@@ -1,14 +1,15 @@
1
1
  export interface II18nChartBuilderReferenceLine {
2
- title: string;
3
2
  add: string;
4
- new_reference_line_label: string;
5
- fixed: string;
6
- dynamic: string;
7
3
  axis: string;
8
- value: string;
9
- value_aggregated: string;
10
4
  custom_label: string;
11
- custom_label_pleceholder: string;
12
- remove: string;
5
+ custom_label_disabled: string;
6
+ custom_label_placeholder: string;
7
+ dynamic: string;
8
+ fixed: string;
9
+ new_reference_line_label: string;
13
10
  opacity: string;
11
+ remove: string;
12
+ title: string;
13
+ value: string;
14
+ value_aggregated: string;
14
15
  }
@@ -1,5 +1,6 @@
1
1
  export interface II18nChartBuilderShelfMenu {
2
2
  bucket: string;
3
3
  complex_column: string;
4
+ date_group: string;
4
5
  remove: string;
5
6
  }
@@ -1,30 +1,31 @@
1
1
  export interface II18nChartBuilderTrendChart {
2
- title: string;
3
- options_title: string;
4
2
  add: string;
5
- new_trend_chart_label: string;
3
+ add_trend_disabled: string;
4
+ color: string;
6
5
  chart_type: string;
6
+ date_grouping: string;
7
+ fill: string;
8
+ fill_below: string;
9
+ fill_none: string;
10
+ label: string;
11
+ label_placeholder: string;
12
+ max_data_points: string;
13
+ new_trend_chart_label: string;
14
+ options_title: string;
15
+ remove: string;
7
16
  select_column: string;
8
17
  select_column_placeholder: string;
18
+ show_value: string;
19
+ title: string;
9
20
  trend_by_column: string;
10
21
  trend_by_column_placeholder: string;
11
22
  trend_sort: string;
12
23
  trend_sort_ascending: string;
13
24
  trend_sort_descending: string;
14
- color: string;
15
25
  type: string;
16
26
  type_line: string;
17
27
  type_spline: string;
18
28
  type_step_line: string;
19
- fill: string;
20
- fill_none: string;
21
- fill_below: string;
22
29
  tooltips: string;
23
- show_value: string;
24
- label: string;
25
- label_placeholder: string;
26
- date_grouping: string;
27
30
  time_period: string;
28
- max_data_points: string;
29
- remove: string;
30
31
  }
@@ -97,6 +97,7 @@ export const I18N_CHART_BUILDER_GENERAL: Pick<II18nChartBuilder, General> = {
97
97
  shelf_menu: {
98
98
  bucket: 'Cubo',
99
99
  complex_column: 'Type',
100
+ date_group: 'Date Group',
100
101
  remove: 'Remove'
101
102
  },
102
103
  scale_types: {
@@ -140,34 +141,36 @@ export const I18N_CHART_BUILDER_GENERAL: Pick<II18nChartBuilder, General> = {
140
141
  categories: 'Categories'
141
142
  },
142
143
  trend_chart: {
143
- title: 'Trend Chart',
144
- options_title: 'Trend by',
145
144
  add: 'Add Trend Chart',
146
- new_trend_chart_label: 'Trend Chart Num',
145
+ add_trend_disabled: 'Trend Chart is disabled, add fields on the Columns and Groups shelf to enable it.',
147
146
  chart_type: 'Chart Type',
147
+ color: 'Color',
148
+ date_grouping: 'Date Grouping',
149
+ fill: 'Fill',
150
+ fill_none: 'None',
151
+ fill_below: 'Below',
152
+ new_trend_chart_label: 'Trend Chart Num',
153
+ options_title: 'Trend by',
148
154
  select_column: 'Column',
149
155
  select_column_placeholder: 'Select Option',
156
+ title: 'Trend Chart',
150
157
  trend_by_column: 'Trend by Column',
151
158
  trend_by_column_placeholder: 'Select Option',
152
159
  trend_sort: 'Trend Sort',
153
160
  trend_sort_ascending: 'Ascending',
154
161
  trend_sort_descending: 'Descending',
155
- color: 'Color',
156
162
  type: 'Type',
157
163
  type_line: 'Line',
158
164
  type_spline: 'Spline',
159
165
  type_step_line: 'Step Line',
160
- fill: 'Fill',
161
- fill_none: 'None',
162
- fill_below: 'Below',
166
+
163
167
  tooltips: 'Tooltips',
164
168
  show_value: 'Show Value',
165
169
  label: 'Label',
166
170
  label_placeholder: 'Type custom label',
167
- date_grouping: 'Date Grouping',
168
171
  time_period: 'Time Period',
169
172
  max_data_points: 'Max Data Points',
170
- remove: 'Remove'
173
+ remove: 'Remove',
171
174
  },
172
175
  chart_info: {
173
176
  title_placeholder: 'Untitled Chart',
@@ -120,9 +120,10 @@ export const I18N_CHART_BUILDER_GENERAL_OPTIONS: Pick<II18nChartBuilder, General
120
120
  totals_disabled: 'Totals is disabled, add fields on the Columns shelf to enable it.'
121
121
  },
122
122
  aggregated_formula: {
123
- title: 'Aggregated Formulas',
124
123
  add: 'Add Aggregated Formulas',
124
+ add_formula_disabled: 'Aggregated Formulas is disabled, add fields on the Columns and Groups shelf to enable it.',
125
125
  edit: 'Edit',
126
- remove: 'Remove'
126
+ remove: 'Remove',
127
+ title: 'Aggregated Formulas',
127
128
  }
128
129
  };
@@ -18,17 +18,18 @@ export const I18N_CHART_BUILDER_LAYER_OPTIONS: Pick<II18nChartBuilder, LayerOpti
18
18
  legend: 'Trend Line'
19
19
  },
20
20
  references_line: {
21
- title: 'Reference Line',
22
21
  add: 'Add Reference Line',
23
- new_reference_line_label: 'Reference Line num',
24
- fixed: 'Fixed',
25
- dynamic: 'Dynamic',
26
22
  axis: 'Axis',
27
- value: 'Value',
28
- value_aggregated: 'Value Aggregate',
29
23
  custom_label: 'Custom Label',
30
- custom_label_pleceholder: 'Type custom label',
31
- remove: 'Remove',
24
+ custom_label_disabled: 'To show the reference value on the custom label type {{ref.value}}.',
25
+ custom_label_placeholder: 'Type custom label',
26
+ dynamic: 'Dynamic',
27
+ fixed: 'Fixed',
28
+ new_reference_line_label: 'Reference Line num',
32
29
  opacity: 'Opacity',
30
+ remove: 'Remove',
31
+ title: 'Reference Line',
32
+ value: 'Value',
33
+ value_aggregated: 'Value Aggregate',
33
34
  },
34
35
  };