@qrvey/utils 1.2.4-19 → 1.2.4-22

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 (40) hide show
  1. package/README.md +54 -54
  2. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderCreateBucket.d.ts +0 -4
  3. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderListBuckets.d.ts +2 -2
  4. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderMessages.d.ts +2 -2
  5. package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderOperator.d.ts +1 -0
  6. package/dist/cjs/globalization/interfaces/filters/II18nFilter.d.ts +0 -1
  7. package/dist/cjs/globalization/interfaces/filters/II18nFilterPanel.d.ts +2 -0
  8. package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelScopeTitle.d.ts +10 -0
  9. package/dist/cjs/globalization/interfaces/filters/II18nFilterPanelScopeTitle.js +2 -0
  10. package/dist/cjs/globalization/interfaces/filters/index.d.ts +1 -0
  11. package/dist/cjs/globalization/interfaces/filters/index.js +1 -0
  12. package/dist/cjs/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.js +6 -9
  13. package/dist/cjs/globalization/labels/filters/I18N_FILTER.js +0 -1
  14. package/dist/cjs/globalization/labels/filters/I18N_FILTER_PANEL.js +10 -0
  15. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderCreateBucket.d.ts +0 -4
  16. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderListBuckets.d.ts +2 -2
  17. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderMessages.d.ts +2 -2
  18. package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderOperator.d.ts +1 -0
  19. package/dist/globalization/interfaces/filters/II18nFilter.d.ts +0 -1
  20. package/dist/globalization/interfaces/filters/II18nFilterPanel.d.ts +2 -0
  21. package/dist/globalization/interfaces/filters/II18nFilterPanelScopeTitle.d.ts +10 -0
  22. package/dist/globalization/interfaces/filters/II18nFilterPanelScopeTitle.js +1 -0
  23. package/dist/globalization/interfaces/filters/index.d.ts +1 -0
  24. package/dist/globalization/interfaces/filters/index.js +1 -0
  25. package/dist/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.js +6 -9
  26. package/dist/globalization/labels/filters/I18N_FILTER.js +0 -1
  27. package/dist/globalization/labels/filters/I18N_FILTER_PANEL.js +10 -0
  28. package/package.json +1 -1
  29. package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderCreateBucket.ts +0 -4
  30. package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderListBuckets.ts +2 -2
  31. package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderMessages.ts +2 -2
  32. package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderOperator.ts +1 -0
  33. package/src/globalization/interfaces/filters/II18nFilter.ts +0 -1
  34. package/src/globalization/interfaces/filters/II18nFilterPanel.ts +2 -0
  35. package/src/globalization/interfaces/filters/II18nFilterPanelScopeTitle.ts +10 -0
  36. package/src/globalization/interfaces/filters/index.ts +1 -0
  37. package/src/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.ts +6 -9
  38. package/src/globalization/labels/cross_tabs/I18N_CROSS_TABS.ts +1 -2
  39. package/src/globalization/labels/filters/I18N_FILTER.ts +0 -1
  40. package/src/globalization/labels/filters/I18N_FILTER_PANEL.ts +10 -0
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.4-19*
1
+ # [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.4-22*
2
2
 
3
3
  > Helper, Utils for all Qrvey Projects
4
4
 
@@ -108,12 +108,12 @@ Transforms String Date from a [mm/dd/yyyy] format to Date object.
108
108
 
109
109
 
110
110
 
111
- ### dist/dates/adapters/quarterYearToDate.js
111
+ ### dist/dates/adapters/monthYearToDate.js
112
112
 
113
113
 
114
- #### quarterYearToDate(quarterYearDate, time)
114
+ #### monthYearToDate(monthYearDate, time)
115
115
 
116
- Transforms String Date from a [Quarter Year] format to Date object.
116
+ Transforms String Date from a [Month Year] format to Date object.
117
117
 
118
118
 
119
119
 
@@ -122,7 +122,7 @@ Transforms String Date from a [Quarter Year] format to Date object.
122
122
 
123
123
  | Name | Type | Description | |
124
124
  | ---- | ---- | ----------- | -------- |
125
- | quarterYearDate | | String of [Quarter Year] date |   |
125
+ | monthYearDate | | String of [Month Year] date |   |
126
126
  | time | | Flag to parse the object date to milliseconds. |   |
127
127
 
128
128
 
@@ -136,12 +136,12 @@ Transforms String Date from a [Quarter Year] format to Date object.
136
136
 
137
137
 
138
138
 
139
- ### dist/dates/adapters/monthYearToDate.js
139
+ ### dist/dates/adapters/quarterYearToDate.js
140
140
 
141
141
 
142
- #### monthYearToDate(monthYearDate, time)
142
+ #### quarterYearToDate(quarterYearDate, time)
143
143
 
144
- Transforms String Date from a [Month Year] format to Date object.
144
+ Transforms String Date from a [Quarter Year] format to Date object.
145
145
 
146
146
 
147
147
 
@@ -150,7 +150,7 @@ Transforms String Date from a [Month Year] format to Date object.
150
150
 
151
151
  | Name | Type | Description | |
152
152
  | ---- | ---- | ----------- | -------- |
153
- | monthYearDate | | String of [Month Year] date |   |
153
+ | quarterYearDate | | String of [Quarter Year] date |   |
154
154
  | time | | Flag to parse the object date to milliseconds. |   |
155
155
 
156
156
 
@@ -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
 
@@ -1327,12 +1347,12 @@ Gets an filter structure for the UI filter data
1327
1347
 
1328
1348
 
1329
1349
 
1330
- ### dist/filters/adapters/logicToFlatUI.js
1350
+ ### dist/filters/adapters/logicToFD.js
1331
1351
 
1332
1352
 
1333
- #### logicToFlatUI(logics)
1353
+ #### logicToFD(filterData, version)
1334
1354
 
1335
- Adapts the Old logic structure (v2.0) to the flattened UI filter Structure.
1355
+ Generates a filter data structure from the old logic structure (v2.0).
1336
1356
 
1337
1357
 
1338
1358
 
@@ -1341,7 +1361,8 @@ Adapts the Old logic structure (v2.0) to the flattened UI filter Structure.
1341
1361
 
1342
1362
  | Name | Type | Description | |
1343
1363
  | ---- | ---- | ----------- | -------- |
1344
- | logics | | The old logic structure (v2.0) |   |
1364
+ | filterData | | The old filter data structure with logic (v2.0) |   |
1365
+ | version | | Tag for the version of the filter data structure |   |
1345
1366
 
1346
1367
 
1347
1368
 
@@ -1349,13 +1370,17 @@ Adapts the Old logic structure (v2.0) to the flattened UI filter Structure.
1349
1370
  ##### Returns
1350
1371
 
1351
1372
 
1352
- - The Flattened UI Filters array
1373
+ - a Filter Data.
1353
1374
 
1354
1375
 
1355
1376
 
1356
- #### getFilter(filters, filter, getIndex)
1357
1377
 
1358
- Get the filter or the index of the given array, validating an old filter structure.
1378
+ ### dist/filters/adapters/logicToFlatUI.js
1379
+
1380
+
1381
+ #### logicToFlatUI(logics)
1382
+
1383
+ Adapts the Old logic structure (v2.0) to the flattened UI filter Structure.
1359
1384
 
1360
1385
 
1361
1386
 
@@ -1364,9 +1389,7 @@ Get the filter or the index of the given array, validating an old filter structu
1364
1389
 
1365
1390
  | Name | Type | Description | |
1366
1391
  | ---- | ---- | ----------- | -------- |
1367
- | filters | | The array of UI filters |   |
1368
- | filter | | The old logic structure filter |   |
1369
- | getIndex | | Determines if the index or returns the UI filter object |   |
1392
+ | logics | | The old logic structure (v2.0) |   |
1370
1393
 
1371
1394
 
1372
1395
 
@@ -1374,13 +1397,13 @@ Get the filter or the index of the given array, validating an old filter structu
1374
1397
  ##### Returns
1375
1398
 
1376
1399
 
1377
- - the index or the UI filter object
1400
+ - The Flattened UI Filters array
1378
1401
 
1379
1402
 
1380
1403
 
1381
- #### refineRankingValues(values, uiValues)
1404
+ #### getFilter(filters, filter, getIndex)
1382
1405
 
1383
- Refines the values of the Ranking column type.
1406
+ Get the filter or the index of the given array, validating an old filter structure.
1384
1407
 
1385
1408
 
1386
1409
 
@@ -1389,8 +1412,9 @@ Refines the values of the Ranking column type.
1389
1412
 
1390
1413
  | Name | Type | Description | |
1391
1414
  | ---- | ---- | ----------- | -------- |
1392
- | values | | the Array of Ranking values |   |
1393
- | uiValues | | Object with additional info about the values of the filter. |   |
1415
+ | filters | | The array of UI filters |   |
1416
+ | filter | | The old logic structure filter |   |
1417
+ | getIndex | | Determines if the index or returns the UI filter object |   |
1394
1418
 
1395
1419
 
1396
1420
 
@@ -1398,17 +1422,13 @@ Refines the values of the Ranking column type.
1398
1422
  ##### Returns
1399
1423
 
1400
1424
 
1401
- - the array of Ranking values
1402
-
1403
-
1404
-
1425
+ - the index or the UI filter object
1405
1426
 
1406
- ### dist/filters/adapters/logicToFD.js
1407
1427
 
1408
1428
 
1409
- #### logicToFD(filterData, version)
1429
+ #### refineRankingValues(values, uiValues)
1410
1430
 
1411
- Generates a filter data structure from the old logic structure (v2.0).
1431
+ Refines the values of the Ranking column type.
1412
1432
 
1413
1433
 
1414
1434
 
@@ -1417,8 +1437,8 @@ Generates a filter data structure from the old logic structure (v2.0).
1417
1437
 
1418
1438
  | Name | Type | Description | |
1419
1439
  | ---- | ---- | ----------- | -------- |
1420
- | filterData | | The old filter data structure with logic (v2.0) |   |
1421
- | version | | Tag for the version of the filter data structure |   |
1440
+ | values | | the Array of Ranking values |   |
1441
+ | uiValues | | Object with additional info about the values of the filter. |   |
1422
1442
 
1423
1443
 
1424
1444
 
@@ -1426,7 +1446,7 @@ Generates a filter data structure from the old logic structure (v2.0).
1426
1446
  ##### Returns
1427
1447
 
1428
1448
 
1429
- - a Filter Data.
1449
+ - the array of Ranking values
1430
1450
 
1431
1451
 
1432
1452
 
@@ -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
 
@@ -22,10 +22,6 @@ export interface II18nBucketBuilderCreateBucket {
22
22
  search_bucket_placeholder: string;
23
23
  search_all_bucket: string;
24
24
  no_answers_found: string;
25
- rating_singular: string;
26
- rating_plural: string;
27
- slidebar_singular: string;
28
- slidebar_plural: string;
29
25
  basic: string;
30
26
  custom: string;
31
27
  list_buckets: string;
@@ -1,6 +1,6 @@
1
1
  export interface II18nBucketBuilderListBuckets {
2
2
  title: string;
3
- counter_singular: string;
4
- counter_plural: string;
3
+ counter_one: string;
4
+ counter_other: string;
5
5
  no_columns: string;
6
6
  }
@@ -1,7 +1,7 @@
1
1
  export interface II18nBucketBuilderMessages {
2
2
  bucket_added: string;
3
3
  bucket_edited: string;
4
- bucket_duplicate: string;
5
- bucket_delete: string;
4
+ bucket_duplicated: string;
5
+ bucket_deleted: string;
6
6
  bad_configuration_object: string;
7
7
  }
@@ -8,4 +8,5 @@ export interface II18nBucketBuilderOperator {
8
8
  month: string;
9
9
  before: string;
10
10
  after: string;
11
+ month_year: string;
11
12
  }
@@ -6,7 +6,6 @@ import { II18nRankingContainer } from "./II18nRankingContainer";
6
6
  import { II18nFilterOperator } from "./II18nFilterOperator";
7
7
  import { II18nFilterScopes } from "./II18nFilterScopes";
8
8
  export interface II18nFilter {
9
- scope_label: string;
10
9
  operators: II18nFilterOperator;
11
10
  ranking_container: II18nRankingContainer;
12
11
  relative_container: II18nRelativeContainer;
@@ -2,6 +2,7 @@ import { II18nFilterPanelCardAction } from "./II18nFilterPanelCardAction";
2
2
  import { II18nFilterPanelDeleteDialog } from "./II18nFilterPanelDeleteDialog";
3
3
  import { II18nFilterPanelEmptyState } from "./II18nFilterPanelEmptyState";
4
4
  import { II18nFilterPanelHeaderSection } from "./II18nFilterPanelHeaderSection";
5
+ import { II18nFilterPanelScopeTitle } from "./II18nFilterPanelScopeTitle";
5
6
  import { II18nFilterPanelScopeTooltip } from "./II18nFilterPanelScopeTooltip";
6
7
  import { II18nFilterPanelSettingsSection } from "./II18nFilterPanelSettingsSection";
7
8
  export interface II18nFilterPanel {
@@ -13,5 +14,6 @@ export interface II18nFilterPanel {
13
14
  delete_dialog: II18nFilterPanelDeleteDialog;
14
15
  header_section: II18nFilterPanelHeaderSection;
15
16
  scope_tooltip: II18nFilterPanelScopeTooltip;
17
+ scope_title: II18nFilterPanelScopeTitle;
16
18
  settings_section: II18nFilterPanelSettingsSection;
17
19
  }
@@ -0,0 +1,10 @@
1
+ export interface II18nFilterPanelScopeTitle {
2
+ admin: string;
3
+ data: string;
4
+ global: string;
5
+ page: string;
6
+ tab: string;
7
+ chart: string;
8
+ default: string;
9
+ action: string;
10
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -12,6 +12,7 @@ export * from './II18nFilterPanelCardAction';
12
12
  export * from './II18nFilterPanelDeleteDialog';
13
13
  export * from './II18nFilterPanelEmptyState';
14
14
  export * from './II18nFilterPanelHeaderSection';
15
+ export * from './II18nFilterPanelScopeTitle';
15
16
  export * from './II18nFilterPanelScopeTooltip';
16
17
  export * from './II18nFilterPanelSettingsContainerScopeConfig';
17
18
  export * from './II18nFilterPanelSettingsSection';
@@ -24,6 +24,7 @@ __exportStar(require("./II18nFilterPanelCardAction"), exports);
24
24
  __exportStar(require("./II18nFilterPanelDeleteDialog"), exports);
25
25
  __exportStar(require("./II18nFilterPanelEmptyState"), exports);
26
26
  __exportStar(require("./II18nFilterPanelHeaderSection"), exports);
27
+ __exportStar(require("./II18nFilterPanelScopeTitle"), exports);
27
28
  __exportStar(require("./II18nFilterPanelScopeTooltip"), exports);
28
29
  __exportStar(require("./II18nFilterPanelSettingsContainerScopeConfig"), exports);
29
30
  __exportStar(require("./II18nFilterPanelSettingsSection"), exports);
@@ -31,10 +31,6 @@ exports.I18N_BUCKET_BUILDER = {
31
31
  search_bucket_placeholder: 'Search',
32
32
  search_all_bucket: 'All',
33
33
  no_answers_found: 'No Answers Found',
34
- rating_singular: 'Star',
35
- rating_plural: 'Stars',
36
- slidebar_singular: 'Stop',
37
- slidebar_plural: 'Stops',
38
34
  basic: 'Basic',
39
35
  custom: 'Custom',
40
36
  list_buckets: 'Buckets',
@@ -85,12 +81,13 @@ exports.I18N_BUCKET_BUILDER = {
85
81
  year: 'Year',
86
82
  month: 'Month',
87
83
  before: 'Before',
88
- after: 'After'
84
+ after: 'After',
85
+ month_year: 'Month + Year',
89
86
  },
90
87
  list_buckets: {
91
88
  title: 'Available Buckets',
92
- counter_singular: 'Bucket',
93
- counter_plural: 'Buckets',
89
+ counter_one: 'Bucket',
90
+ counter_other: 'Buckets',
94
91
  no_columns: 'No bucketed columns created'
95
92
  },
96
93
  menu_bucket: {
@@ -113,8 +110,8 @@ exports.I18N_BUCKET_BUILDER = {
113
110
  messages: {
114
111
  bucket_added: 'Bucketed Column Successfully Saved as New',
115
112
  bucket_edited: 'Bucketed Column Successfully Edited',
116
- bucket_duplicate: 'Bucketed Column Successfully Duplicated',
117
- bucket_delete: 'Bucketed Column Successfully Deleted',
113
+ bucket_duplicated: 'Bucketed Column Successfully Duplicated',
114
+ bucket_deleted: 'Bucketed Column Successfully Deleted',
118
115
  bad_configuration_object: 'Bad Configuration Object'
119
116
  }
120
117
  };
@@ -9,7 +9,6 @@ const I18N_RELATIVE_CONTAINER_1 = require("./I18N_RELATIVE_CONTAINER");
9
9
  const I18N_SLIDEBAR_1 = require("./I18N_SLIDEBAR");
10
10
  const I18N_VALUE_CONTAINER_1 = require("./I18N_VALUE_CONTAINER");
11
11
  exports.I18N_FILTER = {
12
- scope_label: '{{scope}} Filters',
13
12
  operators: I18N_FILTER_OPERATOR_1.I18N_FILTER_OPERATOR,
14
13
  relative_container: I18N_RELATIVE_CONTAINER_1.I18N_RELATIVE_CONTAINER,
15
14
  scope: I18N_FILTER_SCOPE_1.I18N_FILTER_SCOPE,
@@ -24,6 +24,16 @@ exports.I18N_FILTER_PANEL = {
24
24
  cancel: 'Cancel',
25
25
  apply: 'Delete',
26
26
  },
27
+ scope_title: {
28
+ admin: 'Admin Filters',
29
+ data: 'Data Filters',
30
+ global: 'Global Filters',
31
+ page: 'Page Filters',
32
+ tab: 'Tab Filters',
33
+ chart: 'Panel Filters',
34
+ default: 'Default Filters',
35
+ action: 'Action Filters',
36
+ },
27
37
  scope_tooltip: {
28
38
  global: 'Filters applied to all pages',
29
39
  page: 'Filters applied to the current page',
@@ -22,10 +22,6 @@ export interface II18nBucketBuilderCreateBucket {
22
22
  search_bucket_placeholder: string;
23
23
  search_all_bucket: string;
24
24
  no_answers_found: string;
25
- rating_singular: string;
26
- rating_plural: string;
27
- slidebar_singular: string;
28
- slidebar_plural: string;
29
25
  basic: string;
30
26
  custom: string;
31
27
  list_buckets: string;
@@ -1,6 +1,6 @@
1
1
  export interface II18nBucketBuilderListBuckets {
2
2
  title: string;
3
- counter_singular: string;
4
- counter_plural: string;
3
+ counter_one: string;
4
+ counter_other: string;
5
5
  no_columns: string;
6
6
  }
@@ -1,7 +1,7 @@
1
1
  export interface II18nBucketBuilderMessages {
2
2
  bucket_added: string;
3
3
  bucket_edited: string;
4
- bucket_duplicate: string;
5
- bucket_delete: string;
4
+ bucket_duplicated: string;
5
+ bucket_deleted: string;
6
6
  bad_configuration_object: string;
7
7
  }
@@ -8,4 +8,5 @@ export interface II18nBucketBuilderOperator {
8
8
  month: string;
9
9
  before: string;
10
10
  after: string;
11
+ month_year: string;
11
12
  }
@@ -6,7 +6,6 @@ import { II18nRankingContainer } from "./II18nRankingContainer";
6
6
  import { II18nFilterOperator } from "./II18nFilterOperator";
7
7
  import { II18nFilterScopes } from "./II18nFilterScopes";
8
8
  export interface II18nFilter {
9
- scope_label: string;
10
9
  operators: II18nFilterOperator;
11
10
  ranking_container: II18nRankingContainer;
12
11
  relative_container: II18nRelativeContainer;
@@ -2,6 +2,7 @@ import { II18nFilterPanelCardAction } from "./II18nFilterPanelCardAction";
2
2
  import { II18nFilterPanelDeleteDialog } from "./II18nFilterPanelDeleteDialog";
3
3
  import { II18nFilterPanelEmptyState } from "./II18nFilterPanelEmptyState";
4
4
  import { II18nFilterPanelHeaderSection } from "./II18nFilterPanelHeaderSection";
5
+ import { II18nFilterPanelScopeTitle } from "./II18nFilterPanelScopeTitle";
5
6
  import { II18nFilterPanelScopeTooltip } from "./II18nFilterPanelScopeTooltip";
6
7
  import { II18nFilterPanelSettingsSection } from "./II18nFilterPanelSettingsSection";
7
8
  export interface II18nFilterPanel {
@@ -13,5 +14,6 @@ export interface II18nFilterPanel {
13
14
  delete_dialog: II18nFilterPanelDeleteDialog;
14
15
  header_section: II18nFilterPanelHeaderSection;
15
16
  scope_tooltip: II18nFilterPanelScopeTooltip;
17
+ scope_title: II18nFilterPanelScopeTitle;
16
18
  settings_section: II18nFilterPanelSettingsSection;
17
19
  }
@@ -0,0 +1,10 @@
1
+ export interface II18nFilterPanelScopeTitle {
2
+ admin: string;
3
+ data: string;
4
+ global: string;
5
+ page: string;
6
+ tab: string;
7
+ chart: string;
8
+ default: string;
9
+ action: string;
10
+ }
@@ -12,6 +12,7 @@ export * from './II18nFilterPanelCardAction';
12
12
  export * from './II18nFilterPanelDeleteDialog';
13
13
  export * from './II18nFilterPanelEmptyState';
14
14
  export * from './II18nFilterPanelHeaderSection';
15
+ export * from './II18nFilterPanelScopeTitle';
15
16
  export * from './II18nFilterPanelScopeTooltip';
16
17
  export * from './II18nFilterPanelSettingsContainerScopeConfig';
17
18
  export * from './II18nFilterPanelSettingsSection';
@@ -12,6 +12,7 @@ export * from './II18nFilterPanelCardAction';
12
12
  export * from './II18nFilterPanelDeleteDialog';
13
13
  export * from './II18nFilterPanelEmptyState';
14
14
  export * from './II18nFilterPanelHeaderSection';
15
+ export * from './II18nFilterPanelScopeTitle';
15
16
  export * from './II18nFilterPanelScopeTooltip';
16
17
  export * from './II18nFilterPanelSettingsContainerScopeConfig';
17
18
  export * from './II18nFilterPanelSettingsSection';
@@ -28,10 +28,6 @@ export const I18N_BUCKET_BUILDER = {
28
28
  search_bucket_placeholder: 'Search',
29
29
  search_all_bucket: 'All',
30
30
  no_answers_found: 'No Answers Found',
31
- rating_singular: 'Star',
32
- rating_plural: 'Stars',
33
- slidebar_singular: 'Stop',
34
- slidebar_plural: 'Stops',
35
31
  basic: 'Basic',
36
32
  custom: 'Custom',
37
33
  list_buckets: 'Buckets',
@@ -82,12 +78,13 @@ export const I18N_BUCKET_BUILDER = {
82
78
  year: 'Year',
83
79
  month: 'Month',
84
80
  before: 'Before',
85
- after: 'After'
81
+ after: 'After',
82
+ month_year: 'Month + Year',
86
83
  },
87
84
  list_buckets: {
88
85
  title: 'Available Buckets',
89
- counter_singular: 'Bucket',
90
- counter_plural: 'Buckets',
86
+ counter_one: 'Bucket',
87
+ counter_other: 'Buckets',
91
88
  no_columns: 'No bucketed columns created'
92
89
  },
93
90
  menu_bucket: {
@@ -110,8 +107,8 @@ export const I18N_BUCKET_BUILDER = {
110
107
  messages: {
111
108
  bucket_added: 'Bucketed Column Successfully Saved as New',
112
109
  bucket_edited: 'Bucketed Column Successfully Edited',
113
- bucket_duplicate: 'Bucketed Column Successfully Duplicated',
114
- bucket_delete: 'Bucketed Column Successfully Deleted',
110
+ bucket_duplicated: 'Bucketed Column Successfully Duplicated',
111
+ bucket_deleted: 'Bucketed Column Successfully Deleted',
115
112
  bad_configuration_object: 'Bad Configuration Object'
116
113
  }
117
114
  };
@@ -6,7 +6,6 @@ import { I18N_RELATIVE_CONTAINER } from "./I18N_RELATIVE_CONTAINER";
6
6
  import { I18N_SLIDEBAR } from "./I18N_SLIDEBAR";
7
7
  import { I18N_VALUE_CONTAINER } from "./I18N_VALUE_CONTAINER";
8
8
  export const I18N_FILTER = {
9
- scope_label: '{{scope}} Filters',
10
9
  operators: I18N_FILTER_OPERATOR,
11
10
  relative_container: I18N_RELATIVE_CONTAINER,
12
11
  scope: I18N_FILTER_SCOPE,
@@ -21,6 +21,16 @@ export const I18N_FILTER_PANEL = {
21
21
  cancel: 'Cancel',
22
22
  apply: 'Delete',
23
23
  },
24
+ scope_title: {
25
+ admin: 'Admin Filters',
26
+ data: 'Data Filters',
27
+ global: 'Global Filters',
28
+ page: 'Page Filters',
29
+ tab: 'Tab Filters',
30
+ chart: 'Panel Filters',
31
+ default: 'Default Filters',
32
+ action: 'Action Filters',
33
+ },
24
34
  scope_tooltip: {
25
35
  global: 'Filters applied to all pages',
26
36
  page: 'Filters applied to the current page',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qrvey/utils",
3
- "version": "1.2.4-19",
3
+ "version": "1.2.4-22",
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",
@@ -22,10 +22,6 @@ export interface II18nBucketBuilderCreateBucket {
22
22
  search_bucket_placeholder: string;
23
23
  search_all_bucket: string;
24
24
  no_answers_found: string;
25
- rating_singular: string;
26
- rating_plural: string;
27
- slidebar_singular: string;
28
- slidebar_plural: string;
29
25
  basic: string;
30
26
  custom: string;
31
27
  list_buckets: string;
@@ -1,6 +1,6 @@
1
1
  export interface II18nBucketBuilderListBuckets {
2
2
  title: string;
3
- counter_singular: string;
4
- counter_plural: string;
3
+ counter_one: string;
4
+ counter_other: string;
5
5
  no_columns: string;
6
6
  }
@@ -1,7 +1,7 @@
1
1
  export interface II18nBucketBuilderMessages {
2
2
  bucket_added: string;
3
3
  bucket_edited: string;
4
- bucket_duplicate: string;
5
- bucket_delete: string;
4
+ bucket_duplicated: string;
5
+ bucket_deleted: string;
6
6
  bad_configuration_object: string;
7
7
  }
@@ -8,4 +8,5 @@ export interface II18nBucketBuilderOperator {
8
8
  month: string;
9
9
  before: string;
10
10
  after: string;
11
+ month_year: string;
11
12
  }
@@ -7,7 +7,6 @@ import { II18nFilterOperator } from "./II18nFilterOperator";
7
7
  import { II18nFilterScopes } from "./II18nFilterScopes";
8
8
 
9
9
  export interface II18nFilter {
10
- scope_label: string; // The sustantive of the scopes. i.e: scope_label='Filters'; Result: Global *Filters*
11
10
  operators: II18nFilterOperator;
12
11
  ranking_container: II18nRankingContainer;
13
12
  relative_container: II18nRelativeContainer;
@@ -2,6 +2,7 @@ import { II18nFilterPanelCardAction } from "./II18nFilterPanelCardAction";
2
2
  import { II18nFilterPanelDeleteDialog } from "./II18nFilterPanelDeleteDialog";
3
3
  import { II18nFilterPanelEmptyState } from "./II18nFilterPanelEmptyState";
4
4
  import { II18nFilterPanelHeaderSection } from "./II18nFilterPanelHeaderSection";
5
+ import { II18nFilterPanelScopeTitle } from "./II18nFilterPanelScopeTitle";
5
6
  import { II18nFilterPanelScopeTooltip } from "./II18nFilterPanelScopeTooltip";
6
7
  import { II18nFilterPanelSettingsSection } from "./II18nFilterPanelSettingsSection";
7
8
 
@@ -14,5 +15,6 @@ export interface II18nFilterPanel {
14
15
  delete_dialog: II18nFilterPanelDeleteDialog;
15
16
  header_section: II18nFilterPanelHeaderSection;
16
17
  scope_tooltip: II18nFilterPanelScopeTooltip;
18
+ scope_title: II18nFilterPanelScopeTitle;
17
19
  settings_section: II18nFilterPanelSettingsSection;
18
20
  }
@@ -0,0 +1,10 @@
1
+ export interface II18nFilterPanelScopeTitle {
2
+ admin: string;
3
+ data: string;
4
+ global: string;
5
+ page: string;
6
+ tab: string;
7
+ chart: string;
8
+ default: string;
9
+ action: string;
10
+ }
@@ -13,6 +13,7 @@ export * from './II18nFilterPanelCardAction';
13
13
  export * from './II18nFilterPanelDeleteDialog';
14
14
  export * from './II18nFilterPanelEmptyState';
15
15
  export * from './II18nFilterPanelHeaderSection';
16
+ export * from './II18nFilterPanelScopeTitle';
16
17
  export * from './II18nFilterPanelScopeTooltip';
17
18
  export * from './II18nFilterPanelSettingsContainerScopeConfig';
18
19
  export * from './II18nFilterPanelSettingsSection';
@@ -30,10 +30,6 @@ export const I18N_BUCKET_BUILDER: II18nBucketBuilder = {
30
30
  search_bucket_placeholder: 'Search',
31
31
  search_all_bucket: 'All',
32
32
  no_answers_found: 'No Answers Found',
33
- rating_singular: 'Star',
34
- rating_plural: 'Stars',
35
- slidebar_singular: 'Stop',
36
- slidebar_plural: 'Stops',
37
33
  basic: 'Basic',
38
34
  custom: 'Custom',
39
35
  list_buckets: 'Buckets',
@@ -84,12 +80,13 @@ export const I18N_BUCKET_BUILDER: II18nBucketBuilder = {
84
80
  year: 'Year',
85
81
  month: 'Month',
86
82
  before: 'Before',
87
- after: 'After'
83
+ after: 'After',
84
+ month_year: 'Month + Year',
88
85
  },
89
86
  list_buckets: {
90
87
  title: 'Available Buckets',
91
- counter_singular: 'Bucket',
92
- counter_plural: 'Buckets',
88
+ counter_one: 'Bucket',
89
+ counter_other: 'Buckets',
93
90
  no_columns: 'No bucketed columns created'
94
91
  },
95
92
  menu_bucket: {
@@ -112,8 +109,8 @@ export const I18N_BUCKET_BUILDER: II18nBucketBuilder = {
112
109
  messages: {
113
110
  bucket_added: 'Bucketed Column Successfully Saved as New',
114
111
  bucket_edited: 'Bucketed Column Successfully Edited',
115
- bucket_duplicate: 'Bucketed Column Successfully Duplicated',
116
- bucket_delete: 'Bucketed Column Successfully Deleted',
112
+ bucket_duplicated: 'Bucketed Column Successfully Duplicated',
113
+ bucket_deleted: 'Bucketed Column Successfully Deleted',
117
114
  bad_configuration_object: 'Bad Configuration Object'
118
115
  }
119
116
  };
@@ -1,8 +1,7 @@
1
1
  import { II18nCrossTabs } from '../../interfaces/cross_tabs';
2
2
 
3
3
  export const I18N_CROSS_TABS: II18nCrossTabs = {
4
- footer_message:
5
- '* Grand Totals and Subtotals are based on the aggregate of the data values.',
4
+ footer_message: '* Grand Totals and Subtotals are based on the aggregate of the data values.',
6
5
  grand_total: 'Grand Total',
7
6
  no_data: 'No Data',
8
7
  sort: {
@@ -8,7 +8,6 @@ import { I18N_SLIDEBAR } from "./I18N_SLIDEBAR";
8
8
  import { I18N_VALUE_CONTAINER } from "./I18N_VALUE_CONTAINER";
9
9
 
10
10
  export const I18N_FILTER: II18nFilter = {
11
- scope_label: '{{scope}} Filters',
12
11
  operators: I18N_FILTER_OPERATOR,
13
12
  relative_container: I18N_RELATIVE_CONTAINER,
14
13
  scope: I18N_FILTER_SCOPE,
@@ -23,6 +23,16 @@ export const I18N_FILTER_PANEL: II18nFilterPanel = {
23
23
  cancel: 'Cancel',
24
24
  apply: 'Delete',
25
25
  },
26
+ scope_title: {
27
+ admin: 'Admin Filters',
28
+ data: 'Data Filters',
29
+ global: 'Global Filters',
30
+ page: 'Page Filters',
31
+ tab: 'Tab Filters',
32
+ chart: 'Panel Filters',
33
+ default: 'Default Filters',
34
+ action: 'Action Filters',
35
+ },
26
36
  scope_tooltip: {
27
37
  global: 'Filters applied to all pages',
28
38
  page: 'Filters applied to the current page',