@qrvey/utils 1.2.9-11 → 1.2.9-12

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 (30) hide show
  1. package/README.md +259 -259
  2. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboard.d.ts +2 -0
  3. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardMessages.d.ts +6 -0
  4. package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardMessages.js +2 -0
  5. package/dist/cjs/globalization/interfaces/dashboard/index.d.ts +1 -0
  6. package/dist/cjs/globalization/interfaces/dashboard/index.js +1 -0
  7. package/dist/cjs/globalization/interfaces/filters/II18nRelativeContainer.d.ts +1 -0
  8. package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.js +1 -1
  9. package/dist/cjs/globalization/labels/dashboard/I18N_DASHBOARD.js +6 -0
  10. package/dist/cjs/globalization/labels/filters/I18N_RELATIVE_CONTAINER.js +1 -0
  11. package/dist/cjs/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.js +2 -2
  12. package/dist/globalization/interfaces/dashboard/II18nDashboard.d.ts +2 -0
  13. package/dist/globalization/interfaces/dashboard/II18nDashboardMessages.d.ts +6 -0
  14. package/dist/globalization/interfaces/dashboard/II18nDashboardMessages.js +1 -0
  15. package/dist/globalization/interfaces/dashboard/index.d.ts +1 -0
  16. package/dist/globalization/interfaces/dashboard/index.js +1 -0
  17. package/dist/globalization/interfaces/filters/II18nRelativeContainer.d.ts +1 -0
  18. package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.js +1 -1
  19. package/dist/globalization/labels/dashboard/I18N_DASHBOARD.js +6 -0
  20. package/dist/globalization/labels/filters/I18N_RELATIVE_CONTAINER.js +1 -0
  21. package/dist/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.js +2 -2
  22. package/package.json +1 -1
  23. package/src/globalization/interfaces/dashboard/II18nDashboard.ts +2 -0
  24. package/src/globalization/interfaces/dashboard/II18nDashboardMessages.ts +6 -0
  25. package/src/globalization/interfaces/dashboard/index.ts +1 -0
  26. package/src/globalization/interfaces/filters/II18nRelativeContainer.ts +1 -0
  27. package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.ts +1 -1
  28. package/src/globalization/labels/dashboard/I18N_DASHBOARD.ts +6 -0
  29. package/src/globalization/labels/filters/I18N_RELATIVE_CONTAINER.ts +1 -0
  30. package/src/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.ts +2 -2
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.9-11*
1
+ # [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.9-12*
2
2
 
3
3
  > Helper, Utils for all Qrvey Projects
4
4
 
@@ -3244,12 +3244,12 @@ Returns a filter builder config object by a any given config
3244
3244
 
3245
3245
 
3246
3246
 
3247
- ### dist/filters/helpers/common/excludeFiltersByAggregateColumn.js
3247
+ ### dist/filters/helpers/ui/excludeUIFiltersByAggregate.js
3248
3248
 
3249
3249
 
3250
- #### excludeFiltersByAggregateColumn(filterData)
3250
+ #### excludeUIFiltersByAggregate(uFilters)
3251
3251
 
3252
- Excludes Aggregate Filters in the Filter Data. Excluding filters when the column.aggregate is included.
3252
+ Excludes Aggregate Filters in the Flattened UI Filters array
3253
3253
 
3254
3254
 
3255
3255
 
@@ -3258,7 +3258,7 @@ Excludes Aggregate Filters in the Filter Data. Excluding filters when the column
3258
3258
 
3259
3259
  | Name | Type | Description | |
3260
3260
  | ---- | ---- | ----------- | -------- |
3261
- | filterData | | The filter data object |   |
3261
+ | uFilters | | Collection of Flat UI Filters |   |
3262
3262
 
3263
3263
 
3264
3264
 
@@ -3266,7 +3266,232 @@ Excludes Aggregate Filters in the Filter Data. Excluding filters when the column
3266
3266
  ##### Returns
3267
3267
 
3268
3268
 
3269
- - The new filter data object that were excluded the aggregate filters
3269
+ - a new Flat UI Filters that were excluded the aggregate filters
3270
+
3271
+
3272
+
3273
+
3274
+ ### dist/filters/helpers/ui/excludeUIFlatFiltersByScopes.js
3275
+
3276
+
3277
+ #### excludeUIFlatFiltersByScopes(uFilters, scopes)
3278
+
3279
+ Excludes and returns a UI Flat Filters without filters by the given scopes
3280
+
3281
+
3282
+
3283
+
3284
+ ##### Parameters
3285
+
3286
+ | Name | Type | Description | |
3287
+ | ---- | ---- | ----------- | -------- |
3288
+ | uFilters | | The Flatten UI Filters |   |
3289
+ | scopes | | collection of scopes types |   |
3290
+
3291
+
3292
+
3293
+
3294
+ ##### Returns
3295
+
3296
+
3297
+ - The new array of UI Flattened filters
3298
+
3299
+
3300
+
3301
+
3302
+ ### dist/filters/helpers/ui/getFilterPropertyLabel.js
3303
+
3304
+
3305
+ #### getFilterPropertyLabel(filter)
3306
+
3307
+ Gets the label of the filter property
3308
+
3309
+
3310
+
3311
+
3312
+ ##### Parameters
3313
+
3314
+ | Name | Type | Description | |
3315
+ | ---- | ---- | ----------- | -------- |
3316
+ | filter | | The UI Filter |   |
3317
+
3318
+
3319
+
3320
+
3321
+ ##### Returns
3322
+
3323
+
3324
+ - a string of the filter property label
3325
+
3326
+
3327
+
3328
+
3329
+ ### dist/filters/helpers/ui/getOutputFormatByColumn.js
3330
+
3331
+
3332
+ #### getOutputFormatByColumn(column, datasets)
3333
+
3334
+ Gets output format object from Datasets by the given column. Item of the datasets array must have outputformat item in order to be returned
3335
+
3336
+
3337
+
3338
+
3339
+ ##### Parameters
3340
+
3341
+ | Name | Type | Description | |
3342
+ | ---- | ---- | ----------- | -------- |
3343
+ | column | | The column |   |
3344
+ | datasets | | array of datasets |   |
3345
+
3346
+
3347
+
3348
+
3349
+ ##### Returns
3350
+
3351
+
3352
+ - The output format object
3353
+
3354
+
3355
+
3356
+
3357
+ ### dist/filters/helpers/ui/getUIFlatFilterByParams.js
3358
+
3359
+
3360
+ #### getUIFlatFilterByParams()
3361
+
3362
+ Gets a filter from the given Flattened UI Filters by given params. Return a index of the array or an object
3363
+ The validation to filter the stored filter is depending on:
3364
+ - Column
3365
+ - Qrvey ID,
3366
+ - Scope type
3367
+ - Scope ID
3368
+ - Panel ID
3369
+ - Validator type
3370
+ - Property type
3371
+
3372
+
3373
+
3374
+
3375
+
3376
+
3377
+ ##### Returns
3378
+
3379
+
3380
+ - The index of the uFilter array or the Filter object s
3381
+
3382
+
3383
+
3384
+
3385
+ ### dist/filters/helpers/ui/getUIFlatFiltersByParams.js
3386
+
3387
+
3388
+ #### getUIFlatFiltersByParams()
3389
+
3390
+ Gets a filter from the given Flattened UI Filters by given params. Return a index of the array or an object
3391
+ The validation to filter the stored filter is depending on:
3392
+ - Column
3393
+ - Qrvey ID,
3394
+ - Scope type
3395
+ - Scope ID
3396
+ - Panel ID
3397
+ - Validator type
3398
+ - Property type
3399
+ - Enabled flags
3400
+
3401
+
3402
+
3403
+
3404
+
3405
+
3406
+ ##### Returns
3407
+
3408
+
3409
+ - The index of the uFilter array or the Filter object s
3410
+
3411
+
3412
+
3413
+
3414
+ ### dist/filters/helpers/ui/getUIFlatFiltersByScopes.js
3415
+
3416
+
3417
+ #### getUIFlatFiltersByScopes(uFilters, scopes)
3418
+
3419
+ Filters and gets a UI Flatten Filters by the given scopes
3420
+
3421
+
3422
+
3423
+
3424
+ ##### Parameters
3425
+
3426
+ | Name | Type | Description | |
3427
+ | ---- | ---- | ----------- | -------- |
3428
+ | uFilters | | The Flatten UI Filters |   |
3429
+ | scopes | | collection of scopes types |   |
3430
+
3431
+
3432
+
3433
+
3434
+ ##### Returns
3435
+
3436
+
3437
+ - The new array of UI Flattened filters
3438
+
3439
+
3440
+
3441
+
3442
+ ### dist/filters/helpers/ui/getUIValues.js
3443
+
3444
+
3445
+ #### getUIValues(filter, addEnableds, rankingGroupIndex)
3446
+
3447
+
3448
+
3449
+
3450
+
3451
+
3452
+ ##### Parameters
3453
+
3454
+ | Name | Type | Description | |
3455
+ | ---- | ---- | ----------- | -------- |
3456
+ | filter | | |   |
3457
+ | addEnableds | | |   |
3458
+ | rankingGroupIndex | | |   |
3459
+
3460
+
3461
+
3462
+
3463
+ ##### Returns
3464
+
3465
+
3466
+ -
3467
+
3468
+
3469
+
3470
+
3471
+ ### dist/filters/helpers/ui/resolveUIFlatFiltersByParams.js
3472
+
3473
+
3474
+ #### resolveUIFlatFilterByParams(filter, params)
3475
+
3476
+ Resolves conditions between UI flattened filter and given parameters
3477
+
3478
+
3479
+
3480
+
3481
+ ##### Parameters
3482
+
3483
+ | Name | Type | Description | |
3484
+ | ---- | ---- | ----------- | -------- |
3485
+ | filter | | UI Flatten Filter |   |
3486
+ | params | | Parameters to validate |   |
3487
+
3488
+
3489
+
3490
+
3491
+ ##### Returns
3492
+
3493
+
3494
+ - true: the conditions are satisfied.
3270
3495
 
3271
3496
 
3272
3497
 
@@ -3294,7 +3519,34 @@ Validates if both filters are the same
3294
3519
  ##### Returns
3295
3520
 
3296
3521
 
3297
- - true: the filters are equal; false: the filters are NOT equal
3522
+ - true: the filters are equal; false: the filters are NOT equal
3523
+
3524
+
3525
+
3526
+
3527
+ ### dist/filters/helpers/common/excludeFiltersByAggregateColumn.js
3528
+
3529
+
3530
+ #### excludeFiltersByAggregateColumn(filterData)
3531
+
3532
+ Excludes Aggregate Filters in the Filter Data. Excluding filters when the column.aggregate is included.
3533
+
3534
+
3535
+
3536
+
3537
+ ##### Parameters
3538
+
3539
+ | Name | Type | Description | |
3540
+ | ---- | ---- | ----------- | -------- |
3541
+ | filterData | | The filter data object |   |
3542
+
3543
+
3544
+
3545
+
3546
+ ##### Returns
3547
+
3548
+
3549
+ - The new filter data object that were excluded the aggregate filters
3298
3550
 
3299
3551
 
3300
3552
 
@@ -4068,256 +4320,4 @@ Resolves the conditions by given params
4068
4320
 
4069
4321
 
4070
4322
 
4071
- ### dist/filters/helpers/ui/excludeUIFiltersByAggregate.js
4072
-
4073
-
4074
- #### excludeUIFiltersByAggregate(uFilters)
4075
-
4076
- Excludes Aggregate Filters in the Flattened UI Filters array
4077
-
4078
-
4079
-
4080
-
4081
- ##### Parameters
4082
-
4083
- | Name | Type | Description | |
4084
- | ---- | ---- | ----------- | -------- |
4085
- | uFilters | | Collection of Flat UI Filters |   |
4086
-
4087
-
4088
-
4089
-
4090
- ##### Returns
4091
-
4092
-
4093
- - a new Flat UI Filters that were excluded the aggregate filters
4094
-
4095
-
4096
-
4097
-
4098
- ### dist/filters/helpers/ui/excludeUIFlatFiltersByScopes.js
4099
-
4100
-
4101
- #### excludeUIFlatFiltersByScopes(uFilters, scopes)
4102
-
4103
- Excludes and returns a UI Flat Filters without filters by the given scopes
4104
-
4105
-
4106
-
4107
-
4108
- ##### Parameters
4109
-
4110
- | Name | Type | Description | |
4111
- | ---- | ---- | ----------- | -------- |
4112
- | uFilters | | The Flatten UI Filters |   |
4113
- | scopes | | collection of scopes types |   |
4114
-
4115
-
4116
-
4117
-
4118
- ##### Returns
4119
-
4120
-
4121
- - The new array of UI Flattened filters
4122
-
4123
-
4124
-
4125
-
4126
- ### dist/filters/helpers/ui/getFilterPropertyLabel.js
4127
-
4128
-
4129
- #### getFilterPropertyLabel(filter)
4130
-
4131
- Gets the label of the filter property
4132
-
4133
-
4134
-
4135
-
4136
- ##### Parameters
4137
-
4138
- | Name | Type | Description | |
4139
- | ---- | ---- | ----------- | -------- |
4140
- | filter | | The UI Filter |   |
4141
-
4142
-
4143
-
4144
-
4145
- ##### Returns
4146
-
4147
-
4148
- - a string of the filter property label
4149
-
4150
-
4151
-
4152
-
4153
- ### dist/filters/helpers/ui/getOutputFormatByColumn.js
4154
-
4155
-
4156
- #### getOutputFormatByColumn(column, datasets)
4157
-
4158
- Gets output format object from Datasets by the given column. Item of the datasets array must have outputformat item in order to be returned
4159
-
4160
-
4161
-
4162
-
4163
- ##### Parameters
4164
-
4165
- | Name | Type | Description | |
4166
- | ---- | ---- | ----------- | -------- |
4167
- | column | | The column |   |
4168
- | datasets | | array of datasets |   |
4169
-
4170
-
4171
-
4172
-
4173
- ##### Returns
4174
-
4175
-
4176
- - The output format object
4177
-
4178
-
4179
-
4180
-
4181
- ### dist/filters/helpers/ui/getUIFlatFilterByParams.js
4182
-
4183
-
4184
- #### getUIFlatFilterByParams()
4185
-
4186
- Gets a filter from the given Flattened UI Filters by given params. Return a index of the array or an object
4187
- The validation to filter the stored filter is depending on:
4188
- - Column
4189
- - Qrvey ID,
4190
- - Scope type
4191
- - Scope ID
4192
- - Panel ID
4193
- - Validator type
4194
- - Property type
4195
-
4196
-
4197
-
4198
-
4199
-
4200
-
4201
- ##### Returns
4202
-
4203
-
4204
- - The index of the uFilter array or the Filter object s
4205
-
4206
-
4207
-
4208
-
4209
- ### dist/filters/helpers/ui/getUIFlatFiltersByParams.js
4210
-
4211
-
4212
- #### getUIFlatFiltersByParams()
4213
-
4214
- Gets a filter from the given Flattened UI Filters by given params. Return a index of the array or an object
4215
- The validation to filter the stored filter is depending on:
4216
- - Column
4217
- - Qrvey ID,
4218
- - Scope type
4219
- - Scope ID
4220
- - Panel ID
4221
- - Validator type
4222
- - Property type
4223
- - Enabled flags
4224
-
4225
-
4226
-
4227
-
4228
-
4229
-
4230
- ##### Returns
4231
-
4232
-
4233
- - The index of the uFilter array or the Filter object s
4234
-
4235
-
4236
-
4237
-
4238
- ### dist/filters/helpers/ui/getUIFlatFiltersByScopes.js
4239
-
4240
-
4241
- #### getUIFlatFiltersByScopes(uFilters, scopes)
4242
-
4243
- Filters and gets a UI Flatten Filters by the given scopes
4244
-
4245
-
4246
-
4247
-
4248
- ##### Parameters
4249
-
4250
- | Name | Type | Description | |
4251
- | ---- | ---- | ----------- | -------- |
4252
- | uFilters | | The Flatten UI Filters |   |
4253
- | scopes | | collection of scopes types |   |
4254
-
4255
-
4256
-
4257
-
4258
- ##### Returns
4259
-
4260
-
4261
- - The new array of UI Flattened filters
4262
-
4263
-
4264
-
4265
-
4266
- ### dist/filters/helpers/ui/getUIValues.js
4267
-
4268
-
4269
- #### getUIValues(filter, addEnableds, rankingGroupIndex)
4270
-
4271
-
4272
-
4273
-
4274
-
4275
-
4276
- ##### Parameters
4277
-
4278
- | Name | Type | Description | |
4279
- | ---- | ---- | ----------- | -------- |
4280
- | filter | | |   |
4281
- | addEnableds | | |   |
4282
- | rankingGroupIndex | | |   |
4283
-
4284
-
4285
-
4286
-
4287
- ##### Returns
4288
-
4289
-
4290
- -
4291
-
4292
-
4293
-
4294
-
4295
- ### dist/filters/helpers/ui/resolveUIFlatFiltersByParams.js
4296
-
4297
-
4298
- #### resolveUIFlatFilterByParams(filter, params)
4299
-
4300
- Resolves conditions between UI flattened filter and given parameters
4301
-
4302
-
4303
-
4304
-
4305
- ##### Parameters
4306
-
4307
- | Name | Type | Description | |
4308
- | ---- | ---- | ----------- | -------- |
4309
- | filter | | UI Flatten Filter |   |
4310
- | params | | Parameters to validate |   |
4311
-
4312
-
4313
-
4314
-
4315
- ##### Returns
4316
-
4317
-
4318
- - true: the conditions are satisfied.
4319
-
4320
-
4321
-
4322
-
4323
4323
  *Documentation generated with [doxdox](https://github.com/neogeek/doxdox).*
@@ -1,5 +1,6 @@
1
1
  import { II18nDashboardAddChart } from "./II18nDashboardAddChart";
2
2
  import { II18nDashboardEmptyState } from "./II18nDashboardEmptyState";
3
+ import { II18nDashboardMessages } from "./II18nDashboardMessages";
3
4
  import { II18nDashboardToast } from "./II18nDashboardToast";
4
5
  import { II18nDashboardTooltips } from "./II18nDashboardTooltips";
5
6
  import { II18nDashboardViews } from "./II18nDashboardViews";
@@ -11,4 +12,5 @@ export interface II18nDashboard {
11
12
  tooltips: II18nDashboardTooltips;
12
13
  views: II18nDashboardViews;
13
14
  empty_state: II18nDashboardEmptyState;
15
+ messages: II18nDashboardMessages;
14
16
  }
@@ -0,0 +1,6 @@
1
+ export interface II18nDashboardMessages {
2
+ dataset_not_available: string;
3
+ dataset_not_found: string;
4
+ server_error: string;
5
+ try_again: string;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -3,4 +3,5 @@ export * from './II18nDashboardAddChart';
3
3
  export * from './II18nDashboardTooltips';
4
4
  export * from './II18nDashboardViews';
5
5
  export * from './II18nDashboardEmptyState';
6
+ export * from './II18nDashboardMessages';
6
7
  export * from './II18nDashboard';
@@ -15,4 +15,5 @@ __exportStar(require("./II18nDashboardAddChart"), exports);
15
15
  __exportStar(require("./II18nDashboardTooltips"), exports);
16
16
  __exportStar(require("./II18nDashboardViews"), exports);
17
17
  __exportStar(require("./II18nDashboardEmptyState"), exports);
18
+ __exportStar(require("./II18nDashboardMessages"), exports);
18
19
  __exportStar(require("./II18nDashboard"), exports);
@@ -5,6 +5,7 @@ export interface II18nRelativeContainer {
5
5
  current_date: string;
6
6
  cursors: II18nRelativeContainerCursor;
7
7
  date_selected: string;
8
+ from_label: string;
8
9
  starting_date: string;
9
10
  starting_date_tooltip: string;
10
11
  starting_from: string;
@@ -110,7 +110,7 @@ exports.I18N_CHART_BUILDER_STYLE_OPTIONS = {
110
110
  thickness_thin: 'Thin',
111
111
  thickness_normal: 'Normal',
112
112
  thickness_bold: 'Bold',
113
- styles_title: 'line Styles',
113
+ styles_title: 'Line Style',
114
114
  styles_solid: 'Solid',
115
115
  styles_dashed: 'Dashed',
116
116
  styles_dotted: 'Dotted',
@@ -14,6 +14,12 @@ exports.I18N_DASHBOARD = {
14
14
  learn_more: 'Learn more',
15
15
  },
16
16
  export_csv: "Export to CSV",
17
+ messages: {
18
+ dataset_not_available: "Dataset not available at the moment.",
19
+ dataset_not_found: "Dataset not found.",
20
+ server_error: "Server Error.",
21
+ try_again: "Try Again",
22
+ },
17
23
  no_record_found: 'No Records Found',
18
24
  toast: {
19
25
  add_record_message: 'Record Successfully Added.',
@@ -8,6 +8,7 @@ exports.I18N_RELATIVE_CONTAINER = {
8
8
  current_date: 'Current Date',
9
9
  cursors: I18N_RELATIVE_CURSOR_1.I18N_RELATIVE_CURSOR,
10
10
  date_selected: 'Date Selected',
11
+ from_label: 'from',
11
12
  starting_date: 'Include starting date',
12
13
  starting_date_tooltip: 'The relative date will include the specific starting date and a period of time to show from that date onwards (Inclusive range). <br/> Unchecking this option will exclude the chosen starting date (exclusive range) from the date range.',
13
14
  starting_from: 'Starting From',
@@ -39,7 +39,7 @@ exports.I18N_FORMULA_BUILDER = {
39
39
  test: 'Test',
40
40
  clear: 'Clear',
41
41
  insert_function: 'Insert Functions',
42
- insert_column: 'Inset Columns',
42
+ insert_column: 'Insert Columns',
43
43
  search_function: 'Search',
44
44
  search_column: 'Search',
45
45
  box_function_empty: 'No Function Selected',
@@ -58,7 +58,7 @@ exports.I18N_FORMULA_BUILDER = {
58
58
  numeric: 'Numeric',
59
59
  string: 'String/Text',
60
60
  date: 'Date/Time',
61
- aggregate: 'Aggreagtes'
61
+ aggregate: 'Aggregates'
62
62
  },
63
63
  function_is_null: {
64
64
  description: 'Replaces NULL with the specified replacement value.',
@@ -1,5 +1,6 @@
1
1
  import { II18nDashboardAddChart } from "./II18nDashboardAddChart";
2
2
  import { II18nDashboardEmptyState } from "./II18nDashboardEmptyState";
3
+ import { II18nDashboardMessages } from "./II18nDashboardMessages";
3
4
  import { II18nDashboardToast } from "./II18nDashboardToast";
4
5
  import { II18nDashboardTooltips } from "./II18nDashboardTooltips";
5
6
  import { II18nDashboardViews } from "./II18nDashboardViews";
@@ -11,4 +12,5 @@ export interface II18nDashboard {
11
12
  tooltips: II18nDashboardTooltips;
12
13
  views: II18nDashboardViews;
13
14
  empty_state: II18nDashboardEmptyState;
15
+ messages: II18nDashboardMessages;
14
16
  }
@@ -0,0 +1,6 @@
1
+ export interface II18nDashboardMessages {
2
+ dataset_not_available: string;
3
+ dataset_not_found: string;
4
+ server_error: string;
5
+ try_again: string;
6
+ }
@@ -3,4 +3,5 @@ export * from './II18nDashboardAddChart';
3
3
  export * from './II18nDashboardTooltips';
4
4
  export * from './II18nDashboardViews';
5
5
  export * from './II18nDashboardEmptyState';
6
+ export * from './II18nDashboardMessages';
6
7
  export * from './II18nDashboard';
@@ -3,4 +3,5 @@ export * from './II18nDashboardAddChart';
3
3
  export * from './II18nDashboardTooltips';
4
4
  export * from './II18nDashboardViews';
5
5
  export * from './II18nDashboardEmptyState';
6
+ export * from './II18nDashboardMessages';
6
7
  export * from './II18nDashboard';
@@ -5,6 +5,7 @@ export interface II18nRelativeContainer {
5
5
  current_date: string;
6
6
  cursors: II18nRelativeContainerCursor;
7
7
  date_selected: string;
8
+ from_label: string;
8
9
  starting_date: string;
9
10
  starting_date_tooltip: string;
10
11
  starting_from: string;
@@ -107,7 +107,7 @@ export const I18N_CHART_BUILDER_STYLE_OPTIONS = {
107
107
  thickness_thin: 'Thin',
108
108
  thickness_normal: 'Normal',
109
109
  thickness_bold: 'Bold',
110
- styles_title: 'line Styles',
110
+ styles_title: 'Line Style',
111
111
  styles_solid: 'Solid',
112
112
  styles_dashed: 'Dashed',
113
113
  styles_dotted: 'Dotted',
@@ -11,6 +11,12 @@ export const I18N_DASHBOARD = {
11
11
  learn_more: 'Learn more',
12
12
  },
13
13
  export_csv: "Export to CSV",
14
+ messages: {
15
+ dataset_not_available: "Dataset not available at the moment.",
16
+ dataset_not_found: "Dataset not found.",
17
+ server_error: "Server Error.",
18
+ try_again: "Try Again",
19
+ },
14
20
  no_record_found: 'No Records Found',
15
21
  toast: {
16
22
  add_record_message: 'Record Successfully Added.',
@@ -5,6 +5,7 @@ export const I18N_RELATIVE_CONTAINER = {
5
5
  current_date: 'Current Date',
6
6
  cursors: I18N_RELATIVE_CURSOR,
7
7
  date_selected: 'Date Selected',
8
+ from_label: 'from',
8
9
  starting_date: 'Include starting date',
9
10
  starting_date_tooltip: 'The relative date will include the specific starting date and a period of time to show from that date onwards (Inclusive range). <br/> Unchecking this option will exclude the chosen starting date (exclusive range) from the date range.',
10
11
  starting_from: 'Starting From',
@@ -36,7 +36,7 @@ export const I18N_FORMULA_BUILDER = {
36
36
  test: 'Test',
37
37
  clear: 'Clear',
38
38
  insert_function: 'Insert Functions',
39
- insert_column: 'Inset Columns',
39
+ insert_column: 'Insert Columns',
40
40
  search_function: 'Search',
41
41
  search_column: 'Search',
42
42
  box_function_empty: 'No Function Selected',
@@ -55,7 +55,7 @@ export const I18N_FORMULA_BUILDER = {
55
55
  numeric: 'Numeric',
56
56
  string: 'String/Text',
57
57
  date: 'Date/Time',
58
- aggregate: 'Aggreagtes'
58
+ aggregate: 'Aggregates'
59
59
  },
60
60
  function_is_null: {
61
61
  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.2.9-11",
3
+ "version": "1.2.9-12",
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,5 +1,6 @@
1
1
  import { II18nDashboardAddChart } from "./II18nDashboardAddChart";
2
2
  import { II18nDashboardEmptyState } from "./II18nDashboardEmptyState";
3
+ import { II18nDashboardMessages } from "./II18nDashboardMessages";
3
4
  import { II18nDashboardToast } from "./II18nDashboardToast";
4
5
  import { II18nDashboardTooltips } from "./II18nDashboardTooltips";
5
6
  import { II18nDashboardViews } from "./II18nDashboardViews";
@@ -12,4 +13,5 @@ export interface II18nDashboard {
12
13
  tooltips: II18nDashboardTooltips;
13
14
  views: II18nDashboardViews;
14
15
  empty_state: II18nDashboardEmptyState;
16
+ messages: II18nDashboardMessages;
15
17
  }
@@ -0,0 +1,6 @@
1
+ export interface II18nDashboardMessages {
2
+ dataset_not_available: string;
3
+ dataset_not_found: string;
4
+ server_error: string;
5
+ try_again: string;
6
+ }
@@ -3,4 +3,5 @@ export * from './II18nDashboardAddChart';
3
3
  export * from './II18nDashboardTooltips';
4
4
  export * from './II18nDashboardViews';
5
5
  export * from './II18nDashboardEmptyState';
6
+ export * from './II18nDashboardMessages';
6
7
  export * from './II18nDashboard';
@@ -6,6 +6,7 @@ export interface II18nRelativeContainer {
6
6
  current_date: string;
7
7
  cursors: II18nRelativeContainerCursor;
8
8
  date_selected: string;
9
+ from_label: string
9
10
  starting_date: string;
10
11
  starting_date_tooltip: string;
11
12
  starting_from: string;
@@ -114,7 +114,7 @@ export const I18N_CHART_BUILDER_STYLE_OPTIONS: Pick<II18nChartBuilder, StyleOpti
114
114
  thickness_thin: 'Thin',
115
115
  thickness_normal: 'Normal',
116
116
  thickness_bold: 'Bold',
117
- styles_title: 'line Styles',
117
+ styles_title: 'Line Style',
118
118
  styles_solid: 'Solid',
119
119
  styles_dashed: 'Dashed',
120
120
  styles_dotted: 'Dotted',
@@ -13,6 +13,12 @@ export const I18N_DASHBOARD: II18nDashboard = {
13
13
  learn_more: 'Learn more',
14
14
  },
15
15
  export_csv: "Export to CSV",
16
+ messages: {
17
+ dataset_not_available: "Dataset not available at the moment.",
18
+ dataset_not_found: "Dataset not found.",
19
+ server_error: "Server Error.",
20
+ try_again: "Try Again",
21
+ },
16
22
  no_record_found: 'No Records Found',
17
23
  toast: {
18
24
  add_record_message: 'Record Successfully Added.',
@@ -7,6 +7,7 @@ export const I18N_RELATIVE_CONTAINER: II18nRelativeContainer = {
7
7
  current_date: 'Current Date',
8
8
  cursors: I18N_RELATIVE_CURSOR,
9
9
  date_selected: 'Date Selected',
10
+ from_label: 'from',
10
11
  starting_date: 'Include starting date',
11
12
  starting_date_tooltip: 'The relative date will include the specific starting date and a period of time to show from that date onwards (Inclusive range). <br/> Unchecking this option will exclude the chosen starting date (exclusive range) from the date range.',
12
13
  starting_from: 'Starting From',
@@ -38,7 +38,7 @@ export const I18N_FORMULA_BUILDER: II18nFormulaBuilder = {
38
38
  test: 'Test',
39
39
  clear: 'Clear',
40
40
  insert_function: 'Insert Functions',
41
- insert_column: 'Inset Columns',
41
+ insert_column: 'Insert Columns',
42
42
  search_function: 'Search',
43
43
  search_column: 'Search',
44
44
  box_function_empty: 'No Function Selected',
@@ -57,7 +57,7 @@ export const I18N_FORMULA_BUILDER: II18nFormulaBuilder = {
57
57
  numeric: 'Numeric',
58
58
  string: 'String/Text',
59
59
  date: 'Date/Time',
60
- aggregate: 'Aggreagtes'
60
+ aggregate: 'Aggregates'
61
61
  },
62
62
  function_is_null: {
63
63
  description: 'Replaces NULL with the specified replacement value.',