@itfin/components 1.0.56 → 1.0.60
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 +1 -1
- package/src/components/app/App.vue +1 -1
- package/src/components/app/ToastContainer.vue +1 -0
- package/src/components/datepicker/DateRangePickerInline.vue +2 -1
- package/src/components/modal/Modal.vue +3 -3
- package/src/components/popover/Popover.vue +1 -1
- package/src/components/tooltip/Tooltip.vue +1 -1
package/package.json
CHANGED
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
<script>
|
|
59
59
|
import { Vue, Component, Prop } from 'vue-property-decorator';
|
|
60
60
|
import { DateTime } from 'luxon';
|
|
61
|
-
import AirDatepicker from 'air-datepicker';
|
|
61
|
+
import AirDatepicker from 'air-datepicker/air-datepicker.js';
|
|
62
62
|
import localeEn from 'air-datepicker/locale/en';
|
|
63
63
|
import ITFSettings from '../../ITFSettings';
|
|
64
64
|
|
|
@@ -105,6 +105,7 @@ class itfDatePickerInline extends Vue {
|
|
|
105
105
|
firstDay: 1,
|
|
106
106
|
locale: localeEn,
|
|
107
107
|
range: true,
|
|
108
|
+
toggleSelected: false,
|
|
108
109
|
selectedDates: this.valueAsLuxon
|
|
109
110
|
? [this.valueAsLuxon[0].toJSDate(), this.valueAsLuxon[1].toJSDate()]
|
|
110
111
|
: [],
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
class="modal-dialog modal-fullscreen-sm-down"
|
|
6
6
|
:class="{[`modal-${size}`]: size}"
|
|
7
7
|
>
|
|
8
|
-
<div class="modal-content" ref="content">
|
|
8
|
+
<div class="modal-content itf-append-context" ref="content">
|
|
9
9
|
<div class="modal-header">
|
|
10
10
|
<h5 class="modal-title" :id="modalId">{{title}}</h5>
|
|
11
11
|
<itf-button icon data-bs-dismiss="modal" aria-label="Close" class="btn-close"></itf-button>
|
|
12
12
|
</div>
|
|
13
|
-
<div class="modal-body">
|
|
13
|
+
<div class="modal-body" v-if="value">
|
|
14
14
|
<slot></slot>
|
|
15
15
|
</div>
|
|
16
16
|
<div class="modal-footer" v-if="$slots.footer">
|
|
@@ -121,7 +121,7 @@ class itfModal extends Vue {
|
|
|
121
121
|
}
|
|
122
122
|
if (this.appendToBody && this.$el instanceof Node && this.$el.parentNode) {
|
|
123
123
|
this.$el.parentNode.removeChild(this.$el);
|
|
124
|
-
const elContext =
|
|
124
|
+
const elContext = this.$el.closest('.itf-append-context') || document.body; // @todo getElementById remove when cleanup vuetify
|
|
125
125
|
elContext.appendChild(this.$el);
|
|
126
126
|
}
|
|
127
127
|
const { default: Modal } = await import('bootstrap/js/src/modal.js');
|