@itfin/components 1.4.4 → 1.4.6

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.4.4",
3
+ "version": "1.4.6",
4
4
  "author": "Vitalii Savchuk <esvit666@gmail.com>",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -129,7 +129,7 @@ class itfDateGranularityPicker extends Vue {
129
129
  @Prop({ type: [String, Date], default: ''}) maxDate;
130
130
  @Prop(Boolean) disabled;
131
131
 
132
- granularity = 'yearly';
132
+ granularity = 'monthly';
133
133
 
134
134
  get granularities() {
135
135
  return [
@@ -137,6 +137,7 @@ class itfDateGranularityPicker extends Vue {
137
137
  { title: 'Quarterly', value: 'quarterly' },
138
138
  { title: 'Monthly', value: 'monthly' },
139
139
  { title: 'Weekly', value: 'weekly' },
140
+ { title: 'Daily', value: 'daily' },
140
141
  { title: 'Custom', value: 'manual' },
141
142
  ];
142
143
  }
@@ -45,7 +45,7 @@
45
45
  v-if="!readonly"
46
46
  data-test="item-editor-cancel"
47
47
  :disabled="loading"
48
- default
48
+ secondary
49
49
  class="me-2"
50
50
  @click="$emit('input', false)"
51
51
  >
@@ -7,7 +7,7 @@ const SORTABLE_ATTRIBUTES = ['drag-ignore-handle', 'scrollable'];
7
7
 
8
8
  const DEFAULT_OPTIONS = {
9
9
  draggableClass: DRAGGABLE_CLASS,
10
- // dragHandleClass: DRAG_HANDLE_CLASS,
10
+ dragHandleClass: DRAG_HANDLE_CLASS,
11
11
  delay: 200,
12
12
  tresholdDistance: 2,
13
13
  draggable: `.${DRAGGABLE_CLASS}`,
@@ -29,7 +29,7 @@
29
29
  <div v-if="visibleHeader" group="tablecolumns"
30
30
  class="table-header"
31
31
  @drop="reorderColumns"
32
- v-draggable="{ handle: true, payload: { index: n, item: column }, mirror: {yAxis:false} }">
32
+ v-draggable="{ dragHandleClass: null, handle: true, payload: { index: n, item: column }, mirror: {yAxis:false} }">
33
33
  <itf-dropdown text append-to-body shadow ref="dropdown" class="w-100" :disabled="noColumnMenu">
34
34
  <template #button>
35
35
  <div class="itf-table2__header-title d-flex w-100 align-items-center" :title="getTitle(column.title)">