@itfin/components 1.2.18 → 1.2.19

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itfin/components",
3
- "version": "1.2.18",
3
+ "version": "1.2.19",
4
4
  "author": "Vitalii Savchuk <esvit666@gmail.com>",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -207,10 +207,10 @@ class itfPeriodPicker extends Vue {
207
207
 
208
208
  get quarters() {
209
209
  return [
210
- { Name: `${this.$t('quarter')} 1`, Months: [1, 2, 3], Number: 1 },
211
- { Name: `${this.$t('quarter')} 2`, Months: [4, 5, 6], Number: 2 },
212
- { Name: `${this.$t('quarter')} 3`, Months: [7, 8, 9], Number: 3 },
213
- { Name: `${this.$t('quarter')} 4`, Months: [10, 11, 12], Number: 4 },
210
+ { Name: `${this.$t('components.quarter')} 1`, Months: [1, 2, 3], Number: 1 },
211
+ { Name: `${this.$t('components.quarter')} 2`, Months: [4, 5, 6], Number: 2 },
212
+ { Name: `${this.$t('components.quarter')} 3`, Months: [7, 8, 9], Number: 3 },
213
+ { Name: `${this.$t('components.quarter')} 4`, Months: [10, 11, 12], Number: 4 },
214
214
  ];
215
215
  }
216
216
 
@@ -37,13 +37,13 @@ export default @Component({
37
37
  })
38
38
  class itfConfirmPopover extends Vue {
39
39
  @PropSync('visible') value;
40
- @Prop({ type: String, default: function() { this.$t('areYouSureToDeleteThis'); } }) title;
40
+ @Prop({ type: String, default: function() { this.$t('components.areYouSureToDeleteThis'); } }) title;
41
41
  @Prop({ type: String, default: '' }) message;
42
42
  @Prop({ type: String, default: 'bottom', validator: (value) => ['bottom', 'left', 'right', 'top'].includes(value) }) placement;
43
43
  @Prop({ type: String, default: 'click', validator: (value) => ['click', 'focus', 'hover', 'manual'].includes(value) }) trigger;
44
44
 
45
- @Prop({ type: String, default: function() { this.$t('noKeepIt'); } }) cancelCaption;
46
- @Prop({ type: String, default: function() { this.$t('yesDelete'); } }) confirmCaption;
45
+ @Prop({ type: String, default: function() { this.$t('components.noKeepIt'); } }) cancelCaption;
46
+ @Prop({ type: String, default: function() { this.$t('components.yesDelete'); } }) confirmCaption;
47
47
  @Prop({ type: String, default: '' }) cancelClass;
48
48
  @Prop({ type: String, default: 'text-danger' }) confirmClass;
49
49